html
{
    direction: rtl;
}
@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
{
    direction: rtl;
    overflow: hidden;
    text-align: center;
    /*background-color: #000;*/
    background-color: transparent;
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: cocon;
    font-size: 25px;
    
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.en body {
    font-family: math,cocon_en;
}
#main, #init
{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
    overflow: hidden;
    display: none;
}
#init
{
    background: url(../img/loading.gif) no-repeat center center #fff;
    display: block;
}
#loading
{
    left: 10px;
    position: absolute;
    top: 10px;
    z-index: 999;
}
#progress
{
    position: absolute;
    height: 10px;
    background-color: red;
    width: 0px;
    bottom: 0;
    left: 0;
    z-index: 100;
}
#title
{
    font-size: 30px;
    display: inline-block;
    line-height: 50px;
    margin: 30px auto;
    min-width: 300px;
    position: relative;
    color: #fff;
    padding: 0 20px;
    white-space:nowrap;
}
.en #title {
    direction: ltr;
}
#timeline
{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-perspective: 600px;
    -moz-perspective: 600px;
    perspective: 600px;
}
.container
{
    display: none;
}
.elems
{
    position: absolute;
    display: none;
}

.elems .text{
	margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}
#line
{
    position: absolute;
    display: none;
}
.mid_text, .elems_img
{
    display: none;
    position: absolute;
    -webkit-animation-duration: .5s;
    -moz-animation-duration: .5s;
    -ms-animation-duration: .5s;
    -o-animation-duration: .5s;
    text-align:right;
}
.en .mid_text {
    direction: ltr;
    text-align:left;
}
@media (min-height: 780px)
{
    body
    {
        font-size: 25px;
    }
    #main, #init
    {
        height: 770px;
        width: 1160px;
    }
}
@media (max-height: 780px)
{
    body
    {
        font-size: 20px;
    }
    #main, #init
    {
        height: 500px;
        width: 900px;
    }
    #loading
    {
        left: 7px;
        top: 7px;
    }
    #progress
    {
        height: 7px;
    }
    #title
    {
        font-size: 25px;
        line-height: 35px;
        margin: 25px auto;
        min-width: 230px;
        padding: 0 15px;
    }
    #timeline
    {
        -webkit-perspective: 460px;
        -moz-perspective: 460px;
        perspective: 460px;
    }
}
.elems_img img {
  width: 100%;
  height: 100%;
}
.container video {
    background-color: #fff;
}

@media (max-height: 780px)
{
    .elems_img img {
  width: 91%;
  height: 100%;
}
}

#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;
    font-size: 1.1em;
}


#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;    
}
#skip_intro{
    position: absolute;
    width: 77px;
    height: 46px;
    bottom: 0%;
    cursor: pointer;
    background-repeat: no-repeat;
    background-color: #fff;
    border-radius: 10px;
    right: 91%;
    line-height: 50px;
    /* padding-right: 1%; */
    text-align: center;
    color: #6D869D;
    font-weight: 600;
}
.en #skip_intro{
    position: absolute;
    width: 77px;
    height: 46px;
    bottom: 0%;
    cursor: pointer;
    background-repeat: no-repeat;
    background-color: #fff;
    border-radius: 10px;
    right: 0%;
    line-height: 50px;
    /* padding-right: 1%; */
    text-align: center;
    color: #6D869D;
    font-weight: 600;
}
.en #icons .elems {
    direction: ltr;
}
@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;
	}  
  }