/*------------------------------------*\
    
    FX Tabs/Accordion - Global styling for all tabs/accordions

    Add custom tabs/accordion styling to this file if it should be applied to all tabs/accordions on the site
    Otherwise, put your styles in individual block stylesheets

\*------------------------------------*/

.tab-accordion__panel:not(.is-active) .tab-accordion__panel__content {
    display: none;
}

.tab-accordion__tabs {
    display: flex;
    flex-wrap: wrap;
    top: 1px;
    position: relative;
    z-index: 2;
}

.tab-accordion__tab,
.tab-accordion__panel__toggle {
    list-style-type: none !important;
    margin: 28px 0 0;
    display: block;
    color: #054174;
    background: #D7D7D7;
    padding: 12px 92px 12px 22px;
    text-decoration: none;
    border: none;
    border-radius: 22px;
    width: 100%;
    text-align: left;
    font-family: "Exo 2", sans-serif;
    font-size: 25px;
    line-height: 1.29em;
    font-weight: 500;
    position: relative;
}

.tab-accordion__panel__toggle.is-active {
    border-radius: 22px 22px 0 0;
    font-weight: 700;
}

.tab-accordion__tab.is-active,
.tab-accordion__panel__toggle.is-active {
    color: #fff;
    background: #004885;
    text-decoration: none;
}

.tab-accordion__panel__content {
    padding: 32px 22px 28px;
    border: 1px solid rgba(4,23,70,0.25);
    border-top: 0;
    overflow: hidden;
    border-radius: 0 0 22px 22px;
}

.tab-accordion {
    position: relative;
}

.tab-accordion__panel__content .blog-listing__pagination [class*="col-"] {
    padding-left: 0;
}

.tab-accordion__panel__toggle::after {
    content: '\e900';
    font-family: 'visionx-icon';
    position: absolute;
    font-weight: normal;
    background: #004885;
    width: 29px;
    height: 29px;
    border-radius: 5px;
    right: 18px;
    top: 50%;
    margin-top: -15px;
    font-size: 13px;
    color: #D7D7D7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-accordion__panel__toggle.is-active::after {
    background: #D7D7D7;
    color: #004885;
    transform: rotate(180deg);
}

@media (min-width: 768px) {
    .tab-accordion__tab,
    .tab-accordion__panel__toggle {
        padding: 17px 92px 17px 25px;
    }

    .tab-accordion__panel__content {
        padding: 32px 25px;
    }
    
}

@media (min-width: 1200px) {

    .tab-accordion__tab,
    .tab-accordion__panel__toggle {
        border-radius: 0;
        margin: 0;
        width: auto;
        padding: 0 0 12px 0;
        text-align: center;
        background: none;
        border-bottom: 5px solid #DDDDDD;
        font-size: 30px;
    }

    .tab-accordion__tab.is-active {
        color: #00569F;
        font-weight: 700;
        background: none;
    }

    .tab-accordion__tab.is-active::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 8px;
        background: #00569F;
        left: 0;
        bottom: -5px;
    }

    .tab-accordion__panel__content {
        padding: 35px 0 0 0;
        border: none;
        border-radius: 0;
    }

}