.quiz-sec {
    padding-bottom: 30px;
    min-height: 35vh
}

.quiz-sec #register {
    color: #0c9447
}

.quiz-sec .quiz-wrn {
    text-align: center;
    background-color: #ff8181;
    color: #fff;
    padding: 10px;
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 15px
}

.srch-bar .cat-title {
    color: #fff;
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    margin-top: 0;
}

.srch-bar {
    background-color: #194294;
}

.wrn-txt {
    font-size: 18px;
    text-align: center;
    margin-bottom: 30px
}

.quiz-sec p input {
    padding: 10px;
    width: 100%;
    font-size: 17px;
    border: 1px solid #aaaaaa;
    border-radius: 4px;
    -webkit-appearance: none
}

.quiz-sec .tab input:focus {
    border: 1px solid #0c9447 !important;
    outline: none
}

.quiz-sec input[type='radio'] {
    display: none;
    background-color: #0c9447;
    color: #fff;
    padding: 10px;
}

.answerList {
    display: flex;
    align-items: center;
}

.answerList.t-and-f li {
    margin: 0 5px;
}

.answerList i {
    background-color: #ddd;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    transition: .1s ease-in-out;
    font-size: 18px
}

.answerList.t-and-f li i {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
}

.answerList i.fa-check:hover {
    background-color: #0c9447;
    color: #fff;
}

.answerList i.fa-times:hover {
    background-color: #ff8181;
    color: #fff;
}

.img-pop {
    margin: auto;
    display: inline-block
}

.quiz-sec input[type='radio']:checked ~ i {
    background-color: #0c9447;
    color: #fff;
    padding: 10px;
}

.quiz-sec input[type='radio']:checked ~ i.fa-times {
    background-color: #ff8181;
}

.questions {
    font-size: 22px;
}

.quiz-sec ul {
    list-style: none;
    padding: 10px 0
}

.quiz-sec input.invalid {
    border: 1px solid #e03a0666
}


.quiz-sec button {
    background-color: #0c9447;
    color: #ffffff;
    border: none;
    font-size: 17px;
    cursor: pointer;
    padding: 5px 20px;
    border-radius: 4px
}

.quiz-sec button:hover {
    opacity: 0.8
}

.quiz-sec button:focus {
    outline: none !important
}

.quiz-sec #prevBtn {
    background-color: #bbbbbb;
    float: left
}

.quiz-sec .all-steps {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
    display: inline-flex;
    justify-content: center
}

.quiz-sec .step {
    height: 20px;
    width: 20px;
    margin: 0 2px;
    background-color: #0c9447;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    color: #fff;
    opacity: 0.5
}

.quiz-sec .step.active {
    opacity: 1
}

.quiz-sec .step.finish {
    color: #fff;
    background: #0c9447;
    opacity: 1
}

.quiz-sec .all-steps {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px
}

.quiz-sec .thanks-message {
    display: none
}

.quiz-sec .test-results h4 {
    padding: 30px 50px 5px;
    font-weight: bold
}

.question-bg {
    background: #0c944744;
    padding: 10px 0;
    margin: 30px 0
}

.quiz-sec label.form-check-label {
    margin-left: 20px;
    font-size: 18px;
    margin-bottom: 15px
}

.quiz-sec .wrong-answer {
    background-color: #ff6363;
    padding: 5px 5px 0;
}

.quiz-sec .correct-answer {
    background-color: rgba(23, 237, 12, 0.476);
    padding: 5px 5px 0;
}

.countdown-timer {
    text-align: center;
    font-size: 25px;
    position: fixed;
    top: 12rem;
    right: auto;
    left: 0;
    border-radius: 0 5px 5px 0;
    background-color: #0c9447;
    color: #fff;
    padding: 5px 20px;
    transition: .3s ease-in-out;
    z-index: 1
}

.form-check-input {
    border-color: #333 !important;
    border-width: 2px !important;
    width: 15px;
    height: 15px
}

.form-check-input:checked {
    border: none !important
}

.rsc-cont {
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    width: 50%;
    margin: auto;
}

.rsc-title {
    font-size: 18px;
    font-weight: bold
}

.rsc-file {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.rsc-file:not(:last-of-type) {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
    padding-bottom: 10px
}

.rsc-file p {
    font-size: 16px;
    margin: 0
}

.rsc-file button {
    font-size: 14px;
    padding: 5px 20px
}

.rsc-file p:before {
    content: '-';
    font-weight: bold;
    color: #0c9447;
    margin: 0 5px
}


.questionsBox .img-cont {
    display: none
}

.questionsBox .img-cont img {
    max-height: 150px;
    cursor: pointer;
    padding: 15px;
}

.questionsBox .img-cont.checked:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #000000cc;
    transition: .3s ease-in-out;
    z-index: -1
}

.questionsBox .img-cont.checked {
    z-index: 9999;
    max-height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadein .3s ease-in-out;

}

.questionsBox .img-cont.checked img {
    max-height: 100vh;
    max-width: 100vw
}

.tab .close-btn {
    position: fixed;
    top: 3rem;
    right: 3rem;
    z-index: 99999;
    font-size: 30px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    display: none
}

@media screen and (max-width: 765px) {
    .countdown {
        top: 8rem
    }

    .answerList:not(.t-and-f) {
        display: grid;
        -moz-column-count: 1;
        -moz-column-gap: 20px;
        -webkit-column-count: 1;
        -webkit-column-gap: 20px;
        column-count: 1;
        column-gap: 20px;
    }

    .rsc-cont {
        width: 90%;
    }
}

@property --p {
    syntax: '<number>';
    inherits: true;
    initial-value: 0;
}

.pie {
    --p: 20;
    --b: 22px;
    --c: darkred;
    --w: 150px;

    width: var(--w);
    aspect-ratio: 1;
    position: relative;
    display: inline-grid;
    margin: 5px;
    place-content: center;
    font-size: 25px;
    font-weight: bold;
    font-family: sans-serif;
}

.pie:before,
.pie:after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.pie:before {
    inset: 0;
    background:
        radial-gradient(farthest-side, var(--c) 98%, #0000) top/var(--b) var(--b) no-repeat,
        conic-gradient(var(--c) calc(var(--p)*1%), #0000 0);
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(99% - var(--b)), #000 calc(100% - var(--b)));
    mask: radial-gradient(farthest-side, #0000 calc(99% - var(--b)), #000 calc(100% - var(--b)));
}

.pie:after {
    inset: calc(50% - var(--b)/2);
    background: var(--c);
    transform: rotate(calc(var(--p)*3.6deg)) translateY(calc(50% - var(--w)/2));
}

.animate {
    animation: p 1s .5s both;
}

.no-round:before {
    background-size: 0 0, auto;
}

.no-round:after {
    content: none;
}

@keyframes p {
    from {
        --p: 0
    }
}

.quiz-pie {
    width: 50%;
    margin: auto;
    text-align: right;
    display: flex;
    justify-content: center;
    align-items: center
}

.quiz-pie h5 span {
    color: red;
    font-size: 150%
}

.quiz-pie h5:not(:last-of-type) span {
    color: green
}
