.h2 a {
    color: #000
}

.h2 a:hover {
    text-decoration: none
}

#reviews {
    /* margin: 0 0 25px; */
    margin: 0 0 0px;
}

.filter {
    width: 50%;
    float: left
}

.filter-block:after {
    content: '';
    display: block;
    clear: both
}

.small-menu {
    display: none
}

.large-menu {
    display: inline
}

.content p {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 22px
}

.main-page-image {
    float: left;
    clear: both;
    margin: 5px 10px 10px 0;
    width: 30%;
}

.main-page-image-ext__container {
    float: left;
    clear: both;
    margin: 10px -2px;
    word-spacing: -.25em;
    margin: 5px 10px 10px 0;
    width: 30%;
}
.main-page-image-ext__col {
    width: 100%;
    display: inline-block;
    vertical-align: top;
    padding: 0 2px;
    word-spacing: normal;
    margin-bottom: 5px;
}
.main-page-image-ext__a {
    display: block;
    color: #484848;
    font-size: 16px;
    line-height: 22px;
    height: 100%;
}
.main-page-image-ext__a:hover,
.main-page-image-ext__a:active,
.main-page-image-ext__a:focus
{
    text-decoration: none;
    color: #484848;
}
.main-page-image-ext__image {
    display: block;
}
.main-page-image-ext__img {
    width: 100%;
}
.main-page-image-ext__info {
    display: block;
    padding: 7px 5px;
    font-size: 14px;
    line-height: 1.2;
    padding-left: 5px;
}

@media (max-width: 768px) {
    .main-page-image {
        width: 50%;
    }
    .main-page-image-ext__container {
        width: 50%;
    }
}


main p {
    font-size: 16px;
    line-height: 22px
}

main .map {
    height: 300px;
    margin-bottom: 20px
}

.li-last-none li:last-child,
.pagination li:before {
    /* display: none */
}

.pagination li a {
    border-radius: 50%!important;
    background: #fff;
    color: #164c91;
    box-shadow: 0 0 0 2px #164c91
}

.pagination .active a,
main ol li:before {
    background: #164c91
}

.pagination>li {
    display: inline-block;
    padding: 0 5px
}

main ol {
    padding: 0;
    list-style: none;
    counter-reset: myCounter
}

main ol li {
    position: relative;
    padding: 0 0 10px 20px;
    counter-increment: myCounter;
    font-size: 16px;
    line-height: 22px;
}

main ol li:before {
    position: absolute;
    content: counter(myCounter);
    color: #fff;
    text-align: center;
    line-height: 14px;
    left: 0;
    top: 3px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 500
}

.col-list:after,
.filter-block a:before,
.note:after {
    content: ''
}

.table-price2.table-block .t-price .tab-in>div,
.table-price3.table-block .t-price .tab-in>div {
    text-align: center!important
}

.top.inner-top .block-bottom {
    padding: 235px 20px 10px
}

textarea::-webkit-input-placeholder {
    color: #ccc
}

textarea::-ms-input-placeholder {
    color: #ccc
}

textarea::placeholder {
    color: #ccc
}

iframe {
    width: 100%;
    display: block
}

.media {
    margin-top: 15px
}

.media-body,
.media-left,
.media-right {
    display: table-cell;
    vertical-align: top
}

.media-left,
.media>.pull-left {
    padding-right: 10px
}

.media-object {
    display: block;
    min-width: 90px
}

.media,
.media-body {
    zoom: 1;
    overflow: hidden
}

.note {
    font-weight: 500;
    display: table;
    margin: 15px auto 0;
    padding: 7px 15px;
    border: 2px solid #1f68b5
}

.note:empty {
    color: #ed2124;
    font-weight: 700;
    display: none;
    margin: 0;
    padding: 0;
    border: 0
}

.table-price2.table-block .btn,
.table-price3.table-block .btn {
    margin-top: 10px
}

.note:after {
    display: block;
    clear: both
}

.balkon-stal {
    display: none
}

.table-price2.table-block .tab-in>div,
.table-price3.table-block .tab-in>div {
    display: block
}

.col-list:after {
    display: block;
    clear: both
}

.list1 {
    float: left;
    width: 66.67%
}

.list1 div {
    float: left;
    width: 50%;
    padding-right: 20px
}

.list1 div:first-child {
    float: right
}

.list2 {
    float: left;
    width: 33.33%
}

.table-price3.table-block .th {
    padding: 15px
}

.table-price3.table-block .tr>div {
    padding: 10px 5px
}

.table-price3.table-block .t-price {
    width: 203px
}

.table-price3.table-block .th.t-price {
    width: 204px
}

.table-price2.table-block .th {
    padding: 15px
}

.table-price2.table-block .tr>div {
    padding: 10px 5px
}

.table-price2.table-block .t-price {
    width: 203px
}

.table-price2.table-block .th.t-price {
    width: 204px
}
.table-price2.table-block .th.t-price.double {
    width: 409px
}

@media (max-width:1300px) {
    .table-price2.table-block .t-price,
    .table-price2.table-block .th.t-price {
        width: 135px
    }
    .table-price2.table-block .th.t-price:last-child {
        width: 137px
    }
    .table-price2.table-block .th.t-price.double:last-child {
        width: 273px
    }
    .table-block .th {
        font-size: .9rem
    }
}

.table-price2.table-block .tr:hover .btn-orange,
.table-price3.table-block .tr:hover .btn-orange {
    background: #fb7400;
    border-bottom: 3px solid #ca5d00;
    text-shadow: 0 1px 0 #ca5d00
}

.table-price2.table-block .btn-orange:hover,
.table-price3.table-block .btn-orange:hover {
    background: #1f68b5!important;
    border-bottom: 3px solid #103b7b!important;
    text-shadow: 0 1px 0 #103b7b!important
}

.i418 {
    display: none
}

nav .main-menu .ul-down a:after {
    right: 10px;
    margin-top: 2px;
    margin-left: 10px;
    top: 22px
}

nav .main-menu {
    padding: 0;
    text-align: center;
    table-layout: fixed;
}

nav .main-menu li:nth-child(1), nav .main-menu li:nth-child(4) {
    width: 29%;
}
nav .main-menu li:nth-child(2), nav .main-menu li:nth-child(3) {
    width: 21%;
}

nav .main-menu a {
    padding: 17px 0 17px 0;
    text-align: center
}

.block-btn div {
    line-height: 55px;
    vertical-align: top;
    padding: 0
}

.info-block .btn-photo {
    margin-top: 70px;
    width: 100%
}

.photo-block .col-2:first-child {
    width: 35%;
    padding-right: 10px
}

.photo-block .col-2.info-block {
    padding-right: 35px;
    padding-left: 10px;
    padding-top: 0;
    width: 65%
}

.photo-block .info-block .btn-photo {
    margin-top: 80px
}

.filter-block ul {
    list-style: none;
    padding: 0 0 15px
}

.filter-block a {
    position: relative;
    display: block;
    padding: 5px 0 5px 25px;
    line-height: 1
}

.filter-block a:before {
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 19px;
    background: url(../img/check.png)
}

.filter-block .active a:before,
.filter-block a:active:before {
    background: url(../img/check.png) -22px 0
}

.filter-block a:hover {
    color: #fb7400
}

.filter-block .title {
    font-size: 16px;
    line-height: 1.1;
    font-weight: 500;
    color: #0f4d8d;
    text-transform: uppercase;
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 5px
}

.mobile-filter {
    position: absolute;
    right: 0;
    top: 0;
    padding: 5px 17px 4px;
    width: 300px;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    background: -webkit-linear-gradient(bottom, #103b7b, #1f68b5);
    background: -o-linear-gradient(bottom, #103b7b, #1f68b5);
    background: -ms-linear-gradient(bottom, #103b7b, #1f68b5);
    background: -moz-linear-gradient(bottom, #103b7b, #1f68b5);
    background: linear-gradient(bottom, #103b7b, #1f68b5)
}

.mobile-filter:focus,
.mobile-filter:hover {
    color: #fff;
    text-decoration: none
}
.near-mobile-filter {
    padding-right: 310px;
}

.main {
    position: relative
}

.btn-blue-border {
    line-height: 1;
    font-size: 13px;
    background: rgba(20, 70, 137, .6);
    border: 3px solid #fff;
    padding: 6px 18px 7px;
    display: inline-block;
    color: #fff;
    border-radius: 8px;
    letter-spacing: .25px;
    text-align: center
}

.btn-orange-small:focus,
.btn-orange-small:hover {
    color: #fff;
    text-decoration: none
}

.menu-index ul {
    width: 290px
}

@media screen and (max-width:1300px) {
    .photo-block .info-block .btn-photo {
        margin-top: 27px
    }
    .photo-block .col-2.info-block {
        padding-right: 5px
    }
    .table-block .tr>div {
        padding: 10px
    }
}

@media screen and (min-width:1300px) {
    nav .main-menu a {
        font-size: 1.58571429rem;
        position: relative;
        padding: 17px 0 17px 0;
    }
}

@media screen and (min-width:1040px) {
    .top .block-bottom {
        padding-top: 35px;
        padding-bottom: 35px
    }
    .info-block .btn-photo {
        margin-top: 45px
    }
}

@media screen and (max-width:1300px) {
    .table-block .th {
        padding: 5px!important
    }
    .table-price3.table-block .th,
    .table-price3.table-block .th p {
        font-size: .9rem;
        line-height: 1rem
    }
    .table-price3.table-block .th.t-price {
        width: 143px
    }
    .table-price3.table-block .t-price {
        width: 142px
    }
    nav .main-menu__child a {
        font-size: 2rem;
        white-space: normal;
    }
}

@media screen and (max-width:1040px) {
    .wrap {
        margin-top: 7px
    }
    .gal-block,
    .gal-block-inner {
        margin: 7px -2px
    }
    nav .main-menu a {
        font-size: 1rem;
        padding: 17px 5px;
        white-space: normal
    }
    nav .main-menu__child a {
        font-size: 1.4rem;
    }
    .top.inner-top .block-bottom {
        padding: 20% 70px 10px
    }
    nav .main-menu .ul-down a {
        padding: 5px
    }
    nav .main-menu .ul-down a:after {
        position: static
    }
    #menu-company:after {
        margin: -4px 0 0 14% !important;
    }
    .top {
        background-position: center -15px;
        background-size: cover;
        background-repeat: no-repeat
    }
    .btn-bord-orange {
        font-size: 1.08571429rem
    }
    .top .block-bottom .zamer {
        padding: 5px 10px 5px 50px
    }
    nav.backg {
        /* margin-bottom: -25px; */
        margin-bottom: 0px;
        position: relative;
        z-index: 100
    }
    .block-btn div {
        font-size: 1.1rem
    }
    .block-btn a {
        float: right;
        margin: 2px auto
    }
    .info-block .btn-photo {
        margin-top: 10px
    }
    .photo-block .info-block {
        padding-top: 80px
    }
    .i405 {
        display: none
    }
    .balkon-stal,
    .btn-bl:after,
    header .call {
        display: block
    }
    footer .col-block .col-3:last-child ul {
        padding-bottom: 0
    }
    .list1 div {
        width: 100%;
        float: none!important
    }
    .list1,
    .list2 {
        width: 50%
    }
    .list1 div:first-child ul {
        padding: 0
    }
    .col-4 {
        padding: 0 5px
    }
    main .content-img-block {
        margin: 15px -5px
    }
    h1 {
        font-size: 2rem;
        margin: 0 0 7px
    }
    .h2,
    h2 {
        font-size: 1.8rem!important;
        margin: 0 0 5px
    }
    header .logo {
        width: 222px;
        padding: 0
    }
    header .call {
        position: absolute;
        left: 175px;
        top: 10px;
        padding: 6px 10px 6px 75px;
        max-width: 200px
    }
    /*
    header .call {
        position: absolute;
        left: 17px;
        top: 65px;
        padding: 3px 10px 3px 50px;
        max-width: 240px
    }
    */
    header {
        padding: 10px 0
    }
    header .addr div {
        margin-bottom: 8px
    }
    header .addr {
        text-align: right
    }
    nav .main-menu .ul-down.active a:after {
        background: url(../img/sprite.png) -245px 0
    }
    .sub-menu {
        top: 100%;
    }
    .sub-menu .btn-bl {
        padding-top: 20px;
        margin-left: -15px;
        margin-right: -15px
    }
    .btn-bl div {
        float: left
    }
    .btn-bl:after {
        content: '';
        clear: both
    }
    .photo-block .info-block .btn-photo {
        margin-top: 40px
    }
    .h3,
    h3 {
        font-size: 1.5rem
    }
}

@media screen and (min-width:767px) and (max-width:1040px) {
    header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    header .container::before,
    header .container::after {
        content: unset;
    }
    header .logo-container {
        margin-bottom: 0;
        /* margin-bottom: 40px; */
    }
    header .logo-container .logo-yandex-container {
        display: none;
    }
    header .logo-container .logo-img-container {
        display: flex;
        flex-direction: column;
        width: 200px;
        margin: 0;
    }
    header .logo-container .logo-img-container::after {
        content: 'c 2010 года';
        color: #1e66b3;
        font-weight: 700;
        font-size: 18px;
    }
    header .btns {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: auto;
        order: 3;
        /* position: absolute;
        top: 70px;
        left: 50%;
        transform: translateX(-50%); */
    }
    header .btns .call {
        position: relative;
        top: unset;
        left: unset;
        right: unset;
        margin-top: 0;
        padding: 3px 7px;
        width: 200px;
        text-align: center;
        text-transform: none;
        background: #ff8100;
        font-size: 14px;
        line-height: 2.2;
        box-shadow: unset;
        text-shadow: unset;
        border: none;
    }
    header .btns .call::after {
        content: unset;
    }
    header .btns .whatsapp {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 10px;
        padding: 3px 7px;
        width: 200px;
        /* max-width: 157px; */
        background: #1dc04b;
        text-transform: none;
        text-align: center;
        font-size: 14px;
        line-height: 2.2;
        box-shadow: unset;
        text-shadow: unset;
        white-space: nowrap;
    }
    header .btns .whatsapp svg {
        margin-right: 5px;
        width: 18px;
        height: 18px;
    }

    header .phone {
        position: relative;
        top: unset;
        left: unset;
        margin-left: -10px;
        padding: 0;
        order: 1;
        text-align: left;
        color: #1e66b3;
    }
    header .phone a,
    header .phone a span {
        font-size: 2vw;
    }
    header .phone .pad-view {
        font-size: 2vw;
    }
    header .time {
        font-size: 1.3vw;
    }
    header .mail {
        font-size: 2vw;
    }
    header .addr {
        order: 2;
    }

    header .addr .mh,
    header .addr div,
    header .addr div::before {
        display: none;
    }

    header .addr div .pad-view.logo-yandex-container,
    .pad-view {
        display: block !important;
    }

    header .addr .pad-view.logo-yandex-container {
        margin: 0;
        margin-top: 5px;
    }
}

@media screen and (max-width:1040px) {
    header .logo-container {
        margin-bottom: 0;
    }
    .modal-dialog {
        padding: 10px
    }
    .photo-block .info-block {
        padding-top: 20px
    }
    .photo-block .btn-photo {
        font-size: 1rem
    }
    .photo-block .info-block .btn-photo {
        margin-top: 5px
    }
}

@media screen and (max-width:991px) {
    .photo-block .info-block .btn-photo {
        margin-top: 20px
    }
    .main-menu__child a {
        font-size: 1rem !important;
        padding: 10px 15px !important;
    }
    nav .main-menu__child a {
        font-size: 1.4rem !important;
    }
}

@media screen and (max-width:850px) {
    .photo-block .info-block .btn-photo {
        margin-top: 0
    }
    .photo-block p {
        margin-bottom: 15px
    }
    header .call {
        position: absolute;
        left: 17px;
        top: 65px;
        padding: 3px 10px 3px 50px;
        max-width: 240px
    }
    header .call:after {
        width: 21px;
        height: 22px;
        left: 16px;
        top: 2px;
        background-size: 190px;
        background-position: -9px 0
    }
}

@media screen and (max-width:830px) {
    .block-btn a {
        float: none;
        margin: 5px auto
    }
    .block-btn div {
        font-size: 1.4rem;
        line-height: 1.45rem;
        margin: 10px 0
    }
}

@media screen and (max-width:800px) {
    .table-block .th,
    main .content-img-block .title {
        line-height: 1rem
    }
    #filter .modal-content {
        min-height: 100%
    }
    #filter .modal-dialog {
        width: 100%
    }
    .menu-index {
        display: -webkit-flex;
        display: -ms-flex;
        display: flex;
        -webkit-justify-content: space-between;
        -ms-justify-content: space-between;
        justify-content: space-between;
        padding: 25px 20px 40px;
        margin-left: -20px;
        margin-right: -20px
    }
    .menu-index:after {
        display: none
    }
    .menu-index ul,
    .menu-index ul:first-child {
        width: 48%;
        margin-right: 0
    }
    .menu-index a {
        display: -webkit-flex;
        display: -ms-flex;
        display: flex;
        -webkit-align-items: center;
        -ms-align-items: center;
        align-items: center
    }
    .menu-index:before {
        left: 0;
        right: 0;
        width: auto;
        -webkit-transform: skew(0);
        -ms-transform: skew(0);
        transform: skew(0);
        border-right: 0
    }
    nav.backg {
        margin-bottom: 0
    }
    main .content-img-block .text {
        height: 34px;
        overflow: hidden
    }
    main .content-img-block .info:after {
        content: 'Показать полностью';
        bottom: 8px;
        margin-top: 2px;
        font-weight: 500;
        color: #0f4d8d;
        text-decoration: underline
    }
    main .content-img-block .text-full .text {
        height: 100%
    }
    main .content-img-block .text-full.info:after {
        content: 'Скрыть'
    }
    .gal-block-inner .text {
        height: 38px;
        overflow: hidden
    }
    .gal-block-inner .info:after {
        content: 'Показать полностью';
        font-weight: 500;
        color: #0f4d8d;
        text-decoration: underline
    }
    .gal-block-inner .text-full .text {
        height: 100%
    }
    .gal-block-inner .text-full.info:after {
        content: 'Скрыть'
    }
    main .content-img-block .info {
        padding: 7px 0 5px
    }
    .table-block .th {
        font-size: .85rem
    }
    nav .main-menu li.active {
        background: -webkit-linear-gradient(top, #fb7400, #ca5d00);
        background: -o-linear-gradient(top, #fb7400, #ca5d00);
        background: -ms-linear-gradient(top, #fb7400, #ca5d00);
        background: -moz-linear-gradient(top, #fb7400, #ca5d00)
    }
}

@media screen and (max-width:750px) {
    .top.inner-top .block-bottom {
        padding: 20% 20px 10px
    }
    .top .block-bottom .zamer {
        padding: 6px 10px 6px 50px;
        border-width: 1px
    }
    .top .block-bottom div {
        font-size: 1.4rem
    }
    .ftTop:after {
        content: '';
        display: block;
        clear: both
    }
    .ftTop>div {
        float: left;
        width: 50%
    }
    footer .col1 {
        width: 100%
    }
}

@media screen and (max-width:710px) {
    header .btns .whatsapp {
        font-size: 14px;
    }
    nav .main-menu a#menu-company:before {
        content: '';
        display: inline-block;
        vertical-align: middle;
        margin: 0 0 0 -23px;
        width: 15px;
        height: 10px;
        position: absolute;
        top: 13px;
        right: auto;
        border-top: 7px double #fff;
        box-shadow: 0 2px 0 0 #fff;
    }
    .sub-menu {
        top: 100%;
    }
    .sub-menu h2 {
        padding: 7px 0 6px;
        margin-bottom: 10px;
        font-size: 1.3rem!important
    }
    .sub-menu .col-2:last-child {
        margin: 0
    }
    .sub-menu>.col-block:after {
        width: calc(100% - 10px);
        margin-left: 5px
    }
    .sub-menu .btn-bl {
        padding-top: 10px
    }
    .sub-menu .btn-bl a {
        font-size: 1rem;
        padding: 6px 15px;
        line-height: 1;
        text-align: center
    }
    .btn-bl div {
        width: 100%;
        margin-bottom: 10px;
        float: none
    }
    .sub-menu.sub-menu2 .btn-bl div:first-child {
        width: 100%;
        margin-bottom: 10px;
        float: none
    }
    .sub-menu.sub-menu2 .btn-bl div:last-child {
        width: 100%;
        margin-bottom: 10px;
        float: none
    }
    nav .main-menu li {
        width: 1%
    }
    nav .main-menu li:nth-child(1) {
        width: 24%;
    }
    nav .main-menu li:nth-child(2) {
        width: 16%;
    }
    nav .main-menu li:nth-child(3) {
        width: 18%;
    }
    nav .main-menu li:nth-child(4) {
        width: 36%;
    }
    nav .main-menu a {
        padding: 5px;
        line-height: 1
    }
    nav .main-menu__child a {
        font-size: 1.2rem !important;
    }
    .large-menu {
        display: none
    }
    .small-menu {
        display: inline-block
    }
    nav .main-menu .ul-down a {
        padding: 5px 24px 0 24px;
        display: inline-block
    }
    nav .main-menu .ul-down a:after {
        position: absolute;
        top: 50% !important;
        transform: translateY(-50%);
        right: 5%;
        margin: 1px 0 0 0;
    }
    nav .main-menu .ul-down a:before {
        content: '';
        position: absolute;
        left: 5%;
        top: 50% !important;
        transform: translateY(-50%);
        width: 15px;
        height: 10px;
        border-top: 7px double #fff;
        box-shadow: 0 2px 0 0 #fff
    }
    header .logo {
        width: 175px
    }
    header .call {
        width: 180px;
        font-size: 14px;
        padding: 3px 5px 2px 35px;
        top: 65px;
        left: 8px
    }
    header .call:after {
        left: 9px;
        top: 1px
    }
    header .addr div {
        margin-bottom: 4px
    }
    .categories .cat {
        padding: 0;
        margin-bottom: -1px
    }
    .categories a {
        border-radius: 0
    }
    .photo-block {
        padding: 30px 0 65px;
        position: relative
    }
    .photo-block .btn-photo {
        position: absolute;
        left: 20px;
        right: 20px;
        width: auto;
        bottom: 20px
    }
    header .addr div:before {
        display: none
    }
    header .addr {
        font-size: .96rem
    }
    .container,
    header .container {
        padding: 0 10px
    }
    .filter-block .title {
        font-size: 13px
    }
    .filter-block a {
        font-size: 13px;
        padding: 1px 5px 4px 22px;
        display: table-cell;
        vertical-align: middle;
        height: 22px
    }
    .filter-block a:before {
        top: -2px
    }
    header .phone a {
        line-height: 1
    }
    .menu-index {
        padding: 25px 10px 40px;
        margin-left: -10px;
        margin-right: -10px
    }
}

@media screen and (max-width:670px) {
    .sub-menu .btn-bl a:before {
        display: inline-block
    }
    .table-block .tr>div.t-price {
        padding: 5px
    }
    .table-block .price span {
        font-size: 1.2rem
    }
    .table-block .btn {
        padding: 3px 5px 0;
        margin: 0;
        font-size: .9rem
    }
    .table-block.table-block-new2 .btn {
        width: 100px;
    }
    .table-price3.table-block .th.t-price {
        font-size: .7rem;
        padding: 2px!important
    }
    .top .block-bottom div {
        font-size: 1.1rem;
        line-height: 2.8rem
    }
    .top .btn-bord-orange:after {
        display: none
    }
    .top .block-bottom .zamer {
        padding: 3px 10px;
        font-size: 1rem
    }
    .mobile-filter {
        width: 180px;
        padding: 5px 4px 4px
    }
    .near-mobile-filter {
        padding-right: 190px;
    }
}

@media screen and (max-width:620px) {
    .menu-index a,
    .menu-index ul:last-child a {
        padding-right: 10px
    }
    .menu-index a {
        position: relative;
        padding-left: 17px;
        height: 37px;
        font-size: .9rem;
        line-height: .9rem
    }
    .menu-index {
        padding: 20px 10px 25px
    }
}

@media screen and (max-width:580px) {
    .list1,
    .list2 {
        width: 100%;
        float: none;
        padding-bottom: 15px
    }
    .list1 .dop-ul {
        display: none
    }
    .col-list>.dop-ul,
    .table-block .tbody {
        display: block
    }
    .table-block .thead,
    .table-block .tr {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex
    }
    .sub-menu .btn-bl a:before,
    .tab-in .name img,
    footer .contacts br {
        display: none
    }
    .table-block .t-price,
    .table-block .th.t-price {
        width: 100px!important;
        -ms-flex-negative: 0;
        flex-shrink: 0;
        overflow: auto
    }
    .table-block .th.t-price:last-child {
        width: 103px!important
    }
    .table-block .th.t-price.double:last-child {
        width: 203px!important
    }
    .table-block .th:first-child,
    .table-block .tr>div:first-child {
        width: 100%;
        overflow: auto
    }
    .categories .cat {
        padding: 0;
        margin-bottom: -1px
    }
    .categories a {
        border-radius: 0
    }
    .ftTop>div {
        float: none;
        width: 100%
    }
    .top .block-bottom div {
        line-height: 24px;
        font-size: .9rem
    }
    .top .block-bottom .zamer {
        padding: 2px 7px;
        font-size: .8rem
    }
    .photo-block .col-2.info-block,
    .photo-block .col-2:first-child {
        width: 100%;
        float: none;
        padding: 5px
    }
    .photo-block p {
        margin-bottom: 0
    }
    footer .copyright .studio {
        position: relative;
        float: none;
        right: 0;
        margin: 15px auto 0
    }
    header .logo {
        width: 100%;
        text-align: center
    }
    header .call {
        width: 85px;
        text-align: center;
        font-size: 12px;
        line-height: 1.3;
        padding: 5px;
        top: 63px;
        /* margin-left: -50px; */
        left: 50%
    }
    header .time {
        font-size: .75rem
    }
    header .time span {
        /* font-size: 1rem */
        font-size: 3.3vw;
    }
    header .phone a span,
    nav .main-menu a {
        font-size: 1rem;
    }
    header .phone {
        top: 0;
        position: relative;
        left: 0;
        margin-left: 0;
        padding: 0
    }
    .sub-menu .btn-bl a {
        min-height: 100%
    }
    nav .main-menu .ul-down a {
        width: 80px
    }
    nav .main-menu .ul-down a:before {
        top: 9px
    }
    nav .main-menu .ul-down a:after {
        top: 8px
    }
    .sub-menu {
        top: 100%;
    }
    nav .main-menu a#menu-company:before {
        top: 11px;
    }

    .table-block.table-block-new2 .btn {
        width: 84px;
    }
}

header .whatsapp,
footer #vk_contact_us .whatsapp {
    display: none;
}

@media screen and (min-width: 711px) and (max-width:767px) {
    header .addr .mail {
        left: 20px !important;
    }
}
@media screen and (min-width: 501px) and (max-width:767px) {
    header .addr > div {
        font-size: 24px !important;
    }
    header .addr .mail {
        font-size: 18px !important;
    }
    header .phone a,
    header .phone a span {
        font-size: 21px !important;
    }
    header .phone .time {
        font-size: 16px !important;
    }
    header .phone {
        margin-left: 0;
        margin-top: 10px !important;
        text-align: left;
    }
    header .addr div:before {
        content: unset;
    }
}
@media screen and (max-width:767px) {
    .top .block-bottom div {
        font-size: .91rem;
        padding-top: 3px
    }
    .sub-menu ul a {
        padding: 0;
        margin-bottom: 10px;
        font-size: 14px
    }
    header .container {
        display: flex;
        flex-wrap: wrap;
    }
    header .logo-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: calc((100% - 15%) / 2);
    }
    header .logo-container .logo-yandex-container {
        display: flex;
        justify-content: center;
        /*margin: 0 auto;*/
    }
    header .logo-container .logo-img-container {
        display: inline-block;
        margin-left: 0;
        order: -1;
    }
    header .logo-container .logo-img-container .logo__img {
        /* height: 45px; */
        height: auto;
        width: 100%;
        object-fit: contain;
    }
    header .addr {
        margin-top: auto;
        margin-left: auto;
        padding-top: 20px;
        width: 100%;
        max-width: calc((100% - 15%) / 2);
    }
    header .addr > div {
        margin-bottom: 0;
        position: absolute;
        right: 10px;
        bottom: 37px;
        color: #1e66b3;
        /* font-size: 12.7px; */
        font-size: 4.8vw;
    }
    header .addr > div .mh {
        display: none;
    }

    header .addr .mail {
        position: absolute;
        bottom: 12px;
        left: 10px;
        /* font-size: 12.7px; */
        font-size: 3.95vw;
    }
    header .phone {
        clear: left;
        margin: 0;
        margin-top: auto;
        position: unset;
        padding-bottom: 25px;
        width: 100%;
        max-width: calc((100% - 15%) / 2);
    }
    header .phone .time {
        position: absolute;
        right: 10px;
        bottom: 11px;
        /* font-size: .82rem; */
        font-size: 3.1vw;
    }
    header .phone a {
        color: #1e66b3;
        white-space: nowrap;
        line-height: 1;
        /* font-size: 15px; */
        font-size: 4.7vw;
    }
    header .phone a span {
        /* font-size: 1.28rem */
        /* font-size: 15px; */
        font-size: 4.7vw;
    }
    header .btns {
        /*position: relative;*/
        /*display: flex;*/
        /*flex-direction: column;*/
        /*align-items: flex-end;*/
        /*justify-content: flex-start;*/
        margin-left: auto;
        /*width: 100%;*/
        /*max-width: calc((100% - 15%) / 2);*/
        /*padding-top: 7px;*/
        margin-bottom: 0;
        margin-right: -5px;
        max-width: calc((100% - 5%) / 2);
    }
    header .call {
        top: 0px;
        right: 9px;
        left: auto;
        margin-top: 10px;
        margin-left: 0;
        width: 168px;
        padding: 3px;
        text-align: center;
        font-size: 12px;
        line-height: 2.2;
        max-width: unset;
    }
    header .call::after {
        display: none;
    }
    header .btns .call {
        position: relative;
        top: unset;
        left: unset;
        right: unset;
        width: 100%;
        /* max-width: 157px; */
        margin-top: 0;
        text-transform: none;
        background: #ff8100;
        box-shadow: unset;
        text-shadow: unset;
        border: none;
    }
    header .btns .whatsapp {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
        padding: 3px 7px;
        width: 100%;
        /* max-width: 157px; */
        background: #1dc04b;
        text-transform: none;
        text-align: center;
        font-size: 12px;
        line-height: 2.2;
        box-shadow: unset;
        text-shadow: unset;
        white-space: nowrap;
    }
    header .btns .whatsapp svg {
        width: 15px;
        height: 15px;
        margin-right: 5px;
        flex-shrink: 0;
    }
    footer #vk_contact_us {
        display: flex;
    }
    footer #vk_contact_us iframe {
        max-width: 155px;
    }
    footer #vk_contact_us .whatsapp {
        display: flex;
        align-items: center;
        margin-right: 7px;
        padding: 3px 7px;
        width: auto;
        background: #1dc04b;
        border-radius: 8px;
        text-transform: unset;
        order: -1;
        font-size: 12px;
        white-space: nowrap;
    }
    footer #vk_contact_us .whatsapp svg {
        width: 15px;
        height: 15px;
        margin-right: 5px;
        flex-shrink: 0;
    }
}

@media screen and (max-width:460px) {
    nav .main-menu {
        direction: rtl
    }
    nav .main-menu li {
        direction: ltr;
    }
    nav .main-menu li:nth-child(3) {
        width: 12%;
    }
    nav .main-menu a {
        padding: 4px 2px
    }
    nav .main-menu a#menu-company {
        display: inline-block;
        padding: 3px 21px 0 21px;
    }
    nav .main-menu a#menu-company:before {
        left: 1%;
        top: 50%;
        transform: translateY(-50%);
        margin: 0 0 0 0 !important;
    }
    nav .main-menu a#menu-company > div:after {
        left: auto;
        right: 1%;
        top: 50%;
        width:0px;
        transform: translateY(-50%);
        margin: 0 0 0 0 !important;
    }
    nav .main-menu .ul-down a:before {
        left: auto;
        right: 5%;
    }
    nav .main-menu .ul-down a:after {
        right: auto;
        left: 5%;
        width: 0px;
    }
    .main-menu__child {
        top: 100%;
    }
    .main-menu__child a {
        padding: 5px 10px !important;
    }
    header .logo {
        width: 175px
    }
    header .time {
        font-size: .93rem
    }
    h1 {
        font-size: 1.6rem;
        line-height: 1.1
    }
    .sub-menu {
        top: 100%;
    }
    .mobile-filter {
        width: 156px;
        font-size: 1rem
    }
    .near-mobile-filter {
        padding-right: 160px;
    }
    .modal-body {
        padding: 0 7px 15px
    }
    .modal-content .modal-form-description {
        padding: 0 10px;
    }
    .modal-content .form-group {
        width: 100%;
    }
    .modal-content .form-group textarea {
        width: 100%;
        max-width: 100%;
    }
    .modal-content h4 {
        font-size: 1.2rem
    }
    .modal-dialog {
        padding: 3px
    }
    .photo-block .btn-photo {
        font-size: .91rem;
        padding-right: 15px
    }
}

@media screen and (max-width:420px) {
    .sub-menu {
        top: 100%;
    }
    /*
    nav .main-menu li:nth-child(1), nav .main-menu li:nth-child(4) {
        width: 29%;
    }
    nav .main-menu li:nth-child(2), nav .main-menu li:nth-child(3) {
        width: 21%;
    }
    */
    .main-menu__child {
        top: 100%;
    }
    nav .main-menu a {
        font-size: 1rem
    }
    nav .main-menu__child a {
        font-size: 1rem !important;
    }
    nav .main-menu .ul-down a {
        padding: 3px 21px 0 21px;
    }
    nav .main-menu a#menu-company {
        display: inline-block;
        padding: 3px 20px 0 20px;
    }
    nav .main-menu a#menu-company:before {

    }
    nav .main-menu a#menu-company:after {

    }
    .table-block .t-price,
    .table-block .th.t-price {
        width: 80px!important
    }
    .table-block .th.t-price:last-child {
        width: 83px!important
    }
    .table-block .th.t-price.double:last-child {
        width: 163px!important
    }
    .table-block .price span {
        font-size: .9rem
    }
    .table-block .btn {
        font-size: .8rem
    }
    .table-block.table-block-new2 .btn {
        width: 66px;
        font-size: 0.7rem;
    }
    .table-block .t-price .tab-in .price {
        font-size: .75rem
    }
    .top .block-bottom .zamer {
        font-size: .7rem;
        margin-top: 4px
    }
    .menu-index ul,
    .menu-index ul:first-child {
        width: 49%
    }
    .menu-index a {
        height: 37px;
        font-size: .75rem;
        line-height: .75rem
    }
}

@media screen and (max-width:410px) {
    .lSAction>a,
    .rev-block-slider .video {
        border: 2px solid #fff
    }
    .lSAction>a {
        width: 35px;
        margin-top: -30px;
        height: 60px
    }
    .lSSlideOuter {
        padding: 0 40px
    }
    .lSAction>a:before {
        left: 7px
    }
    .photo-block .btn-photo {
        font-size: .81rem;
        padding-right: 10px
    }
}

.vimeo-player iframe,
.vimeo-player img {
    left: 0;
    top: 0;
    width: 100%;
    position: absolute
}

@media screen and (max-width:380px) {
    /*
    nav .main-menu li:nth-child(1), nav .main-menu li:nth-child(4) {
        width: 30%;
    }
    nav .main-menu li:nth-child(2), nav .main-menu li:nth-child(3) {
        width: 20%;
    }
    */
    nav .main-menu a {
        font-size: 0.9rem
    }
    nav .main-menu .ul-down a {
        padding: 3px 19px 0 19px;
    }
    nav .main-menu a#menu-company {
        padding: 3px 15px 0 21px;
    }
    .top .block-bottom div {
        font-size: .9rem
    }
    header .logo-container .logo-yandex-container {
        margin-left: -7px;
    }
    header .btns {
        max-width: calc((100% - 10%) / 2);
    }
    header .call {
        /* max-width: 135px; */
        text-align: center;
        padding: 2px 10px
    }
    header .addr {
        padding: 5px 0;
        width: 135px;
        line-height: 1;
        font-size: .93rem
    }
    header .addr br {
        display: block
    }
    header .logo {
        width: 150px;
        float: left
    }
    header .phone {
        float: left;
        text-align: left;
    }
    header .phone a {
        /* font-size: 1.3rem; */
        /* line-height: 1.5 */
        line-height: 1;
        vertical-align: bottom;
    }
    /* header .phone a span {
        font-size: 1.2rem
    } */
    header .time {
        margin-top: 2px;
        /* font-size: .79rem */
    }
    header .time span {
        font-size: 3.7vw;
    }
    /* header .mail {
        font-size: .9rem
    } */
    header .addr > div {
        /* font-size: 16.2px; */
        /* margin-bottom: 5px */
        font-size: 5vw;
        bottom: 35px;
    }
    header .phone .time {
        bottom: 10px;
    }
    .filter {
        width: 50%
    }
    .gal-block-inner .info {
        font-size: 12px;
        line-height: 1.2
    }
    .gal-block-inner .text {
        height: 29px
    }
}

@media screen and (max-width:370px) {
    .lSAction {
        display: block!important
    }
    .sub-menu {
        padding-left: 10px;
        padding-right: 10px
    }
    .sub-menu ul a {
        padding: 0;
        margin-bottom: 6px;
        font-size: 13px
    }
}

@media screen and (max-width:360px) {
    .mobile-filter span,
    .photo-block .btn-photo:before {
        display: none
    }
    .photo-block .btn-photo {
        padding-left: 10px;
        text-align: center
    }
    .mobile-filter {
        width: 83px
    }
    .near-mobile-filter {
        padding-right: 85px;
    }
    .menu-index a {
        font-size: .7rem;
        line-height: .7rem
    }
}

@media screen and (max-width:350px) {
    .top .block-bottom div {
        font-size: .8rem
    }
    nav .main-menu a {
        font-size: .8rem
    }
    .sub-menu {
        top: 100%;
    }
    nav .main-menu .ul-down a:after {
        top: 5px
    }
}

@media screen and (max-width:319px) {
    .categories .cat {
        width: 100%
    }
}

@media screen and (max-width:340px) {
    header .btns .whatsapp {
        padding: 3px;
    }
    header .btns .whatsapp svg {
        display: none;
        width: 10px;
        height: 10px;
    }
    /* header .addr > div {
        font-size: 14.7px;
    }
    header .phone .time {
        font-size: .7rem;
    } */
    nav .main-menu .ul-down a {
        padding: 3px 18px 0 18px;
    }
    nav .main-menu a#menu-company {
        padding: 3px 18px 0 17px;
    }
    .sub-menu .btn-bl a {
        font-size: 1.04285714rem;
        text-align: center
    }
    .col-2 {
        width: 100%
    }
}

@media screen and (max-width:300px) {
    .col-4,
    main .content-img-block .block-col {
        width: 100%;
        display: block
    }
}

a.btn-blue {
    color: #fff
}

.tab-in .name img {
    float: left;
    width: 100px;
    margin-right: 15px
}

.offer .img {
    max-width: 900px;
    width: 100%;
    margin: 10px auto
}

.block-col-offer {
    margin-bottom: 15px
}

@media(min-width:800px) {
    .more-examples .btn-blue,
    .more-examples .btn-blue:hover {
        background-color: transparent;
        color: #0d62b3;
        text-transform: none;
        padding: 0
    }
    .more-examples .btn-blue {
        border-bottom: 1px dashed
    }
    .more-examples .btn-blue:hover {
        border-bottom: 1px dashed transparent;
        text-shadow: 0 1px 0 #103b7b
    }
}

.offers,
.offers a,
.offers h2 {
    color: #fff
}

.container .container {
    width: 100%;
    padding: 0;
    margin: 0
}

.offers:before {
    display: block;
    position: absolute;
    content: "";
    transform: translateX(-50%);
    height: 100%;
    margin-left: 50%;
    width: 100vw;
    background-color: #0d62b3;
    z-index: -1
}

.offers.info-col {
    margin-bottom: 25px
}

.offers {
    position: relative
}

.offers .col-4 {
    padding: 15px 5px
}

.offers h2 {
    margin: 0;
    padding: 15px 0 5px
}

.categories {
    margin-bottom: 20px
}

.block-btn {
    margin-bottom: 25px
}

.offer p {
    font-size: 20px;
    margin: 0
}

#adminForms .title a {

}

#adminForms .des-hover:hover .des,
#adminForms .title br,
.footer br,
h1 br
{
    display: none
}

#adminForms .title a img {
    margin: 0 auto 15px auto;
}

@media(max-width:776px) {
    .offer p {
        font-size: 16px
    }
    .table-block {
        margin: 0 -10px 30px;
    }
}

body {
    overflow-x: hidden
}

.rev-block-slider h2 {
    padding: 0 0 20px;
    text-align: center
}

.rev-block-slider {
    padding: 40px 0
}

.tab-in .name .des img {
    width: 100%
}

.tab-in .name .des {
    font-size: .8rem
}

#adminForms .title {
    width: 70%;
    margin: 10px auto
}

.select,
input[type=text],
textarea {
    -webkit-appearance: none;
    -webkit-box-shadow: inset 0 2px 0 #ddd, inset 0 0 0 1px #e6e6e6;
    box-shadow: inset 0 2px 0 #ddd, inset 0 0 0 1px #e6e6e6
}

input::-webkit-input-placeholder {
    color: #ccc
}

input::-moz-placeholder {
    color: #ccc
}

input:-ms-input-placeholder {
    color: #ccc
}

input:-moz-placeholder {
    color: #ccc
}

.sub-menu ul li.active,
aside ul li.active {
    color: #fb7400;
    text-decoration: underline;
    display: block
}

@media(max-width:410px) {
    body {
        min-width: 320px
    }
}

aside ul li.active {
    padding-bottom: 10px;
    font-size: 1.14285714rem
}

footer ul li.active {
    font-size: .85714286rem;
    color: #fb7400;
    text-decoration: underline;
    padding-left: 20px
}

.sub-menu ul li.active {
    font-size: 1.14285714rem;
    padding: 0 8px 15px 0
}

.sub-menu .col-block {
    margin: 0 -5px;
    word-spacing: normal;
    width: calc(100% + 10px);
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start
}

.sub-menu .col-block,
.sub-menu .col-block .col-2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.sub-menu .col-block .col-2 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    padding: 0 5px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
}

.sub-menu .col-block .col-2 ul {
    width: 100%
}

@media (max-width:1040px) {
    .sub-menu>.col-block .col-block {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap
    }
    .sub-menu>.col-block .col-block>.col-2 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%
    }
}

@media (max-width:340px) {
    .sub-menu .col-block {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap
    }
    /*
    .sub-menu .col-block .col-2 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        margin-bottom: 0
    }
    */
    .sub-menu ul li.active {
        font-size: 13px;
        padding: 0 8px 6px 0
    }
}

@media (max-width:380px) {
    .mh {
        display: none
    }
    header .addr {
        /* padding: 12px 0 0 */
        padding-top: 30px;
    }
    header .call {
        padding: 3px 10px
    }
    /* header .addr div {
        bottom: 30px;
        margin-bottom: 9px
    } */
}

/* @media (max-width:319px) {
    header .call {
        max-width: 120px;
        padding: 2px 0
    }
    header .addr {
        width: 120px;
        font-size: .84rem
    }
    header .mail {
        font-size: .8rem
    }
    header .phone a span {
        font-size: .9rem;
        line-height: 1
    }
    header .time {
        font-size: .7rem;
        margin: 0;
        line-height: 1.6
    }
    header .time span {
        font-size: .8rem
    }
    header .logo {
        width: 135px
    }
} */

@media (min-width:711px) {
    .cat--terrace {
        display: none!important
    }
}

.vimeo-player {
    position: relative;
    padding-bottom: 56.23%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 5px
}

.vimeo-player iframe {
    height: 100%;
    z-index: 100;
    background: 0 0
}

.vimeo-player img {
    bottom: 0;
    display: block;
    margin: auto;
    max-width: 100%;
    right: 0;
    border: none;
    height: auto;
    cursor: pointer;
    -webkit-transition: .4s all;
    -moz-transition: .4s all;
    transition: .4s all
}

#calc .btnClaim,
.calc-link {
    margin-bottom: 30px
}

.vimeo-player img:hover {
    -webkit-filter: brightness(75%)
}

.vimeo-player .play {
    height: 72px;
    width: 72px;
    left: 50%;
    top: 50%;
    margin-left: -36px;
    margin-top: -36px;
    position: absolute;
    background: url(/templates/img/TxzC70f.png) no-repeat;
    cursor: pointer
}

.copyr {
    color: #FFF
}

#calc {
    padding-top: 40px;
    text-align: center
}

#calc .select {
    -webkit-appearance: menulist
}

.mt-20 {
    margin-top: 20px
}

/*
******************
.anchor-block
******************
*/

.anchor-block
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 15px -0.5px 15px -0.5px;
}

.anchor-block-col
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0 0.5px 0 0.5px;
}

.anchor-block-col:first-child
{
    -ms-flex-preferred-size: 222px;
        flex-basis: 222px;
    -ms-flex-negative: 0;
        flex-shrink: 0;
}

.anchor-block-col:last-child
{

}

.anchor-block-col-row
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
}

.anchor-block-col:first-child .anchor-block-col-row
{

}

.anchor-block-col:last-child .anchor-block-col-row
{
    margin: 0 -0.5px 0 -0.5px;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.anchor-block-col-row-col
{

}

.anchor-block-col:first-child .anchor-block-col-row-col
{
    width: 100%;
    padding: 0 0 1px 0;
}

.anchor-block-col:last-child .anchor-block-col-row-col
{
    width: 50%;
    padding: 0 0.5px 1px 0.5px;
}

.anchor-block .btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin: 0 0 0 0;
    padding: 10px 10px 8px 10px;
    border: none;
    border-radius: 0;
    text-align: left;
    font-size: 19px;
}

.page-hruwevka.anchor-block > .anchor-block-col:first-child .btn:first-child {
    padding-top: 14px;
    padding-bottom: 4px;
    text-align: center;
}
.page-hruwevka.anchor-block > .anchor-block-col:first-child .btn:last-child {
    padding-top: 4px;
    padding-bottom: 14px;
    text-align: center;
}
.page-hruwevka .btn{
    display: block;
    font-size: 14px;
}

.page-fransuzskiy-balkon.anchor-block .btn {
    font-size: 16px;
}
.page-uteplenie-balkona-i-lodzhii.anchor-block .btn {
    font-size: 14px;
}
.page-osteklenie-terras.anchor-block > .anchor-block-col:first-child .btn:first-child {
    padding-top: 14px;
    padding-bottom: 4px;
    text-align: center;
}
.page-osteklenie-terras.anchor-block > .anchor-block-col:first-child .btn:last-child {
    padding-top: 4px;
    padding-bottom: 14px;
    text-align: center;
}
.page-osteklenie-terras .btn{
    display: block;
    font-size: 14px;
}

.page-uteplenie-balkona-i-lodzhii.anchor-block > .anchor-block-col:first-child .btn:first-child {
    padding-top: 14px;
    padding-bottom: 4px;
    text-align: center;
}
.page-uteplenie-balkona-i-lodzhii.anchor-block > .anchor-block-col:first-child .btn:last-child {
    padding-top: 4px;
    padding-bottom: 14px;
    text-align: center;
}

.page-fransuzskiy-balkon.anchor-block .btn {
    display: block;
    /* font-size: 14px; */
}
.page-fransuzskiy-balkon.anchor-block > .anchor-block-col:first-child .btn:first-child {
    padding-top: 14px;
    padding-bottom: 4px;
    text-align: center;
}
.page-fransuzskiy-balkon.anchor-block > .anchor-block-col:first-child .btn:last-child {
    padding-top: 4px;
    padding-bottom: 14px;
    text-align: center;
}

.page-uteplenie-balkona-i-lodzhii .btn{
    display: block;
    font-size: 14px;
}

.page-price.anchor-block > .anchor-block-col:first-child .btn:first-child {
    padding-top: 24px;
    padding-bottom: 4px;
    text-align: center;
}
.page-price.anchor-block > .anchor-block-col:first-child .btn:last-child {
    padding-top: 4px;
    padding-bottom: 14px;
    text-align: center;
}
.page-price .btn{
    display: block;
    font-size: 14px;
}

@media (max-width: 1300px)
{
    .anchor-block-col:first-child
    {
        -ms-flex-preferred-size: 170px;
        flex-basis: 170px;
    }
    .anchor-block .btn
    {
        font-size: 14px;
    }
    .page-fransuzskiy-balkon.anchor-block .btn
    {
        font-size: 13px;
    }
    .page-uteplenie-balkona-i-lodzhii.anchor-block .btn {
        font-size: 11px;
    }
    .page-osteklenie-terras .btn{
        font-size: 12px;
    }
    .page-price.anchor-block > .anchor-block-col:first-child .btn:first-child {
        padding-top: 30px;
        padding-bottom: 4px;
        text-align: center;
    }
}

.anchor-block-col:first-child .btn
{
    height: 50%;
    background: #fb7400;
    text-shadow: 0 1px 0 #ca5d00;
    cursor: default;
}

.anchor-block-col:last-child .btn
{
    height: 100%;
}

@media (max-width: 1040px)
{
    .breadcrumbs {
        margin-top: 25px;
    }

    .anchor-block-col:first-child
    {
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
    }

    .anchor-block .btn
    {
        font-size: 1.7vw;
    }
    .page-fransuzskiy-balkon.anchor-block .btn
    {
        font-size: 1.7vw;
    }
    .page-uteplenie-balkona-i-lodzhii.anchor-block .btn {
        font-size: 1.5vw;
    }
    .page-osteklenie-terras .btn{
        font-size: 1.6vw;
    }
}

@media (max-width: 800px)
{
    .breadcrumbs {
        margin-top: 0px;
    }

}

@media (max-width: 768px)
{
    .breadcrumbs {
        margin-top: 0px;
    }
    .anchor-block-col:first-child
    {
        display: none;
    }

    .anchor-block .btn
    {
        padding: 5px 5px 4px 5px;
        font-size: 3.8vw;
    }

    .page-fransuzskiy-balkon.anchor-block .btn
    {
        font-size: 3.6vw;
    }
    .page-uteplenie-balkona-i-lodzhii.anchor-block .btn {
        font-size: 1.9vw;
    }
    .page-osteklenie-terras .btn{
        font-size: 2.0vw;
    }
    .page-price .btn{
        font-size: 2.0vw;
    }
}

@media (max-width: 460px)
{
    .anchor-block-col:first-child
    {
        display: none;
    }

    .anchor-block .btn
    {
        padding: 5px 5px 4px 5px;
        font-size: 3.8vw;
    }

    .page-fransuzskiy-balkon.anchor-block .btn
    {
        font-size: 3.6vw;
    }
    .page-uteplenie-balkona-i-lodzhii.anchor-block .btn {
        font-size: 3vw;
    }
    .page-osteklenie-terras.anchor-block .btn {
        font-size: 12px;
    }
    .page-price .btn{
        font-size: 3vw;
    }
}


/* Hellobar */
.hellobar {
    padding: 10px 0 8px;
    background: #0d62b3;
    border-bottom: 2px solid #ececec;
    /* background-image: url('/images/hellobar-new-year.png'); */
    background-position-x: center;
}

.hellobar .hellobar__span {
    display: none;
    max-width: 100%;
    color: #fff;
    text-decoration: none;
    /*
    font-size: 16px;
    line-height: 16px;
    */
}

.hellobar a.hellobar__span {
    cursor: pointer;
}

@media screen and (min-width: 1040px) and (min-width: 1040px) {
    .hellobar .hellobar__span.desktop {display: block;}
}

@media screen and (max-width: 1039px) {
    .hellobar .hellobar__span.adaptive {
        display: block;
    }
}

.hellobar span,
.hellobar a {
    color: #fff;
    line-height: 32px;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 1px -1px 1px #1a5aa2, -1px -1px 1px #1a5aa2, 2px 1px 0 #1a5aa2, 2px -1px 0 #1a5aa2, -1px 1px 0 #1a5aa2
}
.hellobar__img-span {
    position: relative;
    top: -3px;
    height: 30px;
    width: auto;
    vertical-align: middle;
}

.hellobar .btn-blue-border {
    float: right;
    margin-right: 2px
}

@media screen and (min-width:1300px) {
    .hellobar .btn-blue-border {
        width: 295px
    }
}
@media(max-width:1300px) {
    .hellobar span,
    .hellobar a {
        font-size: 23px
    }
    .hellobar__img-span {
        top: -3px;
        height: 26px;
    }
}
@media(max-width:1060px) {
    .hellobar span,
    .hellobar a {
        letter-spacing: 1px;
        font-size: 18px
    }
    .hellobar__img-span {
        top: -2px;
        height: 26px;
    }
}
@media(max-width:820px) {
    .hellobar span,
    .hellobar a {
        display: inline-block;
        max-width: 500px;
        min-width: auto;
        font-size: 16px;
        line-height: 16px
    }
    .hellobar__img-span {
        top: 0px;
        /* margin-top: 4px; */
        height: 22px;
    }
}
@media(max-width:700px) {
    .hellobar .btn-blue-border {
        max-width: 190px;
        border: 1px solid #fff;
        border-radius: 4px;
        padding: 3px 18px 4px
    }
}
@media(max-width:540px) {
    .hellobar span,
    .hellobar a {
        letter-spacing: .5px;
        font-size: 16px;
        font-weight: 700;
        /*max-width:220px*/
        min-width: auto;
    }
    .hellobar .btn-blue-border {
        max-width: 160px
    }
	.hellobar__img-span {height: 20px;}
}
@media (max-width: 460px) {
    .hellobar span, .hellobar a {font-size: 16px;}
    .hellobar__img-span {height: 18px;}
}
@media (max-width: 420px) {
    .hellobar__span span {font-size: 16px;}
}
@media(max-width:410px) {
    .hellobar span,
    .hellobar a {
        letter-spacing: 0;
        font-size: 16px;
        font-weight: 700;
        /*max-width:155px*/
        /*min-width: 300px*/
    }
    .hellobar__img-span {
        top: 0px;
        height: 18px;
    }
    .hellobar .btn-blue-border {
        max-width: 125px;
        padding: 3px 5px 4px;
        font-size: 12px
    }
}
@media(max-width: 380px) {
    .hellobar span,
    .hellobar a {
        font-size: 16px;
    }
    .hellobar__img-span {height: 15px;}
}

@media(max-width: 340px) {
    .hellobar span,
    .hellobar a {
        font-size: 16px;
    }
    .hellobar__img-span {height: 15px;}
}

/*
********************
*/

.main-menu__child {
    position: absolute;
    left: 0;
    background-color: rgba(16, 59, 123, 1);
    padding-left: 0;
    min-width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    opacity: 0;
    margin-top: 10px;
    transition: all .3s ease-in-out;
    padding-right: 0 !important;
}

.main-menu__child li {
    display: block !important;
    width: auto !important;
}

.main-menu__child a {
    padding: 10px 15px !important;
}

.main-menu li.active .main-menu__child {
    opacity: 1;
    visibility: visible;
    z-index: 10;
    margin-top: 0
}

#menu-company
{

}

#menu-company > div:after {
    position: absolute;
    left: auto;
    top: 50%;
    content: '';
    display: inline-block;
    vertical-align: middle;
    margin: -3px 0 0 6%;
    width: 16px;
    height: 10px;
    background: url(/templates/img/sprite.png) -245px 0;
}

nav .main-menu a {
    line-height: 1;
}

nav .main-menu .ul-down a {
    width: auto !important;
}

@media screen and (max-width: 580px) {
    nav .main-menu .ul-down a:after {
        top: 0;
    }
    nav .main-menu .ul-down a:before {
        top: 0;
    }
    nav .main-menu .ul-down a {
        padding-top: 3px;
    }
}

[data-page-id="398"] h1
{
    font-size: 34.4px;
}

@media (max-width: 1300px) {
    [data-page-id="398"] h1
    {
        font-size: 2.08vw;
    }
}

@media (max-width: 1040px) {
    [data-page-id="398"] h1
    {
        font-size: 3.4vw;
    }
}

@media (max-width: 460px) {
    [data-page-id="398"] h1
    {
        font-size: 3.3vw;
    }
}

/* Menu */

@media (max-width: 460px) {

    nav .main-menu {
        display: flex;
        justify-content: space-between;
    }

    nav .main-menu li {
        display: block;
        line-height: 33px;
        width: auto;
    }
    nav .main-menu li:nth-child(2) {width: auto;}
    nav .main-menu li:nth-child(3) {width: auto;}


    nav .main-menu li:nth-child(1) {
        width: auto;
        max-width: 25%;
        min-width: 10%;
    }
    nav .main-menu .ul-down a {
        padding: 3px 26px 3px 0;
    }
    nav .main-menu .ul-down a:before {
        right: 5px;
    }
    nav .main-menu li:nth-child(4) {
        width: auto;
        min-width: 10%;
        max-width: 28%;
        text-align: left;
    }
    nav .main-menu a {
        display: inline-block;
        position: relative;
        top: -1px;
        vertical-align: middle;
    }
    nav .main-menu a#menu-company {
        padding: 3px 0 3px 22px;
    }
    nav .main-menu a#menu-company:before {
        left: 5px;
    }
}


@media (max-width: 420px) {

    nav .main-menu li:nth-child(1) {
        width: auto;
        max-width: 26%;
        min-width: 0%;
    }
    nav .main-menu .ul-down a {
        padding: 3px 24px 0 0;
    }
    nav .main-menu li:nth-child(4) {
        width: auto;
        max-width: 30%;
        min-width: 20%;
    }
    nav .main-menu a#menu-company {
        padding: 3px 0 3px 24px;
    }

}

@media (max-width: 380px) {

nav .main-menu li:nth-child(1) {
        width: auto;
        max-width: 28%;
        min-width: 0%;
    }
    nav .main-menu .ul-down a {
        padding: 3px 24px 3px 0;
    }
    nav .main-menu li:nth-child(4) {
        width: auto;
        max-width: 30%;
        min-width: 26%;
    }
    nav .main-menu a#menu-company {
        padding: 3px 0 3px 24px;
    }
}

@media (max-width: 340px) {

    nav .main-menu li:nth-child(1) {
        width: auto;
        max-width: 25%;
        min-width: 20%;
    }
    nav .main-menu .ul-down a {
        padding: 3px 22px 3px 0;
    }
    nav .main-menu li:nth-child(4) {
        width: auto;
        max-width: 30%;
        min-width: 26%;
    }
    nav .main-menu a#menu-company {
        padding: 3px 0 3px 22px;
    }

}

/*
@media (min-width: 1025px) and (max-width: 1200px) {
    .hidden-1200 {display: none !important;}
}
@media (min-width: 769px) and (max-width: 1024px) {
    .hidden-1024 {display: none !important;}
}
@media (min-width: 481px) and (max-width: 768px) {
    .hidden-768 {display: none !important;}
}
@media (min-width: 321px) and (max-width: 480px) {
    .hidden-480 {display: none !important;}
}
@media (max-width: 320px) {
    .hidden-320 {display: none !important;}
}
*/

/* Обработать французский балкон */

@media (max-width: 340px) {
    .i450 a br {display: none;}
}
@media (max-width: 440px) {
    .i450.active br {display: none;}
}


.breadcrumbs {
    display: inline-block;
    padding: 7px 0;
}
.breadcrumbs:after {
    display: block;
    content: '';
    clear: both;
}
.breadcrumbs__delimetr,
.breadcrumbs__a,
.breadcrumbs__span {
    float: left;
    display: inline-block;
    font-size: 16px;
}
.breadcrumbs__delimetr {
}
.breadcrumbs__a {
}
.breadcrumbs__span {
    color: #fb7400;
}

.submenu-bottom-container {
    width: 100%;
}
.submenu-bottom-container:after {
    content: '';
    display: block;
    clear: both;
    margin: 0 0 10px;
}

.submenu-bottom-item {
    float: left;
    display: block;
    margin: 5px 0;
    width: 25%;
    padding: 0 5px;
    box-sizing: border-box;
}

.submenu-bottom-item__a {
    position: relative;
    display: inline-block;
    margin-right: 18px;
    border-radius: 4px;
    width: 100%;
    padding: 8px 10px 8px 10px;
    box-shadow: inset 0 -3px 0 #ca5d00;
    font-size: 1.14285714rem;
    color: #fff;
    background: #fb7400;
}
.submenu-bottom-item__a:hover,
.submenu-bottom-item__a:focus {
    text-decoration: none;
    color: #fff;
}

.submenu-bottom-item__a:before {
    content: '';
    float: left;
    background-size: 50px 40px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
    width: 50px;
    height: 40px;
}
.submenu-bottom-item__a.price:before {
    background-image: url(/images/submenu/submenu-bottom-1.jpg);
}
.submenu-bottom-item__a.gallery:before {
    background-image: url(/images/submenu/submenu-bottom-2.jpg);
}
.submenu-bottom-item__a.contacts:before {
    background-image: url(/images/submenu/submenu-bottom-3.jpg);
}
.submenu-bottom-item__a.rekvizity:before {
    background-image: url(/images/submenu/submenu-bottom-4.jpg);
}
.submenu-bottom-item__a.about:before {
    /* margin: 0 10px 0 -10px; */
    background: url(/templates/img/about.png);
    /* background-position: center center; */
}

.submenu-osteklenie .submenu-bottom-item {
    width: 25%;
}

.submenu-company .submenu-bottom-item {
    width: 50%;
}
.submenu-company .submenu-bottom-item__a {
    padding: 8px 10px 8px 10px;
}
.submenu-company .submenu-bottom-item__a:before {
    margin-right: 5px;
}

@media (max-width: 1040px) {

    .submenu-osteklenie .submenu-bottom-item {
        width: 50%;
    }

    .submenu-company .submenu-bottom-item {
        width: 50%;
    }
}

@media (max-width: 710px) {

    .submenu-bottom-item {
        width: 100%;
    }

    .submenu-bottom-item__a:before {
        float: none;
    }
    .submenu-bottom-item__a {
        text-align: center;
    }

}

@media (max-width: 580px) {

    .submenu-bottom-item__a:before {
        display: none;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip: rect(0 0 0 0);
}

/* ACCORDION STYLES */

.accordion-list {
    display: flex;
    padding: 0;
    margin: 12px 0;
    list-style: none;
    flex-direction: column;
}
.accordion-list__item {
    padding: 0;
    list-style: none;
    font-size: 1.57142857rem;
    line-height: 1.71428571rem;
    font-weight: 500;
    color: #484848;
}
.accordion-list__item::before {
    content: unset !important;
}
.accordion-list__item:not(:last-child) {
    border-bottom: 1px solid #dadce0;
}
.accordion-list__trigger {
    position: relative;
    margin: 0;
    display: flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
}
.accordion-list__trigger-title {
    margin: 0;
    width: 100%;
    margin: 12px 0;
    color: #1f1f1f;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    transition: padding 0.3s;
    will-change: padding;
}

.accordion-list__trigger-icon {
    position: relative;
    margin: 8px 0 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background-color: #f1f3f4;
}
.accordion-list__trigger-icon::before {
    content: '';
    width: 24px;
    height: 24px;
    background-image: url(./../img/arrow.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform 0.3s;
}
.accordion-list__item-content {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows .3s, border 0.3s;
    /* border-top: 1px solid transparent; */
}
.accordion-list__item-content-inner {
    min-height: 0;
    font-weight: 400;
    transition: padding .3s;
}
.accordion-list__item-content-inner p {
    font-size: 16px;
    line-height: 24px;
}
.accordion-list__item-content-inner p:last-of-type {
    margin: 0;
}

.accordion-list__item input:checked ~ .accordion-list__item-content {
    grid-template-rows: 1fr;
}

.accordion-list__item input:checked ~ .accordion-list__item-content .accordion-list__item-content-inner {
    padding-bottom: 20px;
}

.accordion-list__item input:checked ~ .accordion-list__trigger .accordion-list__trigger-icon::before {
    transform: scaleY(-1);
}

@media screen and (max-width: 1040px) {
    .accordion-list {
        padding: 0;
        background-color: transparent;
    }
}

@media screen and (max-width: 776px) {
    #faq,
    .accordion-list {
        margin-left: -5px;
        margin-right: -5px;
    }
}

body.modal-open {
    overflow: hidden !important;
}

/* ACCORDION STYLES */

/* ===== БЛОГ ===== */

nav.breadcrumbs {
    color: #666;
    font-size: 14px;
    margin: 20px 0 25px;
}
nav.breadcrumbs a {
    color: #666;
    text-decoration: none;
}
nav.breadcrumbs a:hover {
    text-decoration: underline;
}
nav.breadcrumbs .breadcrumb-sep {
    color: #aaa;
}
nav.breadcrumbs .breadcrumb-current {
    color: #005da3;
}

/* Архив (страница категории) */
article.entry {
    border-bottom: 2px solid #005da3;
    padding-bottom: 30px;
    margin-bottom: 30px;
}
h2.entry-title a {
    color: #005da3;
    font-size: 31.5px;
    font-weight: 500;
    text-transform: none;
    text-decoration: none;
    line-height: 1.1;
}
h2.entry-title a:hover {
    text-decoration: underline;
}
h2.entry-title {
    margin: 0 0 15px;
}
.entry-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #484848;
}

/* Главная блога: список всех статей с превью и раскрытием */
/* Интро (фото + текст) — как на оригинале balkon-balkon.ru/blog */
.blog-intro .content-wrapper {
    gap: 25px;
    margin-top: 60px;
    margin-bottom: 20px;
}
.blog-intro .content-wrapper img {
    width: 300px;
    max-width: 100%;
    padding: 5px;
    background-color: #fff;
    border: 1px solid #b1b0b3;
    border-radius: 0;
    box-sizing: border-box;
}
.blog-intro .content-wrapper p {
    font-family: Georgia, serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
    color: #484848;
    max-width: 600px;
}
h1.entry-title.blog-list-title {
    margin: 42px 0 30px;
    color: #005da3; /* как заголовки записей — как на оригинале */
}
/* Рубрика: H1 сразу под облаком рубрик */
.category h1.entry-title.blog-list-title {
    margin-top: 0;
}
.blog-list .blog-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.blog-item-media {
    flex: 0 0 300px;
}
.blog-item-date {
    color: #767676;
    font-size: 14px;
    margin-bottom: 8px;
}
.blog-item-preview {
    display: block;
}
.blog-item-preview img {
    width: 100%;
    height: auto;
    display: block;
    padding: 5px;
    background-color: #fff;
    border: 1px solid #b1b0b3;
    box-sizing: border-box;
}
.blog-item-body {
    flex: 1;
    min-width: 0;
}
.blog-item-teaser {
    cursor: pointer;
}
.blog-item-teaser:hover p {
    color: #005da3;
}
a.blog-item-collapse {
    color: #005da3;
    font-size: 14px;
    text-decoration: none;
}
a.blog-item-collapse:hover {
    text-decoration: underline;
}
@media screen and (max-width: 776px) {
    .blog-list .blog-item {
        flex-direction: column;
        gap: 15px;
    }
    .blog-item-media {
        flex-basis: auto;
        width: 100%;
    }
}

/* Пост */
h1.entry-title {
    color: #103b7b;
    font-size: 31.5px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0 0 10px;
}
.entry-meta {
    color: #767676;
    font-size: 14px;
    margin: 14px 0 30px;
}
.entry-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}
.entry-content figure {
    margin: 20px 0;
}
.entry-content figure img {
    margin: 0 auto;
}
.entry-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #484848;
    margin-bottom: 15px;
}
.entry-content ul, .entry-content ol {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    padding-left: 25px;
}
.entry-content h2, .entry-content h3 {
    color: #103b7b;
    margin: 25px 0 10px;
}

#primary.content-area {
    max-width: 780px;
    margin: 0 auto;
    padding: 20px 0 40px;
}
/* Рубрика — на всю ширину контейнера, как список на /blog */
.category #primary.content-area {
    max-width: none;
}
/* main у сайта на широких экранах float:right под левую боковину — в блоге её нет */
.category #primary.content-area main {
    float: none;
    width: auto;
}

/* fancybox выше WP adminbar (z-index: 100000) */
.fancybox-container {
    z-index: 100001;
}
.fancybox-container .fancybox-toolbar,
.fancybox-container .fancybox-caption-wrap,
.fancybox-container .fancybox-navigation {
    z-index: 100002;
}

/* ===== Облако рубрик (синие кнопки под заголовком) ===== */
.cat-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 35px;
}
.cat-cloud__item {
    display: inline-block;
    padding: 7px 14px;
    background: #1f68b5;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
    border-radius: 6px;
    transition: background .15s ease;
}
.cat-cloud__item,
.cat-cloud__item:link,
.cat-cloud__item:visited,
.cat-cloud__item:hover,
.cat-cloud__item:focus,
.cat-cloud__item:active {
    color: #fff !important;
    text-decoration: none;
}
.cat-cloud__item:hover,
.cat-cloud__item:focus,
.cat-cloud__item--active {
    background: #103b7b;
}

/* ===== Подвал блога: рубрики убраны, вопросы в 3 колонки ===== */
.footer-blog .col2.col-questions {
    float: none;
    width: 100%;
}
.footer-blog .col2 .title {
    display: flex;
    align-items: center;
    gap: 20px;
}
.footer-blog .col2 .title div {
    display: block;
    width: auto;
    padding: 0;
    white-space: nowrap;
}
.footer-blog .col2 .title div:first-child:before {
    display: none;
}
.footer-blog .col2 .title div:last-child {
    flex: 1;
}
.footer-blog .col2 .title div:last-child:before {
    content: '';
    display: block;
    height: 3px;
    width: 100%;
    background: #80a6d0;
}
.footer-blog .questions-grid {
    columns: 3;
    column-gap: 40px;
    font-size: 14px;
}
.footer-blog .questions-grid li {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
}
@media screen and (max-width: 776px) {
    .footer-blog .questions-grid {
        columns: 1;
    }
}

/* ===== Адаптив: фото статьи не должно вылезать за экран ===== */
.blog-item-preview img,
.blog-item-full img,
.entry-content img {
    max-width: 100%;
    height: auto;
}
@media screen and (max-width: 776px) {
    .blog-list .blog-item,
    .blog-item-body {
        max-width: 100%;
    }
    .blog-item-full img {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Заголовки H1: интерлиньяж был меньше кегля (2.14rem при 2.42rem) — в двухстрочных
   заголовках буквы с надстрочными знаками («Й») касались строки выше */
main h1,
h1.entry-title {
    line-height: 1.2;
}
@media screen and (max-width: 460px) {
    main h1,
    h1.entry-title {
        line-height: 1.2;
    }
}

/* /sertifikaty/: страницы сертификатов сеткой по 2 в ряд (табличная вёрстка оригинала
   сжимала 3-ю и 4-ю страницы до 2px — их не было видно) */
.content-img-block.cert-block {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-left: 0;
    margin-right: 0;
}
.content-img-block.cert-block .block-col {
    display: block;
    width: calc(50% - 2px);
}
@media screen and (max-width: 460px) {
    .content-img-block.cert-block .block-col {
        width: 100%;
    }
}

/* /calculator/: форма в обёртке .modal-content получала сетку окна заявки (фото + форма)
   и сдвигалась в правую половину, слева — пустое место. Здесь фото нет — форма на всю ширину */
main > .row.modal-content {
    display: block !important; /* в стилях окна заявки там grid !important */
    margin-left: 0;
    margin-right: 0;
}
