﻿:root {
    --rtblue: #3399FF;
    --rtgray: #333333;
}



/* ========================================================  */
/* ====================== LAYOUTS =========================  */
/* ========================================================  */

.main-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden; /* Ensure body does not scroll */
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    min-height: 120px;
    background-color: #3399FF;
    z-index: 100;
    border-bottom: 1px #333333 solid;
    background-image: url("/img/headerbackground.png");
    background-repeat: no-repeat;
}


.info-bar {
    width: 420px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: red;
    color: white;
    position: fixed;
    left: 50%;
    transform: translate(-50%, 280%);
    border: 2px solid white;
    margin-top: 20px;
    padding: 2px;
    z-index: 10;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.blink {
    animation: blink 3s infinite;
}

/* Cause the links in the nav bar to change color when they go to the drop down (@medium size) and are over a different color background */
@media (min-width: 765px) {
    .layout-header, .nav-link {
        color: white;
    }
}

.nav-link:hover {
    color: black;
    font-weight: 500;
}

.body-container {
    flex: 1;
    margin: 0;
    margin-top: 120px; /* Adjust according to header height */
    overflow-y: auto;
    background-color: #ffffff;
    padding: 0;
}

footer {
    height: 170px;
    background-color: #f8f9fa;
    flex-shrink: 0;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 25px;
    background-color: whitesmoke;
    border-top: 1px #3399FF solid;
    user-select: none;
    width: 100%;
}



.bc-layout-content {
    width: 99%;
    padding-top: 50px;
    padding-bottom: 50px;
    min-height: calc(100vh - 280px);
}


/*.layout-header {
    padding-top: 20px;
    margin-bottom: 0;
    padding-bottom: 0;
    margin-left: 0;
    background-color: #3399FF;
    min-height: 120px;
    border-bottom: 1px #333333 solid;
    background-image: url("/img/headerbackground.png");
    background-repeat: no-repeat;
    background-size: auto;
    background-position: left top;
    user-select: none;
    font-weight: 500;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    left: 0;
    right: 0;
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
}*/





/*.layout-content {*/
    /*flex: 1;*/
    /*min-height: calc(100vh - 280px);
    padding: 0;
    margin: 0;
    user-select: none;
    background-color: white;
}*/

/*.bcLayoutPage {
    width: 100%;
    margin: 0;
    padding: 0;
    padding-left: 10px;
    padding-right: 10px;
}*/



/*.bc-layout-footer {
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 25px;
    height: 150px;
    background-color: whitesmoke;
    border-top: 1px #3399FF solid;
    user-select: none;
    width: 100%;
}*/
















/* ========================================================  */
/* ======================== PAGES =========================  */
/* ========================================================  */


.main-page {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}











/* ========================================================  */
/* ======================== BUTTONS =======================  */
/* ========================================================  */


.btn {
    background-color: var(--rtblue);
}

    .btn:disabled {
        background-color: lightgray;
        border-color: gray;
    }

    .btn:hover, .btn-primary:hover {
        background-color: #303030;
        color: whitesmoke;
    }
















/* ========================================================  */
/* ==================== TEXT ELEMENTS =====================  */
/* ========================================================  */





.user-name {
    z-index: 5;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 0;
    margin: 0;
    color: white;
    font-size: 14px;
    user-select: none;
}

.link-border {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 8px;
    height: 28px;
    right: 10px;
    border-radius: 5px;
    background: black;
    padding-right: 5px;
    padding-left: 5px;
}











/* ========================================================  */
/* ======================== ERRORS ========================  */
/* ========================================================  */


#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;
    }







