.c-loader {
    animation: is-rotating 1s infinite;
    border: 6px solid #e5e5e5;
    border-radius: 50%;
    border-top-color: #6600ccc2;
    height: 35px;
    width: 35px;
    margin: 0 45%;
    display: none;
}

@keyframes is-rotating {
  to {
    transform: rotate(1turn);
  }
}


#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999; 
}

.dark-mode-switch{
  background-color: #1e2938;
}

.light-mode-switch{
  background-color: #ffff;
}

/* skeleton */
@keyframes skeleton-animation{
            
  0%{
      right: 100%;
  }
  
  50%{
      right: -128px;
  }
  
  100%{
      right: 100%;
  }
      
}
.card-hide{
  opacity: 0;
  height: 0;
  transition: 0.5s;
}

.card-widget{
 min-height: 180px;
}

.skeleton {
  overflow: hidden;
  width: 90%;
  height: 78px;
  display: grid;
  grid-template-columns: 25% 73%;
  grid-gap: 8px;
  position: relative;
  opacity: 1;
  transition: 0.6s;
  margin: 5% 0 0 6%;
}

.skeleton:before{
  display: block;
  position: absolute;
  width: 128px;
  height: 78px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #FFF, rgba(255, 255, 255, 0));
  content: "";
  animation: skeleton-animation 1.25s infinite;
  
}

.skeleton .s-img {
  width: 94%;
  height: 78px;
  background: #eee;
  grid-row: 1 / 4;
}

.skeleton .s-line{
  height: 20px;
  background: #eee;
}

.skeleton .s-line.first { width: 100% }

.skeleton .s-line.second { width: 75% }

.skeleton .s-line.third { width: 50% }

/* end skeleton */