:root {
    --yellow: #ffb91c;
    --blue: #1b64af;
    --grey: #42454f;
    --white: #ffffff;
}

a {
    text-decoration: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}


/****************************************************************
** Header **
****************************************************************/

.t3-header .headright {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.t3-header .head-icons .weblinks {
    grid-gap: 10px;
}

.t3-header .head-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 30px;
    color: var(--white);
    background-color: var(--grey);
    border-radius: 50%;
}


/****************************************************************
** Menu **
****************************************************************/

.t3-mainnav {
    background: var(--yellow);
}

.t3-mainnav .navbar-nav {
    --bs-nav-link-color: var(--grey);
    --bs-nav-link-font-weight: 500;
}

.t3-mainnav .navbar-nav .nav-link:hover {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
}


/****************************************************************
** Footer **
****************************************************************/

.t3-footer {
    background: var(--grey);
    color: var(--white);
}

.t3-footer a {
    color: var(--white);
}

.t3-footer a:hover {
    color: var(--yellow);
}

.t3-copyright {
    background: linear-gradient(to right, var(--yellow), var(--blue));
    padding: var(--footer-pad) 0;
}

.t3-copyright .moduletable.logos {
    padding: var(--footer-pad);
    background: var(--white);
    border-radius: 20px;
}

.moduletable.footermenu .nav {
    flex-direction: column;
}

.moduletable.footericons .weblinks {
    grid-gap: 20px;
    justify-content: flex-end;
}

.moduletable.footericons a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    font-size: 25px;
    color: var(--grey);
    background-color: var(--white);
    border-radius: 50%;
}

.moduletable.footericons a:hover {
    background-color: var(--yellow);
}


/****************************************************************
** Home **
****************************************************************/

.t3-sl-5 {
    background-color: var(--blue);
}

.module-title {
    background-color: var(--blue);
    color: var(--white);
    display: inline-flex;
    padding: 10px 10px 10px 60px;
    border-radius: 10px;
    text-transform: uppercase;
    position: relative;
}

.module-title::before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 50px;
    background-color: var(--yellow);
    border-radius: 10px 0 0 10px;
    padding: 10px;
}

.moduletable.logos {
    display: flex;
    justify-content: space-between;
}

.moduletable.logos img {
    height: 100px;
}



.moduletable.uccs .module-title::before {
    content: url('/images/template/menu_icon_bubble.svg');
}

.moduletable.uccs .lead {
    color: var(--white);
    max-width: 660px;
}

.moduletable.uccs .centres {
    display: grid;
    grid-gap: var(--bs-gutter-x);
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 992px) {
    .moduletable.uccs .centres {
        grid-template-columns: repeat(3, 1fr);
    }
}

.moduletable.uccs .centres .centre {
    background-color: var(--white);
    padding: var(--bs-gutter-x);
    border-radius: 10px;
}

.moduletable.uccs .centres .centre img {
    height: 30px;
    width: auto;
}



.moduletable.news .module-title::before {
    content: url('/images/template/menu_icon_news.svg');
}

.moduletable.news .mod-articles-items {
    display: grid;
    grid-gap: var(--bs-gutter-x);
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .moduletable.news .mod-articles-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .moduletable.news .mod-articles-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .moduletable.news .mod-articles-items {
        grid-template-columns: repeat(5, 1fr);
    }
}


.moduletable.updates {
    padding-left: 100px;
    position: relative;
}

.moduletable.updates::before {
    position: absolute;
    content: url('/images/template/menu_icon_arrow.svg');
    top: 0;
    left: 0;
    height: 80px;
    width: 80px;
    background-color: var(--yellow);
    border-radius: 10px;
    padding: 10px;
}

.moduletable.updates,
.moduletable.updates a {
    color: var(--white);
}

.moduletable.updates .mod-articles-items {
    display: grid;
    grid-gap: var(--bs-gutter-x);
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 992px) {
    .moduletable.updates .mod-articles-items {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .moduletable.updates .mod-articles-items {
        grid-template-columns: repeat(4, 1fr);
    }
}

