@media(min-width: 992px){
    #main-menu-wrap .container {
        padding: 0 10px;
        max-width: 100%;
    }
    ul.user-account-menu  {
        display: block;
    }
    ul.user-account-menu li a {
        font-size: 15px;
        padding: 10px 25px;
    }
    header#banner {
        height: auto;
        padding: 14px 5px;
    }
    #header-logo {
        width: auto;
        height: auto;
        max-width: 250px;
        max-height: 60px;
    }
    #header-logo a img {
        max-height: 48px;
    }
    
    .mobile-header-right {
        display: none;
    }

    .desktop-header-left{
        float: left;
        margin-left: 40px;
        margin-top: 3px;
        display: block;
    }

    .desktop-header-right {
        display: flex;
        gap: 15px;
        align-items: center;
    }
    #header-menu-left {
        padding: 0;
        min-width: fit-content;
        margin-bottom:0;
    }
    #header-menu-left li {
        display: inline-block;
        margin-right: 35px;
    }
    #header-menu-left li:last-child {
        margin-right: 0;
    }
    #header-menu-left > li > a,
    #header-menu-left > li > span {
        font-size: 14px;
        font-weight: 500;
        line-height: 21px;
        cursor: pointer;
        padding:2px;
        display: block;
    }
    #header-menu-left > li > a.active,
    #header-menu-left > li > span.active {
        border-bottom: 4px solid #028BFF;
        color: #028BFF;
    }
    #header-menu-left > li.conditional-menu-item {
        margin-left: 25px;
        padding-left: 55px;
        border-left: 1px solid #C5C5C5;
    }
    #header-menu-left > li.conditional-menu-item a.active {
        border-bottom: 4px solid #1B2E72;
        color: #1B2E72;
    }
    .dark-mode #header-menu-left > li.conditional-menu-item a.active {
        border-bottom: 4px solid #F2A52A;
        color: #F2A52A;
    }

    #header-menu-left > li > span {
        background-image: url("../img/arrow-down.svg");
        background-repeat: no-repeat;
        background-size: 11.2px 6.6px;
        background-position: right 12px top 8px;
        padding-right: 30px;       
        position: relative; 
    }
    #header-menu-left > li > span.active {
        background-image: url("../img/arrow-down-blue.svg");
    }

    .dark-mode #header-menu-left > li > span {
        background-image: url("../img/arrow-down-white.svg");
    }

    #header-menu-left ul {
        padding: 0;
        position: absolute;
        border-radius: 10px;
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        padding: 0;
        margin: 12px 0 0 -100px;
        width: 650px;
        overflow: hidden;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        border:0.5px solid #f5f5f5;
        background: #FFF;
    }
    .dark-mode  #header-menu-left ul {
        background: #000;
    }
    #header-menu-left ul.closed {
        display: none;
    }

    #header-menu-left ul li {
        flex: 1 1 calc(33.333% - 10px);
        background-repeat: no-repeat;
        background-size: 6.5px 11px;
        background-position: right 25px top 18px;
        max-width: 33.3333333%;
    }
    #header-menu-left ul li {
        border: none;
    }



    #header-menu-right {
        display: flex;
        padding-left: 8px;
        min-width: fit-content;
        margin-bottom:0;
    }
    #header-menu-right > li a {
        font-size: 14px;
        font-weight: 500;
        line-height: 21px;
        margin-right: 12px;
        padding: 8px 15px;
        display: inline-block;
    }
    .desktop-header-left .desktop-search form {position: relative;}
    input.course-search-bar {
        width: 250px;
        height: 48px;
        border-radius: 50px;
        border: 1px solid #C5C5C5;
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        margin: 0;
        padding: 4px 50px 4px 10px;
    }
    .dark-mode input.course-search-bar {
        background: #222;
        border: 1px solid #666;
    }
    input.search-submit {
        display: block;
        position: absolute;
        right: 10px;
        top: 7px;
        width: 32px;
        height: 32px;
        border-radius: 50px;
        background-image: url("../img/search_gray.svg");
        background-repeat: no-repeat;
        background-size: 100%;
        text-indent: -9999999px;
        border: none;

    }

     .dark-mode input.search-submit {
        display: block;
        position: absolute;
        right: 10px;
        top: 7px;
        width: 32px;
        height: 32px;
        border-radius: 50px;
        background-image: url("../img/search_dark_gray.svg");
        background-repeat: no-repeat;
        background-size: 100%;
        text-indent: -9999999px;
        border: none;

    }
    .dark-mode .desktop-header-right .course-search-bar {
        border: 1px solid #666;
        background-color: #222;
        color: #FFF;
    }

    ul.user-account-menu li:nth-child(2) a { 
        margin-right: 0;
    }
    .header-top {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
    .header-bottom {
        display: block;
        width: 100%;
        margin-top: 10px;
    }

}

@media(min-width: 1100px){ 
    .desktop-header-left #course-brand-logo {
        display: block;
    } 
    .desktop-header-right {
        display: flex;
        gap: 65px;
    }
}
@media(min-width: 1460px){ 
    #header-logo {
        width: auto;
        height: auto;
        max-width: 250px;
        max-height: 80px;
    }
    .desktop-header-right {
        display: flex;
        gap: 80px;
    }
    #main-menu-wrap  .container {
        max-width: 1440px;
    }
    input.course-search-bar {
        width: 400px;
        height: 48px;
    }
}