
/* https://www.w3schools.com/howto/howto_css_custom_checkbox.asp */

.markcontainer {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.markcontainer input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark, .radiomark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border: 1px solid #8fad938a;
}

/* Create a custom radio button */
.radiomark {
    border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.markcontainer:hover input ~ .checkmark, .markcontainer:hover input ~ .radiomark {
    background-color: #ccc;
}

/* When the check/radio box is checked, add a background */
.markcontainer input:checked ~ .checkmark, .markcontainer input:checked ~ .radiomark {
    background-color: #1e6d52;
    border-style: none;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after, .radiomark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.markcontainer input:checked ~ .checkmark:after, .markcontainer input:checked ~ .radiomark:after {
    display: block;
}

/* Style the checkmark/indicator */
.markcontainer .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Style the indicator (dot/circle) */
.markcontainer .radiomark:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

/* undo a problem caused by reboot.scss re size & position of the check */
.checkmark:after, .checkmark:before {
    box-sizing: unset;
}

