﻿/* The navigation menu */
.navbar {
    overflow: hidden;
    background-color: #c8c6c6ff;
    z-index: 9999;
}

    /* Navigation links */
    .navbar a {
        float: left;
        font-size: 13px;
        color: #000000;
        text-align: center;
        padding: 10px 12px;
        text-decoration: none;
    }

/* The subnavigation menu */
.subnav {
    float: left;
    overflow: hidden;
}

    /* Subnav button */
    .subnav .subnavbtn {
        font-size: 13px;
        border: none;
        outline: none;
        color: #000000;
        padding: 10px 12px;
        background-color: inherit;
        font-family: inherit;
        margin: 0;
    }

    /* Add a red background color to navigation links on hover */
    .navbar a:hover, .subnav:hover .subnavbtn {
        background-color: #a1a1a1;
    }

/* Style the subnav content - positioned absolute */
.subnav-content {
    display: none;
    position: fixed;
    left: 0;
    background-color: #a1a1a1;
    width: 100%;
    z-index: 9999;
}

    /* Style the subnav links */
    .subnav-content a {
        float: left;
        color: #000000;
        text-decoration: none;
    }

        /* Add a grey background color on hover */
        .subnav-content a:hover {
            background-color: #eee;
            color: black;
        }

/* When you move the mouse over the subnav container, open the subnav content */
.subnav:hover .subnav-content {
    display: block;
}
