.custom-top-bar {
    color: #ffffff;
 
   
    display: grid !important; 
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; 
    align-items: center;
    padding: 7px 0;
    font-family: "Rubik", sans-serif !important;
    font-size: 8pt !important;
    font-weight: 600 !important;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    position: sticky;
    top: 0;
    z-index: 9999;
}

.custom-top-bar .top-bar-item {
    white-space: nowrap;
}


.custom-top-bar .left-text {
    justify-self: end;
    margin-right: 10vw;
}


.custom-top-bar .right-text {
    justify-self: start;
    margin-left: 10vw;
}

.custom-top-bar .mobile-text {
    display: none;
}

#content-wrapper {
    margin-top: var(--custom-bar-height, 0px) !important;
}

body, .overall-wrapper {
    overflow-x: clip !important;
}


@media (max-width: 768px) {
    .custom-top-bar .desktop-only,
    .custom-top-bar .desktop-text { 
        display: none !important; 
    }
    
    .custom-top-bar .mobile-text {
        display: inline !important;
    }
    
    .custom-top-bar { 
        display: flex !important;
        justify-content: center; 
        gap: 0; 
        font-size: 8pt !important; 
        padding: 4px 10px; 
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 10000 !important;
    }
    
    .custom-top-bar .left-text,
    .custom-top-bar .right-text {
        margin-right: 0;
        margin-left: 0;
    }
    
    #header {
        top: 24px !important; 
    }
    
    .overall-wrapper {
        margin-top: 24px !important;
    }
}