/*

	Filename:          checkbox.css
	Description:       Checkbox style sheet
	Site:              loopnorth.com
	Start date:        11-09-18
	Last modification: 10-01-23

*/

/* Hide browser's default checkbox */
.container input {
 cursor: pointer;
 height: 0;
 opacity: 0;
 position: absolute;
 width: 0;
}

/* Container */
.container {
 cursor: pointer;
 display: block;
 margin-bottom: 25px;
 padding-left: 30px;
 position: relative;
 user-select: none;
 -moz-user-select: none;
 -ms-user-select: none;
 -webkit-user-select: none;
}

/* Checkbox */
.checkmark {
 background-color: #ffffff;
 height: 25px;
 left: 0;
 position: absolute;
 top: 0;
 width: 25px;
}

/* When checkbox is checked, add blue background */
.container input:checked ~ .checkmark {
 background-color: #0000ff;
}

/* Create checkmark/indicator (hidden when not checked) */
.checkmark:after {
 content: '';
 display: none;
 position: absolute;
}

/* Show checkmark when checked */
.container input:checked ~ .checkmark:after {
 display: block;
}

/* Style checkmark/indicator (transform must follow -webkit-transform) */
.container .checkmark:after {
border: solid #ffffff;
 border-width: 0 3px 3px 0;
 height: 10px;
 left: 9px;
 -ms-transform: rotate(45deg);
 top: 5px;
 -webkit-transform: rotate(45deg);
 transform: rotate(45deg);
 width: 5px;
}