/*body{margin: 0; height: 100%; width: 100%; overflow: hidden; -webkit-overflow-scrolling : hidden;}*/

/* /////////////////////////////////////////////// */
/* ////////      GLOBAL FLASH-CARD       ///////// */
/* //////// Zone, btCheck, card-RV, rotate /////// */
/* /////////////////////////////////////////////// */
.zone-display{
    width: 100%;
    height: 100%;
    margin: auto;
    /*border: solid 2px;*/
}

.zone-flashcard {
    position: absolute;
    height: var(--szCard_H);
    width: var(--szCard_W);
    top: var(--midSCR_H);
    left: var(--midSCR_W);
    border-style: dotted;
    border-radius: 24px;
    background-color: #EEEEEE;
    background: url('/flashcards/assets/img/larbkg.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position-y: center;
}
.info-msg{
    margin-top: 35px;
    text-align: center;
    font-size: x-large;
    font-style: italic;
}

.flashcard{
    position: absolute;
    height: var(--szCard_H);
    width: var(--szCard_W);
    top:-400px;             /*var(--szCard_H)*/
    left: var(--midSCR_W);
    /*cursor: not-allowed;*/
    /*pointer-events: none;*/
}
.title-card{
    height: 16px;
    border-bottom: solid 1px;
    line-height: 18px;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
}
.divCheck{
    position: absolute;
    top: -25px;
    left: -30px;
    z-index: 99;
}
.imgCheck{
    width: 50px;
    height: 50px;
    border: #000000 3px dotted;
    border-radius: 15px;
    display: none;
}
.card-RV {
    position: absolute;
    height: var(--szCard_H);
    width: var(--szCard_W);
    border: 2px solid #8C0295;              /*REF_SPEC*/
    border-radius: 12px;                    /*REF_SPEC*/
    box-shadow: 12px 12px 12px #d6d6d6;
    color: black;
    transition-property: transform, opacity;
    transition-duration: 1000ms, 1ms;
    transition-delay: 0ms, 350ms;
    /*z-index:-1;*/
}
.showCard {
    opacity: 1;
}
.rotateBackX {
    opacity: 0;
    transform: rotateX(-180deg);
}
.rotateBackY {
    opacity: 0;
    transform: rotateY(-180deg);
}

.no-scroll {
    height: 100%;
    width: 100%;
    overflow: hidden;
    -webkit-overflow-scrolling: hidden;
    -ms-overflow-style: none;
}
.no-scroll::-webkit-scrollbar {
    display: none;
}

/* ////////////////////////////////////////// */
/* ////////      PLAY CARD          ///////// */
/* ////////     R-V, Content        ///////// */
/* ////////////////////////////////////////// */

/* ///////// CARD-R /////////*/
#card-R{
    background-color: #FEFFFE;      /* var(LGColor) */
    cursor: grab;
} 
.card-R-top{
    display: inline-block;
    width: 100%;
    height: 60%;
    text-align: center;
}
.card-R-bottom{
    display: inline-block;
    width: 100%;
    height: 30%;
    text-align: center;
}
.card-R-footer{
    display: inline-block;
    width: 100%;
    height: 10%;
}
.imgContent-R {
    width: 90%;                 /* R: taille max */
    /*height: 100%;*/           /* imgR.onload => calcul: height(px!) */
    margin-top: 30px;           /* imgR.onload => 10px */
    border-radius: 12px;
    box-shadow: 0px 0px 8px 8px #fffFFF;
}
.txtContent-R{
    margin-top: 30px;
    font-size: 24px;
    font-weight: 300;
}


/* ///////// CARD-V /////////*/
#card-V{
    background-color: #FCFFFC;      /* var(LGColor) */
    cursor: grab;
} 
.card-V-top{
    display: inline-block;
    width: 100%;
    height: 50%;
    text-align: center;
}
.card-V-bottom{
    display: inline-block;
    width: 100%;
    height: 40%;
    text-align: center;
}
.card-V-footer{
    display: inline-block;
    width: 100%;
    height: 10%;
}

.imgContent-V {
    width: 55%;                 /* V: taille min */
    /*height: 90%;*/            /* imgV.onload => calcul: height(px!) */
    margin-top: 30px;           /* imgR.onload => 10px */
    border-radius: 12px;
    box-shadow: 0px 0px 8px 8px #fffFFF;
}
.imgTitle{
    margin-top: 1px;
    font-size: 12px;
}
.txtContent-V{
    margin-top: 30px;
    padding: 10px;
    font-size: 24px;
    font-weight: 300;
    background-color: #8C0295;
    color: #FCFFFC;
}
.determinant{
    font-weight: 600;
}
.phonetique{
    font-size: 16px;
    color: #dcdcdc;
}
.intonation{
    font-size: 16px;
    font-weight: 800;
}
.ou{
    font-size: 12px;
    color: #fff;
}
.dialecte {
    font-size: 18px;
    margin-top: -2px;
}
.culture {
    font-size: 12px;
    color: #fff;
}

.sup {
  font-size: 0.6em;   
   vertical-align: 0.3em; 
}

/* ///////// CARD-RV (footer) /////////*/
.akene{
    float: left;
    width: 40px;
    margin-left: 4px;
    filter: invert(60%) sepia(40%) saturate(2500%) hue-rotate(260deg) brightness(100%) contrast(80%);
}
.lbCatego{
    width: 60%;
    margin: auto;
    margin-top: 20px;
    font-size: 12px;
    text-align: center;
}
.idxCard{
    float: right;
    margin-top: 20px;
    margin-right: 12px;
    font-size: 12px;
    font-weight: bold;
}




/* /////////////////////////////////////////// */
/* ////////      BUTTONS CHECK       ///////// */
/* ////////    OK, WG, KO + Anim     ///////// */
/* /////////////////////////////////////////// */
.divBtCheck {
    display: none;
    position: absolute;
    width: var(--szCard_W);
    top: var(--szSCR_H);
    left: var(--midSCR_W);
    z-index: 100; /* > 99 : flashCard */
}
.btCheck {
    width: 60px;
    -webkit-transition: opacity 500ms ease-out;
    -moz-transition: opacity 500ms ease-out;
    -ms-transition: opacity 500ms ease-out;
    -o-transition: opacity 500ms ease-out;
    transition: opacity 500ms ease-out;
}
.btOK {
    float: left;
    margin-left: -20px;
    /*filter: invert(60%) sepia(40%) saturate(2500%) hue-rotate(60deg) brightness(100%) contrast(100%);*/
}
.btWG {
    margin: auto;
    /*filter: invert(60%) sepia(50%) saturate(3500%) hue-rotate(330deg) brightness(100%) contrast(100%);*/
}
.btKO {
    float: right;
    margin-right: -20px;
    /*filter: invert(50%) sepia(80%) saturate(2000%) hue-rotate(320deg) brightness(100%) contrast(100%);*/
}

.imgBtCheck{
    width: 60px;
    /*border: 1px solid #CECECE;*/
    border-radius: 35px;
    cursor: pointer;
}
.imgBtCheck:hover {
    border: 1px dotted #CECECE;
}
.imgBtCheck:active {
    width: 80px;
    margin-top: -10px;
    margin-left: -10px;
}



/* ------------------------- ANIMATION CARDs (IN, OUT, Top, Bottom, Left, Right) ------------------------- */
/* ------------------------------------------------------------------------------------------------------- */
.anim-in-btCheck{
    /*animation-delay: 0s;*/
    animation: 1000ms inBtCheck;
    animation-timing-function: cubic-bezier(0.4,0,0.6,1);
}
@keyframes inBtCheck {
    from {
        top: var(--szSCR_H);        /*out SCR*/
    }
    to {
        top: var(--btCheck_Y);      /*var(--midSCR_H)*/  
    }
}
.anim-out-btCheck{
    /*animation-delay: 0s;*/
    animation: 1000ms outBtCheck;
    animation-timing-function: cubic-bezier(0.4,0,0.6,1);
}
@keyframes outBtCheck {
    from {
        top: var(--btCheck_Y);      /*var(--midSCR_H)*/
    }
    to {
        top: var(--szSCR_H);        /*out SCR*/
    }
}

.anim-in-card{
    /*animation-delay: 0s;*/
    animation: 500ms inCard;
    animation-timing-function: cubic-bezier(0.4,0,0.6,1);
}
@keyframes inCard {
    from {
        top:-400px;         /*var(--szCard_H)*/
    }
    to {
        top:var(--midSCR_H);
    }
}

.anim-out-card-T{
    animation: 500ms outCard-T;
    animation-timing-function: cubic-bezier(0.4,0,0.6,1);
}
@keyframes outCard-T {
    from {
        top:var(--outY);
    }
    to {
        top: -520px;        /*var(--szCard_H) + offset*/
    }
}
.anim-out-card-B{
    animation: 500ms outCard-B;
    animation-timing-function: cubic-bezier(0.4,0,0.6,1);
}
@keyframes outCard-B {
    from {
        top:var(--outY);
    }
    to {
        top:var(--szSCR_H);
    }
}
.anim-out-card-L{
    animation: 500ms outCard-L;
    animation-timing-function: cubic-bezier(0.4,0,0.6,1);
}
@keyframes outCard-L {
    from {
        left:var(--outX);
    }
    to {
        left:-280px;       /*var(--szCard_W)*/
    }
}
.anim-out-card-R{
    animation: 500ms outCard-R;
    animation-timing-function: cubic-bezier(0.4,0,0.6,1);
}
@keyframes outCard-R {
    from {
        left:var(--outX);
    }
    to {
        left:var(--szSCR_W);
    }
}