.mmenu {
    height: 16px; width: 25px; left: 15px; top: 11px;
    position: absolute; margin: auto; z-index: 999; cursor: pointer; text-align: left;  
}
.mmenu:after, .mmenu:before, .mmenu div {
    background: #fff;
    content: ''; position: absolute; height: 2px; width: 100%;
}
.mmenu:after{bottom:0;}.mmenu:before{top:0;}.mmenu div{top:0;bottom:0;margin:auto;}.active .mmenu:after,.active .mmenu:before{top:0;bottom:0;margin:auto;}.active .mmenu:after{-ms-transform:rotate(45deg);-webkit-transform:rotate(45deg);transform:rotate(45deg);}.active .mmenu:before{-ms-transform:rotate(-45deg);-webkit-transform:rotate(-45deg);transform:rotate(-45deg);}.active .mmenu div{display:none;}
.mwrap {
    display: none;
    color: #fff;       
    font-size: 20px;
    height: 40px;
    padding-top: 7px;
    text-align: center;
    position: relative;
    cursor: pointer;
    box-sizing: border-box;
    text-transform: uppercase;
    font-family: Arial,Helvetica,sans-serif;
}
.mcat {    
    display: none;
    position: relative;
    background: #dae3ec;
    border-radius: 10px;
    height: 50px;
    line-height: 50px;
    box-sizing: border-box;
    padding: 0 15px;
    margin-bottom: 5px;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
}
.mcat:after {
    content: '';
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #000;    
    height: 0; width: 0;
    position: absolute;
    right: 15px; top: 0; bottom: 0;
    margin: auto;
}
.mcat.active:after {
    border-top: none;    
    border-bottom: 7px solid #000;    
}

html {-webkit-text-size-adjust:100%;}
html, body {
    min-width: 320px;
}

ul#bottommenu a {
    display: inline-block;
}

@media screen and (max-width: 1024px) {
    .container, .header {
        width: auto;
    }
    .header {
        background: url("//www.dellstroy.ru/images/header2.jpg") no-repeat -177px 0;
        text-align: center;
        height: auto;
    }
    #nomer {
        background: url("//www.dellstroy.ru/images/header-small-new.jpg") no-repeat -688px -26px;
        width: 284px;
        margin-top: 0;
        float: right;
        margin-right: 15px;
    }
    #slogan {
        background: url("//www.dellstroy.ru/images/header-small-new.jpg") no-repeat -403px -26px;
        padding: 0;
        height: 70px;
        width: 225px;
        float: none;
        display: inline-block;
    }
    #nomer, #slogan {
        border-radius: 15px;
        box-shadow: 1px 1px 5px #ccc;
        margin-top: 30px;
    }
    #logo {
        background: url("//www.dellstroy.ru/images/header-small-new.jpg") no-repeat -30px -7px;
        width: 230px;
        float: left;
        margin-left: 3px;
        margin-top: 15px;
        margin-bottom: 15px;
    }
    #Insert_logo, #Insert_fon img {
        width: 100%;
        height: 100%;
    }
    .topm {
        background: #A11312;
        clear: both;
        padding-left: 0;
        padding-top: 0;
    }
    .topm ul {
        padding: 0;
    }
    ul#firstmenu li {
        width: auto;
    }
    ul#firstmenu a {
        display: inline-block;
        margin: 10px 0;
        padding: 5px 13px;
    }
    .sidebar1 {
        padding: 15px;
        width: 256px;
        box-sizing: border-box;
    }
    .content {
        padding: 15px 15px 15px 0;
        width: auto;
        float: none;
        display: block;
        overflow: hidden;
    }
    .main_menu {
        padding-left: 0
    }
    .sidebar1 img, .content img {
        max-width: 100%;
        height: auto !important;
    }
    .content table img {
        height: auto !important;
    }
    .shapkaprochistka {
        width: 92%;
    }
    .bottom {
        background-size: 100% auto;
    }
    .footer {
        background: #435362;
        border-top: 7px solid #B91514;
        margin-top: 20px;
        height: auto;
        padding-bottom: 20px;
    }
    #schetchik {
        display: none;
    }
    .bottext {
        padding-left: 15px;
    }
    .botm {
        padding-left: 5px;
        padding-right: 5px;
    }
    #botnomer {
        padding-right: 15px;
        padding-top: 26px;
        background-position: 21px 24px;
    }
    a[href*="liveinternet.ru"] {
        display: none;
    }
    .nc_row > h1 + table, .nc_row > h1 + table > tbody, .nc_row > h1 + table > tbody > tr, .nc_row > h1 + table > tbody > tr > td,
    .nc_row > table:first-child, .nc_row > table:first-child > tbody, .nc_row > table:first-child > tbody > tr, .nc_row > table:first-child > tbody > tr > td {
        display: block;
    }
    .nc_row > h1 + table > tbody > tr > td, .nc_row > table:first-child > tbody > tr > td {        
        width: auto;
        margin-bottom: 20px;
    }
    .equip {
        display: table !important;
    }
    .equip tbody {
        display: table-row-group !important;
    }
    .equip tr {
        display: table-row !important;
    }
    .equip td {
        display: table-cell !important;
    }
    .preim {
        max-width: 100%;
        background-size: 100% auto;
        background-repeat: no-repeat;
        margin-bottom: 20px;
        margin-top: 20px;
    }
    .nc_row > p:first-child img {
        height: auto !important;
        width: 30% !important;
    }    
}
@media screen and (max-width: 820px) {
    #slogan {
        float: right;
        margin-right: 15px;
    }
    #nomer, #slogan { 
        margin-top: 15px;
    }
    #nomer {
        margin-bottom: 15px;
        clear: right;
    }
    #logo {
        margin-top: 40px;
    }
}
@media screen and (max-width: 768px) {
    .mwrap {
        display: block;
    }
    #firstmenu {
        display: none;
    }
    .mwrap.active + #firstmenu {
        display: block;
    }
    ul#firstmenu li {
        display: block;
    }
    .sidebar1 {
        float: none;
        display: block;
        width: auto;
    }
    .sidebar1 > * {
        display: none;
    }
    .mcat.active + .main_menu {
        display: block;
    }
    .main_menu > div {
        width: auto !important;        
    }
    .main_menu > div[class*="leftmenu"] {
        box-sizing: border-box;
        height: 60px;
        margin-bottom: 4px;
        padding-top: 0;
        padding-left: 85px;
        padding-right: 10px;
        position: relative;
        z-index: 1;
    }
    .main_menu > div[class*="leftmenu"] > div {
        position: relative;
        top: 50%;
        -ms-transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    .main_menu > div[class*="leftmenu"]:after {
        content: '';
        position: absolute;
        right: 0; top: 0; bottom: 0;
        left: 213px;
        background: #DAE3EC;
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
        z-index: -1;
    }
    .main_menu > div[class*="leftmenu"]:first-child:after {
        background: #E3EAF0;
    }
    .mcat {
        display: block;
    }
    .content {
        padding: 0 15px 15px;
    }
    .content h1, h1, h2, h3, h4, h5, h6 {
        font-size: 18px;
    }
    .shapkaprochistka {
        box-sizing: border-box;
        width: 100%;
    }
    .shapkaprochistka span[style="font-size:35px;"] {
        font-size: 24px !important;
    }
    ul#ultop li {
        font-size: 14px;
    }
    .content div[style="width: 90%;"] {
        width: auto !important;
    }
    .footer {
        padding-bottom: 5px;
    }
    .botm {
        float: none;
        width: auto;
        padding-top: 15px;
    }
    #botnomer {
        float: none;
        width: auto;
        text-align: left;
        padding-left: 81px;
        padding-top: 15px;
        margin-bottom: 20px;
    }
    ul#bottommenu li {
        display: inline-block;
        margin-bottom: 5px;
    }    
    .this_menu_items a {
        display: inline-block;
        margin: 5px 0;
    }
    .nc_row {
        margin-bottom: 10px;
    }
	.pricetable {
		font-size:8px;
	}
	.pricetable th {
		font-size:8px;		
	}
	.links {
		font-size:8px;	
	}
	.pricetable th, td {
    padding: 5px;
}
}
@media screen and (max-width: 640px) {
    .nc_row > p:first-child img {
        float: none !important;
        margin-right: 0 !important;
        width: auto !important;
    }
    .content iframe { 
        max-height: 250px;
    }
    .nc_row > h1 + table iframe, .nc_row > table:first-child iframe {
        max-height: none;
    }
    .equip {
        display: block !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
@media screen and (max-width: 555px) {
    .header {
        background: none;
        position: relative;
        z-index: 1;
        overflow: hidden;
    }
    .header:after {
        content: '';
        position: absolute;
        top: 77px;
        left: 0; right: 0;
        height: 216px;
        background: url("//www.dellstroy.ru/images/header2.jpg") no-repeat center top;
        z-index: -1;
    }
    #logo {
        border-radius: 15px;
        box-shadow: 1px 1px 5px #eee;
    }
    #logo, #nomer, #slogan {
        float: none;
        display: inline-block;
        vertical-align: middle;
        margin: 7px;
    }
    .topm {
        margin-top: 10px;
    }
}
@media screen and (max-width: 480px) {
    .shapkapavaria {
        background-size: 100% 100%;
        max-width: 100%;
    }
    .shapkapavaria a {
        font-size: 18px;
    }
    .content iframe {
        float: none;
        width: auto;
        max-width: 100%;
    }
    .content img {
        display: block;
        float: none !important;
        margin: 10px 0 !important;
    }
    .content .noleft img {
        float: left !important;
    }
    .content .noleft li img {
        float: none !important;
        display: inline !important;
    }
    .nc-field-caption {
        display: block;
    }
    input, textarea {
        max-width: 100%;
        box-sizing: border-box;
    }
	.contactform {
    
    width: 270px !important;
	}
}