/* Common styles for both desktop and mobile */
 .middle-bar {
    width: 100%;
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    text-transform: uppercase;
    padding-left: 30px;
    padding-right: 30px;
}

 .middle-bar li {
    position: relative;
    flex: 1;
}

 .middle-bar li a {
    padding: .25rem 1rem;
    color: #000000;
    text-decoration: none;
    text-align: center; /* Center the text */
    display: block; /* Ensure full clickable area */
}


 .middle-bar li:first-child a {
    padding-left: 0;
}

 .middle-bar li:last-child a {
    padding-right: 0;
}

 .middle-bar .menu-item-has-children:hover > .sub-menu {
    display: block;
}

 .middle-bar .sub-menu {
    display: none;
    position: absolute;
    z-index: 999;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 0;
    list-style-type: none;
    width: 10rem;
}

 .middle-bar .sub-menu a {
    padding: .25rem;
    text-align: left;
}

 .middle-bar .sub-menu a:hover {
    color: gold;
}


/* Media query for mobile screens */
@media (max-width: 768px) {
     .middle-bar {
        flex-wrap: wrap; /* Allow items to wrap to the next line */
        justify-content: center; /* Center items horizontally */
    }

     .middle-bar li {
        margin: 5px; /* Add margin to create space around each item */
    }

     .middle-bar li a {
        padding: .25rem .5rem; /* Reduce padding for smaller screens */
    }

     .middle-bar .sub-menu {
        width: auto; /* Let the submenu expand as needed */
        position: static; /* Remove absolute positioning */
        box-shadow: none; /* Remove box shadow */
    }
}


/*news bar*/
body #newscss {
    background-color: #F8BF1D;
}

body #newscss li {
    text-decoration: none;
    font-size: 15px;
    color: #000C11;
    margin: 0;
    text-align: center;
}

body #newscss a{
    color: #000000;
}

/* Sidebar left */
.sidebarleft {
    width: 100%; /* Ensure full width on mobile */
    background-color: #f5f5f5; /* Add a light background color */
    padding: 10px; /* Add padding for spacing */
    border-radius: 5px; /* Add rounded corners */
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1); /* Add a subtle box shadow */
}

.sidebarleft ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.sidebarleft li {
    margin-bottom: 0; /* Add spacing between list items */
}

.sidebarleft h5 {
    margin-bottom: 0; /* Add spacing between list items */
}

.sidebarleft ul {
    margin-top: 10px !important; /* Add spacing between list items */
}

.sidebarleft a {
    color: #333; /* Darken the link color */
    text-decoration: none;
    display: block; /* Make the entire list item clickable */
    white-space: nowrap;        /* Prevent text from wrapping */
    overflow: hidden;           /* Hide overflowing text */
    text-overflow: ellipsis;    /* Show an ellipsis (...) for overflow */
    max-width: 100%;            /* Ensure it doesn't expand beyond its container */
    width: 100%;   
}

.sidebarleft a:hover {
    color: #e2ac3d; /* Darken link color on hover */
}

/* Media query for responsiveness */
@media (min-width: 768px) {
    .sidebarleft {
        width: 300px; /* Adjust the width for larger screens */
        margin-right: 20px; /* Add margin to create space between content and sidebar */
    }
}

.nv-page-title-wrap{
    display: none;
}

#coinametopdiv h3{
    margin-bottom: 0;    
}


#coinametopdiv h5{
    margin-bottom: 0;    
}





.ticker:hover {
  animation-play-state: paused;
}

.ticker-wrap {
  background-color: #F5F5F5;
  width: 100%;
  overflow: hidden;
  box-sizing: content-box;

}

.ticker {
  display: inline-block;
  white-space: nowrap;
  padding-right: 100%;
  box-sizing: content-box;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-name: ticker;
  animation-name: ticker;
  -webkit-animation-duration: 220s;
  animation-duration: 220s;
}

.ticker__item {
  font-weight: 600;
  display: inline-block;
  padding-right: 12px !important;
  padding-left: 12px !important;
  padding-top: 6px;
  padding-bottom: 6px;
}
.ticker__item a {
    font-size: 14px;
    color: black;
    text-decoration: none !important;
}

.ticker__item a:hover {
    text-decoration: none !important;
    background: #d3d3d380;

}
.ticker__item:hover {
    background: #d3d3d380;

}

@-webkit-keyframes ticker {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }
  100% {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes ticker {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    visibility: visible;
  }
  100% {
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

