.form_and_testimonial_wrap {
    display: flex;
    flex-direction: row;
    gap: 3em;
}
.form_and_testimonial_wrap .form_wrap {
    flex: 1 0 calc(60% - 1.5em);
}
.form_and_testimonial_wrap .testimonial_block {
    flex: 1 0 calc(40% - 1.5em);
}
.form_and_testimonial_wrap .testimonial_block {
    overflow: hidden;
    padding-top: 5em;
}
.form_and_testimonial_wrap form {

}
.form_and_testimonial_wrap form .input {
    padding: 10px 0;
    font-size: 1.3em;
}
.form_and_testimonial_wrap form.clone_contact label .error_message {
    bottom: 0.4em;
}
.form_and_testimonial_wrap form.clone_contact label {
    font-size: 0.8em;
}
.testimonial-slider {
    margin: 0 auto;
}
.testimonial-item {
    background: #EDEDED;;
    padding: 3em 1.5em 2em;
    position: relative;
    margin-bottom: 3em;
}
.grey .testimonial-item {
    background: #ffff;
}

.testimonial-item .testimonial-item_content_wrap {
    display: flex;
}
.testimonial-item .testimonial-item_content_wrap .testimonial-item__name_profession_logo_wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 79%;
}
.testimonial-item p,
.black_bg .testimonial-item p {
    font-size: 1em;
    font-weight: 400;
    color: #000;
}
.testimonial-item .comment__quote {
    position: relative;
    padding: 1em 0;
    margin-bottom: 4.5em;
}
.class_video_block.testimonial-item::before,
.class_video_block.testimonial-item .comment__quote::after {
    display: none !important;
}
.testimonial-item::before,
.testimonial-item .comment__quote::after {
    content: "";
    position: absolute;
    background: url(../../assets/img/quotes.svg);
    width: 2em;
    height: 2em;
    top: 1em;
    left: 2em;
    background-size: contain;
    background-repeat: no-repeat;
}

.testimonial-item .comment__quote::after,
.black_bg .testimonial-item .comment__quote::after {
    transform: rotate(180deg);
    bottom: -2em;
    top: auto;
    left: auto;
    right: 2em;
}
.testimonial-item .testimonial-item__photo {
    width: 27%;
    height: 8em;
    overflow: hidden;
    position: relative;
    margin-right: 1em;
}
.testimonial-item .testimonial-item__photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
}
.testimonial-item .author {
    margin-bottom: 0.4em;
    font-weight: 500;
    font-size: 1.2em;
    text-transform: uppercase;
}
.testimonial-item .author_profession {
    font-size: 1em;
    text-transform: uppercase;
}

.black_bg .testimonial-item .author,
.black_bg .testimonial-item .author_profession {
    color: #000;
}

.testimonial-item .author-details {
    margin-top: 0.6em;
    font-size: 0.8em;
    color: #000;
    display: flex;
    flex-wrap: wrap;
}
.testimonial-item .author-details span:first-child {
    flex: 1 0 100%;
}
.testimonial-item .author-details span {
    flex: 1 0 50%;
}

.testimonial-item .testimonial-item__name_profession_logo {
    display: flex;
    justify-content: space-between;
    gap: 1em;
}
.testimonial-item .testimonial-item__name_profession_logo .testimonial-item__name_profession_logo__logo {
    height: 2em;
    max-width: 6em;
    overflow: hidden;
    position: relative;
}
.testimonial-item .testimonial-item__name_profession_logo .testimonial-item__name_profession_logo__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left;
}
.form_and_testimonial_wrap .owl-nav {
    display: none;
}
.form_and_testimonial_wrap .owl-dots {
    text-align: center;
    margin-bottom: 0.8em;
    position: absolute;
    /*bottom: -3em;*/
    width: 100%;
}

.form_and_testimonial_wrap .owl-dots {
    text-align: center;
    margin-bottom: 0.8em;
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    bottom: -4px;
}

.form_and_testimonial_wrap .owl-dot {
    width: 10px;
    height: 10px;
    background: transparent;
    border: 2px solid #000;
    display: inline-block;
    margin: 0 0.3em;
    border-radius: 0;
    padding: 0;
}

.black_bg .form_and_testimonial_wrap .owl-dot {
    outline: 2px solid white;
}

.form_and_testimonial_wrap .owl-dot.active {
    background: #000;
    opacity: 1;
    width: 18px;
    height: 18px;
    border: 4px solid #fff;
    outline: 2px solid #000!important;
}

.black_bg .form_and_testimonial_wrap .owl-dot {
    outline-color: #fff!important;
    background-color: #000;
    border-color: #000;
}

.black_bg .form_and_testimonial_wrap .owl-dot.active {
    background-color: #CDFF3A;
    border-color: #000;
    outline-color: #fff;
}

.grey .form_and_testimonial_wrap .owl-dot {
    outline-color: #ededed!important;
}

.grey .form_and_testimonial_wrap .owl-dot.active {
    outline-color: #000!important;
    border-color: #ededed;
}


.form_and_testimonial_wrap .owl-dot.hidden {
    display: none;
}

.black_bg .form_sub, .black_bg .free_sub,
.black_bg .form_sub.h1, .black_bg .free_sub.h1{
    background: transparent;
    border: 0;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #CDFF3A!important;
    font-family: "CT2020", serif;
    margin: 40px 0 24px;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: initial;
    transition: 0.7s;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    padding: 0;
    display: block;
}

.white_bg .form_sub:hover,
.white_bg .free_sub:hover,
.grey .form_sub:hover,
.grey .free_sub:hover {
    color: #000;
}

.black_bg .checkbox_agree input:checked + label:after {
    background-color: #fff;
}

.checkbox label:before {
    content: "";
    -webkit-appearance: none;
    background-color: transparent;
    border: 2px solid #000;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 12px;
    z-index: 1;
    top: 0;
    left: 0;
    position: absolute;
}

.grey .checkbox.checkbox_agree input:checked + label:after {
    background-color: #000;
}

.grey .checkbox.checkbox_agree input:checked + label:after {
    background: #000;
    border: 5px solid #ededed;
}

@media only screen and (max-width : 960px) {
    .form_and_testimonial_wrap {
        flex-direction: column;
    }
    .testimonial-item .testimonial-item__photo {
        width: 12%;
    }
    .testimonial-item .testimonial-item__photo img {
        object-position: left;
    }
    .form_and_testimonial_wrap .testimonial_block {
        padding-top: 1em;
    }
    .owl-dots {
        margin-top: 0.8em;
        margin-bottom: 0;
    }
    .testimonial-item .comment__quote::after {
        right: 1em;
    }
    .form_and_testimonial_wrap .clone_contact div.half_col {
        flex: 0 0 calc( 50% - 5px );
        -webkit-flex: 0 0 calc( 50% - 5px );
    }
    .form_and_testimonial_wrap .clone_contact div.half_col:nth-child(2n+1) {
        margin-right: 10px !important;
    }
}
@media only screen and (max-width : 767px) {
    .form_and_testimonial_wrap .clone_contact div.half_col {
        flex: 0 0 100%;
        -webkit-flex: 0 0 100%;
    }
    .form_and_testimonial_wrap .clone_contact div.half_col:nth-child(2n+1) {
        margin-right: 0 !important;
    }
    .testimonial-item .testimonial-item__photo {
        width: 25%;
    }
}
@media only screen and (max-width : 540px) {
    .testimonial-item .testimonial-item__photo {
        width: 31%;
    }
    .testimonial-item .testimonial-item__photo img {
        object-fit: cover;
    }
}