* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;

}
.fade {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
  }
  
.fade.show {
    opacity: 1;
    visibility: visible;
}
body, html {
    width: 100%;
    height: 100%;
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
    
    background: #282828;
    color: #4c4c4c;
    margin: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;

    outline: none !important;
    
}
body.langar {
    font-family: 'Arial', Helvetica, sans-serif !important;
    font-weight: normal; 
    font-style: normal;
    /* word-spacing: 10px; */
}

.preloader {
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.loader {
    width: 40px;
    aspect-ratio: 1;
    --c: linear-gradient(#fff 0 0);
    --r1: radial-gradient(farthest-side at bottom,#fff 93%,#0000);
    --r2: radial-gradient(farthest-side at top   ,#fff 93%,#0000);
    background: 
      var(--c) ,var(--r1),var(--r2),
      var(--c) ,var(--r1),var(--r2),
      var(--c) ,var(--r1),var(--r2);
    background-repeat: no-repeat;
    animation: l2 1s infinite alternate;
  }
  @keyframes l2 {
    0%,25% {
      background-size: 8px 0,8px 4px,8px 4px,8px 0,8px 4px,8px 4px,8px 0,8px 4px,8px 4px;
      background-position: 0 50%,0 calc(50% - 2px),0 calc(50% + 2px),50% 50%,50% calc(50% - 2px),50% calc(50% + 2px),100% 50%,100% calc(50% - 2px),100% calc(50% + 2px);
   }
   50% {
      background-size: 8px 100%,8px 4px,8px 4px,8px 0,8px 4px,8px 4px,8px 0,8px 4px,8px 4px;
      background-position: 0 50%,0 calc(0% - 2px),0 calc(100% + 2px),50% 50%,50% calc(50% - 2px),50% calc(50% + 2px),100% 50%,100% calc(50% - 2px),100% calc(50% + 2px);
   }
   75% {
      background-size: 8px 100%,8px 4px,8px 4px,8px 100%,8px 4px,8px 4px,8px 0,8px 4px,8px 4px;
      background-position: 0 50%,0 calc(0% - 2px),0 calc(100% + 2px),50% 50%,50% calc(0% - 2px),50% calc(100% + 2px),100% 50%,100% calc(50% - 2px),100% calc(50% + 2px);
   }
   95%,100% {
      background-size: 8px 100%,8px 4px, 8px 4px,8px 100%,8px 4px,8px 4px,8px 100%,8px 4px,8px 4px;
      background-position: 0 50%,0 calc(0% - 2px),0 calc(100% + 2px),50% 50%,50% calc(0% - 2px),50% calc(100% + 2px),100% 50%,100% calc(0% - 2px),100% calc(100% + 2px);
   }
  }

#main-container {
    width: 1920px;
    height: 1344px;
    display: flex;
    flex-direction: column;
    position: absolute;
    background: #FFFFFF;
}



#header {
    height: 143px;
    background: url('../images/Header_En.png') no-repeat left center;
    background-size: cover;
    display: flex;
    align-items: center;
    padding-left: 450px;
    color: #FFFFFF;
}

#main{
    flex-grow: 1;
    display: flex;
    width: 100%;
    background-image: url('../images/Intro_BG.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
}

#footer {
    height: 110px;
    background: url('../images/Footer_En.png') no-repeat left center;
    background-size: cover;
    position: relative;
}

#footer #continue-btn {
    position: absolute;
    right: 20px;
    top: 16px;

    background: url(../images/questions/buttons/continue_btn_en_normal.png) no-repeat;
    width: 170px;
    height: 52px;

    font-size: 24px;
    padding: 0px 40px 0 10px;

    transition: background 0.1s ease;
}

#footer #continue-btn:hover {
    background: url(../images/questions/buttons/continue_btn_en_hover.png) no-repeat;
}

#footer #continue-btn:disabled,
#footer #continue-btn[disabled]{
    background: url(../images/questions/buttons/continue_btn_en_disabled.png) no-repeat;
    color: #4e8dbc;
}



#review-btn{
    background: url(../images/questions/buttons/submit_btn_normal.png) no-repeat;
    width: 146px;
    height: 53px;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    margin: 30px 0 50px 0;
    color: #0e3d89;
    font-size: 28px;
    transition: background 0.1s ease;
}

body.langar #review-btn{
    background: url(../images/questions/buttons/submit_btn_normal.png) no-repeat;
    width: 146px;
    height: 53px;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
    margin: 30px 0 60px 0;
    color: #0e3d89;
    font-size: 32px;
    transition: background 0.1s ease;
    
}

#review-btn:hover {
    background: url(../images/questions/buttons/submit_btn_hover.png) no-repeat;
    color: #ffffff;
}

#review-btn:disabled,
#review-btn[disabled]{
    background: url(../images/questions/buttons/submit_btn_disabled.png) no-repeat;
}


body.langar #review-btn:hover {
    background: url(../images/questions/buttons/submit_btn_hover.png) no-repeat;
    color: #ffffff;
}

body.langar #review-btn:disabled,
body.langar #review-btn[disabled]{
    background: url(../images/questions/buttons/submit_btn_disabled.png) no-repeat;
}





body.langar #footer #continue-btn {
    position: absolute;
    right: auto;
    left: 40px;
    top: 16px;

    background: url(../images/questions/buttons/continue_btn_ar_normal.png) no-repeat;
    width: 170px;
    height: 52px;

    font-size: 30px;
    padding: 0px 10px 0 40px;
}

body.langar #footer #continue-btn:hover {
    background: url(../images/questions/buttons/continue_btn_ar_hover.png) no-repeat;
}

body.langar #footer #continue-btn:disabled,
body.langar #footer #continue-btn[disabled]{
    background: url(../images/questions/buttons/continue_btn_ar_disabled.png) no-repeat;
}




#header #app-title{
    display: none;
    font-weight: 100;
    font-size: 52px;
}



body.langar #header {
    background: url('../images/Header_Ar.png') no-repeat right center;
    padding-left: 0px;
    padding-right: 460px;
}

body.langar #footer {
    background: url('../images/Footer_ar.png') no-repeat right center;
}

body.langar #header #app-title{
    font-size: 60px;
}

#content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 253px);

    
}



#intro-page button, #submit-btn, #continue-btn {
    padding: 15px 50px;
    /* margin: 10px; */
    font-size: 30px;
    cursor: pointer;
    border: none;
    border-radius: 40px;
    background-color: #063a86;
    color: white;
    transition: background 0.1s ease;
}

#intro-page button:hover, #submit-btn:hover, #continue-btn:hover {
    background-color: #c6845c;
}
#intro-page button {
    display: none;

    margin: 0 30px;
}

#quiz-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* justify-content: center; */
    border-radius: 10px;
    text-align: left;
    width: 100%;
    margin-left: 40px;
}

body.langar #quiz-container {
    margin-left: 0px;
    margin-right: 40px;
    text-align: right;
}

.quiz-content-box {
    width: 1223px;
    height: 800px;
    background: url('../images/questions/Base_800.png') no-repeat center center;
    background-size: contain;
}

body.langar .quiz-content-box {
    background: url('../images/questions/Base_800_ar.png') no-repeat center center;
}

body.langar .quiz-content-box {
    direction: rtl;
    text-align: right;
}

.quiz-content-inner {
    position: relative;
    margin: 40px 60px;
    height: 734px;
}

#feedback-box {
    margin-top: 20px;
    padding: 40px 50px;
    border-radius: 5px;
    font-weight: normal;
    /* display: none; */
    text-align: left;
    font-size: 32px;
}
body.langar #feedback-box {
    text-align: right;
    font-size: 36px;
}

.feedback-box {
    width: 631px;
    height: 834px;
    background: url('../images/questions/Feedback_800.png') no-repeat center center;
    background-size: contain;
}

.feedback-box #feedback-label {
    color: #ffffff;
    font-size: 28px;
}
body.langar .feedback-box #feedback-label
{
    font-size: 36px;
}
.feedback-box #feedback-box-title {
    margin: 40px 0px 0px 0px;

    display: flex;
    flex-direction: row;
    gap: 20px;
    font-weight: bold;
}
.feedback-box .fb-title-icon {
    display: block;
    width: 42px;
    height: 42px;
}
.feedback-box .fb-title-icon.correct {
    background: url(../images/questions/buttons/feedback_correct.png) no-repeat;
}
.feedback-box .fb-title-icon.incorrect {
    background: url(../images/questions/buttons/feedback_incorrect.png) no-repeat;
}

.feedback-box #feedback-box-text {
    margin: 20px 0px 0px 0px;
    font-size: 24px;
}
body.langar .feedback-box #feedback-box-text {
    font-size: 28px;
}

.correct {
    color: #285114;
}

.incorrect {
    color: #8f0000;
}

.hidden {
    display: none;
}
#review-result {
    display: flex;
    width: 100%;
    height: 40px;
    background-color: #8f0000;
    position: absolute;
    bottom: 0px;
    color: #FFFFFF;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

#review-result-text{
    display: inline-block;
}

#review-result-close {
	background: none;
    width: 27px;
    height: 27px;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
    position: absolute;
    right: 2px;
}

#intro-content-box {
    margin-top: 215px;
    position: absolute;
    text-align: center;
    width: 1024px;
}

#intro-content-box h1, h2 {
    font-size: 96px;
    color: #0b76b2;
    font-weight: normal;
}

#intro-content-box h2 {
    
    font-size: 128px;
}

#intro-content-box p {
    color: #0b76b2;

    font-size: 32px;
    font-weight: normal;
   
}
#intro-content-box #launch-title-ar {
    font-family: 'Arial', Helvetica, sans-serif !important;
    font-weight: normal; 
    font-style: normal;
    direction: rtl;
}
#intro-content-box #launch-inst-en {
    margin-top: 80px;
}

#intro-content-box #launch-inst-ar {
    font-family: 'Arial', Helvetica, sans-serif !important;
    font-weight: normal; 
    font-style: normal;
    margin-top: 40px;
    font-size: 48px;
    direction: rtl;
}

#intro-content-box .buttons {
    margin-top: 56px;
}

#intro-content-box .buttons button{
    width: 220px;
}
#intro-content-box #language-english{
    font-family: 'Open Sans', sans-serif;
    font-weight: normal;
}

#intro-content-box #language-arabic{
    font-family: 'Arial', Helvetica, sans-serif !important;
    font-weight: normal; 
    font-style: normal;
    font-size: 34px;
    direction: rtl;
}

#intro-content-box h1, #intro-content-box h2, #intro-content-box p, #intro-content-box .buttons {
    display:none;
}

#intro-text-en, #start-btn, #intro-inst-en {
    display:none;
}


#start-content-box {
    margin-top: 330px;
    position: absolute;
    width: 1000px;
    text-align: left;
    padding-left: 180px;
}

body.langar #start-content-box {
    margin-top: 380px;
    position: absolute;
    direction: rtl;
    text-align: right;
    width: 1200px;
    padding-left:0px;
    padding-right: 180px;
    right: 0px;
}



#start-content-box p {
    font-size: 32px;
    margin-bottom:20px;
    line-height: 1.4em;
}

body.langar #start-content-box p {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.6em;
}

#start-content-box div {
    font-size: 26px;
    color: #dc0012;
}

body.langar #start-content-box div {
    font-size: 28px;
}

#start-content-box button{
    background: url(../images/questions/buttons/submit_btn_normal.png) no-repeat;
    width: 146px;
    height: 53px;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    margin: 30px 0 50px 0;
    color: #0e3d89;
    font-size: 28px;
    transition: background 0.1s ease;
}

body.langar #start-content-box button{
    background: url(../images/questions/buttons/submit_btn_normal.png) no-repeat;
    width: 146px;
    height: 53px;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
    margin: 30px 0 60px 0;
    color: #0e3d89;
    font-size: 32px;
    
}

#start-content-box button:hover {
    background: url(../images/questions/buttons/submit_btn_hover.png) no-repeat;
    color: #ffffff;
}

#start-content-box button:disabled,
#start-content-box button[disabled]{
    background: url(../images/questions/buttons/submit_btn_disabled.png) no-repeat;
}



.quiz-question-number {
    display: inline-block;
    position: absolute;
    font-size: 32px;
    top: 230px;
    left: 60px;
}

body.langar .quiz-question-number {
    display: inline-block;
    position: absolute;
    font-size: 36px;
    top: 230px;
    right: 60px;
}


.question-text {
    font-size: 24px;
    font-weight: bold;
}
body.langar .question-text {
    font-size: 32px;
    margin-right: 20px;
}

.multiple-select-inst {
    color: #db0012;
    font-size: 24px;
    margin: 20px 20px 0px 0px;
    display: none;
}

body.langar .multiple-select-inst {
    font-size: 32px;
}

.options-container {
    position: relative;
    display: block;
    margin-top: 30px;
}

.options-container input {
    display: none;
}

.options-container label {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;

    font-size: 24px;
    margin-bottom: 15px;
    cursor: pointer;

}
body.langar .options-container label {
    font-size: 28px;

}

.options-container input[type="radio"] + .optText {
    background-image: url('../images/questions/buttons/radio_btn_normal.png');
    background-repeat: no-repeat;
    padding-left: 40px;
    padding-right: 0px;
}

.options-container input[type="radio"]:checked + .optText {
    background-image: url('../images/questions/buttons/radio_btn_selected.png');
    background-repeat: no-repeat;
}

.options-container input[type="checkbox"] + .optText {
    background-image: url('../images/questions/buttons/checkbox_normal.png');
    background-repeat: no-repeat;
    padding-left: 50px;
    padding-right: 0px;
}

.options-container input[type="checkbox"]:checked + .optText {
    background-image: url('../images/questions/buttons/checkbox_selected.png');
    background-repeat: no-repeat;
}

body.langar .options-container input[type="radio"] + .optText {
    background-position: right;
    padding-left: 0px;
    padding-right: 40px;
}

body.langar .options-container input[type="radio"]:checked + .optText {
    background-position: right;
}

body.langar .options-container input[type="checkbox"] + .optText {
    background-position: right top;
    padding-left: 0px;
    padding-right: 50px;
}

body.langar .options-container input[type="checkbox"]:checked + .optText {
    background-position: right top;
}

.options-container label:has(input:disabled) {
    cursor: default;
}

.options-container .radiolbl {
    margin-right: 10px;
}

body.langar .options-container .radiolbl {
    margin-left: 10px;
    font-size: 28px;
}

.options-container span {
    display: inline-block;
    white-space: nowrap;
    
}
.options-container .optText {
    margin-left: 5px;
    min-height: 34px;
    flex-grow: 1;
    white-space: normal;

    display: flex;
    align-items: flex-start;
}
.options-container .lblmark {
    background: none;
    width: 120px;
    max-width: 26px;
    height: 40px;
}
.options-container .lblmark.correct {
    background: url(../images/questions/buttons/mark_tick.png) no-repeat;
    background-position-y: 3px;
}
.options-container .lblmark.incorrect {
    background: url(../images/questions/buttons/mark_cross.png) no-repeat;
    background-position-y: 3px;
}

#submit-btn{
    background: url(../images/questions/buttons/submit_btn_normal.png) no-repeat;
    width: 146px;
    height: 53px;
    border: none;
    padding: 0;
    cursor: pointer;
    margin: 10px 14px 0 15px;
    color: #0e3d89;
    font-size: 28px;
}

#submit-btn:hover {
    background: url(../images/questions/buttons/submit_btn_hover.png) no-repeat;
    color: #ffffff;
}

#submit-btn:disabled,
#submit-btn[disabled]{
    background: url(../images/questions/buttons/submit_btn_disabled.png) no-repeat;
    color: #0e3d89;
    opacity: 0.4;
    cursor: default;
}


/* Feedback Screen */
#result-page {
    color: #4c4c4c;
}
#result-page-box {
    position: absolute;
    left: 180px;
    top: 475px;
    width: 900px;
}
body.langar #result-page-box {
    left: auto;
    right: 180px;
}
#result-page #resultTitle {
    color: #4c4c4c;
    font-size: 50px;
}
#result-page #scoreMsg {
    font-size: 30px;
    margin-top: 30px;
}
#result-page #reviewMsg {
    font-size: 30px;
    margin-top: 30px;
}
#result-page #review-btn {
    margin-top: 40px;
}







body.langar #result-page #resultTitle {
    color: #4c4c4c;
    font-size: 60px;
}
body.langar #result-page #scoreMsg {
    font-size: 50px;
    margin-top: 30px;
}
body.langar #result-page #reviewMsg {
    font-size: 50px;
    margin-top: 30px;
}
