/* =====================================================
   DARK MODE SWITCH
===================================================== */

.switch-box {
  position: relative;
  align-items: center;
  display: inline-block;
  z-index: 1;
  transform: translateY(0%);
  background-color: rgba(255,255,255,.12);
  height: 50px;
  width: 60px;
  padding-top: 10px;
  padding-left: 12px;
  border-radius: 30px;
}
.switch-box .switch {
  position: relative;
  display:inline-block;
  align-items: center;
  width: 35px;
  height: 30px;
}
.switch-box .switch input {
  opacity: 0;
  width: 0;
  height: 0;

}
.switch-box .slider {
  position: absolute;
  display: center;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #4d4949;
  transition: 0.4s;

}
.switch-box .slider:before {
  position:absolute;
  
  content: "";
  height: 30px;
  width: 30px;
  left: 2.5px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  transition: 0.4s;
  box-shadow: 0 0 15px rgba(32, 32, 32, 0.2392156863);
  background: url(../../assets/images/icon/sunny.png);
  background-repeat: no-repeat;
  background-position: center;
}
.switch-box input:checked + .slider {
  background-color: #4d4949;
}
.switch-box input:focus + .slider {
  background-color: #4d4949;
}
.switch-box input:checked + .slider:before {
  transform: translateX(0);
  background: url(../../assets/images/icon/night.png);
  background-repeat: no-repeat;
  background-position: center;
}
.switch-box .slider.round {
  border-radius: 50px;
}
.switch-box .slider.round:before {
  border-radius: 50%;
}
/*@media (max-width: 767px) {
  .switch-box {
    display: none;
  }
}*/

