/* Footer styling by MA */
.footer .container {
    margin-left: var(--content-margin);
    margin-right: var(--content-margin);
}

.footer .row {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer {
    background-color: #231f20;
    padding: 50px 0;
}

.footer-col h4 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 35px;
    font-weight: 500;
    position: relative;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    bottom: -10px;
    background-color: var(--theme-colour);
    height: 2px;
    box-sizing: border-box;
    width: 50px;
}

.footer-col ul li {
    color: #bbbbbb;
}

.footer-col ul li:not(:last-child) {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 16px;
    text-decoration: none;
    font-weight: 400;
    color: #bbbbbb;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer-col .social-links a {
    display: inline-block;
    height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 10px 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.5s ease;
}

.footer-col .social-links a:hover {
    color: #24262b;
    background-color: #ffffff;
}

.footer .version p {
    text-align: center;
    color: #4f4f4f;
        margin: 0;
    }
    
    .footer .version p code {
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    }
    
    /* The Bedford College Group logo - do not modify! */
    #tbcgBrand {
        margin-top: 10px;
        bottom: auto;
        width: 60%;
        max-width: 200px;
        min-width: 170px;
        border-radius: 0;
    }
    
    @media only screen and (max-width: 1100px) {
        .footer {
            padding-top: 30px;
            padding-bottom: 30px;
        }
    
        .footer-col {
            margin-bottom: 20px;
        }
    
        .footer .row {
            grid-template-columns: 1fr 2fr;
        }

        .footer .version {
            margin-top: 20px;
        }
}

@media only screen and (max-width: 900px) {
    .footer {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .footer-col {
        margin-bottom: 20px;
    }

    .footer .row {
        grid-template-columns: 1fr 1fr;
    }
.footer .version {
    margin-top: 20px;
}
}

@media only screen and (max-width: 600px) {
    .footer {
        padding: var(--content-margin) 30px;
    }

    .footer .row {
        grid-template-columns: 1fr;
    }

    .footer-col {
        margin-bottom: 10px;
    }
.footer .version p {
    text-align: left;
}
}