/*
Theme Name: North Florida Economic Development Partnership
Description: A child theme of the Hello Elementor theme built for the North Florida Economic Development Partnership website.
Author: Aha! Creative
Author URI: https://aha-creative.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: nflp-theme
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* Add your custom styles here */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

::marker {
    font-size: 12px;
}

.elementor-widget-text-editor p:not(:last-child),
.elementor-widget-text-editor ul:not(:last-child) {
    margin-bottom: .9rem;
}

.gradient-border {
    border-image: linear-gradient(to right, var(--e-global-color-d923a92), var(--e-global-color-56afce3)) 1;
}

.nfedp-image-grid {
    display: block;
    height: 456px;
}

.nfedp-image-grid img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.nfedp-image-grid .elementor-widget-image > a {
    height: 100%;
    width: 100%;
}

.nfedp-image-grid > :nth-child(1 of .elementor-widget-image) {
    width: 50%;
    height: 100%;
    float: left;
    border-right: #fff solid 1px;
}

.nfedp-image-grid > :nth-child(2 of .elementor-widget-image),
.nfedp-image-grid > :nth-child(3 of .elementor-widget-image) {
    float: right;
}

.nfedp-image-grid > :nth-child(2 of .elementor-widget-image),
.nfedp-image-grid > :nth-child(3 of .elementor-widget-image),
.nfedp-image-grid > :nth-child(4 of .elementor-widget-image) {
    width: 50%;
    height: 50%;
    border-left: #fff solid 1px;
}

.nfedp-image-grid > :nth-child(2 of .elementor-widget-image) {
    border-bottom: #fff solid 1px;
}

.nfedp-image-grid > :nth-child(3 of .elementor-widget-image) {
    border-top: #fff solid 1px;
}

.aha-accordion {
    border-bottom: solid 1px #D1D1D1;
}

.aha-accordion summary {
    font-size: 1.3rem;
    text-transform: uppercase;
    padding: 15px 10px;
    border-top: solid 1px #D1D1D1;
    list-style: none;
}

.aha-accordion summary:before {
    content: url('./assets/images/arrow.svg');
    margin-right: 9px;
    transform: rotate(-90deg);
    transition: transform 0.2s ease-in-out;
    display: inline-block;
}

.aha-accordion .aha-accordion-item[open] summary:before {
    transform: rotate(0deg);
}

.airport-accordion .airport-content {
    padding: 1rem 1rem 2rem;
}

.aha-accordion {
    margin-bottom: 2rem;
}

.county-iframe {
    height: 100vh;
}

.single-county #wpadminbar {
    display: none;
}

#site-header {
    interpolate-size: allow-keywords;
    border-bottom: solid 8px;
    border-image: linear-gradient(to right, rgba(36,141,190,1) 0%,rgba(74,158,75,1) 100%) 1;
    transition: padding 0.3s ease, border-bottom 0.3s ease;
    padding-bottom: 1.8rem;
    padding-top: 2rem;
}

#site-header.scrolled:not(.elementor-sticky__spacer) {
    border-bottom: solid 2px;
    padding: 0;
}

#site-header .hide-on-scroll {
    position: relative;
    top: 0;
    overflow: hidden;
    transition: top 0.3s ease, opacity 0.3s ease, margin-bottom 0.3s ease, height 0.3s ease;
    height: auto;
}

#site-header.scrolled:not(.elementor-sticky__spacer) .hide-on-scroll {
    top: -50px;
    margin-bottom: 0;
    opacity: 0;
    height: 0;
}

#site-header .elementor-nav-menu > .menu-item:last-child a{
    background: #0e7095;
    color: white !important;
}
#site-header .elementor-nav-menu > .menu-item:last-child:hover a{
    background: #064156;
}

.stat-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.stat-block {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.stat-block .stat-amount {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 4px;
}

.stat-block img {
    height: 50px;
    width: 50px;
    filter: invert(43%) sepia(36%) saturate(548%) hue-rotate(59deg) brightness(95%) contrast(92%);
}

.stat-block .stat-icon {
    line-height: 0;
}

.arrow-ornament-right:before,
.arrow-ornament-left:before {
    content: "";
    position: absolute;
    height: 280px;
    width: 145px;
    left: unset;
    right: unset;
    top: 50%;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-size: contain;
    border: none;
}

.arrow-ornament-right:before {
    background-image: url('./assets/images/arrow-ornament-right.svg');
    right: 0;
}

.arrow-ornament-left:before {
    background-image: url('./assets/images/arrow-ornament-left.svg');
    left: 0;
}

@media(max-width: 1366px){
    .arrow-ornament-left:before,
    .arrow-ornament-right:before {
        opacity: .5;
    }
}

@media(max-width: 1200px){
    #site-header.scrolled:not(.elementor-sticky__spacer) .hide-on-scroll.show-on-mobile {
        top: 0;
        margin-bottom: unset;
        opacity: 1;
        height: unset;
    }
}

@media(max-width: 800px) {
    .stat-blocks {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 1rem;
    }
}

@media(max-width: 880px) {
    .nfedp-image-grid {
        height: 300px;
    }
}