/*Pour le bloquage du scroll*/
html.blocked{
    overflow: hidden;
}

.JSPopUp + div.JSPopUpContent{
    position: fixed;
    z-index: 10;
    min-width: 200px;
    max-width: 70%;
    min-height: 150px;
    max-height: 80%;
    padding: 0 20px;
    overflow: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
    .JSPopUp + div.JSPopUpContent:not(.actif){display: none;}
    .JSPopUp + div.JSPopUpContent.actif{    display: block;}

#JSPopUp-background.actif{
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: url("../images/BackgroundPopUp.32.32.png"), rgba(0, 0, 0, 0.97);
    opacity: 0.9;
    z-index: 9;
    cursor: pointer;
    
    transition-duration: 0.3s;
}
    #JSPopUp-background:not(.actif){    display: none;}
    #JSPopUp-background.actif{          display: block;}
    #JSPopUp-background.actif:hover{
        opacity: 0.8;
        
        transition-duration: 0.3s;
    }
    
    
/* Style additionel sur le contenu des pop-up */
.JSPopUpContent > h4{
    padding: 0;
    margin: 0 0 0px 0;

    font-size: 20px;
    font-weight: normal;
    font-family: EdoSZ;
}
.JSPopUpContent > h5{
    padding: 0;
    margin: 0;
    
    font-size: 16px;
    font-weight: normal;
}

.JSPopUpContent > hr{
    width: 80%;
    height: 2px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 10px;
    border: none;
    opacity: 0.6;
}

.JSPopUpContent > p{
    text-align: justify;
}

.JSPopUpContent > iframe, .JSPopUpContent > img{
    display: block;
    margin: auto;
}