﻿/***********************/
/* Website Page Layout */
/***********************/
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

body {
    background-color: #ededed;
    min-height: 100vh;
}

/* Top Bar - Notification bar to make sure test environment stands out */
#topbar.test {
    background-color: red;
    position: fixed;
    z-index: 500;
    width: 100%;
}

    #topbar.test::after {
        content: 'TEST SITE';
        color: white;
        font-weight: bold;
        font-size: 20px;
        align-self: center;
    }

/* Header */
header {
    height: 100%;
}

    /* Header Background */
    header.headerBackground {
        width: 100%;
        background-image: url(../images/SLCBACKGROUNDSM.jpg);
        background-color: #144F61;
        background-repeat: no-repeat;
        background-position: center top;
        background-size: 1922px 150px;
        height: 150px;
    }

    /* Title Styling */
    header .titleStyle {
        position: relative;
        color: black;
        flex-direction: column;
        margin-bottom: 0;
    }

/* Page information wrapper */
#wrapper {
    position: relative;
    min-height: 60vh;
}

.blueBackground {
    height: 100px;
    width: 100%;
    background-color: #144F61;
    z-index: -1;
    position: absolute;
    box-shadow: 0px -6px 11px 7px;
}

/* Page Header */
.pageHeader {
    background-color: #FAFAE0;
    border-radius: 10px 10px 0 0;
}

/* Nav Bar */
.banner {
    background-color: #C6A153;
    height: 50px;
    border-radius: inherit;
}

.banner-dropdown {
    background-color: #C6A153;
}

    .banner-dropdown .dropdown-item:focus,
    .banner-dropdown .dropdown-item:hover {
        background-color: transparent !important;
    }

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu a::after {
        transform: rotate(-90deg);
        position: absolute;
        right: 6px;
        top: .8em;
    }

    .dropdown-submenu .dropdown-menu {
        top: 0;
        left: 100%;
        margin-left: .1rem;
        margin-right: .1rem;
    }

.welcome {
    color: #144F61;
    font-weight: bold;
}

/* Page Bar */
.lightBanner {
    background-color: #F1F1D2;
    height: 50px;
}

/* Page Content Body */
#bodyWrapper {
    position: relative;
    min-height: 71vh;
    background-color: white;
    padding: 15px;
}

    #bodyWrapper:before {
        box-shadow: -15px 0 .5rem -1rem inset;
        content: " ";
        height: 100%;
        left: -15px;
        position: absolute;
        top: 0;
        width: 15px;
    }

    #bodyWrapper:after {
        box-shadow: 15px 0 .5rem -1rem inset;
        content: " ";
        height: 100%;
        position: absolute;
        top: 0;
        right: -15px;
        width: 15px;
    }

/* Page Loading CSS */
#LoadingOverlay {
    position: fixed;
    display: none; /* Hidden by default */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 9999999;
    cursor: wait;
}

    #LoadingOverlay .imgLoading {
        max-width: 100px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        opacity: 0.5;
    }

/* Scroll Top Button */
#topBtn {
    display: inline-block;
    background-color: #C6A153;
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 2em;
    color: #FFF;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

    #topBtn:hover {
        cursor: pointer;
        background-color: #333;
    }

    #topBtn:active {
        background-color: #555;
    }

    #topBtn.show {
        opacity: 1;
        visibility: visible;
    }

/* Footer */
#footer {
    background-color: #264e5f;
    height: 10rem;
}

    #footer span, #footer a {
        color: #ffffff;
    }

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }

    header #headerImage {
        display: none;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }

    header #headerImage {
        display: inline-flex;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1500px;
    }
}
