﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --primary: #192044;
    --primary-light: #052FB2;
    --secondary: #3f7cfc;
    --tertiary: #FFC200;
    --quaternary: #011c79;
    --quaternaryLight: #1429AE;
    --secondary-medium: #e4f6ff;
    --secondary-light: #65c3fd;
    --secondary-pale: #e4f6ff;
    --white: #ffffff;
    --black: #000000;
    --light-gray: #f0f0f0;
    --base-em: 12;
    --base-em-m: 14;
    --base-em-l: --base-em + 2;
    --base-em-xl: --base-em + 5;
    --xs: '479px';
    --s: '480px';
    --m: '768px';
    --l: '960px';
    --xl: '1200px';
    --xxl: '1420px';
    --full-grid: true;
    --automargin: false;
}

html, body {
    font-family: "Mohr", Helvetica, Arial, sans-serif;
}

body {
	margin: 0;
}

a, a:hover {
    text-decoration: none;
}
a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: var(--white);
    background-color: var(--secondary);
    border-color: var(--secondary);
}

/*//     Utility   //*/
.spacer {
    height: 1em;
    border-color: whitesmoke;
}


/*//     Validation   //*/

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


/*//    Error - 404 Screen Styles   //*/

    .error-screen {
        height: calc(100vh - 28vh);
    }

    .error-card {
        background: var(--white);
        width: 33vw;
        margin: 20vh auto;
        border-radius: 1em;
        text-align: center;
        padding: 2em;
        box-shadow: 0 7px 21px #e9ecef;
    }

        .error-card h1 {
            font-family: 'Mohr-Bold', sans-serif;
            line-height: 1.5em;
            color: var(--primary);
            padding: 0;
            font-size: xxx-large;
            text-transform: uppercase;
            margin-bottom: 0.25em;
        }

        .error-card h2 {
            display: contents;
        } 

/*//   Scrollbar - Custom Styles  // */

/* Width */
::-webkit-scrollbar
{
    width: 8px!important;
    height: 8px!important;
}

/* Track */
::-webkit-scrollbar-track
{
    border-radius: 10px!important;
    width: 10px!important;
    height: 10px!important;
    background: var(--light);
}

/* Handle */
::-webkit-scrollbar-thumb
{
    background: lightgray;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover
{
    background: darkgray;
}

/*  Remove un-needed outlines from active and in-focus button states   */
.e-btn:focus, .e-css.e-btn:focus, .e-btn:active, .e-css.e-btn:active {
    background-color: unset;
    border-color: transparent;
    color: unset;
    outline: unset;
    outline-offset: unset;
    box-shadow: unset;
}

.page {
    min-height: calc(100dvh - 129px);
}

.e-dialog {
    max-height: 98dvh!important;
}