
label.checkcontainer {
    display: inline-block;
    position: relative;
    padding-left: 22px;
    cursor: pointer;
    margin-bottom: 5px;
    margin-right: 10px;
    min-height: 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.rtl label.checkcontainer {
    padding-left: 0;
    margin-right: 0;
    padding-right: 22px;
    margin-left: 10px;
}

label.checkcontainer.minimal {
    padding-left: 6px;
}

.rtl label.checkcontainer.minimal {
    padding-right: 6px;
}

label.checkcontainer.inline {
    display: inline;
    margin-right: 0;
}

.rtl label.checkcontainer.inline {
    margin-left: 0;
}

label.checkcontainer.m0 {
    margin-right: 0;
}

.rtl label.checkcontainer.m0 {
    margin-left: 0;
}

/* Hide the browser's default checkbox */
.checkcontainer input {
  	position: absolute !important;
    top: 0;
    left: 0;
	opacity: 0; /*from IE9*/
    cursor: pointer;
}

.rtl .checkcontainer input {
    left: auto;
    right: 0;
}

/* Create a custom radio button */
.checkcontainer input ~ .checkdesign {
    position: absolute;
    top: 2px;
    left: 0;
    box-sizing: border-box;
    height: 16px;
    width: 16px;
    border: 1px solid #bbb;
    background-color: #f9f9f9;
}

.rtl .checkcontainer input ~ .checkdesign {
    left: auto;
    right: 0;
}

.checkcontainer.inline input ~ .checkdesign {
    top: 0;
}

.checkcontainer input[type="radio"] ~ .checkdesign {
    border-radius: 50%;
}

.checkcontainer input[type="checkbox"] ~ .checkdesign {
    border-radius: 3px;
}

.checkcontainer input:disabled:not(.no_blur) ~ .checkdesign {
    border-color: #e8e8e8;
}

.checkcontainer input:disabled:not(.no_blur) ~ .lbl {
    opacity: 0.6;
}

.checkcontainer input:disabled ~ .checkdesign, .checkcontainer input:disabled ~ .lbl {
    cursor: not-allowed;    
}

/* On mouse-over, add a grey background color */
/*.checkcontainer:hover input ~ .checkdesign {
  background-color: #ccc;
}*/

/* When the radio button is checked, add a blue background */
.checkcontainer input:checked ~ .checkdesign {
  /*background-color: #fff;*/
}

input.not_valid ~ .checkdesign {
    border: 1px solid #FF0000 !important;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkcontainer input ~ .checkdesign:after {
  content: "";
  position: absolute;
  display: none;
  box-sizing: border-box;
}

/* Show the indicator (dot/circle) when checked */
.checkcontainer input:checked ~ .checkdesign:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.checkcontainer input[type="radio"] ~ .checkdesign:after {
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #db0632;
}

.rtl .checkcontainer input[type="radio"] ~ .checkdesign:after {
    left: auto;
    right: 4px;
}

.checkcontainer input[type="radio"]:disabled:not(.no_blur) ~ .checkdesign:after {
    background-color: #f5a2ae;
}

/* Style the checkbox/indicator */
.checkcontainer input[type="checkbox"] ~ .checkdesign:after {
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #db0632;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(36deg);
    -ms-transform: rotate(36deg);
    transform: rotate(36deg);
}

.rtl .checkcontainer input[type="checkbox"] ~ .checkdesign:after {
    left: auto;
    right: 5px;
}

.checkcontainer input[type="checkbox"]:disabled:not(.no_blur) ~ .checkdesign:after {
    border-color: #f5a2ae;
}

/* ----------------------------------------------------------------------------------------------------------------- */


