@font-face {
	font-family: 'Dimbo';
    src: url('../fonts/DimboRegular.eot'); /* IE9 Compat Modes */
    src: url('../fonts/DimboRegular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('../fonts/DimboRegular.ttf')  format('truetype'); /* Safari, Android, iOS */
}
html{
    height: 100%;
}
body{
    font-family: 'Dimbo', 'Arial Narrow',  Arial, 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;
}
.inactif {
    opacity: 0.2 !important;
    cursor: default !important;
    pointer-events: none;
}
.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: #64c341;
}

.bandeau.theme1 { background: #25b8cc; }
.bandeau.theme2 { background: #64c341; }
.bandeau.theme3 { background: #b4282e; }
.bandeau.theme4 { background: #70458e; }
.bandeau.theme5 { background: #da962e; }

.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: 3;
    -webkit-box-flex: 3;
    -webkit-flex: 3;
    -ms-flex: 3;
}

.datas, .MsoNormal{
    display: none;
}
.flashCard{
    display: none;
}

.menu{
    background-color: #d3edf2;
    color: #fff;
    /*
    display: inline-block;
    */
    display: flex;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

/* (Référence couleur du bandeau jaune : Thème 1 => C0 M35 J80 N3) */
.btnMenu[data-categorie="theme1"] { background-color: #f49e00; }
[data-categorie="theme1"] .colLeft{ background-color: #f49e00; }
[data-categorie="theme1"] .catTitle{ color: #f49e00; }
[data-categorie="theme1"] .catTitleReponse{ color: #f49e00; }
[data-categorie="theme1"] .btnZoom{ color: #f49e00; }
[data-categorie="theme1"] .puce_li:before { color: #f49e00; }
[data-categorie="theme1"] .flashCardContent.back .colRight { background-color: #fdf8d9; }

/* (Référence couleur du bandeau bleu : Thème 2 => C 80 M 0 J 0 N 30) */
.btnMenu[data-categorie="theme2"] { background-color: #008ab5; }
[data-categorie="theme2"] .colLeft{ background-color: #008ab5; }
[data-categorie="theme2"] .catTitle{ color: #008ab5; }
[data-categorie="theme2"] .catTitleReponse{ color: #008ab5; }
[data-categorie="theme2"] .btnZoom{ color: #008ab5; }
[data-categorie="theme2"] .puce_li:before { color: #008ab5; }
[data-categorie="theme2"] .flashCardContent.back .colRight { background-color: #e6edf4; }

/* (Référence couleur du bandeau orange : Thème 3 => C0 M65 J85 N0) */
.btnMenu[data-categorie="theme3"]{ background-color: #ee7330; }
[data-categorie="theme3"] .colLeft{ background-color: #ee7330; }
[data-categorie="theme3"] .catTitle{ color: #ee7330; }
[data-categorie="theme3"] .catTitleReponse{ color: #ee7330; }
[data-categorie="theme3"] .btnZoom{ color: #ee7330; }
[data-categorie="theme3"] .puce_li:before { color: #ee7330; }
[data-categorie="theme3"] .flashCardContent.back .colRight { background-color: #ffeddd; }

/* (Référence couleur du bandeau vert : Thème 4 => C40 M0 J100 N10) */
.btnMenu[data-categorie="theme4"]{ background-color: #a2bc0c; }
[data-categorie="theme4"] .colLeft{ background-color: #a2bc0c; }
[data-categorie="theme4"] .catTitle{ color: #a2bc0c; }
[data-categorie="theme4"] .catTitleReponse{ color: #a2bc0c; }
[data-categorie="theme4"] .btnZoom{ color: #a2bc0c; }
[data-categorie="theme4"] .puce_li:before { color: #a2bc0c; }
[data-categorie="theme4"] .flashCardContent.back .colRight { background-color: #fcffea; }

/* (Référence couleur du bandeau rouge : Thème 5 => C0 M100 J100 N0) */
.btnMenu[data-categorie="theme5"]{ background-color: #e30613; }
[data-categorie="theme5"] .colLeft{ background-color: #e30613; }
[data-categorie="theme5"] .catTitle{ color: #e30613; }
[data-categorie="theme5"] .catTitleReponse{ color: #e30613; }
[data-categorie="theme5"] .btnZoom{ color: #e30613; }
[data-categorie="theme5"] .puce_li:before { color: #e30613; }
[data-categorie="theme5"] .flashCardContent.back .colRight { background-color: #ffefeb; }

/* (Référence couleur du bandeau violet : Thème 6 => C40 M85 J0 N4) */
.btnMenu[data-categorie="theme6"]{ background-color: #a33f8d; }
[data-categorie="theme6"] .colLeft{ background-color: #a33f8d; }
[data-categorie="theme6"] .catTitle{ color: #a33f8d; }
[data-categorie="theme6"] .catTitleReponse{ color: #a33f8d; }
[data-categorie="theme6"] .btnZoom{ color: #a33f8d; }
[data-categorie="theme6"] .puce_li:before { color: #a33f8d; }
[data-categorie="theme6"] .flashCardContent.back .colRight { background-color: #e5e8f4; }

.menu>div{
    display: inline-block;
    padding: 10px 10px;
    font-size: 22px;
}
.btnMenu{
    cursor: pointer;
    min-width: 150px;
    text-align: center;
}
.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: 250px;
    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%;
}

/* FlashCard pour le flip */
.flashCard {
    width: 330px;
    height: 250px;
    display: inline-block;
    opacity: 0;
    margin: 5px;
    transform-style: preserve-3d; /* pour conserver la perspective 3D */
    transition: transform 0.6s; /* transition fluide */
}

/* Flip effect when the class 'flipped' is added */
.flashCard.flipped {
    transform: rotateY(180deg); /* flip autour de l'axe Y */
}

/* Style for front and back of the card */
.flashCardContent {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Masquer le dos de la carte quand retournée */
}

/* Le dos de la carte (back) */
.flashCardContent.back {
    transform: rotateY(180deg); /* Retourner le dos de la carte */
}

.zoom .flashCard {
    height: 100% !important;
}


.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,
.catTitleReponse{
    font-size: 24px;
}
.icone{
    width: 25px;
    min-width: 25px;
}
.icone img{
    width: 100%;
}
.lineB{
    margin-bottom: 5px;
    position: relative;
}
.btnZoom{
    position: absolute;
    bottom: 0px;
    right: 5px;
    font-size: 28px;
    cursor: pointer;
    width: 35px;
    height: 35px;
}
.btnZoom:hover{
    opacity: .7;
}

.btnZoom img {
    width: 35px;
}
.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,
.zoom .catTitleReponse{
    font-size: 42px;
    margin-left: 10px;
}

.btnCloseZoom{
    position: absolute;
    top: -40px;
    right: -50px;
    border-radius: 50px;
    border: solid 3px #f29400;
    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;
}

p{
    margin-bottom: 5px;
    margin-top: 5px;
    line-height: 1.5em;
}

.MathJax, .MathJax *{
    /*font-family: STIXGeneral-Regular !important;*/
}
.mo{
    font-style: normal !important;
    /*font-family: STIXGeneral-Regular !important;*/
}
.bold {
    font-weight: bold;
}
.ital {
    font-style: italic;
}
sup {
    line-height: 0;
}
.puce {
    background-image: url("../medias/puce_bleu.png");
    background-repeat: no-repeat;
    background-size: 10px;
    background-position: left 1px;
    padding-left: 15px;
}

.zoom .puce {
    background-size: 20px;
    background-position: left 7px;
    padding-left: 30px;
}
.puce_li:before {
    content: "•";
    font-weight: bold;
    font-size: 120%;
    margin-right: 5px;
}

[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;
    }
}