﻿:root {
    --colour-primary: rgba(26,116,187,1.0);
    --colour-primary-light: rgba(26,116,187,0.8);
    --colour-secondary: rgba(0,166,156,1.0);
    --colour-secondary-light: rgba(0,166,156,0.8);
    --colour-link-default: rgb(13, 110, 253);
    --font-site-default: Raleway, sans-serif;
    --font-default-bootstrap: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.overlay-middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #008CBA;
}

.overlay-partial {
    position: absolute;
    bottom: 0;
    left: 100%;
    right: 0;
    margin-left: 200px;
    background-color: #008CBA;
    overflow: hidden;
    width: 0;
    height: 100%;
    transition: .5s ease;
}

.overlay-button {
    padding: 16px 32px;
    background-color: #008CBA;
}

.overlay-middle .overlay-link {
    color: darkblue;
    font-size: 1.1vw;
}

.tile-body {
    padding: 0.8rem;
    height: 60%;
}

@media(min-width: 2048px) {
    .overlay-middle .overlay-link {
        color: darkblue;
        font-size: 1vw;
    }

    .tile-body {
        padding: 0.9rem;
        height: 60%;
    }
}

.tile-content {
    height: 100%;
}

.tile-title {
    height: 6vw;
    /*font-size: 1rem;*/
    font-size: 1.1vw;
}

.tile-summary {
    height: calc(100% - 6vw);
    padding-left: 8px;
    padding-right: 8px;
    font-weight: 500;
    /*font-size: 0.9rem;*/
    font-size: 1.2vw;
    color: gray;
    overflow: hidden;
}

.hover-tile {
    height: 35vh;
    font-family:var(--font-site-default);
}

@media (min-width: 2048px) {
    .hover-tile {
        height: 30vh;
        font-family: var(--font-site-default);
    }

    .tile-title {
        height: 6vw;
        /*font-size: 1rem;*/
        font-size: 1vw;
    }

    .tile-summary {
        height: calc(100% - 6vw);
        padding-left: 8px;
        padding-right: 8px;
        font-weight: 500;
        /*font-size: 0.9rem;*/
        font-size: 1vw;
        color: gray;
        overflow: hidden;
    }
}

.hover-tile:hover .tile-content {
    transition: .5s ease;
    opacity: 0.1;
}

.hover-tile:hover .overlay {
    opacity: 1;
}

.hover-tile .overlay-middle {
    height: 100%;
    align-content: center;
    align-items: center;
}

.hover-tile:hover .overlay-middle {
    opacity: 1;
}

.hover-tile:hover .overlay-partial {
    width: 100%;
    left: 0;
}

.hover-text-middle {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.hover-text-left {
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: left;
}

.thumbnail-img {
    width: 100%;
    height: 60%;
    overflow: hidden;
    /*object-position: 0% 100%;*/
}

@media(min-width: 2048px) {
    .thumbnail-img {
        width: 100%;
        height: 70%;
        overflow: hidden;
        /*object-position: 0% 100%;*/
    }
}

    .thumbnail-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 50% 50%;
    }

.article-image {
    width: 100%;
    object-fit: contain;
}

.article-modal {
    min-width: 70%;
}

.article-modal-content {
    max-height: 90vh;
}

.article-body {
    margin-top: 20px;
    overflow-y: scroll;
}

.list-bullet li {
    display: list-item;
    list-style-type: initial;
}

.news-footer {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 10px;
    font-family: var(--font-site-default);
}

    .news-footer a {
        display: inline-block;
        font-size: 1.1vw;
    }

    @media(min-width: 2048px) {
        .news-footer a {
            display: inline-block;
            font-size: 0.9vw;
        }
    }

.fill-parent-width {
    width: 100%;
}

.base-container {
    padding-left: 10%;
    padding-right: 10%;
}

.top-title {
    margin-top: 2vh;
    padding-top: 10px;
    font-family: var(--font-site-default);
}

h3.top-title {
    /*font-size: 1.2rem;*/
    font-size: 1.3vw;
    font-family: var(--font-site-default);
}

h5.top-title {
    /*font-size: 1.2rem;*/
    font-size: 1.1vw;
    font-family: var(--font-site-default);
}

@media (min-width: 2048px) {
    h5.top-title {
        /*font-size: 1.2rem;*/
        font-size: 0.9vw;
        font-family: var(--font-site-default);
    }
}

.buttons-material a.btn-circular-material:hover {
    border-color: var(--colour-primary);
    filter: brightness(0) saturate(100%) invert(36%) sepia(66%) saturate(742%) hue-rotate(166deg) brightness(96%) contrast(96%);
}

.buttons-material a.btn-circular-material-alert:hover {
    border-color: red;
    filter: brightness(0) saturate(100%) invert(17%) sepia(73%) saturate(6739%) hue-rotate(357deg) brightness(89%) contrast(129%);
}

.btn-circular-material {
    width: 37px;
    height: 37px;
    line-height: 37px;
    padding: 0;
    background-color: #ffffff;
    border-color: lightslategray;
    border-radius: 50%;
    text-align: center;
    letter-spacing: .5px;
    position: relative;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    vertical-align: middle;
    align-content: center;
    align-items: center;
    z-index: 1;
    will-change: opacity, transform;
    transition: all .3s ease-out;
}

    .btn-circular-material svg {
        align-content: flex-start;
        align-items: flex-start;
        filter: brightness(0) saturate(100%) invert(67%) sepia(24%) saturate(163%) hue-rotate(128deg) brightness(86%) contrast(88%);
    }
        .btn-circular-material svg use {
            left: 0;
            top: 0;
            height: 25px;
            width: 25px;
        }

    .btn-circular-material :visited {
        color: #ffffff;
        text-decoration: none;
    }

    .btn-circular-material :hover {
        border-color: var(--colour-primary);
        filter: brightness(0) saturate(100%) invert(36%) sepia(66%) saturate(742%) hue-rotate(166deg) brightness(96%) contrast(96%);
    }

.btn-circular-material-alert {
    width: 37px;
    height: 37px;
    line-height: 37px;
    padding: 0;
    background-color: #ffffff;
    border-color: lightslategray;
    border-radius: 50%;
    text-align: center;
    letter-spacing: .5px;
    position: relative;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    vertical-align: middle;
    align-content: center;
    align-items: center;
    z-index: 1;
    will-change: opacity, transform;
    transition: all .3s ease-out;
}

    .btn-circular-material-alert svg {
        align-content: flex-start;
        align-items: flex-start;
        filter: brightness(0) saturate(100%) invert(67%) sepia(24%) saturate(163%) hue-rotate(128deg) brightness(86%) contrast(88%);
    }

        .btn-circular-material-alert svg use {
            left: 0;
            top: 0;
            height: 25px;
            width: 25px;
        }

    .btn-circular-material-alert :visited {
        color: #ffffff;
        text-decoration: none;
    }

    .btn-circular-material-alert :hover {
        border-color: red;
        filter: brightness(0) saturate(100%) invert(17%) sepia(73%) saturate(6739%) hue-rotate(357deg) brightness(89%) contrast(129%);
    }

.table-content {
    padding: 20px;
}

    table.table-display {
        width: 100%;
    }

    table.table-display tr {
        border-bottom: 1px solid #ddd;
    }

    table.table-display tr:last-child {
        border-bottom: none;
    }

a.link-news {
    display: flex;
    height: 20vh;
    text-decoration: none;
    font-family: var(--font-site-default);
}

    a.link-news:visited {
        color: rgb(13, 110, 253)
    }

a.link-news h3 {
    padding-top: 30px;
}

a.link-news p {
    padding-bottom: 30px;
}

@media (min-width: 2048px) {
    a.link-news h3 {
        padding-top: 30px;
        font-size: 1.5rem;
    }

    a.link-news p {
        padding-bottom: 30px;
        font-size: 1.5rem;
    }
}

.article-summary {
    color: gray;
    font-weight: 600;
}

.news-list-thumbnail {
    height: 100%;
    width: 25%;
    overflow: hidden;
}

    .news-list-thumbnail img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: 50% 50%;
        mask-image: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,1) 50%);
    }

.text-default {
    font-family: var(--font-site-default);
}

@media (min-width: 2048px){
    .text-default {
        font-size: 1.5rem;
        font-family: var(--font-site-default);
    }
}
