﻿/* Master Page */

body {
    font-family: Arial;
    background-color: #f4f6f7;
    line-height: 1.3em;
}

.main {
    margin-top: 20px;
    margin-bottom: 20px;
}

.page-area {
    padding: 10px 10px 50px 10px;
    background-color: #ffffff;
    color: #002871;
    width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Master Page Footer */
.footer {
    padding: 10px;
    text-align: center;
}

.footer a {
    color: #134383;
    text-decoration: none;
    margin-right: 10px;
}

/* Master Page Top Navigation Bar*/
.navbar-area {
    background-color: #134383;
    clear: both;
}

.topnav {
    background-color: #134383;
    width: 644px;
    margin-left: auto;
    margin-right: auto;
}

.topnav a:hover {
    background-color: #00649B;
}

.topnav .icon {
    display: none;
    color: #f2f2f2;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
}

.subnav {
    position: relative;
    display: inline-block;
}

/* Master Page Dropdown Button */
.subnavbtn {
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    text-decoration: none;
    display: block;
}

.subnav-content {
    display: none;
    position: absolute;
    background-color: #00649B;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    text-align: center;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    z-index: 2;
}

.subnav-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.subnav-content-display {
    display: block;
}

.subnav-content a:hover {
    background-color: #00779B;
}

/* Reduce Size of Top Navigation Bar */
@media screen and (max-width: 640px) and (min-width: 576px) {
    .topnav {
        width: 550px;
    }

    .subnavbtn {
        padding: 8px;
    }
}

/* Collapse Top Navigation Bar */
@media screen and (max-width: 575px) {
    .headerLogo {
        display: none;
    }

    .navigation-info {
        position: fixed;
        margin: 0;
        top: 15px;
        left: 15px;
        color: white;
        z-index: 0;
    }

    .navigation-info-separator {
        display: none;
    }

    .navbar-area {
        top: 0;
        left: 0;
        right: 0;
        position: fixed;
        width: 100%;
    }

    .topnav a {
        display: none;
    }

    .topnav a.icon {
        float: right;
        display: block;
    }

    @keyframes open {
        from { height: 50px; }
        to { height: 316px; }
    }

    .topnav {
        overflow: hidden;
        width: initial;
        margin-left: initial;
        margin-right: initial;
    }

    .topnav.responsive {
        position: relative;
        animation-name: open;
        animation-duration: 0.5s;
    }

    .topnav.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }

    .subnav {
        display: block;
    }

    .subnav-content {
        position: initial;
        margin: 5px;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
        background-color: initial;
    }

    .subnav-content a {
        margin-top: 5px;
        background-color: #00649B;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }

    .main {
        margin-top: 47px;
    }
}

/* Reduce size of Page Area */
@media screen and (max-width: 850px) and (min-width: 536px) {
    .page-area {
        width: 500px;
    }
}

/* Reduce size of Page Area even further */
@media screen and (max-width: 535px) {
    .page-area {
        width: initial;
    }

    body {
        margin: 0px;
    }
}