@charset "UTF-8";
/*
 * Checkbox personnalisation using the :checked pseudo-class
 * IE 9+ support
 * 
 * @author Gaëtan Bonnot
 * @see @GaetanBt on Twitter
 * @see gaetanbt.com
 *
 * @lastmodified May 2nd 2014
 * @note added some specific selectors to let IE8 show the standard checkbox
*/
@import url(https://fonts.googleapis.com/css?family=Ubuntu);
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

body {
    background: #fff;
}

h2 {
  color: #fff;
  font-family: "Ubuntu", "sans-serif";
  font-weight: 400;
  margin-top: 3em;
  text-align: center; }

.checkbox_wrapper {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(137,137,137,0.20);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    height: 50px;
    margin: 3em auto;
    position: relative;
    width: 100px;
    transform: scale(0.8, 0.8);
}

label {
    display: block;
    margin: auto;
    width: 100px;
}

[type="checkbox"]:checked + .custom,
[type="checkbox"]:not(:checked) + .custom {
  background: #c81428;
  left: 1px;
  position: absolute;
  top: 1px;
  bottom: 1px;
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
  width: 48px;
  z-index: 10; }

[type="checkbox"]:checked,
[type="checkbox"]:not(:checked) {
  opacity: 0; }

[type="checkbox"]:checked + .custom {
  background: #96cb41;
  left: 49px; }

svg {
  -webkit-filter: drop-shadow(1px 1px 1px #555);
  filter: drop-shadow(1px 1px 1px #555);
  position: absolute;
  z-index: 1; }

.true_icon {
  fill: #96cb41;
  left: 8px;
  top: 8px; }

.false_icon {
  fill: #c81428;
  right: 8px;
  top: 9px; }
