.container,
.header-feedback {
    -webkit-box-sizing: border-box;
}
.header-feedback a,
header .phone,
header .phone:hover {
    text-decoration: none;
}
.info-nav,
.walls-page .row {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
}
.visible-lg,
.visible-md,
.visible-sm,
.visible-xs,
.visible-xxs {
    display: none;
}
html.menu-open {
    overflow: hidden;
    height: 100%;
}
@media only screen and (max-width: 991px) {
    aside + section {
        width: 70%;
        padding-left: 15px;
    }
}
@media only screen and (max-width: 767px) {
    aside + section {
        padding: 0;
        width: 100%;
    }
}
@media only screen and (max-width: 991px) {
    .category-202 .article table,
    .page-id-12 .article table {
        width: 100%;
    }
    .category-202 .article table tr td,
    .page-id-12 .article table tr td {
        padding: 15px;
        width: 50%;
        vertical-align: top;
    }
}
@media only screen and (max-width: 479px) {
    .hidden-xxs {
        display: none !important;
    }
    .visible-xxs {
        display: block;
    }
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
    .hidden-xs {
        display: none !important;
    }
    .visible-xs {
        display: block;
    }
}
@media only screen and (max-width: 767px) {
    .category-202 .main-heading,
    .page-id-12 .main-heading {
        text-align: center;
        margin-top: 15px;
    }
    .category-202 .articles table:not(.not-styles) tr td,
    .category-202 .main-heading h1,
    .category-202 article table:not(.not-styles) tr td,
    .page-id-12 .articles table:not(.not-styles) tr td,
    .page-id-12 .main-heading h1,
    .page-id-12 article table:not(.not-styles) tr td {
        text-align: center;
    }
    .category-202 .articles table:not(.not-styles) tr td:nth-child(2),
    .category-202 article table:not(.not-styles) tr td:nth-child(2),
    .page-id-12 .articles table:not(.not-styles) tr td:nth-child(2),
    .page-id-12 article table:not(.not-styles) tr td:nth-child(2) {
        width: 100%;
    }
    .maincontent .zak {
        margin-top: 20px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .hidden-sm {
        display: none !important;
    }
    .visible-sm {
        display: block;
    }
}
@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .hidden-md {
        display: none !important;
    }
    .visible-md {
        display: block;
    }
}
@media only screen and (min-width: 1200px) {
    .hidden-lg {
        display: none !important;
    }
    .visible-lg {
        display: block;
    }
}
.icon_star-o {
    background-image: url('../../images/sprite-mobile.png');
    background-position: 0 0;
    width: 26px;
    height: 28px;
}

.hidden {
    display: none !important;
}
.menu-top-menu-container {
    font-size: 0;
    line-height: 0;
}
.container {
    width: auto;
    min-width: 200px;
    max-width: 1040px;
    box-sizing: border-box;
}
@media only screen and (max-width: 1199px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    #menu-top-menu li a {
        padding: 0 4px;
    }
}
.top-block + .online-top {
    background: 0 0;
    height: auto;
}
.top-block + .online-top .container {
    top: -60px;
}
.online-top + .mainbg .container,
.online-top + .mainbg .maincontent {
    top: 0;
}
header .phone {
    color: inherit;
}
@media only screen and (max-width: 991px) {
    header .burger {
        width: 40px;
        height: 40px;
        float: left;
        position: relative;
        margin-top: 16px;
        margin-right: 10px;
    }
    header .burger span {
        width: 30px;
        height: 3px;
        -webkit-border-radius: 2px;
        border-radius: 2px;
        background: #00365c;
        position: absolute;
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        -webkit-transition: all 0.3s ease 0s;
        -o-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;
    }
    header .burger span:after,
    header .burger span:before {
        content: "";
        left: 0;
        width: 100%;
        height: 100%;
        -webkit-border-radius: 2px;
        border-radius: 2px;
        background: #00365c;
        position: absolute;
        -webkit-transition: all 0.3s ease 0s;
        -o-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;
    }
    header .burger span:after {
        top: -8px;
    }
    header .burger span:before {
        top: 8px;
    }
    header .burger.open span {
        background: 0 0;
    }
    header .burger.open span:before {
        top: 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    header .burger.open span:after {
        top: 0;
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
    header .logo {
        margin-top: 12px;
    }
    header .ya-search-block {
        margin-left: 10px;
        margin-top: 12px;
    }
    header #ya-site-form0 .ya-site-form__search-input {
        padding: 4px;
    }
    header .top-contact {
        padding: 0 0 0 10px;
        float: right;
        margin-right: 20px;
    }
    header .top-contact ul {
        padding: 0;
    }
}
@media only screen and (max-width: 767px) {
    header .ya-search-block {
        display: none;
    }
    header .burger {
        top: 14px;
        left: 15px;
        position: absolute;
        margin: 0;
    }
    header .logo {
        margin: 0 auto;
        float: none;
    }
    header .logo img {
        margin: 0 auto;
        display: block;
    }
    header .top-contact {
        position: absolute;
        right: 0;
        top: 0;
        padding: 0;
        margin: 0;
        width: 68px;
        height: 68px;
    }
    header .top-contact .phone-mobile {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        text-align: center;
    }
    header .top-contact .phone-mobile .header-phone {
        top: 50%;
        left: 50%;
        position: absolute;
        -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }
    header .top-contact .phone-mobile.open span.close {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
    header .top-contact .phone-mobile span.close {
        position: absolute;
        z-index: 6;
        background: #6194cf;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        -webkit-transition: all 0.3s ease 0s;
        -o-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;
        -webkit-transform: translateY(-100%);
        -ms-transform: translateY(-100%);
        transform: translateY(-100%);
    }
    header .top-contact .phone-mobile span.close:after,
    header .top-contact .phone-mobile span.close:before {
        content: "";
        top: 50%;
        left: 50%;
        position: absolute;
        background: #fff;
        width: 30px;
        height: 3px;
        -webkit-border-radius: 1.5px;
        border-radius: 1.5px;
        -webkit-transform: translate(-50%, -50%) rotate(-45deg);
        -ms-transform: translate(-50%, -50%) rotate(-45deg);
        transform: translate(-50%, -50%) rotate(-45deg);
    }
    header .top-contact .phone-mobile span.close:after {
        -webkit-transform: translate(-50%, -50%) rotate(45deg);
        -ms-transform: translate(-50%, -50%) rotate(45deg);
        transform: translate(-50%, -50%) rotate(45deg);
    }
}
.header-feedback {
    width: 100%;
    height: -webkit-calc(100% - 68px);
    height: calc(100% - 68px);
    position: fixed;
    top: 68px;
    background: #00365c;
    z-index: 1000;
    color: #fff;
    padding: 15px;
    font-family: dincondensedcregular, sans-serif;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    box-sizing: border-box;
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.header-feedback.open {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
}
.header-feedback .title {
    font-size: 30px;
    line-height: 33px;
    margin: 0 0 15px;
}
.header-feedback .seporate {
    text-align: center;
    margin: 8px 0;
}
.header-feedback a {
    color: #fff;
    font-size: 22px;
    line-height: 24px;
}
.header-feedback a.phone {
    font-size: 30px;
    line-height: 33px;
}
body {
    -webkit-text-size-adjust: 100%;
}
.wpcf7-form-control-wrap input[type="text"],
.wpcf7-form-control-wrap input[type="email"],
.wpcf7-form-control-wrap textarea {
    max-width: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
@media only screen and (max-width: 767px) {
    .wpcf7-submit {
        padding-left: 15px;
        padding-right: 15px;
        width: auto;
        margin-left: 20px;
    }
}
@media only screen and (max-width: 991px) {
    .menu-top-menu-container {
        height: auto;
    }
    .menu-top-menu-container ul {
        height: auto !important;
    }
    html body .main-navigation {
        -webkit-transition: all 0.3s ease 0s;
        -o-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;
        -webkit-transform: translate(-100%, 0);
        -ms-transform: translate(-100%, 0);
        transform: translate(-100%, 0);
        position: fixed;
        z-index: 9999999;
        top: 92px;
        width: 100%;
        left: 0;
        height: -webkit-calc(100% - 92px);
        height: calc(100% - 92px);
        overflow-x: hidden;
        overflow-y: scroll;
    }
    html body .main-navigation.open {
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        transform: translate(0, 0);
    }
    html body .main-navigation .container {
        padding-left: 0;
        padding-right: 0;
    }
    html body .main-navigation ul.menu li {
        position: relative;
    }
    html body .main-navigation ul.menu li.menu-item {
        display: block !important;
    }
    html body .main-navigation ul.menu li.menu-item a {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    html body .main-navigation ul.menu li.menu-item .sub-menu {
        visibility: visible;
        opacity: 1;
        position: static;
        display: block;
    }
    html body .main-navigation ul.menu li.menu-item .trigger-submenu {
        position: absolute;
        right: 0;
        top: 0;
        width: 50px;
        height: 50px;
        -webkit-transition: all 0.3s ease 0s;
        -o-transition: all 0.3s ease 0s;
        transition: all 0.3s ease 0s;
    }
    html body .main-navigation ul.menu li.menu-item .trigger-submenu.open {
        -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
    }
    html body .main-navigation ul.menu li.menu-item .trigger-submenu:after {
        content: "";
        position: absolute;
        margin: -15px 0 0 -7px;
        top: 50%;
        left: 50%;
        width: 15px;
        height: 30px;
        background: url(https://resog.ru/wp-content/themes/resog/images/sprite.png) -283px -138px no-repeat;
    }
    html body .main-navigation ul.menu li.menu-item > .sub-menu {
        display: none;
    }
    html body .main-navigation ul.menu li.menu-item > .sub-menu > li > a {
        padding-left: 20px !important;
    }
    html body .main-navigation ul.menu li.menu-item > .sub-menu > li .sub-menu li a {
        padding-left: 25px !important;
    }
}
.draws,
footer {
    overflow: hidden;
}
@media only screen and (max-width: 767px) {
    html body .main-navigation {
        height: -webkit-calc(100% - 68px);
        height: calc(100% - 68px);
        top: 68px;
    }
    html body .main-navigation .bottom {
        background: #fff;
        padding: 15px 15px 55px;
        text-align: center;
    }
    html body .main-navigation .bottom .mail,
    html body .main-navigation .bottom .phone {
        text-decoration: none;
    }
    html body .main-navigation .bottom .mail i,
    html body .main-navigation .bottom .phone i {
        display: inline-block;
        float: none;
        vertical-align: top;
    }
    html body .main-navigation .bottom .mail {
        font-family: Roboto, sans-serif;
        font-size: 14px;
        color: #6194cf;
        right: 10px;
    }
    html body .main-navigation .bottom .phone {
        font-size: 30px;
        color: #00365c;
        font-family: dincondensedcregular, sans-serif;
    }
}
footer {
    height: auto;
}
@media only screen and (max-width: 991px) {
    footer {
        position: relative;
    }
    footer .container .logo {
        width: auto;
    }
    footer .container .footer-contact {
        margin-top: 30px;
        float: right;
        text-align: right;
        width: auto;
    }
    footer .container .copyright {
        position: absolute;
        bottom: 65px;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 0 15px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    footer .container .copyright br {
        display: none;
    }
}
@media only screen and (max-width: 767px) {
    
    footer {
        padding-bottom: 40px;
    }
    footer .container .logo {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    footer .container .logo img {
        display: block;
        float: none;
        margin: 0 auto;
    }
    footer .container .footer-contact {
        float: none;
        margin: 15px 0;
        text-align: center;
    }
    footer .container .copyright {
        font-size: 12px;
        line-height: 15px;
    }
    .top-block h1 {
        width: auto !important;
        font-size: 30px;
    }
    .main-heading h2.post-title {
        text-align: left;
    }
}
aside {
    width: 21.75%;
}
section {
    width: 78.25%;
}
@media only screen and (max-width: 991px) {
    .maincontent {
        padding: 15px;
    }
    .maincontent aside {
        width: 30%;
    }
    .maincontent section {
        width: 70%;
        padding-left: 15px;
    }
    .bbbg {
        margin-top: 0;
    }
}
@media only screen and (max-width: 767px) {
    .maincontent aside {
        width: 100%;
        float: none;
        padding-top: 0;
    }
    .maincontent aside .menu-left-menu-container {
        display: none;
    }
    .maincontent section {
        padding-top: 10px;
        width: 100%;
        float: none;
        padding-left: 0;
    }
    .cat-items .entry-summary p {
        text-align: left;
    }
    .pagebg .menu-left-menu-container {
        display: none;
    }
}
@media only screen and (min-width: 768px) {
    .menu-left-menu-container {
        display: block !important;
    }
}
.icon_check-list {
    background-image: url(/../../images/sprite-mobile.png);
    background-position: -31px 0;
    width: 20px;
    height: 14px;
}
@media only screen and (max-width: 991px) {
    .online-top {
        height: auto !important;
        margin: 0 15px;
    }
    .online-top .container {
        top: auto;
        padding: 20px 15px;
    }
    .online-top .container h4 {
        padding: 0;
        margin: 0 0 25px;
    }
    .online-top .container a.fancybox {
        margin-top: 25px;
    }
}
@media only screen and (max-width: 767px) {
    .online-top h4 {
        font-size: 24px;
        line-height: 27px;
    }
    .online-top a.button-style {
        padding: 0 15px;
        font-size: 16px;
    }
    .article,
    .article.article:nth-child(odd) {
        width: auto;
        overflow: hidden;
        margin: 10px 0;
        display: block;
    }
    .article a {
        width: 100%;
        display: block;
    }
}
@media only screen and (max-width: 991px) {
    .wyget {
        height: auto;
    }
    .wyget h2.title {
        padding-top: 25px;
    }
    .wyget .two {
        position: relative;
    }
    .wyget .two i {
        position: absolute;
        top: 18px;
        left: 15px;
        background-image: url('../../images/sprite-mobile.png');
        background-position: -31px 0;
        width: 20px;
        height: 14px;
    }
    .wyget .two p {
        padding-left: 25px;
    }
    .row {
        margin-left: -15px;
        margin-right: -15px;
    }
}
.baza,
.draws {
    height: auto;
}
@media only screen and (max-width: 991px) {
    .row .two {
        padding: 15px;
    }
}

@media only screen and (max-width: 767px) and (max-width: 767px) {
    .advantages-block .row .two p {
        font-size: 13px;
        line-height: 16px;
    }
}
@media only screen and (max-width: 767px) {
    .row .two {
        width: 100%;
    }
    .advantages-block .row {
        margin: 0 -5px;
    }
    .advantages-block .row .two {
        padding-bottom: 0;
        width: 50%;
        padding-left: 5px;
        padding-right: 5px;
    }
    .advantages-block .row .two p {
        text-align: center;
        display: block;
        height: auto;
    }
    .advantages-block .row .two i {
        display: block;
        float: none;
        float: 0;
        margin: 0 auto 10px;
    }
}
@media only screen and (max-width: 991px) {
    .bottom-wrap {
        display: block;
    }
    .bottom-wrap .three-icons {
        height: auto;
    }
    .bottom-wrap .three-icons .container {
        top: -10px;
        padding: 15px;
        margin: 20px 15px;
    }
    .bottom-wrap .three-icons h6 {
        font-size: 24px;
        line-height: 27px;
    }
}
@media only screen and (max-width: 767px) {
    .bottom-wrap .three-icons {
        padding-top: 10px;
        padding-bottom: 10px;
        -webkit-background-size: cover;
        background-size: cover;
    }
    .bottom-wrap .three-icons .container {
        top: auto;
    }
    .bottom-wrap .three {
        width: 100%;
        padding-top: 15px;
    }
    .bottom-online h4 {
        font-size: 24px;
        line-height: 27px;
    }
    .bottom-online .two.center a {
        padding-left: 15px;
        padding-right: 15px;
    }
}
@media only screen and (max-width: 991px) {
    .bottom-bg {
        display: block;
        width: auto;
        -webkit-background-size: cover;
        height: auto;
        background-size: cover;
    }
    .bottom-online {
        height: auto;
        padding: 15px;
    }
    .bottom-online .container {
        padding: 15px;
        top: auto;
    }
    .bottom-online .container h4 {
        text-align: center;
    }
    .bottom-online .container .row .two {
        width: 100%;
    }
}

.articles .container .half {
        display: flex;
        width: 100%;
    }
@media only screen and (max-width: 991px) {
    .articles .inner {
        margin: 0;
    }
    .articles .container {
        padding: 25px 0;
    }
    .articles .container .half {
        width: auto;
        float: none;
        padding: 15px;
            flex-direction: column;
    }
}
@media only screen and (max-width: 767px) {
    .page-id-2 .articles table tr:nth-child(2) {
        padding-top: 10px;
    }
    .page-id-2 .articles table tr:nth-child(2) td:first-child {
        display: none !important;
    }
    .articles table:not(.not-styles),
    article table:not(.not-styles) {
        display: block;
        width: auto;
    }
    .articles table:not(.not-styles) *,
    article table:not(.not-styles) h3 {
        font-weight: normal;
        margin-top: 10px;
    }
    article table:not(.not-styles) * {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    .articles table:not(.not-styles) th,
    article table:not(.not-styles) th {
        display: none;
    }
    .articles table:not(.not-styles) tbody,
    .articles table:not(.not-styles) td,
    .articles table:not(.not-styles) tr,
    article table:not(.not-styles) tbody,
    article table:not(.not-styles) td,
    article table:not(.not-styles) tr {
        display: block;
    }
    .articles table:not(.not-styles) tr,
    article table:not(.not-styles) tr {
        overflow: hidden;
        border-bottom: 1px solid #bebebe;
    }
    .articles table:not(.not-styles) tr td,
    article table:not(.not-styles) tr td {
        height: auto;
        padding: 0 5px 10px;
        float: left;
        width: 50%;
        min-height: 0;
        border: none;
        text-align: left;
        font-size: 12px !important;
        line-height: 15px !important;
    }
    .articles table:not(.not-styles) tr td p,
    article table:not(.not-styles) tr td p {
        margin: 0;
        text-align: left;
    }
    .articles table:not(.not-styles) tr td:first-child,
    article table:not(.not-styles) tr td:first-child {
        padding: 10px 5px;
        font-weight: 700;
        width: 100%;
        border-bottom: none;
    }
    .articles table:not(.not-styles) tr td:nth-child(2),
    article table:not(.not-styles) tr td:nth-child(2) {
        text-align: left;
    }
    a.zap {
        padding: 0 25px;
        line-height: 40px;
    }
}
.baza,
.btn-menu,
.clients,
.draws .draw,
.draws .draw img,
.textwidget img {
    display: block;
}
.btn-menu {
    background: #6194cf;
    line-height: 40px;
    font-family: pragmaticalightcbold;
    font-size: 18px;
    padding: 0 15px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin: 0;
    text-align: center;
    color: #fff;
}
.clients .half img {
    display: block;
    max-width: 100%;
}
@media only screen and (max-width: 767px) {
    #tabs2 ul li {
        padding-right: 15px;
    }
    .clients .half {
        display: block;
        width: 100%;
        float: none;
    }
    .clients .half img {
        width: 100%;
    }
    .clients .half #sert-scroll .item img {
        display: block;
        margin: 0 auto;
    }
    .clients .half:first-child .item {
        overflow: hidden;
    }
    .clients .half:first-child .item a {
        display: block;
        width: 50%;
        position: relative;
        float: left;
        padding: 2.5px;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }
    .clients .half:first-child .item a img {
        width: 100% !important;
    }
    .baza h4 {
        font-size: 24px;
        line-height: 27px;
    }
    .baza {
        padding-top: 25px;
    }
}
@media only screen and (max-width: 991px) {
    .baza .container {
        width: auto;
    }
}
.draws {
    width: auto;
}
.draws .draw {
    width: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0 5px;
}
.draws .draw img {
    width: 100%;
}
@media only screen and (max-width: 991px) {
    .bottom .container {
        padding: 25px 15px;
    }
}
.bottom .ui-tabs-panel {
    width: auto;
    overflow: visible;
    height: auto;
}
#wpcomm .wc-comment-header,
.textwidget img,
.video-box {
    overflow: hidden;
}
@media only screen and (max-width: 767px) {
    .bottom .ui-tabs-panel {
        margin-left: -5px;
        margin-right: -5px;
    }
    .owl-carousel .work a {
        display: block;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 0 5px;
    }
}
@media only screen and (max-width: 991px) {
    .owl-carousel .work {
        width: auto;
        display: block;
        margin: 0 !important;
    }
    .owl-carousel .work img {
        display: block;
        width: 100%;
    }
}
@media only screen and (max-width: 767px) {
    #tabs ul li {
        padding: 0 15px 15px 0;
    }
    .works #tabs ul li a {
        padding-top: 0;
    }
    #tabs h4 {
        display: block;
        width: auto;
        font-size: 24px;
        line-height: 27px;
        padding: 0;
        float: none;
        margin: 0 0 25px;
    }
    .textwidget img {
        max-width: 100%;
        overflow: hidden;
        margin-left: auto;
        margin-right: auto;
    }
}
.textwidget img {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    width: auto !important;
    height: auto !important;
}
article .wp-caption-text {
    font-style: italic;
}
@media only screen and (max-width: 767px) {
    article img.alignleft {
        margin: 15px auto;
        display: block;
        float: none;
    }
    body.page-id-6 table tbody tr td {
        width: 100%;
    }
    body.page-id-6 table tbody tr td h3 {
        padding: 10px 0 0;
    }
}
.page-id-27 table {
    width: 100% !important;
}
@media only screen and (max-width: 991px) {
    .docs-page h4,
    .example-elektro h4,
    .main-heading h1,
    .main-heading h2.post-title,
    .walls-page h4 {
        font-size: 26px;
        line-height: 29px;
        text-align: left;
    }
    .page-id-27 table:not(.not-styles) tr td,
    .page-id-27 table:not(.not-styles) tr td p,
    .page-id-27 table:not(.not-styles) tr td strong {
        font-size: 12px !important;
        line-height: 15px !important;
    }
    .page-id-27 table:not(.not-styles) {
        width: 100%;
    }
    .page-id-27 table:not(.not-styles) tr td {
        padding: 10px;
        text-align: left;
    }
}
@media only screen and (max-width: 767px) {
    .page-id-27 article table:not(.not-styles) {
        display: block;
    }
    .page-id-27 article table:not(.not-styles) tr {
        overflow: hidden;
        position: relative;
    }
    .page-id-27 article table:not(.not-styles) tr:first-child {
        display: none;
    }
    .page-id-27 article table:not(.not-styles) tr td {
        width: 100%;
        text-align: left !important;
        padding: 5px;
    }
    .page-id-27 article table:not(.not-styles) tr td p {
        margin-bottom: 0;
    }
    .page-id-27 article table:not(.not-styles) tr td:before {
        content: attr(data-title);
        width: 50%;
        float: left;
        text-align: left !important;
    }
    .page-id-27 article table:not(.not-styles) tr td:first-child:before {
        width: 100%;
        color: #00365c;
        font-family: dincondensedcregular, sans-serif;
        font-size: 20px;
        line-height: 23px;
        text-transform: uppercase;
        padding: 0 0 10px;
        font-weight: 400;
        clear: both;
        text-align: left !important;
    }
    .aligncenter,
    img.aligncenter {
        max-width: 100%;
        height: auto !important;
    }
}
@media only screen and (max-width: 991px) {
    html body .callback {
        width: auto !important;
        font-size: 16px;
        line-height: 22px;
        padding: 9px;
        display: inline-block;
        text-align: center;
    }
}
.ngg-template-caption .ngg-gallery-thumbnail-box {
    padding: 0 5px;
}
.ngg-template-caption .ngg-gallery-thumbnail-box img {
    display: block;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
}
.elektrobg table {
    width: 100% !important;
}
@media only screen and (max-width: 767px) {
    .elektrobg table tr:first-child {
        display: none;
    }
}
.wrapper {
    display: block;
}
.example-elektro {
    max-width: 100%;
    width: 100%;
}
.example-elektro .container {
    max-width: 100%;
}
@media only screen and (max-width: 991px) {
    .elektro-bottom {
        display: block;
        max-width: 100%;
        padding: 15px;
        -webkit-background-size: cover;
        background-size: cover;
    }
    .elektro-bottom .container {
        padding: 15px;
        top: auto;
    }
    .elektro-bottom .container h5 {
        font-size: 24px;
        line-height: 27px;
    }
    .elektro-bottom .container h5 + .callback {
        margin-top: 15px;
    }
    .example-elektro {
        padding-bottom: 45px;
    }
}
@media only screen and (max-width: 767px) {
    .example-elektro {
        padding-bottom: 30px;
    }
}
@media only screen and (max-width: 991px) {
    .example-elektro .row .two {
        width: 100%;
        padding: 15px !important;
    }
    .rlbg .cat.container {
        margin-left: 15px;
        margin-right: 15px;
    }
}
.rlbg .cat.container aside {
    width: 21.75%;
}
@media only screen and (max-width: 991px) {
    .rlbg .cat.container aside {
        width: 30%;
    }
}
@media only screen and (max-width: 767px) {
    .rlbg .cat.container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .rlbg .cat.container aside {
        width: 100%;
        float: none;
        padding-top: 0;
    }
}
.rlbg .cat.container .cat-main {
    width: 78.25%;
}
@media only screen and (max-width: 991px) {
    .rlbg .cat.container .cat-main {
        width: 70%;
        padding-left: 15px;
    }
    .docs-page a,
    .walls-page a {
        font-size: 12px;
        line-height: 15px;
    }
}
@media only screen and (max-width: 767px) {
    .rlbg .cat.container .cat-main {
        width: 100%;
        float: none;
        padding-top: 10px;
        padding-left: 0;
    }
    .walls-page .four {
        width: 50%;
    }
}
.walls-page .four img {
    width: 100% !important;
    height: auto !important;
	/*fix*/
	aspect-ratio: 1;
	object-fit: cover;
}
.walls-page .row {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}
@media only screen and (max-width: 767px) {
    .nashi-rekomendacii {
        table-layout: fixed;
    }
    .nashi-rekomendacii > div div img {
        width: 80%;
        margin: 0 10% !important;
        height: auto !important;
    }
    .cat-main h1 {
        font-size: 26px;
        line-height: 29px;
    }
}
.info-nav {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}
.info-nav > div {
    width: 33.33333% !important;
    float: left;
}
@media only screen and (max-width: 767px) {
    .info-nav > div {
        width: 50% !important;
    }
    .info-nav > div h3 {
        padding-bottom: 25px;
        padding-top: 0px !important
    }
}
.info-nav > div img {
    width: 53% !important;
    margin: 0 auto;
    height: auto !important;
}
.aligncenter,
.aligncenter img,
img.aligncenter,
img.aligncenter img {
    max-width: 100%;
    display: block;
    height: auto !important;
}
#wpcomm .wc-comment .wc-comment-left {
    padding: 0 5px;
}
#wpcomm .wc-comment .wc-comment-left img {
    max-width: 100%;
    height: auto !important;
}
@media only screen and (max-width: 767px) {
    .info-nav > div img {
        width: 80% !important;
    }
    article .alignleft,
    article .alignright {
        width: auto !important;
        margin: 15px auto;
        float: none;
    }
    article .alignleft img,
    article .alignright img {
        display: block;
        margin: 0 auto;
        max-width: 100%;
        height: auto !important;
    }
    #wpcomm .wc-reply {
        margin-left: 10px !important;
    }
}
@media only screen and (max-width: 419px) {
    #wpcomm .wc-comment .wc-comment-left .avatar {
        margin: 4px 5px 0 0 !important;
    }
    #wpcomm .wc-blog-post_author .wc-comment-right {
        border: none !important;
        padding-top: 0 !important;
    }
}
.g-recaptcha {
    margin-bottom: 10px;
}
@media only screen and (max-width: 767px) {
    .useful-addresses {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-flow: row wrap;
        -ms-flex-flow: row wrap;
        flex-flow: row wrap;
    }
    .useful-addresses > div {
        width: 50% !important;
    }
    .useful-addresses > div img {
        width: 80% !important;
        display: block;
        margin: 0 auto;
        height: auto !important;
    }
}
@media only screen and (min-width: 768px) {
    .contacts-social-links {
        white-space: nowrap;
    }
    .contacts-social-links p {
        display: inline-block;
        vertical-align: top;
        margin: 0 !important;
        width: auto !important;
    }
    .contacts-social-links p + p {
        margin: 0 0 0 5px !important;
    }
}
.wpcf7-form-control-wrap select {
    max-width: 100%;
}
@media only screen and (max-width: 767px) {
    .contacts-social-links {
        width: 100%;
        display: block;
    }
    .contacts-social-links p {
        display: block;
        margin: 10px 0 0 !important;
        width: auto !important;
    }
    .contacts-social-links p img {
        margin: 0 10px 0 0 !important;
    }
    .how-reach,
    .how-reach > div {
        display: block;
    }
    .how-reach > div > div {
        display: block;
        width: 100% !important;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 0 0 15px !important;
    }
    .how-reach > div > div img {
        margin: 10px 0;
        width: 100% !important;
        height: auto !important;
    }
    .entrance-travel,
    .entrance-travel > div {
        display: block;
    }
    .entrance-travel > div > div {
        display: block;
        width: 100% !important;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 0 !important;
    }
    .entrance-travel > div > div img {
        margin: 10px 0;
        width: 100% !important;
        height: auto !important;
    }
    .page-id-29 article table:not(.not-styles) tr:first-child td {
        display: none;
    }
    .page-id-29 article table:not(.not-styles) tr:first-child td:first-child {
        display: block;
    }
    .page-id-29 article table:not(.not-styles) tr td:nth-child(2) {
        width: 31%;
    }
    .page-id-29 article table:not(.not-styles) tr td:nth-child(3) {
        width: 69%;
    }
}
.video-box {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    margin: 0 0 13px;
}
.video-box iframe,
.video-box object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.five {
    text-align: center;
}
.page-id-10047 .row,
.page-id-10060 .row {
    display: flex;
    flex-flow: row wrap;
}
.five img {
    display: block;
    height: 95px !important;
    width: auto !important;
    margin: 0 auto 5px;
}
.page-id-10047 .five img {
    height: 200px !important;
}
@media (max-width: 1200px) {
    .five {
        width: 25%;
    }
}
@media only screen and (max-width: 991px) {
    .five {
        width: 33.3333%;
    }
}
@media only screen and (max-width: 767px) {
    .five {
        width: 50%;
    }
    .also_read {
        flex-wrap: wrap;
    }
    .also_read div {
        max-width: 50%;
    }
}
@media only screen and (max-width: 479px) {
    .five {
        width: 100%;
    }
    .fancybox-inner {
        height: auto !important;
    }
}
@media only screen and (max-width: 515px) {
    .comment-form-txt-div,
    .comment-form-textarea-div {
        width: calc(100% - 70px);
        border-right: 1px solid black;
    }
    .comment-form-txt-div input,
    .comment-form-textarea-div textarea {
        width: calc(100% - 30px);
        max-width: calc(100% - 30px);
    }
    .comment-form-textarea-div textarea {
        width: calc(100% - 104px);
        max-width: calc(100% - 104px);
    }
    #commentform .g-recaptcha {
        margin-left: auto;
    }
    .submit-block {
        width: 100%;
    }
    .comment-list {
        width: 100%;
    }
    #commentform .g-recptcha {
        margin-left: auto;
        max-width: unset;
        text-align: right;
    }
    #commentform .g-recptcha > div {
        margin-left: auto;
    }
}
