﻿.tick_checkbox {
    display: inline-block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    width: 100%;
    font-size: 14px;
    font-family: 'NotoSansTC';
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

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

/* Create a custom checkbox */
.tick_checkbox_checkmark {
    position: absolute;
    top: calc(50% - 9px);
    left: 0;
    border-radius: 2px;
    height: 18px;
    width: 18px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.tick_checkbox:hover input ~ .tick_checkbox_checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.tick_checkbox input:checked ~ .tick_checkbox_checkmark {
    background-color: #6f4ce9;
}

/* Create the checkbox_checkmark/indicator (hidden when not checked) */
.tick_checkbox_checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkbox_checkmark when checked */
.tick_checkbox input:checked ~ .tick_checkbox_checkmark:after {
    display: block;
}

/* Style the checkbox_checkmark/indicator */
.tick_checkbox .tick_checkbox_checkmark:after {
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}






.square_checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'NotoSansTC';
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default square_checkbox */
.square_checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create a custom square_checkbox */
.square_checkbox_checkmark {
    position: absolute;
    top: calc(50% - 9px);
    left: 0;
    height: 18px;
    border-radius: 2px;
    width: 18px;
    background-color: #fff;
    border: 2px solid #d6d6d6;
}

/* On mouse-over, add a grey background color */
.square_checkbox:hover input ~ .square_checkbox_checkmark {
    background-color: #fff;
    border: 2px solid #6f4ce9;
}

/* When the square_checkbox is checked, add a blue background */
.square_checkbox input:checked ~ .square_checkbox_checkmark {
    border: 2px solid #6f4ce9;
}

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

/* Show the square_checkbox_checkmark when checked */
.square_checkbox input:checked ~ .square_checkbox_checkmark:after {
    display: block;
}

/* Style the square_checkbox_checkmark/indicator */
.square_checkbox .square_checkbox_checkmark:after {
    left: 2px;
    top: 2px;
    width: 10px;
    height: 10px;
    border-radius: 1px;
    background: #6f4ce9;
}