.switch-case {
  margin-bottom: 8px;
}

/* The switch - the box around the slider */
.switch {
  position: relative;
  display:  inline-block;
  width:    28px;
  height:   16px;
}

/* Hide default HTML checkbox */
.switch input {
  display: none;
}

/* The slider */
.slider {
  background-color:   #ccc;
  cursor:             pointer;
  position:           absolute;
  top:                0;
  left:               0;
  right:              0;
  bottom:             0;
  
  -webkit-transition: .4s;
  transition:         .4s;
}

.slider:before {
  background-color:   #262626;
  content:            "";
  height:             14px;
  position:           absolute;
  left:               1px;
  bottom:             1px;
  width:              14px;
  
  -webkit-transition: .4s;
  transition:         .4s;
}

input:checked + .slider {
  background-color: #77b300;
}

input:checked + .slider:before {
  background-color: #333;
}

input:checked + .slider:before {
  -webkit-transform:  translateX(12px);
  -ms-transform:      translateX(12px);
  transform:          translateX(12px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 8px;
}

.slider.round:before {
  border-radius: 50%;
}


@media only screen and (max-width: 980px) {
  .switch-case {
    margin-bottom: 0;
  }

  .switch {
    width:  112px;
    height: 64px;
  }
  
  .slider:before {
    height: 56px;
    left:   4px;
    bottom: 4px;
    width:  56px;
  }
  
  input:checked + .slider:before {
    -webkit-transform:  translateX(48px);
    -ms-transform:      translateX(48px);
    transform:          translateX(48px);
  }
  
  .slider.round {
    border-radius: 32px;
  }
}
