.mmenu {
    height: 20px; width: 30px; left: 0; right: 0; top: 8px; text-align: left;
    position: absolute; margin: auto; z-index: 999; cursor: pointer; display: none;   
}
.mmenu:after, .mmenu:before, .mmenu div {
    background: #fff;
    -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;
    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 {-webkit-text-size-adjust:100%;}
body {
    min-width: 320px;
}
.searcharea input#s {
    margin-top: 5px;
}

@media screen and (max-width: 1220px) {
    #pp-wrapper1, #branding1 .menu, #pp-wrapper-bg, div[style="width:1200px; margin:auto;"], .slider_block, #footer .footer_line, .centr_l, .centr_r {
        max-width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .centr_l, .centr_r {
        background: none;
    }
    #pp-wrapper-bg {
        padding: 0 15px;
    }
    #content {
        padding: 0;
    }
    div[style="width:1200px; margin:auto;"] > img {
        display: none;
    }
    #branding1 .menu {
        display: table;
    }
    #branding1 .menu a {
        display: table-cell;
        float: none;
        line-height: 1;
        padding: 0 10px;
        vertical-align: middle;
    }
    .slides1_wrap {
        margin: auto;
        padding: 0;
    }
    .slides1_wrap .prev {
        left: -25px;
    }
    .slider_block + img {
        max-width: 100%;
    }
    .slider_block + img + iframe {
        max-width: 100%;
        margin: auto !important;
        display: block;
    }
    .sidebar-banner {
        margin-left: 0 !important;
    }
    .sidebar-banner > div {
        width: 200px !important;
    }
    .sidebar-banner + div {
        width: auto !important;
        height: auto !important;
        padding-left: 0 !important;        
        margin-left: 200px;
    }
    #content .main_block .block_uslugi {
        margin-left: 0 !important;
        text-align: center;
    }
    #content .main_block .block_usluga {
        float: none;
        display: inline-block;
        vertical-align: top;
    }
    #content .main_block .block_usluga img {
        border-right: none !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    #content .main_block .block_usluga span {
        padding-right: 0 !important;
        padding-left: 0 !important;
        display: inline-block;
    }    
    .sidebar-banner + div br + div, .sidebar-banner + div br + div + p + div + div {
        margin: 25px auto !important;
    }
    .sidebar-banner + div > div {
        padding-left: 0 !important;
        width: auto !important;
        height: auto !important;
        text-align: center;
    }
    .sidebar-banner + div > p {
        line-height: 1.1;
    }
    #feedback-form > div {
        max-width: 100%;
        height: auto !important;
        padding-bottom: 10px !important;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    div[style="width:740px; margin:auto;"] {
        max-width: 100%;
    }
    div[style="width:740px; margin:auto;"] div, div[style="width:740px; margin:auto;"] p {
        max-width: 100%;
    }
    div[style="width:740px; margin:auto;"] > div {
        width: 50% !important;
    }
    #content img {
        max-width: 100%;
    }
    #footer {
        padding-top: 40px;
        height: auto;
        padding-bottom: 10px;
        padding-left: 0;
    }
    #footer .footer_line {
        margin-left: 0;
    }
    #footer .title_f, #footer .menu {
        float: none;
    }
    #footer .title_f {
        padding-left: 0;
    }
    #footer .menu {
        margin-left: 0;
        padding-left: 0;
    }
    #footer .menu div[style="margin-left:220px; margin-top:20px;"] {
        margin-left: 0 !important;
    }
    #twitter-widget-0 {
        width: 85px !important;
    }
    #sideLeft {
        padding-top: 0;
        padding-left: 0;
    }
    .ramka_baget_iz, .ramka_baget_tw, .ramka_baget {
        max-width: 100%;
        height: auto;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .ramka_baget_iz h2:last-child, .ramka_baget_tw h2:last-child {
        margin-bottom: 0 !important;
    }
    .block_text p {
        line-height: 1.2 !important;
    }
    .block_text iframe {
        margin-left: 0 !important;
        max-width: 100%;
    }
    .block_text img, .entry-content img {
        height: auto !important;
    }
    #content .main_block .line630 {
        max-width: 100%;
    }
    div[style="height:275px; display:block;"], div[style="height:275px; display:block;"] > div:nth-child(7), div[style="height:275px; display:block;"] > div:nth-last-child(2), div[style="height:275px; display:block;"] > div:nth-last-child(1) {
        height: auto !important;
    }
    div[style="height:275px; display:block;"] > div:nth-child(5) {
        margin: 80px auto 25px !important;
    }
    .fancybox-opened {
        z-index: 99999;
    }
}
@media screen and (max-width: 1024px) {
	.chasyraboty {
  margin-left: -215px;
  margin-top: 0;
  position: absolute;
  width: 240px;
}
    #branding1 {
        height: auto;
    }
    #branding1 .phones {
        width: auto;
        height: auto;
        top: 5px;
    }
    #branding1 .phones .phones_wrapper > div {
        width: 290px;
        line-height: 1.2;
    }
    #branding1 .phones .phones_wrapper > div a {
        color: #f4f4f4;
        text-decoration: none;
    }
    #branding1 .phones + a {
        position: absolute;
        right: 15px;
        top: 70px;
        text-decoration: none;
    }
    #branding1 .phones + a p, #branding1 .phones + a img {
        position: static !important;
        margin: 0 !important;
        display: inline-block;
        vertical-align: middle;
    }
    #pp-wrapper1 {
        background: url('http://premiumfoto.ru/wp-content/themes/premiumfoto/images/pp-header_bg_cut.gif') repeat !important;
        padding-bottom: 30px;
        padding-top: 20px;
    }
    .searcharea {
        right: 5px; bottom: 5px;
        top: auto;
    }
    .slider_block {
        display: none;
    }
    .block_text div, .block_text p, .block_text img {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;        
        width: auto !important;
    }
    #feedback-form div[style="width:375px; margin:auto;"] {
        max-width: 100%;
        text-align: center;
    }
    #feedback-form div[style="width:375px; margin:auto;"] > input, #feedback-form div[style="width:375px; margin:auto;"] > div {
        float: none !important;
        display: inline-block;
        margin: 3px 0 !important;
    }
    #feedback-form > div > p:nth-last-child(2) {
        margin-top: 10px !important;
    }
    .image_new {
        margin-right: 0;
    }
    .zakazat {
        float: none;
        text-align: center;
    }
    table.price, table.tbl  {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border: none;
    }
    #feedback-form {
        clear: both;
    }
    .zakazat a {
        white-space: nowrap;
    }
    div[style="float: left; margin-top: -35px;"], div[style="float: left; margin-left: 20px; margin-top: -35px;"], div[style="float: left; margin-top: -35px; margin-right: 30px;"] {
        margin-top: 0 !important;
    }
    .block_text > blockquote {
        max-width: 100%;
        margin-left: 0;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    #eModal-1 {
        max-width: 90%;
        margin-left: 0;
    }
}
@media screen and (max-width: 956px) {
.chasyraboty {
  display:none;
}
}
@media screen and (min-width: 769px) {
    #sideLeft .itemuslugi {
        display: table !important;
    }
    #sideLeft hr  {
         display: block !important;
    }
}
@media screen and (max-width: 768px) {

    #pp-wrapper1 {
        text-align: center;
        padding-bottom: 15px;
        padding-top: 5px;
        padding-left: 15px;
        padding-right: 15px;
    }
	#branding1 .phones .phones_wrapper{
		float: none;
	}
    #branding1 .phones, #branding1 .phones + a, .searcharea {
        position: static;
    }
    #branding1 .phones {
        margin-bottom: 10px;
    }
    #branding1 .phones .phones_wrapper > div { 
        width: auto;
        font-size: 18px;
    }
    .searcharea  {
        display: inline-block;
        text-align: left;
    }    
    #branding1 a.logo img {
        max-width: 100%;
        padding-left: 0;
    }
    #branding1 .menu {
        display: block;
        position: relative;
        height: auto;
        padding-top: 38px;
    }
    #branding1 .menu a {
        width: auto !important;
        line-height: 38px;
        display: none;
    }
    #branding1 .menu a.opened {
        display: block;
    }
    .mmenu {
        display: block;
    }    
    .sidebar-banner {
        position: static !important;
    }
    .sidebar-banner > div {
        width: auto !important;
    }
    .sidebar-banner > div > ul {
        float: left;
        width: 40%;
    }
    .sidebar-banner > div > div:last-child {
        float: right;
        margin-top: 0 !important;
    }
    .sidebar-banner + div {
        margin-left: 0;
    }
    .sidebar-banner + div > p:first-child {
        clear: both;
    }
    .sidebar-banner + div > p {
        font-size: 24px !important;
    }
    .sidebar-banner + div + div + div, .sidebar-banner + div + div + div + div {
        margin-left: 0 !important;
    }
    .fireseo {
        clear: both;
    }
    #footer .menu {
        line-height: 1.8;
    }
    #footer .menu img[width="88"] {
        display: block;
        margin-top: 15px;
        margin-bottom: -15px;
    }
    #footer .menu a {
        white-space: nowrap;
    }
    #middle-no-slider {
        padding-left: 0;
        height: auto;
        display: table;
        table-layout: fixed;
        width: 100%;
    }
    #middle-no-slider #container {
        float: none;
        display: table-footer-group;
    }
    #middle-no-slider #sideLeft {
        float: none;
        position: static;
        display: table-header-group;
    }
    #sideLeft .news_block .line260 {
        background-repeat: repeat-x;
        width: auto;
    }
    #sideLeft > br, #sideLeft > p:last-child {
        display: none;
    }
    #sideLeft .itemuslugi, #sideLeft hr {
        display: none;
    }
    #sideLeft .news_block h2 {
        position: relative;
        background: url("http://premiumfoto.ru/wp-content/themes/premiumfoto/images/menu_bg.png") repeat-x;
        color: #fff;
        padding-bottom: 10px;
        padding-left: 10px;
        padding-top: 10px;
        cursor: pointer;
    }
    #sideLeft .news_block h2:after {
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-top: 7px solid #fff;
        content: ""; 
        height: 0; width: 0;
        position: absolute;
        right: 12px; top: 15px;       
    }
    #sideLeft .news_block h2.active:after { 
        border-top: none;
        border-bottom: 7px solid #fff;
    }
    .fancybox-inner {
        height: auto !important;
    }
    .fancybox-inner #feedback-block {
        max-width: 100%;
    }
    #contact > ul {
        padding-left: 10px;
    }
    #contact > button {
        margin-left: 10px;
    }
    .block_text > table[style="width:100%;"]:first-child tr, .block_text > table[style="width:100%;"]:first-child td, .block_text > table[style="width:100%;"]:first-child tbody {
        display: block;
    }
    .table_map, .table_map tbody, .table_map tr, .table_map td {
        display: block;
    }
    .table_map td > ymaps {
        max-width: 100%;
    }

}

@media screen and (max-width: 1030px) {
    .banner-title {
        display: inline-block;
        position: static;
        margin-bottom: .5em;
    }

    .banner-custom-form-wrap {
        top: 110px;
    }
}

@media screen and (max-width: 480px) {    
    #branding1 .phones {
        margin-bottom: 5px;
    }
    #branding1 .phones .phones_wrapper > div {
        width: 260px;
        text-align: center;
    }
    .searcharea {
        width: 280px; height: 40px;
        background-size: 100% 100%;
    }
    .searcharea input#s {
        width: 213px;
    }
    .slider_block + img + iframe, .block_text iframe {
        height: 200px;
    }
    .sidebar-banner > div > ul {
        float: none;
        width: auto;
    }
    .sidebar-banner > div > div:last-child {
        float: none;
        margin-top: 15px !important;
        text-align: center;
    }
    #content .main_block .block_usluga {
        width: 128px;
    }    
    div[style="width:740px; margin:auto;"] > div {
        width: auto !important;
    }
    .table_map td > ymaps {
        height: 250px !important;
    }

    .banner-title {
        display: block;
        font-size: 20px;
    }

    .banner-custom-form-wrap {
        left: 15px;
    }

    .banner-custom-2-text {
        top: 15px;
        font-size: 16px;
        line-height: 1.5;
    }
        .banner-custom-2-text b {
            font-size: 18px;
        }

    .price-list th,
    .price-list td {
        padding: 8px;
        font-size: 12px;
    }
}

@media screen and (min-width: 1025px) and (max-width: 1180px){
.chasyraboty{width: 245px; margin-left: -94px;}
.chasyraboty p{font-size: 12px;}
}

@media screen and (max-width: 900px) {
    .calc-print-inner {
        border: 1px solid #a2dbea;
        box-shadow: none;
    }
    .calc-print-cols {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
        .calc-print-col {
            padding: 35px 0;
            -webkit-flex: 0 1 auto;
            -ms-flex: 0 1 auto;
            flex: 0 1 auto;
            border-left: 0;
            border-top: 1px solid #a2dbea;
        }

        .calc-print-col:first-child {
            padding-top: 0;
            border-top: none;
        }
        .calc-print-col:last-child {
            padding-bottom: 0;
        }

    .print-sections {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
        .print-section {
            margin-bottom: 30px;
            -webkit-flex: 0 1 auto;
            -ms-flex: 0 1 auto;
            flex: 0 1 auto;
        }
        .print-section:last-child {
            margin-bottom: 0;
        }
}

