/*!
 * bootstrap-radiobox v3.0.1 (https://github.com/bantikyan/bootstrap-radiobox)
 * Copyright 2018 Hovhannes Bantikyan.
 * Licensed under MIT (https://github.com/bantikyan/bootstrap-radiobox/blob/master/LICENSE)
 */

[class*="check-box"] {
    min-width: 20px;
    min-height: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-left: 0px;
}

[class*="check-box"] > label {
    min-width: 20px;
    min-height: 20px;
    line-height: 20px;
    display: inline-block;
    position: relative;
    vertical-align: top;
    margin-left: 28px;
    font-weight: normal;
    cursor: pointer;
}

[class*="check-box"] > input:first-child {
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 0;
    margin: 0;
    z-index: 0;
    cursor: pointer;
}

[class*="check-box"] > input:first-child:disabled {
    cursor: default;
}

[class*="check-box"] > input:first-child + label::before,
[class*="check-box"] > input:first-child + input[type="hidden"] + label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 20px;
    height: 20px;
    margin-left: -28px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

[class*="check-box"] > input:first-child:checked + label::after,
[class*="check-box"] > input:first-child:checked + input[type="hidden"] + label::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 4px;
    left: -21px;
    width: 6px;
    height: 10px;
    border: 3px solid #fff;
    border-left: none;
    border-top: none;
    border-radius: 0%;
    transform: rotate(45deg);
}

[class*="check-box"] > input:first-child:indeterminate + label::after,
[class*="check-box"] > input:first-child:indeterminate + input[type="hidden"] + label::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 8.5px;
    left: -23px;
    width: 10px;
    height: 0;
    border: 1.5px solid #fff;
    border-radius: 0%;
    transform: rotate(0deg);
}

[class*="check-box"] > label:empty,
[class*="check-box"] > input:first-child + label:empty::before,
[class*="check-box"] > input:first-child + input[type="hidden"] + label:empty::before {
    margin-left: 0;
}

[class*="check-box"] > input:first-child:checked + label:empty::after,
[class*="check-box"] > input:first-child:checked + input[type="hidden"] + label:empty::after {
    left: 7px;
}

[class*="check-box"] > input:first-child:indeterminate + label:empty::after,
[class*="check-box"] > input:first-child:indeterminate + input[type="hidden"] + label:empty::after {
    left: 5px;
}

[class*="check-box"] > input[type="radio"]:first-child + label::before,
[class*="check-box"] > input[type="radio"]:first-child + input[type="hidden"] + label::before {
    border-radius: 4px;
}

[class*="check-box"] > input[type="checkbox"]:first-child + label::before,
[class*="check-box"] > input[type="checkbox"]:first-child + input[type="hidden"] + label::before {
    border-radius: 4px;
}

[class*="check-box"] > input:first-child:not(:checked):not(:disabled):hover + label::before,
[class*="check-box"] > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
    border-width: 1px;
}

[class*="check-box"] > input:first-child:not(:checked):not(:disabled):focus + label::before,
[class*="check-box"] > input:first-child:not(:checked):not(:disabled):focus + input[type="hidden"] + label::before {
    border-width: 1px;
}

[class*="check-box"] > input:first-child:disabled + label,
[class*="check-box"] > input:first-child:disabled + input[type="hidden"] + label,
[class*="check-box"] > input:first-child:disabled + label::before,
[class*="check-box"] > input:first-child:disabled + input[type="hidden"] + label::before {
    background-color: #eeeeee;
    border-radius: 4px;
    pointer-events: none;
    cursor: default;
    box-shadow: none;
    opacity: 1;
}

.check-box > input:first-child:not(:checked):not(:disabled):hover + label::before,
.check-box > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
    border-color: #7f82ff;
}

.check-box > input:first-child:not(:checked):not(:disabled):focus + label::before,
.check-box > input:first-child:not(:checked):not(:disabled):focus + input[type="hidden"] + label::before {
    border-color: #7f82ff;
}

.check-box > input:first-child:checked + label::before,
.check-box > input:first-child:checked + input[type="hidden"] + label::before {
    background-color: #ffffff;
    border-color: #ced4da;
}

.check-box > input:first-child:checked + label::after,
.check-box > input:first-child:checked + input[type="hidden"] + label::after {
    border-bottom-color: #212529;
    border-right-color: #212529;
}

[class*="radio-box"] {
    min-width: 20px;
    min-height: 20px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-left: 0px;
}

[class*="radio-box"] > label {
    min-width: 20px;
    min-height: 20px;
    line-height: 20px;
    display: inline-block;
    position: relative;
    vertical-align: top;
    margin-bottom: 0;
    margin-left: 28px;
    font-weight: normal;
    cursor: pointer;
}

[class*="radio-box"] > input:first-child {
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 0;
    margin: 0;
    z-index: 0;
    cursor: pointer;
}

[class*="radio-box"] > input:first-child:disabled {
    cursor: default;
}

[class*="radio-box"] > input:first-child + label::before,
[class*="radio-box"] > input:first-child + input[type="hidden"] + label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 20px;
    height: 20px;
    margin-left: -28px;
    border: 1px solid #ced4da;
    border-radius: 50%;
}

[class*="radio-box"] > input:first-child:checked + label::after,
[class*="radio-box"] > input:first-child:checked + input[type="hidden"] + label::after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 7.25px;
    left: -20.65px;
    width: 0;
    height: 0;
    border: solid 3px #fff;
    border-radius: 50%;
    transform: rotate(0deg);
}

[class*="radio-box"] > label:empty,
[class*="radio-box"] > input:first-child + label:empty::before,
[class*="radio-box"] > input:first-child + input[type="hidden"] + label:empty::before {
    margin-left: 0;
}

[class*="radio-box"] > input:first-child:checked + label:empty::after,
[class*="radio-box"] > input:first-child:checked + input[type="hidden"] + label:empty::after {
    left: 7px;
}

[class*="radio-box"] > input[type="radio"]:first-child + label::before,
[class*="radio-box"] > input[type="radio"]:first-child + input[type="hidden"] + label::before {
    border-radius: 50%;
}

[class*="radio-box"] > input[type="checkbox"]:first-child + label::before,
[class*="radio-box"] > input[type="checkbox"]:first-child + input[type="hidden"] + label::before {
    border-radius: 50%;
}

[class*="radio-box"] > input:first-child:not(:checked):not(:disabled):hover + label::before,
[class*="radio-box"] > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
    border-width: 1px;
}

[class*="radio-box"] > input:first-child:not(:checked):not(:disabled):focus + label::before,
[class*="radio-box"] > input:first-child:not(:checked):not(:disabled):focus + input[type="hidden"] + label::before {
    border-width: 1px;
}

[class*="radio-box"] > input:first-child:disabled + label,
[class*="radio-box"] > input:first-child:disabled + input[type="hidden"] + label,
[class*="radio-box"] > input:first-child:disabled + label::before,
[class*="radio-box"] > input:first-child:disabled + input[type="hidden"] + label::before {
    background-color: #eeeeee;
    border-radius: 4px;
    pointer-events: none;
    cursor: default;
    box-shadow: none;
    opacity: 1;
}

.radio-box > input:first-child:not(:checked):not(:disabled):hover + label::before,
.radio-box > input:first-child:not(:checked):not(:disabled):hover + input[type="hidden"] + label::before {
    border-color: #7f82ff;
}

.radio-box > input:first-child:not(:checked):not(:disabled):focus + label::before,
.radio-box > input:first-child:not(:checked):not(:disabled):focus + input[type="hidden"] + label::before {
    border-color: #7f82ff;
}

.radio-box > input:first-child:checked + label::before,
.radio-box > input:first-child:checked + input[type="hidden"] + label::before {
    background-color: #ffffff;
    border-color: #ced4da;
}

.radio-box > input:first-child:checked + label::after,
.radio-box > input:first-child:checked + input[type="hidden"] + label::after {
    border-color: #212529;
}
