.tab_images {
    padding: 80px 0;
}

.tab_images .container {
    max-width: 1310px;
    margin: 0 auto;
    padding: 0 15px;
}

.tab_images .container-inner {
    padding: 80px;
    background: #F8F7FF;
    border-radius: 32px;
}

.tab_images article {
    font: 400 20px/32px 'Montserrat';
    color: #5D5E67;
    max-width: 500px;
    margin-bottom: 50px;
}

.tab_images .link-btn {
    display: inline-block;
    color: #fff;
    font: 600 18px/24px 'Montserrat';
    padding: 12px 24px;
    background: #259CD7;
    border-radius: 4px;
}

.tab_images .link-btn:hover {
    background: #1176A8;
}

.tab_images .tabs-area {
    margin-top: 50px;
}

/*.tab_images .tabs-area .tabs-buttons{
width:calc(33.3% - 15px);
}*/
.tab_images .tabs-area .tabs-buttons ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.tab_images .tabs-area .tabs-buttons ul:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 8px;
    background: #fff !important;
    border-radius: 4px;
}

.tab_images .tabs-area .tabs-buttons ul li {
    padding-left: 16px;
    /*border-left:8px solid #fff;*/
    position: relative;
    cursor: pointer;
}

.tab_images .tabs-area .tabs-buttons ul li span {
    font: 500 16px/26px 'Montserrat';
    color: #5D5E67;
    display: inline-block;
    padding: 6px 25px;
}

.tab_images .tabs-area .tabs-buttons ul li.active span,
.tab_images .tabs-area .tabs-buttons ul li:hover span {
    background: #fff;
    color: #259CD7;
}

.tab_images .tabs-area .tabs-buttons ul li.active span {
    font-weight: 700;
}

.tab_images .tabs-area .tabs-buttons ul li.active:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 8px;
    background: #259CD7;
    border-radius: 4px;
}

.tab_images .tabs-area .flex-container {
    display: flex;
    justify-content: space-between;
}

.tab_images .tabs-area .tabs-images {
    width: calc(70% - 15px);
    margin-top: -20px;
}

.tab_images .tabs-area .tabs-images img {
    width: 100%;
}

.tab_images .tabs-area .tabs-images .img {
    display: none;
}

.tab_images .tabs-area .tabs-images .img:first-child {
    display: block;
}

.tab_images.with-tooltip .container-inner {
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.tab_images.with-tooltip h2 {
    max-width: 640px;
}

.tab_images.with-tooltip .tabs-area .tabs-images .img {
    position: relative;
}

.tab_images.with-tooltip .tabs-area .tabs-images .img:before {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    top: -140px;
    bottom: 70px;
    width: calc(100% - 90px);
    background: #F8F7FF;
    border-radius: 32px;
}

.tab_images.with-tooltip .tabs-area .tabs-images img {
    max-width: 100%;
    position: relative;
}

.tab_images:not(.with-tooltip) .tabs-area .tabs-images .img .txt {
    display: none;
}

.tab_images.with-tooltip .tabs-area .tabs-images .img .txt {
    position: absolute;
    right: 80px;
    bottom: 100%;
    font-size: 16px;
    line-height: 26px;
    max-width: 515px;
    z-index: 1;
}

.tab_images.with-tooltip .tabs-area .tabs-images .img .txt .txt-inner {
    padding: 20px 30px;
    background: #fff;
    box-shadow: 0px 2px 14px rgb(7 11 94 / 22%);
    border-radius: 16px;
    position: relative;
}

.tab_images.with-tooltip .tabs-area .tabs-images .img .txt:before,
.tab_images.with-tooltip .tabs-area .tabs-images .img .txt:after {
    content: "";
    width: 20px;
    height: 20px;
    box-shadow: 0px 2px 14px rgb(7 11 94 / 22%);
    background: #fff;
    position: absolute;
    left: calc(50% - 20px);
    bottom: -10px;
    transform: rotateZ(45deg);
    pointer-events: none;
}

.tab_images.with-tooltip .tabs-area .tabs-images .img .txt:after {
    box-shadow: none;
}

/*Responsiveness*/
@media(max-width:1199px) {
    .tab_images .container-inner {
        padding: 50px;
    }

    .tab_images.with-tooltip .tabs-area .tabs-images .img .txt {
        right: 20px;
        max-width: 400px;
    }
}

@media(max-width: 998px) {
    .tab_images {
        padding: 50px 0;
    }

    .tab_images.with-tooltip .tabs-area .tabs-images .img .txt .txt-inner {
        padding: 10px 20px;
    }

    .tab_images .container {
        padding: 0 24px;
    }
}

@media(max-width:991px) and (min-width:768px) {
    .tab_images.with-tooltip .tabs-area {
        margin-top: 110px;
    }

    .tab_images article {
        max-width: 50%;
    }

    .tab_images.with-tooltip .tabs-area .tabs-images .img .txt {
        width: 47%;
    }
}

@media(max-width:767px) {
    .tab_images {
        padding: 25px 0;
    }

    .tab_images .container-inner {
        padding: 40px 25px;
    }

    .tab_images article {
        font-size: 16px;
    }

    .tab_images .link-btn {
        font-size: 18px;
    }

    .tab_images .tabs-area .flex-container {
        flex-direction: column-reverse;
    }

    .tab_images .tabs-area .tabs-images {
        width: 100%;
        margin-top: 0;
        margin-bottom: 10px;
    }

    .tab_images .tabs-area .tabs-buttons ul {
        white-space: nowrap;
        overflow-x: scroll;
        overflow-y: hidden;
        padding-top: 20px;
        transform: rotate(180deg);
        display: flex;
        flex-direction: row-reverse;
    }

    .tab_images .tabs-area .tabs-buttons ul:before {
        /* top:-16px; */
        left: 0;
        right: 0;
        width: 100%;
        height: 8px;
    }

    .tab_images .tabs-area .tabs-buttons ul li {
        display: inline-block;
        width: auto;
        transform: rotate(180deg);
        padding-top: 10px;
        padding-left: 0;
        margin-right: 5px;
    }

    .tab_images .tabs-area .tabs-buttons ul li span {
        padding: 5px 10px;
        font-size: 12px;
        position: relative;
        left: -5px;
    }

    .tab_images {
        overflow: hidden;
    }

    .tab_images .tabs-area .tabs-buttons ul li.active:before,
    .tab_images .tabs-area .tabs-buttons ul:before {
        display: none;
    }

    .tab_images .tabs-area .tabs-buttons ul::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: #fff;
    }

    .tab_images .tabs-area .tabs-buttons ul::-webkit-scrollbar {
        width: 5px;
        height: 8px;
        background-color: #F5F5F5;
    }

    .tab_images .tabs-area .tabs-buttons ul::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color: #259CD7;
    }

    .tab_images.with-tooltip .tabs-area .tabs-images .img .txt {
        position: relative;
        right: -40px;
        width: calc(100% - 50px);
        bottom: 10px;
    }

    .tab_images.with-tooltip .tabs-area .tabs-images .img:before {
        top: 100px;
        right: 30px;
        width: calc(100% - 50px);
    }
}
