@media only screen and (max-width: 930px) {
    .sidebar-second #content {
        width: 70%;
        padding-right: 20px;
    }
    .sidebar-second .region-sidebar-second {width: 30%;}
}

@media only screen and (max-width: 770px) {
    .fon-leto,
    .fon-zima {
        width: calc(100% + 20px);
        margin-left: -10px;
        background-position: right;
    }
}

@media only screen and (max-width: 700px) {
    #block-nice-menus-1 {display: none;}
    #block-menu-block-1 {
        display: block;
        overflow: scroll;
        height: 100%;
    }
    #block-menu-block-1 .menu-block-1 > ul.menu {
        padding: 30px;
        margin: 0;
    }
    #block-menu-block-1 ul.menu li {
        list-style: none;
        padding: 5px 0;
    }
    #block-menu-block-1 ul.menu li a {
        position: relative;
        display: table;
        font-family: Arial;
        color: #fff;
        font-size: 18px;
        font-weight: bold;
        line-height: 1.3;
        font-style: italic;
        text-decoration: none;
    }
    #block-menu-block-1 ul.menu li.menu-mlid-1333 a:after {content: ' оферты';}
    #block-menu-block-1 ul.menu li.collapsed > a:after,
    #block-menu-block-1 ul.menu li.expanded > a:after {
        content: "▲";
        margin-left: 10px;
        zoom: 80%;
        position: absolute;
    }
    #block-menu-block-1 ul.menu li.collapsed > a:after {
        top: 4px;
        -webkit-transform: rotate(91deg);
        -moz-transform: rotate(91deg);
        -ms-transform: rotate(91deg);
        -o-transform: rotate(91deg);
        transform: rotate(91deg);
    }
    #block-menu-block-1 ul.menu li.expanded > a:after {
        top: 3px;
        -webkit-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
    }
    #block-menu-block-1 ul.menu li a.active {color: #c4db65;}
    #block-menu-block-1 ul.menu li ul li:before {
        content: "•";
        color: #fff;
        float: left;
        margin-right: 10px;
    }

    .sidebar-second #content,
    .sidebar-second .region-sidebar-second,
    .region-bottom {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        margin-bottom: 20px;
    }
    .fon-leto,
    .fon-zima {
        /*height: 270px;*/
        background-position: right -60px center;
    }
    .region-header {display: none;}
    .region-header.open {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #54B0B8;
        z-index: 10;
    }
    .node-16 .webform-client-form {margin-bottom: 30px;}
    .region-header.open #block-nice-menus-1 ul.nice-menu {display: table;}
    #mmenu {
        display: block !important;
        cursor: pointer;
        position: absolute;
        z-index: 999;
        top: 25px;
        right: 20px;
    }
    #mmenu span {
        display: block;
        background: #fff;
        margin-top: 4px;
        height: 4px;
        width: 30px;
        transition: All 0.2s ease-in-out;
        -webkit-transition: All 0.2s ease-in-out;
        -moz-transition: All 0.2s ease-in-out;
        -o-transition: All 0.2s ease-in-out;
    }
    #mmenu span:nth-child(1) {margin-top: 0;}
    #mmenu.open {position: fixed;}
    #mmenu.open span:nth-child(1) {
        margin-top: 0;
        margin-top: 7px;
        position: relative;
        top: 4px;
        -moz-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    #mmenu.open span:nth-child(2) {
        margin-top: 0;
        -moz-transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    #mmenu.open span:last-child {opacity: 0;}
}

@media only screen and (max-width: 530px) {
    .webform-client-form .webform-component--zaezd,
    .webform-client-form fieldset.webform-component--vzroslye,
    .webform-client-form .form-item.webform-component--vash-nomer-telefona,
    .webform-client-form .webform-component--vyezd,
    .webform-client-form fieldset.webform-component--deti-do-5-let,
    .webform-client-form .form-item.webform-component--vash-e-mail {width: 100%;}
    
    .node .field-name-body table {overflow-y: scroll;}
    .node .field-name-body table:before {
        content: "";
        background: url(/sites/all/themes/zen/img/palec.png);
        display: block;
        width: 46px;
        height: 50px;
        margin-bottom: 20px;
    }
    /*
    .node .field-name-body table th:nth-child(3),
    .node .field-name-body table td:nth-child(3),
    .node .field-name-body table th:nth-child(4),
    .node .field-name-body table td:nth-child(4),
    .node .field-name-body table th:nth-child(5),
    .node .field-name-body table td:nth-child(5),
    .node .field-name-body table th:nth-child(6),
    .node .field-name-body table td:nth-child(6) {white-space: nowrap;}
    */
    .field-name-field-img .field-item {width: 100%;}
    .field-name-field-img .field-item a {height: 250px;}
}