/* Sticky footer styles
/*-------------------------------------------------- */
#footer.footer {
    float: none;
    position: absolute;
    /* Set the fixed height of the footer here. This makes it overlap body */
    height: auto;
    background-color: var(--theme-footer-bg);
    text-align: left;
    padding: 1.6em 1.6em 30px;
}

main.main_content {
    padding-bottom: 360px;
}

.footer	li {
    display: inline-block;
    margin: .4em;
}

#footer a, #footer a:visited, .footer a, .footer a:visited {
    color: white;
    text-decoration: none;
    border-bottom: solid 1px var(--theme-header-link-highlight);
}

#footer a:hover, .footer a:hover {
    background-color: transparent;
    color: var(--theme-footer-color-highlight);
}


#footer #ctFooterLink,
#footer a {
    border-bottom: none;
    font-size: 14px;
}

#footer #footerLinks {
    padding-top: 30px;
    padding-bottom: 30px;
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-weight: bold;
}

#footer .footer-logo a, #footer .footer-logo a:visited {
    border: none;
    background-color:var(--theme-footer-bg);
    color: white;
    text-decoration: none;
}

#footer .tenant-copyright {
    margin-top: 0.34em;
    vertical-align: baseline;
    font-size: 14px;
    text-align: right;
}

#footer li:first-child {
    margin-left: 0;
}

#footer .footer-logo {
    width: auto;
}

#footer .footer-logo .logo-image {
    height: 54px;
    width: 105px;
}

/*Specific image sizes for each logo, to prevent distortion*/
#footer #mbie-logo {
    height: 72px;
    width: 378px;
}

#footer #gov-logo {
    margin-top: 9px;
    height: 48px;
    width: 293px;
}

#footerLogos {
    border-bottom: 1px solid var(--theme-emphasis-alt);
    padding: 60px 0 30px 0;
    flex-direction: row;
    justify-content: space-between;
}

#footer .col-sm-6:first-child {
    font-size: 20px;
}


@media (max-width: 991px) {
    #footer .col-sm-6:first-child {
        font-size: 16px;
    }

    #footer #mbie-logo {
        height: 57px;
        width: 300px;
    }
    #footer #gov-logo {
        margin-right: 10px;
        height: 37px;
        width: 227px;
        margin-top: 16px;
        padding-left: 9px;
        margin-bottom: 7px;
    }
}


@media (max-width: 767px) {
    .footer	li {
        display: block;
        margin-left: 0;
        margin-top: 1em;
        margin-bottom: 1em;
    }

    .footer	li:last-child {
        margin-bottom: 30px;
    }

    main.main_content {
        padding-bottom: 630px;
    }

    #footer #footerLogos .footer-logo:last-child {
        margin-top: 30px;
        margin-left: 58px;
    }

    #footer #footerLinks {
        margin-left: 70px;
    }

    #footer #footerLinks,
    #footer #footerLogos {
        flex-direction: column;
    }

    #footer .tenant-copyright {
        font-size: 14px;
        text-align: left;
    }

    .footer-logo:has(#ctFooterLink) {
        margin-top: 30px;
        margin-left: 70px;
    }
}