﻿/* The container */
.container-checkbox {
    display: block;
    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;
    display: flex;
    margin-top: 20px !important;
}

    /* Hide the browser's default checkbox */
    .container-checkbox input {
        position: absolute;
        cursor: pointer;
        display: inline-block;
        width: 5px;
        height: 5px;
        top: 16px;
        left: 8px;
        opacity: 0;
    }

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 5px;
    left: 0;
    height: 20px;
    width: 20px;
    /*background-color: #eee;*/
    border-radius: 3px;
    border: 1px solid #AEB3B7;
}

/* On mouse-over, add a grey background color */
.container-checkbox:active input ~ .checkmark {
    background-color: #005a60;
    border: 1px solid #005a60;
}

/* When the checkbox is checked, add a blue background */
.container-checkbox input:checked ~ .checkmark {
    background-color: #007078;
    border: 1px solid #007078;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Show the checkmark when active */
.container-checkbox:active input ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container-checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
