/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
    height: 100%;
    width: 100%;
}

body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio, canvas, iframe, img, svg, video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  text-indent: 7px;
  color: #1F323C;
}
::-moz-placeholder { /* Firefox 19+ */
  text-indent: 7px;
  color: #1F323C;
}
:-ms-input-placeholder { /* IE 10+ */
  text-indent: 7px;  
  color: #1F323C;
}
:-moz-placeholder { /* Firefox 18- */
  text-indent: 7px;  
  color: #1F323C;
}

.screen100per {
    width: 100%;
    height: 100%;
}

.centered {
    left:50%;
    top:50%;
}

.hide {
    display: none;
}
.unhide {
    display: block;
}
.posAbsolute{
    position: absolute;
}
.primaryBackgroundColor{
    background-color: #1F323C;
}
.secondaryBackgroundColor{
    background-color: #467189;
}
.tertiaryBackgroundColor{
    background-color: #2B4553;
}
.quaternayBackgroundColor{
    background-color: #182830;
}
.fifthBackgroundColor{
    background-color: #F5F5ED;
}

.loginText{
    font-family: 'Work Sans', sans-serif;
    color: #BFFFEE;
    font-size: 17px;
    font-weight: normal;
}

.errorText{
    font-family: 'Work Sans', sans-serif;
    text-align: center;
    color: red;
    font-size: 11px;
}

.roundedCorner{
    border-radius: 3px;
    border: 0px;
}


.exoSelected {
    border-style: solid;
    border-width: 5px;
    color: gold;
}

.marginLeftContent{
    margin-left:172px; 
}

.textZone{
    top:25px;
    width: 481.04px;
    height: 48px;
    color: white;
    position: absolute;
    font-family: 'Work Sans', sans-serif;
    font-size: 20px;
}

.statusTextZone{
    width: 481.04px;
    color: white;
    position: absolute;
    margin: 0 0 0 -240.52px;
    text-align: center;
    font-family: 'Work Sans', sans-serif;
    font-size: 20px;
}



.exercice{
    height: 75px;
    color: white;
    margin-right:172px; 
    margin-bottom: 12px;
}

.imgZone{
    position: absolute;
    /*top:50%;
    left:50%;*/
}
.exerciceText{
    margin-bottom: 26px;
    margin-top: 26px;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
}

.exercicePicto{
    width: 53px;
    height: 43px;
}

.shadeFull{
   background:linear-gradient(0deg, rgba(31,50,60,0.71) 100%, rgba(31,50,60,0) 50%)
}

.shadeRight{
   background:linear-gradient(90deg, rgba(31,50,60,0.71) 50%, rgba(31,50,60,0) 50%);
}
.shadeLeft{
   background:linear-gradient(90deg, rgba(31,50,60,0) 50%, rgba(31,50,60,0.71) 50%);
}

.dotContainer{
    
    left: 132px;
    cursor:pointer;
    border-radius:9px;

    width:10px;
    height:10px;
    
    position:absolute;
    background:#467189;
    margin: 0 0 0 -10px;

}

.circle {
    width: 10px;
    height: 10px;
    margin-top: -7px;
    margin-left: -7px;
    -webkit-border-radius: 300px;
    -moz-border-radius: 300px;    
    border-radius: 300px;
    /*background: #467189;*/
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    border: 2px solid #F5F5ED;
}

#telechargerContainer{
    z-index: 4;
    font-family: 'Work Sans', sans-serif;
    color: white;
}

#faceZone{
    border: 8px solid #F5F5ED;
    border-radius: 50%;
    z-index: 1;
}
#faceZone:after {
    content:"";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    border-left: 5px dashed #F5F5ED;
    margin: 0 0 0 -3px;
}

#exercicesBulletsContainer{
    bottom: 33px;
    left: 132px;
    right: 132px;
    height: 10px;
}

#pictoZone{
    width: 126px;
    height: 43px;
    top:28px;
    left:50%;
    margin: 0 0 0 -26.5px;
}

#picto1{
    left: 208px;
    margin-bottom: 16px;
    margin-top: 16px;
}

#exo1{
    left: 261px;
}

#picto2{
    left: 560px;
    margin-bottom: 16px;
    margin-top: 16px;
}

#picto2B{
    left: 68px;
}

#exo2{
    left: 615px;
}

#gradient{
    width: 100%;
    height: 70%;
    bottom: 0px;
    background:linear-gradient(0deg, rgba(31,50,60,0.71), rgba(31,50,60,0))
}

#continuer, #telecharger{
    top: 50%;
    left: 50%;
    right:0;
}

#telecharger{
    margin: -48px 0 0 -85px;
}

#continuer{
    margin: 5px 0 0 -85px;
}


#startSession, #commencer, #actionButton, #continuer, #retour{
    width: 170px;
    height: 43px;
    background-color: transparent;
    border-radius: 20px;
    border: 2px solid white;
    color: white;
    position: absolute;
    outline: none;
    z-index:3;
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
}

#startSession{
    top:25px;
    right: 188px;
    
}

#retour{
    bottom: 5%;
    left: -107px;
    text-align: right;
    padding-right: 14px;
    font-size: 26px;
}

#commencer{
    top:50%;
    left: 50%;
    margin: 21.5px 0 0 -85px;
}

#actionButton{
    bottom:5%;
    left: 50%;
    margin: 0 0 0 -85px;
}

.progressBar{
    width: 70px;
    height: 70px;
    right: 32px;
    top:13px;
    z-index: 2;
}

#excerciceCountDown{
    text-align: center;
    top: 35px;
    color: white;
    font-family: 'Work Sans', sans-serif;
    font-size: 20px
}          

#progressBar > svg {
    height: 100%;
    display: block;
}


.select{
    width: 170px;
    height: 43px;

    right: 188px;
    position: absolute;

    margin-bottom: 15px;
    margin-top: 16px;
    outline: none;
    border: 2px solid #467189;
    background: rgba(70,113,137,0.35);
    font-family: 'Work Sans', sans-serif;

    font-size: 14px;
}

#selected{
    width: 29px;
    height: 18.4px;

    right: 258.5px;
    position: absolute;

    margin-bottom: 27.96px;
    margin-top: 29px;
    /*margin-right: 0px;*/
    outline: none;
}

#exerciceList{
    min-width: 1025px;
    top:105px;
    border: black;
    width: 100%;
    height: 100%;
}

#submit{
    width: 232px;
    height: 37px;
    top:105px;
    border: 0;
    color: white;
    outline: none;
    font-family: 'Work Sans', sans-serif;
}

#restart, #goToHomePage{
    width: 100px;
    height: 37px;
    border: 0;
    color: white;
    outline: none;
    position: absolute;
    z-index: 1;
    border: 2px solid #467189;
    background: rgba(70,113,137,0.35);

}

#restart{
    margin: 43px 0 0 -110px;
}

#goToHomePage{
    margin: 43px 0 0 10px;
}

#username,#password{
    width: 232px;
    height: 43px;
    margin-bottom: 12px;
    outline: none;
    font-family: 'Work Sans', sans-serif;
}


#badLight,#goodLight{
    width: 99.39px;
    height: 147.54px;
    margin: -73.77px 0 0 -49.695px;
    top:50%;
    left:50%;
}

#calibrationFace{
    bottom: 5px;
    width: 404px;
    height: 226px;
    margin: 0 0 0 -202px;
    position: absolute;
    left:50%;
}

#headtrackerMessage{
    /*display: none;*/
    position: absolute;
    left:-222px;
    font-size: 7px;
    top:200px;
    width: 60px;
    height: 60px;
    /*margin: 0 0 0 -30px;*/
    z-index: 3;
}

#rotate{
    bottom:15px;
    width: 615.27px;
    height: 140.93px;
    margin: 0 0 0 -307.635px;
    left:50%;
}

#logo{
    position: absolute;
    top:50%;
    left:50%;

    top:25px;
    width: 60px;
    height: 60px;
    margin: 0 0 0 -30px;
    z-index: 3;
}

#leftBanner, #rightBanner{
    position:fixed;
    height: 100%;
    display:block;
    width: 132px;
    z-index:1;
}

#leftBanner{
    left:0px;
    box-shadow: 2px 0px 55px 0px rgba(0,0,0,0.6);
}
#rightBanner{
    right:0px;
    box-shadow: -2px 0px 55px 0px rgba(0,0,0,0.6);
}

#loginPage{
    z-index: 2;
    box-shadow: 0px -10px 55px 0px rgba(0,0,0,0.6);
}

#mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: url("../img/mask.png") repeat;*/
    /*display: none;*/
    z-index: 99999999;
}

#webCam {
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    display: none;
    /*z-index: 9999;*/
    /*position: absolute;*/
}
#canvasFaceDetector{
    z-index: -3;
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}
#containerVideo{
    z-index: -1;
   /* display: none;*/
}
#videoCanvas{
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    z-index: -1;
    /*left: 640px;*/
    /*display: none;*/
}
#videoCopy{
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    z-index: -1;
    /*left: 640px;*/
    /*display: none;*/
}

#webGlCanvas{

    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    z-index: -99999;
    
    /*visibility:hidden;*/
}
#tempCanvas{

    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    z-index: 9999999;
    /*display: none;*/
}
#overlay{
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    z-index: -1;
    /*display: none;*/
}
#overlayFaceDetector{
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    z-index: 99999;
}



/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {}

@media print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {}


/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}


/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *, *:before, *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    a, a:visited {
        text-decoration: underline;
    }
    a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
    a[href^="#"]:after, a[href^="javascript:"]:after {
        content: "";
    }
    pre, blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    tr, img {
        page-break-inside: avoid;
    }
    img {
        max-width: 100% !important;
    }
    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }
    h2, h3 {
        page-break-after: avoid;
    }
}