html {-webkit-text-size-adjust:100%;}
.mmenu {
    height: 25px; width: 35px; right: 0; left: 0; top: 8px;
    position: absolute; margin: auto; z-index: 999; cursor: pointer; display: none;   
}
.mmenu.active {
    left: auto; right: 15px; top: 10px;    
}
.mmenu:after, .mmenu:before, .mmenu div {
    background: #783300;
    -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;
    content: ''; position: absolute; height: 20%; width: 100%;
}
.mmenu:after{bottom:0;}.mmenu:before{top:0;}.mmenu div{top:0;bottom:0;margin:auto;}.mmenu.active:after,.mmenu.active:before{top:0;bottom:0;margin:auto;}.mmenu.active:after{-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);-webkit-transform:rotate(45deg);-o-transform:rotate(45deg);transform:rotate(45deg);}.mmenu.active:before{-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-webkit-transform:rotate(-45deg);-o-transform:rotate(-45deg);transform:rotate(-45deg);}.mmenu.active div{display:none;}

html, body {
    min-width: 320px;
}
.popup {
    background-size: 100% 100%;
    left: 0; right: 0; top: 20%; bottom: 0;
    margin: auto;
    max-width: 95%;
    z-index: 9999;

}
.popup__input {
    background-size: 100% 100% !important;
    max-width: 100%;
}
.popup__btn {
    max-width: 100%;
}
.ceny_block, .ceny_block div {
    width: auto;
}
.table_price + p .page_callback {
    text-align: center;
    /*display: block;*/
}
.table_price + p .page_callback img.but_ceny {
    margin-left: -150px;
    max-width: none;
}
div > ymaps {
    max-width: 100%;
}
.select-title {
    background-size: 100% 100%;
}
.calk-module__input {
    margin-bottom: 20px;
}
.calk-module-rezult, .calk-module__send {
    max-width: 100%;
}
.calk-module-rezult-value {
    left: 0; right: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 93%;    
}
.table_gost {
    table-layout: fixed;
}
.header__phone a:first-child {
    font-size: 24px;
}
.header-search #mod-search-searchword {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

@media screen and (max-width: 1240px) {
    .container {
        margin: 0 15px;
    }
    .header-menu ul {
        display: table;
        width: 100%;
    }
    .header-menu ul li {
        float: none !important;
        display: table-cell;
        vertical-align: middle;
        text-align: center;
        padding: 0 0 0 10px;
    }
    .header-menu ul li a, .header-menu ul li.item-116 a, .header-menu ul li.item-117 a {
        padding: 0 0 0 20px;
    }
    .header-menu ul li.item-116 a:before, .header-menu ul li.item-117 a:before {
        left: 4%;
    }
    aside.right {
        float: none;
        width: auto;
        margin-top: 30px;
    }
    aside.right .image-module-slider-item {
        width: auto !important;
    }
    aside.right .custom > div {
        margin-right: 30px;
    }
    aside.component {
        float: none;
        width: auto;
        margin-left: 260px;
        padding-right: 0;
        padding-bottom: 5px;
        overflow: hidden;
    }
    .footer-menu {
        left: auto;
        right: -15px;
        top: 19px;
    }
    .dost_car_gaz, .dost_car_tata {
        float: none;
        display: inline-block;
        vertical-align: top;
        width: 48%;
        margin-bottom: 20px;
    }
    .dost_car_kamaz {
        width: 48%;
        margin: auto;
    }
}
@media screen and (min-width: 941px) {
    .header-menu ul {
        display: table !important;
    }
}
@media screen and (max-width: 940px) {
    header .container {
      height: 165px;
    }
    header {
        background: #915032;
    }
    .header__phone {
        right: 136px;
    }
    .header__graf {
        right: 0;
    }
    .header__callback {
        font-size: 16px;
        height: 30px;
        line-height: 30px;
        width: 170px;
        top: 70px;
    }
    .header-search {
        right: 180px;
        top: 70px;
    }
    .header-search #mod-search-searchword {
        width: 170px;
        height: 30px;
    }
    .header-menu {
        width: auto;
        left: 0; right: 0;
        margin: 0 -15px;
        background: #ebc588;
        height: 40px;
    }
    .header-menu ul {
        display: none;
        position: absolute;
        z-index: 99;
        background: #ebc588;
        border-bottom: 2px solid #783300;
    }
    .header-menu ul li {
        display: block;
        padding: 0;        
    }
    .header-menu ul li:hover {
        height: auto !important;
    }
    .header-menu ul li a {
        padding: 0;
        font-size: 18px;
        height: 45px;
        line-height: 45px;
    }
    .header-menu ul li a:before {
        left: 4% !important;
    }
    aside.component img:not(.sigProImg) {
        max-width: 100%;
        height: auto !important;
    }
    .mmenu {
        display: block;
    }
    footer {
        background: #eddac9;
    }
    .footer__logo {
        top: 46px;
    }
    .footer__logo + div {
        display: none;
    }    
}
@media screen and (min-width: 768px) {
    aside.left .menu-leftmenu {
        display: block !important;
    }
}
@media screen and (max-width: 768px) {
    aside.left {
        float: none;
        width: auto;
        text-align: center;
    }    
    aside.left .custom, aside.left .menu-leftmenu + .menu-leftmenu {
        display: none;
    }
    aside.left .mod-header {
        border-bottom: 1px dashed;
        display: inline-block;
        margin-bottom: 15px;
        padding-bottom: 5px;
        cursor: pointer;
        position: relative;
    }    
    aside.left .mod-header:after {
        content: '';
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-top: 7px solid #783300;        
        height: 0; width: 0;
        position: absolute;
        right: -25px; top: 6px;
    }
    aside.left .mod-header.active:after {
        border-top: none;
        border-bottom: 7px solid #783300;    
    }
    aside.left .menu-leftmenu {
        display: none;
    }
    aside.left .menu-leftmenu li {
        background: #fbf2e4;
        margin-bottom: 10px;
        padding-right: 60px;
    }
    aside.left .menu-leftmenu li a {
        height: 40px;
        line-height: 36px;
    }
    aside.left .menu-leftmenu li a:before {
        background-size: auto 100% !important;
        height: 110%;
    }
    aside.component {
        margin-left: 0;
        padding-left: 0;
    }
    aside.component .page-header {
        margin-bottom: 20px;
        margin-top: 10px;
        text-align: center;
    }    
    aside.right {
        text-align: center;
    }
    aside.right .image-module, aside.right .custom {
        display: inline-block;
        vertical-align: top;
        width: 260px;
    }
    aside.component h1, aside.component h2 {
        line-height: 24px;
    }
    img.but_ceny_page {
        margin-left: 0 !important;
    }
    img.but_stoimost, img.but_ceny, img.page_but {
        margin-left: 0;
        margin-bottom: 10px;
    }
    ul.sigProClassic {
        text-align: center;
    }
    ul.sigProClassic li.sigProThumb {
        float: none;
        display: inline-block;
        vertical-align: top;
    }
}
@media screen and (max-width: 700px) {
    header .container {
      height: 190px;
    }
    .header__logo {
        left: 0; top: 20px;    
    }
    .header-search {
        left: 54px; right: auto; top: 102px;     
    }
    .header__phone {
        right: 0; top: 10px;
        border-right: none;
        padding-right: 0;
    }
    .header__graf {
        right: 0; top: 60px;
        font-size: 15px;
        line-height: 17px;
    }
    .header__callback {
        right: 0;  top: 102px;   
    }
    .otzyv {
        float: none;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
}
@media screen and (max-width: 620px) {
    footer {
        text-align: center;
        height: auto;
        padding-bottom: 1px;
        padding-top: 15px;
    }
    .footer__logo, .footer-menu, .footer__copy {
        position: static;
        text-align: center;
    }
    .footer-menu {
        margin-top: 10px;
    }
    .footer-menu ul li {
        display: inline-block;
        float: none;
        margin-bottom: 5px;
    }
}
@media screen and (max-width: 530px) {
    header .container {
        height: 235px;
    }
    .header__logo {
        left: 0; right: 0; top: 15px;       
        text-align: center;        
    }
    .header__logo img {
        max-width: 100%;
    }
    .header__phone {
        left: 0; right: 165px; top: 90px;
        width: 165px;
        margin: auto;
        font-size: 20px;
    }
    .header__phone a:first-child {
        font-size: 22px;
    }
    .header__phone a {
        font-size: 14px;
    }
    .header__graf {
        left: 170px; right: 0; top: 91px;
        width: 120px;
        margin: auto;
        font-size: 14px;
        line-height: 21px;
    }    
    .header__graf br {
        display: none;
    }
    .header-search {
        left: 0; top: 144px;
        width: 50%;
    }
    .header-search #mod-search-searchword {
        width: 100%;
        padding-left: 5px;
    }
    .header-search button {
        background-size: 100% auto;
        width: 25px; height: 25px;
        top: 3px;
    }
    .header__callback {
        top: 144px;  
        width: 43%;
        font-size: 14px;
    }
}
@media screen and (max-width: 500px) {
    .table_ico tr {
        display: table-cell;
    }
    .table_ico td {
        display: block;
        height: 50px;
    }
    .table_ico img {
        width: 40px;
    }
    .table_ico td span {
        display: inline-block;
        margin: 12px 0;
        font-size: 14px;
    }
    .table_ico td:hover {
        cursor: auto;
        font-weight: normal;
    }
    .table_price {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .dost_car_gaz, .dost_car_tata, .dost_car_kamaz {
        display: block;
        width: auto;
    }
    div > ymaps {
        height: 300px !important;
    }
}