/* ==========================================================================
   Variables
========================================================================== */
/* Infinite rotate */
@-webkit-keyframes infinite-rotate {
    to {
        transform: rotate(360deg); } }
@keyframes infinite-rotate {
    to {
        transform: rotate(360deg); } }

.form-check-input {
    display: none; }

/* Create a custom checkbox and radio button */
.form-check-label {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 10px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    font-weight: 500;
    font-size: 14px; }
@media screen and (min-width: 768px) {
    .form-check-label {
        font-size: 16px; } }

.checkmark,
.radiomark {
    position: relative;
    height: 24px;
    width: 24px;
    min-width: 24px;
    background-color: #ffffff;
    border: 2px solid #d1d1d1;
    margin-right: 12px; }
.checkmark[dir="rtl"],
[dir="rtl"] .checkmark,
.radiomark[dir="rtl"],
[dir="rtl"]
.radiomark {
    margin-right: 0;
    margin-left: 12px; }
.checkmark:after,
.radiomark:after {
    content: "";
    position: absolute;
    display: none; }
.checkmark--flush,
.radiomark--flush {
    margin-right: 0; }
.checkmark--flush[dir="rtl"],
[dir="rtl"] .checkmark--flush,
.radiomark--flush[dir="rtl"],
[dir="rtl"]
.radiomark--flush {
    margin-left: 0; }
.checkmark--desktop,
.radiomark--desktop {
    display: none; }
@media screen and (min-width: 768px) {
    .checkmark--desktop,
    .radiomark--desktop {
        display: block; } }
.checkmark--mobile,
.radiomark--mobile {
    display: block; }
@media screen and (min-width: 768px) {
    .checkmark--mobile,
    .radiomark--mobile {
        display: none; } }

.checkmark {
    border-radius: 2px;
    margin-right: 16px; }
.checkmark[dir="rtl"],
[dir="rtl"] .checkmark {
    margin-right: 0;
    margin-left: 16px; }
.checkmark:after {
    border: solid #000000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    width: 7px;
    height: 15px;
    left: 7px;
    top: 1px; }
@media screen and (min-width: 768px) {
    .checkmark:after {
        top: 3px;
        width: 6px;
        height: 11px; } }

.radiomark {
    border-radius: 100%; }
.radiomark:after {
    left: 2px;
    top: 2px;
    width: 16px;
    min-width: 16px;
    height: 16px;
    border-radius: 100%;
    background: #9d57b2; }

/* On mouse-over, add a grey background color */
.form-check-label:hover input ~ .checkmark {
    background-color: #eeeeee; }

/* When the checkbox is checked, add a blue background */
.form-check-label input:checked ~ .checkmark {
    background-color: #ffffff; }

/* Show the checkmark when checked */
.form-check-label input:checked ~ .checkmark:after {
    display: block; }

.form-check-label input:checked ~ .radiomark {
    border-color: #a25eb5; }
.form-check-label input:checked ~ .radiomark:after {
    display: block; }

.form-check-disabled .form-check-label {
    cursor: not-allowed;
    color: #84909b; }
.form-check-disabled .form-check-label:hover input ~ .checkmark,
.form-check-disabled .form-check-label:hover input ~ .radiomark {
    background-color: unset; }
.form-check-disabled .form-check-label input:checked ~ .radiomark {
    border-color: #c1c7cd; }
.form-check-disabled .form-check-label input:checked ~ .radiomark:after {
    background-color: #c1c7cd; }
.form-check-disabled .form-check-label input:checked ~ .checkmark {
    background-color: #c1c7cd !important; }
.form-check-disabled .form-check-label input:checked ~ .checkmark:after {
    border-color: #ffffff; }

.form-check-purple .checkmark {
    background-color: #9d57b2;
    border-color: #9d57b2; }

.form-check-purple .form-check-label:hover input ~ .checkmark {
    background-color: #9d57b2; }

.form-check-purple .form-check-label input:checked ~ .checkmark {
    background-color: #9d57b2; }

.form-check-purple .form-check-label .checkmark:after {
    border: solid #ffffff;
    border-width: 0 2px 2px 0; }

.form-check-purple.form-check-disabled:hover input ~ .checkmark,
.form-check-purple.form-check-disabled:hover input ~ .radiomark {
    background-color: unset; }

.form-check-purple.form-check-disabled .radiomark,
.form-check-purple.form-check-disabled .checkmark {
    background-color: #ffffff;
    border: 2px solid #d1d1d1; }

.form-check-purple-onaction .form-check-label .checkmark:after {
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    left: 9px;
    top: 3px; }
@media screen and (min-width: 768px) {
    .form-check-purple-onaction .form-check-label .checkmark:after {
        left: 9px;
        top: 5px; } }

.form-check-purple-onaction .checkmark {
    background-color: #ffffff;
    border: 2px solid #d1d1d1; }

.form-check-purple-onaction input:checked ~ .checkmark {
    background-color: #9d57b2;
    border: none; }

.form-check-purple-onaction .radiomark {
    border-color: #9d57b2; }
.form-check-purple-onaction .radiomark:after {
    background-color: #9d57b2; }

.form-check--txt-lg .form-check-label {
    font-size: 16px; }

.form-check.form-check--large .form-check-label {
    font-size: 16px; }
@media screen and (min-width: 768px) {
    .form-check.form-check--large .form-check-label {
        font-size: 18px; } }
.form-check.form-check--large .form-check-label .checkmark {
    width: 30px;
    height: 30px;
    margin-right: 12px; }
.form-check.form-check--large .form-check-label .checkmark[dir="rtl"],
[dir="rtl"] .form-check.form-check--large .form-check-label .checkmark {
    margin-right: 0;
    margin-left: 12px; }
.form-check.form-check--large .form-check-label .checkmark:after {
    left: 9px;
    top: 3px;
    width: 8px;
    height: 16px; }
.form-check.form-check--large .form-check-label .radiomark {
    width: 30px;
    min-width: 30px;
    height: 30px;
    margin-right: 12px; }
.form-check.form-check--large .form-check-label .radiomark[dir="rtl"],
[dir="rtl"] .form-check.form-check--large .form-check-label .radiomark {
    margin-right: 0;
    margin-left: 12px; }
.form-check.form-check--large .form-check-label .radiomark:after {
    width: 22px;
    min-width: 22px;
    height: 22px; }

@media screen and (max-width: 767px) {
    .form-check.form-check--sm-centred .form-check-label {
        justify-content: center; } }

.form-check-label--flush {
    margin: 0; }

@media screen and (max-width: 767px) {
    .form-check.form-check--sm-mob {
        font-size: 14px;
        line-height: 22px; } }

.form-check-blue input:checked ~ .checkmark {
    background-color: #354657 !important;
    border: none;
}
