﻿/*:root { Variables are bad!!
    --DarkBlue281: #002664;
    --MidBlue300: #0035BD;
    --CoolGray11: #4D4F53;
    --CoolGray7: #9A9B9C;
    --CoolGray2: #D5D6D2;
    --Yellow: #EAAB00;
    --TooDarkBlue: #122135;
    --COPOSGreen: #377860;
    --COPOSGray: #BEBEBE;
}
*/

/* Master Page Elements */
html, body {
    margin: 0;
    padding: 0;
}
#RightContent {
    /*width: 84%;*/
    height: 100%;
    position: fixed;
    overflow: auto;
    right: 0;
    left: 21.8%;
}

#Banner {
    width: 100%;
    height: 100px;
    background-color: #FFF;
    text-align: center;
    min-width: 900px;
    overflow: hidden;
    z-index: -1;
}

#COPOSBanner {
    width: 201px;
    float: left;
}

#COPOSText {
    margin-top: 15px;
    width: 411px;
}

#DCEDLogo {
    width: 276px;
    float: right;
}

.banner-container {
    border-bottom: 2px solid #002664;
    box-shadow: -0px 1px 4px 0px #9e9e9e;
    background-color: white;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.banner-left, .banner-middle, .banner-right {
    display: flex;
    height: 100px;
    overflow: hidden;
}

.banner-right img{
    height: 90px;
}
.banner-left img {
    height: 140px;
}

.banner-container .banner-text {
    display: flex;
    align-items: center;
    font-size: 14pt;
}


.banner-right .banner-text{
    flex-direction: column;
    font-size: 10pt;
    font-weight: bold;
    text-align: center;
    margin-left: 20px;
    color: #002664;
}

.banner-container img{
    align-self: center;
}


#Content {
    width: 100%;
    min-height: 65vh;
    text-align: center;
}

#ContentPlaceHolder {
}

#Footer {
    text-align: center;
    margin: 0 auto;
    padding-top: 10px;
    display: flex;
    flex-direction: column;
}

    #Footer .footer-inner-container {
        padding: 10px;
        color: #002664;
        border-top: 2px solid #002664;
        border-bottom: 2px solid #002664;
        display: inline-block;
        margin-top: 1em;
        margin-bottom: 1em;
    }

    #Footer img{
        height: 60px;
        margin-bottom: 20px;
    }


.clear {
    content: "&nbsp;";
    clear: both;
    height: 1px;
    background: transparent;
    border:none;
}

.hidden {
    display: none;
}

/* Timeout Timer */
.TimeoutDiv {
    z-index: 10;
    position: fixed;
    right: -185px;
    bottom: 15px;
    background-color: #9A9B9C;
    -webkit-box-shadow: #D5D6D2 -1px -1px 3px; 
    box-shadow: #D5D6D2 -1px -1px 3px;
    padding: 10px;
    padding-left: 20px;
    font-family: Arial;
    width: 175px;
    text-wrap: avoid;
    text-align: center;
}

    .TimeoutDiv:hover, .TimeoutDiv.warning {
        -webkit-transition: 500ms;
        -o-transition: 500ms;
        transition: 500ms;
        right: 0px;
    }

    .TimeoutDiv.warning {
        color: #EE0000;
        font-weight: bold;
        width: 190px;
    }

    .TimeoutDiv:hover {
        border: 1px solid black;
        cursor: pointer;
    }

#timeoutDivArrow {
    position: absolute;
    left: 0;
    background-image: url(../Images/TimeoutArrow.png);
    background-repeat: no-repeat;
    background-position: left center;
}

/* Other Elements */
div.nav {
    margin-left:35px;
    margin-right:35px;
    color:White;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none !important; /* Internet Explorer/Edge */
            user-select: none; 
}
    .nav-header{
        padding-left: 1.25em;
    }

    .nav-tree-empty-text{
        color: yellow;
        padding-left: 1em;
        width: 90%;
        min-width: 200px;
        white-space: pre-line;
    }

a.link {
    color:White;
    vertical-align:top;
    font-size:12pt;
}

a.sublink {
    color:White;
    vertical-align:top;
    font-size:10pt;
    margin-left:20px;
}

body, input, select {
    font-family:Arial;
    font-size: 12pt;
}

div.subtitle {
    font-size:10pt;
}

div.title {
    font-size:14pt;
}

div.link {
    color:White;
    vertical-align:top;
    font-size:10pt;
}

tr.NPI {
    background-color:#C0C0C0;
}

.dimBackground {
    display: none;
    background-color: Gray;
    filter: alpha(opacity = 40);
    opacity:.4;
}

.fullScreen {
    top: 0;
    left: 0;
    z-index: 998;
    width: 100%;
    height: 100%;
    position: fixed;
}

td.nav_bar {
    background-repeat:repeat-x;
    height:40px;
    text-align:right;
    width:90%;
    white-space:nowrap;
}

table.normal {
    width:100%;
    border:none;
}

td.ErrorRed {
    background-color:#D00000;
    border:none;
}

.error-text {
    color: #D00000;
}

tr.HeaderRow {
    text-align:center;
    font-weight:bold;
}
.stick {
    background-color: white;
    position:fixed;
    top:0px;
    z-index:1;
    border-bottom: 1px solid black;
    padding-bottom: 5px;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    opacity: 0.8;
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    min-height: 100%;
    width: 100%;
}

.loading {
    font-family: Arial;
    font-size: 12pt;
    border: 5px solid #002664;
    width: 200px;
    height: 100px;
    display: none;
    position: fixed;
    background-color: White;
    z-index: 9999;
}

.unselectable, .no-select {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

/*for master page skip nav link, hidden until it is focused on (tabbed to)
    see https://webaim.org/techniques/css/invisiblecontent/     
*/
#skip a
{ 
position:absolute; 
left:-10000px; 
top:auto; 
width:1px; 
height:1px; 
overflow:hidden;
color: white;
} 
 
#skip a:focus 
{ 
position:static; 
width:auto; 
height:auto; 
color: white;
} 

#lbExpandAll {
    text-decoration: underline;
    cursor: pointer;
}

/*Generic classes*/
.Center {
    margin-left: auto;
    margin-right: auto;
}

/* Height and Width must be set for this to work */
.screen-center {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    width: 100%;
    height: 100%;
}

.centerContents {
    text-align: center;
}
/*for ADA compliance, elements with this class are not visible, but screen readers will read them*/
.Hide {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.sticky-top {
    position: fixed;
    right: 3%;
    bottom: 4%;
    background-color: #002664;
    color: white;
    padding: 10px;
    font-size: 20pt;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color color 150ms ease-in-out;
    -webkit-box-shadow: 1px 1px 6px 0px grey;
    box-shadow: 1px 1px 6px 0px grey;
    display: none;
    border: 1px solid grey;
    z-index: 2;
}

    .sticky-top:hover {
        background-color: #4D4F53;
        color: black;
    }

.system-admin-controls {
    margin: 1em auto;
    padding: 1em;
    background: #F1F1F1;
    border: 1px solid #C3C3C3;
    -webkit-box-shadow: 1px 2px 1px 0px lightgrey;
    box-shadow: 1px 2px 1px 0px lightgrey;
    width: 90%;
    max-width: 750px;
    min-width: 400px;
}

    .system-admin-controls > select {
        max-width: 300px;
    }

.no-href-link {
    color: rgb(0, 0, 238);
    cursor: pointer;
    text-decoration: underline;
    margin-right: 4px;
}

.report-submission-popup {
    align-items: center;
    position: fixed;
    padding: 20px;
    z-index: 999;
    border: solid 1px #C0C0C0;
    background: white;
    overflow-y: auto;
    max-height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}
.submission-loading-wheel {
    align-items: center;
    position: fixed;
    padding: 20px;
    z-index: 999;
    border: solid 1px #C0C0C0;
    background: white;
    overflow-y: auto;
    max-height: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}
.submit-report-button {
    padding: 0.75em;
}

.submit-report-button:hover {
    cursor: pointer;
}

.submit-report-button {
    background-color: #dddddd;
    color: #555555;
    font-weight: bold;
    border: none;
    border-radius: 1px;
    padding: .5em;
    text-decoration: none;
    cursor: pointer;
    border-radius: 5px;
    -webkit-box-shadow: 1px 2px 1px 0px lightgrey;
    box-shadow: 1px 2px 1px 0px lightgrey;
}

    .submit-report-button:not(.disabled):hover {
        color: white;
        background-color: #a1a1a1;
    }

    .submit-report-button.disabled {
        cursor: default !important;
        color: #9e9e9e;
    }

.master-page-loading-wheel-background {
    top: 0;
    left: 0;
    z-index: 9902;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: Gray;
    filter: alpha(opacity = 40);
    opacity: .4;
    display: none;
}

.master-page-loading-wheel {
    position: fixed;
    border: 1px solid #555555;
    border-radius: 5px;
    background-color: #f5f5f5;
    z-index: 9999;
    left: 50%;
    top: 50%;
    width: 200px;
    transform: translate(-50%, -50%);
    height: auto;
    padding: 1em;
    max-height: 70%;
    overflow-y: auto;
    text-align-last: center;
    display: none;
}

.master-page-loading-wheel img{
    width: 100px;
}

#masterPagePopupBackground, #alertPopupBackground, .centered-popup-background {
    top: 0;
    left: 0;
    z-index: 9902;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: Gray;
    filter: alpha(opacity = 40);
    opacity: .4;
    display: none;
}

#masterPagePopup, #masterPageConfirmationPopup, #alertPopup, .centered-popup {
    position: fixed;
    border: 1px solid #555555;
    border-radius: 5px;
    background-color: #f5f5f5;
    z-index: 9999;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: auto;
    padding: 1em;
    max-height: 70%;
    overflow-y: auto;
    text-align: center;
    display: none;
}
    #masterPagePopupCloseIcon,  #masterPageConfirmationPopupCloseIcon {
        position: absolute;
        top: 9px;
        right: 11px;
        cursor: pointer;
    }
    #masterPagePopupCloseIcon:hover, #masterPageConfirmationPopupCloseIcon:hover {
        color: red;
    }

.master-page-popup-error-container{
    background-color: white;
    border: 1px solid #bebebe;
    border-radius: 5px;
    font-family: monospace;
    text-align: left;
    padding: 5px;
    font-size: 10pt;
    margin-bottom: 10px;
}

.top-links-container {
    text-align: left;
    display: flex;
}

    .top-links-container a {
        border-right: 1px solid black;
        padding-right: 5px;
        padding-left: 5px;
    }

        .top-links-container a:last-of-type {
            border-right: none;
        }

.submit-button {
    background-color: #EEE;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    font-size: 16pt;
    padding: .5em;
    border-radius: 5px;
    border: 2px outset #888;
    border-style: outset;
}

    .submit-button:disabled {
        background-color: #EEE;
        border-color: #CCC;
        color: #AAA;
    }

    .submit-button:not(:disabled):hover {
        background-color: #3691e0;
    }


/*Panel buttons (org details, vehicle mgmt, etc.)*/
.panel-button-container {
    width: 100%;
    text-align: left;
    margin-left: 2px;
}

.panel-button {
    background: #efefef;
    border-radius: 10px 10px 0 0;
    border: 1px solid lightgray;
    margin: 0 -2px;
    padding: .25em .5em;
    font-size: 10pt;
}

    .panel-button.active {
        border-top: 2px solid #eeab00;
        background: #fdfdfd;
    }

.panel {
    width: 100%;
    display: inline-block;
    border: 1px solid lightgray;
    padding: 1em;
    text-align: left;
}

/*centered popup*/
.centered-popup-container {
    display: none;
    position: fixed;
    border: 1px solid #555555;
    border-radius: 5px;
    background-color: #f5f5f5;
    z-index: 9999;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    height: auto;
    padding: 1em;
    max-height: 70%;
    overflow-y: auto;
}

    .centered-popup-container .popup-close-button {
        position: absolute;
        right: 10px;
        top: 10px;
        transition: color 300ms ease;
    }
        .centered-popup-container .popup-close-button:hover {
            color: red;
            cursor: pointer;
        }