﻿/*
        Gerrity Industries
        PHD Consulting
        Copyright 2025
    */

:root {
    --color-primary: #005D2A;
    --color-primary-dark: #00461D;
    --color-primary-light: #007F39;
    --font-header: 1rem;
    --font-nav: clamp(1.125rem, 0.9028rem + 0.463vw, 1.25rem);
    --font-nav-dropdown: clamp(1rem, 0.7778rem + 0.463vw, 1.125rem);
    --font-nav-icon: 2.25rem;
    --font-small: clamp(0.875rem, 0.6528rem + 0.463vw, 1rem);
    --font-medium: clamp(1rem, 0.7778rem + 0.463vw, 1.25rem);
    --font-large: clamp(1.25rem, 0.9028rem + 0.463vw, 1.375rem);
    --font-footer: clamp(0.875rem, 0.653rem + 0.463vw, 1rem);
    --font-h6: clamp(0.875rem, 0.653rem + 0.463vw, 1rem);
    --font-h5: clamp(1rem, 0.7778rem + 0.463vw, 1.125rem);
    --font-h4: clamp(1.125rem, 0.6806rem + 0.9259vw, 1.375rem);
    --font-h3: clamp(1.375rem, 0.9306rem + 0.9259vw, 1.625rem);
    --font-h2: clamp(1.625rem, 1.1806rem + 0.9259vw, 1.875rem);
    --font-h1: clamp(1.875rem, 1.4306rem + 0.9259vw, 2.125rem);
}

html {
    height: 100%;
    min-height: 100%;
    min-height: 100vh;
    font-size: 16px;
    line-height: 1.6;
}

body {
    height: 100%;
    min-height: 100%;
    min-height: 100vh;
    margin: 0 0;
    padding: 0 0;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: var(--font-medium);
    font-weight: normal;
    line-height: 1.6;
    color: #FFFFFF;
    background-color: #00461D;
}

#frmMaster {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    min-height: 100vh;
}

/* Some Bootstrap Fixes */

.container-xl {
    max-width: 1366px;
}

hr {
    opacity: 1;
}

.modal {
    z-index: 99990;
    background-color: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(10px) !important;
}

textarea {
    resize: none;
}

.card {
    border-radius: 15px;
    overflow: hidden;
}

.card .card-body {
    padding: 1.25rem 1.25rem;
}

.shadow {
    box-shadow: 0px 5px 10px -5px rgba(0,0,0,0.33) !important;
}

figure {
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 10px;
}

figure figcaption {
    display: none;
}

figure img {
    position: relative;
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
}

.caption {
    margin-bottom: 0;
}

/* ADA Skip Links */

.skip_links {
    text-align: left;
    position: fixed;
    z-index: 99999;
}

.skip_links a {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip_links a:focus, .skip_links a:active {
    position: static;
    left: 5px;
    top: 5px;
    width: auto;
    height: auto;
    padding: 1rem 1rem;
    overflow: visible;
    text-decoration: none;
    color: #000000;
    border: 1px solid #FFFFFF;
    background-color: #FCFCFC;
} 

/* Header */

header {
    padding-top: 20px;
    padding-bottom: 20px;
    z-index: 9999;
    font-size: var(--font-header);
    line-height: 1.4;
    color: #404040;
    background-color: #FFFFFF;
}

header a:not(.btn),
header a:not(.btn):visited {
    color: #404040;
    text-decoration: none;
}

header a:not(.btn):hover {
    color: #404040;
}

header i {
    color: #144F37;
}

header a:not(.btn):hover .show-hover {
    color: #FF0000;
}

header .header-logo {
    position: relative;
    z-index: 99999;
}

header .header-logo img {
    position: absolute;
    top: -5px;
    width: 100%;
    max-width: 256px;
}

    header ul.header-contact {
        margin: 0 0;
        padding: 0 0;
        font-size: 120%;
        font-weight: bold;
        line-height: 1.6;
        color: #404040;
        list-style-type: none;
    }

        header ul.header-contact li {
            display: inline-block;
            margin-right: 1ch;
        }

        header ul.header-contact li:last-child {
            margin-right: 0;
        }

        header ul.header-contact a i.fa-square-facebook,
        header ul.header-contact a:visited i.fa-square-facebook,
        header ul.header-contact a:hover i.fa-square-facebook {
            color: #1877F2;
        }

        @media (max-width: 1199px) {
            /* Add a little extra padding to the header on mobile / tablet sizes */

            header {
                padding-top: 25px;
                padding-bottom: 25px;
            }

        }

        @media (max-width: 991px) {

            header .header-logo {
                padding: 0 30px 15px 30px;
                text-align: center;
            }

            header .header-logo img {
                position: relative;
                top: initial;
                margin: 0 auto;
            }

            header ul.header-contact li {
                display: block;
                margin: 0 0;
                padding: 0 0;
                text-align: center;
            }

        }

/* Navbar */

nav {
    z-index: 9999;
    color: #FFFFFF;
    background-color: var(--color-primary);
    box-shadow: 0px 10px 5px -5px rgba(0,0,0,0.1);
}

/* Main */

main {
    color: #000000;
    background-color: #FFFFFF;
}

/* Footer */

footer {
    font-size: var(--font-footer);
    color: #FFFFFF;
    background-color: var(--color-primary);
    background: linear-gradient(to bottom, var(--color-primary-dark) 0%,var(--color-primary) 66%);
}

footer .footer-main {
    padding: 45px 15px;
}

footer .footer-copyright {
    padding: 30px 15px;
}

footer a:not(.btn),
footer a:visited:not(.btn) {
    color: #FFFFFF;
    text-decoration: none;
}

footer a:hover:not(.btn) {
    color: #FFFF00;
    text-decoration: none;
}

footer ul.fa-ul {
    margin-left: 2rem;
}

footer ul.fa-ul li {
    line-height: 1.8;
}

footer ul.fa-ul li:last-child {
    padding-bottom: 0;
}

footer ul.fa-ul span.fa-li {
    width: 2rem;
}

footer h2 {
    margin-bottom: 15px;
    padding-bottom: 2px;
    font-family: Superclarendon, 'Bookman Old Style', 'URW Bookman', 'URW Bookman L', 'Georgia Pro', Georgia, serif;
    font-size: var(--font-h4);
    font-weight: bold;
    line-height: 1.2;
    border-bottom: 2px solid #FFFFFF;
}

    footer .copyright {
        padding-top: 30px;
        padding-bottom: 30px;
        text-align: center;
        background-color: var(--color-primary-dark);
        border-top: 1px solid transparent;
        border-image-source: linear-gradient(to right, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.33) 50%, rgba(255,255,255,0.0) 100%);
        border-image-slice: 5;
    }

/* Back to Top Button */

.back-to-top {
    z-index: 9999;
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    -webkit-box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.33);
    -moz-box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.33);
    box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.33);
}

/* Main Content */

main section .container-xl,
main section .container-fluid {
    padding: 45px 15px;
}

main section.hero {
    border-bottom: 2px solid var(--color-primary);
}

main section.hero .container-xl,
main section.hero .container-fluid {
    padding: 0 0;
}

main a:not(.btn),
main a:not(.btn):visited {
    color: #3333FF;
    text-decoration: none;
}

main a:not(.btn):hover {
    color: #FF3333;
    text-decoration: none;
}

main p, ul, ol {
    margin-bottom: 1.5rem;
}

main ul, ol {
    padding-left: 1.5rem;
}

main h1, main h2, main h3, main h4, main h5, main h6,
main .h1, main .h2, main .h3, main .h4, main .h5, main .h6 {
    margin-bottom: 1.5rem;
    font-family: Superclarendon, 'Bookman Old Style', 'URW Bookman', 'URW Bookman L', 'Georgia Pro', Georgia, serif;
    font-weight: bold;
    color: var(--color-primary);
    text-wrap: balance;
}

main h1, main .h1 {
    font-size: var(--font-h1);
    line-height: 1.2;
}

main h1 .subtitle, main .h1 .subtitle {
    display: block;
    font-size: var(--font-h2);
    font-weight: bold;
    color: #606060;
    line-height: 1.3;
}

main h2, main .h2 {
    font-size: var(--font-h2);
    line-height: 1.3;
}

main h3, main .h3 {
    font-size: var(--font-h3);
    line-height: 1.4;
}

main h4, main .h4 {
    font-size: var(--font-h4);
    line-height: 1.5;
}

main h5, main .h5 {
    font-size: var(--font-h5);
    line-height: 1.6;
}

main h6, main .h6 {
    font-size: var(--font-h6);
    line-height: 1.7;
}

main small, main .small {
    font-size: var(--font-small);
    line-height: 1.6;
}

main .big {
    font-size: var(--font-large);
    line-height: 1.6;
}

main .page-titles {
    position: relative;
    display: flex;
    flex-direction: column;
}

main .text-green {
    color: var(--color-primary);
}

/* Multi Column Lists */

.list-four-col {
    columns: 4;
    column-gap: 30px;
}

.list-three-col {
    columns: 3;
    column-gap: 30px;
}

.list-two-col {
    columns: 2;
    column-gap: 30px;
}

@media (max-width : 991px) {

    .list-four-col,
    .list-three-col,
    .list-two-col {
        columns: 2;
    }

}

@media (max-width : 767px) {

    .list-four-col,
    .list-three-col,
    .list-two-col {
        columns: 1;
    }

}

/* Swiper */

.swiper-container {
    position: relative;
    width: 100%;
    height: auto;
    background-color: #404040;
}

.swiper-slide {
    text-align: center;
}

    .swiper-slide .img-fluid {
        width: 100%;
        height: auto;
    }

    .swiper-slide .slide-title {
        position: absolute;
        bottom: 60px;
        right: 0;
        display: flex;
        justify-content: center;
        flex-direction: column;
        font-size: var(--font-h1);
        font-weight: bold;
        color: #FFFFFF;
        line-height: 1.5;
        text-align: center;
    }

        .swiper-slide .slide-title .slide-title-text {
            align-self: center;
            padding: 1rem 1.5rem 1.25rem 8rem;
            background-color: rgba(0,0,0,0.75);
            background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(0,0,0,0.75) 20%,rgba(0,0,0,0.75) 100%);
        }

.swiper-button-next,
.swiper-button-prev {
    color: rgba(255,255,255,0.75);
}

.swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    background-color: #000000;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background-color: #FFFFFF;
    opacity: 0.9;
}

@media (max-width : 767px) {

    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination {
        display: none;
    }

    .swiper-slide {
        position: relative;
        display: flex;
        flex-direction: column;
    }

        .swiper-slide img {
            position: relative;
        }

        .swiper-slide .slide-title {
            position: relative;
            top: initial;
            right: inherit;
            bottom: inherit;
            left: initial;
            font-size: var(--font-h4);
            line-height: 1.5;
            background-color: #404040;
        }

            .swiper-slide .slide-title .slide-title-text {
                margin-bottom: 0;
                padding: 16px 16px;
                background-color: transparent;
                background: none;
                -webkit-border-radius: 0px;
                -moz-border-radius: 0px;
                border-radius: 0px;
            }
}

/* Contact Page */

.ratio.google-map {
    padding-bottom: 33%;
    border-top: 4px solid #FFFFFF;
    background-color: #FFFFFF;
}

@media (max-width : 767px) {

    .ratio.google-map {
        padding-bottom: 75%;
    }

}

/* Colored Sections */

section.grey-bg {
    color: #000000;
    background-color: #DDDDDD;
}

section.green-bg {
    color: #FFFFFF;
    background-color: var(--color-primary);
}

    section.green-bg h1,
    section.green-bg h2,
    section.green-bg h3,
    section.green-bg h4,
    section.green-bg h5,
    section.green-bg h6 {
        color: #FFFFFF;
    }

    section.green-bg .card {
        color: #000000;
        background-color: rgba(255,255,255,0.90);
        border: 4px solid rgba(255,255,255,0.1);
        box-shadow: 0px 5px 10px -5px rgba(0,0,0,0.66) !important;
    }

        section.green-bg .card h1,
        section.green-bg .card h2,
        section.green-bg .card h3,
        section.green-bg .card h4,
        section.green-bg .card h5,
        section.green-bg .card h6 {
            color: var(--color-primary);
        }


    /* Other Stuff */

    ul.extra-li-space li {
        padding-bottom: 0.5rem;
    }

    ul.extra-li-space li:last-child {
        padding-bottom: 0;
    }
