* {
    box-sizing: border-box;
    font-family: Helvetica, Arial, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: hidden;
}


/**************************************************************************************************/
/************************ SITE BAR and everything contained in it. ********************************/
/**************************************************************************************************/
#site_bar {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 12vh;
    background-color: #336699;
    border: none;
    z-index: 1000;
}

#site_menu_switch {
    position: absolute;
    top: 1vh;
    left: 1vh;
    height: 8vh;
    width: 8vh;
    background-image: url(/images/menu.png);
    background-size: 100% 100%;
    cursor: pointer;
}

#page_title {
    position: absolute;
    top: 1vh;
    left: 14vw;
    height: 8vh;
    width: calc(63vw);
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;
    cursor: pointer;
    font-size: calc(1vh + 2vw);
    letter-spacing: calc(0.1vh + 0.1vw);
    color: white;
}

#logo {
    position: absolute;
    top: 1.5vh;
    right: 1vh;
    height: 7vh;
    width: calc(33vw - 6vh);
    background-image: url(/images/logo.png);
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position-x: right;
}

#user_info {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    border-top: solid 1px white;
    font-size: 1.5vh;
    color: white;
    padding-top: 0.5vh;
    padding-bottom: 0.5vh;
}

    #user_info > div:first-child {
        display: inline-block;
        width: 50%;
        left: 0;
        text-align: left;
        padding-left: 1vw;
    }

    #user_info > div:last-child {
        display: inline-block;
        width: 50%;
        right: 0;
        text-align: right;
        padding-right: 1vw;
    }

#log_action {
    display: inline-block;
}

a.user_info_link {
    color: white;
}

    a.user_info_link:visited {
        color: white;
    }
/**************************************************************************************************/



/**************************************************************************************************/
/************************* SITE MENU and everything contained in it. ******************************/
/**************************************************************************************************/
#site_menu {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    align-content: center;
    left: -40vw;
    top: 12vh;
    width: 35vw;
    height: 100vh;
    background-color: #333333;
    border: none;
    z-index: 999;
    transition: left 0.2s;
}

#site_menu_opaque {
    position: absolute;
    display: none;
    left: 0;
    top: 12vh;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255,255,255,0.25);
    z-index: 998;
}

.site_menu_option {
    width: calc(100% - 2vh);
    height: calc(100% / 10 - 2vh);
    background-color: #333333;
    border-bottom: solid 1px #666666;
    color: #999999;
    margin-bottom: 1vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    align-content: center;
    cursor: pointer;
    font-size: 3vh;
}

    .site_menu_option:first-child {
        margin-top: 1vh;
    }
/**************************************************************************************************/


#page_frame, .content_container {
    position: absolute;
    right: 0;
    top: 12vh;
    width: 65vw;
    height: 80vh;
    background-color: white;
    border: none;
    z-index: 997;
    transition: width 0.40s;
}


/* Action banner is used for displaying messages or asking questions - basic user interaction. */
.action_banner {
    position: fixed;
    width: 110vw;
    height: 30%;
    top: 35%;
    left: -115%;
    padding: 0;
    padding-left: 5vw;
    z-index: 10000;
    background-color: white;
    border: solid 1px #999999;
    text-align: center;
    box-shadow: 0 0 30px 2px #999999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
}
/***********************************************************************************************/



#page_bottom {
    position: fixed;
    width: 100%;
    height: 8vh;
    bottom: 0;
    left: 0;
    border-top: solid 1px #bbb;
    background-color: #336699;
    z-index: 10000;
}
#site_messages {
    position: absolute;
    width: 100%;
    height: 4vh;
    top: 0;
    left: 0;
    border-bottom: solid 1px #fff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
#company_info {
    position: absolute;
    width: 100%;
    height: 4vh;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
#company_info > div {
    color: #bbb;
    font-size: 0.66vw;
}
#site_message {
    color: green;
    font-size: 1.1vw;
}

/*---------------------------------------*/
/* Blinker used for highlighting text   */
/*---------------------------------------*/
.blink_it {
    animation: blinker 0.5s linear infinite;
}
@keyframes blinker {
    50% {
        opacity: 0;
    }
}
/*---------------------------------------*/