.mobile-only {
    display: none; /* Initially hide mobile elements */
}

.desktop-only {
    display: block;
}

/* Media query for mobile devices (adjust the max-width as needed) */
@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    .desktop-only {
        display: none; /* Hide desktop elements */
    }

    /* New container to manage header and content height */
    #mobile-container {
        position: fixed; /* Make it stick to the viewport */
        top: 0;
        left: 0;
        width: 100%;
        height: 35px; 
        display: flex;
        flex-direction: column;
        z-index: 1001;
    }

    /* Style the mobile header */
    #mobile-header {
        background-color: #222;
        color: #ababab;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 2px;
        flex-shrink: 0;
    }

    #mobile-home-button a {
        color: #ababab;
        text-decoration: none;
    }


/* =================================================================================================     */
/* =================================================================================================     */

    #mobile-menu-dropdown button,
    #mobile-user-icon button {
        background: none;
        color: #ababab;
        border: none;
        font-size: 18px;
        cursor: pointer;
        padding: 5px;
        flex-shrink: 0; /* Prevent shrinking */
    }

    #mobile-menu-items {
        list-style: none;
        padding: 0px 5px 0px 5px;
        margin: 0;
        background-color: #333;
        position: absolute; /* Or fixed */
        top: auto; /* Adjust if needed */
        left: 0;
        width: 100%;
        z-index: 1000;
        display: none;
        cursor: pointer;
        border-top: 1px solid #555; /* Optional separator */
        font-size: 14px;
        overflow-y:auto;
    }

    #mobile-menu-items li a {
        display: flex;
        padding: 5px;
        text-decoration: none;
        color: #ababab;
    }

    #mobile-menu-items li a:hover {
        background-color: #444444;
    }

    #mobile-menu-items li active {
        color: #ff9900;
        font-weight: bold;
    }

/* =================================================================================================     */
/* =================================================================================================     */

    #mobile-user-dropdown {
        position: absolute;
        top: auto; /* Adjust if needed */
        right: 10px;
        background-color: #333;
        border: 1px solid #555;
        z-index: 1000;
        display: none;
        margin-top: 5px; /* Adjust spacing */
    }

    #mobile-user-dropdown button {
        display: block;
        width: 100%;
        padding: 10px;
        text-align: left;
        background: none;
        color: #ababab;
        border: none;
    }

    #data-ui-view {
        /* Allow for the mobile screen top row */
        margin-top: 38px;
    }

}

@media (max-width: 1280px) {
    #primary-screen {
        width:100%;
    }
}

@media (min-width: 1281px) {
    .desktop-only {
        display: block;
    }
    
    #primary-screen {
        width:40%;
    }

    #data-ui-view {
        margin-top: 0px;
    }
}


li.mobilemenuitem>a:focus, li.mobilemenuitem>a:hover {
	text-decoration: none;
/* 	background-color: #eee; */
	color: #ffffff;
}

li.mobilemenuitem.active>a {
	color: #ff9900 !important;
	font-weight: bold !important;
	font-size: 16px;
	cursor: pointer;
	background-color: #ffefd7 !important;
}

li.mobilemenuitem.inactive:hover { 
  color: white;
}