﻿.life-at-vti {
    position: relative;
    margin: 0 auto;
    width: 100%;
}
#members .header-title {
    display: flex;
    margin-bottom: 80px;
    /*height: 8.2%;
    min-height: 118px;*/
    background: linear-gradient(to right, #2772fa, #020483);
}

    #members .header-title img {
        margin-left: 20px;
        height: 100px;
        padding: 20px 10px;
    }

    #members .header-title h1 {
        margin: auto 0;
        text-align: justify;
    }
#members-mb .header-title {
    display: flex;
    margin-bottom: 93px;
    height: 8.2%;
    min-height: 118px;
    background: linear-gradient(to right, #2772fa, #020483);
}

    #members-mb .header-title img {
        padding: 10px;
    }

    #members-mb .header-title h1 {
        margin: auto 0;
        text-align: justify;
    }

.members {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 50px;
    margin-bottom: 30px;
    padding: 0 120px;
}
.image-member:hover .member-image {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.member-image {
    transition: transform 0.3s ease;
}
.members-home{
    /*width: 80%;
    margin: 0 auto;*/
}
    .members-home .row {
        justify-content: space-between;
        /*row-gap: 55px;*/
        /*margin-bottom: 30px;*/
    }

.member {
    /*padding-inline: 80px;*/
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.frame-member {
    max-width: 80%;
    display: block;
    margin: 0 auto;
    top: 35px;
    left: 0;
    right: 0;
}
.member-image {
    position: relative;
    z-index: 999;
    max-width: 80%;
    display: block;
    margin: 0 auto;
    cursor: pointer;
}
.member h5 {
    z-index: 1000;
    /*font-size: 24px;*/
    padding: 10px;
    background-image: linear-gradient(90deg, rgba(122, 228, 149, 1) 0%, rgba(255, 219, 75, 1) 100%);
    position: relative;
    flex-grow: 1;
}
.member p {
    margin: 0;
    min-height: 48px;
}
.modal {
    background-color: rgba(239, 239, 238, 0.6);
}
.modal-content {
    background: #ffffff !important;
}
.modal-body {
    display: block;
    justify-content: center;
    overflow-y: scroll;
    max-height: 588px;
    background: #efefee;
}
.modal-dialog {
    max-width: 1110px;
    min-height: calc(100%);
}
.modal-dialog .modal-content {
    padding: 0 !important;
}
    .modal-dialog .modal-content .close {
        background: transparent !important;
        z-index: 1000;
    }
.modal-type-1 {
    padding-right: 0 !important;
}
.btn-close-member {
    right: 20px;
    top: 20px;
    color: #272e4e;
}
.modal-body .row {
    padding: 80px;
    max-width: 1110px;
}
.member-modal-body .row {
    display: flex;
    width: 100%;
    gap: 80px;
    margin-left: 0;
}
.frame-member2 {
    max-width: 100%;
}

.member-image2 {
    position: relative;
    z-index: 999;
    max-width: 100%;
}
.modal-body.member-modal-body {
    /*display: flex;*/
    overflow-y: hidden;
    padding: 0;
}
.member-2 {
    display: flex;
    width: 100%;
    gap: 20px;
}

    .member-2 .col-info-type-1 {
        flex: 1;
        /*overflow-y: auto;
        max-height: 500px;*/
        padding-right: 10px;
    }
.modal-scrollable1 {
    overflow-y: scroll;
    /*scrollbar-width: none;*/ /* Firefox */
    /*-ms-overflow-style: none;*/ /* IE, Edge cũ */
    flex-grow: 1;
    max-height: 300px;
    padding-right: 8px;
}
.member-2 h2 {
    font-size: 24px;
    padding: 10px;
    background-image: linear-gradient(90deg, rgba(122, 228, 149, 1) 0%, rgba(255, 219, 75, 1) 100%);
    position: relative;
}
.member-speech {
    font-size: 24px;
    font-weight: 700;
}
.divider-member {
    border: 1px solid #272e4e;
    margin-bottom: 20px;
}

.img-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.bg-shape {
    position: absolute;
    width: 90%;
    z-index: 1;
}

.avatar {
    width: 50%;
    height: auto;
    border-radius: 8px;
    z-index: 2;
    position: relative;
}
.info {
    width: 100%;
    text-align: right;
    margin-right: 50px;
    z-index: 3;
}

    .info .name {
        margin:0 0 19px 73px;
        font-weight: 900;
        color: #272e4e;
        font-size: 25.9221px;
        line-height: 36px;
        text-align: right;
        background: linear-gradient(to right, #A8E063 0%, #FAD961 100%);
        padding: 2.67% 4.46%;
        display: inline-block;
    }

    .info .position {
        margin: 0;
        font-weight: 700;
        color: #272e4e;
        line-height: 28px;
        font-size: 20.5138px;
        text-align: right;
    }

.btn-container-life {
    display: flex;
    justify-content: center;
}

.btn-more-info-life {
    text-align: center;
    width: 400px;
    padding: 15px 0;
    border-radius: 100px;
    /*font-size: 26.6667px;
    line-height: 37px;*/
    font-weight: 700;
    background-color: transparent;
    color: #272e4e;
    border: 2px solid #272e4e;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    transition: background-color 0.3s ease;
    margin: 80px 0 100px;
}

    .btn-more-info-life .btn-arrow {
        width: 100px;
        transform: scaleX(1.5);
        font-weight: 700;
        margin-left: 10px;
        /*margin-right: 44px;*/
        /*font-size: 24px;
        top: 5px;*/
        position: relative;
    }

    .btn-more-info-life:hover {
        background-color: #ffffff;
        text-decoration: none;
        color: #0c41be;
    }

    .life-at-vti .header p{
        font-size: 20px;
    }


/*@media (max-width: 575px) {
    .members {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0;
    }
    .btn-more-info-life {
        padding: 25px 0 25px 25px;
    }

        .btn-more-info-life .btn-arrow {
            margin-left: 25px;
            margin-right: 25px;
            top: 0;
        }
}*/
    .life-at-vti .slider-container .row {
        margin: 0 auto;
        width: 85%;
        overflow: hidden;
        opacity: 1;
        display: none;
    }

    .life-at-vti .slider-container .active-left {
        position: relative;
        display: flex !important;
        animation: active-left .5s ease-in-out;
    }

    .life-at-vti .slider-container .active-right {
        position: relative;
        display: flex !important;
        animation: active-right .5s ease-in-out;
    }

    .life-at-vti .slider-container .in-active-left {
        position: relative;
        display: flex !important;
        animation: in-active-left .5s ease-in-out;
    }

    .life-at-vti .slider-container .in-active-right {
        position: relative;
        display: flex !important;
        animation: in-active-right .5s ease-in-out;
    }
.life-at-vti .header h1 {
    text-transform: uppercase;
    margin-bottom: 10px;
}

.life-at-vti .content-container {
    padding: 30px 20px;
    background-color: white;
    border-radius: 16px;
}

.left-tab {
    display: grid;
    border-right: 2px dashed #DAE2EE;
}

.left-tab button {
    border-radius: 0;
    font-size: 18px;
    border-radius: 10px;
    text-align: left;
    border: none;
    background: unset;
    color: #272E4E;
    padding: 20px;
    max-width: 550px;
    clip-path: polygon( 0 0, 0 0, 0 100%, calc(100% - 40px) 100%, 100% 50%, calc(100% - 40px) 0 );
}

.left-tab button svg {
    width: 20px;
    margin-right: 20px;
}

.left-tab button:hover {
    background: linear-gradient(90deg, #0873D6 0%, #0835D6 100%);
    color: #fff;
}
.active-btn {
    background: linear-gradient(90deg, #0873D6 0%, #0835D6 100%) !important;
    color: #fff !important;
}
.active-icon path{
    fill: #fff;
}
.left-tab hr{
    width: 100%;
    border-top: 2px dashed #DAE2EE;
}
.life-at-vti .right-modal {
    padding: 0 30px;
    overflow: hidden;
}
.life-at-vti-content {
    text-align: center;
    display: none;
    max-height: 570px;
    -webkit-transition: all .3s ease;
}
.life-at-vti-content > img{
    margin-bottom: 10px;
}
.life-at-vti-content p{
}
.life-at-vti-content h5{
}
    .life-at-vti-content img {
        max-height: 340px;
        border-radius: 16px;
    }

@keyframes active-left {
    0% {
        opacity: 0;
        /*        left: calc(100vh);*/
    }

    100% {
        opacity: 1;
        /*        left: 0;*/
    }
}

@keyframes active-right {
    0% {
        opacity: 0;
        /*        left: calc(100vh*(-1));*/
    }

    100% {
        opacity: 1;
        /*        left: 0;*/
    }
}

@keyframes in-active-left {
    0% {
        opacity: 1;
        /*        left: 0;*/
    }

    100% {
        opacity: 0;
        /*        left: calc(100vh*1.5*(-1));*/
    }
}

@keyframes in-active-right {
    0% {
        opacity: 1;
        /*        left: 0;*/
    }

    100% {
        opacity: 0;
        /*        left: calc(100vh*1.5);*/
    }
}

.life-at-vti .slider-container .slider-img {
    padding: 0;
}

.bottom-body {
    margin: 25px 0;
}

    .bottom-body ul {
        margin: 0 auto;
        padding: 0;
        width: 85%;
    }

.life-at-vti .slider-img img, .img-preview img {
    width: 100%;
}

.life-at-vti .img-preview {
    margin-bottom: 10px;
}

    .life-at-vti .img-preview img {
        cursor: pointer;
        opacity: 0.5;
        border-radius: 50%;
        padding: 5px;
    }

.life-at-vti .opacity-off .img-preview img {
    border: solid 2px #7091c1;
}

.life-at-vti .opacity-off img {
    opacity: 1 !important;
}

.life-at-vti .opacity-off .title-preview {
    color: #dd9d11;
}

.life-at-vti .slide-content {
    padding: 4% 4% 0 4%;
    color: #fff;
}

.life-at-vti .slider-content-pdg-adjust {
    padding-top: 3%;
}

.life-at-vti .slide-content .slider-title {
    font-size: 28px;
    font-weight: 500;
}

.life-at-vti .title-preview {
    font-size: 1.2em;
    font-weight: 500;
    color: #2a3d75;
}

.life-at-vti .nar-arrow {
    cursor: pointer;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 7.5%;
    padding: 24% 0;
    opacity: 0.7;
}

    .life-at-vti .nar-arrow:hover {
        opacity: 1;
    }

    .life-at-vti .nar-arrow .arrow-container {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        color: #fff;
        text-align: center;
        line-height: 35px;
        background-color: #353535 !important;
    }

    .life-at-vti .nar-arrow:first-child .arrow-container {
        float: left;
    }

    .life-at-vti .nar-arrow:last-child .arrow-container {
        float: right;
    }

    .life-at-vti .nar-arrow img {
        width: 16px;
        height: auto;
    }

.life-at-vti .nar-arrow-left {
    left: 0;
}

.life-at-vti .nar-arrow-right {
    right: 0;
}

.more {
    color: #7f7f7f;
    grid-column-start: 2;
    font-style: italic;
    float: right;
    font-size: 15px;
}

.see-more {
    height: 20px;
}

.see-less {
    width: 20px;
    display: none;
}

@media (max-width: 1024px) {

    .slick-dots li button:before{
        font-size: 0;
    }

    .is-mobile .life-at-vti .slider-nav {
        display: none;
    }

    .slick-dots{
        position: unset;
        margin-top: 10px;
    }

    .life-at-vti .sec-container{
    }

    .life-at-vti .slider-for .row {
        margin-right: 0;
        margin-left: 0;
    }

    .life-at-vti .slick-track{
        display: flex;
    }

    .life-at-vti .slick-slide {
        display: flex;
        height: auto;
        align-items: center;
        justify-content: center;
    }

    .life-at-vti .slide-content .slider-title {
        font-weight: 500;
    }

    .life-at-vti .slider-item {
        justify-self: center;
        overflow: hidden;
        position: relative;
        width: 100%;
        height: 37vh;
        background-color: rgba(0, 0, 0, 0.30);
        border-radius: 16px;
    }

    .life-at-vti .slider-img {
        pointer-events: none;
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: -1;
    }

    .life-at-vti .slider-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .life-at-vti .slide-content {
        padding: 40px 40px 40px 40px;
        height: 100%;
        color: #fff;
        font-size: 16px;
        display: flex;
        align-items: end;
    }

    .life-at-vti .slider-item {
        position: relative;
    }
        .life-at-vti .slider-item .slide-content-wrapper {
            overflow: auto;
            width: 100%;
            height: 100%;
            transition: height 0.5s ease;
        }
            .life-at-vti .slider-item .slide-content-wrapper.collapsed {
                height: 120px;
            }
        

    .life-at-vti .slider-item .collapse-toggle {
        width: 100%;
        display: block;
        text-align: center;
        margin: 0 auto;
        position: absolute;
        bottom: 10px;
        left: 0;
    }
    .life-at-vti .slider-item .collapse-toggle img {
        width: 30px;
    }

        .life-at-vti .slider-item .collapse-toggle a {
            cursor: pointer;
            display: inline-flex;
            align-items: center;
        }
    .life-at-vti .slide-content .slider-description {
    }
    .life-at-vti .slick-dots {
        display: flex;
        justify-content: center;
    }

        .life-at-vti .slick-dots button {
            border-radius: 50%;
            margin: 10px;
            font-size: 0;
            background-color: #005ba2;
            opacity: 0.5;
            border: none;
        }

    .life-at-vti .slick-dots li.slick-active button {
        opacity: 1;
    }
 
}
@media (max-width: 767px) {
    .members-home > .row > .member:nth-of-type(n+7),
    .members-home > .row ~ .row > .member {
        display: none !important;
    }
    .btn-more-info-life {
        width: 100% ;
        margin: 40px 0 50px;
    }

    .btn-more-info-life .btn-arrow {
        
    }
    .modal-body.member-modal-body {
        overflow-y: scroll;
        overflow-x: hidden;
    }
    .member-2 .col-info-type-1 {
        overflow-y: hidden;
        max-height: max-content;
        padding: 0;
    }
    #members .header-title {
        margin-bottom: 40px;
    }
        #members .header-title img {
            margin-left: 0;
            padding: 10px 5px;
        }
    .btn-container-life {
        margin-right: 15px;
        margin-left: 15px;
    }
    .members-home {
        padding: 0 80px;
    }
    .member{
        padding: 0;
    }
    .modal-scrollable1 {
        overflow: visible;
        max-height: none;
    }
    .modal-dialog .modal-content .close {
        height: 0;
    }
        .modal-body .row {
        padding: 40px 20px;
    }
    .shape-bg {
        bottom: 0px;
    }
    .modal .text-uppercase {
        margin-bottom: 20px;
    }
}

/*@media (max-width: 1024px) and (min-width: 728px) {

    .life-at-vti .sec-container .slider-for{
        margin: 0 30px;
    }

    .life-at-vti .slide-content .slider-title {
        font-size: 4vw;
    }

    .life-at-vti .slide-content .slider-description{
        font-size: 20px;
    }

    .more {
        font-size: 3vw;
    }

    .life-at-vti .slick-dots li button {
        width: 20px;
        height: 20px;
    }
}*/

/*@media (max-width: 727px) and (min-width: 376px) {

    .life-at-vti .slick-dots li button {
        width: 15px;
        height: 15px;
    }
    .more {
        font-size: 3vw;
    }

}

@media (max-width: 575px) {
    .life-at-vti .slide-content {
        padding: 20px 20px 20px 20px;
    }
    .life-at-vti .sec-container {
        margin-bottom: 20px;
        padding: 0;
    }
    .btn-container-life {
        margin: 0;
    }
}
@media (max-width: 375px) {

    .life-at-vti .sec-container {
        margin-bottom: 10px;
    }

    .life-at-vti .slick-dots li button {
        width: 10px;
        height: 10px;
    }
}*/
