.mmenu {
    height: 19px; width: 27px; left: 0; top: 2px;
    position: absolute; margin: auto; z-index: 999; cursor: pointer; text-align: left;  
}
.mmenu:after, .mmenu:before, .mmenu div {
    background: rgba(86, 86, 86, 1);
    -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
    content: ''; position: absolute; height: 3px; 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;}
.mwrap {
    display: none;
}

html {-webkit-text-size-adjust:100%;}
html, body {
    min-width: 320px;
    position: relative;
}
header p strong span a {
    color: #c6c6ce;
}
.ya-phone a, .acura-table a {
    color: #000;
}

@media screen and (max-width: 1100px) {
    .slider-block {
        margin-left: 0;
        position: static;
        width: auto;
    }
    .prev, .next {
        top: 0;
        bottom: 0;
        margin: auto;
    }
    .prev {
        left: 5px !important;
    }
    .next {
        right: 5px !important;
    }
}
@media screen and (max-width: 1024px) {
    .main, ul.menu, .slider, #content, footer {
        width: auto;
        margin-left: 15px;
        margin-right: 15px;
    }
    header p {
        width: auto;
        margin-right: 0;
    }
    header p img {
        margin-right: -30px;
        width: 286px;
    }
    header p strong span {
        top: 70px !important;
    }
    .top_logo {
        opacity: 0.2;
        left: 133px; right: 0;
        margin: auto;
    }
    header h1 {
        padding-bottom: 17px;
    }
    nav {
        min-height: 60px;
        background-color: #eee;
        background-position: 0 top;        
    }
    nav.active {
        border-bottom: 1px solid #999;
    }
    #primary_nav_wrap ul li {
        float: none !important;
    }
    ul.menu li {
        display: none;
        background: none;
        height: auto;
    }
    nav.active ul.menu li {
        display: block;
    }
    ul.menu > li:first-child {
        display: block !important;
        position: absolute;
    }
    ul.menu li a {
        padding: 15px 0;
    }
    #primary_nav_wrap ul ul {
        position: static;
    }
    #primary_nav_wrap ul ul li {
        width: auto;
    }
    #primary_nav_wrap ul ul a {
        text-align: center;
    }
    #primary_nav_wrap ul li:hover > ul {
        display: none;
    }
    #primary_nav_wrap ul li.active > ul {
        display: block;
    }
    .mwrap {
        display: block;
        position: absolute;
        right: 15px;
        top: 18px;
        color: rgba(86, 86, 86, 1);
        font-size: 24px;
        padding-left: 40px;
        cursor: pointer;
        z-index: 1;
    }
    .marr {
        height: 50px;
        width: 40px;
        position: absolute;
        top: 0; right: 0;
        cursor: pointer;
        z-index: 99;
    }
    .marr:after {
        content: '';
        position: absolute;
        top: 0; right: 0; left: 0; bottom: 4px;
        margin: auto;
        border-color: rgba(86, 86, 86, 1);
        border-style: solid;
        border-width: 0 0 2px 2px;
        height: 10px; width: 10px;
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);    
    }
    li.active .marr {
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);                    
    }
    li.active .marr:after {
        bottom: 11px;
    }    
    .slider .pic {
        width: auto !important;
        background-size: 100% auto !important;
    }
    .slider .mask div {
        background-size: 100% auto !important;
        background-repeat: no-repeat !important;
    }
    #slider {
        margin-top: 10px;
    }
    .box-1 {
        padding: 30px 20px;
    }
    .box-1 > div {
        margin: 0 1%;
        width: 23%;
    }
    #content img {
        max-width: 100%;
        height: auto;
    }
    #content .highslide-gallery img {
        max-width: none;
    }
    .text-1 {
        font-size: 24px;
        line-height: 1.2;
    }
    .text-1 > strong {
        font-size: 18px;
        line-height: 1.2;
        margin-top: 5px;
    }
    .button {
        font-size: 18px;
        padding: 5px 30px 7px;
    }
    .last {
        margin-right: 1% !important;
    }
    .sub-page-left {
        width: auto;
        float: none;
        padding: 20px;
    }
    .extra-wrap {
        overflow: visible;
    }
    html > body .highslide-gallery ul li {
        float: none;
        display: inline-block;
        vertical-align: top;
        width: auto; height: auto;
    }
    #contable, #contable tbody, #contable tr, #contable td {
        display: block;
        width: auto;
        height: auto;
    }
    #contable td {
        padding: 10px 20px;
    }
}
@media screen and (max-width: 768px) {
    header h1 {        
        float: none;        
        position: absolute;
        width: 46%; height: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }    
    header h1 img {
        position: absolute;
        top: 50%;
        -ms-transform: translateY(-50%); 
        -webkit-transform: translateY(-50%); 
        transform: translateY(-50%);
        width: 100%;
    }
    header p {
        padding: 28px 0;
        position: relative;
    }
    header p img {
        width: 245px;
    }
    header p strong {
        /*display: block;*/
        margin-top: -10px;
    }    
    header p strong span {
        font-size: 21px !important;
        position: relative !important;
		top: 10px !important;
		margin-bottom: 30px;
		z-index: 999999;
		margin-top: 10px;
    }
    .box-1 {
        padding-bottom: 0;
    }
    .box-1 > div {
        float: none;
        display: inline-block;
        vertical-align: top;
        margin: 0 1% 25px;
        width: 47%;
    }
    h2 {
        font-size: 24px;
        line-height: 1.2;
        margin: 10px 0;
    }
    .p3 br {
        display: none;
    }
    footer {
        padding: 10px 0 20px;
    }
    .acura-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
@media screen and (max-width: 640px) {
    .img-indent {
        float: none;
        margin: 10px 0;
    }
    .acura-table td:nth-last-child(2) {
        display: none;
    }
    .acura-table td {
        font-size: 12px;
        padding: 7px;
    }
    #contable td > ymaps {
        height: 250px !important;
    }
}
@media screen and (max-width: 480px) {
    .top_logo {
        left: auto;
    }
    header h1 {
        display: block;
        position: relative;
        text-align: center;
        width: auto;
    }
    header h1 img {
        width: auto;
        max-width: 80%;
        position: static;
        -ms-transform: none; 
        -webkit-transform: none; 
        transform: none;        
    }
    header p {
        float: none;
        text-align: center;
        padding: 0 0 18px;
    }
    header p img {
        max-width: 100%;
        width: auto;
    }
    header p strong {
        margin-top: -22px;
    }
    .box-1 {
        padding: 20px;
    }
    .box-1 > div {
        display: block;
        margin: 0 0 25px;
        width: auto;
    }
}