header{
    position: fixed;
    z-index: 100;
    height: 150px;
}

#primary.content-area{
    margin-top: 150px;
}

#menu-toggle, #menus-mobile{
    display: none;
}

#top-header-phone-email{
    background: url('https://www.compushooter.com/wp-content/uploads/2024/11/top-header-bg.png');
    padding: 10px 1%;
    font-family: 'Roboto';
    font-weight: bold;
    color: #000;
    text-align: right;
    font-size: 16px;
}

#top-header-phone-email img{
    width: 24px;
}

#top-header-phone-email a:hover{
    color: #000;
    text-decoration: underline;
}

header, #logo-and-menus{
    background: #FFF;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

#logo-and-menus{
    padding: 1%;
}

#logo-and-menus #logo{
    float: left;
    width: 12%;
}

#logo-and-menus #menus{
    float: left;
    width: 80%;
    margin-left: 1%;
    padding-top: 1%;
}

.clear{
    clear: both;;
}

/* Main Menu Styles */

#menu-new-main-menu{
    padding-left: 0;
}

#new-main-menu ul{
    padding-left: 0;
}

.new-menu {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 0;
}

.new-menu > li {
    position: relative;
}

.new-menu a {
    display: block;
    color: #545454;
    padding: 15px 10px;
    text-decoration: none;
    font-size: 17px;
    border-radius: 5px;
    transition: 0.5 ease all;
    font-weight: bold;
}

.new-menu a:hover {
    background-color: #444;
}

/* Submenu Styles */
.sub-menu {
    list-style: none;
    position: absolute;
    top: 100%; /* Position submenu below the parent */
    left: 0;
    background-color: #444;
    min-width: 200px;
    display: none; /* Hide submenu by default */
    border-radius: 0 0 5px 5px;
    z-index: 1000;
    padding: 0;
}

.sub-menu li {
    border-top: 1px solid #555;
}

.sub-menu li:first-child {
    border-top: none;
}

.sub-menu a {
    padding: 12px 20px;
    color: #fff;
    text-decoration: none;
    display: block;
    font-size: 13px;
    font-weight: normal;
}

.sub-menu a:hover {
    background-color: #555;
}

/* Show submenu on hover */
.new-menu li:hover > .sub-menu {
    display: block;
}

/* Submenu for Nested Submenu */
.sub-menu .sub-menu {
    top: 0;
    left: 100%; /* Position nested submenu to the right */
    border-radius: 5px;
}

/* Add an arrow indicator for submenus */
.new-menu > li > a::after {
    content: " ▼";
    font-size: 12px;
}

/* Arrow indicator for nested submenu */
.sub-menu li > a::after {
    content: " ▶";
    font-size: 12px;
    float: right;
}

/* Remove arrow for items without submenu */
.sub-menu li:not(:has(.sub-menu)) > a::after,
.new-menu > li:not(:has(.sub-menu)) > a::after {
    content: "";
}

@media (max-width: 500px) {

    #new-template-page-ticket {
        width: 96% !important;
        margin: 0 2% !important;
    }

    #logo-and-menus{
        height: 60px;
    }

    #logo-and-menus #logo{
        width: 40% !important;
    }

    #menu-toggle, #menus-mobile{
        display: block;
    }

    #menus{
        display: none;
    }

}