
@font-face {
    font-family: 'Myriad-Ar';
    src: url('../fonts/myriad-arabic.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'PORKYS';
    src: url('../fonts/PORKYS_.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
}

#wPaint-demo-main{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.preloading {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: #ef4238;
    top: 0;
    left: 0;
    text-align: center;
    z-index: 99999;
}

.preloading img {
    max-width: 100%;
    max-height: 75%;
    color: black;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.preloading-text {
    color: #fff;
    font-size: 1.8vw;
    margin-top: 22vh;
    font-weight: bold;
    position: absolute;
    width: 100%;
    bottom: 4vh;
    letter-spacing: 3px;
    direction: ltr;
}

:focus{
    outline:0;
}

body {
    background-image: url(../images/backgrounds/library-background-image.jpg);
    background-size: cover;
    background-position: 0 90%;
    background-repeat: no-repeat;
    background-color: #fff;
    overflow: hidden;
    height: 100vh;
    width:100%;
    font-family: 'Myriad-Ar';
}
.centerMenu{
    /*display:none;*/

}

.loaderp {
    background-image: url(../images/loading.gif);
    position: absolute;
    top: 0px;
    left: 0px;
    background-position: 50% 18%;
    background-size: auto auto;
    z-index: 50000;
    color: white;
    text-align: center;
    letter-spacing: 12px;
    font-size: 12px;
    font-family: cursive;
    line-height: 1;
    background-color: #ef4238;
    width: 100%;
    height: 100%;
    opacity: 0.9;
    min-height: 100%;
    background-repeat: no-repeat;
}
.loaderp span{
    letter-spacing: 0;
    font-size: 20px;
    font-weight: bold;
    position: fixed;
    text-align: center;
    width: 100%;
    left: 0;
    font-family: sans-serif;
    bottom: 10%;
}
html[lang="ar"] .loaderp{
    direction: rtl;
}
.loaderp span.en-loading {
    letter-spacing: 0;
    font-size: 25px;
    font-weight: bold;
    position: fixed;
    text-align: center;
    width: 100%;
    left: 0;
    font-family: sans-serif;
    letter-spacing: 5px;
    font-size: 12px;
    text-transform: uppercase;
}

.not-loaded-yet{
    opacity: 0;
    transition: all ease-in 0.3s;
}
.is-load{
    opacity: 1;
    transition: all ease-in 0.3s;
}


.magazine-viewport {
    background-color: transparent;
}
.magazine-viewport .page img{
    width:100%;
}


/* Enviro Menu Style */

.enviro-menu{
    background-color: rgba(0,2,11,0.2);
    border-radius: 4vw;
    width: auto;
    display: inline-block;
    text-align: center;
    padding: 5px 2%;
    margin: 15px auto;
    background-repeat: no-repeat;
    box-sizing: border-box;
}
.enviro-menu-icon {
    width: 3.5vw;
    display: inline-block;
    vertical-align: middle;
    margin: 0 0.25vw;
    position: relative;
    -moz-transition: all ease-in 0.3s;
    -ms-transition: all ease-in 0.3s;
    -webkit-transition: all ease-in 0.3s;
    transition: all ease-in 0.3s;
}
.enviro-menu-icon.turn-next-icon{
    width: 2vw;
    margin-right: 1vw;
    margin-left: 0;
}

.enviro-menu-icon a#prev,
.enviro-menu-icon a#next{
    border-radius: 50px;
}

.enviro-menu-icon a#prev:hover,
.enviro-menu-icon a#next:hover{
    background: white;
}

.enviro-menu-icon.turn-prev-icon{
    width: 2vw;
    margin-left: 1vw;
    margin-right: 0;
}
.enviro-menu-icon a{
    display: block;
}
.enviro-menu-icon:hover {
    margin-top: -1.5%;
}
.enviro-menu-icon.turn-prev-icon:hover,.enviro-menu-icon.turn-next-icon:hover{
    margin-top: 0;
}
.enviro-menu-icon span {
    position: absolute;
    bottom: 10px;
    text-align: center;
    width: 100%;
    left: 0;
    text-transform: uppercase;
    color: #525151;
    font-size: 0.7vw;
    font-family: 'Myriad-Ar';
    line-height: 1;
    display: block;
    font-weight: 600;
    letter-spacing: 1.2px;
}
.enviro-menu-icon img{
    opacity: 1 !important;
    width: 100% !important;
    height:auto;
}
.enviro-menu-icon a#exitApp{
    background: #f9f9f9;
    opacity: 0.8;
    border-radius: 12px;
}
@media (min-device-width : 1200px)
{
    .enviro-menu-icon.close-icon{
        display: none;
    }
}
.centerMenu{
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    z-index: 9999;
}
div#jp_container_1 {
    opacity: 1;
    position: absolute !important;
    top: 0 !important;
    width: 100%;
    left: 0 !important;
    height: 100%;
    z-index: 99;
    cursor: pointer;
}
div#jp_container_1 *{
    width:100%;
    height: 100%;
}
.jp-controls {
    position: relative;
    top:auto;
    left:auto;
}
button.jp-play {
    background-color: transparent;
    border: hidden;
    color: transparent;
    cursor: pointer;
}
button.jp-stop {
    background-color: transparent;
    border: hidden;
    color: transparent;
}

.jp-audio.jp-state-looped{
    border-radius: 20%;
}

.jp-audio.jp-state-looped.jp-state-playing{
    box-shadow: 0 0 20px #e1dddb;
}
/* End Enviro Menu */


/* wpaint point style */

.wPaint-demo{
    position: absolute;
    margin: 0px auto;
    /*border: solid 1px #fff;*/
}
.wPaint-demo canvas{
    width:100% !important;
    height:100% !important;
}
div#wPaint-demo1 {
    top: 29% !important;
    left: 10% !important;
}
div#wPaint-demo2 {
    top: 53% !important;
    left: 10% !important;
}
div#wPaint-demo3 {
    top: 76% !important;
    left: 10% !important;
}
div#wPaint-demo4 {
    top: 23% !important;
    right: 0% !important;
    left:auto !important;
}
div#wPaint-demo5 {
    top: 43% !important;
    right: 4% !important;
    left:auto !important;
}
div#wPaint-demo6 {
    top: 64% !important;
    right: 3% !important;
    left:auto !important;

}
.correct1, .wrong1, .correct2, .wrong2, .correct3, .wrong3, .correct4, .wrong4 {
    margin: 0;
}

.item {
    height: 20px;
    width: 20px;
    position: absolute;
    /*background: #fff;*/
}

.wPaint-theme-classic .wPaint-menu-holder{
    display: none;
}
.iconns{
    width: 2vw;
    max-width: 50px;
    min-width: 25px;
    position: absolute;
    opacity: 0;
    top: 6%;
    left: 14%;
    -moz-transition: all linear 0.3s;
    -webkit-transition: all linear 0.3s;
    -ms-transition: all linear 0.3s;
    transition: all linear 0.3s;

    transition: all linear 0.3s;
}
.correct1,.wrong1,.correct2{
    left: auto;
    right: 18%;
}

.moved{
    opacity:1;
    z-index: 100;
}
.iconns img{
    width:100%;
}
#diagramContainer{
    opacity: 0;
}
.p5 #diagramContainer{
    position: absolute;
    opacity: 1;
    transition: all linear 0.3s;
}

/* end wpaint*/

.clicker,.clicker2,.clicker3,#clicker4,#clicker5{    
    position: absolute;
    z-index: 100;
    color: white;
    background-color: #1fa03b;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    border-radius: 3vw;
    padding: 15px 25px;
    font-size: 1.5vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    line-height: 1;
    font-family: 'PORKYS';
    letter-spacing: 10px;
}
.clicker3,#clicker4{
    background-color: #275faa;
}
#clicker5,.clicker2{
    background-color: #007dc6;
}
#clicker4{
    opacity: 0;
}

.animation{
    width: 100%;
    bottom: 0 ;
}
.choser {
    width: 1.8vw;
    height: 1.8vw;
    position: absolute;
    cursor: pointer;
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center center;
    min-width: 15px;
    min-height: 15px;
}
.choser[ids="1"], .choser[ids="3"],.choser[ids="5"],.choser[ids="7"]{
    background-image:url(../images/icons/correct-gray.png);
}

.choser[ids="2"], .choser[ids="4"],.choser[ids="6"],.choser[ids="8"]{
    background-image:url(../images/icons/wrong-gray.png);
}

.choser[ids="8"] {
    top: 61%;
    left: 78%;
}
.choser[ids="7"] {
    top: 61%;
    left: 65%;
}
.choser[ids="6"] {
    top: 61%;
    left: 26%;
}
.choser[ids="5"] {
    top: 61%;
    left: 13%;
}
.choser[ids="4"] {
    top: 25%;
    left: 78%;
}
.choser[ids="3"] {
    top: 25%;
    left: 65%;
}
.choser[ids="2"] {
    top: 25%;
    left: 26%;
}
.choser[ids="1"] {
    top: 25%;
    left: 13%;
}
.choser.wrong-green{background-image:url(../images/icons/wrong-green.png) ;}
.choser.wrong-red{background-image:url(../images/icons/wrong-red.png) ;}
.choser.correct-green{background-image:url(../images/icons/correct-green.png);}
.choser.correct-red{background-image:url(../images/icons/correct-red.png);}

.edgeLoad-EDGE-7649708 { visibility:hidden; }
.edgeLoad-EDGE-24305623 { visibility:hidden; }


.EDGE-5579564{
    position: absolute !important;
}
.EDGE-7649708{
    transform-origin: left;
    -webkit-transform-origin: left;
    -moz-transform-origin: left;
    -webkit-transform-origin-y: bottom;
    position: absolute !important;
    bottom: 0;
    width: 512px;
    height: 682px;
    overflow: hidden;
}
.pages #page9 {
    padding: 0px;
    position: absolute;
    opacity: 0;
    z-index: 99999;
    top: 0;
    left: 0;
}
#mido,#page9{
    padding: 0px;
    position: absolute;
    height: 0;
    top:0;
    left:0;
    opacity: 0;
}
.pages #mido,.pages #page9{
    z-index: 99;
    /*    width: 100% !important;
        height: 100% !important;*/
    opacity: 1;

}
.pages #page9 {
    z-index: 99;
}




div#second_right1 {
    top: 190px;
    left: 260px;
}

div#second_left1 {
    top: 190px;
    left: 190px;
}

div#second_right2 {
    top: 310px;
    left: 260px;
}

div#second_left2 {
    top: 310px;
    left: 190px;
}

div#second_right3 {
    top: 433px;
    left: 260px;
}

div#second_left3 {
    top: 433px;
    left: 190px;
}


div#second_right4 {
    top: 540px;
    left: 260px;
}

div#second_left4 {
    top: 540px;
    left: 190px;
}
/*   */


div#page9_left3 {
    top: 530px;
    left: 190px;
}

div#page9_right2 {
    top: 400px;
    left: 260px;
}

div#page9_left2 {
    top: 400px;
    left: 190px;
}

div#page9_right1 {
    top: 270px;
    left: 260px;
}

div#page9_left1 {
    top: 270px;
    left: 190px;
}

div#page9_right3 {
    top: 530px;
    left: 260px;
}
.jsplumb-endpoint{
    z-index: 9;
    width: 30px;
    height: 30px;
}

/*    */

div#item_left3 {
    top: 200px;
    left: 110px;
}

div#item_right2 {
    top: 370px;
    left: 260px;
}

div#item_left2 {
    top: 400px;
    left: 110px;
}

div#item_right1 {
    top: 200px;
    left: 270px;
}

div#item_left1 {
    top: 550px;
    left: 110PX;
}

div#item_right4 {
    top: 550px;
    left: 270px;
}

@-moz-keyframes blinker {  
    0% { opacity: 1.0;
         width:5px;
         height:5px;
         margin-top:5px;
         margin-left:5px;
    }
    50% { opacity: 0.0;
          width:15px;
          height:15px;
          margin-top:0px;
          margin-left:0px;
    }
    100% { 
        width:25px;
        height:25px;
        margin-top:-5px;
        margin-left:-5px;
        opacity: 1.0; }
}

@-webkit-keyframes blinker {  
    0% { opacity: 1.0;
         width:5px;
         height:5px;
         margin-top:5px;
         margin-left:5px;
    }
    50% { opacity: 0.0;
          width:15px;
          height:15px;
          margin-top:0px;
          margin-left:0px;
    }
    100% { 
        width:25px;
        height:25px;
        margin-top:-5px;
        margin-left:-5px;
        opacity: 1.0; }
}

@keyframes blinker {  
    0% { opacity: 1.0;
         width:5px;
         height:5px;
         margin-top:5px;
         margin-left:5px;
    }
    50% { opacity: 0.0;
          width:15px;
          height:15px;
          margin-top:0px;
          margin-left:0px;
    }
    100% { 
        width:25px;
        height:25px;
        margin-top:-5px;
        margin-left:-5px;
        opacity: 1.0; }
}
.res{
    position: absolute;

}
.animation-1{
    width:100%;
    height:50%;
    position:absolute;
    bottom:0;
    left:0;
}
.EDGE-5579564{
    position: absolute !important;
    left: 0;
    bottom: 0;
    width: 512px !important;
    height: 400px !important;
    overflow: hidden !important;
    transform-origin: left;
    -moz-transform-origin: left;
    -webkit-transform-origin: left;
    -webkit-transform-origin-y: bottom;
    -moz-transition: all ease-in-out 0.3s;
    -webkit-transition: all ease-in-out 0.3s;
    -ms-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
    transition: all ease-in-out 0.3s;

}
.EDGE-24305623,.EDGE-25096357{
    overflow: hidden !important;
    transform-origin: left;
    -moz-transform-origin: left;
    -webkit-transform-origin: left;
    -webkit-transform-origin-y: bottom;
    -moz-transition: all ease-in-out 0.3s;
    -webkit-transition: all ease-in-out 0.3s;
    -ms-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
    transition: all ease-in-out 0.3s;
    position: absolute !important;
    bottom: 0;
}
.EDGE-25096357{
    width: 512px !important;
    height: 465px !important;
    position: absolute !important;
    bottom: 0;
}

.animation-3,.animation-4,.animation-5{
    width: 100%;
    height: 100%;
    overflow: hidden !important;
    transform-origin: left;
    -moz-transform-origin: left;
    -webkit-transform-origin: left;
    -webkit-transform-origin-y: bottom;
    -moz-transition: all ease-in-out 0.3s;
    -webkit-transition: all ease-in-out 0.3s;
    -ms-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
    transition: all ease-in-out 0.3s;
}
.EDGE-30117249{
    width: 512px !important;
    height: 400px !important;
    overflow: hidden !important;
    position: absolute !important;
    bottom: 0;
    transform-origin: left;
    -moz-transform-origin: left;
    -webkit-transform-origin: left;
    -webkit-transform-origin-y: bottom;
    -moz-transition: all ease-in-out 0.3s;
    -webkit-transition: all ease-in-out 0.3s;
    -ms-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
    transition: all ease-in-out 0.3s;
}
.EDGE-30326221{
    width: 512px !important;
    height: 397px !important;
    overflow: hidden !important;
    position: absolute !important;
    bottom: 0;
    transform-origin: left;
    -moz-transform-origin: left;
    -webkit-transform-origin: left;
    -webkit-transform-origin-y: bottom;
    -moz-transition: all ease-in-out 0.3s;
    -webkit-transition: all ease-in-out 0.3s;
    -ms-transition: all ease-in-out 0.3s;
    -o-transition: all ease-in-out 0.3s;
    transition: all ease-in-out 0.3s;
}

.blink_me{
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 0.6s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-name: blinker;
    -moz-animation-duration: 0.6s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;
    animation-name: blinker;
    animation-duration: 0.6s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    width: 5px;
    height: 5px;
    border-radius: 25px;
    border: solid 2px rgba(255,255,255,0.6);
    background-color: rgba(255,255,255,0.3);
    position: absolute;
    display: inline-block;
    z-index: 1;
}

@media (max-width:1024px){
    .preloading-text {
        font-size: 3vw;
    }
}

@media (max-width:768px){
    .preloading-text {
        font-size: 4vw;
    }
}

.not-loaded {
    opacity: 0;
    transition: all ease-in 0.5s;
}
.loaded {
    transition: all ease-in 0.5s;
    opacity: 1;
}
.hideForm, a.hideForm.enviro-menu-icon {
    opacity: 0;
    display: none;
}
.jsplumb-endpoint:after {
    background-color: #ff0;
    content: "";
    position: absolute;
    top: -1.5%;
    left: -1.5%;
    width: 103%;
    height: 103%;
    border-radius: 100%;
    box-sizing: border-box;
    z-index:99;
    opacity:1;
    pointer-events: none;
}

.jsplumb-endpoint.jsplumb-endpoint-connected:after {
    z-index: -1;
    opacity: 0;
}
.blink_me{
    pointer-events: none;
}
/*Enviro Menu*/
.enviro-menu-icon {
    width: 5.5vw;
    margin: 0 7px;
    cursor: pointer;
}
.enviro-menu-icon img {
    display: block;
}
.enviro-menu-icon.turn-prev-icon {
    width: 4vw;
    margin-left: 1.5vw;
}
.enviro-menu-icon.turn-next-icon {
    width: 4vw;
    margin-right: 1.5vw;
}
.enviro-menu {
    background-color: rgba(0,2,11,0.4);
    padding: 7px 2%;
}
.intro-icon,.help-icon{
    display: none;
}



/*Arabic*/
body.ar *,
body.ar {
    font-family: 'Myriad-Ar' !important;
    letter-spacing: 0;
}

body.ar  .enviro-menu{
    direction: rtl;
}
body.ar  .enviro-menu-icon.turn-prev-icon img,
body.ar  .enviro-menu-icon.turn-next-icon img {
    transform: rotate(180deg);
}

/*JOIN TEST - AR */
body.join-test-ar{
    overflow: auto;
    height: 100%;
}

body.join-test-ar .inner-container{
    position: relative;
}

body.join-test-ar .bg-layer{
    margin-bottom: 50px;
}

body.join-test-ar .enviro-logo {
    width: 50%;
    height: 19.6%;
    margin: 0 auto;
}


@media(max-width:1400px) and (max-height:700px){
	.centerMenu {
    transform: scale(0.65);
    bottom: -4.5%;
}
}

.enviro-menu-icon.myaccountButton, .enviro-menu-icon.logout-icon, .enviro-menu-icon.test-icon, .enviro-menu-icon.login-icon{
    display: none;
}

body.ar .eraser{
    z-index: 10000;
}







