
.checkbox {
	display: table-cell;
	padding-bottom:5px;
	white-space: nowrap;
}

.checkbox input[type="checkbox"] {
	opacity: 0; 
	position: absolute;
	margin: 1px 0px 1px 4px;
	width: 15px;
	height: 15px;
	display: none;
 }
 
.checkbox label {
	display: inline;
    position: relative;
    padding-left: 20px;
    margin-left:3px;
    min-height: 17px;
    vertical-align: text-top;
    font-weight : normal;
}
  
.checkbox label::before {
	width: 15px;
	height: 15px;
	content: "";
	display: inline-block;
	position: absolute;
	border: 1px solid #c4c4c4;
	border-radius: 3px;
	left: 0px;
	background-color: #fff;
	-webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
	-o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
	transition: border 0.15s ease-in-out, color 0.15s ease-in-out; 
	box-sizing: content-box;
	vertical-align: text-bottom;     
}
.checkbox label::after {
	position: absolute;
	display: inline-block;
	width: 15px;
	height: 15px;
	left: 0px;
	margin:1px;
	color: #555555; 
	box-sizing: content-box;
	text-align:center;
}


.checkbox input[type="checkbox"]:checked + label::before {
    border-color: #FFC107;
}
.checkbox input[type="checkbox"]:checked + label::after {
	font-family: 'Glyphicons Halflings';
	content: "\2714"; 
	font-size: 10px;
}
.checkbox input[type="checkbox"]:focus + label::before,.checkbox input[type="checkbox"]:active + label::before{
    border-color: #FFC107;
}


.checkbox input[type="checkbox"]:disabled + label::before  {
    background-color: #eeeeee;
    border:1px solid gray;
    opacity:0.5; 
}

.checkbox input[type="checkbox"]:disabled + label::after {
	cursor:not-allowed;
	opacity:0.5; 
}

.checkbox input[type="checkbox"]:indeterminate:not([disabled]) + label::before {
    border-color: #FFC107;
}

.checkbox input[type="checkbox"]:indeterminate + label::after {
    opacity:0.5;
    top: 2px;
}
.checkbox input[type="checkbox"]:indeterminate + label::after {
    font-family: 'Glyphicons Halflings';
	content: "\2212";
    font-weight:700;
	font-size: 10px;    
}