.tab-select {
    background: #F7F9FB;
    padding: 48px 0;
}

.tab-select__tabs {
    position: relative;
    height: 52px;
}

.tab-select__nav {
    margin: 0 auto;
    background: #fff;
    position: absolute;
    width: 100%;
}

.tab-select__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #DCE1E5;
    padding: 0 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.tab-select__nav ul::after {
    content: '\e902';
    font-family: 'manhattan-icon';
    position: absolute;
    right: 0;
    top: 0;
    height: 50px;
    width: 50px;
    background: rgba(220,225,229,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #03396C;
}

.tab-select__nav ul.expanded::after {
    content: '\e905';
}

.tab-select__nav ul li {
    padding: 11px 64px 11px 15px;
    cursor: pointer;
    color: #23282D;
    border-top: 1px solid #DCE1E5;
    margin: 0;
    font-size: 16px;
    order: 1;
    text-transform: capitalize;
    position: relative;
    z-index: 1;
}


.tab-select__nav ul li::before {
    display: none;
}

.tab-select__nav ul li.active {
    border-top: none;
    order: 0;
}
  
.tab-select__nav ul li:not(.active) {
    position: absolute;
    top: -999em;
}

.tab-select__nav ul.expanded li.active:after {
    top: 1em;
}
  
.tab-select__nav ul.expanded li:not(.active) {
    position: relative;
    top: auto;
}

.tab-select__panel {
    /* display: none; */
    padding: 0 0 0 0;
    opacity: 0;
    transition: all 0.5s;
    max-height: 0;
    height: 0;
}

.tab-select__panel.current {
    /* display: block; */
    opacity: 1;
    max-height: 100%;
    height: auto;
    padding: 32px 0 0 0;
    
}


.tab-select__text {
    padding-bottom: 32px;
}

.tab-select__image {
    width: 100%;
    margin: 0 auto;
}

.tab-select__video {
    position: relative;
    height: 206px;
    
}

.tab-select__video img {
    box-shadow: 0 0 20px rgba(3,57,108,0.23);
    z-index: 1;
    position: relative;
}

.video-bttn {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(225,225,225,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}


.video-bttn svg {
    transition: all .3s;
}

.tab-select__bttn {
    position: relative;
    margin-top: -24.5px;
}

.tab-select__bttn .btn {
    z-index: 1;
    position: relative;
}

.tab-select__bttn svg {
    width: 278px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.tab-select__content h5 {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 3px 0;
    padding: 0;
    color: #6A6C6E;
}

.tab-select__text h3 {
    font-size: 22px;
    padding: 0;
    margin: 0 0 10px 0;
}

.tab-select__image.no-thumb .tab-select__video,
.tab-select__image.no-thumb .tab-select__bttn .video_angle{
    display: none;
}
.tab-select__image.no-thumb {
    width: 100%;
}


.tab-select__image.no-thumb .tab-select__bttn{
    margin-top: 20px;
}

@media (min-width: 768px) {
    .tab-select {
        padding: 64px 0 84px 0;
    }

    .tab-select__title {
       text-align: center;
       padding-bottom: 16px;
    }

    .tab-select__image {
        width: 432px;
    }
    
    .tab-select__video {
        height: 270px;
    }
    
    .tab-select__video img {
        box-shadow: 0 0 20px rgba(3,57,108,0.23);
    }
    
    .video-bttn {
        background: rgba(225,225,225,0.43);
    }
    
    .tab-select__bttn svg {
        width: 370px;
        margin-top: 4px;
        margin-left: -12px;
    }
    
    .tab-select__tabs {
        position: relative;
        height: auto;
    }
    
    .tab-select__nav {
        background: none;
        position: relative;
    }
    
    .tab-select__nav ul {
        border: none;
        border-bottom: 8px solid #DCE1E5;
        flex-direction: row;
        justify-content: center;
        overflow: visible;
    }
    
    .tab-select__nav ul::after {
        display: none;
    }

    .tab-select__nav ul li {
        padding: 0 10px 11px 10px;
        cursor: pointer;
        color: #6A6C6E;
        border-top: none;
        font-size: 18px;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: 800;
        text-align: center;
        flex: 1 1;
    }

    .tab-select__nav ul li::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 8px;
        left: 0;
        bottom: -8px;
        background: #0070B8;
        opacity: 0;
        transition: all 0.5s;
    }
    .tab-select__nav ul li.active::after {
        opacity: 1;
    }
    .tab-select__nav ul li::before {
        display: none;
    }

    .tab-select__nav ul li.active {
        border-top: none;
        order: 1;
        color: #005B96;
    }
      
    .tab-select__nav ul li:not(.active) {
        position: relative;
        top: auto;
    }
    
    .tab-select__nav ul.expanded li.active:after {
        top: auto;
    }
      
    .tab-select__nav ul.expanded li:not(.active) {
        position: relative;
        top: auto;
    }

}


@media (min-width: 1200px) {
    .tab-select {
        padding: 96px 0 64px 0;
    }

    .tab-select__container {
        max-width: 1048px;
        margin: 0 auto;
    }

    .tab-select__panel {
        padding-top: 0;
    }
    .tab-select__panel.current{
        padding-top: 78px;
    }

    .tab-select__wrap {
        display: flex;
        flex-wrap: wrap;
    }

    .tab-select__text {
        width: calc(100% - 444px);
        padding-bottom: 0;
        padding-right: 96px;
    }
    .tab-select__text.no-thumb
    {
        width: 100%;
        padding-right: 0;
    }

    .tab-select__text h3 {
        font-size: 26px;
    }

    .tab-select__image {
        width: 444px;
    }
    
    .tab-select__video {
        height: calc(100% - 30px);
    }
    

    .tab-select__tabs {
        margin-top: 10px;
    }
    

   


    .tab-select__nav ul li {
        padding: 0 44px 11px 44px;
    }

    .video-bttn:hover svg {
        transform: scale(1.1);
    }
    .video-bttn:hover svg ellipse {
        fill: var(--color-dark-blue);
    }
    
    
}