/**
 *  footer.css
 *  
 *  Styles for Slate Template Site Footer.
 */


.footer-main {
    color: var(--color-brand-blue-primary);
    column-gap: 152px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    line-height: 1.5;
}
.footer-main-contact {
    font-family: var(--font-brand-serif);
    width: 100%;
}
.footer-main-contact svg {
    height: auto;
    max-width: 100%;
}
.footer-main-contact > .addr,
.footer-main-contact > .btn-contact {
    margin-top: 24px;
}
.footer-main-contact > .addr {
    font-style: normal;
    font-weight: 300;
}
.footer-main-contact .btn-contact {
    display: block;
    width: fit-content;
}

.footer-main-contact .logo {
    max-width: 100%;
    height: auto;
}
.footer-main-contact .social {
    display: none;
    gap: 16px;
}
.footer-main-contact .title {
    font-size: 18px;
    font-weight: 500;
}

.footer-main-nav {
    column-gap: 80px;
    display: grid;
    grid-column: span 2 / span 2;
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
}
.footer-main-nav li {
    border-bottom: 1px solid var(--color-brand-blue-primary);
    padding: 16px 0 16px 8px;
}
.footer-main-nav li:hover {
    background-color: var(--bg-brand-blue-100);
}

.footer-aux {
    display: flex;
    justify-content: space-between;
    margin-top: 152px;
}
.footer-aux-social {
    display: flex;
    gap: 16px;
}
.footer-aux-social > li {
    color: var(--color-brand-blue-primary);
}
.footer-aux-social > li > a {
    color: inherit;
    display: inline-flex;
    vertical-align: text-bottom;
}
.footer-aux-social > li > a:hover {
    color: var(--color-brand-yellow-primary);
}

.footer-aux-notices {
    color: var(--color-brand-blue-primary);
    font-family: "Crimson Pro", serif;
    font-weight: 300;
}
.footer-aux-notices > a {
    color: inherit;
    text-decoration: underline;
}
.footer-aux-notices > a:hover {
    color: var(--color-brand-blue-waterhub);
    text-decoration: none;
}

@media only screen and (max-width: 1279px) {}

@media only screen and (max-width: 1023px) {


    .footer-main {
        column-gap: 80px;
    }

    .footer-main-nav {
        column-gap: 40px;
    }
}

@media only screen and (max-width: 767px) {

    .footer-main {
        column-gap: 0;
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    
    .footer-main-contact {
        grid-column: span 1 / span 1;
        text-align: center;
    }
    .footer-main-contact .social,
    .footer-main-contact > .addr,
    .footer-main-contact > .btn-contact {
        margin-top: 16px;
    }
    .footer-main-contact .social {
        display: flex;
        justify-content: center;
    }
    .footer-main-contact .social > li a {
        display: inline-flex;
        vertical-align: text-bottom;
    }
    .footer-main-contact .title {
        font-size: 16px;
    }
    .footer-main-contact .btn-contact {
        width: 100%;
    }

    .footer-main-nav {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        margin-top: 24px;
    }

    .footer-aux {
        margin-top: 24px;
    }
    .footer-aux-social {
        display: none;
    }
}

@media only screen and (max-width: 616px) {

    .footer-aux-notices {
        text-align: center;
    }
}