:root{
    --theme-text-color: #002a5c;
    --theme-color: #001733;
}
#nav_section{
    position: fixed;
    z-index: 9999;
    width: 100%;
    top: 0;
}
#btn-1{
    border: 1px solid grey;
    border-radius: 3%;
    padding: 7px 7px 7px 7px;
    display: flex;
    flex-direction: column;
    max-height: max-content;
    margin-top: 7px;
    cursor: pointer;
}

#ham_div_1{
    border-top:2px solid #fff;
    width: 22px;
    height: 8px;
}

#ham_div_2{
    border-top:2px solid #fff;
    width: 22px;
    height: 8px
}

#ham_div_3{
    border-top:2px solid #fff;
    width: 22px;
    height: 3px;
}

/* black nav bar <nav> */
#topnavid {
    background-color: #001733;
    padding: 0px;
    font-size: 16px;
    background: transparent;
}

/* black nav bar's logo, name & ham button */
#logoAndBtnDiv{
    display: flex;
    width: 100%;
    background: #001733;
    padding-left: 10px;
    justify-content: space-evenly;
}

#topNavLogoNdName{
    font-size: 28px;
    font-family: 'Merriweather Sans', sans-serif;
    margin-right: 0px;
    width: calc( 100% - 62px );
    /* padding-top: .55rem; */
    /* padding-bottom: .55rem; */
}

#blackNavContentParent{
    width: 100vw;
    display: flex;
    justify-content: flex-end;
    background: #001733;
}

#blackNavContent{
    padding: 15px 15px 15px 20px;
    position: relative;
}

#uni_logo_name{
    display: none;
}

#customnav{
    /* min-height: 78px; */
    /* display: none; */
}

#topNavDeptName{
    font-size: 14px;
    padding: 10px 5px 8px 5px;
}

#blackNavUl li a{
    color: #fff;
    position: relative;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
}

.uppernavhr {
    border-style: inset;
    border-width: 0.8px;
    margin: 0px 15px 0px 0px;
    color: #002A5C;
    opacity: 0.5;
}

#language_switch{
    display: flex;
    position: relative;
}

#selectLanguage{
    background-color: #001733;
    border: none;
    padding: 5px;
    padding-left: 0px;
    color: #fff;
}

#secondSearchBox{
    display: none;
}
/* second navbar (white)  */
#customnav {
    background-color: white;
    color: #002A5C;
    padding: 0px;
    min-height: auto;
}

/* white nav bar's logo & name */
#brandpos{
    display: none;
}

#secondNavBarItemUl{
    padding: 6px 15px 0px 20px;
}

#secondNavBarItemUl li{
    padding: 4px 0px 0px 0px;
}

.secondnavhr{
    /* border-style: inset;
    border-width: 0.8px; */
    border: none;
    height: 1px;
    margin: 0px 15px 0px 0px;
    color: #002A5C;
    background-color: #002A5C;
}

.navbar .dropdown-menu {
    border:none;
    margin-top: 0px;
    padding: 0px;
    background-color: #fff;
    color: #002A5C;
    transition-delay: 0.2s;
    transition-duration: 0.5;
}

.nav-img-div{
    text-align: -webkit-center;
}

#secondNavBarItemUl li [class="dropdown-menu drop-menu-box show"]{
    /* background-color: #d7dbe0; */
    /* background-color: #d9edf7; */
    border: 1px solid lightgray;
}


#customnav a:hover{
    color: orange;
    transition-delay: 0.2s;
    transition-duration: 0.5;
}

#navbarSupportedContent{
    border: 1px solid #aaa;
    border-top: none;
}


.dropdownhr{
    color: red;
    /* border-style: inset; */
    border: none;
    margin: 0px 15px 0px 5px;
    height: 1px;
    background-color: red;
}

#customnav #navbarSupportedContent ul{
    padding-top: 0px;
}

#customnav #navbarSupportedContent ul li a img{
    border-radius: 100%;
    border: 1px solid orange;
    /* width: 100%; */
    height: 160px;
}

#customnav #navbarSupportedContent ul li a{
    color: #002A5C;
    font-family: 'Open Sans', sans-serif;
}

#customnav #navbarSupportedContent ul li a:hover{
    color: orange;
}

#secondNavBarItemUl>li>a{
    font-size: 18px;
}

.nav-theme-light {
    width: 100%;
    height: 20%;
}

ul#main-nav-items li{
    height: auto;
    font-size: 14px;
}

/* ul#main-nav-items li:hover{
    color: orange;
} */

.text {
    color: #002A5C;
    font-size: 14px;
    text-align: justify;
}


#dept_name_div{
    color: #002A5C;
    font-size: 25px;
    margin-left: 10px;
    padding-top: 0px;
    width: -webkit-max-content;
    font-family: 'Roboto Condensed', sans-serif;
}

#firstSearchBox{
    margin-bottom: 15px;
}

#firstSearchInput::-webkit-input-placeholder{
    font-size: 16px;
}

#firstSearchInput{
    font-size: 18px;
}

#secondSearchInput::-webkit-input-placeholder{
    font-size: 16px;
}

.nav-link .dropdown-toggle{
    padding: 3px!important;
}

.dropdown-toggle::after{
    margin-left: 1px;
}

/* adds some margin below the link sets  */
.navbar .dropdown-menu div[class*="col"] {
    margin-bottom:1rem;
    min-width: 300px;
    /*max-width: 300px;*/
}

#navbarSupportedContent{
    max-height: 270px;
    overflow-y: scroll;
}

@media only screen and (max-width: 992px){
    .dropdownhr{
        margin-left: 0px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

    #btn-1{
        margin-top: 5px;
    }

    #ham_div_1, #ham_div_2{
        height: 10px;
    }

    /* HIDE SECOND SEARCH BOX */
    #secondSearchBox{
        display: none;
    }

    /* SHOW FIRST SEARCH BOX */
    #firstSearchBox{
        display: flex;
        width: 100%!important;
    }

    #blackNavContentParent{
        width: 100%;
        background: transparent;
    }
    #blackNavContent{
        background-color: #001733;
        max-width: 75%;
    }

    #brandpos{
        display: none;
    }

    #topnavid{
        padding: 0px;
        background: transparent;
    }

    #logoAndBtnDiv{
        background-color: #001733;
    }

    /* CHANGES IN WHITE NAVBAR */
    #customnav{
        background: transparent;
        height: fit-content;
        justify-content: flex-end;
        padding: 0px;
    }

    #navbarSupportedContent{
        background: #fff;
        max-width: 75%;
    }

    .navbar .dropdown-menu{
        margin-top: 0px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

    #customnav{
        box-shadow: 10px 8px 10px #8888883b;
        min-height: 78px;
        /* display: flex; */
    }

    #secondNavBarItemUl{
        padding-left: 0px;
    }

    #uni_logo_name{
        display: block;
        position: absolute;
        left: 10px;
        cursor: pointer;
    }

    #topnavid{
        background: #001733;
    }

    #logoAndBtnDiv{
        display: none;
    }

    #firstSearchBox{
        display: none;
    }

    #secondSearchBox{
        display: flex;
    }

    #blackNavUl li{
        margin-right: 10px;
    }

    .uppernavhr{
        display: none;
    }

    #blackNavContent{
        max-width: 100%;
        justify-content: flex-end;
        padding: 5px 30px;
    }

    #selectLanguage option{
        background: white;
        color: black;
    }

    .navbar-expand-custom {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    .navbar-expand-custom .navbar-nav {
        flex-direction: row;
    }
    .navbar-expand-custom .navbar-nav .nav-link {
        padding-right: .5rem;
        padding-left: .5rem;
    }
    .navbar-expand-custom .navbar-collapse {
        display: flex!important;
    }
    .navbar-expand-custom .navbar-toggler {
        display: none;
    }

    #customnav{
        background: #fff;
        justify-content: space-between;
        padding: 5px 0px;
    }

    #brandpos{
        display: flex;
        margin-left: 10px;
    }

    #navbarSupportedContent{
        max-width: -webkit-max-content;
        border: none;
        overflow-y: inherit;
        position: absolute;
        right: 0px;
    }

    /* #secondNavBarItemUl>li>hr{
        display: none;
    } */

    .secondnavhr{
        display: none;
    }

    #secondNavBarItemUl li{
        /* position: relative; */
        margin-left: 7px;
    }

    #secondNavBarItemUl li [class="dropdown-menu drop-menu-box show"]{
        position: absolute;
        top: 60px;
        /* right: 0px; */
        left: -205px;
        /* width: 90vw; */
        width: 300px;
        padding-top: 15px;
        border-top: 1px solid lightgrey;
        transition: all 0.25s ease;
    }


    #secondNavBarItemUl>li>a::before{
        content: '';
        height: 4px;
        left: 0;
        bottom: 0;
        margin: auto;
        opacity: 0;
        pointer-events: none;
        position: absolute;
        right: 0;
        -webkit-transition: width .45s, opacity .1s;
        transition: width .45s, opacity .1s;
        width: 0%;
    }

    #secondNavBarItemUl>li>a:hover:before {
        opacity: 1;
        text-decoration: none;
        width: 100%;
        background: var(--theme-color);
    }


    #blackNavUl li a::after{
        content: '';
        height: 2px;
        left: 0;
        bottom: 0;
        margin: auto;
        opacity: 0;
        pointer-events: none;
        position: absolute;
        right: 0;
        -webkit-transition: width .45s, opacity .1s;
        transition: width .45s, opacity .1s;
        width: 0%;
    }

    #blackNavUl li a:hover:after {
        opacity: 1;
        text-decoration: none;
        width: 100%;
        background: orange;
    }

}

@media only screen and (min-width: 992px) and (max-width: 1030px) {
    #secondNavBarItemUl{
        padding-left: 10px;
        padding-right: 10px;
    }

    #secondNavBarItemUl>li>a{
        font-size: 16px;
    }

    #secondNavBarItemUl li{
        /* position: relative; */
        margin-left: 3px;
    }

}

@media only screen and (min-width: 1030px) and (max-width: 1105px) {
    #secondNavBarItemUl>li>a{
        font-size: 16px;
    }

    #secondNavBarItemUl li{
        /* position: relative; */
        margin-left: 5px;
    }

}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    #secondNavBarItemUl li{
        margin-left: 15px;
    }
}
