/**
	@file

	@section Описание
	Основной файл стилей сервисной части.

    @section Лицензия
	Copyright © 2010 Author.

	Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

	The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

	THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
	
	@author Author (<author@mail.com>)
	
	@version 1.0
	
	@bug No known bugs.
*/



/**
    Include this after bootstrap.css. Add class of 
    vert-offset-top-value or vert-offset-bottom-value 
    to your Bootstrap 3 default rows to prevent row content 
    from touching the row content above or below.
*/

.row-offset-top-12 {
    margin-top: 12em;
}

.row-offset-top-11 {
    margin-top: 11em;
}

.row-offset-top-10 {
    margin-top: 10em;
}

.row-offset-top-9 {
    margin-top: 9em;
}

.row-offset-top-8 {
    margin-top: 8em;
}

.row-offset-top-7 {
    margin-top: 7em;
}

.row-offset-top-6 {
    margin-top: 6em;
}

.row-offset-top-5 {
    margin-top: 5em;
}

.row-offset-top-4 {
    margin-top: 4em;
}

.row-offset-top-3 {
    margin-top: 3em;
}

.row-offset-top-2 {
    margin-top: 2em;
}

.row-offset-top-1 {
    margin-top: 1em;
}

.row-offset-top-0 {
    margin-top: 0em;
}

.row-offset-bottom-12 {
    margin-bottom: 12em;
}

.row-offset-bottom-11 {
    margin-bottom: 11em;
}

.row-offset-bottom-10 {
    margin-bottom: 10em;
}

.row-offset-bottom-9 {
    margin-bottom: 9em;
}

.row-offset-bottom-8 {
    margin-bottom: 8em;
}

.row-offset-bottom-7 {
    margin-bottom: 7em;
}

.row-offset-bottom-6 {
    margin-bottom: 6em;
}

.row-offset-bottom-5 {
    margin-bottom: 5em;
}

.row-offset-bottom-4 {
    margin-bottom: 4em;
}

.row-offset-bottom-3 {
    margin-bottom: 3em;
}

.row-offset-bottom-2 {
    margin-bottom: 2em;
}

.row-offset-bottom-1 {
    margin-bottom: 1em;
}

.row-offset-bottom-0 {
    margin-bottom: 0em;
}


/**
    customRadioCheck: jQuery plugin for checkbox and radio replacement
    Usage: $('input[type=checkbox], input[type=radio]').customRadioCheck();
    Author: Cedric Ruiz
    License: MIT
*/
.custom-label {
    /*display:inline-block;
    margin-right:.8em;*/
    display: block;
    margin: 0px;
    cursor: pointer;
    font-weight: 400;
    position: relative;
    padding-left: 25px;
    min-height: 22px;
    text-align: left !important;
}

.custom-radio,
.custom-check {
    /*vertical-align:middle;
    display:inline-block;
    position:relative;
    top:-.15em;
    margin:0.4em;*/
    /*width:20px;
    height:20px;
    background:url(Images/customRadioCheck.png) 0 0 no-repeat;*/
    width: 22px;
    height: 22px;
    background: url(../Images/CustomRadioCheckBlue.png) 0 0 no-repeat;
    position: absolute;
    left: 0px;
    top: 0px;
}
/*.custom-radio { background-position: 0 -20px; }
.custom-check.focus { background-position: -20px 0; }
.custom-radio.focus { background-position: -20px -20px; }
.custom-check.checked { background-position: -40px 0; }
.custom-radio.checked { background-position: -40px -20px; }
.custom-check.checked.focus { background-position: -60px 0; }
.custom-radio.checked.focus { background-position: -60px -20px; }*/

.custom-radio {
    background-position: -120px 0;
}

    .custom-radio.focus {
        background-position: -144px 0;
    }

    .custom-radio.checked {
        background-position: -168px 0;
    }

        .custom-radio.checked.focus {
            background-position: -168px 0;
        }

    .custom-radio.disabled {
        background-position: -192px 0;
    }

    .custom-radio.checked.disabled {
        background-position: -216px 0;
    }

.custom-check {
    background-position: 0 0;
}

    .custom-check.focus {
        background-position: -24px 0;
    }

    .custom-check.checked {
        background-position: -48px 0;
    }

        .custom-check.checked.focus {
            background-position: -48px 0;
        }

    .custom-check.disabled {
        background-position: -72px 0;
    }

    .custom-check.checked.disabled {
        background-position: -96px 0;
    }


/*
    General fonts.
*/

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: local('Open Sans Light'), local('OpenSans-Light'), url(../Fonts/open-sans-light.woff) format('woff');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: local('Open Sans'), local('OpenSans'), url(../Fonts/open-sans.woff) format('woff');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(../Fonts/open-sans-semibold.woff) format('woff');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: local('Open Sans Bold'), local('OpenSans-Bold'), url(../Fonts/open-sans-bold.woff) format('woff');
}


/**
    Additional fonts.
*/

@font-face {
    font-family: 'Inconsolata';
    font-style: normal;
    font-weight: 400;
    src: local('Inconsolata'), url(../Fonts/inconsolata.woff2) format('woff2');
}

@font-face {
    font-family: 'Inconsolata';
    font-style: normal;
    font-weight: 700;
    src: local('Inconsolata Bold'), local('Inconsolata-Bold'), url(../Fonts/inconsolata-bold.woff2) format('woff2');
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
html,
body {
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}


/*
    Дополнительный функционал.
*/

/* Класс для комбинирования вместе с .row. Убирает отступы у колонок. */
.no-gutter > [class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

/* Запрет на выделение содержимого. */
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/*updates 4.28.16*/
.bold {
    font-weight: bold;
    color: black;
}
/*updates 5.09.16 Removed Asterisk Code*/

/*updates 4.28.16*/
.textHeaderSmall th {
    font-size: 10pt;
}

.textHeaderSmall .btn {
    font-size: 10pt;
}

.rm-block {
    padding-bottom: 10px;
}

.Line_of_Business {
    font-size: pt;
}

.textHeaderSmall select {
    font-size: 10pt;
}

.textHeaderSmall input {
    font-size: 10pt;
}
/*End of updates 4.28.16*/
/*update 5.5.16*/
#quickAddCustomerModal {
    width:;
}


.semibold {
    font-weight: 600;
}

.btn.btn-left > i {
    margin-right: 10px;
}

.btn.btn-right > i {
    margin-left: 10px;
}


/**
    Printing styles.
*/

.printable {
    display: none;
}

@media print {
    .printable {
        display: initial;
    }

    body {
        padding: 0px;
        font-size: x-small !important;
    }

    .container,
    .body-content {
        margin: 0px;
        padding: 0px;
    }

    .navbar,
    .unprintable {
        display: none;
    }
}


/**
    Modal dialog style.
*/
/*updated modal class JeffM 5.5.16*/
.modal {
    overflow-y: initial;
    position: fixed;
    top: 10%;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}

.modal-body {
    /*text-align:center;*/
}

    .modal-body > p {
        text-align: left;
    }

    .modal-body > img {
        display: none;
    }

body.modal-open,
.modal-open .navbar-fixed-top,
.modal-open .navbar-fixed-bottom {
    margin-right: inherit;
    overflow-y: auto;
}

/**
    Bootstrap typeahead.
*/
.bstlookup:not(.expandbutton) {
    background: url("images/search-icon.png") no-repeat right;
    background-color: #fff;
    padding-right: 30px !important;
}

.bstlookup-service {
    background: url("images/search-icon.png") no-repeat right;
    background-color: #fff;
    padding-right: 30px !important;
}

.bstlookup-loading {
    background: url("images/loadinfo.gif") no-repeat right;
    background-color: #fff;
    padding-right: 30px !important;
}

.bstlookup-ticket {
        background: url(images/search-icon.png) no-repeat right;
        background-color: #fff;
        padding-right: 30px !important;
}

.bstlookup-service {
    background: url("images/search-icon.png") no-repeat right;
    background-color: #fff;
    padding-right: 30px !important;
}

.typeahead {
    font-size: 12px;
}

    .typeahead > li > a {
        padding: 3px 10px;
    }

.typeahead {
    width: auto !important;
}

.modal-body .form-horizontal {
    padding: 0 15px;
}

.form-gutter [class*="col-"] {
    padding: 0 5px;
}

.form-gutter .row {
    margin-left: -5px;
    margin-right: -5px;
}

div.form-gutter .control-label {
    text-align: center;
}

/* Summary view dropdown css */
.panel .chs .chosen-container .chosen-single span {
    line-height: 11px;
}

/*------------new css 31 oct------------*/

.nogutter1 [class*="col-"] {
    padding-bottom: 3px;
}

.form-horizontal .nogutter .control-label {
    text-align: left;
}

.form-horizontal .space-small [class*="col-"] {
    padding-left: 5px;
    padding-right: 5px;
}

.form-horizontal .space-small .form-group {
    margin-left: -5px;
    margin-right: -5px;
}

.multiple-menu .ui-multiselect {
    padding: 3px 0 3px 4px;
    color: #666;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    border: 1px solid #ccc;
    width: 100% !important;
}

.multiple-menu .ui-icon-triangle-1-s {
    background-position: -68px -14px;
}

.ui-multiselect-checkboxes label {
    padding: 0 1px !important;
    margin-bottom: 1px;
}

.scroll-table {
    height: 150px;
    overflow: auto;
}

/* ---- new css 29 apr JohnDarabos ----*/
label.form-control {
    text-align: right;
}

    /* 5.11.16 text align to left*/
    label.form-control.leftMe {
        text-align: left;
    }
/*Modal Outline 5.5.16 JeffM*/
.modal-content {
    border: 2px solid #000;
    border: 2px solid rgba(0, 0, 0, 1);
}

/*5.9.16 JeffM Form Bottom Padding for Print Invoices Screen*/
.invoiceFormPadding {
    padding-bottom: 25px;
}

/*5.23.16 Disabled Buttons Opacity*/
.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
    pointer-events: none;
    cursor: not-allowed;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: .2;
}

/*Progressbar css*/
.progress {
    height: 20px;
    background: #ebebeb;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
    border-radius: 10px;
}

    .progress > span {
        position: relative;
        float: left;
        margin: 0 -1px;
        min-width: 55px;
        height: 18px;
        line-height: 16px;
        text-align: center;
        background: #cccccc;
        border: 1px solid;
        border-color: #bfbfbf #b3b3b3 #9e9e9e;
        border-radius: 10px;
        background-image: -webkit-linear-gradient(top, #f0f0f0, #dbdbdb 70%, #cccccc);
        background-image: -moz-linear-gradient(top, #f0f0f0, #dbdbdb 70%, #cccccc);
        background-image: -o-linear-gradient(top, #f0f0f0, #dbdbdb 70%, #cccccc);
        background-image: linear-gradient(to bottom, #f0f0f0, #dbdbdb 70%, #cccccc);
        -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
        box-shadow: inset 0 1px rgba(255, 255, 255, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    }

        .progress > span > span {
            padding: 0 30px;
            /*font-size: 11px;*/
            font-weight: bold;
            color: #404040;
            color: rgba(0, 0, 0, 0.7);
            text-shadow: 0 1px rgba(255, 255, 255, 0.4);
        }

        .progress > span:before {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 1;
            height: 18px;
            background: url("images/progress.png") 0 0 repeat-x;
            border-radius: 10px;
        }

    .progress .blue {
        background: #5aaadb;
        border-color: #459fd6 #3094d2 #277db2;
        background-image: -webkit-linear-gradient(top, #aed5ed, #7bbbe2 70%, #5aaadb);
        background-image: -moz-linear-gradient(top, #aed5ed, #7bbbe2 70%, #5aaadb);
        background-image: -o-linear-gradient(top, #aed5ed, #7bbbe2 70%, #5aaadb);
        background-image: linear-gradient(to bottom, #aed5ed, #7bbbe2 70%, #5aaadb);
    }

.badge-notify {
    background: red;
    position: relative;
    top: -35px;
    left: 9px;
}

.iradio_square-blue {
    background: url(images/unchecked.png) no-repeat center center !important;
}

    .iradio_square-blue.checked {
        background: url(images/checked.png) no-repeat center center !important;
    }

/* Hover tooltips */
.field-tip {
    position: relative;
    cursor: help;
}

    .field-tip .tip-content {
        position: absolute;
        top: 25px;
        right: 9999px;
        width: 200px;
        margin-right: -18px;
        padding: 10px;
        color: #fff;
        background: #77aad9;
        -webkit-box-shadow: 2px 2px 5px #aaa;
        -moz-box-shadow: 2px 2px 5px #aaa;
        box-shadow: 2px 2px 5px #aaa;
        opacity: 0;
        -webkit-transition: opacity 250ms ease-out;
        -moz-transition: opacity 250ms ease-out;
        -ms-transition: opacity 250ms ease-out;
        -o-transition: opacity 250ms ease-out;
        transition: opacity 250ms ease-out;
        z-index:99;
    }

        .field-tip .tip-content:before {
            content: ' ';
            position: absolute;
            top: 0;
            left: 48%;
            margin: -16px auto 0;
            width: 0;
            height: 0;
            border: 8px solid transparent;
            border-bottom-color: #77aad9;
        }

    .field-tip:hover .tip-content {
        right: -20px;
        opacity: 1;
    }
