input:not([type="submit"]), textarea, select {
    border: 1px solid #004e9b;
}

input:not([type="submit"])[disabled], textarea[disabled], select[disabled] {
    opacity: .2;
}

input:not([type="submit"]):focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 2px #004e9b;
}

input[type="checkbox"] + label, input[type="radio"] + label {
    position: relative;
    text-indent: 2rem;
}

input[type="checkbox"][disabled] + label, input[type="radio"][disabled] + label {
    cursor: not-allowed;
}

input[type="checkbox"][disabled] + label:before, input[type="radio"][disabled] + label:before {
    background: currentColor;
    opacity: .1;
}

input[type="checkbox"] + label:before, input[type="radio"] + label:before {
    content: "";
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 1px solid #004e9b;
    border-radius: .25rem;
    transition: all 0.3s ease;
    will-change: all;
}

input[type="radio"] + label:before {
    border-radius: 100%;
}

input[type="checkbox"] + label:after, input[type="radio"] + label:after {
    content: "";
    position: absolute;
    left: 0;
    display: none
}

input[type="checkbox"] + label:after {
    content: "×";
    top: -10px;
    left: -30px;
    width: 24px;
    height: 24px;
    font-size: 2rem;
    color: #fff;
}

input[type="radio"] + label:after {
    top: 7px;
    left: 7px;
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 100%;
}

input[type="checkbox"]:focus + label:before, input[type="radio"]:focus + label:before {
    box-shadow: 0 0 0 2px #004e9b;
}
input[type="checkbox"]:checked + label:before, input[type="radio"]:checked + label:before {
    background: #e01c2f;
    border-color: transparent
}

input[type="checkbox"]:checked + label:after, input[type="radio"]:checked + label:after {
    display: block
}

.ghost-check {
    width: 24px;
    height: 24px;
}

input[type="checkbox"].ghost-check + label:before {
    left: 5px;
}

input[type="checkbox"].ghost-check + label:after {
    left: -25px;
}

.main-question .ck-editor.ck.ck-reset {
    width: 70%;
}

@media screen and (max-width: 639px) {
    .main-question .ck-editor.ck.ck-reset {
        width: 100%;
    }
}
