/*
CTC Separate Stylesheet
Updated: 2025-05-20 13:39:00
*/


/* PALETTE */

:root{
--principale:#2faee0;
--principaledark:#05a7e4;
--principaleddark:#016e97;
--principalelight:#68bfe0;
--principalellight:#c8e5f0;
--secondaire:#ffc22d;
--secondairedark:#ffb600;
--secondaireddark:#f1ab00;
--secondairelight:#ffd670;
--secondairellight:#fff2d2;
--tertiaire:#ff512d;
--tertiairedark:#ff2c00;
--tertiaireddark:#f12a00;
--tertiairelight:#ff8970;
--tertiairellight:#ffdad2;
--antag:#ff9a2d;
--antadark:#ff8500;
--antagddark:#f17d00;
--antaglight:#ffba70;
--antagllight:#ffe9d2;
}

html{
    font-family: Inter;
}
:root :where(.wp-block-button .wp-block-button__link){
    background-color:var(--principale) ;
    color:#FFF;
    border-color: var(--principaleddark);
    border-style: solid;
    border-width:1px;
    border-radius:5px;

}
:root :where(.wp-block-button .wp-block-button__link):hover{
    background-color:var(--principaleddark) ;
    color:#FFF;
    border-color: var(--principale);
    border-style: solid;
    border-width:1px;
    border-radius:5px;

}

.has-ti-accent-background-color{
    background-color: var(--principale) !important;
}



:root :where(.wp-block-cover h1:not(.has-text-color)), 
:root :where(.wp-block-cover h2:not(.has-text-color)), 
:root :where(.wp-block-cover h3:not(.has-text-color)), 
:root :where(.wp-block-cover h4:not(.has-text-color)), 
:root :where(.wp-block-cover h5:not(.has-text-color)), 
:root :where(.wp-block-cover h6:not(.has-text-color)), 
:root :where(.wp-block-cover p:not(.has-text-color)) {
    color:black;
}

div.wp-block-post-content p{
    text-align: justify;
}

h1.wp-block-heading, h1.wp-block-post-title, h1.wp-block-site-title{
    color:var(--principaleddark);
    margin-bottom:0.5em;
}

h1.wp-block-site-title{
    color:var(--principaleddark);
    border-style: solid;
    border-width: 5px;
    border-color: var(--antagddark);
    border-top:none;
    border-left: none;
    border-right:none

}

header{
    padding-left: calc(var(--wp--preset--spacing--30) * -1);

}

body > div.wp-site-blocks > header > div,
body > div.wp-site-blocks > main > header > div{
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: var(--wp--preset--spacing--50) !important;
    padding-bottom:var(--wp--preset--spacing--50) !important;
    border-style: solid;
    border-top-width: 5px;
    border-top-color: var(--antagddark);
    border-bottom:none;
    border-left: none;
    border-right:none;

}

nav.rank-math-breadcrumb, ul.wp-block-social-links{
    padding-left:var(--wp--preset--spacing--50);
}
nav.rank-math-breadcrumb a{
    text-decoration: none;
}
h2, h3, h4, h5, h6{
    color:var(--principaleddark);
}

.components-modal__content > div:first-of-type{
    height:auto !important;
}

main p{
    text-align:justify;

}

.mentions_rgpd{
    font-size:80%;
    font-style: italic ;
}

strong{
    color:var(--principaleddark);
    
}

div.wp-block-post-content p.has-text-align-center{
    text-align: center;
}

blockquote.wp-block-quote{
    border-color: var(--principaleddark);
    font-size: 1.3em !important;
}

.wp-block-navigation .wp-block-navigation-item__label{
    width: max-content;
    border-bottom-width: 2px;
    border-bottom-color:var(--principaleddark);
}

.wp-container-core-navigation-is-layout-9175a920 {
    border-bottom: 5px solid var(--principaleddark);
}
   
/*
WP FORMS
*/

.wpforms-form .wpforms-required-label {
    color:var(--antagddark);
    font-weight: 400;
}

 .wpforms-container-full .wpforms-form em.wpforms-error:before {
    content: '';
    position: relative;
    display: inline-block;
    right: 5px;
    top: 1.5px;
    width: 16px;
    height: 14px;
    background-color: var(--antagddark);
}

div.wpforms-container-full .wpforms-form button[type=submit]{
    background-color: var(--principaleddark) !important;
}

div.wpforms-container-full .wpforms-form button[type=submit]:hover, 
div.wpforms-container-full .wpforms-form button[type=submit]:active{
    background-color: var(--principaleddark) !important;
}