/* Theme Name: TOPDOM */

.home-gallery img {
    width: 100%;
}
.section_1 > div {
    width: 49%;
    margin: 0.5%;
}
.section_1 {
    display: flex;
    flex-wrap: wrap;
}
.section_1 .swiper-slide {
    border-radius: 4px;
    overflow: hidden;
}
.home-gallery img {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
}
.blending {
    z-index: 11;
}

html body .fotorama__arr--next {
    right: -32px;
    transition: all .4s ease;
}
html body .fotorama__arr--prev {
    left: -32px;
    transition: all .4s ease;
}

.home-gallery:hover .fotorama__arr--next {
    right: 2px;
    transition: all .4s ease;
}
.home-gallery:hover .fotorama__arr--prev {
    left: 2px;
    transition: all .4s ease;
}
.float_r.ico2, .float_l.ico1, .float_l.ico3, .float_r.ico4 {
    display: flex;
    align-items: center;
}
img {
    max-width: 100%;
}
.swiper.video-gallery img {
    aspect-ratio: 370 / 210;
    object-fit: cover;
}
.swiper-wrapper {
    height: auto;
}
.swiper.video-gallery a::after {
    content: '';
    display: block;
    background: url(img/video_ico.png) no-repeat;
    width: 86px;
    height: 85px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -42px 0 0 -43px;
}
.video_wrap {
    padding: 0 36px;
}
.list-items .two_b img {
    max-width: 100%;
    aspect-ratio: 405 / 277;
    object-fit: cover;
}
.portfolio_block>div>div ul li a {
    display: flex;
    align-items: center;
}
.one_b>div {
    padding: 0;
}
.slide-control {
    height: 100%;
    top: 0;
}
.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.row.jc-c {
    justify-content: center;
}
.related-img img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
.related-img {
    position: relative;
}
.r-post-title {
    z-index: 1;
    position: absolute;
    bottom: 0;
    background: rgba(71, 71, 71, .5);
    padding: 7px 4px;
    color: #fff;
    line-height: 1.2;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    width: 100%;
}
.related-img a {
    display: block;
    position: relative;
}
.r-post-title {
    box-sizing: border-box;
}
.port-gallery img {
    max-height: 90svh !important;
    margin: 0 auto;
}
.list-items .two_b img {
    max-width: 100%;
    aspect-ratio: 405 / 277;
    object-fit: cover;
    width: 100%;
}
.types img {
    object-fit: cover;
    aspect-ratio: 405 / 297;
}
.pub_img img {
    height: 100%;
    object-fit: cover;
}
.public .portfolio_block.images.list-items {
    max-width: 100%!important;
}
.public .portfolio_block>div>div>a {
    position: static!important;
    text-decoration: underline;
}
#ya-site-form0 .ya-site-form__form .ya-site-form__input-text:focus {
    border-color: #f9f4f3 !important;
}
.form-popup > div {
    width: 440px;
    background-color: #fff;
    padding: 40px 40px;
    border-radius: 4px;
}
.form-popup {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .8);
    z-index: 111;
    display: flex;
    align-items: center;
    justify-content: center;
}
.form-popup > div {
    width: 440px;
    background-color: #fff;
    padding: 40px 40px;
    border-radius: 4px;
    position: relative;
}

form.wpcf7-form input[type="text"], form.wpcf7-form input[type="tel"], form.wpcf7-form input[type="email"] {
    border-radius: 4px;
    width: 100%;
    border: none;
    box-shadow: none;
    border: 1px solid #ccc;
    font-size: 14px;
    padding: 20px 20px;
    height: 40px;
}
form.wpcf7-form input[type="text"], form.wpcf7-form input[type="tel"], form.wpcf7-form input[type="email"] {
    border-radius: 4px;
    width: 100%;
    border: none;
    box-shadow: none;
    border: 1px solid #ccc;
    font-size: 14px;
    padding: 20px 20px;
    height: 40px;
    margin-bottom: 10px;
}
textarea {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'pt sans', helvetica, arial;
    font-size: 15px;
    border-radius: 0;
    background: #fff;
    border: 1px solid #f7f4f3;
    box-shadow: none;
    padding: 6px 10px;
    border-radius: 4px;
    width: 100%;
    border: none;
    box-shadow: none;
    border: 1px solid #ccc;
    font-size: 14px;
    padding: 10px 20px;
    height: 100px;
    margin-bottom: 10px;
}
.wpcf7-list-item {
    display: inline-block;
    margin: 0;
}
input[type="checkbox"] {
    padding: 0;
    margin-left: 0;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner {
    margin-top: 20px;
    width: 100%;
}
span.wpcf7-spinner {
    position: absolute;
    left: 50%;
    bottom: 20px;
    margin-left: -12px;
    margin-right: 0;
}
span.wpcf7-list-item span {
    position: relative;
    top: -1px;
}

span.wpcf7-list-item {
    font-size: 14px;
    position: relative;
}
form.wpcf7-form,form.wpcf7-form p {
    margin: 0 !important;
    padding: 0 !important;
}
span.wpcf7-not-valid-tip {
    display: none;
}
.wpcf7-not-valid {
    border: 1px solid #c00 !important;
}
.wpcf7-response-output {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background-color: #747474;
    margin-top: 10px !important;
    color: #fff;
    font-size: 14px;
    padding: 20px !important;
}
form.wpcf7-form.sent .wpcf7-response-output {
    background-color: #00af0a;
    text-align: center;
}
.wpcf7-list-item {
    margin: 0!important;
}
.form-titl {
    text-align: center;
    font-size: 30px;
    margin-bottom: 15px;
}
.close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}
.close-btn svg {
    width: 14px;
    height: 14px;
}
.form-popup {
    opacity: 0;
    visibility: hidden;
}
.form-question-active,.form-design-active {
    overflow: hidden;
}
.form-question-active .form-popup.question,
.form-design-active .form-popup.design-form,
.form-price-active .form-popup.price-form,
.form-project-active .form-popup.project-form {
    opacity: 1;
    visibility: visible;
}

.swiper-slide a:after {
    right: 4px!important;
}

.label_pr.fixed-label {
    position: fixed!important;
    top: 0!important;
}

.f-caption {
    position: absolute;
    background-color: transparent;
    z-index: 111111;
    bottom: 0;
    width: 100%;
    padding: 20px 20px 10px;
    left: 0;
    text-align: center;
    background-color: rgba(54, 54, 54, .65) !important;
    box-sizing: border-box;
}

i.icon-info-1 {
    left: 1px;
    position: relative;
}

@media screen and (max-width: 1330px){
    .list-items .two_b {
        width: calc(50% - 3px)!important;
    }
}
@media screen and (max-width: 679px){
        .list-items .two_b {
        width: 100% !important;
    }
}
@media only screen and (max-width: 600px) {
    .is-horizontal.is-ltr .f-button.is-arrow.is-next {
        right: 10px!important;
    }

    .is-horizontal.is-ltr .f-button.is-arrow.is-prev {
        left: 10px!important;
    }

    .close-btn {
        position: absolute;
        right: 20px;
        top: 20px;
        cursor: pointer;
        z-index: 111111;
    }
    .form-popup > div {
        width: 90% !important;
        background-color: #fff;
        padding: 40px 40px;
        border-radius: 4px;
        position: relative;
        max-width: 360px;
        box-sizing: border-box;
    }
    .form-popup > div {
        width: 90% !important;
        background-color: #fff;
        padding: 25px 20px;
        border-radius: 4px;
        position: relative;
        max-width: 360px;
        box-sizing: border-box;
    }
    .form-titl {
        text-align: center;
        font-size: 22px;
        margin-bottom: 15px;
    }
    .charge {
        font-size: 16px;
        height: 61px;
    }
    .swiper.home-gallery {
        width: 100%;
    }
    .swiper.home-gallery:not(:last-child) {
        margin-bottom: 20px;
    }
    .row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }
    .row.jc-c {
        justify-content: center;
        display: flex;
        align-items: center;
        padding: 0;
    }
    .slide-control.next {
        right: -10px!important;
    }
    .slide-control.prev {
        left: -10px!important;
    }
    .todo .row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }
    .row.jc-c {
    padding: 0;
    justify-content: center;
    align-items: center;
}
    .open-descr {
        content: "\e803";
        font-family: topdom-icon;
        font-size: 18px;
        display: block;
        text-align: center;
        line-height: 32px;
        height: 36px;
        width: 32px;
        position: absolute;
        bottom: 10px;
        right: 10px;
        color: #fff;
        z-index: 4;
        z-index: 11111111;
    }
    .new_b,.pub_img img {
        width: 100%;
    }
    

}


button.button.button-free span.active {
    display: inline!important;
}
.portfolio_block.images.touch>div>div a:after {
    display: none!important;
}
.close-btn {
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    z-index: 111111;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}
a:focus{
 outline: 0;
}
* {
    -webkit-tap-highlight-color: transparent;
}
button:focus,
a:focus {
  outline: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible {
  box-shadow: 0 0 0 2px #ffcc00;
}
* {
  outline: none; /* для ПК */
  -webkit-tap-highlight-color: transparent; /* для iOS / Android */
  -webkit-focus-ring-color: transparent;    /* для Safari */
  box-shadow: none;                          /* убираем дефолтное свечение */
}
button.button.button-free span:not(.active) {
    display: none !important;
}

iframe.map-footer {
    width: 100%;
    border: none;
    margin: 40px 0px;
    display: none;
}
input#s {
    background-color: #f7f4f3;
    border: none;
    box-shadow: none;
}
.page_list.search-page .item-h img {
    aspect-ratio: 2 / 1.2;
    display: block;
    object-fit: cover;
    overflow: hidden;
    height: auto;
}
.forma {
    position: relative;
}
input#searchsubmit {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    font-size: 0;
    padding: 0;
    width: 35px;
    height: 35px;
}
form#searchform button svg {
    width: 12px;
    height: 12px;
}
form#searchform button {
    position: absolute;
    right: 0px;
    top: 0px;
    width: 35px;
    height: 35px;
    border: none;
    background: transparent;
    cursor: pointer;
}
@media screen and (max-width: 767px){
form#searchform button {
    position: absolute;
    right: 10px;
    top: 7px;
    width: 35px;
    height: 35px;
    border: none;
    background: transparent;
    cursor: pointer;
}
}

.search-page .portfolio_block.touch .p_descr {
    display: block;
    position: absolute;
    bottom: 0 !important;
    font-size: 14px;
}
.search-page .one_b>div,.search-page .two_b>div {
    min-height: 220px;
}

input#s {
    width: 100%;
    padding-right: 35px;
}
.socials_share.bb .addtoany_shortcode {
        margin-top: 10px;
    }
.fotorama__arr.fotorama__arr--prev {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    left: 0;
    background: url(img/fotorama.png) no-repeat;
    z-index: 11;
    margin-top: -15px;
    cursor: pointer;
}
.fotorama__arr.fotorama__arr--next {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    right: 0;
    background: url(img/fotorama.png) no-repeat;
    z-index: 11;
    margin-top: -15px;
    background-position: -32px 0;
    cursor: pointer;
}
.fotorama__arr.fotorama__arr--next {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 30px;
    margin-top: -15px;
    cursor: pointer;
}

@media screen and (max-width: 767px){
    .search-page .one_b>div,.search-page .two_b>div {
        padding: 0;
    }   
    
}
.two_b.item-h > div.active .p_descr {
    display: block;
}
.two_b.item-h > div.active .p_descr {
    display: block;
    color: #fff;
    height: auto;
    padding: 0 30px
}
.videos > div {
    width: calc(50% - 10px);
}

.videos {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 10px !important;
    box-sizing: border-box;
    display: flex;
    gap: 20px;
}
.videos > div {
    max-width: 1300px;
    padding: 20px 9px;
    background-color: transparent;
    border-radius: 0px;
    width: 100%;
}
.omnivideo-block .omnivideo-links .omnivideo-link {
    border-radius: 0!important;
}
.videos * {
    border-radius: 0 !important;
}
.omnivideo-header {
    font-family: 'pt serif', georgia!important;
    font-size: 22px!important;
    font-weight: normal!important;
}
.videos.type {
        display: flex;
        flex-wrap: wrap;
    }

    .videos.type > div {
        width: calc(50% - 10px);
    }
@media screen and (max-width: 767px){
    .videos {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
    }
    .videos > div {
        width: 100%;
        margin-top: 0;
        padding: 20px 0;
    }

    .videos.type > div {
        width: 100%;
        padding: 0;
    }
    

}
.tags-list picture + span.plus {
    display: none!important;
}
.active .open-descr + a {
    z-index: 111;
}