/* ======== GARRETT'S CSS ========= */

/* Youtube */
.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}




/* Ten Truths */
.vertical-bar {
    position: relative;
}

.vertical-bar:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 215px;
    width: 1px;
    margin: auto;
    background: #1e84b2;
}

.horizontal-bar {
    position: relative;
}

.truth-row-1 {
    padding-bottom: 5rem !important;
}

.truth-row-2 {
    padding-top: 5rem !important;
    counter-reset: h2;
}

.truth-row-2 h2:before {
    counter-increment: h2;
    content: counter(h2, decimal-leading-zero);
}

.truth-row-1,
.truth-row-2 {
    position: relative;
}

.truth-row-2:before {
    content: url('/wp-content/uploads/2021/03/icon_learn_myths.svg');
    height: 124px;
    width: 124px;
    position: absolute;
    top: -62px;
    left: 0;
    right: 0;
    margin: auto;
}

.truth:last-of-type {
    margin-bottom: 5rem !important;
}




/* Map Facts */
#map {
    width: 100% !important;
}

#map svg {
    height: auto !important;
}

.state-map-facts {
    background-color: #fff;
}

.card {
    border: none;
    border-radius: 0;
    background-color: transparent;
}

.card-img-top {
    width: 75px;
}

.state-icon {
    position: relative;
    top: 2em;
}

.state-icon a:before {
    content: "";
    display: block;
    width: 40%;
    height: 40%;
    position: absolute;
    top: 58px;
    left: 90px;
    background: url(/wp-content/themes/tea/assets/images/icon_learn_facts.png);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 1;
}

.state-icon img {
    max-width: 100px;
    width: 100%;
    max-height: 100px;
    height: 100%;
    /* margin: 0 auto; */
}

#map-facts #map_holder #map_inner div:nth-child(2) [style],
#map-facts #map_holder #map_inner div:nth-child(3) [style] {
    display: none !important;
}

.tt_sm {
    display: none;
}

.svg-responsive {
    max-width: 100%;
}




/* Map Signers */
.map-signers {
    margin: -70px 0;
}

.map-signers #map svg {
    left: 10% !important;
}

.map-signers .map h5 {
    max-width: 400px;
    width: 100%;
}

.state-map-signers ul li,
.state-map-signers-more ul li {
    margin-bottom: 5px;
}




/* Thank You */
.pum.pum-theme-default-theme .pum-content+.pum-close {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    /* 16px */
    letter-spacing: 0.02rem;
    line-height: 1.375rem;
    border-radius: 25px;
    padding: 12px 50px;
    background: transparent;
    border: 1px solid #0182b5;

    -webkit-transition: all ease .2s;
    -ms-transition: all ease .2s;
    -moz-transition: all ease .2s;
    transition: all ease .2s;
}

.pum.pum-theme-default-theme .pum-content+.pum-close:hover {
    background: #0182b5;
    border: 1px solid #0182b5;
    color: #fff !important;
}

/* // Remove the Popup "Close Button" and use the form button
#864
#865
#866
#867
#868
*/
/*
#pum-864.pum.pum-theme-default-theme .pum-content + .pum-close,
#pum-865.pum.pum-theme-default-theme .pum-content + .pum-close,
#pum-866.pum.pum-theme-default-theme .pum-content + .pum-close,
#pum-867.pum.pum-theme-default-theme .pum-content + .pum-close,
#pum-868.pum.pum-theme-default-theme .pum-content + .pum-close {
	display: none !important;
}
*/




/* Declaration */
.declaration .h1-small {
    font-size: 2.125em;
    /* 34px */
    line-height: 2.375rem;
}

.declaration .row {
    padding-left: 15%;
    padding-right: 15%;
}

.declaration:before {
    content: '';
    background-image: url('/wp-content/uploads/2021/03/quillwell_d-1.png');
    background-repeat: no-repeat;
    background-size: 100%;
    position: absolute;
    right: 0;
    bottom: 0;
    display: inline-block;
    width: 378px;
    height: 700px;
    -webkit-transition: all ease .2s;
    -ms-transition: all ease .2s;
    -moz-transition: all ease .2s;
    transition: all ease .2s;
}




/* cta */
.cta .theme-button {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}




/* Form */
.form .gform_wrapper input,
.form .gform_wrapper textarea,
.form .gform_wrapper select {
    background: #efefef;
}

#reveal {
    opacity: 0;
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -o-transform: scale(0.9);
    transform: scale(0.9);
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}

#reveal.visible {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 1;
    background-color: #fff;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
}

#reveal.visible:before {
    content: '';
    background: url(/wp-content/uploads/2021/03/gray-flame.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 55%;
}




/* Hero Scene Reveal */
.scene {
    position: relative;
    /* height: 100%; */
    background-color: #efefef;
    /*background: url('https://imgur.com/Hz0rlBF.png') no-repeat;*/
    background-position: center center;
    background-size: cover;
    text-align: center;
    overflow: hidden;
}

.scope {
    z-index: 5;
    position: absolute;
    top: calc(50% - 5em);
    left: calc(50% - 5em);
    width: 10em;
    height: 10em;
    background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/142996/hover-reveal.jpg') no-repeat fixed;
    background-position: center center;
    background-size: cover;
    border-radius: 50%;
    -webkit-filter: blur(0px);
    filter: blur(0px);
    clip-path: circle(50% at 50% 50%);
}


.font-size-59 {
    font-size: 3.688rem;
    line-height: 4.688rem;
    font-family: "kulturista-web", serif;
    font-weight: 700;
    font-style: normal;
    color: #A9353A;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.no-style {
    list-style: none;
    padding: 0;
    margin: 0;
}

.no-style li {
    margin-bottom: 25px !important;
}

.no-style li a {
   color: #091F40;
}


.tab-container {
    width: 100%;
    margin: 0 auto;
}

.tabs {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    top: -76px;
    position: absolute;
    display: flex;
    justify-content: center;
    /* background-color: #f1f1f1; */
    padding: 0 0 0px 0;
    /* border-bottom: 2px solid #ccc; */
}

.tabs button {
    font-size: 22px;
}

.tab-link {
    background-color: #fff;
    border: none;
    outline: none;
    padding: 24px 36px;
    border-top-left-radius: 35px;
    border-top-right-radius: 35px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.tab-link.active {
    background-color: #efefef;
    /* border-bottom: 2px solid #007bff; */
    font-weight: bold;
}

.tab-link:hover {
    background-color: #efefef;
}

.tab-content {
    display: none;
    padding: 60px 20px;
    /* border: 1px solid #ccc; */
    border-top: none;
}

.tab-content.active {
    display: block;
}

.left-column {
    max-width: 350px;
    width: 100%;
}

.left-column ul {
    padding: 0 0 0 70px;
}

.right-column {
    max-width: 602px;
    width: 100%;
}

.category-link .active {
    font-weight: 700;
}


/* Custom Slider Container */
.custom-slider-container {
    position: relative;
    max-width: 100%;
    margin: 20px auto;
    display: flex;
    align-items: center;
}

/* Slick Slider Wrapper */
.scorecard-slick-slider {
    flex: 1; /* Allow slider to take up remaining space between arrows */
    overflow: hidden;
}

.scorecard-slick-slider .slick-slide {
    margin: 0 10px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.47);
}

.scorecard-slick-slider .slick-slide img {
    width: 100%;
    height: auto;
}

.arrows {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Custom Arrow Buttons */
.custom-prev-arrow,
.custom-next-arrow {
    background-color: transparent;
    border: none;
    color: white;
    padding: 5px;
    cursor: pointer;
    font-size: 20px;
    z-index: 10;


}

.custom-prev-arrow:hover,
.custom-next-arrow:hover {
    background-color: transparent;
}

.custom-prev-arrow {
    margin-right: 10px;
}

.custom-next-arrow {
    margin-left: 10px;
}

.active-category {
    font-weight: bold;
}


.disclaimer-cards {
    color: #0B213E !important;
    font-size: 14px !important;
    line-height: 22px;
}


/* Responsive Adjustments */
@media (max-width: 768px) {
    .custom-prev-arrow, .custom-next-arrow {
        padding: 10px;
        font-size: 16px;
    }
}


/* Adjust the arrow positions for smaller screens */
@media (max-width: 768px) {
    .slick-prev, .slick-next {
        padding: 10px;
        font-size: 16px;
        left: -20px;
        right: -20px;
    }
}

/* Media Queries - Responsiveness */
@media (min-width:768px) and (max-width:1499px) {
    .declaration:before {
        content: '';
        background-image: url(/wp-content/uploads/2021/03/quillwell_d-1.png);
        background-repeat: no-repeat;
        background-size: 75%;
        background-position: bottom right;
        display: inline-block;
        width: 378px;
        height: 700px;
        position: absolute;
        right: 0;
        bottom: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .map-facts .state-map h1.h2 {
        font-size: 4em;
        line-height: 3.688rem;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    #reveal.visible:before {
        content: '';
        background: url(/wp-content/uploads/2021/03/gray-flame.png);
        background-size: cover;
        background-repeat: no-repeat;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 55%;
    }
}

@media (min-width: 992px) {
    .px-lg-7 {
        padding-right: 5rem !important;
        padding-left: 5rem !important;
    }

    .map-facts #map {
        position: relative;
        top: 130px;
    }
}

@media (max-width: 991px) {
    .map-facts .state-map {
        flex-direction: column-reverse;
        text-align: center;
    }

    .map-facts #map {
        width: 100% !important;
        height: 100% !important;
    }

    .tabs button {
        font-size: 15px;
    }
    .tabs {
        max-width: 1440px;
        width: 100%;
        margin: 0 auto;
        top: -0;
        position: relative;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .tab-link {
        background-color: #fff;
        border: none;
        outline: none;
        padding: 24px 36px;
        border-top-left-radius: 0px;
        border-top-right-radius: 0px;
        cursor: pointer;
        font-size: 16px;
        transition: background-color 0.3s ease;
    }

    .left-column ul {
        padding: 0 0 0 0px;
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
    }
    .no-style li {
        margin-bottom: 25px !important;
        width: 50%;
    }
}

@media (min-width: 768px) {
    .state-icon {
        position: relative;
        /* left: 50px;
        bottom: 110px; */
    }

    .declaration .row .col-md-6 {
        max-width: 490px;
        width: 100%;
    }
}

@media (max-width: 767px) {
    #reveal.visible:before {
        display: none;
    }

    .t-center-mobile {
        text-align: center;
    }

    .state-map-facts {
        text-align: center;
    }

    .state-map-facts .card {
        text-align: left
    }

    .state-intro {
        flex-direction: column-reverse;
    }

    .map-facts .state-map {
        flex-direction: column-reverse;
        text-align: center;
    }

    .map-signers .state-map {
        text-align: center;
    }

    .map-signers #map svg {
        left: 5% !important;
    }

    .state-icon a:before {
        right: 50%;
        margin: 0 auto;
    }

    .map-signers #map {
        width: 100% !important;
        height: 100% !important;
    }

    .declaration .row {
        padding-left: 5%;
        padding-right: 5%;
    }

    .declaration:before {
        content: '';
        background-image: url(/wp-content/uploads/2021/03/quillwell_d-1.png);
        background-repeat: no-repeat;
        background-size: 40%;
        background-position: bottom right;
        display: inline-block;
        width: 378px;
        height: 700px;
        position: absolute;
        right: 0;
        bottom: 0;
    }

    .map-facts #map svg {
        max-height: 350px;
    }
}