@font-face {
    font-family: 'Helvetica';
    src: url('../fonts/helvetica/Helvetica-Bold.eot');
    src: url('../fonts/helvetica/Helvetica-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/helvetica/Helvetica-Bold.woff2') format('woff2'),
    url('../fonts/helvetica/Helvetica-Bold.woff') format('woff'),
    url('../fonts/helvetica/Helvetica-Bold.ttf') format('truetype'),
    url('../fonts/helvetica/Helvetica-Bold.svg#Helvetica-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica';
    src: url('../fonts/helvetica/Helvetica-Regular.eot');
    src: url('../fonts/helvetica/Helvetica-Regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/helvetica/Helvetica-Regular.woff2') format('woff2'),
    url('../fonts/helvetica/Helvetica-Regular.woff') format('woff'),
    url('../fonts/helvetica/Helvetica-Regular.ttf') format('truetype'),
    url('../fonts/helvetica/Helvetica-Regular.svg#Helvetica-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}
body{background-color: #f1f1f1;}

#main-bg{background-image: url('../img/main-bg2.jpg');}
.roboto{font-family: Roboto;}
.logo-desc{color: #1D5AAD;font-size: 15px;font-weight: normal;}
.login-form{max-width: 520px;}
.login-form a.main-logo,#header .logo{font-weight: 900;font-family: Roboto;line-height: 1;}
.login-form a.main-logo{font-size: 53px;}
#header .logo{font-size: 28px;}
#header *,.v-middle{vertical-align: middle;}
/* #header *,.v-mid{vertical-align: sub;} */
.v-top,.v-top td,.v-top .table-cell{vertical-align: top;}
#header .menu-block a{opacity: 0.6;}
#header .menu-block a:after{content: '';display: block;height: 2px;width: 100%;background-color: transparent;}
#header .menu-block a:hover,#header .menu-block a.active{opacity: 1;}
#header .menu-block a:hover:after,#header .menu-block a.active:after{background-color: #F57E13;}
#header .login-block > .pad-tb-10{padding-bottom: 1px;}
#header .login-block .exit img{margin-right: 3px;margin-top: -1px;}
#header .login-block .avatar{width: 45px;height: 45px;margin-right: 10px;background-image: url('../img/avatar.png');float: left;}
#header .login-block .ava{width: 45px;height: 55px;margin-right: 10px;background-image: url('../img/ava.png');float: left; margin-top: 10px;}
#header .login-block .avatar-name{line-height: 1.2;width: calc(100% - 55px);}
#header .login-block .avatar-text{line-height: 1.4;width: calc(100% - 55px);}
#header .login-block small.blue{color: #B1C4FF;}
#header .login-block small.red{color: antiquewhite;}
#header #sub-menu a.blue,#header .sub-menu a.blue{color: #4664CF;padding: 5px 15px;}
#header #sub-menu a.red,#header .sub-menu a.red{color: #CC0605 ;padding: 5px 15px;}
#mainpage-menu-btn{z-index: 9;}
#mainpage-menu-btn .mn-line{background-color: #2b687b;}

table td,table th{padding: 5px;}
table .th-left th{text-align: left;}
table.mini-form td{padding: 0;}
.tab-links a.blue{margin-right: 2px;/*opacity: 0.6;*/background-color: #fff;color: #2b687b;}
.tab-links a.red{margin-right: 2px;/*opacity: 0.6;*/background-color: #fff;color: #CC0605 ;}
.tab-links a.blue.active,.tab-links a.blue:hover{/*opacity: 1;*/background-color: #2b687b;color: #fff;}
.tab-links a.red.active,.tab-links a.red:hover{/*opacity: 1;*/background-color: #CC0605 ;color: #fff;}

a.blue:not(.but-blue),label.radio,.dash-link{color: #4664CF;}
a.red:not(.but-red),label.radio,.dash-link{color: #CC0605 ;}
table.stripe a:not(.button){color: inherit;}
/* .text-blue,a:not(.button):hover,.pagination li label,input[data-action]+label[data-action],label.radio:hover,input[type="radio"]:checked+label.radio,table.a-block tr:hover a:not(.button){color: #2b687b;} */
.text-blue,a.blue:not(.button):hover,.pagination li label,input[data-action]+label[data-action],label.radio:hover,input[type="radio"]:checked+label.radio,table.a-block tr:hover a.blue:not(.button){color: #2b687b;}
.text-red,a.red:not(.button):hover,.pagination li label,input[data-action]+label[data-action],label.radio:hover,input[type="radio"]:checked+label.radio,table.a-block tr:hover a.red:not(.button){color: #CC0605;}

.text-white,.text-white *,.text-white a:not(.button),.text-white a:not(.button):hover{color: #FFF;}
.text-grey{color: #828282;}
.text-l-grey{color: #A0A0A0;}
.text-green{color: #27AE60;}
.text-red{color: #850e0e;}
.bg-white{background-color: #FFF;}
.bg-blue{background-color: #2b687b;}
.bg-l-grey{background-color: #EEF5FF;}
.bg-l-blue{background-color: #F5F9FE;}
.bg-dark{background-color: #0A0A0A;}
.button:hover{background-color: #1f3f4f;}
.button[disabled]{opacity: 0.5;}
.button.btn-bord{border: 1px solid #2b687b;background-color: transparent;color: #2b687b;padding: 10px;}
.button.btn-bord.txtd,.button.btn-bord.default{color: #333;}
.button.btn-bord.default{border-color: #BDBDBD;}
.button.btn-bord:hover{background-color: #2b687b;border-color: #2b687b;color: #fff;}
.button.btn-sm{padding: 7px 25px;font-size: 15px;}
.button.btn-lg{padding: 10px 25px;line-height: 44px;}

.but-blue:hover{background-color: #1f3f4f;}
.but-blue[disabled]{opacity: 0.5;}
.but-blue.btn-bord{border: 1px solid #2b687b;background-color: transparent;color: #2b687b;padding: 10px;}
.but-blue.btn-bord.txtd,.but-blue.btn-bord.default{color: #333;}
.but-blue.btn-bord.default{border-color: #BDBDBD;}
.but-blue.btn-bord:hover{background-color: #2b687b;border-color: #2b687b;color: #fff;}
.but-blue.btn-sm{padding: 7px 25px;font-size: 15px;}
.but-blue.btn-lg{padding: 10px 25px;line-height: 44px;}

.but-red:hover{background-color: #2e0f11;}
.but-red[disabled]{opacity: 0.5;}
.but-red.btn-bord{border: 1px solid #CC0605 ;background-color: transparent;color: #CC0605 ;padding: 8px;}
.but-red.btn-bord.txtd,.but-red.btn-bord.default{color: #333;}
.but-red.btn-bord.default{border-color: antiquewhite;}
.but-red.btn-bord:hover{background-color: #CC0605;border-color: #CC0605;color: #fff;}
.but-red.btn-sm{padding: 7px 25px;font-size: 15px;}
.but-red.btn-lg{padding: 10px 25px;line-height: 44px;}

input[disabled],select[disabled],textarea[disabled]{background-color: transparent;border-color: transparent;box-shadow: none;background-image: none;font-weight: bold;}
input[type="checkbox"],input[type="radio"]{
    vertical-align: -2px;
    width: 15px;
    height: 15px;
    margin: 5px;
    margin-right: 10px;
}
select{
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none !important;
    background-image: url('../img/select.png');
    background-repeat: no-repeat;
    background-position: 97% center;
}
select::-ms-expand{display: none;}

.ico-field{position: relative;}
.ico-field input{float: left;padding-right: 40px;}
.ico-field input+button{
    float: right;
    padding: 10px;
    font-size: 21px;
    line-height: 1.05;
    margin-left: -40px;
    border: none;
    background: none;
}
.ico-field label.inside-input+input+button{height: 64px;margin-top: -30px;}

.text-status-1{color: #EB5757;}
.text-status-2{color: #27AE60;}
.text-status-3{color: #BDBDBD;}
.bg-status-3{background-color: #ffcaca !important;}
.bg-status-2{background-color: #d0ffe4 !important;;}
.bg-status-1{background-color: #e7e7e7 !important;;}
.button.status-1,.button.status-2{background-color: #BDBDBD;}
.button.status-3,.button.status-4,.order-dates input[type="checkbox"]:checked + label.button{background-color: #27AE60;}
.button.status-5,.button.status-6{background-color: #EB5757;}

*[orderby]{cursor: pointer;}
*[orderby] .sort-arrows{vertical-align: top;margin-left: 5px;}
*[orderby] .sort-arrows:before,*[orderby] .sort-arrows:after{content: "\f077";font-size: 11px;display: block;opacity: 0.3;}
*[orderby] .sort-arrows:after{content: "\f078";}
*[orderby][order="asc"] .sort-arrows:before,*[orderby][order="desc"] .sort-arrows:after{opacity: 1;}
.reestr-podbor .open-close.active .fa-plus:before{content: "\f068";/*content: "\f147";*/}

#items-grid.load table,#modal-result.load table{background-image: url('../img/loading.gif');background-repeat: no-repeat;background-position: center center;}
#items-grid.load tbody,
#modal-result.load tbody{opacity: 0.5;}

label.inside-input,.label-inside-input label{
    display: inline-block;
    /* float: left; */
    position: relative;
    padding: 5px 10px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    margin-top: 6px;
    font-size: 14px;
    color: #828282;
    line-height: 1;
}
label.inside-input+input,
label.inside-input+select,
label.inside-input+textarea,
.label-inside-input label+input[type="text"],
.label-inside-input label+input[type="number"],
.label-inside-input label+input[type="password"],
.label-inside-input label+input[type="date"],
.label-inside-input label+input[type="email"],
.label-inside-input label+input[type="time"],
.label-inside-input label+select,
.label-inside-input label+textarea{padding-top: 34px;margin-top: -30px;height: 64px;max-width: inherit;padding-bottom: 7px;}
label.inside-input+textarea,.label-inside-input label+textarea{height: auto !important;}
label.inside-input+input[type="date"]::-webkit-calendar-picker-indicator{cursor: pointer;height: 45px;vertical-align: middle;opacity: 0;}
input[data-action]+label[data-action]{margin-top: -30px;margin-bottom: 8px;display: block;}
label[data-action]+.edit-label{margin-top: -24px;font-size: 15px;color: #2b687b !important;}
input[data-action]:disabled+label[data-action],input[data-action]+label[data-action]:disabled,
label[data-action]+.edit-label[disabled],.edit-label.hide_edit{display: none;}
input[type="date"]{
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    min-height: 1.2em;
    background-image: url('../img/calendar.svg');
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 15px;
}

input[data-action]+label.after-button[data-action]{
    float: right;
    width: 40px;
    height: 41px;
    margin: 0;
    margin-left: -40px;
    position: relative;
    line-height: 40px;
    text-align: center;
    color: inherit;
    border-left: 1px solid #CFCFCF;
}
input.search-by{padding-right: 30px}
label.search-btn[disabled]{display: none;}
label.search-btn{
    float: right;
    margin-bottom: -54px;
    position: relative;
    font-size: 15px;
    height: 54px;
    width: 30px;
    text-align: center;
    line-height: 54px;
}
label.search-btn:after{
    content: "\f002";
    font-family: 'FontAwesome';
}
.mg-bt-0{margin-bottom: 0 !important;}
.pad-lr-10{padding-left: 10px;padding-right: 10px;}

.filter input[type="text"],.filter input[type="number"],.filter input[type="date"],.filter input[type="time"],.filter select{margin-bottom: 0;}
.filter input[data-action]+label[data-action]{margin: 0;}

::-webkit-input-placeholder { /* Chrome */
    color: #999;
}
:-ms-input-placeholder { /* IE 10+ */
    color: #999;
}
::-moz-placeholder { /* Firefox 19+ */
    color: #999;
    opacity: 1;
}
:-moz-placeholder { /* Firefox 4 - 18 */
    color: #999;
    opacity: 1;
}
label.radio,.dash-link{font-size: 16px;border-bottom: 1px dashed #4664CF;}
label.radio:hover,input[type="radio"]:checked+label.radio,.dash-link:hover,.dash-link[disabled]{border-color: transparent;}

.bord-r-4{border-radius: 4px;}
.billboard,.tabs,.bord-r-8{border-radius: 8px;/*border: 1px solid #e4e4e4;*/}
.billboard .distance-line{height: 4px;background-color: #829DC4;margin-top: 10px;margin-bottom: 10px;border-radius: 2px;}
.billboard .distance h4{margin: 0;}
.billboard table.params td{padding: 3px;}
.billboard table.params td .comment{height: 58px;}
.billboard .distance button.map-open{right: 15px;top: 50%;margin-top: -14px;opacity: 0;}
.billboard .distance:hover button.map-open{opacity: 1;}
.clone-container .clone-header .clone:not(.clone-show),.clone-container .clone-header .clone2:not(.clone-show),.tab-toggle{display: none;}
.a-block a,.tab-toggle.active{display: block;}
.table-row.tab-toggle.active{display: table-row;}
.clone-container tr.clone2 > td[colspan],.pad-0{padding: 0;}
.clone-container tr.clone2{border-bottom: 0;}
.clone-container tr.clone2 > td[colspan] .show-more{border-bottom: 1px solid #CFCFCF;}
table.clone-body.stripe tbody tr:nth-child(4n-1){background-color: #fff;}
@media (min-width: 1601px){
    /* .mobmenu{position: fixed;z-index: 9999;top: 0;right: 100%;width: 100%;height: 100%;font-family: Trattatello;font-size: 14px;font-weight: 300;overflow: auto;} */
    /* .mobmenu.active{right: -85%;} */
    /* .m_overlay{width: 100%;height: 100%;position: fixed;top: 0;right: -85%;background-image: url(../img/opacity.png);opacity: 0;display: none;} */
    /* .mobmenu.active .m_overlay{display: block;} */
    /* .m_overlay.active{opacity: 1;} */
    .setWidth{width:200%;}
    .userName{  padding-top:45px;
                font-family: Palatino Linotype;
                font-size: 25px;
                font-weight: bold;
                }
    }
@media (min-width:1200px) and (max-width:1600px) {
/* .mobmenu{position: fixed;z-index: 9999;top: 0;right: 100%;width: 100%;height: 100%;font-family: Trattatello;font-weight: 300;overflow: auto;} */
/* .mobmenu.active{right: -80%;} */
/* .m_overlay{width: 100%;height: 100%;position: fixed;top: 0;right: -80%;background-image: url(../img/opacity.png);opacity: 0;display: none;} */
/* .mobmenu.active .m_overlay{display: block;} */
/* .m_overlay.active{opacity: 1;} */
.setWidth{width:200%;}
.userName{  padding-top:45px;
            font-family: Palatino Linotype;
            font-size: 23px;
            font-weight: bold;
            }
}
@media (min-width: 992px) and (max-width: 1199px) {
/* .mobmenu{position: fixed;z-index: 9999;top: 0;right: 100%;width: 100%;height: 100%;font-family: Trattatello;font-size: 14px;font-weight: 300;overflow: auto;} */
/* .mobmenu.active{right: -70%;} */
/* .m_overlay{width: 100%;height: 100%;position: fixed;top: 0;right: -70%;background-image: url(../img/opacity.png);opacity: 0;display: none;} */
/* .mobmenu.active .m_overlay{display: block;} */
/* .m_overlay.active{opacity: 1;} */
.setWidth{width:100%;}
.userName{  padding-top: 34px;
        font-family: Palatino Linotype;
        font-size: 12px;
        font-weight: bold;
        }
}
@media (min-width: 768px) and (max-width: 991px) {
    /* .mobmenu{position: fixed;z-index: 9999;top: 0;right: 100%;width: 100%;height: 90%;font-family: Trattatello;font-weight: 300;overflow: auto;} */
    /* .mobmenu.active{right: -70%;}     */
    /* .m_overlay{width: 100%;height: 100%;position: fixed;top: 0;right: -70%;background-image: url(../img/opacity.png);opacity: 0;display: none;} */
    /* .mobmenu.active .m_overlay{display: block;} */
    /* .m_overlay.active{opacity: 1;} */
    .setWidth{width:100%;}
    .userName{  padding-top: 34px;
                font-family: Palatino Linotype;
                font-size: 12px;
                font-weight: bold;
            }
    }
@media (max-width: 767px) {
/* .mobmenu{position: fixed;z-index: 9999;top: 0;right: 100%;width: 100%;height: 80%;font-family: Trattatello;font-weight: 300;overflow: auto;} */
/* .mobmenu.active{right: -30%;}     */
/* .m_overlay{width: 100%;height: 100%;position: fixed;top: 0;right: -30%;background-image: url(../img/opacity.png);opacity: 0;display: none;} */
/* .mobmenu.active .m_overlay{display: block;} */
/* .m_overlay.active{opacity: 1;} */
.setWidth{width:100%;}
.userName{  padding-top: 27px;
            font-family: Palatino Linotype;
            font-size: 19px;
            font-weight: bold;
        }
@media (max-width: 480px) {
    /* .mobmenu{position: fixed;z-index: 9999;top: 0;right: 100%;width: 100%;height: 80%;font-family: Trattatello;font-size: 14px;font-weight: 300;overflow: auto;} */
    /* .mobmenu.active{right: -30%;}     */
    /* .m_overlay{width: 100%;height: 100%;position: fixed;top: 0;right: -30%;background-image: url(../img/opacity.png);opacity: 0;display: none;} */
    /* .mobmenu.active .m_overlay{display: block;} */
    /* .m_overlay.active{opacity: 1;} */
    .setWidth{width:100%;}
    .userName{  padding-top: 34px;
                font-family: Palatino Linotype;
                font-size:16px;
                font-weight: bold;
            }
        }
}
    
.setWidthGrain{width:80%;}

.mobilemenu{position: fixed;z-index: 9999;top: 0;left: -100%;width: 100%;height: 100%;font-family: Roboto;font-size: 14px;font-weight: 300;overflow: auto;}
.mobilemenu.active{left: 0;}
.mobilemenu__inner{background-color: #fff;width: 300px;height: 100%;position: relative;z-index: 9;}
.mobilemenu__head{background-color: #2b687b;color: #fff;padding: 15px;height: 160px;}
.mobilemenu__headblue{background-color: #2b687b;color: #fff;padding: 15px;height: 160px;}
.mobilemenu__headred{background-color: #CC0605;color: #fff;padding: 15px;height: 160px;}
.mobilemenu__logo{max-width: 40%;width: 80px;margin-bottom: 5px;}
.mobilemenu__title{display: block;margin-bottom: 5px;font-weight: 400;font-size: 14px;}
.mobilemenu__body{display: flex;flex-direction: column;height: 100%;}
.mobilemenu__item{display: flex;color: #333 !important;border-bottom: 1px solid #CFCFCF;padding: 15px;height: 70px;flex-direction: row;align-items: center;text-decoration: none !important;}
.mobilemenu__item img{vertical-align: middle;margin-right: 25px;width: 25px;}
.mobilemenu__item:hover{background-color: #f3f3f3;}
.mobilemenu__item.active{color: #4664CF;}
.mobilemenu__item.activeblue{color: #4664CF !important;}
.mobilemenu__item.activered{color: #CC0605 !important;}
.mm_overlay{width: 100%;height: 100%;position: fixed;top: 0;left: 0;background-image: url(../img/opacity.png);opacity: 0;display: none;}
.mobilemenu.active .mm_overlay{display: block;}
.mm_overlay.active{opacity: 1;}


.grad{
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#2b687b+0,1f3f4f+100 */
    background: #2b687b; /* Old browsers */
    background: -moz-linear-gradient(left,  #2b687b 0%, #1f3f4f 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left,  #2b687b 0%,#1f3f4f 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right,  #2b687b 0%,#1f3f4f 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2b687b', endColorstr='#1f3f4f',GradientType=1 ); /* IE6-9 */
}
.grad-blue{
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#2b687b+0,1f3f4f+100 */
    background: #2b687b; /* Old browsers */
    background: -moz-linear-gradient(left,  #2b687b 0%, #1f3f4f 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left,  #2b687b 0%,#1f3f4f 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right,  #2b687b 0%,#1f3f4f 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2b687b', endColorstr='#1f3f4f',GradientType=1 ); /* IE6-9 */
}
.grad-red{
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#2b687b+0,1f3f4f+100 */
    background: #CC0605; /* Old browsers */
    background: -moz-linear-gradient(left,  #b12b2b 0%, #CC0605 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left,  #b12b2b 0%,#CC0605 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right,  #b12b2b 0%,#CC0605 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#691d1d', endColorstr='#CC0605',GradientType=1 ); /* IE6-9 */
}
.bg-red{background-color: #CC0605;}
.bg-transparent{background-color: transparent;}
.text-antiquewhite,.text-antiquewhite *,.text-antiquewhite a:not(.button),.text-antiquewhite a:not(.button):hover{color: antiquewhite;}


.grad2{
    background: #2b687b; /* Old browsers */
    background: -moz-linear-gradient(45deg,  #2b687b 0%, #1f3f4f 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg,  #2b687b 0%,#1f3f4f 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg,  #2b687b 0%,#1f3f4f 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2b687b', endColorstr='#1f3f4f',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.map{display: block;width: 100%;height: 450px;}
.modal-footer{
    bottom: 0;
    left: 0;
    position: absolute;
    padding: 15px 30px;
    padding-top: 0;
    width: 100%;
}
#modal-result{overflow: auto;margin-bottom: 55px;}
#modal-result table .form-field input[type="text"],
#modal-result table .form-field input[type="password"],
#modal-result table .form-field input[type="email"],
#modal-result table .form-field input[type="number"],
#modal-result table .form-field input[type="date"],
#modal-result table .form-field input[type="time"],
#modal-result table .form-field select,
#modal-result table .form-field textarea{margin-bottom: 10px;}
.m2-modal .modal-btn-phone{position: absolute;top: 30px;right: 15px;}

table.stripe thead td{font-weight: bold;}
table.stripe tbody tr:hover,table.stripe tbody tr.active{background-color: #FFF2EB;}
table.m2table td .b-label{display: none;}
.dot-line:after{content: '';display: block;border-bottom: 1px dotted #CFCFCF;}

#search-result{
    display: inline-block;
    top: 400px;
    z-index: 99999;
    border: 1px solid #ccc;
    padding: 5px;
}
#search-result label{padding: 5px;margin-bottom: 3px;}
#search-result label:hover{background-color: #f7f7f7;}

#scroll-sidebar.sticked{
    position: fixed;
    top: 30px;
    z-index: 9;
}
#scroll-sidebar.dno{
    position: absolute;
    right: 0;
    left: auto !important;
    /*top: auto;
    bottom: 30px;*/
}

#content-left{min-height: 320px;}
.desk-inlineblock{display: none;}

.bottom-copyright{position: absolute;bottom: 0;left: 0;right: 0;width: 100%;padding: 15px;line-height: 1;}

@media (max-width:1367px) {
    /*body{font-size: 14px;}*/
    h1,.h1{font-size: 26px;}
    h2,.h2{font-size: 23px;}
    h3,.h3{font-size: 21px;}
/* ----------------------- */
    label.inside-input,.label-inside-input label{margin-top: 0;}
    label.inside-input+input, label.inside-input+select, label.inside-input+textarea,
    .label-inside-input label+input[type="text"],
    .label-inside-input label+input[type="number"],
    .label-inside-input label+input[type="password"],
    .label-inside-input label+input[type="date"],
    .label-inside-input label+input[type="email"],
    .label-inside-input label+input[type="time"],
    .label-inside-input label+select,
    .label-inside-input label+textarea{
        margin-top: -24px;
        padding-top: 24px;
        padding-bottom: 5px;
        height: 54px;
    }
    label.inside-input+input[type="time"] {
        margin-top: -24px;
        padding-top: 24px;
        padding-bottom: 5px;
        height: 54px;
    }
    label.inside-input+input[type="date"]::-webkit-calendar-picker-indicator{height: 38px;}
    .ico-field label.inside-input+input+button{height: 54px;margin-top: -24px;}
    .button.btn-lg{line-height: 34px;}
    .button{padding: 8px 20px;}
    .button.btn-bord{padding: 8px;}
    .tab-links a{padding: 8px 11px;}
}
@media (max-width:1169px) {
    /*input[type="date"]{max-width: 160px;}*/
    #scroll-sidebar{position: relative !important;}
    form.filter input[type="date"],form.filter select{margin-bottom: 15px;}
    .ico-field label.inside-input+input+button{margin-top: 0;float: none;right: 15px;position: absolute;}
    .desk-inlineblock{display: inline-block;}
}
@media (max-width:767px){
    /*body{font-size: 14px;}*/
    h1,.h1{font-size: 23px;}
    h2,.h2{font-size: 21px;}
    h3,.h3{font-size: 19px;}
    h4,.h4{font-size: 16px;}
    .billboard h4{margin-bottom: 10px;font-size: 14px;white-space: normal;}
    .billboard .distance{padding: 0;}
    .billboard .distance .table{display: block;}
    #header .login-block{padding-left: 15px;padding-right: 15px;}
    #header .login-block > .pad-tb-10{padding-bottom: 10px;}
    #header .login-block .avatar-name{line-height: 1;}
    .mobilemenu__inner{width: 70%;}
    .button{padding: 10px 20px;}
    .button.mob{padding: 4px 6px;}
    .button.btn-sm{padding: 7px 20px;}
    .clone-tr h5{font-size: 14px;}
    table td, table th {padding: 7px 10px;}
    table.m2table{background-color: transparent;}
    table.m2table,table.m2table tbody,table.m2table tfoot{display: block;}
    table.m2table thead{display: none;}
    table.m2table tbody tr{background-color: #FFF;width: 100%;}
    table.m2table tr:not(.clone2){
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: flex-start;
        justify-content: center;
        align-items: flex-start;
        border: 1px solid #CFCFCF;
        margin-bottom: 15px;
    }
    table.m2table tbody tr.clone2 {
        display: block;
        margin-bottom: 15px;
        margin-top: -15px;
        border: 1px solid #CFCFCF;
    }    
    table.m2table tbody tr.clone3 {
        display: grid;
        margin-bottom: 15px;
        margin-top: -15px;
        border: 1px solid #CFCFCF;
        grid-template-rows: repeat(2, 1fr);
        grid-auto-flow: column;
    }    
    table.m2table tbody tr.mob-part-tr{margin-bottom: 0;}
    table.m2table tbody tr.mob-part-ts{margin-top: 5px;}
    /* table.m2table tbody tr:not(.clone2) td{display: block;width: 50%;} */
    table.m2table tbody tr:not(.clone2) td.mw-100{width: 100%;}
    table.m2table tbody tr:not(.clone2) td.mw-33{width: 33%;}
    table.m2table tbody tr:not(.clone2) td.mw-67{width: 67%;}
    table.m2table.labels-td tbody tr:not(.clone2) td.mw-100{display: table;}
    table.m2table td .b-label{display: block;}
    table.m2table.labels-td td.mw-100 > *{display: table-cell !important;padding: 5px 10px;}
    table.m2table.labels-td td.mw-100 > *:last-child{text-align: right;}
    .m2-modal .mod-container{padding: 0;}
    .m2-modal .mod-header{margin: 0;}
    .mob-table .table-cell{display: table-cell;}
    .mob-nowrap-false{white-space: normal;}
    .mob-padtb-0,.table-cell.pad-tb-15{padding-top: 0;padding-bottom: 0;}
    input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="date"], input[type="time"], select, textarea,.filter input[data-action]+label[data-action]{margin-bottom: 15px;}
    input[data-action]+label[data-action]{margin-top: -15px;}
}
/* Стили для таблицы отзывов */
.feedback-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; 
}

.feedback-table th,
.feedback-table td {
    padding: 8px;
    overflow: hidden;
}

.column-phone {
    width: 100px;
    text-align: center;
}

.column-text {
    width: 500px;
}

.column-date {
    width: 150px;
    text-align: center;
}

.column-user {
    width: 100px;
    text-align: center;
}

.search-container {
    display: flex;
    margin-bottom: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-select label {
    font-weight: bold;
    margin-right: 5px;
}

.search-select select {
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: white;
}

.search-input label {
    font-weight: bold;
    margin-right: 5px;
}

.search-input input {
    padding: 8px;
    width: 250px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: white;
    color: black;
}

.search-button button {
    padding: 8px 15px;
    border-radius: 5px;
    border: none;
    background-color: #2b687b;
    color: white;
    cursor: pointer;
    transition: background 0.3s;
}

.search-button button:hover {
    background-color: #2b687b;
}
/* Чтобы на мобилке время прибытия не вылезало */
@media (max-width: 767px) {
    .bg-status-1, .bg-status-2, .bg-status-3 {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }
    
    .mob-nowrap-false {
        white-space: normal;
        word-break: break-word;
        width: 100%;
        padding: 5px;
    }
    
    .mob-hrow {
        height: auto;
        min-height: 30px;
    }
    
    .bg-status-2 td:last-child {
        width: 100%;
    }
}
/* Стили для нового селекта */
.quick-status-display {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 3px;
    min-width: 80px; 
}

.quick-status-display.status-1 { color: #6c757d; } 
.quick-status-display.status-2 { color: #28a745; } 
.quick-status-display.status-3 { color: #dc3545; }
.quick-status-display select {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
}

.quick-status-display .display-text {
    display: inline-block;
    padding: 2px 0;
}

.quick-status-display select::-ms-expand {
    display: none;
}