.property-filter-testimonial {
    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;
    padding-top: 80px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
@media (max-width: 1599.98px) {
    .property-filter-testimonial {
        padding-top: 60px;
    }
}
@media (max-width: 767.98px) {
    .property-filter-testimonial {
        display: none;
    }
}
.property-filter-testimonial .home-select-box {
    width: 25%;
}
@media (max-width: 1199.98px) {
    .property-filter-testimonial .home-select-box {
        width: 23%;
    }
}
@media (max-width: 991.98px) {
    .property-filter-testimonial .home-select-box {
        width: 45%;
        margin-bottom: 30px;
    }
}
@media (max-width: 991.98px) {
    .property-filter-testimonial .find-btn {
        width: 45%;
        margin-bottom: 30px;
    }
}
@media (max-width: 575.98px) {
    .property-filter-testimonial .find-btn {
        width: 100%;
    }
}
@media (max-width: 991.98px) {
    .property-filter-testimonial .find-btn .red-btn {
        display: block;
    }
}
.property-filter-testimonial .select2-container--default .select2-selection--single {
    border-bottom: 1px solid #909090;
}

.happy-right {
    max-width: 400px;
}

.happy-customers {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
@media (max-width: 767.98px) {
    .happy-customers {
        padding-bottom: 20px;
    }
}
.happy-customers .k6 {
    font-size: 90px;
    color: #B11116;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1;
}
@media (max-width: 1199.98px) {
    .happy-customers .k6 {
        font-size: 60px;
    }
}
.happy-customers h3 {
    width: 100%;
    margin: 0px auto 0 30px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 30px;
}
@media (max-width: 991.98px) {
    .happy-customers h3 {
        font-size: 24px;
        margin: 0px auto 0 20px;
    }
}

.testi-tab .tab-menu {
    position: relative;
}
@media (max-width: 575.98px) {
    .testi-tab .tab-menu {
        overflow-x: auto;
        scroll-behavior: smooth;
    }
    .testi-tab .tab-menu::-webkit-scrollbar {
        height: 0;
        width: 0;
    }
}
.testi-tab .tab-menu .mob-active-tab {
    font-size: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #909090;
    position: relative;
}
.testi-tab .tab-menu .mob-active-tab:after {
    position: absolute;
    content: "";
    border-left: 1px solid #B11116;
    border-bottom: 1px solid #B11116;
    width: 10px;
    height: 10px;
    right: 10px;
    top: calc(50% - 18px);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
}
.testi-tab .tab-menu ul {
    padding: 0;
    margin: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.testi-tab .tab-menu li {
    list-style: none;
    padding-right: 80px;
}
@media (max-width: 1199.98px) {
    .testi-tab .tab-menu li {
        padding-right: 50px;
    }
}
.testi-tab .tab-menu li:nth-child(1) .nav-link {
    padding-left: 0;
}
.testi-tab .tab-menu a {
    border: none;
    font-size: 30px;
    color: #BDBDBD;
    font-weight: 300;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
@media (max-width: 1599.98px) {
    .testi-tab .tab-menu a {
        font-size: 25px;
    }
}
@media (max-width: 767.98px) {
    .testi-tab .tab-menu a {
        font-size: 22px;
        white-space: nowrap;
    }
}
.testi-tab .tab-menu a.active, .testi-tab .tab-menu a:hover {
    color: #B11116;
}
.testi-tab .tab-box {
    display: none;
}
@media (max-width: 480px) {
    .testi-tab .tab-box .btn {
        display: block;
    }
}

.testi-vdo-list .item {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 60px;
}
@media (max-width: 1599.98px) {
    .testi-vdo-list .item {
        padding-left: 15px;
        padding-right: 15px;
    }
}
@media (max-width: 767.98px) {
    .testi-vdo-list .item {
        margin: 20px 0;
    }
}
.testi-vdo-list figure {
    padding-bottom: calc((240 / 427) * 100%);
    position: relative;
    overflow: hidden;
}
.testi-vdo-list figure img {
    position: absolute;
    height: 100%;
    width: 100%;
    max-width: 100% !important;
}
.testi-vdo-list figure:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}
.testi-vdo-list figcaption {
    font-size: 17px;
    font-weight: 300;
    padding: 25px 0 25px 0;
    color: #1C1C1C;
}
@media (max-width: 767.98px) {
    .testi-vdo-list figcaption {
        font-size: 14px;
        padding-top: 10px;
    }
}
.testi-vdo-list h5 {
    font-size: 16px;
    font-weight: 400;
    color: #1C1C1C;
    margin-bottom: 15px;
}
@media (max-width: 767.98px) {
    .testi-vdo-list h5 {
        font-size: 14px;
    }
}
.testi-vdo-list h6 {
    font-size: 14px;
    color: #1C1C1C;
    opacity: 0.5;
}
@media (max-width: 767.98px) {
    .testi-vdo-list h6 {
        font-size: 12px;
    }
}

.testimon-box-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.testimon-box-wrap .testimon-box {
    padding: 50px 40px;
    border: 1px solid #DCDBE3;
    margin-right: 5%;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
    max-width: 30%;
    margin-bottom: 55px;
}
@media (max-width: 1599.98px) {
    .testimon-box-wrap .testimon-box {
        padding: 30px;
    }
}
@media (max-width: 991.98px) {
    .testimon-box-wrap .testimon-box {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 48%;
        flex: 0 0 48%;
        max-width: 48%;
        margin-right: 4%;
        margin-bottom: 40px;
    }
}
@media (max-width: 767.98px) {
    .testimon-box-wrap .testimon-box {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        margin: 20px 0px;
        padding: 40px 20px;
    }
}
.testimon-box-wrap .testimon-box:nth-child(3n) {
    margin-right: 0;
}
@media (max-width: 991.98px) {
    .testimon-box-wrap .testimon-box:nth-child(3n) {
        margin-right: 4%;
    }
}
@media (max-width: 991.98px) {
    .testimon-box-wrap .testimon-box:nth-child(2n) {
        margin-right: 0;
    }
}
.testimon-box-wrap .testimon-box p {
    font-size: 14px;
    font-weight: 300;
    /* padding-bottom: 10px; */
}
.testimon-box-wrap .testimon-box a {
    font-weight: 400;
}
.testimon-box-wrap .testimon-box h5 {
    font-size: 16px;
    padding-bottom: 5px;
}
.testimon-box-wrap .testimon-box h6 {
    color: #B11116;
    font-size: 14px;
    margin: 0;
}

/*Pop ups*/

.testimon-popup .modal-dialog {
    max-width: 820px;
    width: 90%;
}
@media (max-width: 767.98px) {
    .testimon-popup .modal-dialog {
        width: 100%;
        margin: 0;
    }
}
.testimon-popup .modal-dialog .modal-content {
    border-radius: 0;
    border: 0;
}
.testimon-popup .modal-dialog .modal-body {
    padding: 55px 70px;
}
@media (max-width: 1199.98px) {
    .testimon-popup .modal-dialog .modal-body {
        padding: 50px;
    }
}
@media (max-width: 767.98px) {
    .testimon-popup .modal-dialog .modal-body {
        padding: 55px 20px;
    }
}
.testimon-popup .modal-dialog .modal-body p {
    font-size: 14px;
    font-weight: 300;
    padding-bottom: 10px;
}
.testimon-popup .modal-dialog .modal-body p:nth-last-child(1) {
    margin: 0;
    padding: 0;
}
.testimon-popup .modal-dialog .modal-body h5 {
    font-size: 16px;
    padding-bottom: 5px;
}
.testimon-popup .modal-dialog .modal-body h6 {
    color: #B11116;
    font-size: 14px;
    padding-bottom: 15px;
}
@media (max-width: 991.98px) {
    .testimon-popup .modal-dialog .modal-body .row {
        display: block;
    }
}
.testimon-popup .modal-dialog .modal-body .pop-cont-box {
    max-height: 460px;
    overflow-y: auto;
    padding-right: 25px;
}
@media (max-width: 767.98px) {
    .testimon-popup .modal-dialog .modal-body .pop-cont-box {
        max-height: auto;
        padding-right: 0;
        overflow: hidden;
    }
}
.testimon-popup .modal-dialog .modal-body .pop-cont-box::-webkit-scrollbar {
    width: 2px;
}
.testimon-popup .modal-dialog .modal-body .pop-cont-box::-webkit-scrollbar-track {
    background-color: #ffffff;
}
.testimon-popup .modal-dialog .modal-body .pop-cont-box::-webkit-scrollbar-thumb {
    background: #DEDEDE;
}
.testimon-popup .modal-dialog .close {
    position: absolute;
    right: 35px;
    top: 35px;
    z-index: 1;
    max-width: 21px;
}
@media (max-width: 1199.98px) {
    .testimon-popup .modal-dialog .close {
        right: 20px;
        top: 20px;
    }
}
@media (max-width: 767.98px) {
    .testimon-popup .modal-dialog .close {
        right: 25px;
        top: 25px;
    }
}


@media (min-width: 992px) {
    .property-filter-testimonial{
        justify-content: flex-start;
    }
    .property-filter-testimonial .home-select-box{
        margin-right: 45px;
    }
}