﻿/* The container */
.sia-checkbox-container {
    display: block;
    position: relative;
    margin: 0px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.sia-checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.sia-checkbox {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 4px;
}

/* On mouse-over, add a grey background color */
.sia-checkbox-container:hover input ~ .sia-checkbox {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.sia-checkbox-container input:checked ~ .sia-checkbox {
    /*background-color: #2196F3;*/
    background-color: var(--site-principal-color-1);
}

/* Create the checkmark/indicator (hidden when not checked) */
.sia-checkbox:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.sia-checkbox-container input:checked ~ .sia-checkbox:after {
    display: block;
}

/* Style the checkmark/indicator */
.sia-checkbox-container .sia-checkbox: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);
}

.sia-only-checkbox {
    margin: 0px auto;
    width: 25px;
    height: 25px;
}

.sia-rememberMe-checkbox {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.sia-rememberMe-checkbox > div {
    width: 25px;
    height: 25px;
    margin-right: 6px;
}

.sia-rememberMe-checkbox > div .sia-checkbox,
.sia-rememberMe-checkbox input:checked ~ .sia-checkbox {
    background-color: #fff;
}

.sia-rememberMe-checkbox > div .sia-checkbox-container:hover input ~ .sia-checkbox {
    background-color: #eee;
}

.sia-rememberMe-checkbox p {
    color: white;
    margin: 0px;
}

.sia-rememberMe-checkbox .sia-checkbox:after {
    border-color: #000;
}