/*
Theme Name: Twenty Twenty-Four - Child Theme
Author: Twentig
Author URI: https://twentig.com/
Description: A child theme for Twenty Twenty-Four.
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour-child
Template: twentytwentyfour
*/
:where(.wp-site-blocks *:focus){outline-width:2px;outline-style:solid}
body{
    background-image :url(https://mhplans.fr/wp-content/uploads/2024/12/clear-white-plaster-texture-pattern-scaled.jpg);
    background-size: contain;
    background-repeat: repeat-y;
}
:where(figure):not(.aligncenter){
    margin-right:0!important;
}
/* hamburger open */
html.has-modal-open {
    overflow: auto!important;
}
/* bouton */
.wp-block-button__link.wp-element-button:hover{
    background-color:#6CC551!important;
    border-color:#6CC551!important
}
/* Elements graphiques */
.sep-tiret{
    width:100%;
    height:8px;
    background:url(https://mhplans.fr/wp-content/uploads/2024/12/separateur-tirets.svg) repeat-x;
}
.sep-tiret-blanc{
    width:100%;
    height:8px;
    background:url(https://mhplans.fr/wp-content/uploads/2024/12/separateur-tirets-blanc-b.svg) repeat-x;
}

.sep-titre-left{
    background:url(https://mhplans.fr/wp-content/uploads/2024/12/separateur-titre-left.svg) no-repeat;
    width:120px;
    height:20px;
    padding:1rem 0;
    background-position:center;
    margin-left: 0!important;
    margin-right: auto!important;
}
.sep-titre-right{
    background:url(https://mhplans.fr/wp-content/uploads/2024/12/separateur-titre-right.svg) no-repeat;
    width:120px;
    height:20px;
    padding:1rem 0;
    background-position:center;
    margin-right: 0!important;
    margin-left: auto!important;
}
.sep-titre-left.no-pt{
    padding-top:0!important;
}

.sep-titre{
    margin:auto;
    text-align:center;
    width:120px;
    height:20px;
    padding:1rem 0;
}
.sep-titre:not(.blanc){
    background:url(https://mhplans.fr/wp-content/uploads/2024/12/separateur-titre.svg) no-repeat;
    background-position:center;
}
.sep-titre.blanc{
    background:url(https://mhplans.fr/wp-content/uploads/2024/12/separateur-titre-blanc.svg) no-repeat;
    background-position:center;
}
.bt-fleche::after{
    content: "";
    display: block;
    position: relative;
    top: -1.2rem;
    right: -5rem;
    height: 20px;
    background: url(https://mhplans.fr/wp-content/uploads/2024/12/fleche-thin.svg) no-repeat;
    transform: rotate(-12deg);
    -webkit-transform: rotate(-12deg);
    -moz-transform: rotate(-12deg);
    -ms-transform: rotate(-12deg);
    transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -ms-transition: all 0.5s ease-out;
}
.bt-fleche:hover::after{
    right: -6rem;
    top: -1.4rem;
    transform: rotate(-20deg);
    -webkit-transform: rotate(-25deg);
    -moz-transform: rotate(-20deg);
    -mos-transform: rotate(-20deg);
}
.cadre.wp-block-group {
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='black' stroke-width='1' stroke-dasharray='12%2c 20%2c 40%2c20' stroke-dashoffset='36' stroke-linecap='square'/%3e%3c/svg%3e")!important;
}
.cadre-blanc.wp-block-group {
    background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='white' stroke-width='1' stroke-dasharray='12%2c 20%2c 40%2c20' stroke-dashoffset='36' stroke-linecap='square'/%3e%3c/svg%3e")!important;
}
@media only screen and (min-width: 1300px) {
    .cadre, .cadre-blanc {
        max-width: 290px;
    }
}
/* gestion content fixe menu*/
.entry-content{
    margin-top:9rem!important;
}
/* gestion responsive */
@media only screen and (max-width:767px){
    p.texte-medium{
        font-size:1.1rem!important;
        margin-top:10px;
    }
    h3.wp-block-heading{
        font-size:1.3rem!important;
    }
    h3 br{
        display:none;
    }
    .wp-block-site-logo img {
        width: 100px;
    }

}
@media only screen and (max-width:780px) {
    .entry-content {
        margin-top: 1rem !important;
    }
}

@media only screen and (max-width:1180px){
    .col-logo p{
        font-size:1rem!important;
    }
    header .o-hide-on-mobile.o-hide-on-tablet{
        display:none;
    }
    header .o-hide-on-desktop{
        display:flex!important;
    }
    header .wp-block-navigation__responsive-container.is-menu-open{
        padding-right:2rem;
        padding-left:2rem;
    }
    header .wp-block-navigation__responsive-container-close {
        top: 2.5rem;
    }
    header .ticss-bf56190a,header .ticss-9d148582 {
        flex: 0 0 30%!important;
    }

}
.wp-block-navigation .wp-block-navigation__responsive-dialog .has-child .wp-block-navigation__submenu-container{
    padding:0 1rem!important;
    outline:none!important;
    border:none!important;
}
.wp-block-navigation .wp-block-navigation__responsive-dialog .has-child .wp-block-navigation__submenu-container:focus,
.wp-block-navigation .wp-block-navigation__responsive-dialog .has-child .wp-block-navigation__submenu-container:hover{
    outline:none!important;
    border:none!important;
}
@media only screen and (min-width:900px) and (max-width:1180px){
    .wp-block-navigation__responsive-container{
        bottom:auto!important;
    }
}

@media only screen and (min-width:1181px) and (max-width:1345px){
    .col-logo p{
        font-size:1rem!important;
    }
    nav ul, nav ul li{
        font-size:.75rem!important;
    }
}
/* gestion large screens */
/* max-width 2 colonnes */
@media only screen and (min-width:1440px){
    .max-width{
        gap: 9rem!important;
    }
    .max-width .wp-block-column{
        max-width:650px;
    }
    .max-width .wp-block-column:first-child{
        margin-right:0;
        margin-left:auto;
    }
    .max-width .wp-block-column:nth-child(2){
        margin-left:0;
        margin-right:auto;
    }
}

/* Formulaire */
.wpforms-container input.wpforms-field-medium, .wpforms-container select.wpforms-field-medium, .wpforms-container .wpforms-field-row.wpforms-field-medium, .wp-core-ui div.wpforms-container input.wpforms-field-medium, .wp-core-ui div.wpforms-container select.wpforms-field-medium, .wp-core-ui div.wpforms-container .wpforms-field-row.wpforms-field-medium{
    min-width:100%!important;
}
div.wpforms-container-full button[type=submit]{
    border-top-left-radius: 20px!important;
    border-top-right-radius: 0px!important;
    border-bottom-left-radius: 0px!important;
    border-bottom-right-radius: 20px!important;
}

/*
@media only screen and (min-width:1281px){
    .padd-big-screen{
        padding-right:12.5rem!important;
        padding-left:12.5rem!important;
    }

}
@media only screen and (min-width:768px){
    .has-global-padding {
        padding-right: 4rem;
        padding-left: 4rem;
    }
}*/


/* Gestion slider */
/*.is-layout-constrained > .n2-section-smartslider{
max-width:100%!important;
}*/

