* {
    margin: 0;
    padding: 0;
}

.main-body {
    height: 100vh;
    display: flex;
    flex-flow: column nowrap;
}
.mcq-area-content {
    flex: 1;
    display: flex;
    flex-flow: column nowrap;
}
.main-body .mcq-area .navbar {
    flex-wrap: nowrap !important;
}
.main-body .mcq-area .navbar-collapse {
    display: flex;
}
.main-body .mcq-area .exam-header-area .exam-logo-box img {
    height: 3.125rem;
}
.main-body .mcq-area .exam-header-area h3 {
    font-size: 1.125rem;
}
.main-body .mcq-area .exam-header-area .flat-title-section {
    display: flex;
    justify-content: center;
    height: 100%;
    align-items: center;
}
.main-body .mcq-area .exam-header-area .mcq-top-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
}
.main-body .mcq-area .exam-header-area .mcq-top-header.student-info span {
    text-align: right;
}
.main-body .mcq-area .exam-header-area .mcq-top-header.student-info .student-img img {
    height: 3.125rem;
    width: 3.125rem;
    border-radius: 50%;
    margin-left: 0.625rem;
}
.mcq-area-content {
    flex: 1;
    display: flex;
    flex-flow: column nowrap;
}
.question-modal-header {
    background-color: #fff;
    margin-top: 10%;
}
.question-modal-header .modal-header-title {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 1%;
    border-right: 1px solid #dee2e6;
}
.question-modal-header .col-3:last-child .modal-header-title {
    border-right: none;
}
.question-modal-header .modal-header-title h4 {
    font-size: 0.875rem;
}
.question-modal-header .modal-header-title span,
.question-modal-header .modal-header-title h4 {
    margin-bottom: 0;
    font-size: 1rem;
    margin-right: 10px;
}
.question-modal-body {
    flex: 1;
    position: relative;
}
.question-modal-body #questions,
.question-modal-body #p2 {
    position: absolute;
    width: 75%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.question-modal-body .table-bordered {
    border: transparent;
}
.question-modal-body table {
    background-color: #fff;
}
.question-modal-body .table-bordered h5 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 0;
}
.question-modal-body .table-bordered th {
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 14px 15px;
    background: #fff;
}
.question-modal-body table td {
    padding: 2%;
    text-align: center;
    cursor: pointer;
    background: #fff;
    border: none;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: 600;
}
.question-modal-body table td:hover {
    background: black;
    color: #ff9800;
}
.question-modal-footer {
    background: #fff;
    padding: 9px 0;
}
.question-modal-footer .submit-section {
    padding: 0;
    margin: 0;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.question-modal-footer .submit-section h5 {
    font-size: 18px;
    font-weight: normal;
}
.submit-mcq-btn {
    background-color: #ff9800;
    color: #ffffff;
}

.question-modal-body #questions {
    background-color: #fff;
    height: 19rem;
    overflow: hidden;
    padding: 0.625rem;
}
.question-modal-body #questions .form-horizontal,
.question-modal-body #questions .que-option-box {
    height: 18.75rem;
    overflow-y: scroll;
    padding: 20px 20px;
}
.question-modal-body #questions .ans-option-box {
    overflow-y: auto;
}
.que-option-box::-webkit-scrollbar-track,
.form-horizontal::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #f5f5f5;
}
.que-option-box::-webkit-scrollbar,
.form-horizontal::-webkit-scrollbar {
    width: 6px;
    background-color: #f5f5f5;
}
.que-option-box::-webkit-scrollbar-thumb,
.form-horizontal::-webkit-scrollbar-thumb {
    background-color: #000000;
}
.mcq-area .form-horizontal .radio label {
    min-height: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: normal;
    display: block;
    cursor: pointer;
    border: 1px solid #000;
    min-height: 42px;
    position: relative;
    padding: 10px;
}
.mcq-area input[type="checkbox"],
.mcq-area input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
    width: 28px;
    height: 24px;
    margin-right: 15px;
}
.mcq-area input[type="radio"] {
    position: absolute;
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
}
.mcq-area .option-input:checked:before {
    text-align: center;
    color: #fff !important;
    background: #000;
    border-radius: 50%;
}
.mcq-area .option-input:before {
    background: #fff;
    border-radius: 50%;
    border: 1px solid rgb(0, 0, 0);
}
.mcq-area .option-input:checked:after {
    z-index: 100;
}
.mcq-area .form-horizontal .radio label .answers-options-1:before {
    content: "1";
    padding: 7px 11px 7px 11px;
    font-size: 14px;
    cursor: pointer;
    position: relative;
}
.mcq-area .form-horizontal .radio label .answers-options-2:before {
    content: "2";
    padding: 7px 11px 7px 11px;
    font-size: 14px;
    cursor: pointer;
}
.mcq-area .form-horizontal .radio label .answers-options-3:before {
    content: "3";
    padding: 7px 11px 7px 11px;
    font-size: 14px;
    cursor: pointer;
}
.mcq-area .form-horizontal .radio label .answers-options-4:before {
    content: "4";
    padding: 7px 11px 7px 11px;
    font-size: 14px;
    cursor: pointer;
}
.mcq-area label span {
    position: relative;
    /* top: 5px; */
    padding-left: 50px;
    display: block;
}
.ans-option-box img,
.mcq-area .question-box img {
    height: 9rem;
    width: 100%;
    object-fit: contain;
}
.audio-question audio,
.ans-option-box audio {
    width: 100%;
}
.question-box {
    font-size: 16px;
    font-weight: 500;
    line-height: 32px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-right: 20px;
    position: relative;
}
.next-prev-box {
    background-color: #fff;
    padding: 9px 0;
    margin-top: 2.5rem;
}
.btn-right-side {
    padding: 0 30px;
    text-align: center;
}
.mcq-area a,
.mcq-area button {
    border: none;
    padding: 10px 20px;
    font-size: 17px;
    border-radius: 4px;
    font-weight: 800;
    cursor: pointer;
    outline: none;
}
.mcq-area .total-que,
.mcq-area .previous,
.mcq-area .next {
    background-color: #ff9800;
    color: #ffffff;
}
.mcq-area .previous {
    float: left;
}
.mcq-area .next {
    float: right;
}
.submit-note {
    text-align: center;
    width: 100%;
}
.submit-note button {
    margin-top: 1.25rem;
}
.result-table {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.result-table table {
    background-color: #fff;
}
audio::-webkit-media-controls-timeline {
    visibility:hidden;
}
@media only screen and (orientation: portrait) {
    #container {
        height: 100vw;
        -webkit-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
    }
}

@media screen and (max-device-width: 767px) and (orientation: portrait) {
    .main-body .mcq-area .exam-header-area .exam-logo-box img {
        height: 2.5rem;
    }
    .main-body .mcq-area .exam-header-area h3 {
        font-size: 1rem;
    }
    .main-body .mcq-area .exam-header-area .mcq-top-header.student-info .student-img img {
        height: 2.5rem;
        width: 2.5rem;
    }
    .mcq-area {
        width: 100vh !important;
        overflow: scroll !important;
    }
}

@media only screen and (min-width: 900px) and (max-width: 999px) {
    .mcq-area {
        width: 100vh;
    }
    .question-modal-header {
        margin-top: 5%;
    }
    .question-modal-body {
        height: 100px;
        margin-top: 1%;
        position: relative;
    }
    .question-modal-body #questions {
        height: auto;
        margin-top: 2%;
    }
    .question-modal-body table td {
        padding: 3%;
        font-size: 1rem;
    }
    .question-modal-footer {
        padding: 0.8%;
    }
    .submit-mcq-btn {
        background-color: #ff9800;
        color: #ffffff;
        padding: 0.2% 0.5%;
    }
    .question-modal-body #questions .ans-option-box {
        overflow-y: auto;
    }
    .ans-option-box::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        background-color: #f5f5f5;
    }

    .ans-option-box::-webkit-scrollbar {
        width: 6px;
        background-color: #f5f5f5;
    }

    .ans-option-box::-webkit-scrollbar-thumb {
        background-color: #000000;
    }
    .mcq-area a,
    .mcq-area button {
        padding: 0.3125rem 0.9375rem;
        font-size: 0.875rem;
    }
    .question-modal-body #questions .form-horizontal,
    .question-modal-body #questions .que-option-box {
        overflow-y: auto;
        height: 18rem;
        padding: 0;
    }
    .mcq-area label span {
        font-size: 1rem;
    }
    .question-modal-body #questions .que-option-box {
        margin-right: 1.25rem;
        overflow-y: scroll;
    }
    .question-modal-body #questions .form-horizontal {
        padding: 0 1.25rem 0 0;
    }
    .que-option-box h4,
    .main-body .mcq-area .exam-header-area h3,
    .question-modal-header .modal-header-title span,
    .question-modal-header .modal-header-title h4,
    .question-modal-body .table-bordered h5 {
        font-size: 1rem;
    }
    .result-table table tr {
        font-size: 0.8125rem;
    }
    .result-table table tr td,
    .result-table table tr th {
        padding: 2%;
    }

    .question-modal-body #questions,
    .question-modal-body #p2 {
        width: 85%;
    }
}

@media only screen and (min-width: 800px) and (max-width: 899px) {
    .mcq-area {
        width: 100vh;
    }
    .question-modal-header {
        margin-top: 5%;
    }
    .question-modal-body {
        height: 100px;
        margin-top: 1%;
        position: relative;
    }
    .question-modal-body #questions {
        height: auto;
        margin-top: 2%;
    }
    .question-modal-body table td {
        padding: 3%;
        font-size: 1rem;
    }
    .question-modal-footer {
        padding: 0.8%;
    }
    .submit-mcq-btn {
        background-color: #ff9800;
        color: #ffffff;
        padding: 0.2% 0.5%;
    }
    .question-modal-body #questions .ans-option-box {
        overflow-y: auto;
    }
    .ans-option-box::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        background-color: #f5f5f5;
    }

    .ans-option-box::-webkit-scrollbar {
        width: 6px;
        background-color: #f5f5f5;
    }

    .ans-option-box::-webkit-scrollbar-thumb {
        background-color: #000000;
    }
    .mcq-area a,
    .mcq-area button {
        padding: 0.3125rem 0.9375rem;
        font-size: 0.875rem;
    }
    .question-modal-body #questions .form-horizontal,
    .question-modal-body #questions .que-option-box {
        overflow-y: auto;
        height: 18rem;
        padding: 0;
    }
    .mcq-area label span {
        font-size: 1rem;
    }
    .question-modal-body #questions .que-option-box {
        margin-right: 1.25rem;
        overflow-y: scroll;
    }
    .question-modal-body #questions .form-horizontal {
        padding: 0 1.25rem 0 0;
    }
    .que-option-box h4,
    .main-body .mcq-area .exam-header-area h3,
    .question-modal-header .modal-header-title span,
    .question-modal-header .modal-header-title h4,
    .question-modal-body .table-bordered h5 {
        font-size: 1rem;
    }
    .result-table table tr {
        font-size: 0.8125rem;
    }
    .result-table table tr td,
    .result-table table tr th {
        padding: 2%;
    }

    .question-modal-body #questions,
    .question-modal-body #p2 {
        width: 85%;
    }
}

@media only screen and (min-width: 700px) and (max-width: 799px) {
    .mcq-area {
        width: 100vh;
    }
    .question-modal-header {
        margin-top: 5%;
    }
    .question-modal-body {
        height: 100px;
        margin-top: 1%;
        position: relative;
    }
    .question-modal-body #questions {
        height: auto;
        margin-top: 2%;
    }
    .question-modal-body table td {
        padding: 3%;
        font-size: 1rem;
    }
    .question-modal-footer {
        padding: 0.8%;
    }
    .submit-mcq-btn {
        background-color: #ff9800;
        color: #ffffff;
        padding: 0.2% 0.5%;
    }
    .question-modal-body #questions .ans-option-box {
        overflow-y: auto;
    }
    .ans-option-box::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        background-color: #f5f5f5;
    }

    .ans-option-box::-webkit-scrollbar {
        width: 6px;
        background-color: #f5f5f5;
    }

    .ans-option-box::-webkit-scrollbar-thumb {
        background-color: #000000;
    }
    .mcq-area a,
    .mcq-area button {
        padding: 0.3125rem 0.9375rem;
        font-size: 0.875rem;
    }
    .question-modal-body #questions .form-horizontal,
    .question-modal-body #questions .que-option-box {
        overflow-y: auto;
        height: 18rem;
        padding: 0;
    }
    .mcq-area label span {
        font-size: 1rem;
    }
    .question-modal-body #questions .que-option-box {
        margin-right: 1.25rem;
        overflow-y: scroll;
    }
    .question-modal-body #questions .form-horizontal {
        padding: 0 1.25rem 0 0;
    }
    .que-option-box h4,
    .main-body .mcq-area .exam-header-area h3,
    .question-modal-header .modal-header-title span,
    .question-modal-header .modal-header-title h4,
    .question-modal-body .table-bordered h5 {
        font-size: 1rem;
    }
    .result-table table tr {
        font-size: 0.8125rem;
    }
    .result-table table tr td,
    .result-table table tr th {
        padding: 2%;
    }

    .question-modal-body #questions,
    .question-modal-body #p2 {
        width: 85%;
    }
}

@media only screen and (min-width: 600px) and (max-width: 699px) {
    .question-modal-header {
        margin-top: 5%;
    }
    .question-modal-body {
        height: 100px;
        margin-top: 1%;
        position: relative;
    }
    .question-modal-body #questions {
        height: auto;
        margin-top: 2%;
    }
    .question-modal-body table td {
        padding: 1%;
        font-size: 0.8125rem;
    }
    .question-modal-footer {
        padding: 0.8%;
    }
    .submit-mcq-btn {
        background-color: #ff9800;
        color: #ffffff;
        padding: 0.2% 0.5%;
    }
    .question-modal-body #questions .ans-option-box {
        overflow-y: auto;
    }
    .ans-option-box::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        background-color: #f5f5f5;
    }

    .ans-option-box::-webkit-scrollbar {
        width: 6px;
        background-color: #f5f5f5;
    }

    .ans-option-box::-webkit-scrollbar-thumb {
        background-color: #000000;
    }
    .mcq-area a,
    .mcq-area button {
        padding: 0.3125rem 0.9375rem;
        font-size: 0.875rem;
    }
    .question-modal-body #questions .form-horizontal,
    .question-modal-body #questions .que-option-box {
        overflow-y: auto;
        height: 11rem;
        padding: 0;
    }
    .question-modal-body #questions .que-option-box {
        margin-right: 1.25rem;
        overflow-y: scroll;
    }
    .question-modal-body #questions .form-horizontal {
        padding: 0 1.25rem 0 0;
    }
    .que-option-box h4,
    .main-body .mcq-area .exam-header-area h3,
    .question-modal-header .modal-header-title span,
    .question-modal-header .modal-header-title h4,
    .question-modal-body .table-bordered h5 {
        font-size: 13px;
    }
    .result-table table tr {
        font-size: 0.8125rem;
    }
    .result-table table tr td,
    .result-table table tr th {
        padding: 2%;
    }

    .question-modal-body #questions,
    .question-modal-body #p2 {
        width: 85%;
    }
}

@media only screen and (min-width: 500px) and (max-width: 599px) {
    .question-modal-header {
        margin-top: 4%;
    }
    .question-modal-body {
        height: 100px;
        margin-top: 1%;
        position: relative;
    }
    .question-modal-body #questions {
        height: auto;
        margin-top: 2%;
    }
    .question-modal-body table td {
        padding: 1%;
        font-size: 0.8125rem;
    }
    .question-modal-footer {
        padding: 0.8%;
    }
    .submit-mcq-btn {
        background-color: #ff9800;
        color: #ffffff;
        padding: 0.2% 0.5%;
    }
    .question-modal-body #questions .ans-option-box {
        overflow-y: auto;
    }
    .ans-option-box::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        background-color: #f5f5f5;
    }

    .ans-option-box::-webkit-scrollbar {
        width: 6px;
        background-color: #f5f5f5;
    }

    .ans-option-box::-webkit-scrollbar-thumb {
        background-color: #000000;
    }
    .mcq-area a,
    .mcq-area button {
        padding: 0.3125rem 0.9375rem;
        font-size: 0.875rem;
    }
    .question-modal-body #questions .form-horizontal,
    .question-modal-body #questions .que-option-box {
        overflow-y: auto;
        height: 11rem;
        padding: 0;
    }
    .question-modal-body #questions .que-option-box {
        margin-right: 1.25rem;
        overflow-y: scroll;
    }
    .question-modal-body #questions .form-horizontal {
        padding: 0 1.25rem 0 0;
    }
    .que-option-box h4,
    .main-body .mcq-area .exam-header-area h3,
    .question-modal-header .modal-header-title span,
    .question-modal-header .modal-header-title h4,
    .question-modal-body .table-bordered h5 {
        font-size: 13px;
    }
    .result-table table tr {
        font-size: 0.8125rem;
    }
    .result-table table tr td,
    .result-table table tr th {
        padding: 2%;
    }

    .question-modal-body #questions,
    .question-modal-body #p2 {
        width: 85%;
    }
}

@media only screen and (min-width: 400px) and (max-width: 499px) {
    .question-modal-header {
        margin-top: 2%;
    }
    .question-modal-body {
        height: 100px;
        margin-top: 1%;
        position: relative;
    }
    .question-modal-body #questions {
        height: auto;
        margin-top: 2%;
    }
    .question-modal-body table td {
        padding: 1%;
        font-size: 0.8125rem;
    }
    .question-modal-footer {
        padding: 0.8%;
    }
    .submit-mcq-btn {
        background-color: #ff9800;
        color: #ffffff;
        padding: 0.2% 0.5%;
    }
    .question-modal-body #questions .ans-option-box {
        overflow-y: auto;
    }
    .ans-option-box::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        background-color: #f5f5f5;
    }

    .ans-option-box::-webkit-scrollbar {
        width: 6px;
        background-color: #f5f5f5;
    }

    .ans-option-box::-webkit-scrollbar-thumb {
        background-color: #000000;
    }
    .mcq-area a,
    .mcq-area button {
        padding: 0.3125rem 0.9375rem;
        font-size: 0.875rem;
    }
    .question-modal-body #questions .form-horizontal,
    .question-modal-body #questions .que-option-box {
        overflow-y: auto;
        height: 11rem;
        padding: 0;
    }
    .question-modal-body #questions .que-option-box {
        margin-right: 1.25rem;
        overflow-y: scroll;
    }
    .question-modal-body #questions .form-horizontal {
        padding: 0 1.25rem 0 0;
    }
    .que-option-box h4,
    .main-body .mcq-area .exam-header-area h3,
    .question-modal-header .modal-header-title span,
    .question-modal-header .modal-header-title h4,
    .question-modal-body .table-bordered h5 {
        font-size: 13px;
    }
    .result-table table tr {
        font-size: 0.8125rem;
    }
    .result-table table tr td,
    .result-table table tr th {
        padding: 2%;
    }

    .question-modal-body #questions,
    .question-modal-body #p2 {
        width: 85%;
    }
}

@media only screen and (min-width: 350px) and (max-width: 399px) {
    .question-modal-header {
        margin-top: 2%;
    }
    .question-modal-body {
        height: 100px;
        margin-top: 1%;
        position: relative;
    }
    .question-modal-body #questions {
        height: auto;
        margin-top: 2%;
    }
    .question-modal-body table td {
        padding: 1%;
        font-size: 0.8125rem;
    }
    .question-modal-footer {
        padding: 0.8%;
    }
    .submit-mcq-btn {
        background-color: #ff9800;
        color: #ffffff;
        padding: 0.2% 0.5%;
    }
    .question-modal-body #questions .ans-option-box {
        overflow-y: auto;
    }
    .ans-option-box::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        background-color: #f5f5f5;
    }

    .ans-option-box::-webkit-scrollbar {
        width: 6px;
        background-color: #f5f5f5;
    }

    .ans-option-box::-webkit-scrollbar-thumb {
        background-color: #000000;
    }
    .mcq-area a,
    .mcq-area button {
        padding: 0.3125rem 0.9375rem;
        font-size: 0.875rem;
    }
    .question-modal-body #questions .form-horizontal,
    .question-modal-body #questions .que-option-box {
        overflow-y: auto;
        height: 11rem;
        padding: 0;
    }
    .question-modal-body #questions .que-option-box {
        margin-right: 1.25rem;
        overflow-y: scroll;
    }
    .question-modal-body #questions .form-horizontal {
        padding: 0 1.25rem 0 0;
    }
    .que-option-box h4,
    .main-body .mcq-area .exam-header-area h3,
    .question-modal-header .modal-header-title span,
    .question-modal-header .modal-header-title h4,
    .question-modal-body .table-bordered h5 {
        font-size: 13px;
    }
    .result-table table tr {
        font-size: 0.8125rem;
    }
    .result-table table tr td,
    .result-table table tr th {
        padding: 2%;
    }

    .question-modal-body #questions,
    .question-modal-body #p2 {
        width: 85%;
    }
}


@media only screen and (orientation:landscape) {
    #container {
        height           : 100vh;
        -webkit-transform: rotate(0deg);
        -moz-transform   : rotate(0deg);
        -o-transform     : rotate(0deg);
        -ms-transform    : rotate(0deg);
        transform        : rotate(0deg);
    }
}

@media screen and (orientation:landscape) and (min-device-width: 800px) and (max-device-width: 899px) {
    .main-body .mcq-area .exam-header-area .exam-logo-box img { 
        height:2rem;
    }
    .mcq-area {
        width: 100vw;
        /*display:none;*/
    }
    .question-modal-body table td {
        padding: 1%;
        font-size: .875rem;
    }
    .que-option-box h4, .main-body .mcq-area .exam-header-area h3, .question-modal-header .modal-header-title span, .question-modal-header .modal-header-title h4, .question-modal-body .table-bordered h5 {
        font-size: .875rem;
    }
    .question-modal-body .table-bordered th {
        padding: .625rem .9375rem;
    }
    .question-modal-body #questions {
        height: 100%;
    }
    .question-modal-body #questions .form-horizontal, .question-modal-body #questions .que-option-box {
        height: 10rem;
    }
    .main-body .mcq-area .exam-header-area .mcq-top-header.student-info .student-img img {
        height: 2rem;
        width: 2rem;
    }

}
