﻿body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background-color: #00496a;
    height: 100vh;
    display: flex;
    flex-direction: column;
    letter-spacing: 1px;
    min-width: 720px;
}

/* Top Navigation */
.topNav {
    width: 100%;
    height: 60px;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #0b2533;
}

#leftTopNav {
    width: 40%;
    height: 60px;
    float: left;
    position: absolute;
    z-index: 1;
}

/*#leftTopNav > h3 > a {
    padding-left: 20px;
    color: white;
    text-decoration: none;
    letter-spacing: 1.5px;
}*/

#leftTopNav > a > img {
    height: 40px;
    padding-top: 8px;
    padding-left: 10%;
}

#rightTopNav {
    width: 60%;
    height: 60px;
    float: right;
    position: relative;
    z-index: 1;
    padding-top: 5px;
    padding-right: 20px;
}

#rtnTable tr {
    vertical-align: middle;
    color: white;
    font-size: 0.9em;
    text-align: right;
}

#rtnTable tr td a {
    text-decoration: none;
    color: white;
}

#rtnTable tr td a:hover {
    color: darkorange;
}

/* View Profile Container Dropdown */
.viewProfileDropDown {
    position: relative;
    display: inline-block;
}

.viewProfileDropDown-content {
    display: none;
    position: absolute;
    background-color: #dcdcdc;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    padding: 10px;
    font-size: 1.2em;
}

.viewProfileDropDown-content p {
    color: black;
}

.viewProfileDropDown:hover .viewProfileDropDown-content {
    display: block;
}

#vpTable {
    width: 250px;
    max-width: 350px;
}

#vpTable tr td {
    text-align: center;
    color: black;
}

#vpTable tr td p {
    vertical-align: middle;
    color: black;
    font-size: 0.9em;
    text-align: left;
}

#vpTable tr td a {
    text-decoration: none;
    color: black;
    font-size: 0.9em;
}

#vpTable tr td a:hover {
    color: darkorange;
}

/* Side Navigation */
.sideNav {
    height: 100%;
    width: 240px;
    position: fixed;
    z-index: 1;
    top: 60px;
    left: 0;
    background-color: #dcdcdc;
    overflow-x: hidden;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    padding-top: 10px;
    display: block;
}

.sideNavMenu {
    padding-bottom: 10px;
}

.sideNavMenu > a i {
    width: 40px;
    text-align: center;
}

.sideNavMenu > a {
    color: black;
    padding: 20px;
    text-decoration: none;
    display: block;
    font-size: 1.05em;
    font-weight: bold;
    letter-spacing: 1.5px;
}

.sideNavMenu > a:focus {
    background-color: transparent;
}

.sideNavMenu > a:hover {
    background-color: #b6c2c7;
    color: #0b2533;
}

.sideNavMenu > ul {
    margin: 0;
    padding: 0;
    background-color: white;
    font-size: 0.9em;
    line-height: 30px;
    list-style-type: none;
    overflow: hidden;
}

.transitionEnable {
    max-height: 0;
    /* Animation */
    -webkit-transition: max-height 1s ease-out;
    -moz-transition: max-height 1s ease-out;
    -o-transition: max-height 1s ease-out;
    transition: max-height 1s ease-out;
}

.transitionDisable {
    transition: none;
}

.sideNavMenu ul a {
    margin-left: 20px;
    text-decoration: none;
    color: #0b2533;
    display: block;
    width: 270px;
}

.sideNavMenu:hover ul {
    max-height: 620px;
    /* Animation */
    -webkit-transition: max-height 1s ease-in;
    -moz-transition: max-height 1s ease-in;
    -o-transition: max-height 1s ease-in;
    transition: max-height 1s ease-in;
}

.sideNavMenu li {
    border-bottom: 1.5px solid #eee;
}
 
.sideNavMenu li:hover {
    background-color: #b6c2c7;
}

.selectedPageA {
    background-color: #b6c2c7;
}

.selectedPageUL {
    background-color: #cad6db;
}

/* Content Area */
.content {
    margin-left: 300px;
    margin-right: 20px;
    margin-top: 5em;
    margin-bottom: 1.5em;
    padding-left: 20px;
    flex: 1;
    overflow: auto;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-color: white;
}

.content > h2 {
    color: #0b2533;
    letter-spacing: 2px;
}

/*Newly Added*/


.sideNavMenu {
    padding: 5px 0;
}

#closenav {
    display: none;
    color: black;
}

#mytopnav {
    display: none;
    color: white;
}

#closeNavDiv {
    padding-bottom: 15px;
    display: none;
}

#mobileButton {
    height: 35px;
    width: 35px;
    position: fixed;
    left: 15px;
    top: 8px;
}

#renderBodySize {
    margin-left: 0;
    margin-top: 0;
}

/*Mobile size*/
@media screen and (max-width: 1200px) {
    #renderBodySize {
        margin-left: -280px;
        font-size: 12px;
        margin-top: 20px;
    }

    .viewProfileDropDown-content {
        display: none;
        position: absolute;
        background-color: #dcdcdc;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
        padding: 10px;
        font-size: 1.2em;
        margin-left: -180px;
    }

    #logoutPMobile {
        display: block;
        margin-left: 10px;
    }

    #logoutPWebsite {
        display: none;
    }

    #leftTopNav {
        width: 40%;
        height: 60px;
        float: left;
        position: absolute;
        z-index: 1;
        left: 30%;
        right: 0;
    }

    #mytopnav {
        margin: 0 0 0 4px;
        display: block;
        color: white;
    }

    #closenav {
        text-decoration: none;
        float: right;
        padding-right: 20px;
        font-weight: 800;
        color: black;
        font-size: 20px;
        display: block;
    }

    #closeNavDiv {
        padding-bottom: 15px;
        display: block;
    }

    .sideNav {
        width: 0;
        font-size: 13px;
        top: 0;
    }
}

@media screen and (min-width: 1201px) {
    #renderBodySize {
        margin-left: 0;
    }

    #logoutPMobile {
        display: none;
    }

    #logoutPWebsite {
        display: block;
    }

    .sideNav, #sidenavcontent {
        width: 280px;
        font-size: 13px;
    }

    .sideNavMenu {
        padding: 5px 0;
    }

    #closenav {
        display: none;
        color: black;
    }

    #mytopnav {
        display: none;
        color: white;
    }

    #closeNavDiv {
        padding-bottom: 15px;
        display: none;
    }

    #mobileButton {
        height: 35px;
        width: 35px;
        position: fixed;
        left: 0;
    }
}
