body {
    counter-reset: notesection;
}

.content_area {
    background-color: transparent;
}

.page_wrapper {
    color: rgb(86, 86, 86);
    position: relative;
    background-color: transparent;
}

.page_wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}


.page_wrapper::before {
    content: "";
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* -webkit-background-size: cover; */
    
    z-index: -1;
}

.page_wrapper::before {
    background: none;
    background: url('../../../../../img/bg.svg'), linear-gradient(to top, #505285 0%, #585e92 12%, #65689f 25%, #7474b0 37%, #7e7ebb 50%, #8389c7 62%, #9795d4 75%, #a2a1dc 87%, #b5aee4 100%);
    background-size: cover;
}


.content_layer {
    background-color: rgb(255, 255, 255);
    border-radius: 1.5rem;
    padding: 3%;
}





















.question,
.option_radio {
    font-size: .95rem;
}



.question_number .current {
    font-size: 1.75rem;
    padding-right: .5rem;
}

.question_number .total {
    color: rgb(200, 200, 200);
}

.question_number .divider {
    width: 40px;
    height: 3px;
    margin: .25rem 0;
    background-color: #f19f4b;
}

.test_content {
    padding: 5% 0;
}


.test_prgress_style {
    height: 5px;
    background-color: rgb(0, 0, 0, .1);
}

.test_prgress_style .progress-bar {
    background-color: #f3bb82;
}



.optionbox {
    border: 1px solid rgb(130, 130, 130);
    color: rgb(80 80 80);
    border-radius: .25rem;
    padding: 2.5% 6%;
}

.optionbox.ans {
    background-color: rgba(128, 92, 174, 0.1);
    color: rgb(73, 44, 110);
}

.optionbox.disable {
    border-color: rgb(180, 180, 180);
    color: rgb(180, 180, 180);
}

.option_note:before {
    counter-increment: notesection;
    content: counter(notesection, upper-alpha) ". ";
}


.option_radio {
    border: 2px solid rgb(200, 200, 200);
    background-color: rgb(255, 255, 255);
    border-radius: 1rem;
    width: 100%;
    padding: .9rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
}


input[type="radio"]:checked~.option_radio {
    border-color: #6e3aa9;
    background-color: #6e3aa9;
    color: rgb(255, 255, 255);
}


.option_radio:hover {
    border-color: transparent;
    background-color: #6b3f9c;
    color: rgb(255, 255, 255);
    transition: .3s;
}

input[type="radio"]:checked~.option_radio {
    border-color: transparent;
    background-color: #5b328b;
    color: rgb(255, 255, 255);
    transition: .3s;
}

.carousel_ctrl_btn {
    position: static;
    display: block;
    margin: 0 6px;
    white-space: nowrap;
    width: auto;
}

.counter {
    background-color: rgb(255, 255, 255);
    text-align: right;
}

.time_block {
    font-size: 1.75rem;
    font-weight: 900;
    color: #6b3f9c;
}


.carousel_ctrl_btn {
    pointer-events: none;
    opacity: .5;
}

.carousel_ctrl_btn.active {
    pointer-events: auto;
    opacity: 1;
    cursor: pointer;
}

#submit_btn {
    display: none;
}

#next_btn {
    display: none;
}


.attachment_present {
    position: absolute;
    object-fit: contain;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}


/*timer2*/
.timer {
    font-family: sans-serif;
    display: inline-flex;
    align-items: center;
    border-radius: 30px;
    background: white;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -1.5%;
}

.timer__part {
    font-weight: bold;
}

.timer__btn {
    width: 36px;
    height: 36px;
    margin-left: 12px;
    border-radius: 50%;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #5d5d5d;
    display: none;
}

.timer__btn--start {
    background: #8208e6;
}

.timer__btn--stop {
    /* background: #c321c1; */
    border: 1px solid #8208e6;
    color: #8208e6;
    background-color: transparent;
}

/*successs error*/
.success_mark{
    color: rgb(111 171 111);
}
.error_mark{
    color: rgb(226 135 113);
}
.result_mark{
    font-size: 5rem;
    margin-bottom: .25rem;
}
.result_word{
    font-size: 1.625rem;
    font-weight: bold;
    color: #000;
}
.get_point{
    min-width: 30%;
    width: auto;
    padding: .5rem 2rem;
    font-weight: 500;
    font-size: 1.25rem;
    text-align: center;
    border: 1px #353c75 solid;
    border: 1px #f7ddc0 solid;
    background-color: floralwhite;

}
.line{
    height: 2px;
    background-color: rgb(199, 199, 199);
    margin: 8.5% auto 2rem;
}
.current_total{
    font-weight: 700;
    font-size: 1.25rem;
}




/*20230411 add end*/
@media (min-width: 576px) {
    .radio_label_tf {
        font-size: 1.25rem;
    }

    .radio_label_select {
        padding: .9rem;
    }

    .timer__btn {
        width: 45px;
        height: 45px;
        font-size: 1.15rem;
    }

    .timer__part {
        font-size: 1.5rem;
    }

    .content_layer {
        padding: 3% 5% 5% 5%;
    }

    .test_content {
        padding: 1rem 0 10%;
    }

    .done_rate_default_h {
        height: 25px;
    }

    .question,
    .option_radio {
        font-size: 1rem;
    }
    .result_mark{
        font-size: 8rem;
    }
    .result_word{
        font-size: 2rem;
    }
    .current_total{
        font-size: 1.5rem;
    }
    .line{
        margin: 6% auto 2rem;
    }
}


@media(min-width: 992px) {
    .question {
        font-size: 1.05rem;
    }

    .optionbox {
        font-size: 1.05rem;
    }
}

@media(min-width: 1200px) {
    .content_layer {
        padding: 2% 5% 5% 5%;
    }
}


/*waiting_AT*/
.wait {
    font-size: 1.25rem;
}

.loader {
    position: relative;
    border-style: solid;
    box-sizing: border-box;
    border-width: 40px 60px 30px 60px;
    border-color: #353c75#c5c9ef#c5c9ef#9197ce;
    animation: envFloating 1s ease-in infinite alternate;
    display: block;
    width: 100px;
    margin: 15% auto 20%;
}

.loader:after {
    content: "";
    position: absolute;
    right: 62px;
    top: -40px;
    height: 70px;
    width: 50px;
    background-image:
        linear-gradient(#bbbbbb 45px, transparent 0),
        linear-gradient(#bbbbbb 45px, transparent 0),
        linear-gradient(#bbbbbb 45px, transparent 0);
    background-repeat: no-repeat;
    background-size: 30px 4px;
    background-position: 0px 11px, 8px 35px, 0px 60px;
    animation: envDropping 0.75s linear infinite;
}

@keyframes envFloating {
    0% {
        transform: translate(-2px, -5px)
    }

    100% {
        transform: translate(0, 5px)
    }
}

@keyframes envDropping {
    0% {
        background-position: 100px 11px, 115px 35px, 105px 60px;
        opacity: 1;
    }

    50% {
        background-position: 0px 11px, 20px 35px, 5px 60px;
    }

    60% {
        background-position: -30px 11px, 0px 35px, -10px 60px;
    }

    75%,
    100% {
        background-position: -30px 11px, -30px 35px, -30px 60px;
        opacity: 0;
    }
}

@media(min-width: 576px) {
    .loader {
        width: 150px;
        border-width: 60px 90px 45px 90px;
        margin: 8% auto 10%;
    }

    .loader:after {
        right: 93px;
        height: 105px;
        width: 75px;
    }
}
