/*
MOSTLY NAVIGATION STUFF
FOR COMMON ENTRIES, SEE common.css
*/

/*MAIN NAVIGATION*/
.top-nav {
    overflow: hidden;
    background-color: #751b22;
}

.top-nav a {
    float: left;
    display: block;
    color: #ef942b;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    font-weight: bold;
}

.top-nav a:hover , .dropdown:hover , .dropbtn:hover {
    background-color: #ef942b;
    color: #052257;
}

.top-nav a.active {
    background-color: #520f15;
    color: white;
}

.top-nav .icon {
    display: none;
}

/*DROPDOWN*/

.dropdown {
    float: left;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 17px;
    border: none;
    outline: none;
    padding: 14px 16px;
    background-color: #751b22;
    color: #ef942b;
    font-family: inherit;
    margin: 0;
    font-weight: bold;
}
.dropbtn:hover {
    background-color: #ef942b;
    color: #052257;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #751b22;
    color: #ef942b;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    float: none;
    color: #ef942b;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown:hover .dropdown-content {
    display: block;
}





/*RESPONSIVE MODIFICATIONS*/

/*
 CONTROLS THE MENU FOR ALL SCREEN SIZES GREATER THAN 600
 ESSENTIALLY ENSURES THAT WE HAVE THE LOGIN ITEM SITTING TO THE RIGHT OF THE MENU BAR
 */
@media screen and (min-width: 600px) {
    #authenticate_state {
        text-align: right;
        float: right;
    }
}


/*
 CHANGES THE MENU FROM HORIZONTAL STYLE TO THAT OF A DROP DOWN TYPE, NORMALLY FOUND ON MOBILE PAGES AND APPS.
 THIS IS ONLY APPLICABLE TO SCREEN WIDTHS LESS THAN 600
 */

@media screen and (max-width: 599px) {

    .top-nav a:not(:first-child) {
        display: none;
    }

    .top-nav a.icon {
        float: right;
        display: block;
    }

    .dropbtn
    {
        display: none;
    }

    .top-nav.responsive {
        position: relative;
    }

    .top-nav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .top-nav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
    .top-nav.responsive .dropdown {
        float: none;
    }

    .top-nav.responsive .dropdown-content {
        position: relative;
    }
    .top-nav.responsive .dropdown .dropbtn{
        display: block;
        width: 100%;
        text-align: left;
    }

    /* Style for the hamburger container (in the <i> tag) */
    .hamburger-menu {
        display: inline-block;
        cursor: pointer;
        width: 20px; /* Adjust width if needed */
        height: 17px; /* Adjust height if needed */
    }

    /* Style for each line in the hamburger icon */
    .hamburger-menu span {
        display: block;
        width: 100%;
        height: 3px;                /* Thickness of each line */
        background-color: #ef942b;  /* Color of the hamburger lines */
        margin: 3px 0;              /* Spacing between lines */
        transition: 0.4s;
    }


}