/********** Template CSS **********/

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar {
    background-color: #ffffff !important;

    /* Sticky navigation */
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
}

.navbar .navbar-brand,
.navbar .navbar-phone {
    height: auto;
}

.navbar .navbar-nav .nav-link {
    margin-right: 2px;
    padding: 25px 0;
    color: var(--bs-dark);
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}
    /* =========================================================
       SECTION
    ========================================================== */

    .ldoh-leadership-section {
        background: #f7f9f7;
    }


    /* =========================================================
       LABEL
    ========================================================== */

    .ldoh-leadership-label {
        color: #2DA34F;

        font-size: 13px;

        letter-spacing: 1.5px;
    }


    /* =========================================================
       INTRO
    ========================================================== */

    .ldoh-leadership-intro {
        max-width: 720px;

        margin: 18px auto 0;

        color: #68736c;

        line-height: 1.8;

        font-size: 15px;
    }


    /* =========================================================
       PERSON CARD
    ========================================================== */

    .ldoh-person-card {

        height: 100%;

        background: #ffffff;

        border: 1px solid #e5ebe7;

        border-radius: 14px;

        overflow: hidden;

        box-shadow:
            0 8px 30px rgba(0, 0, 0, .06);

        transition:
            transform .3s ease,
            box-shadow .3s ease;

    }


    .ldoh-person-card:hover {

        transform: translateY(-7px);

        box-shadow:
            0 18px 40px rgba(0, 0, 0, .10);

    }


    /* =========================================================
       PERSON IMAGE
    ========================================================== */

    .ldoh-person-image {

        position: relative;

        height: 410px;

        overflow: hidden;

        background: #e9f1ec;

    }


    .ldoh-person-image::after {

        content: "";

        position: absolute;

        left: 0;

        right: 0;

        bottom: 0;

        height: 90px;

        background:
            linear-gradient(
                to top,
                rgba(0, 0, 0, .25),
                transparent
            );

    }


    .ldoh-person-image img {

        width: 100%;

        height: 100%;

        object-fit: cover;

        object-position: center top;

        transition: transform .5s ease;

    }


    .ldoh-person-card:hover
    .ldoh-person-image img {

        transform: scale(1.03);

    }


    /* =========================================================
       CONTENT
    ========================================================== */

    .ldoh-person-content {

        padding: 30px;

    }


    .ldoh-person-position {

        display: inline-block;

        color: #2DA34F;

        font-size: 11px;

        font-weight: 800;

        letter-spacing: 1.4px;

        margin-bottom: 9px;

    }


    .ldoh-person-content h3 {

        color: #2DA34F;

        font-size: 25px;

        font-weight: 800;

        margin-bottom: 15px;

    }


    .ldoh-person-content p {

        color: #68736c;

        font-size: 14px;

        line-height: 1.8;

        margin-bottom: 0;

    }


    /* =========================================================
       DIVIDER
    ========================================================== */

    .ldoh-person-divider {

        width: 45px;

        height: 3px;

        background: #FFCB05;

        margin: 23px 0 17px;

    }


    /* =========================================================
       FOOTER
    ========================================================== */

    .ldoh-person-footer {

        display: flex;

        align-items: center;

        color: #2DA34F;

        font-size: 12px;

        font-weight: 700;

    }


    .ldoh-person-footer i {

        margin-right: 7px;

    }


    /* =========================================================
       MOBILE
    ========================================================== */

    @media (max-width: 767px) {

        .ldoh-person-image {

            height: 320px;

        }


        .ldoh-person-content {

            padding: 24px;

        }


        .ldoh-person-content h3 {

            font-size: 22px;

        }

    }

@media (max-width: 991.98px) {

    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }

}

@media (min-width: 992px) {

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }

}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.service-item {
    position: relative;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
.portfolio-inner {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.portfolio-img {
    position: relative;
}

.portfolio-cat {
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 10px 24px;
    background: rgba(255, 255, 255, .7);
    z-index: 1;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-light);
    font-weight: normal;
    text-transform: uppercase;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--bs-primary);
}

.footer .copyright a:hover {
    color: var(--bs-light);
}
/*** Brand Color Override: Orange -> Green/Gold (LDoH palette) ***/
:root {
    --bs-primary: #2DA34F;
}

a {
    color: #2DA34F;
}
a:hover {
    color: #2DA34F;
}

.btn-primary {
    color: #fff;
    background-color: #2DA34F;
    border-color: #2DA34F;
}
.btn-primary:hover,
.btn-check:checked + .btn-primary,
.btn-check:active + .btn-primary,
.btn-primary:active,
.btn-primary.active {
    color: #fff;
    background-color: #2DA34F;
    border-color: #2DA34F;
}
.btn-check:focus + .btn-primary,
.btn-primary:focus {
    color: #fff;
    background-color: #2DA34F;
    border-color: #2DA34F;
    box-shadow: 0 0 0 .25rem rgba(24, 131, 77, .5);
}
.btn-primary:disabled,
.btn-primary.disabled {
    color: #fff;
    background-color: #2DA34F;
    border-color: #2DA34F;
}

.btn-outline-primary {
    color: #2DA34F;
    border-color: #2DA34F;
}
.btn-outline-primary:hover,
.btn-check:checked + .btn-outline-primary,
.btn-outline-primary:active,
.btn-outline-primary.active {
    color: #fff;
    background-color: #2DA34F;
    border-color: #2DA34F;
}

.text-primary { color: #2DA34F !important; }
.bg-primary { background-color: #2DA34F !important; }
.border-primary { border-color: #2DA34F !important; }

.link-primary { color: #2DA34F; }
.link-primary:hover,
.link-primary:focus { color: #2DA34F; }

.dropdown-item.active,
.dropdown-item:active {
    background-color: #2DA34F;
}

.list-group-item.active {
    background-color: #2DA34F;
    border-color: #2DA34F;
}

.page-link { color: #2DA34F; }
.page-item.active .page-link {
    background-color: #2DA34F;
    border-color: #2DA34F;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #2DA34F;
}

.form-control:focus,
.form-select:focus {
    border-color: #2DA34F;
    box-shadow: 0 0 0 .25rem rgba(24, 131, 77, .25);
}

.form-check-input:checked {
    background-color: #2DA34F;
    border-color: #2DA34F;
}

.progress-bar {
    background-color: #2DA34F;
}

/*** Gold accent for navbar (matches LDoH gov site) ***/
.navbar {
    background-color: #ffffff !important;
}
.navbar .navbar-nav .nav-link {
    color: #2C2825;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #2DA34F;
}
/*** Remove Dark Navy - Replace with Deep Green ***/
:root {
    --bs-dark: #2C2825;
}

.bg-dark {
    background-color: #FFCB05 !important;
}

.text-dark {
    color: #2C2825 !important;
}

.btn-dark {
    color: #fff;
    background-color: #2C2825;
    border-color: #2C2825;
}
.btn-dark:hover,
.btn-check:checked + .btn-dark,
.btn-check:active + .btn-dark,
.btn-dark:active,
.btn-dark.active {
    color: #fff;
    background-color: #2C2825;
    border-color: #2C2825;
}
.btn-check:focus + .btn-dark,
.btn-dark:focus {
    box-shadow: 0 0 0 .25rem rgba(15, 81, 50, .5);
}
.btn-dark:disabled,
.btn-dark.disabled {
    background-color: #2C2825;
    border-color: #2C2825;
}

.btn-outline-dark {
    color: #2C2825;
    border-color: #2C2825;
}
.btn-outline-dark:hover,
.btn-check:checked + .btn-outline-dark,
.btn-outline-dark:active,
.btn-outline-dark.active {
    color: #fff;
    background-color: #2C2825;
    border-color: #2C2825;
}

.border-dark { border-color: #2C2825 !important; }
.link-dark { color: #2C2825; }
.link-dark:hover,
.link-dark:focus { color: #2C2825; }

/* Headings currently use #2C2825 via body/h1-h6 rules in bootstrap.min.css */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    color: #FFCB05;
}
.ldoh-view-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #2DA34F;
    color: #ffffff;

    padding: 11px 20px;

    border-radius: 6px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition: all 0.3s ease;
}

.ldoh-view-all-btn:hover {
    background: #FFCB05;
    color: #2C2825;

    transform: translateX(3px);
}