.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: -20px;
  /*left: 0;*/
  background-color: #333;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 40px;
 }

.sidebar a {
  padding: 4px 4px 4px 20px;
  text-decoration: none;
  font-size: 14px;
  color: #ccc;
  display: block;
  transition: 0.3s;
}

.sidebar a:hover {
  color: #fff;
}

.sidebar .dropdown-btn {
  padding: 0px 4px 4px 20px;
  text-decoration: none;
  font-size: 14px;
  color: #ccc;
  display: block;
  border: none;
  background: none;
  width:100%;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.sidebar .dropdown-btn:hover {
  color: #fff;
}

.active {
  background-color: green;
  color: white;
}

.dropdown-container {
  display: none;
  background-color: #333;
  padding-left: 2px;
}

/* Optional: Style the caret down icon */
.fa-caret-down {
  float: right;
  padding-right: 8px;
}


.sidebar .closebtn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 36px;
  text-decoration: none;
}

.openbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: #333;
  color: #ccc;
  vertical-align:middle;
  border: none;
}

.openbtn:hover {
  color: #fff;
}

/*#main {
  transition: margin-left .5s;
  padding-top: -5px;
}*/

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidebar {padding-top: 10px;}
  .sidebar a {font-size: 18px;}
}



/* Styling the ticker container */
.ticker {
  overflow: hidden;
  white-space: nowrap;
  background-color: #333;
  color: #fff;
  padding: 6px;
  font-size: 1em;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
}

/* Wrapping and animating the ticker content */
.ticker__wrap {
  display: inline-block;
  padding-left: 100%; /* Start offscreen */
  animation: ticker-scroll 20s linear infinite;
}

/* Styling each item in the ticker */
.ticker__item {
  display: inline-block;
  margin-right: 50px; /* Space between messages */
}

/* Keyframes for scrolling */
@keyframes ticker-scroll {
  from {
      transform: translateX(0);
  }
  to {
      transform: translateX(-100%);
  }
}