/* Tab card Styling */
.tabs-widget .tab-heading{
    margin-bottom:20px;
}
.tabs-widget .tab-summary{
    max-width:1020px;
    margin-bottom:25px;
}
.tabs-widget .tabs-inner {
    padding: 17px 30px;
    /* box-shadow:  2px 2px 8px 0px rgba(232, 232, 232, 0.50); */
    border: 2px solid #EDEBE4;
    background: #fff;
    border-radius: 8px;
    position: relative;
}
.tabs-widget .tab-list-ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
    display: flex;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-x: scroll;
    position: relative;
    scroll-behavior: smooth;
    flex-wrap: nowrap;
    z-index: 5;
}
.tabs-widget .tab-list-ul::-webkit-scrollbar {
    display: none;
  }
.tabs-widget .tab-list-ul li {
    display: inline-block;
}
.tabs-widget .tab-list-items {
    margin-right: 60px;
}
.tabs-widget .tab-item-link.active {
    color: #061F80;
}
.tabs-widget .tab-item-link {
    color: #000E56;
    font-family: 'Rethinksans-bold';
    font-size: 16px;
    line-height: 20px;
    text-decoration: none;
}
.tabs-widget .tab-item-link.active:after {
    content: "";
    display: block;
    border-bottom: 2px solid #3286D6;
    width: 100%;
    height: 2px;
    margin-top: 6px;
}
.tabs-widget .tab-item-link:after {
    width: 0%;
    height: 2px;
    transition: width 0.5s ease;
    content: "";
    display: block;
    border-bottom: 2px solid #2797d3;
    margin-top: 6px;
}
.tabs-widget .tab-item-link:hover, 
.tabs-widget .tab-item-link:focus, 
.tabs-widget .tab-item-link.active {
    color: #061F80;
}
.tabs-widget .tab-item-link.active {
    color: #061F80;
    background: no-repeat;
}
.tabs-widget .tab-item-link:hover:after {
    width: 100%;
}

.tabs-widget div#navTabArrows {
    cursor: pointer;
    position: absolute;
    width: 100%;
    top: 40%;
    translate: 0 -40%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    z-index: 0;
}
.tabs-widget div#tab-nav-prev {
    background-image: url(/wp-content/themes/ipsen-main/dist/images/move-left.png);
    /* position:absolute; */
    /* float:left; */
    left: -20px;
    width: 20px;
    margin-left: 10px;
    height: 20px;
    background-repeat: no-repeat;
    background-position:bottom center;
}
.tabs-widget div#tab-nav-next {
    background-image: url(/wp-content/themes/ipsen-main/dist/images/move-right.png);
    /* position:absolute; */
    /* float:right; */
    /* top: -10px; */
    /* right: -20px; */
    margin-left: auto;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position:bottom center;
    margin-right: 10px;
}
.tabs-widget .tab-nav-arrows.inactive{
    opacity: 0.3;
}
.tab-button{
    border: none;
    border-radius: 6px;
    margin: 20px 0;
}
.tab-button a{
    font-family: 'RethinkSans-SemiBold';
    background: #2797D3;
    color: #fff;
    font-size: 14px;
    line-height: 16.8px;
    padding: 16.5px 28px;
    
}
.tab-cta-link{
    font-family: 'RethinkSans-SemiBold';
    font-size: 14px;
    line-height: 100%;
    color: #224a81;
    display: flex;
    justify-content: center;
}
.tab-cta-link:hover,.tab-cta-link:focus{
    text-decoration: underline;
    color: #2797d3;
}
.tab-button a:hover,.tab-button a:focus{
    background: #3FAFEB;
    border: none;
    box-shadow: none;
}

/*Graphic-card under tabs-widget*/
@media only screen and (min-width: 1600px){
    .tabs-widget .graphic-card{
        margin-top:60px;
    }
    .tabs-widget .graphic-card .container{
        padding:0;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1599px){
    .tabs-widget .graphic-card{
        margin-top:50px;
    }
    .tabs-widget .graphic-card .container{
        padding:0;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px){
    .tabs-widget .graphic-card{
        margin-top:50px;
    }
    .tabs-widget .graphic-card .container{
        padding:0;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px){
    .tabs-widget .graphic-card{
        margin-top:35px;
    }
    .tabs-widget .graphic-card .container{
        padding:0;
    }
}

@media only screen and (min-width: 360px) and (max-width: 767px){
    .tabs-widget .graphic-card{
        margin-top:30px;
    }
    .tabs-widget .graphic-card .container{
        padding:0;
    }
}


/* desktop  */
@media (min-width: 767px){
    .tab-button a{
        font-size: 18px;
        line-height: 22.5px;
        padding: 20px 26px;
        border-radius: 6px;
        
    }
    .tab-button {
        margin: 30px 0;
    }
    .tab-cta-link{
        font-family: 'RethinkSans-SemiBold';
        font-size: 14px;
        line-height: 100%;
        color: #224a81;
    }
    .tab-cta-link{
        font-size: 18px;
        line-height: 22.5px;
    }
    .tabs-widget .tabs-inner{
    padding: 23px 40px 23px 40px;
    }
}
@media (min-width: 991px){
    .tabs-widget .tab-heading{
        margin-bottom: 40px;
    }
}