﻿/* Documentation Portal */

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/* VS customisation above. HSS customisation below. */

/* Overall */
@font-face {
    font-family: 'Nunito';
    src: url('/font/Nunito/Nunito-Regular.ttf') format('truetype');
    font-weight: normal;
}

:root {
    --bs-body-font-size: 0.95rem;
    --hss-header-colour: #495057;
    --hss-link-colour: #1f5793;
}

@media (max-width: 767px) {
    html {
        font-size: smaller;
    }
}

body {
    font-family: Nunito;
}
/* End Overall */


.hss-footer {
    line-height: 60px;
    white-space: nowrap;
    width: 100%;
}

/* General Elements */
h1, h2, h3, h4, h5, h6 {
    color: var(--hss-header-colour);
}

a {
    color: var(--hss-link-colour);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

h1, .h1 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}


/* Laptop and narrower screens */
h1, .h1 {
    font-size: calc(1.375rem + 1.5vw);
}

h2, .h2 {
    font-size: calc(1.325rem + .9vw);
}

h3, .h3 {
    font-size: calc(1.275rem + .3vw);
}

h4, .h4 {
    font-size: 1.25rem;
}

h5, .h5 {
    font-size: 1.1rem;
}

h6, .h6 {
    font-size: 1rem;
}


/* Large screens */
@media (min-width: 1200px) {
    h1, .h1 {
        font-size: 2.5rem;
    }

    h2, .h2 {
        font-size: 2rem;
    }

    h3, .h3 {
        font-size: 1.5rem;
    }

    h4, .h4 {
        font-size: 1.2rem;
    }

    h5, .h5 {
        font-size: 1.1rem;
    }

    h6, .h6 {
        font-size: 1rem;
    }
}

ol, ul {
    margin-top: 0.2rem;
    margin-bottom: 0.5rem;
}

/* End General Elements */

