/****************************************************************************/
/* haloECheckbox checkbox                                                   */
/****************************************************************************/

.haloECheckbox {
    width: 100%;
    margin: 0 auto;
    position: relative;
    display: block;
}

.haloECheckbox input[type="checkbox"] {
    width: auto;
    opacity: 0.00000001;
    position: absolute;
    left: 0;
    margin-left: -20px;
}

.haloECheckbox label {
    min-height: 40px;
    display: block;
    padding-left: 40px;
    margin-bottom: 0;
    font-weight: normal;
    cursor: pointer;
}

.haloECheckbox label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    margin: 4px;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background-image: url("../../images/flat_check_icon_rgb_wht.png");
    background-size: 16px 16px;
    border: 2px solid grey;
}
.haloECheckbox label:after {
    background-image: url("../../images/flat_check_icon_rgb_wht.png");
    background-size: 16px 16px;
    position: absolute;
    top: 10px;
    left: 7px;
}
.haloECheckbox input[type="checkbox"]:checked ~ label::before {
    color: white;
    background-color: #0057b8;
}

.haloECheckbox input[type="checkbox"]:checked ~ label::after {
    background-color: #0057b8;
}

.haloECheckbox input[type="checkbox"]:focus + label::before {
    border-radius: 4px;
    border: 2px solid #454b52;
}

.haloECheckbox input[type="checkbox"]:hover + label::before {
    border-radius: 4px;
    border: 2px solid #454b52;
}

/****************************************************************************/
/* switch/slider                                                            */
/****************************************************************************/
.switch {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 21px;
    bottom: 0px;
    vertical-align: text-bottom;
  }

  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
  }

  .slider:before {
    position: absolute;
    content: "";
    height: 17px;
    width: 17px;
    left: 3px;
    bottom: 2px;
    border-radius: 50%;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }

  input:checked + .slider {
    background-color: #0057b8;
  }


  input:focus + .slider,
  input:hover + .slider {
    box-shadow: inset 0px 0px 0px 2px #000000;
  }

  input:checked + .slider:before {
    -webkit-transform: translateX(11px);
    -ms-transform: translateX(11px);
    transform: translateX(11px);
  }

/****************************************************************************/
/* haloERadio                                                               */
/****************************************************************************/
.haloERadio {
    width: auto;
    opacity: 0.00000001;
    position: absolute;
    left: 0;
    margin-left: -20px;
}

.haloERadio + label:before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  padding: 3px;
  margin: 5px 15px 10px 0px;
  background-clip: content-box;
  border: 1px solid #bbbbbb;
  background-color: white;
  border-radius: 50%;
}

.haloERadio:checked + label:before {
  background-color: #0057b8;
}

.haloERadioButtonGroup label {
  display: inline-flex;
  align-items: center;
}

.haloERadio:hover + label:before {
  border: solid black 1px;
}

.haloERadio:focus + label:before {
  border: solid black 1px;
}
