﻿/*  Initialise vh sizing    */
:root {
    --vh: 100vh;
}

.vh-100 {
    height: 100vh !important; /* Fallback for browsers that do not support Custom Properties */
    height: var(--vh) !important;
}

.vh-min-100 {
    min-height: 100vh !important; /* Fallback for browsers that do not support Custom Properties */
    min-height: var(--vh) !important;
}

.branded {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -100 !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.slideimage {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100%;
}

.bg-clear {
    background-color: #f8f9fa;
}

.card-link {
    color: #3344dd !important;
}

/*  Colour changes for accessibility compliance    */
.btn-primary {
    background-color: #2E6CA2;
    border-color: #2E6CA2;
}

.btn-primary:hover {
    background-color: #255782;
    border-color: #255782;
}

a, a:hover {
    color: #2E6CA2;
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .vh-min-sm-100 {
        min-height: 100vh !important; /* Fallback for browsers that do not support Custom Properties */
        min-height: var(--vh) !important;
    }

    .branded {
        background-image: none !important;
    }
}


/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .w-sm-400 {
        width: 400px !important;
    }

    .mw-sm-64 {
        min-width: 64px !important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .w-md-768 {
        width: 768px !important;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}
