/* 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;*/
/*}*/

@media (max-width: 768px) {
    .mobile-hidden {
        overflow: hidden;
        position: relative;
        height: 100%;
        margin-bottom: 0;
    }

    .mobile-hidden #footer {
        position: relative;
        margin-top: 115px;
    }
}

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

#main {
    height: 100%;
}

.main-content {
    height: 100%;
    padding-left: 278px;
    padding-right: 28px;
    max-width: 1920px;
}

@media (max-width: 1200px) {
    .main-content {
        padding-left: 65px;
        padding-right: 15px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@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;
    }
}

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

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

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

#header {
    /*background-color: #3E92CF;*/
    position: relative;
    z-index: 9000;
}

#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 {}

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

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

/* TODO: integrate inline styles from noauth.cheque.jspx into cheques.scss */
.check-col-left {
    text-transform: inherit !important; /* [LKKOFD-584] */
}
