/* Add a black background color to the top navigation */
.navigation-bar {
    background-color: #333;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Style the links inside the navigation bar */
.navigation-bar a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    cursor: pointer;
    border-bottom: 2px solid;
    border-bottom-color: transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* Add an active class to highlight the current page */
.active {
    background-color: #af0002;
    color: white;
}

/* Hide the link that should open and close the navigation-bar on small screens */
.navigation-bar .icon {
    display: none;
}

/* Dropdown container - needed to position the dropdown content */
.dropdown {
    float: left;
    overflow: hidden;
}

/* Style the dropdown button to fit inside the navigation-bar */
.dropdown {
    font-size: 17px;
    border: none;
    outline: none;
    color: white;
    /*padding: 14px 16px;*/
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    cursor: pointer;
}

.dropdown-btn {
    font-size: 17px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    cursor: pointer;
    border-bottom: 2px solid;
    border-bottom-color: transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-btn.active {
    background-color: #555;
    border-bottom: 2px solid;
    border-bottom-color: #99CCFF;
    color: white;
}

/* Style the dropdown content (hidden by default) */
.dropdown-container {
    display: none;
    position: absolute;
    background-color: #262626;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Style the links inside the dropdown */
.dropdown-container a {
    float: none;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-bottom: none;
}

/* Add a dark background on navigation-bar links and the dropdown button on hover */
/*.navigation-bar a:hover, .dropdown:hover .dropdown-btn {*/
    /*background-color: #555;*/
    /*border-bottom: 2px solid;*/
    /*border-bottom-color: #99CCFF;*/
    /*color: white;*/
/*}*/

.navigation-bar a:hover, .dropdown-btn:hover {
    background-color: #555;
    border-bottom: 2px solid;
    border-bottom-color: #99CCFF;
    color: white;
}

/* Add a grey background to dropdown links on hover */
.dropdown-container a:hover {
    background-color: #ddd;
    border-bottom: none;
    color: black;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
/*.dropdown:hover .dropdown-container {
    display: block;
}*/

.show {
    display: block;
}


/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the navigation-bar (.icon) */
@media screen and (max-width: 600px) {
    .navigation-bar a:not(:first-child), .dropdown .dropdown-btn {
        display: none;
    }
    .navigation-bar a.icon {
        float: right;
        display: block;
    }
}

/* The "responsive" class is added to the navigation-bar with JavaScript when the user clicks on the icon. This class makes the navigation-bar look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
    .navigation-bar.responsive {position: relative;}
    .navigation-bar.responsive a.icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .navigation-bar.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
    .navigation-bar.responsive .dropdown {float: none;}
    .navigation-bar.responsive .dropdown-container {position: relative;}
    .navigation-bar.responsive .dropdown .dropdown-btn {
        display: block;
        width: 100%;
        text-align: left;
    }
}