@import url("https://my.otc.edu/media/themes/dt-the7-child/websiteHeaderBar/header/CSS/colors.css");
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
/*Adding comment for cache testing*/
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}


/* General Header Styles */
#otc-custom-header-site-header {
    font-family: 'Roboto', sans-serif;
    color: #333;
    width: 100%;
    box-sizing: border-box;
    overflow: visible; /* Allows dropdowns to overflow the header */
    position: relative;
}

/* Container for Central Alignment */
.otc-custom-header-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

/* Top Bar Styling */
#otc-custom-header-top-bar {
    background-color: var(--otc-dark-blue);
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: visible; /* Ensures dropdowns are visible beyond this container */
    padding-right: 40px; /* Adjust this value as needed to align with main menu */
    align-items: center;
}


/* Adds consistent right padding to main header for alignment */
#otc-custom-header-main-header {
    padding-right: 40px; /* Same value as top bar for consistent alignment */
    box-sizing: border-box;
}



.otc-custom-header-top-menu 
{
    width:100%;
    max-width:1300px;
    margin:0 auto;
    justify-content: flex-end;
}
.otc-custom-header-top-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: right;
}

.otc-custom-header-top-menu a {
    color: #ffffff;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}


.otc-custom-header-dropdown-menu a:hover,
.otc-custom-header-submenu a:hover ,
.otc-custom-header-dropdown-menu a:focus,
.otc-custom-header-submenu a:focus 
{
    text-decoration:underline;
    background-color: #f2f2f2 !important;
}




#otc-custom-header-top-bar > nav > ul > li.otc-custom-header-dropdown > a > i
{
    margin-right:5px;
}

/* Main Header Styling */
#otc-custom-header-main-header {
    background-color: var(--otc-blue);
    padding: 20px 40px;
    padding-right:40px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: visible; /* Ensures dropdowns can overflow beyond this container */
}

.otc-custom-header-main-logo img {
    height: 70px;
}

/* Main Navigation Menu */
.otc-custom-header-main-menu ul {
    list-style: none;
    display: flex;
    gap: 65px;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    padding: 0;
    align-items: center;
    position: relative;
}

.otc-custom-header-main-menu a {
    color: #ffffff;
    padding: 10px;
    text-decoration: none;
}


/* Dropdown Menu Styling */
#otc-custom-header-site-header .otc-custom-header-dropdown-menu,
#otc-custom-header-site-header .otc-custom-header-submenu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    left: 10px;
    background-color: #ffffff;
    list-style: none;
    padding: 0;
    margin: 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    font-size: 16px;
    z-index: 1000;
    overflow: visible; /* Ensures full dropdown visibility */
}

#otc-custom-header-site-header #otc-custom-header-main-menu .otc-custom-header-dropdown:last-of-type .otc-custom-header-dropdown-menu,
#otc-custom-header-site-header #otc-custom-header-main-menu .otc-custom-header-dropdown:last-of-type .otc-custom-header-submenu 
{
    left: auto;
    right: 10px;
}

#otc-custom-header-top-bar .otc-custom-header-dropdown-menu,
#otc-custom-header-top-bar .otc-custom-header-dropdown-menu
{
    left:0px;
}

/* Dropdown Item Styling */
.otc-custom-header-dropdown-menu li,
.otc-custom-header-submenu li {
    border-bottom: 1px solid #e4e4e4;
}

.otc-custom-header-dropdown-menu li:last-child,
.otc-custom-header-submenu li:last-child {
    border-bottom: none;
}

.otc-custom-header-dropdown-menu a,
.otc-custom-header-submenu a {
    color: #333333;
    padding: 10px 15px;
    display: block;
    white-space: nowrap;
}



/* Relative Positioning for Dropdown Triggers */
.otc-custom-header-top-menu .otc-custom-header-dropdown,
.otc-custom-header-main-menu .otc-custom-header-dropdown {
    position: relative;
}

/* Show Dropdowns on Hover and Focus */
#otc-custom-header-site-header .otc-custom-header-top-menu .otc-custom-header-dropdown:hover .otc-custom-header-dropdown-menu,
#otc-custom-header-site-header .otc-custom-header-top-menu .otc-custom-header-dropdown:focus-within .otc-custom-header-dropdown-menu,
#otc-custom-header-site-header .otc-custom-header-main-menu .otc-custom-header-dropdown:hover .otc-custom-header-submenu,
#otc-custom-header-site-header .otc-custom-header-main-menu .otc-custom-header-dropdown:focus-within .otc-custom-header-submenu {
    display: block; /* Show dropdown on hover/focus */
}


/* Main Navigation Menu - Primary Items (18px font size) */
.otc-custom-header-main-menu > ul > li > a {
    font-size: 18px;
}

/* Main Navigation Menu - Submenu Items (13px font size) */
.otc-custom-header-main-menu .otc-custom-header-submenu a {
    font-size: 13px;
}

/* Top Bar Menu - Main and Submenu Items (13px font size) */
.otc-custom-header-top-menu a,
.otc-custom-header-top-menu .otc-custom-header-dropdown-menu a {
    font-size: 13px;
}

/* MyOTC Dropdown - Main and Submenu Items (13px font size) */
.otc-custom-header-top-menu .otc-custom-header-dropdown .otc-custom-header-dropdown-link,
.otc-custom-header-top-menu .otc-custom-header-dropdown .otc-custom-header-dropdown-menu a {
    font-size: 13px;
}

/* Center-align the search form vertically in the top bar */
.otc-custom-header-searchform {
    padding-top: 14px; 
    display: flex;
    align-items: center; /* Ensures elements inside the form are centered vertically */
}

/* Additional styling for the search input field to ensure alignment */
.otc-custom-header-search-field {
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 13px;
    height: 28px !important;
    min-height: 28px !important;
}


/* Skip Navigation Link */
.otc-custom-header-skipnav {
    position: absolute;
    top: -999px;
    left: -999px;
    background-color: #333;
    color: #fff;
    padding: 10px;
    z-index: 1000;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.otc-custom-header-skipnav:focus {
    top: 10px; /* Moves into view when focused */
    left: 20px;
}

/* Visually Hidden Search Button for Accessibility */
.otc-custom-header-search-button {
    position: absolute;
    left: -9999px; /* Moves the button off-screen */
}

/* Screen Reader Only Styles */
.otc-custom-header-screen-reader-text {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/*Breakpoint for 1100px*/
/* Main Navigation Menu - Default Hidden in Mobile View */
.otc-custom-header-main-menu {
    display: flex;
}

/* Mobile Navigation (Hidden by default) */
.otc-custom-header-mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 25%;
    height: 100vh;
    background-color: #333;
    color: #fff;
    flex-direction: column;
    align-items: left;
    padding-top: 60px;
    z-index: 1000;
}

.otc-custom-header-mobile-nav ul
{
    list-style: none;
    padding: 0;
    margin: 0;
}

.otc-custom-header-mobile-nav>ul
{
    margin-top:25px;
}


.otc-custom-header-mobile-nav ul li
{
    margin-bottom:25px;
}


.otc-custom-header-mobile-nav>ul>li
{
    margin-bottom:45px;
}

.otc-custom-header-hamburger
{
    display:none;
}

@media (max-width: 450px) {
    .otc-custom-header-dropdown .fa.fa-user-circle,
    .otc-custom-header-dropdown .fa.fa-user-circle:before
    {
        display:none;
        content:"";
    }

    div#otc-custom-header-main-header
    {
        padding: 20px !important;
    }

    div#otc-custom-header-top-bar
    {
        padding: 0 20px !important;
    }

    #otc-custom-header-search-form
    {
        margin-left:15px;
    }
}

/* Hide main menu and show hamburger icon at 1000px */
@media (max-width: 1100px) {
    .otc-custom-header-main-menu {
        display: none; /* Hide main menu */
    }

    /* Display hamburger icon */
    .otc-custom-header-hamburger {
        display: block;
        font-size: 24px;
        color: #ffffff;
        cursor: pointer;
        padding: 10px;
    }

    

    /* Show mobile nav when active */
    .otc-custom-header-mobile-nav.active {
        display: flex;
    }

    /* Mobile Navigation Links Styling */
    .otc-custom-header-mobile-nav a {
        color: #fff;
        font-size: 18px;
        padding: 15px;
        text-decoration: none;
    }
}



/* Mobile Navigation Styling */
.otc-custom-header-mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #333;
    color: #fff;
    flex-direction: column;
    padding-top: 30px;
    padding-left: 20px;
    padding-right: 20px;
    z-index: 1000;
    overflow-y: auto;
}

/* Close button for mobile nav */
.otc-custom-header-close-menu {
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    align-self: flex-end;
    margin-bottom: 15px;
    cursor: pointer;
}

/* Mobile nav links and toggle button container */
.otc-custom-header-mobile-nav ul li {
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Main link styling in mobile nav */
.otc-custom-header-mobile-link {
    color: #fff;
    font-size: 18px;
    padding: 15px 0;
    text-decoration: none;
    flex: 1; /* Ensures link takes available space */
}

/* Submenu toggle button with + icon */
.otc-custom-header-mobile-dropdown-toggle {
    background: none;
    border: none;
    font-size: 25px;
    color: #fff;
    cursor: pointer;
    padding: 0 10px;
    flex-shrink: 0; /* Keeps button from shrinking */
    position: relative;
    float:right;
}

/* Default + icon, switches to - when submenu is open */
.otc-custom-header-mobile-dropdown-toggle::after {
    content: "+"; /* Default icon */
}

.otc-custom-header-mobile-dropdown-toggle.opened::after {
    content: "-"; /* Icon when submenu is open */
}

/* Submenu styling */
.otc-custom-header-mobile-nav ul.otc-custom-header-mobile-submenu {
    display: none; /* Hidden by default */
    padding: 10px 10px 10px 20px; /* Left padding for indentation */
    background-color: #444;
    margin-top: 5px;
    margin-left:20px;
}

/* Show submenu when active */
.otc-custom-header-mobile-nav ul.otc-custom-header-mobile-submenu.active {
    display: block;
}

/* Submenu link styling */
.otc-custom-header-mobile-nav ul.otc-custom-header-mobile-submenu a {
    color: #ddd;
    font-size: 15px;
    padding: 5px 0;
    text-decoration: none;
    display: block;
}

.otc-custom-header-mobile-nav ul.otc-custom-header-mobile-submenu a:hover {
    color: #fff;
}


.mobile-header-bar, .mobile-header-bar *
{
    display:none !important;
}

.otc-custom-header-notification-banner {
    background-color: var(--otc-yellow);
    color: var(--otc-dark-blue);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    gap: 50px; /* Adjusts spacing between text and button */
}

.otc-custom-header-notiifcation-banner-text {
    
    font-weight: 700;
    margin: 0;
}

.otc-custom-header-notiifcation-banner-text a, 
.otc-custom-header-notiifcation-banner-text a:hover, 
.otc-custom-header-notiifcation-banner-text a:focus, 
.otc-custom-header-notiifcation-banner-text a:active, 
.otc-custom-header-notiifcation-banner-text a:visited 
{
    color: var(--otc-dark-blue);
    text-decoration: underline;
}

