@font-face {
    font-family: Dys;
    src: url("../fonts/OpenDyslexic-Regular.otf");
}
@font-face {
    font-family: Dimbo;
    src: url("../fonts/dimbo/DimboRegular.ttf");
}
html{
    height: 100%;
}
body{
    font-family: Dimbo, sans-serif;
    margin: 0;
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
    min-width: 400px;
}
.content{
    margin-top: 15px;
    text-align: center;
    position: relative;
}
.loader{
    position: absolute;
    top:20px;
    left:calc(50% - 100px);
}
.bandeau{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    -webkit-flex-direction: row;
    -webkit-box-orient: horizontal;
    justify-content: center;
    -webkit-justify-content: center;
    max-height: 250px;
    background: #f29400;
}
.lycee .bandeau{
    background: #e84e0f;
}
.bandeau img{
    max-width: 90%;
    max-height: 90%;
}
.bandeau .helper{
    display: inline-block;
    height: 100%;
    vertical-align: bottom;
}
.bandeau .img{
    vertical-align: bottom;
    display: inline-block;
    height: 250px;
}
.bandeau .img:nth-child(1){
    flex: 2;
    -webkit-box-flex: 2;
    -webkit-flex: 2;
    -ms-flex: 2;
}
.bandeau .img:nth-child(2){
    flex: 4;
    -webkit-box-flex: 4;
    -webkit-flex: 4;
    -ms-flex: 4;
}

.datas, .MsoNormal{
    display: none;
}
.flashCard{
    display: none;
}

.menu{
    background-color: #f29400;
    color: #fff;
    display: inline-block;
}
.lycee .menu{
    background: #e84e0f;
}
.btnMenu[data-categorie="matiere"]{
    background-color: #00a9c5;
}
[data-categorie="matiere"] .colLeft{
    background-color: #00a9c5;
}
[data-categorie="matiere"] .catTitle{
    color: #00a9c5;
}
[data-categorie="matiere"] .btnZoom{
    color: #00a9c5;
}
.btnMenu[data-categorie="transversal"]{
    background-color: #90c2d9;
}
[data-categorie="transversal"] .colLeft{
    background-color: #90c2d9;
}
[data-categorie="transversal"] .catTitle{
    color: #90c2d9;
}
[data-categorie="transversal"] .btnZoom{
    color: #90c2d9;
}
.btnMenu[data-categorie="energie"] {
    background-color: #7ab41d;
}
[data-categorie="energie"] .colLeft{
    background-color: #7ab41d;
}
[data-categorie="energie"] .catTitle{
    color: #7ab41d;
}
[data-categorie="energie"] .btnZoom{
    color: #7ab41d;
}
.btnMenu[data-categorie="signaux"]{
    background-color: #ee8032;
}
[data-categorie="signaux"] .colLeft{
    background-color: #ee8032;
}
[data-categorie="signaux"] .catTitle{
    color: #ee8032;
}
[data-categorie="signaux"] .btnZoom{
    color: #ee8032;
}
.btnMenu[data-categorie="mouvement_interaction"]{
    background-color: #e75112;
}
[data-categorie="mouvement_interaction"] .colLeft{
    background-color: #e75112;
}
[data-categorie="mouvement_interaction"] .catTitle{
    color: #e75112;
}
[data-categorie="mouvement_interaction"] .btnZoom{
    color: #e75112;
}
.menu>div{
    display: inline-block;
    padding: 10px 10px;
    font-size: 24px;
}
.btnMenu{
    cursor: pointer;
}
.btnMenu:hover{
    opacity: .8;
}
.colLeft{
    width: 30px;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    justify-content: center;
    -webkit-justify-content: center;
    align-items: center;
    -webkit-align-items: center;
    color: #f8b100;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
}
.zoom .colLeft{
    width: 45px;
}
.colLeft img{
    width: 10px;
    margin-top: 10px;
}
.zoom .colLeft img{
    width: 15px;
    margin-top: 50px;
}
.colRight{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    -webkit-box-orient: vertical;
    flex: 1;
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    border: 4px solid #f8b100;
    border-radius: 10px;
    border-left: none;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    background: #fff;
}
.flashCard{
    display: inline-block;
    opacity: 0;
    width: 330px;
    height: 200px;
    vertical-align: top;
    margin: 5px;
}
.flashCardContent{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    -webkit-flex-direction: row;
    -webkit-box-orient: horizontal;
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
    height: 100%;
}
.lineM{
    font-family: Verdana, sans-serif;
    font-size: 14px;
    text-align: left;
    margin-left: 5px;
    margin-right: 5px;
}
.zoom .lineM{
    padding-left: 10px;
    padding-right: 10px;
}
.lineH{
    height: 40px;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
    -webkit-flex-direction: row;
    -webkit-box-orient: horizontal;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    align-items: flex-start;
    -webkit-align-items: flex-start;
    margin: 5px;
}
.zoom .lineH{
    height: 70px;
}
.catTitle{
    font-size: 24px;
}
.icone{
    width: 25px;
}
.icone img{
    width: 100%;
}
.lineB{
    margin-bottom: 5px;
    position: relative;
}
.btnZoom{
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 28px;
    cursor: pointer;
}
.btnZoom:hover{
    opacity: .7;
}
.btnTurn{
    color: #FFF;
    padding: 5px 10px;
    font-size: 20px;
    cursor: pointer;
    display: inline-block;
    background-color: #f8b100;
}
.btnTurn:hover{
    background-color: #ffb63f;
}

.flashCard ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.flashCard li:before {
    content: '- ';
}

.mask{
    position: fixed;
    width: 100%;
    height:100%;
    display: none;
    background-color: #000;
    opacity: .5;
    z-index: 10;
}
.zoom{
    display: none;
    position: fixed;
    width: 70%;
    left:15%;
    top: 10%;
    height: 70%;
    z-index: 11;
    text-align: center;
}
.zoom .btnZoom{
    display: none;
}
.zoom .flashCard{
    width: 100%;
    height: auto;
}
.zoom .icone{
    width: 70px;
}
.lineQ, .lineR{
    overflow-y: auto;
    overflow-x: hidden;
}
.zoom .lineQ, .zoom .lineR{
    font-size: 66px;
}
.zoom .catTitle{
    font-size: 42px;
    margin-left: 10px;
}

.btnCloseZoom{
    position: absolute;
    top: -35px;
    right: -40px;
    border-radius: 50px;
    background-color: #fff;
    color: #f29400;
    padding: 8px 10px;
    font-size: 22px;
    cursor: pointer;
}
.btnCloseZoom:hover{
    color: #fff;
    background-color: #f29400;
}

p{
    margin-bottom: 5px;
    margin-top: 5px;
}

.MathJax, .MathJax *{
    /*font-family: STIXGeneral-Regular !important;*/
}
.mo{
    font-style: normal !important;
    /*font-family: STIXGeneral-Regular !important;*/
}

/*[data-size="16"] *{
    font-size: 16px !important;
}*/
[data-overflow="none"]{
    overflow: hidden;
}
.zoom [data-overflow="noneOnlyZoom"], .zoom [data-overflow="noneOnlyZoom"] .lineM{
    overflow: hidden;
}
@media screen and (max-width: 2400px) {
    .zoom .lineQ, .zoom .lineR {
        font-size: 62px;
    }
}
@media screen and (max-width: 2200px) {
    .zoom .lineQ, .zoom .lineR {
        font-size: 58px;
    }
}
@media screen and (max-width: 2000px) {
    .zoom .lineQ, .zoom .lineR {
        font-size: 54px;
    }
}
@media screen and (max-width: 1800px) {
    .zoom .lineQ, .zoom .lineR {
        font-size: 48px;
    }
}
@media screen and (max-width: 1600px) {
    .zoom .lineQ, .zoom .lineR {
        font-size: 44px;
    }
}
@media screen and (max-width: 1400px) {
    .zoom .lineQ, .zoom .lineR {
        font-size: 42px;
    }
}
@media screen and (max-width: 1300px) {
    .zoom .lineQ, .zoom .lineR {
        font-size: 38px;
    }
}
@media screen and (max-width: 1200px) {
    .bandeau .img {
        height: 240px;
    }
    .zoom .lineQ, .zoom .lineR {
        font-size: 34px;
    }
    .zoom .icone {
        width: 65px;
    }
}
@media screen and (max-width: 1150px) {
    .bandeau .img {
        height: 230px;
    }
}
@media screen and (max-width: 1100px) {
    .bandeau .img {
        height: 220px;
    }
    .zoom .lineQ, .zoom .lineR {
        font-size: 32px;
    }
}
@media screen and (max-width: 1050px) {
    .bandeau .img {
        height: 200px;
    }
}
@media screen and (max-width: 1000px) {
    .bandeau .img {
        height: 190px;
    }
    .zoom .lineQ, .zoom .lineR {
        font-size: 30px;
    }
    .zoom .icone {
        width: 55px;
    }
}
@media screen and (max-width: 950px) {
    .bandeau .img {
        height: 180px;
    }
}
@media screen and (max-width: 900px) {
    .bandeau .img {
        height: 170px;
    }
    .zoom .lineQ, .zoom .lineR {
        font-size: 28px;
    }
}
@media screen and (max-width: 850px) {
    .bandeau .img {
        height: 160px;
    }
}
@media screen and (max-width: 800px) {
    .bandeau .img {
        height: 140px;
    }
    .zoom .lineQ, .zoom .lineR {
        font-size: 25px;
    }
}
@media screen and (max-width: 750px) {
    .bandeau .img {
        height: 130px;
    }
    .zoom .lineQ, .zoom .lineR {
        font-size: 23px;
    }
}
@media screen and (max-width: 700px) {
    .bandeau .img {
        height: 120px;
    }
    .zoom .lineQ, .zoom .lineR {
        font-size: 21px;
    }
}
@media screen and (max-width: 650px) {
    .bandeau .img {
        height: 110px;
    }
}
@media screen and (max-width: 600px) {
    .bandeau .img:nth-child(2) {
        display: none;
    }
}

.btnCloseZoom{
    position: absolute;
    top: -40px;
    right: -50px;
    border-radius: 50px;
    border: solid 3px #f8b100;
    background-color: #ffffff;
    /* font-size: 22px; */
    cursor: pointer;
    width: 40px;
    height: 40px;

}
.btnCloseZoom img {
    width: 40px;
    height: 40px;
}

.btnCloseZoom:hover{
    color: #fff;
    border: solid 3px #f29400;
    background-color: #f1e3c0;
}