#header {
    position: relative;
}

.btn-navbar {
    float: left;
    display: none;
    padding: 7px 10px;
    position: fixed;
    top: 50px;
    right: 20px;
    margin-top: -10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .075);
    background: #00024b url('images/respmenu.png') no-repeat 50%;
    height: 50px;
    width: 50px;
    border: 1px solid #fff;
    cursor: pointer;
    z-index: 999
}

.btn-navbar:hover {
    background: #000 url('images/respmenu.png') no-repeat 50%;
}

.btn-navbar .icon-reorder {
    display: none;
}

.overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    bottom: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 990;
}

@media (max-width: 1200px) {
    center,
    table.BlockR2 {
        width: 100%!important;
        display: block!important;
        height: initial !important;
    }
    table.BlockR2 td img {
        width: 100% !important;
        height: initial !important;
    }
}

@media (max-width: 1200px) and (min-width: 980px) {
    #page {
        max-width: initial !important;
    }
    #layout tr td.sidebars,
    #layout tr td.sidebars #sidebar-left {
        width: 200px !important;
    }
    #layout tr td.mainContent {
        width: 600px;
        display: block;
    }
    table.BlockR2 td {
        display: block!important;
        width: 25% !important;
        float: left;
        box-sizing: border-box;
    }
}

@media (max-width: 979px) {
    iframe {
        height: 400px;
    }
}

@media (max-width: 979px) and (min-width: 801px) {
    #page {
        max-width: initial !important;
    }
    #content-padding {
        box-sizing: border-box;
    }
    #layout tr td.sidebars {
        width: 160px !important;
    }
    #layout tr td.sidebars .dbx-content img {
        width: 100% !important;
    }
    #layout tr td.sidebars #sidebar-left {
        width: 200px !important;
    }
    #layout tr td.mainContent {
        width: 570px;
        display: block;
    }
    #content .post .entry img {
        width: 100% !important;
        height: initial !important;
    }
    #content .post div.wp-caption {
        width: initial !important;
    }
    table.BlockR2 td {
        display: block!important;
        width: 25% !important;
        float: left;
        box-sizing: border-box;
    }
}

@media (max-width: 800px) {
    table#layout,
    table#layout tbody,
    table#layout tr,
    table#layout,
    table#layout tbody,
    table#layout tr,
    table#layout td {
        display: block;
    }
    table.ww-bigInformer-tab,
    table.ww-bigInformer-tab tbody {
        display: table !important;
    }
    table.ww-bigInformer-tab tr {
        display: table-row !important;
    }
    table.ww-bigInformer-tab td {
        display: table-cell !important;
    }
    #header h1 {
        width: 70% !important;
    }
    #header .description {
        display: none;
    }
    #ya-site-form0 .ya-site-form__input-text {
        width: 100%!important;
        float: initial!important;
    }
    #layout tr td.sidebars,
    #nav-left li.page-item-570,
    #nav-left li.page-item-8607,
    #nav-left li.page-item-138933,
    #nav-left li.page-item-2 {
        display: none;
    }
    #page {
        max-width: initial !important;
        background: initial !important;
    }
    body {
        padding: initial !important;
    }
    #content-padding {
        box-sizing: border-box;
    }
    table.BlockR2 td {
        display: block!important;
        width: 50% !important;
        height: auto!important;
        float: left;
        box-sizing: border-box;
    }
    #post-head tr td {
        display: block;
        float: left;
        width: 90% !important;
        box-sizing: border-box;
    }
    #post-head tr td:first-child {
        width: 10% !important;
    }
    .leftSidebar {
        top: 0;
        z-index: 998;
        width: 50% !important;
        display: none;
        position: fixed;
        overflow-y: scroll;
        height: 100%;
    }
    .leftSidebar #sidebar-left {
        width: 100%;
    }
    .leftSidebar #sidebar-left h3 {
        background: #ccc;
    }
    .leftSidebar #sidebar-left .dbx-content {
        background: #eee;
    }
    .btn-navbar {
        display: block;
    }
    .mc-avatar-wrap {
        width: 40px !important;
    }
    .leftSidebar #sidebar-left .dbx-content img,
    #content .post .entry img {
        height: initial !important;
    }
    #content .post div.wp-caption {
        width: initial !important;
    }
    iframe {
        height: 350px;
        width: 100% !important;
    }
    .entry {
        font-size: 16px;
    }
}

@media (max-width: 767px) and (min-width: 600px) {}

@media (max-width: 599px) {
    #head-date {
        display: none !important;
    }
    #content-padding {
        padding: 0 10px!important;
    }
	 #nav-left li.page-item-163596,
	 #nav-left li.page-item-10729 {
        display: none;
    }
    .leftSidebar {
        width: 100% !important;
    }
    #commentform #submit {
        margin-left: 0 !important;
    }
    .post-nav {
        background: #eee!important;
        margin: 0px!important;
        padding: 5px!important;
        overflow: hidden;
    }
    .post-nav a {
        line-height: 1.5;
    }
    .post-nav .previous a {
        border-bottom: 1px solid #fff;
    }
    #nav-left #nav a {
        padding: 5px !important;
    }
    #commentform textarea {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    iframe {
        height: 450px;
        width: 100% !important;
    }
    .entry {
        font-size: 16px;
    }
}

@media (max-width: 320px) {
    iframe {
        height: 300px;
        width: 100% !important;
        .entry {
            font-size: 16px;
        }
    }
}


/* Udachnik iFrame styles*/

@media (max-width: 300px) {
    .horizMenu a {
        width: 100%;
        height: initial;
        min-height: initial;
    }
}

@media (max-width: 979px) {
    iframe.udachnikAD {
        height: 71px;
    }
}

@media (max-width: 800px) {
    iframe.udachnikAD {
        height: 58px;
        width: 100% !important;
    }
}

@media (max-width: 599px) {
    iframe.udachnikAD {
        height: 45px;
        width: 100% !important;
    }
}

@media (max-width: 425px) {
    iframe.udachnikAD {
        height: 30px;
        width: 100% !important;
    }
}