﻿#topheader-mobile {
    display: none;
}

#topheader-desktop {
    display: block;
}


@media (max-width: 1023px) {
    .mobile-nav a:not(.btn):not(.mobile-nav-bottom-link):not(.nav-link) {
        color: #202945;
    }
    .mobile-nav a:not(.btn):not(.mobile-nav-bottom-link):not(.nav-link):hover {
        color: #D50037;
    }
    
    #topheader-mobile {
        display: block;
    }
    
    #topheader-desktop {
        display: none;
    }
    
    .main-header {
        width: 100%;
        float: left;
        padding-top: 5px;
        background: #fff;
    }
    
    .topbar {
        position: relative;
        background: #fff;
    }
    
    .topbar .logo {
        width: 100px;
        opacity: 1;
        margin: 10px 0 10px 10px;
        display: block;
    }

    .main-header.sticky .topbar .logo {
        margin-top: 5px;
    }
    .btc-e-icons-account-logout::before {
        color: #202945 !important;
    }
    .menu-icon {
        width: 40px;
        height: 38px;
        text-align: center;
        position: absolute;
        right: 10px;
        top: 6px;
        cursor: pointer;
        display: block;
        background: #ffffff;
        z-index: 9999;
    }

    .menu-icon i {
        font-size: 24px;
        color: #202945;
        position: absolute;
        left: 50%;
        top: 50%;
        -webkit-transform: translate(-50%,-50%);
        -moz-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
        -o-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
    }

    .menu-icon .fa-times {
        display: none;
    }

    .menu-icon.active .fa-times {
        display: block;
    }

    .menu-icon.active .fa-bars {
        display: none;
    }

    .mobile-nav {
        display: none;
        background: #fff;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0px;
        overflow: hidden;
        width: 100%;
        float: left;
    }
    
    .mobile-nav-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin: 50px 10px 20px;
    }
    
    .mobile-nav-top .mobile-nav-top-left {
        display: flex;
    }
    
    .mobile-nav-top .mobile-nav-top-right {
        display: flex;
    }
    
    .mobile-nav-top .mobile-nav-top-logo img {
        display: inline-block;
        width: 100px;
    }
    .mobile-nav-top-right .mobile-nav-top-link i {
        display: inline-block;
        width: 20px; 
        height: 20px;
    }
    .mobile-nav-top-right .mobile-nav-top-link img {
        width: 100%; 
        height: 100%;
        object-fit: contain; 
    }
    .mobile-nav-top .mobile-nav-top-link {
        display: inline-block;
        padding: 0 3px;
    }
    
    .mobile-nav-top .mobile-nav-top-link a {
        vertical-align: middle;
    }
    
    .mobile-nav-top .mobile-nav-top-link a.active {
        font-weight: 600;
        color: #D50037 !important;
    }
    
    .mobile-nav-top .mobile-nav-top-link span {
        font-size: 14px;
        vertical-align: middle;
    }
    
    .mobile-nav-top .mobile-nav-top-link i {
        font-size: 20px;
        font-weight: 600;
        vertical-align: middle;
        margin-right: 4px;
    }

    ul.mobile-nav-categories {
        display: flex;
        list-style: none;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding-left: 3px;
        padding-right: 3px;
    }
    /*button transition */
    @property --a {
        syntax: '<angle>';
        inherits: false;
        initial-value: 45deg;
    }

    @property --l {
        syntax: '<percentage>';
        inherits: false;
        initial-value: 65%;
    }

    @property --c {
        syntax: '<color>';
        inherits: false;
        initial-value: #202945;
    }

    ul.mobile-nav-categories li.nav-item a.nav-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 42px;
        border-radius: 30px;
        font-size: 16px;
        color: #202945;
        width: calc(100% - 6px);
        margin-left: 3px;
        margin-right: 3px;
        padding-left: 4px;
        padding-right: 4px;
        cursor: pointer;
        background: #ffffFF;
        border: 2px solid #202945;
    }

    ul.mobile-nav-categories li.nav-item a.nav-link:hover {
        
    }


    ul.mobile-nav-categories li.nav-item a.nav-link.active {
        background-color: #202945 !important;  /* Stay solid red after click */
        color: #ffffff !important;  /* Ensure text color remains white */
        border: 2px solid #202945;
       
    }


    ul.mobile-nav-categories li.nav-item {
        width: 25%;
    }
    
    .resizable-content {
        height: calc(100% - 225px) !important;
        overflow: scroll;
        padding: 10px 10px 10px 10px;
    }
    
    .mobile-nav-special-buttons {
        
    }
    
    .mobile-nav-category-links {
        padding-top: 16px;
        padding-bottom: 32px;
    }
    
    .mobile-nav-category-links .mobile-nav-category-tab {
        border-bottom: #bdbdbd solid 1px;
    }
    
    .mobile-nav-category-links .mobile-nav-category-link {
        display: block;
        padding: 0.75rem 1rem;
        line-height: 1.25;
        font-size: 1rem;
        border-top: #bdbdbd solid 1px;
    }
    
    .mobile-nav-category-links .mobile-nav-category-link span i {
        font-size: 22px;
        margin-right: 4px;
        vertical-align: middle;
    }
    
    .mobile-nav-category-links .accordion .accordion .mobile-nav-category-link {
        border-top: none;
    }
    
    .mobile-nav-category-links .mobile-nav-category-button-link {
        position: relative;
        padding: 0.75rem 1rem;
        line-height: 1.25;
        font-size: 1rem;
        border-top: #bdbdbd solid 1px;
        color: #202945;
    }
    
    .mobile-nav-category-links .mobile-nav-category-button-link:hover {
        color: #D50037;
    }
    
    .mobile-nav-category-links [aria-expanded=true].mobile-nav-category-button-link {
        color: #D50037;
        font-weight: 600;
    }

    .mobile-nav-category-links .mobile-nav-category-button-link::before {
        content: "";  /* Required for the pseudo-element to display */
        display: inline-block;
        position: absolute;
        right: 20px;
        width: 12px;  /* Adjust the width to the size of your arrow */
        height: 12px; /* Adjust the height to the size of your arrow */
        background: url('../images/Arrow_2.svg') no-repeat center center;
        background-size: contain;  /* Ensures the image scales properly within the element */
        transition: transform ease-in-out 200ms;
    }

    .mobile-nav-category-links [aria-expanded=true].mobile-nav-category-button-link::before {
        transform: rotate(90deg);
    }
    
    .mobile-nav-bottom {
        background-color: #202945;
        height: 48px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-nav-bottom-left, .mobile-nav-bottom-right {
        display: inline-block;
    }
    
    a.mobile-nav-bottom-link {
        color: #ffffff;
        padding: 0 10px;
        font-size: 16px;
    }
    
    /** Inner effect **/
    .mobile-nav-category-links .collapse, .mobile-nav-category-links .collapsing {
        padding-left: 16px;
        padding-right: 16px;
    }
}