/*
Theme Name: ARPS - La grange batelière
Theme URI: https://interlude-sante.com
Author: Interlude Santé
Author URI: https://interlude-sante.com
Description: Thème de démarrage Full Site Editing pour les projets Interlude Santé. Basé sur le thème "FSE Capitaine WP Advanced" par Capitaine WP.
Requires at least: 6.5
Tested up to: 6.5
Requires PHP: 8.0
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: interlude-starter
*/


:root {
    color-scheme: light dark;
}
*{
    box-sizing: border-box;
}
body{
    background-color: var(--wp--preset--color--neutral);
    overflow-x: hidden;
}
.hide{
    display:none!important;
}
.visible{
    display: block;
}
.visibility-hidden{
    visibility: hidden!important;
}
@media screen and (max-width: 1199px) {
    .hide-on-mobile {
        display: none!important;
    }
    .hide-on-desktop.accueil{
       background-color: var(--wp--preset--color--primary-back)!important;
    }
}

@media screen and (min-width:1200px){
    .hide-on-desktop {
        display: none!important;
    }
}
header .wp-block-template-part{
    margin-block-start: 0;
}
/* Retirer le margin-top du footer */
footer.wp-block-template-part {
    margin-top: 0 !important;
}

/* Retirer le margin-top du main */
main.wp-block-group,
main.wp-block-post-content {
    margin-top: 0 !important;
}

.modal{
    min-height:100vh;
    overflow-y: auto;
    width: 100vw;
    position: fixed;
    align-items: center;
    justify-content: center;
    z-index:999999999;
    top:0;
    left:0;
    margin-inline:0;
}
.modal.visible{
    display:flex;
}
.modal.hide{
    display:none;
}
.modal-content{
    position: relative;
    z-index:9;
    max-height: 90vh;
    max-width: calc(100% - 150px)   ;
    overflow-y: auto;
}
.modal-content::-webkit-scrollbar {
    width: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--wp--preset--color--secondary-back);
    border-radius: 999px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}
.modal-closed{
    position: absolute;
    inset:0;
    z-index:0;
}
