﻿:root {
    --theme-red: #8a1919;
    --theme-blue: #3f698c;
}

body{
    position: relative;
    width: calc(100% - 10px);
    margin-top: 0px;
    margin-left: 5px;
    margin-right: 5px;
}
.site-divHead {
    display: block;
    position: sticky;
    top: 0px;
    padding-top: 8px;
    background-color: white;
    width: 100%;
    border-bottom: 2px solid var(--theme-red);
    height: auto;
    max-height: 100%;
    transition: height linear .5s;
    overflow: hidden;
    z-index: 3;
}
.site-divHeadBox {
    position: sticky;
    top: 0px;
    display: flex;
    flex-direction: row;
    width: calc(100% - 45px);
    padding-left: 45px;
    padding-top: 5px;
    padding-bottom: 5px;
    justify-content: space-between;
    background-color: white;
}
.site-imgLogo {
    max-width: 225px;
    cursor: pointer;
    padding-bottom: 5px;
}

/*#region Menu Button*/
.site-menuBtnBox {
    display: none;
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    gap: 5px;
    cursor: pointer;
    border: 1px solid white;
    padding: 2px;
}
    .site-menuBtnBox:hover {
        box-shadow: 0px 0px 0px 2px #00000021;
    }
.site-divMenuLinesBox div {
    width: 25px;
    height: 2px;
    background-color: black;
    margin: 4px 0;
}
.site-divMenuLabel {
    font-size: 1.2em;
    text-transform: uppercase;
}
/*#endregion*/
/*#region Menu*/
.site-mainMenu {
    display: none;
    list-style: none;
    padding-left: 0;
    margin-top: 5px;
    margin-bottom: 5px;
}
.site-mainMenu div{
    margin-left: auto;
    margin-right: auto;
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: center;
    cursor: pointer;
    font-size: 1.2em;
    border-bottom: 2px solid white;
}
    .site-mainMenu div:hover {
        background-color: var(--theme-red);
        color: white;
        /*border-bottom: 2px solid var(--theme-red);*/
    }

.divMenuBlock {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
}

/*#endregion*/
/*#region Nav bar*/
.site-navBox {
    position: absolute;
    right: 35px;
    top: 50%;
    display: flex;
    gap: 10px;
    transform: translateY(-50%);
}
.site-navBox div {
    font-size: 1.2em;
    cursor: pointer;
    border-bottom: 2px solid white;
}
    .site-navBox div:hover {
        border-bottom: 2px solid var(--theme-red);
    }
    .site-navBox div.admin, .site-mainMenu div.admin {
        color: #ff0000;
    }
/*#endregion*/
.site-divBodyContainer {
    width: 80%;
    max-width: 925px;
    min-height: 425px;
    padding-top: 15px;
    margin-left: auto;
    margin-right: auto;
}
.site-pageTitle {
    width: auto;
    margin-left: 6px;
    margin-top: 15px;
    font-family: 'Open Sans', Arial;
    font-size: 1.2em;
    font-weight: bold;
    color: #0054aa;
}
    .site-pageTitle a {
        border-bottom: 2px solid #245488;
        cursor: pointer;
        -webkit-user-select: none;
        user-select: none;
    }
.site-divFootContainer {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 90px;
    padding-top: 15px;
    padding-bottom: 15px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border-top: 2px solid var(--theme-red);
    justify-content: center;
}
    .site-divFootContainer a {
        color: #245488;
    }
    .site-pipeSpace{
        display:block;
    }
/*#region form lock spinner*/
@keyframes spinner {
    0% {
        transform: translate3d(-50%, -50%, 0) rotate(0deg);
    }

    100% {
        transform: translate3d(-50%, -50%, 0) rotate(360deg);
    }
}

.spin::before {
    animation: .8s linear infinite spinner;
    animation-play-state: inherit;
    border: solid 5px #92d050;
    border-bottom-color: #538bb9;
    border-top-color: #538bb9;
    border-right-color: #538bb9;
    border-left-color: white;
    border-radius: 50%;
    content: "";
    height: 20px;
    width: 20px;
    position: absolute;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
    will-change: transform;
}
/*#endregion*/
/*#region message box block frame*/
.blockFrame {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba( 255, 255, 255, .8 );
}

.msgBox {
    display: flex;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 80%;
    max-width: 450px;
    transform: translate(-50%, -50%);
    background-color: white;
    box-shadow: 1px 1px 3px 2px #93ad44ad;
    border-radius: 7px;
    padding: 13px 25px;
    flex-direction: column;
    align-items: center;
}

    .msgBox p {
        font-family: 'Open Sans', Arial;
        font-size: 1.4em;
        font-weight: bold;
        margin: 10px 0px 20px 0px;
        text-align: center;
    }

    .msgBox button {
        padding: 5px 30px;
        background-color: #92d050;
        border: 2px solid #92d050;
        font-size: 1.2em;
        color: #033b74;
        cursor: pointer;
    }
    .msgBox button:hover{
        border-color: black;
    }
    .msgBox a {
        color: #033b74;
    }
    

    body.statMsg .blockFrame {
        overflow: hidden;
    }
/* Anytime the body has the loading class, our
   modal element will be visible */
body.statMsg .blockFrame {
    display: block;
}
/*#endregion*/

/*#region Window size modifiers*/
@media (max-width: 1050px) {
    .site-navBox {
        display: none;
    }

    .site-menuBtnBox {
        display: inline-flex;
    }

    .site-imgLogo {
        max-width: 150px;
    }

    /* footer */
    .site-divFootContainer {
        flex-direction: column;
    }
    .site-pipeSpace {
        display: none;
    }
}
/* Phone body width */
@media (max-width: 550px){
    .site-divBodyContainer{
        width: 95%;
    }
}
/*#endregion*/