/********************************** SLIDING CHECKBOXES small **********************************/
.switch-small {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 18px;
    top: 5px;
    margin: 0;
    /*float:right;*/
}

/* Hide default HTML checkbox */
.switch-small input { display:none; }

/* The slider */
.slider-small{
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}
.slider-small:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

/* Rounded sliders */
.slider-small.round { border-radius: 12px; }
.slider-small.round:before { border-radius: 50%; }

.switch-small input.default:checked + .slider-small { background-color: #444; }
.switch-small input.primary:checked + .slider-small { background-color: #2196F3; }
.switch-small input.success:checked + .slider-small { background-color: #8bc34a; }
.switch-small input.info:checked + .slider-small { background-color: #3de0f5; }
.switch-small input.warning:checked + .slider-small { background-color: #FFC107; }
.switch-small input.danger:checked + .slider-small { background-color: #f44336; }
/*input:focus + .slider-small { box-shadow: 0 0 1px #2196F3; }*/
.switch-small input:checked + .slider-small:before {
    -webkit-transform: translateX(14px);
    -ms-transform: translateX(14px);
    transform: translateX(14px);
}

/********************************** SLIDING CHECKBOXES normal **********************************/
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin: 0;
    top: 5px;
    /*float:right;*/
}

/* Hide default HTML checkbox */
.switch input { display:none; }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

/* Rounded sliders */
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }

.switch input.default:checked + .slider { background-color: #444; }
.switch input.primary:checked + .slider { background-color: #2196F3; }
.switch input.success:checked + .slider { background-color: #8bc34a; }
.switch input.info:checked + .slider { background-color: #3de0f5; }
.switch input.warning:checked + .slider { background-color: #FFC107; }
.switch input.danger:checked + .slider { background-color: #f44336; }
/*input:focus + .slider { box-shadow: 0 0 1px #2196F3; }*/
.switch input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/********************************** CHECKBOXES small **********************************/
.check-box-small{
    display: inline-block;
    position: relative;
    width: 18px;
    height: 18px;
    margin: 0;
    top: 5px;
}
.check-box-small input { display:none; }

/* Create a custom checkbox */
.checkmark-small {
    position: absolute;
    cursor: pointer;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

/* Style the checkmark/indicator */
.checkmark-small:before {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
/* When the checkbox is checked, add a background */
.check-box-small input.default:checked ~ .checkmark-small { background-color: #444; }
.check-box-small input.primary:checked ~ .checkmark-small { background-color: #2196F3; }
.check-box-small input.success:checked ~ .checkmark-small { background-color: #8bc34a; }
.check-box-small input.info:checked ~ .checkmark-small { background-color: #3de0f5; }
.check-box-small input.warning:checked ~ .checkmark-small { background-color: #FFC107; }
.check-box-small input.danger:checked ~ .checkmark-small { background-color: #f44336; }

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark-small:before {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.check-box-small input:checked ~ .checkmark-small:before {
    display: block;
}

/********************************** CHECKBOXES normal **********************************/
.check-box{
    display: inline-block;
    position: relative;
    width: 34px;
    height: 34px;
    margin: 0;
    top: 5px;
}
.check-box input { display:none; }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    cursor: pointer;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

/* Style the checkmark/indicator */
.checkmark:before {
    left: 8px;
    top: 3px;
    width: 10px;
    height: 16px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* When the checkbox is checked, add a  background */
.check-box input.default:checked ~ .checkmark { background-color: #444; }
.check-box input.primary:checked ~ .checkmark { background-color: #2196F3; }
.check-box input.success:checked ~ .checkmark { background-color: #8bc34a; }
.check-box input.info:checked ~ .checkmark { background-color: #3de0f5; }
.check-box input.warning:checked ~ .checkmark { background-color: #FFC107; }
.check-box input.danger:checked ~ .checkmark { background-color: #f44336; }

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:before {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.check-box input:checked ~ .checkmark:before {
    display: block;
}

