.tab-block {
    position: relative;
}

.tab-block__top-content {
    margin-bottom: 40px;
}

.tab-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

p.tab-text-color {
    color: #054174;
}

.tab-block .container {
    position: relative;
    z-index: 3;
}

.tab-nav-wrap::before {
    content: "";
    position: absolute;
    left: -22px;
    bottom: 2px;
    width: calc(100% + 44px);
    height: 5px;
    background: #DDDDDD;
}

.tab-nav-item {
    display: flex;
    align-items: center;
    min-height: 60px;
}

.tab-nav-wrap h4 {
    margin: 0;
    padding: 0 0 20px 0;
    color: #054174;
    font-size: 20px;
    line-height: 1.29em;
    font-weight: 500;
    text-align: center;
    position: relative;
    font-family: "Exo 2", sans-serif;
    cursor: pointer;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
}

.tab-nav-wrap .slick-current h4 {
    font-weight: 700;
}

.tab-nav-wrap .slick-current h4::before {
    content: "";
    position: absolute;
    left: 0px;
    bottom: 1.5px;
    width: 100%;
    height: 8px;
    background: #00569F;
}

.tab-content {
    padding: 20px 0 0;
}

.tab-content__image {
    width: 248px;
    margin: 0 auto;
    position: relative;
    padding: 7px 10px;
}

.tab-content__image img {
    max-width: 200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    object-fit: contain;
}

.tab-content__image::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0;
    width: 100%;
    height: calc(100% - 48px);
    border: 2px solid rgba(35, 52, 92, 0.25);
    border-radius: 22px;
    z-index: 0;
}

.tab-content__text {
    position: relative;
    margin-top: 22px;
}

.tab-content__text h3 {
    margin: 0 0 25px;
    padding: 0;
    color: #00569F;
    font-size: 25px;
    line-height: 1.4em;
    font-weight: 500;
    font-family: "Exo 2", sans-serif;
}

.tab-content__text p {
    font-size: 18px;
    line-height: 1.44em;
}

.tab-content__text--wrap p {
    font-size: 16px;
    line-height: 1.58em;
}

.tab-content__text--wrap p a {
    color: #525252;
}

.tab-content__text--wrap p a.btn {
    color: #fff;
}

.tab-for-wrap .slick-slide {
    vertical-align: top;
}

.tab-btn {
    text-align: center;
}

.tab-nav-wrap {
    padding-left: 65px;
    padding-right: 65px;
}

.tab-nav-wrap .slick-arrow {
    bottom: 4px;
}

.tab-nav-wrap .slick-arrow::before {
    font-size: 41px;
}

.tab-nav-wrap .slick-prev {
    left: 0;
    margin-left: 0px;
}

.tab-nav-wrap .slick-next {
    right: 0;
    margin-right: 0px;
}

.tab-content__text ul:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .tab-block--homepage {
        padding-top: 80px;
    }
    .tab-block__top-content {
        margin-bottom: 35px;
    }
    .tab-nav-wrap::before {
        left: 0px;
        width: 100%;
    }
    .tab-content {
        padding: 42px 0 0;
    }
    .tab-content__image {
        width: 225px;
        padding: 7px 10px;
    }
    .tab-content__image img {
        max-width: 200px;
    }
    .tab-content__text {
        margin-top: 10px;
    }
    .tab-content__text h3 {
        margin: 0 0 18px;
    }
    .tab-content__text ul {
        margin-bottom: 45px;
    }
    .tab-btn {
        text-align: left;
    }
    .tab-for-wrap {
        padding-bottom: 0;
    }
    .tab--listing .tab-nav-wrap {
        padding-left: 40px;
        padding-right: 40px;
    }
    .tab-nav-wrap .slick-slide {
        margin: 0 8px;
    }
}

@media (min-width: 1200px) {
    .tab-block--homepage {
        padding-top: 86px;
    }
    .tab-block__top-content {
        margin-bottom: 32px;
    }
    .tab-nav-item {
        min-height: 70px;
    }
    .tab-nav-wrap h4 {
        padding: 0 0 18px 0;
        font-size: 22px;
    }
    .tab-content__reverse {
        flex-direction: row-reverse;
    }
    .tab-content {
        padding: 32px 0 0;
    }
    .tab-content__image.fit-tab-image img {
        max-width: 256px;
    }
    .tab-content__image {
        width: 507px;
        margin: 0 0 0 auto;
        padding: 37px 10px 0;
    }
    .tab-content__left .tab-content__image {
        margin-inline: auto;
    }
    .tab-form-image.tab-content__left {
        flex-direction: row-reverse;
    }
    .tab-form-image.tab-content__reverse {
        flex-direction: row;
    }
    .tab-content__image img {
        max-width: none;
        position: relative;
        z-index: 1;
        min-height: 300px;
        width: 100%;
        height: 100%;
    }
    .tab-content__image::before {
        height: calc(100% - 90px);
    }
    .tab-content__text {
        margin-top: 0;
    }
    .tab-content__text h3 {
        margin: 0 0 24px;
        font-size: 35px;
        line-height: 1.29em;
    }
    .tab-content__text p {
        font-size: 16px;
        margin-bottom: 26px;
    }
    .tab-content__text ul {
        max-width: 505px;
    }
    .tab-content .row .col-lg-12>.tab-content__text ul {
        max-width: unset;
    }
    .tab-content__text ul.list--two-columns {
        max-width: none;
    }
    .tab-btn {
        text-align: left;
    }
    .tab-for-wrap {
        padding-bottom: 0;
    }
    .tab-nav-wrap {
        padding-right: 80px;
        padding-left: 0;
    }
    .tab-nav-wrap .slick-arrow {
        bottom: 15px;
    }
    .tab-nav-wrap .slick-next {
        right: -50px;
        margin-right: 0;
    }
    .tab-nav-wrap .slick-prev {
        left: -50px;
        margin-left: 0;
    }
    .tab-nav-wrap .slick-arrow::before {
        font-size: 50px;
    }
    .tab__listing .tab-nav-wrap h4 {
        padding-left: 20px;
        padding-right: 20px;
    }
    .tab__listing .tab-nav-wrap .slick-slide {
        margin: 0 0;
    }
}

@media (min-width: 1300px) {
    .tab-nav-item {
        min-height: 75px;
    }
    .tab-nav-wrap h4 {
        font-size: 25px;
    }
}

@media (min-width: 1600px) {
    .tab-nav-item {
        min-height: 80px;
    }
    .tab-nav-wrap h4 {
        font-size: 29px;
        padding-bottom: 20px;
    }
    .tab-nav-wrap {
        padding-right: 0px;
    }
    .tab-nav-wrap .slick-slide {
        margin: 0 8px;
    }
    .tab__listing .tab-nav-wrap {
        padding-right: 0;
    }
    .tab__listing .tab-nav-wrap h4 {
        padding-left: 60px;
        padding-right: 60px;
    }
}


/*  */

.js-tab-for-1 .tab-content__text ul {
    max-width: 100%;
}

.tab-form-image__form label {
    color: #004885;
    margin-bottom: 3px;
}

.tab-form-image__form {
    max-width: 608px;
    margin: 0 auto;
}

.tab-block--pattern {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.tab-block--pattern:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 414px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    z-index: 2;
}

.tab-block--pattern:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 375px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    z-index: 2;
}

.tab-main-form {
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .js-tab-nav-1.tab-nav-wrap {
        padding-left: 40px;
        padding-right: 40px;
    }
    .tab-block--form .tab-content {
        padding: 24px 0 0;
    }
}

@media (min-width: 1200px) {
    .js-tab-nav-1.tab-nav-wrap {
        padding-left: 0;
        padding-right: 0;
    }
    .js-tab-nav .slick-list.draggable {
        margin-inline: auto;
    }
    .js-tab-nav.tab-nav-wrap:has(.slick-slide:nth-child(2):last-child) {
        padding-right: 0;
        margin-left: 8%;
    }
    .js-tab-nav-1.tab-nav-wrap .slick-slide {
        margin: 0;
    }
    .tab-form-image {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 60px;
    }
    .tab-form-image__form {
        max-width: 608px;
        margin: 0;
    }
    .tab-form-image__image {
        position: relative;
        width: 485px;
        height: 450px;
        z-index: 1;
        margin: 0 auto;
    }
    .tab-form-image__image:after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        border-radius: 22px;
        border: 2px solid rgba(35, 52, 92, 0.25);
        z-index: -1;
    }
    .tab-form-image__image__wrapper {
        position: absolute;
        top: -68px;
        left: -23px;
        border-radius: 22px;
        overflow: hidden;
        width: 461px;
        height: 435px;
    }
    .tab-block--form .tab-content {
        padding: 37px 0 0;
    }
    .tab-nav-wrap:not(:has(.slick-arrow)) .slick-track {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100% !important;
    }
    .tab-nav-wrap:not(:has(.slick-arrow)) .slick-track .slick-slide {
        width: 100% !important;
    }
    .js-tab-for-2.tab-for-wrap .tab-content {
        padding: 60px 76px 0;
    }
    .js-tab-for-2.tab-for-wrap .tab-content p {
        margin: 0 0 15px;
    }
    .js-tab-for-2.tab-for-wrap .tab-content p:last-child {
        margin: 0;
    }
    .tab-content__text--wrap p {
        font-size: 16px;
        line-height: 1.58em;
    }
    .tab-block--pattern:after {
        height: 250px;
    }
    .tab-block--pattern:before {
        height: 236px;
    }
}

@media(min-width: 1500px) {
    .tab-form-image {
        gap: 110px;
    }
}


/* Multiple images styles */

.two-wrap-image {
    display: flex;
    gap: 15px;
}

.wysiwyg__multiple-images-template-1 .caption {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 30px;
}

.col-lg-10:has(.wysiwyg__multiple-images-template-1),
.col-lg-10:has(.wysiwyg__multiple-images-template-2),
.col-lg-10:has(.wysiwyg__multiple-images-template-3) {
    width: 100%;
}

.wysiwyg__multiple-images-template-2__image-1 {
    display: flex;
    gap: 15px;
    flex-direction: column;
    margin-bottom: 30px;
}

.wysiwyg__multiple-images-template-3 .images-wrap {
    margin-bottom: 30px;
}

.wysiwyg__multiple-images-template-3 .caption-wrap {
    display: flex;
    align-content: center;
    flex-wrap: wrap;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .two-wrap-image {
        width: 50%;
    }
}

@media(max-width: 600px) {
    .two-wrap-image {
        flex-direction: column;
    }
}


/* Country Select */

ul.country-list li:before {
    display: none;
}

.country-list .country-name {
    display: none;
}

.country.preferred+.divider {
    display: none;
}

.country-list li.country {
    padding: 0px 10px;
}

div.form-col__country-select span:after {
    display: none;
}

.wpcf7-countrytext {
    background: transparent;
    border: none;
}

.intl-tel-input.separate-dial-code div.selected-flag {
    background-color: transparent;
}

.intl-tel-input .selected-flag div.iti-arrow {
    right: 3px;
}

.form-col__country-select input.phone-number {
    padding-left: 60px !important
}
.tab-hidden-preload {
    display: none !important;
}

.js-tab-for .slick-list {
    transition: height 0.3s ease;
}