/* checkboxc */

/* @import url("https://fonts.googleapis.com/css?family=Montserrat"); */

.newCheckbox input,
.oldCheckbox input {
    cursor: pointer;
}

.newCheckbox .fieldset {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px
}

.newCheckboxlabel {
    font-family: "Montserrat", sans-serif;
    font-size: 1.2rem;
    cursor: pointer;
    display: block;
    margin: 1em;
}

.newCheckbox label>input {
    display: none;
}

.newCheckbox label span {
    color: #6a759b;
}

.newCheckbox label i {
    display: inline-block;
    width: 36px;
    height: 20px;
    border-radius: 20px;
    vertical-align: middle;
    transition: 0.25s 0.09s;
    position: relative;
    background: #F2F4F7;
}

.newCheckbox label i:after {
    content: " ";
    display: block;
    width: 16px;
    height: 16px;
    top: 2px;
    left: 2px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    box-shadow: 1px 2px 4px 0 rgba(0, 0, 0, 0.4);
    transition: 0.15s;
}



.newCheckbox label>input:checked+i {
    background: var(--Primary-600, #7F56D9);

}

.newCheckbox label>input:checked+i+span {
    color: #29316b;
}

.newCheckbox label>input:checked+i:after {
    transform: translateX(16px);
}









.oldCheckbox .fieldset {
    border: none;
    display: flex;
    flex-direction: column;
    margin: 20px;
    align-items: flex-start;
    min-width: 400px;
}

.oldCheckbox label {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.oldCheckbox .aside {
    color: #ccc;
}

.oldCheckbox input {
    position: relative !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 8px;
    box-sizing: content-box;
    overflow: hidden;
}

.oldCheckbox input[type="checkbox"] {
    background-color: #F9F5FF;
    min-width: fit-content;
}

.oldCheckbox input:before {
    content: '';
    display: block;
    box-sizing: content-box;
    width: 16px !important;
    height: 16px !important;
    border: 1px solid #ccc;
    transition: 0.2s border-color ease !important;
}

.oldCheckbox input[type="checkbox"]:before {
    width: 19px !important;
    height: 19px !important;
}

.oldCheckbox input:checked:before {
    border-color: #7F56D9;
    transition: 0.5s border-color ease;
}

.oldCheckbox input:disabled:before {
    border-color: #ccc;
    background-color: #ccc;
}

.oldCheckbox input:after {
    content: '';
    display: block;
    position: absolute;
    box-sizing: content-box;
    top: 50%;
    left: 50%;
    transform-origin: 50% 50%;
    background-color: #7F56D9;
    width: 16px;
    height: 16px;
    border-radius: 100vh;
    transform: translate(-50%, -50%) scale(0);
}


.oldCheckbox input[type="radio"]:after {
    width: 10px !important;
    height: 10px !important;
}

.oldCheckbox input[type="radio"]:before {
    border-radius: 100vh;
}

.oldCheckbox input[type="radio"]:after {
    width: 16px;
    height: 16px;
    border-radius: 100vh;
    transform: translate(-50%, -50%) scale(0);
}

.oldCheckbox input[type="radio"]:checked:after {
    -webkit-animation: toggleOnRadio 0.2s ease forwards;
    animation: toggleOnRadio 0.2s ease forwards;
}

.oldCheckbox input[type="radio"]:checked:before {
    background-color: transparent !important;
}

.oldCheckbox input[type="checkbox"]:before {
    border-radius: 4px;
}

.oldCheckbox input[type="checkbox"]:after {
    width: 9.6px;
    height: 16px;
    border-radius: 0;
    transform: translate(-50%, -85%) scale(0) rotate(45deg);
    background-color: transparent;
    box-shadow: 4px 4px 0px 0px #7F56D9;
}

.oldCheckbox input[type="checkbox"]:checked:after {
    -webkit-animation: toggleOnCheckbox 0.2s ease forwards;
    animation: toggleOnCheckbox 0.2s ease forwards;
}

.oldCheckbox input[type="checkbox"].filled:before {
    border-radius: 4px;
    transition: 0.2s border-color ease, 0.2s background-color ease;
}

.oldCheckbox input[type="checkbox"].filled:checked:not(:disabled):before {
    background-color: #7F56D9;
}

.oldCheckbox input[type="checkbox"].filled:not(:disabled):after {
    box-shadow: 4px 4px 0px 0px white;
}

@-webkit-keyframes toggleOnCheckbox {
    0% {
        opacity: 0;
        transform: translate(-50%, -85%) scale(0) rotate(45deg);
    }

    70% {
        opacity: 1;
        transform: translate(-50%, -85%) scale(0.9) rotate(45deg);
    }

    100% {
        transform: translate(-50%, -85%) scale(0.8) rotate(45deg);
    }
}

@keyframes toggleOnCheckbox {
    0% {
        opacity: 0;
        transform: translate(-50%, -85%) scale(0) rotate(45deg);
    }

    70% {
        opacity: 1;
        transform: translate(-50%, -85%) scale(0.9) rotate(45deg);
    }

    100% {
        transform: translate(-50%, -85%) scale(0.8) rotate(45deg);
    }
}

@-webkit-keyframes toggleOnRadio {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }

    70% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.9);
    }

    100% {
        transform: translate(-50%, -50%) scale(0.8);
    }
}

@keyframes toggleOnRadio {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0);
    }

    70% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.9);
    }

    100% {
        transform: translate(-50%, -50%) scale(0.8);
    }

}

.t1 {
    margin-bottom: 10px !important;
}

/* checkboxc */
