/* **************************************************** 
*                                                     *
*                                                     *
*                   PAGE CLASS - HOME                 *
*                                                     *
*                                                     *
*******************************************************/
/* hero / banner */
.page-class-home .hero {
    position: relative;
    height: 515px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.page-class-home .hero .hero-no-image {
    width: 100%;
    height: 100%;
    background-color: var(--site-primary-blue);
    background-image: linear-gradient(315deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 30%);
}
.page-class-home .hero .hero-with-image {
    width: 100%;
    height: 100%;
}
.page-class-home .hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
  }
.page-class-home .hero .hero-content {
    width: 100%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.page-class-home .hero img {
    width: 100%;
    object-fit: cover;
    z-index: -1;
    height: 515px;
}
.page-class-home .hero .title {
    color: #fff;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1.2;
    font-size: 5rem;
}
.page-class-home .hero .subtitle {
    font-weight: 500;
    color: var(--site-secondary-blue);
    text-transform: uppercase;
    line-height: 1.3;
    font-size: 2.5rem;
}

@media (max-width: 768px) {
    .page-class-home .hero .title {
        font-size: 2.75rem;
    }
    .page-class-home .hero .subtitle {
        font-size: 1.3rem;
    }
}

/* home - intro */
.page-class-home .intro {
    text-align: center;
    margin-top: 75px !important;
    margin-bottom: 75px !important;
}
.page-class-home .intro .col-12 {
    display: flex;
    justify-content: center;
}

/* home - stakeholder cards */
.page-class-home .home_stakeholders hr {
    margin-top: 5px;
    margin-bottom: 20px;
}
.page-class-home .home_stakeholders {
    background-color: var(--site-primary-blue);
    background-image: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 30%);
    width: 100%
}
.page-class-home .home_stakeholders .row {
    min-height: 600px;
}
.page-class-home .home_stakeholders .card {
    background-color: transparent;
}
.page-class-home .home_stakeholders .title {
    font-weight: 600;
}
.page-class-home .home_stakeholders img {
    max-width: 200px;
}
.page-class-home .home_stakeholders a {
    color: var(--site-secondary-blue);
}
.page-class-home .home_stakeholders a:hover {
    color: var(--site-bg-gray);
}


/* home - product line cards */
.page-class-home .home_product_line .product-line-container .card {
    border-radius: 1rem !important;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.25);
}
.page-class-home .home_product_line .product-line-container .card-body {
    min-height: 250px;
}
.page-class-home .home_product_line .product-line-container .card-body p {
    text-align: center;
    font-style:oblique;
}
.page-class-home .home_product_line .product-line-container .card-body img {
    width: auto;
    max-height: 100px;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 1rem;
    margin-right: auto !important;
    margin-left: auto !important;
}
.page-class-home .home_product_line .product-line-container .card-body h4,
.page-class-home .home_product_line .product-line-container .card-body h6 {
    padding-right: 1rem;
    padding-left: 1rem;
}

.page-class-home .home_product_line .product-line-category-img {
    height: auto;
    width: 115px;
}
.page-class-home .home_product_line {
    background-image: linear-gradient(45deg, rgba(0,0,0,.04), var(--site-bg-light-gray));
}

/* home - visualizer */
.page-class-home .body img {
    width: 100%;
    height: auto;
}
.page-class-home .body {
    margin-top: 75px !important;
    margin-bottom: 75px !important;
}

/* **************************************************** 
*                                                     *
*                                                     *
*                PAGE CLASS - UNIVERSAL               *
*                                                     *
*                                                     *
*******************************************************/
/* hero / banner */
.page-class-universal .banner-image-container {
    position: relative;
}
.page-class-universal .banner-image-container img {
    width: 100%;
    min-height: 250px;
    max-height: 500px;
    object-fit: cover;
    z-index: -1;
}
.page-class-universal .banner-image-container .caption-container {
    position: absolute;
    bottom: 0;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.75); 
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
} 

/* image gallery */
.page-class-universal .glightbox-gallery-image .ginner-container .gslide-image img {
    width:50vh;
    height: auto;
}
.page-class-universal .glightbox-gallery-image .ginner-container .description-bottom {
    padding: 15px;
    background-color:white;
    width: 50vh;
    justify-content: center;
}
.page-class-universal .glightbox-gallery-image .gclose {
    width: 35px;
    height: 35px;
    top: 15px;
    right: 10px;
    position: absolute;
    border: none;
    background-color: transparent;
    border-radius: 4px;
}
.page-class-universal .glightbox-gallery-image .gprev {
    position: absolute;
    left: 30px;
    width: 40px;
    height: 50px;
    top: 45%;
    border: none;
    background-color: transparent;
}
.page-class-universal .glightbox-gallery-image .gnext {
    position: absolute;
    right: 30px;
    width: 40px;
    height: 50px;
    top: 45%;
    border: none;
    background-color: transparent;
}
.page-class-universal .glightbox-gallery-image .gclose path,
.page-class-universal .glightbox-gallery-image .gprev path,
.page-class-universal .glightbox-gallery-image .gnext path {
    fill: #fff;
}

/* contact form */

.page-class-universal .contact-card .errorlist li {
    color: red;
}
.page-class-universal .contact-card {
    background-color: var(--site-bg-gray);
}

/* resource group - styles */
.page-class-universal .photo_gallery .card {
    transition: transform 0.4s ease, box-shadow 0.3s ease; /* Combined transition properties */
}
.page-class-universal .photo_gallery .card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.15) !important; /* Increased shadow depth for more prominence */
}
.page-class-universal .universal_horizontal .image-wrapper {
    height: 150px;
    width: 200px;
    overflow: hidden; 
    flex-shrink: 0;
}
.page-class-universal .universal_vertical .image-wrapper,
.page-class-universal .photo_gallery .image-wrapper {
    height: 250px;
}
.page-class-universal .universal_vertical .image-wrapper img,
.page-class-universal .universal_horizontal .image-wrapper img,
.page-class-universal .photo_gallery .image-wrapper img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.page-class-universal .forms .card-body {
    /* overflow: hidden; */
    height: auto;
}
.page-class-universal .forms .resource-card img {
    height: 120px;
}
.page-class-universal .forms .resource-card ul a {
    color: var(--site-font-dark-gray);
    background-color: var(--site-bg-lighter-gray);
}
.page-class-universal .forms .resource-card ul a:hover {
    text-decoration: underline;
    background-color: var(--site-bg-light-gray);
}

/* resource group and product body - embedded video */
.page-class-universal .embed-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
    height: 0;
    overflow: hidden;
}
.page-class-universal .embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* for images inside markdown*/
.page-class-universal .markdown-container img {
    max-width: 100%;
    height: auto;
}

/* product features */
.page-class-universal .product-features {
    --s: 15px; /* the size on the corner */
    --t: 1px;  /* the thickness of the border */
    --g: 15px; /* the gap between the border and image */
    
    padding: calc(var(--g) + var(--t));
    outline: var(--t) solid var(--site-bg-gray); /*the color here*/
    outline-offset: calc(-1*var(--t));
    border-radius: var(--s);
    /* background-color: var(--site-bg-gray); */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
/* product color swatches */
.page-class-universal .color-swatch {
    width: 55px; 
    height: 55px; 
    border: 1px solid #222529;
    margin: 2px;
    transition: transform 0.3s ease;
}
.page-class-universal .color-swatch:hover,
.page-class-universal .color-swatch:focus {
    transform: scale(1.2);
}
/* product carousel */
.page-class-universal .carousel-indicators {
    position: relative;
    bottom: 0;
}
.page-class-universal .carousel-inner img {
    height: 400px;
}
.page-class-universal .carousel-inner img {
    max-height: 100%;
    object-fit: contain;
}

/* product resources TABS */
.page-class-universal .repeatable-resource-group .nav-tabs .nav-item {
    margin-right: .5rem;
}
.page-class-universal .repeatable-resource-group .nav-tabs .nav-link {
    background-color: var(--site-tertiary-blue);
    color: #fff;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 5px 5px 0 0;
}
.page-class-universal .repeatable-resource-group .nav-tabs .nav-link.active {
    background-color: var(--site-tertiary-blue);
    color: #fff;
    border: 1px solid var(--site-tertiary-blue);
}
.page-class-universal .repeatable-resource-group .nav-tabs .nav-link:not(.active) {
    background-color: var(--site-bg-lighter-gray);
    color: var(--site-tertiary-blue);
    border: 1px solid var(--site-tertiary-blue);
}
.page-class-universal .repeatable-resource-group .accordion-header button {
    font-size: 18px;
}
.page-class-universal .repeatable-resource-group .accordion-item {
    background-color: var(--site-bg-lighter-gray);
    border: 1px solid var(--site-tertiary-blue);
    border-radius: 0 0 5px 5px;
    margin-top: -1px;
}
.page-class-universal .repeatable-resource-group .accordion-item .product-resource-list {
    list-style: none !important;
    padding: 0;
    margin: 0;
}
/* horizontal resource groups */
.page-class-universal .horizontal-image-container {
    flex: 0 0 150px;
    max-width: 200px;
    overflow: hidden; 
}
.page-class-universal .horizontal-image-container img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* mobile changes */
@media (max-width: 991px) {
    .page-class-universal .color-swatch {
        width: 45px;
        height: 45px;
    }
    .page-class-universal .horizontal-image-container {
        max-width: 100%;
        height: auto;
    }
    .page-class-universal .repeatable-resource-group .tab-content .tab-pane {
        display: block;
        opacity: 1;
    }

    /* homepage elements */
    .page-class-home .home_product_line .product-line-container .card-body {
        min-height: 250px;
    }

    /* image gallery */
    .page-class-universal .glightbox-gallery-image .ginner-container .gslide-image img {
        width:100vh;
        height: auto;
    }
    .page-class-universal .glightbox-gallery-image .ginner-container .description-bottom {
        background-color:transparent;
    }
    .page-class-universal .glightbox-gallery-image .gprev {
        top: -100%;
    }
    .page-class-universal .glightbox-gallery-image .gnext {
        top: -100%;
    }

    /* product resources ACCORDION */
    .page-class-universal .repeatable-resource-group .accordion-button {
        background-color: var(--site-tertiary-blue);
        color: #fff;
        font-weight: bold;
        transition: background-color 0.3s;
    }
    .page-class-universal .repeatable-resource-group .accordion-button:not(.collapsed) {
        background-color: var(--site-tertiary-blue);
        color: #fff;
    }
    .page-class-universal .repeatable-resource-group .accordion-button.collapsed {
        background-color: var(--site-bg-lighter-gray);
        color: var(--site-tertiary-blue);
    }
    .page-class-universal .repeatable-resource-group .accordion-item {
        border: 1px solid var(--site-tertiary-blue);
        border-radius: 5px;
        margin-bottom: 10px;
    }
    .page-class-universal .repeatable-resource-group .accordion-body {
        background-color: var(--site-bg-lighter-gray);
        padding: 15px;
    }
}