/* DISABLE For long screens: 2000 -> 0 */
#sidebar {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* <<<<<<<<<<< Footer correction. Begin. */

/* For js select picker, in case of long select list. */
/* TODO: !!!!!!!!!!!!! */
/* TODO: IMPORTANT: can't use this fix because of '#sidebar' rule (for example shop page). */
/*#section-account {*/
/*overflow: visible !important;*/
/*}*/

.page-container {
    /*min-width: 750px;*/
    width: 100%;
    height: 100%;
    display: block
}

#main {
    flex: 1 1 auto;
    /*padding-bottom: 30px!important;*/
    display: flex;
    flex-direction: column;
    /*overflow: hidden;*/
    padding: 20px 0!important;
    position: relative;
    /*overflow-x: auto;*/
}

.main-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 0;
    max-width: 100vw;
}

.main-content h1 {
    margin-top: 0;
}

@media (max-width: 1200px) {
    .main-content {
        /*padding-left: 80px;*/
    }
}
@media (max-width: 768px) {
    .main-content {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 769px) {
    #noauth_page_id .main-content {
        /*padding-left: 15px;*/
    }
}

#auth_page_id #logo-noauth {
    display: none;
}

@media (max-width: 768px) {
    #auth_page_id #logo-noauth {
        display: block;
    }
}

/*.section {
    height: 100%;
}*/

/* End. Footer correction. >>>>>>>>>>>>>> */

/* Report filters. */
.nav-inline .form-inline {
    display: inline-block;
}

/* Place data in the middle of long cells. */
.table td[rowspan] {
    vertical-align: middle;
}

@media (min-width: 992px) {
    .text-md-right,
    .text-md-right th {
        text-align: right !important;
    }
}

/* Hide ranges at all. */
.ranges {
    display: none
}

.smsMonthPicker .ranges {
    display: block !important;
}

#footer,
#footer a,
#footer p {
    /*background-color: #ffffff;*/
    font-size: 14px !important;

    line-height: 20px;
    /*color: #3E92CF !important;*/
}

#footer {
    /*margin-top: 100px;*/
    padding-top: 32px;
    padding-bottom: 15px;
}

.footer-top {
    /*height: 200px;*/
}

#header {
    /*background-color: #3E92CF;*/
    /*position: relative;*/
    position: fixed;
    /*border-bottom: 1px solid #d2cccc;
    border-left: 1px solid #d2cccc;*/
    background-color: white;
    right: 15px;
    z-index: 3;
}

#section-login .well.registration {
    max-width: 800px;
}
#section-login .well.registration .checkbox .text {
    display: inline-block;
}

.linkSubmit {
    /* Первые два свойства нужны чтобы убрать отступы в IE */
    overflow: visible;
    width: auto;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
}

.icon-red {
    color: #992231 !important;
}

.btn-warning-lined:hover .icon-red {
    color: white !important;
}

.switchIphone {
    display: block;
    position: relative;
    border: 0;
    padding: 0 0;
    margin-right: 10px;
}

.switchIphone:before {
    content: '' !important;
    right: 0;
    top: 50%;
    left: auto;
    background-color: #d4d5d7;
    width: 36px;
    border-radius: 10px;
    height: 6px;
    display: block;
    position: absolute;
    margin-top: -3px;
}

.switchIphone:after {
    width: 16px;
    height: 16px;
    content: '';
    position: absolute;
    right: 20px;
    border-radius: 50%;
    border: solid 1px transparent;
    top: 50%;
    left: auto;
    margin-top: -8px;
    transition: right .1s;
    background: #fff;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.5);
    display: block;
}

/* For small screens (iphone 5) in noauth zone (mobile app uses it via webview). */
@media (max-width: 768px) {
    #noauth_page_id .container {
        min-width: 320px;
    }

    #noauth_page_id #section-login {
        margin-top: 50px;
    }
}

/* Полная детализация */
.nav.tab-text-big li a {
    font-size: 24px !important;
    text-transform: none !important;
}

/* кастомный модальник */
.b-custom-modal .modal-content, .modal-content .b-custom-modal {
    padding-top: 32px;
    padding-bottom: 32px;
}

.b-custom-modal .modal-header {
    padding: 0 0 16px;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
}

.b-custom-modal .modal-title {
    font-size: 24px;
    color: #4ba1a5;
}

.b-custom-modal .close {
    background: url(/i/sms/b_modal_close_ico.svg) no-repeat 0 0;
    width: 16px;
    height: 16px;
    top: 40px;
    right: 32px;
}

.b-custom-modal .modal-body {
    font-size: 16px;
    padding-bottom: 0;
}

.b-custom-modal .modal-footer {
    border-top: 0;
    text-align: center;
}

/*фильтр чеки*/
.dropdown-menu .status {
    padding: 14px 24px 13px;
    line-height: 1.36;
}

.dropdown-menu li.selected span.text,
.dropdown-menu li.selected span.text small.text-muted {
    color: #4ba1a5;
}

.menu-initiator .inner-menu-wrapper .inner-menu li {
    padding-left: 20px;
    padding-right: 20px;
}

.inner-menu .ofdicon {
    padding-right: 15px;
}

/*********************************************************/
/* Выпадающий календарик */
.ui-widget-content {
    border: 1px solid #dfe3e9;
    background: white !important;;
    color: #254e5f;
    min-width: 320px
}

.ui-widget-content a {
    color: #254e5f;
}

.ui-widget-header {
    border: 1px solid #dfe3e9;
    background: white !important;;
    color: #254e5f;
    font-weight: bold;
}

.ui-widget-header a {
    color: #254e5f;
}

.ui-state-default {
    background: white !important;
}

.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    border: 1px solid #4ba1a5;
    background: #81BDC0;
    color: #347173;
}

.ui-state-checked {
    border: 1px solid #4ba1a5;
    background: #81BDC0;
}

.ui-state-highlight a,
.ui-widget-content .ui-state-highlight a,
.ui-widget-header .ui-state-highlight a {
    color: #347173;
}

/* Выпадающий календарик */
/*********************************************************/
