﻿/* Footer styles. Moved from an inline <style> block at the top of Views/Shared/_Footer.cshtml (2026-11-13)
   so they load in <head> instead of inside <body>. Rules unchanged. Linked last in _Layout.cshtml <head>. */

footer:nth-of-type(1) {

    padding: 0 0 calc(5vw + 25px) 0;
    background-color: #344645;
    display: inline-block;
    text-align: center;
    width: 100%;
    position: relative;
}

footer#copyright {
    padding: 25px 6px 25px 6px;
    background-color: #26302F;
    line-height: 1.5;
    font-weight: 300;
}


.divFooterLogoWrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    margin: 50px max(calc(50vw - 600px), 0px) 25px;
    max-width: 100%;
    gap: 0 36px;
}

.footerLogo img {
    width: 250px;
}

.socialTable {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(6, 1fr);
    gap: 9px;
    grid-auto-rows: minmax(40px, auto);
}

.footersocialicons {
    height: 18px;
    margin: auto 0;
}

.divFooterColumnWrapper {
    display: grid;
    grid-template-columns: repeat(4, auto);
    margin: 0 max(calc(50vw - 600px), 6px);
    justify-content: space-between;
    gap: 2rem;
}

.divFooterTable {
    display: flex;
    flex-direction: column;
    color: #FFFFFF;
    gap: 5px;
}

.divFooterHeadRow {
    padding: 30px 0 10px 0;
    font-weight: 500;
    font-size: 1.25rem;
}

.divFooterRow {
    padding: 0px 0 5px 0;
    display: table-row;
    width: auto;
    font-weight: 300;
}

.divFooterCell {
    width: fit-content;
    text-align: left;
}

.divFooterRow a {
    text-decoration: none;
    color: #FFF;
}

.divFooterRow a:hover {
    color: #30CEBB;
}

.divFooterSocialWrapper {
    color:#ffffff;
    text-align:left;
    margin: 50px max(calc(50vw - 600px), 6px) 25px;
    gap: 10px;
    position: absolute;
    bottom: calc(5vw  + 15px);
}

.pFooter {
    color: #FFF;
    text-align: center;
}

#copyright a {
    text-decoration: none;
    color: #FFF;
}

@media (max-width: 1000px) {
    .divFooterColumnWrapper {
        justify-content: flex-start;
    }
}

@media (max-width: 834px) and (min-width: 601px) {
    .divFooterColumnWrapper {
        grid-template-columns: repeat(3, auto);
    }

    .divFooterColumnWrapper .divFooterTable:nth-of-type(1) {
        grid-area: 1 / 1 / 2 / 2;
    }

    .divFooterColumnWrapper .divFooterTable:nth-of-type(2) {
        grid-area: 1 / 2 / 3 / 3;
    }

    .divFooterColumnWrapper .divFooterTable:nth-of-type(3) {
        grid-area: 1 / 3 / 2 / 4;
    }

    .divFooterColumnWrapper .divFooterTable:nth-of-type(4) {
        grid-area: 2 / 3 / 3 / 4;
    }
}

@media (max-width: 834px) {
    .divFooterLogoWrapper {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) and (min-width: 376px) {
    .divFooterColumnWrapper .divFooterTable:nth-of-type(1) {
       grid-column:1;
       grid-row:1/2;
    }

    .divFooterColumnWrapper .divFooterTable:nth-of-type(2) {
        grid-column: 1;
        grid-row: 2/2;
    }

    .divFooterColumnWrapper .divFooterTable:nth-of-type(3) {
        grid-column: 2;
        grid-row: 2/2;
    }

    .divFooterColumnWrapper .divFooterTable:nth-of-type(4) {
        grid-column: 2;
        grid-row: 1/2;
    }
    .divFooterSocialWrapper{
        position:unset;
    }
}

@media (max-width: 600px) {
    .divFooterColumnWrapper {
        grid-template-columns: auto auto;
        grid-template-areas:""
    }
}
@media (max-width: 375px) {
    .divFooterColumnWrapper {
        grid-template-columns: auto;
    }

    .divFooterSocialWrapper {
        position: static;
    }
}
@media print {
    footer, .site-footer {
        background: #ffffff !important;
        color: #000000 !important;
    }
        /* If there are links in the footer */
        footer a, .site-footer a {
            color: #000000 !important;
            text-decoration: none; /* optional */
        }
        /* Optional: remove background images if any */
        footer, .site-footer, footer * {
            -webkit-print-color-adjust: exact;
            print-color-adjust: exact; /* Ensure proper color rendering */
            background-image: none !important;
        }
}
