/*CUSTOM STYLE FOR CHECKBOX AND RADIOS
Example:
	<label class="checkbox-container">
	  <input type="checkbox" name="" checked="checked">
	  <span class="checkmark"></span>
	</label>

   	<label class="radio-container">
	  <input type="radio" name="" checked="checked">
	  <span class="radiomark"></span>
	</label>
*/
/* The container */
.checkbox-container, .radio-container {
    position: relative;
    padding-left: 35px;
    margin-bottom: 18px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/*For disabled checkbox add class disabled to checkmark, for disabled radio add class disabled to radiomark*/
.checkmark.disabled, .radiomark.disabled{
	background-color: #c2cfd6 !important;
    border: 1px solid gray;
	pointer-events: none;
}

/* Hide the browser's default checkbox */

.checkbox-container input, .radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #f0f3f5;
    border: 1px solid #c2cfd6;
    padding: 2px 2px;
}

.radiomark {
	position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #f0f3f5;
    border: 1px solid #c2cfd6;
	border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.checkbox-container:hover input ~ .checkmark, 
.radio-container:hover input ~ .radiomark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox-container input:checked ~ .checkmark,
.radio-container input:checked ~ .radiomark {
    background-color: #1b8eb7;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after,
.radiomark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.checkbox-container input:checked ~ .checkmark:after,
.radio-container input:checked ~ .radiomark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 7px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.radio-container .radiomark:after {
  top: 7px;
  left: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: white;
}