/*-------------------------------
Dark Button CSS
-------------------------------*/
.switch-page-mode {
  position: fixed;
  top: 45%;
  right: 5px;
  z-index: 99;
}

.switch {
  position: relative;
  display: inline-block;
  width: 35px;
  height: 35px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.switch .slider.round {
  border-radius: 50%;
}

.switch .slider.round:before {
  border-radius: 50%;
}

.switch .slider:before {
  position: absolute;
  content: "";
  height: 35px;
  width: 35px;
  left: 0px;
  bottom: 4px;
  top: 0;
  bottom: 0;
  margin: auto 0;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  -webkit-box-shadow: 0 0px 15px #2020203d;
          box-shadow: 0 0px 15px #2020203d;
  background: white url("../img/night.png");
  background-repeat: no-repeat;
  background-position: center;
  background-color: #091315;
  background-size: 17px;
}

.switch input:checked + .slider {
  background-color: transparent;
}

.switch input:focus + .slider {
  -webkit-box-shadow: 0 0 1px  transparent;
          box-shadow: 0 0 1px  transparent;
}

.switch input:checked + .slider:before {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  background: white url("../img/sunny.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
}

@media only screen and (max-width: 767px) {
  .switch {
    width: 30px;
    height: 30px;
  }
  .switch input:checked + .slider:before {
    background-size: 15px;
  }
  .switch .slider:before {
    height: 30px;
    width: 30px;
  }
}

/*====================================================
Dark Content CSS
======================================================*/
.page-dark body {
  background-color: #121212 !important;
}

.page-dark h1,
.page-dark h2,
.page-dark h3,
.page-dark h4,
.page-dark h5,
.page-dark h6,
.page-dark p,
.page-dark span,
.page-dark label,
.page-dark a {
  color: #ffffff !important;
}
