/*------------------------------------*\
    
    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 {
    position: relative;
    z-index: 1;
}

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

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

.tab-accordion__tab,
.tab-accordion__panel__toggle {
    list-style-type: none !important;
    margin: 20px 0 0;
    padding: 0;
    display: block;
    font-size: 17px;
    color: #1A1818;
    font-weight: 700;
    line-height: 1.2em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #EFF2F5;
    padding: 0 0;
    text-decoration: none;
    border: none;
    border-radius: 3px;
    width: 100%;
    text-align: left;
    position: relative;
}

.tab-accordion__tab {
    font-size: 20px;
    color: rgba(26, 24, 24, 0.50);
    letter-spacing: 0.1em;
    text-align: center;
    border-radius: 0;
    padding: 0 0 15px;
    background: transparent;
}

.tab-accordion__tab span,
.tab-accordion__tab i {
    display: block;
}

.tab-accordion__tab i {
    font-size: 50px;
    margin-bottom: 15px;
}

.tab-accordion__tab svg {
    width: 50px;
    max-height: 50px;
    fill: rgba(26, 24, 24, 0.50);
}

.tab-accordion__tab.is-active svg {
    fill: var(--blue);
}

.tab-accordion__tab::before,
.tab-accordion__panel__toggle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.tab-accordion__panel__toggle::after {
    content: "\e90e";
    font-family: 'icomoon';
    position: absolute;
    right: 15px;
    top: 50%;
    width: 30px;
    height: 30px;
    background: #13307F;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #FFFFFF;
    font-weight: normal;
    transform: translate(0, -50%);
    border-radius: 3px;
}

.tab-accordion__panel__toggle.is-active::after {
    content: "\e911";
    background: #FFFFFF;
    color: #13307F;
}

.tab-accordion__panel__toggle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    height: 60px;
    padding: 5px 20px;
}

.tab-accordion__panel__toggle i {
    width: 60px;
    height: 100%;
    background: #DFE3EB;
    font-size: 36px;
    color: #13307F;
    font-weight: normal;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border-radius: 3px 0 0 3px;
}

.tab-accordion__panel__toggle.is-active i {
    background: #3B5F89;
    color: #FFFFFF;
}

.tab-accordion__panel__toggle span {
    width: calc(100% - 60px);
    padding: 0 55px 0 15px;
}

.tab-accordion__panel__toggle.is-active {
    background: #13307F;
    color: #FFFFFF;
}

.tab-accordion__panel__toggle.is-active {
    border-radius: 4px 4px 0 0;
}

.tab-accordion__panel__toggle.is-active,
.tab-accordion__panel__toggle:focus {
    color: #FFFFFF;
    background: #13307F;
    text-decoration: none;
}

.tab-accordion__tab.is-active,
.tab-accordion__tab:focus {
    color: #13307F;
    background: transparent;
    text-decoration: none;
}

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


.tab-accordion__panels {
    padding: 0 22px;
}

.tab-accordion__panel__content {
    padding: 20px 15px 25px 20px;
    border: 1px solid #DDDDDD;
    border-top: 0;
    overflow: hidden;
    background: #EFF2F5;
    border-radius: 3px;
    color: #1A1818;
}

.tab-accordion {
    position: relative;
}

.video {
    height: 165px;
}

.video.image-position-top img {
    object-position: top;
}

.video.image-position-bottom img {
    object-position: bottom;
}

.video-image {
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
    background: transparent;
}

.video-image img {
    display: block;
    border-radius: 3px;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -29px 0 0 -29px;
    width: 58px;
    height: 58px;
    font-size: 21px;
    font-weight: normal;
    text-transform: uppercase;
    text-align: center;
    line-height: 1em;
    color: #13307F;
    border: none;
    border-radius: 50%;
    background: #FFFFFF;
    cursor: pointer;
    animation: pulse 1.5s infinite;
    -webkit-animation: pulse 1.5s infinite;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.31);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.play-btn i {
    margin-left: 3px;
}

.pulse-button:hover {
    -webkit-animation: none;
}

@-webkit-keyframes pulse {
    0% {
        -moz-transform: scale(0.9);
        -ms-transform: scale(0.9);
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
    }
    70% {
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
        box-shadow: 0 0 0 50px rgba(90, 153, 212, 0);
    }
    100% {
        -moz-transform: scale(0.9);
        -ms-transform: scale(0.9);
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(90, 153, 212, 0);
    }
}

.tab-accordion__content {
    padding-top: 20px;
    word-break: keep-all;

}

.tab-accordion__content h3 {
    font-size: 24px;
    color: #1A1818;
    padding-bottom: 10px;
}

.tab-accordion__content p {
    padding-bottom: 15px;
    word-break: keep-all;
}

.tab-accordion__content blockquote p {
    padding-bottom: 0;
    word-break: keep-all;
}

.accordion-skew1 {
    position: absolute;
    right: 0;
    top: 240px;
    width: 160px;
    height: 77px;
    z-index: -1;
}

.accordion-skew2 {
    position: absolute;
    right: 0;
    top: 290px;
    width: 218px;
    height: 160px;
    z-index: -1;
}


@media (min-width: 768px) {
    .tab-accordion__panel__toggle {
        font-size: 18px;
    }

    .tab-accordion__panel__toggle span {
        padding: 0 55px 0 20px;
    }

    .tab-accordion__panel__content {
        padding: 30px 30px 35px;
    }

    .video {
        height: 340px;
    }

    .video-image img {
        object-position: center;
    }

    .tab-accordion__panels {
        padding: 0 52px;
    }

    .tab-accordion__content h3 {
        font-size: 30px;
    }

    .accordion-skew1 {
        top: -30px;
    }
    
    .accordion-skew2 {
        top: 22px;
    }

    .play-btn {
        margin: -40px 0 0 -40px;
        width: 80px!important;
        height: 80px!important;
        font-size: 32px;
    }
}



@media (min-width: 1200px) {
    .tab-accordion__panel__content {
        position: relative;
        width: 100%;
    }

    .tab-accordion__tab,
    .tab-accordion__panel__toggle {
        margin: 0;
        width: auto;
    }

    .tab-accordion__tab {
        width: 33.333%;
    }

    .tab-accordion__tabs {
        display: flex;
        flex-wrap: wrap;
        border-bottom: 5px solid rgba(0, 47, 105, 0.21);
    }

    .tab-accordion__panels {
        padding: 0 0;
    }

    .tab-accordion__panel__content {
        padding: 40px 0 0;
        border: none;
        background: transparent;
        border-radius: 0;
    }

    .tab-accordion__flex {
        display: flex;
    }

    .tab-accordion__left {
        width: 50%;
        padding-right: 80px;
    }

    .tab-accordion__right {
        width: 50%;
    }

    .tab-accordion__content {
        max-width: 678px;
        padding-right: 16px;
        padding-top: 0;
    }

    .video {
        height: 494px;
    }

    .video-image img {
        border-radius: 0 3px 3px 0;
    }

    .tab-accordion__content h3 {
        font-size: 38px;
    }

    .play-btn {
        margin: -44px 0 0 -44px;
        width: 88px;
        height: 88px;
        font-size: 32px;
    }

    .tab-accordion-top-content {
        padding-bottom: 25px;
    }

    .accordion-skew1 {
        right: -84px;
        top: 180px;
        width: 400px;
        height: 194px;
    }
    
    .accordion-skew2 {
        right: -84px;
        top: 304px;
        width: 547px;
        height: 403px;
    }

    .tab-accordion__flex.right {
        flex-direction: row-reverse;
    }

    .tab-accordion__flex.right .tab-accordion__left {
        padding-left: 80px;
        padding-right: 0;
    }

    .tab-accordion__flex.right .tab-accordion__content {
        padding-right: 0;
        padding-left: 16px;
        margin-left: auto;
    }

    .tab-accordion__flex.right .video-image img {
        border-radius: 3px 0 0 3px;
    }

}