﻿.wrapper {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-image: url("../img/Background-min.png") !important;
    background-size: 100% auto;
    background-repeat: no-repeat;
    overflow-x: hidden;
    overflow-y: scroll;
}

.wrapper {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

    .wrapper::-webkit-scrollbar {
        display: none;
    }

header, main, footer {
    width: 100vw;
}

header, footer {
    flex: 0 0 4em;
    vertical-align: middle;
}

    main .section {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
    }

main {
    flex: 1;
}

header {
    color: #fff;
}

.headerImgContainer:hover {
    cursor: pointer;
    opacity: 0.75;
}

.headerImg {
    padding: 2em;
    width: 40vw;
}

.flex-child {
    flex: 1;
}
    .flex-child:first-child {
        flex: 0 0 15vw;
        margin-right: 2.5em;
    }

    .flex-child:last-child {
        margin-right: 2em;
    }

/* Layout for Flex Row (see above for columns) */
.flexRowContainer {
    display: flex;
    align-items: center;
}

.flexRowItem {
    flex-grow: 1;
}

    .flexRowItem + .flexRowItem {
        margin-left: 2%;
    }

/*  -- End --  */

#sidebarContainer {
    margin-left: 2.5em;
    position: relative;
}

#mainContent {
    width: 90%;
    vertical-align: top;
    margin-bottom: 1.5em;
}

    #mainContent .content > p {
        color: #fff !important;
        opacity: 0.9;
    }

#loginDisplayContainer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    text-align: right;
}

.layoutContainer {
    width: 99%;
    padding: 1.5em;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 2px 2px 4px 1px rgba(0, 0, 0, 0.25);
}

.footer {
    font-size: 11px;
    color:white;
    position: relative;
    bottom: 0;
    height: 2em;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 20px;
}

    .footer a,  .footer a:visited{
        color: #DC931E;
    }

#narrow-nav {
    margin-left: 1.5vw;
}

    #narrow-nav:hover {
        opacity: 0.5;
        cursor: pointer;
    }

@media (min-width:1px) and (max-width:799.98px) {
    #mainContent {
        width: 100%;
    }

    .sidebar-narrow {
        z-index: 100;
        position: absolute;
        top: -2vh;
    }

    .sidebar-wide,
    .sidebar-narrow-closed {
        display: none;
    }

    .sidebar-wide,
    .sidebar-narrow-closed {
        display: none;
    }

    .cellDisplay:first-child {
        padding: 0 1.5vw;
    }

    .dataTables_length,
    .hide-btn,
    .column-hide-second,
    #btnShowFilter,
    #btnHideFilter {
        display: none;
    }
}

@media (max-width:449.98px) {
    .sidebar-narrow {
        left: 35vw;
    }
}

@media (min-width:450px) and (max-width:799.98px) {
    .sidebar-narrow {
        left: 67.5vw;
    }
}

@media (min-width:800px) {
    #narrow-nav,
    .sidebar-narrow {
        display: none;
    }
}

@media (max-width:1200px) {
    .hide-btn,
    .column-hide-first {
        display: none;
    }
}