@font-face {
    font-family: cocon;
    src: url('cocon_ar.ttf');
}

@font-face {
    font-family: cocon_en;
    src: url('cocon.ttf');
}

@font-face {
    font-family: math;
    src: url('u2000.ttf') format("truetype");
}

body {
    overflow: hidden;
    text-align: center;
    /*background-color: #000;*/
    background-color: transparent;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: cocon;
    font-size: 25px;
}

.en body {
    font-family: math,cocon_en;
}

#main, #init {
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #fff;
    overflow: hidden;
    display: none;
}

#init {
    background: url(../img/loading.gif) no-repeat center center #fff;
    display: block;
}

#progress {
    position: absolute;
    width: 0px;
    bottom: 0;
    left: 0;
    z-index: 100;
}

#loading {
    left: 10px;
    position: absolute;
    top: 10px;
    z-index: 999;
}

.dim_btn {
    cursor: default;
    pointer-events: none;
    opacity: 0.7;
}

#title {
    display: inline-block;
    height: 60px;
    line-height: 60px;
    min-width: 290px;
    font-size: 30px;
    position: relative;
    background-color: #eb8c38;
    color: #FFF;
    padding: 0 30px;
    border-radius: 15px;
    text-align: center;
    top: 13px;
    max-width: none;
    z-index: 5;
    white-space:nowrap;
}

#quiz {
    position: absolute;
}

.q_header {
    position: absolute;
    z-index: 1;
}

#navigation_bar {
    position: absolute;
    width: 100%;
    bottom: 6px;
}

#main_img {
    position: absolute;
}

    #main_img img {
        display: none;
    }

.main_quiz {
    position: absolute;
}

.next, .prev {
    position: absolute;
    cursor: pointer;
    display: none;
}

.conclusion {
    position: absolute;
    display: none;
}

input[type="radio"] {
    cursor: pointer;
    margin: 0 10px;
}

input[type="checkbox"] {
    cursor: pointer;
    margin: 0 10px;
}

.checked {
    border: 1px solid #28921f;
    border-radius: 10px;
    width: 445px;
}

.en .checked {
    width: 370px;
}

.btn_container {
    position: absolute;
}

.check, .show {
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.q_container {
    position: absolute;
}

.quiz_content {
    display: none;
}

.quiz_content_active {
    display: block;
}

#intro_img {
    position: absolute;
    width: 450px;
    height: 450px;
    top: 23%;
    left: 0;
    right: 0;
    margin: auto;
}

@media (min-height: 780px) {
    #main, #init {
        height: 770px;
        width: 1160px;
        margin-left: -580px;
        margin-top: -385px;
    }

    #progress {
        height: 10px;
    }

    #quiz {
        width: 1100px;
        height: 600px;
    }

    .q_header {
        width: auto;
        height: 40px;
        padding: 8px 15px 3px 10px;
        font-size: 25px;
    }

    #main_img {
        width: 560px;
        height: 500px;
    }

        #main_img video {
            margin-top: 15px;
            width: 530px;
            height: 470px;
        }

        #main_img img {
            margin-top: 20px;
            width: 510px;
            height: 460px;
        }

    #navigation_bar {
        height: 55px;
    }

    .next, .prev {
        width: 50px;
        height: 50px;
        background-size: 50px 50px;
    }

    .main_quiz {
        width: 460px;
        height: 490px;
        font-size: 25px;
    }

    .conclusion {
        width: 460px;
        height: 130px;
        bottom: 95px;
    }

    .btn_container {
        bottom: 22px;
    }

    .check, .show {
        width: 155px;
        height: 40px;
        font-size: 24px;
    }

    .close {
        background-image: url(../img/close.png);
        height: 59px;
        position: absolute;
        right: -28px;
        text-align: center;
        top: -32px;
        width: 53px;
        text-decoration: none;
        z-index: 9;
        cursor: pointer;
    }
}

@media (max-height: 780px) {
    #main, #init {
        height: 500px;
        width: 900px;
        margin-left: -450px;
        margin-top: -250px;
    }

    #title {
        line-height: 45px;
        min-width: 270px;
        font-size: 22px;
        top: 8px;
        height: 45px;
    }

    #progress {
        height: 6px;
    }

    #quiz {
        width: 850px;
        height: 365px;
    }

    .q_header {
        width: auto;
        height: 30px;
        padding: 5px 10px 3px 10px;
        font-size: 22px;
    }

    #main_img {
        width: 400px;
        height: 345px;
    }

        #main_img video {
            margin-top: 7px;
            width: 380px;
            height: 300px;
        }

        #main_img img {
            margin-top: 2px;
            width: 380px;
            height: 340px;
        }

    #navigation_bar {
        height: 40px;
    }

    .next, .prev {
        width: 37px;
        height: 36px;
    }

    .main_quiz {
        width: 405px;
        height: 325px;
        font-size: 21px;
    }

    .q_container {
       /*top: 10px;*/
        right: 10px;
        width: 390px;
    }

    .conclusion {
        width: 375px;
        height:auto;
        bottom: 39px;
    }

    .btn_container {
        bottom: 22px;
    }

    .check, .show {
        width: 130px;
        height: 25px;
        font-size:18px;
    }

    .checked {
        width: 365px;
    }

    .close {
        background-image: url(../img/close.png);
        height: 59px;
        position: absolute;
        right: -28px;
        text-align: center;
        top: -32px;
        width: 53px;
        text-decoration: none;
        z-index: 9;
        cursor: pointer;
    }

    #intro_img {
        width: 360px;
        height: 360px;
        top: 17%;
    }
}
.math_ro1_2{		
		    font-size: 1.3em !important;		
	}


#help_box {
    display: table;
    position: absolute;
    width: 515px;
    height: 190px;
    color: #fff;
    background-color: #fff;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    margin: auto;
    z-index: 63999;
    border-radius: 5px;
}

@media (max-height: 780px) {
    #help_box {
        font-size: 0.8em;
    }
}

#help_box .content {
    margin: auto;
    margin-top: 60px;
    padding: 10px 40px;
    color: #000;
    direction: rtl;
}

.en #help_box .content {
    direction: ltr;
}

#help_box_bk {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000;
    top: 0;
    left: 0;
    z-index: 63998;
    opacity: .7;
}

#help_box_pst {
    display: inline-table;
    line-height: 45px;
    margin: 25px auto;
    padding: 0 30px;
    cursor: pointer;
    background-color: #497FAE;
    border-radius: 5px;
}

#help_box_pre {
    width: 75px;
    height: 50px;
    line-height: 50px;
    background-color: #497FAE;
    position: absolute;
    top: -25px;
    left: 0;
    right: 0;
    margin: auto;
    border-radius: 5px;
    padding: 0 50px;    
}


._math {
    padding: 10px 0px;
    display: inline-block;
}

/*@media (max-width: 864px) {
	#main, #init {
		zoom: 0.82;
	}
}*/
#skip_intro{
    position: absolute;
    width: 77px;
    height: 46px;
    bottom: -14%;
    cursor: pointer;
    background-repeat: no-repeat;
    background-color: #fff;
    border-radius: 10px;
    right: -69%;
    line-height: 50px;
    /* padding-right: 1%; */
    text-align: center;
    color: #6D869D;
    font-weight: 600;
}
@media screen and (max-width: 650px){
	#main{
		zoom:0.46;
	}
  }
@media screen and (min-width: 650px) and (max-width: 700px){
	#main{
		zoom:0.49;
	}  
  }
@media screen and (min-width: 700px) and (max-width: 750px){
	#main{
		zoom:0.53;
	}  
  }
@media screen and (min-width: 750px) and (max-width: 800px){
	#main{
		zoom: 0.67;
	}  
  }
@media screen and (min-width: 800px) and (max-width: 850px){
	#main{
		zoom:0.65;
	}  
  }
@media screen and (min-width: 850px) and (max-width: 900px){
	#main{
		zoom:0.94;
	}  
  }
@media screen and (min-width: 900px){
	#main{
		zoom:0.8;
	}  
  }

