﻿/*Admin Portal*/

/* Overall */
@font-face {
    font-family: 'Nunito';
    src: url('/font/Nunito/Nunito-Regular.ttf') format('truetype');
    font-weight: normal;
}

:root {
    --brand-background-primary: #163e68;
    --brand-color-primary: #ffffff;
    --bs-body-bg: #f4f7fa;
    --bs-body-font-size: 0.95rem;
    --hss-left-navbar-width: 260px;
    --hss-footer-height: 60px;
    --hss-top-navbar-height: 80px;
    --hss-header-colour: #495057;
    --hss-btn-primary-body: #1b6ec2;
    --hss-user-icon-colour: #313a46;
}

@media (max-width: 767px) {
    html {
        font-size: smaller;
    }
}

body {
    font-family: Nunito;
}
/* End Overall */

/* Layout */
html {
    position: relative;
    min-height: 100%;
}

.hss-content {
    overflow: auto;
    position: absolute;
    top: var(--hss-top-navbar-height); 
    bottom: var(--hss-footer-height);
    left: 0;
    right: 0;
    z-index: 1;
    left: var(--hss-left-navbar-width);
}


/* Sticky footer */
.hss-footer {
    position: absolute;
    bottom: 0;
    line-height: var(--hss-footer-height);
    white-space: nowrap;
    width: 100%;
    padding-left: var(--hss-left-navbar-width);
}
/* End Layout */

/* General Elements */
h1, h2, h3, h4, h5, h6 {
    color: var(--hss-header-colour);
}

textarea {
    tab-size: 4;
    font-family: monospace;
    white-space: pre;
}

a {
    color: #0366d6;
    text-decoration: none;
}
/* End General Elements */

/* Bootstrap Overrides */
.btn-primary {
    color: #fff;
    background-color: var(--hss-btn-primary-body);
    border-color: #1861ac;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.btn-link {
    text-decoration: none;
}

/* Toast Notificaton modifications - default styles are too subtle and notification is easily missed by a user who is not expecting it */
.toast {
    border: 6px solid rgba(22, 62, 104, 0.6);
    background-color: rgba(255,255,255,1.00);
}

/* Buttons: Allow sufficient space between adjacent buttons to avoid mouse-misfire */
a.btn, button.btn {
    margin-right: 1.5rem !important;
}

/* End Bootstrap Overrides */

/* Table icon styles -------------------------------------------------- */
.hss-action-link-icon {
    padding: 0 5px 0 5px;
}

.hss-action-link {
    color: var(--brand-background-primary);
}

    .hss-action-link:hover {
        color: #457fb0;
    }
/* End Table icon styles -------------------------------------------------- */

/* This is probably for an Asp.Net validation summary */
.validation-summary-errors ul {
    list-style-type: none;
    padding-left: 0px;
    margin-bottom: 0px;
}

/* This may be unused */
.error {
    color: red;
}

/* Image button/links used in tables */
.hss-table-button {
    margin-right: 1.5rem !important;
    padding: 0 !important;
    color: var(--brand-background-primary);
}

/* Make text stand out. No suitable BS class does this. */
.hss-emphasis {
    font-weight: bolder;
}

/* Same text colour as overriden primary button background (body) colour - see .btn-primary above */
.hss-text-primary {
    color: var(--hss-btn-primary-body);
}

.hss-logo {
    color: var(--brand-color-primary);
    display: block;
    font-variant: small-caps;
    font-size: x-large;
    line-height: 70px;
    width: var(--hss-left-navbar-width);
    position: fixed;
    top: 0;
}


/* Navigation Bars */

/* BS */
a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* BS */
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.hss-top-nav-bar {
    background: url("/img/nav-bg.png");
    color: #111111;
    margin-bottom: 0;
    min-height: 70px;
    width: 100%;
    -webkit-box-shadow: 0 0 20px 0 rgba(0,0,0,.20);
    box-shadow: 0 0 20px 0 rgba(0,0,0,.20);
    padding-left: var(--hss-left-navbar-width);
}

.hss-top-nav-bar-user {
    color: var(--hss-user-icon-colour);
    padding: 0 10px 0 10px;
    text-decoration: none;
    font-size: x-large;
}

    .hss-top-nav-bar-user:hover {
        color: var(--hss-user-icon-colour);
    }


.hss-left-nav-bar {
    background: var(--brand-background-primary);
    color: var(--brand-background-primary);
    width: var(--hss-left-navbar-width);
    z-index: 10;
    bottom: 0;
    position: fixed;
    top: 0;
    padding-top: 70px;
}

.hss-left-nav-bar > hr {
    color: var(--brand-color-primary)
}

/* BS */
.nav-link {
    color: var(--brand-color-primary);
    cursor: pointer;
}
    .nav-link:hover {
        color: rgb(190, 187, 187);
    }
    .nav-link.active {
        color: #fff;
    }
        .nav-link.active:hover {
            color: #fff;
        }

/* End Navigation Bars */

/* Override colours for Print Template Element tabs. Must declare after .nav-link etc. above */
.hss-tabstyle {
    color: var(--hss-header-colour);
}

    .hss-tabstyle.active:hover {
        color: var(--hss-header-colour);
    }

/* Align tooltip text left */
.tooltip.show div.hss-left {
    text-align: left;
}



