label {
  width:100px;  /*To modify*/
  height:40px;  /*To modify*/
  position: relative;
  display: block;
  background: #ebebeb;
  border-radius: 40px; /*To modify*/
  box-shadow: inset 0px 5px 15px rgba(0,0,0,0.4), inset 0px -5px 15px rgba(255,255,255,0.4);
  cursor: pointer;
}
label:after {
  content: "";
  width:36px; /*To modify*/
  height: 36px; /*To modify*/
  position: absolute;
  top:2px; /*To modify*/
  left:2px; /*To modify*/
  background: linear-gradient(180deg,#ffcc89,#d8860b);
  border-radius: 36px; /*To modify*/
  box-shadow: 0px 5px 10px rgba(0,0,0,0.2);
}
input {
  width: 0;
  height: 0;
  visibility: hidden;
}
input:checked + label {
  background: #242424;
}
input:checked + label:after {
  left:98px; /*To modify*/
  transform: translateX(-100%);
  background: linear-gradient(180deg,#777,#3a3a3a);
}
label, label:after {
  transition: 0.3s
}
label:active:after{
  width: 52px; /*To modify*/
}
label svg {
  position: absolute;
  width: 24px; /*To modify*/
  top:8px; /*To modify*/
  z-index: 100;
}
label svg.sun {
  left:8px; /*To modify*/
  fill:#fff;
  transition: 0.3s;
}
label svg.moon {
  left:68px; /*To modify*/
  fill:#7e7e7e;
  transition: 0.3s;
}
input:checked + label svg.sun {
  fill:#7e7e7e;
}
input:checked + label svg.moon {
  fill:#fff;
}
/*.elevation-separator {*/
/*  width: 100%;*/
/*  margin: 3rem 0;*/
/*}*/
.card-height {
}
/*html {*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  display: table;*/
/*}*/

/*body {*/
/*  width: 100%;*/
/*  display: table-cell;*/
/*}*/

/*html, body {*/
/*  margin: 0;*/
/*  padding: 0;*/
/*}*/
