@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;
    font-family: cocon;
    text-align: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    /*background-color: #000;*/
    background-color: transparent;
    font-family: cocon;
    -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;
    background: url(../img/loading.gif) no-repeat center center #fff;
}

#slideshow {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    display: none;
    cursor: pointer;
}
#slideshow .spanMath{

    width: 13px!important;
    position: relative!important;
    /* background-color: rgba(255, 255, 255, 0.7)!important; */
    font-size: 70%!important;
    color: #000!important;
    padding: 0px!important;
}
/*#slideshow div {
    width: 98%;
    padding: 10px 1% 15px;
    text-align: center;
    background-color: #000;
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 180%;
    line-height: 2
}*/
#slideshow span {
    width: 100%;
    display: inline-block;
    z-index: 999999;
   /* position: absolute;*/
    top: 0;
    left: 0;
    line-height: 2;
	font-weight: bold;
}
    #slideshow img {
        position: absolute;
        left: 0px;
        right: 0px;
        margin: auto;
        top: 0px;
        width: 100%;
        height: 100%;
    }

    #slideshow .text_div {
        width: 98%;
		padding: 10px 1% 21px;
		text-align: center;
		background-color: #000;
		color: #fff;
		position: absolute;
		bottom: 0;
		left: 0;
		font-size: 160%;
		line-height: 1;
    }

    #slideshow .caption_span {
        width: 100%;
        display: inline-block;
        z-index: 999999;
        position: absolute;
        top: 0;
        left: 0;
        line-height: 2;
    }

#loading {
    left: 10px;
    position: absolute;
    top: 10px;
    z-index: 999;
}

.progress-container {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 75px;
    cursor: pointer;
    z-index: 99999999;
}

#progress, .lo-progress {
    position: absolute;
    height: 10px;
    background-color: red;
    width: 0px;
    bottom: 0;
    left: 0;
    z-index: 100;
}

#play, .play-pause-cover {
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 999;
    display: none;
    opacity: .8;
    cursor: pointer;
    background: url(../img/play.png) center center no-repeat rgba(0, 0, 0, 0.8);
    width: 100%;
    height: 100%;
}

.en {
    direction: ltr;
}

    .en body {
        direction: ltr;
    }

@media (min-height: 780px) {
    #main, #init {
        height: 770px;
        width: 1160px;
    }
}

@media (max-height: 780px) {
    #main, #init {
        height: 500px;
        width: 754px;
        background: rgba(0, 0, 0, 0);
    }

    #slideshow img, #slideshow .text_div, .caption_span {
        width: 754px;
        margin: auto;
        right: 0;
        left: 0;
    }
}
@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;
	}  
  }
