﻿@import url("Site.css");
@import url("MainMenu.css");
@import url("MobileMenu.css");
/*-------MASTER PAGE---------------------*/

body {
    min-height: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    background: white;
    border: 0px solid black;
    margin: 1px 1px 1px 1px;
    font-family: helvetica;
}

    body h1, h3 {
        text-align: center;
    }

form {
    width: inherit;
    border-bottom-color: black;
}

.MasterHeader {
    background-color: #c31230;
}

.MasterUpperHeader {
    min-height: 50px;
    position: relative;
    z-index: 9999;
}

.MasterLowerHeader {
    height: 24px;
    background: #003366; /*For old browsers :( */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003366', endColorstr='#6685A3',GradientType=0);
    background: -webkit-linear-gradient(180deg,#003366,#6685A3); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(180deg,#003366,#6685A3); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(180deg,#003366,#6685A3); /* For Firefox 3.6 to 15 */
    background: linear-gradient(180deg,#003366,#6685A3);
    background: -ms-linear-gradient(-90deg,#003366,#6685A3);
    text-align: center;
}

.MasterLoginName {
    display: inline-block;
    float: right;
    color: white;
    font-weight: 500;
    margin-right: 5px;
}

.MasterLogo {
    display: inline-block;
    border: 0;
}

    .MasterLogo img {
        border: 0;
    }


.MasterDate {
    float: left;
    top: 0;
    left: 0;
    display: inline-block;
    color: white;
    font-weight: 600;
    margin-left: 4px;
    font-size: small;
}

.inDevClass {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: white;
    font-weight: 600;
}

.MasterContent {
    margin: 0px 4px 25px 0px;
}

.MasterFooter {
    bottom: 0;
    position: fixed;
    width: 99.9%;
    height: 25px;
    background: #003366;
    background: -webkit-linear-gradient(180deg,#003366,#6685A3); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(180deg,#003366,#6685A3); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(180deg,#003366,#6685A3); /* For Firefox 3.6 to 15 */
    background: linear-gradient(180deg,#003366,#6685A3);
    background: -ms-linear-gradient(-90deg,#003366,#6685A3);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#003366', endColorstr='#6685A3',GradientType=0);
    text-align: center;
    color: white;
    font-weight: 500;
}

.MasterLoginStatus {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    font-weight: 600;
    text-decoration: none;
    font-size: large;
    color: white !important;
    margin-right: 10px;
    margin-top: 10px;
}

.pnlSessionTimeout {
    position: absolute;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0,0,0,.5);
    vertical-align: central;
    text-align: center;
    z-index: 99999;
}

.spanMessage {
    display: block;
    width: 25em;
    height: 5em;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40vh;
    background-color: white;
    border-style: groove;
    border-color: Navy;
    padding: 15px;
}


/*----------- NAV SLIDER ----------------*/

.slideMenuButton {
    float: left;
    top: 0;
    left: 0;
    display: inline-block;
    color: white;
    margin-left: 4px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0px 0px 0px 5px;
    font-weight: 400;
    font-size: .95em;
}

.toggleSlide:checked ~ label {
    transform: translate3d(250px, 0, 0);
    -ms-transform: translate(250px,0);
}

.toggleSlide {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    display: none;
}

    .toggleSlide + label {
        position: absolute;
        height: 40px;
        z-index: 1;
        visibility: hidden;
        display: none;
        font-size: 3em;
        color: #444;
        cursor: pointer;
        transform: translate3d(0, 0, 0);
        transition: transform .4s;
        z-index: 60;
    }

.divMainContent {
    width: 100%;
    padding: 5px;
    background: white;
    transform: translate3d(0, 0, 0);
    -ms-transform: translate(0,0);
    transition: transform .4s;
}

.toggleSlide:checked ~ .divMainContent {
    transform: translate3d(250px, 0, 0);
    -ms-transform: translate(250px,0);
}

.toggleSlide:checked ~ .MasterContent {
    display: flex;
}

.toggleSlide:checked ~ .slider {
    transform: translate3d(0, 0, 0);
    -ms-transform: translate(0px,0);
}

    .toggleSlide:checked ~ .slider .slideMenu li {
        width: 100%;
    }

.slider {
    transform: translate3d(-250px, 0, 0);
    -ms-transform: translate(-250px,0);
    position: absolute;
    width: 250px;
    background: #333;
    color: #ddd;

    left: 0;
    transition: all .4s;
    z-index: 50;
}

    .slider h1 {
        border-bottom: 2px solid white;
        color: white;
        margin: 5px;
        text-shadow: 1px 1px 1px #000;
    }

.slideMenu {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 100%;
    overflow-y: auto;
}

    .slideMenu a {
        display: block;
        text-decoration: none;
        color: #fff;
        font-size: 1.1em;
        padding: 15px;
        background: linear-gradient(#424242, #282828);
        border-bottom: 1px solid #1e222b;
        box-shadow: inset 0px 1px 1px #0d0d0d;
    }

        .slideMenu a:hover {
            background: linear-gradient(#3b3f48, #3c434d);
            box-shadow: inset 0px 1px 1px #475059;
        }

.slideMenu li ul{
    list-style:none;
    margin:0;
    padding:0;
}

.slideMenu li ul li a{
    padding-left:30px;
}

.slideMenu li ul li ul li a{
    padding-left:40px;
}

.slideMenu li{    
    cursor:pointer;
}

.divMasterContent {
    display: flex;
}

.SliderItemParentClosed > a:before{
    content:"\25BC  ";
}

.SliderItemParentOpen > a:before{
    content:"\25B2  ";
}

.SliderItemParentOpen > a{
    background: linear-gradient(#c31230, #e61e40);
}

.SliderItemParentOpen > a:hover{
    background: linear-gradient(#c31230, #e61e40);
}

.SliderChildUL > li{
    -webkit-transition: max-height .8s ease;
    transition: max-height .8s ease;
    overflow:hidden;
    max-height:0;
}

.SliderChildUL > li > a{
    background: linear-gradient(#6b6b6b, #7a7a7a);
    box-shadow: inset 0px 1px 1px #555555;
}

.SliderChildUL > li > ul > li > a{
    background: linear-gradient(#525252, #313131);
    box-shadow: inset 0px 1px 1px #555555;
}

.slideMenuButtonMobile {
    visibility: hidden;
    display: none;
}

@-webkit-keyframes rotate {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}


.loadingImg {
    -webkit-animation-name: rotate;
    -webkit-animation-duration: 1.5s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    width: 2em;
    align-self: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}



@media screen and (max-width: 650px) {
    .MasterLowerHeader {
        display: none;
    }

    .MasterHeader {
        position: fixed;
        width: 100%;
        top: 0px;
        margin: 0px;
    }

    .MasterContent {
        margin: 50px 0px 0px 0px;
    }

    body {
        margin: 0px;
    }

    .MasterFooter {
        /*position:relative;*/
    }

    .MasterLogo {
        display: block;
        margin: 0 auto;
        border: 0;
        text-align: center;
    }

    .slideMenuButtonMobile{
        position:fixed;
        visibility:visible;
        display:block;
        margin-left:0;
        top:0;
        left:0;
        font-size:1.2em;
        height:48px;
        padding-left: .5em;
    }

    .slideMenu a:hover {
            background: linear-gradient(#c31230, #e61e40);
            box-shadow: inset 0px 1px 1px #475059;
        }
}
