/*------------------------------------*\
    
    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,
.tab-accordion__panel {
    position: relative;
}

.tab-accordion__bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.tab-accordion__bg img{
    object-position: 0 0;
    object-fit: cover;    
}

.tab-accordion__wrap {
    position: relative;
    background: rgba(0, 52, 103, 0.60);
    padding: 40px 0 55px;
}

.tab-accordion__wrap h2 {
    color: #fff;
}

.tab-accordion__tabs {
    display: flex;
    justify-content: space-between;
    top: 1px;
    position: relative;
    z-index: 2;
    border: 1px solid #FFFFFF;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.24);
}

.tab-accordion__tab,
.tab-accordion__panel__toggle {
    list-style-type: none !important;
    margin: 9px 0;
    padding: 0;
    display: block;
    color: #FFFFFF;
    line-height: 1em;
    font-size: 16px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.24);
    padding: 15px 20px;
    text-decoration: none;
    border: 1px solid #FFFFFF;
    border-radius: 3px;
    width: 100%;
    text-align: left;
    position: relative;
    cursor: pointer;
    font-weight: 500;
    font-family: 'Work Sans', sans-serif;

}

.tab-accordion__tab {
    margin: 0 0;
    font-size: 14px;
    padding: 15px 43px;
    border: transparent;
    border-radius: 0;
    text-align: center;
    background: transparent;
}

.tab-accordion__panel__toggle::before {
    content: "\e901";
    font-family: 'icomoon';
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 13px;
    font-weight: normal;
	color: #FFFFFF;
}

.tab-accordion__panel__toggle.is-active::before {
    content: "\e90d";
	color: #003467;
}

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

.tab-accordion__panel__content {
    padding: 10px;
    overflow: hidden;
    background: #FFFFFF;
    border-radius: 3px;
    color: #001830;
}

.tab-accordion {
    position: relative;
}

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

.tab-accordion__panel__content h2 {
    color: #001830;
    padding-bottom: 15px;
}

.tab-video {
    width: 100%;
    height: 174px;
    margin-bottom: 20px;
}

.tab-video a {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

.tab-video img  {
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(17, 30, 73, 0.18);
}

.video-text__link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-text__link svg {
    width: 43px;
    box-shadow: 0 0 0 0 rgba(45, 180, 203, 1);
	transform: scale(1);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(45, 180, 203, 0.7);
        border-radius: 100%;
	}

	70% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgba(45, 180, 203, 0);
        border-radius: 100%;
	}

	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(45, 180, 203, 0);
        border-radius: 100%;
	}
}

.tab-text {
    padding: 0 12px 10px;
}

.dealer-tab .tab-accordion__panel__content {
    color: #707070;
}

.tab-text .expand::before {
    background: var(--bg-dark-blue-green);
}



@media (min-width: 768px) {
    .tab-accordion__wrap {
        padding: 95px 0;
    }

    .tab-text {
        padding: 0 0 0;
    }

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

    .tab-accordion__wrap .container {
        max-width: 734px;
    }

    .tab-accordion__panels {
        margin: 50px 40px;
    }

    .tab-accordion__panel__content {
        padding: 0;
        background: transparent;
        border-radius: 0;
        color: #FFFFFF;
    }

    .tab-accordion__panel__content h2 {
        color: #FFFFFF;
    }

    .tab-video {
        height: 308px;
        margin-bottom: 42px;
    }

    .video-text__link svg {
        width: 76px;
    }

}

@media (min-width: 1200px) {
    .tab-accordion__wrap .container {
        max-width: 1356px;
    }

    .tab-accordion__wrap {
        padding: 107px 0;
    }

    .tab-accordion__tabs {
        max-width: 700px;
    }

    .tab-accordion__tab {
        font-size: 16px;
        padding: 15px 46px;
    }

    .tab-accordion__panels {
        margin: 50px 0 0;
    }

    .tab-accordion__panel__content .row{
        justify-content: center;
    }

    .tab-content-wrap {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        flex-direction: row-reverse;
    }

    .tab-video {
        height: 345px;
        width: 614px;
        margin-bottom: 0;
    }

    .tab-text {
        padding: 0 60px 0 0;
        width: calc(100% - 614px);
    }

    .tab-text .btn-tertiary {
        color: #FFFFFF;
        padding-bottom: 3px;        
    }

    .tab-text .btn-tertiary:hover {
        color: #D4F1F5;     
        padding-bottom: 3px;
    }

    .tab-text .btn-tertiary::before {
        transition: right .3s ease-in-out;
    }

    .tab-text .btn-tertiary:hover::before {
        right: -5px;
    }

    .video-text__link svg {
        width: 85px;
        transition: all ease-in-out 0.3s;
    }

    .video-text__link:hover svg {
        width: 100px;
        transition: all ease-in-out 0.3s;
    }

}