/*!
Theme Name: closetwp
Version: 1.0.0
Text Domain: closetwp
*/

.choices {
    margin-bottom: 0;
}

.choices__list--single {
    padding-left: 0;
}

.wpcf7-not-valid-tip {
    margin-top: 10px;
    display: none;
}

.wpcf7 form.invalid .wpcf7-not-valid-tip {
    display: block;
}

.wpcf7-spinner {
    position: absolute;
}

.choices[data-type*=select-one]::after {
    width: 13px;
    height: 8px;
    background: url('./assets/img/main/select.svg') no-repeat center center / contain;
    transition: .3s;
    border: none;
}

.choices[data-type*=select-one].is-open::after {
    margin: 0;
    transform: rotate(180deg);
}

.form .row-item__full label {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #281C11;
    margin-bottom: 19px;
}

.wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 62px;
    margin-right: -62px;
}

.wpcf7-list-item {
    margin: 0;
}

.wpcf7-list-item label {
    display: flex;
    align-items: center;
    position: relative;
    margin: 0 !important;
}

.wpcf7-list-item input {
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

.wpcf7-list-item .wpcf7-list-item-label {
    font-weight: 300;
    margin: 0;
    padding-left: 29px;
    display: block;
}

.wpcf7-list-item .wpcf7-list-item-label::after {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: url('./assets/img/main/check.svg') no-repeat center center / contain;
}

.wpcf7-list-item input:checked+.wpcf7-list-item-label::after {
    background: url('./assets/img/main/check-active.svg') no-repeat center center / contain;
}

.scroll {
    position: absolute;
    margin-top: -100px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
}

.default-wrap {
    padding: 150px 0;
}

.form-wrap__thx {
    text-align: center;
    display: none;
    margin-top: 50px;
}

.form-wrap__sent .form-wrap__data {
    display: none;
}

.form-wrap__sent .form-wrap__thx {
    display: block;
}

.wpcf7 form.sent .wpcf7-response-output {
    display: none;
}

.form .container {
    border: solid 1px #281C11;
    padding-bottom: 50px;
}

.form-wrap__data,
.form-wrap__thx {
    padding-left: 15px;
    padding-right: 15px;
}

.header-wrap__flex .btn {
    min-width: 150px;
    margin-right: 15px;
}

.modal .wpcf7-not-valid-tip {
    text-align: center;
}

.map {
    height: 400px;
}

.map iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-wrap .item-flex .btn {
    position: relative;
    z-index: 3;
}

.video-wrap {
    width: fit-content;
    margin: -40px auto 0;
}

.testimonials-wrap {
    margin: 100px 0;
}

.testimonials-wrap__top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 15px;
}

.testimonials-wrap__top--content {
    width: 100%;
    max-width: calc(100% - 150px);
}

.testimonials-wrap__top--nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 30px;
}

.testimonials-wrap__list {
    margin-top: 30px;
    margin-right: -30px;
}

.testimonials-wrap__list .slick-track {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.testimonials-wrap__list .wrapper {
    height: inherit;
}

.testimonials-wrap__list .item {
    margin-right: 30px;
    padding: 15px;
    border: solid 1px #281C11;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    height: 100%;
}

.testimonials-wrap__list .item-rating {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 3px;
}

.testimonials-wrap__list .item-rating svg {
    fill: #281C11;
    stroke: #281C11;
}

.testimonials-wrap__list .item-text {
    margin: 15px 0;
}

.testimonials-wrap__list .item-bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.testimonials-wrap__list .item-bottom img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.testimonials-wrap__list .item-bottom span {
    display: block;
    width: 100%;
    max-width: calc(100% - 40px);
    padding-left: 10px;
}

.team-wrap {
    margin-top: 100px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 60px 30px;
}

.team-wrap .item {
    width: calc((100% - 60px) / 3);
}

.team-wrap .item-image {
    position: relative;
    width: 100%;
    height: 550px;
}

.team-wrap .item-image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.team-wrap .item-image__title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    padding: 15px;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.75);
}

.team-wrap .item-position {
    text-align: center;
    margin-top: 5px;
    font-size: 18px;
}

.about-list .about-top__image {
    position: relative;
}

.about-list .about-top__image svg {
    position: absolute;
    left: 50%;
    margin-right: -50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 50%;
    max-width: 60px;
    max-height: 60px;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.about-list .about-top__image svg * {
    stroke: #fff;
}

.about-list .about-top__image svg:hover {
    -webkit-transform: translate(-50%, -50%) scale(0.75);
    -ms-transform: translate(-50%, -50%) scale(0.75);
    transform: translate(-50%, -50%) scale(0.75);
}

.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.75);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.modal-active {
    opacity: 1;
    visibility: visible;
}

.modal-wrap {
    max-height: 90vh;
    overflow-y: auto;
    margin: 0 15px;
    width: 100%;
    max-width: 600px;
    background-color: #fff;
    padding: 30px;
}

.modal-wrap__close {
    margin-left: auto;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin-bottom: 30px;
}

.modal-wrap__close svg {
    max-width: 20px;
    max-height: 20px;
    cursor: pointer;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.modal-wrap__close svg:hover {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.modal-wrap__title {
    text-align: center;
    font-weight: 500;
    margin-bottom: 30px;
    font-size: clamp(1.25rem, calc(1.0180412371rem + 0.0103092784 * 100vw), 1.875rem);
}

.modal-wrap input,
.modal-wrap select,
.modal-wrap textarea {
    max-width: 305px;
    margin: 0 auto 10px;
}

.modal-wrap .btn {
    margin: 50px auto 0;
}

.modal-active {
    opacity: 1 !important;
    visibility: visible !important;
}

@media (max-width: 768px) {
    .container {
        max-width: 710px;
    }
}

@media (max-width: 550px) {

    .header-wrap__flex {
        gap: 15px;
    }

    .header-wrap__flex .btn {
        padding: 10px 15px;
        margin-right: 0;
    }

    .header-wrap__flex .btn span {
        display: none;
    }
}

.three-videos {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.three-videos iframe {
    width: 32%;
}

@media (max-width: 1025px) {

    .video-wrap.three-videos iframe:nth-of-type(1),
    .video-wrap.three-videos iframe:nth-of-type(3) {
        display: none !important;
    }

    .three-videos {
        width: 100%;
    }

    .video-wrap.three-videos iframe:nth-of-type(2) {
        width: 100% !important;
    }
}

@media (max-width: 1024px) {
    .testimonials-wrap {
        margin: 60px 0;
    }

    .testimonials-wrap__top {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        gap: 30px;
    }

    .testimonials-wrap__top--content {
        max-width: 100%;
    }

    .testimonials-wrap__top--content-title {
        max-width: 300px;
    }

    .team-wrap .item {
        width: calc((100% - 30px) / 2);
    }

    .team-wrap .item-image {
        height: 500px;
    }
}

@media (max-width: 550px) {
    .modal-wrap {
        padding: 30px 15px;
    }

    .modal-wrap__close {
        margin-bottom: 15px;
    }

    .team-wrap {
        gap: 30px;
    }

    .team-wrap .item {
        width: 100%;
    }

    .team-wrap .item-image {
        height: 400px;
    }

    .team-wrap .item-image__title {
        font-size: 18px;
    }

    .team-wrap .item-position {
        font-size: 16px;
    }

    .wpcf7-checkbox {
        gap: 15px;
        margin: 0;
    }

    .wpcf7-checkbox .wpcf7-list-item {
        width: 100%;
    }
}
/*  */
.page-template-page-portfolio .design {
   padding-bottom: 120px;
}

.page-template-page-portfolio .design .design-wrap__list .wrapper {
   padding: 0;
   height: 400px;
   display: block;
}

.page-template-page-portfolio .design .design-wrap__list .wrapper img {
   width: 100%;
   height: 100%;
   object-fit: cover;
}

.page-template-page-portfolio .design .design-wrap__slider {
   display: flex;
}

.page-template-page-portfolio .design .design-wrap__slider .slick-slide {
   padding: 0 5px;
   border: none;
}

.page-template-page-portfolio .design .design-wrap__slider .slick-list {
   margin: 0 -5px;
}
.page-template-page-portfolio .design .design-wrap__nav{
	justify-content: center !important;
}
@media (max-width: 992px) {
   .page-template-page-portfolio .design {
      padding-bottom: 50px;
   }
}

@media (max-width: 550px) {
   .page-template-page-portfolio .design {
      padding-bottom: 0px;
   }
}