/*
Theme Name: FNAF
Theme URI: https://fr.wordpress.org/themes/twentytwentythree/
Author: JLFontaine
Author URI: https://www.jlfontaine.com
Description: Fédération Nationale des Aphasiques de France
Requires at least: 5.8
Tested up to: 5.9
Requires PHP: 5.7
Version: 0.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentythree
Text Domain: fnaf
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, rtl-language-support, theme-options, threaded-comments, translation-ready, wide-blocks
*/

#body { color: var(--wp--preset--color--custom-couleur-2) !important;}

#logo-FNAF { max-width:250px;min-width:250px;}
.wp-block-site-tagline {font-weight:700;color:#004c98;font-size:32px;line-height:1.1em;}
.div-temps-fort {min-height:100px;border-radius:0.8em;box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.35);
-webkit-box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.35);
-moz-box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.35);padding:.5em 1em;}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link {color: #004c98 !important;}
p.wp-block-site-tagline {margin-block-start: 0em; margin-block-end: .5em; }
.description-site { margin-block-start: 0rem !important; }
h4 span {font-family: var(--wp--preset--font-family--gochi-hand) !important;font-weight: normal;}
h4::after {content: ""; border-bottom:6px solid;margin-top:0px; display: block; width: 70px;}
h4.h4-ss-filet::after {border-bottom:none; }
h4 {font-size: var(--wp--preset--font-size--large);font-weight:600 !important;}
.visu-semaine-aphasie {    margin-block-start: 0rem !important;}
.sous-titre { margin-block-start: -1.2rem !important; }
.sous-titre p { font-family: var(--wp--preset--font-family--gochi-hand) !important;
font-size: var(--wp--preset--font-size--large) !important;
color: var(--wp--preset--color--base) !important;margin-block-start:0 !important;}
h1.titre-site-header a {font-family: var(--wp--preset--font-family--gochi-hand) !important;}
h6 {
    text-transform: none !important;
}
@media only screen and (min-width: 769px) {
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link:hover { color: #004c98 !important;}
}
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link { font-size:20px !important;}
.mega-indicator {display:none !important;}
.mega-menu-link {font-weight:600 !important;}
.mega-menu-link span {font-family: var(--wp--preset--font-family--gochi-hand) !important;font-weight:400 !important;font-size:28px !important;}


.sous-titre-l-aphasie {color:#fff;margin-left: 5rem;font-weight: 800 !important; font-family: Montserrat; font-size: clamp(2.25rem, 2.25rem + ((1vw - 0.48rem) * 1.442), 3rem); line-height: 1.2;line-height: .8rem; margin-block-start: 0rem !important;}
.content-intro-home { margin-block-start: 0rem !important;}
a.mega-menu-link[aria-current="page"]{ color: #004c98 !important;}
#asterix-home, #asterix-home-2 {float:none;max-width:25px;margin-left:.5rem;}

.vague-bas-bloc { margin-block-start: -4.3% !important;}
.vague-bas-bloc2 { margin-block-start: -10% !important;}
.vague-bas-bloc-3 { margin-block-start: .8% !important;}
.pas-sous-titre-2 .vague-bas-bloc-3 { margin-block-start: -4% !important;}

svg.vague-bas-bloc,svg.vague-bas-bloc2 {min-width:100%;}
.ombre-bloc {box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.35); -webkit-box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.35); -moz-box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.35);}

.illus-picto {background-image: url("https://aphasie-fnaf.fr/wp-content/uploads/2023/01/picto-FNAF.png"); background-size: 54%; background-repeat: no-repeat; background-position-x: -230px; background-position-y: -70px;}
.wp-element-button, .wp-block-button__link { background-color: #004c98; color:#fff; border-radius:1.4em;padding-left:2em !important;}
.wp-element-button, .wp-block-button__link::before { content:""; background-image: url("https://aphasie-fnaf.fr/wp-content/uploads/2023/01/flech-btn.png");background-repeat: no-repeat; background-size: 15px; background-position: 13px center;line-height: 1em;}

button.wp-block-search__button {background-image: none !important; padding: 0em !important;}

.hint {border-bottom:none !important;}
h4 { margin-block-start: 0em;
    margin-block-end: 0em;}
.hint--light.hint--top:before { border-top-color: #022e56;}
.hint--light:after { background-color:#022e56;color:#fff;}
.hint:after, [data-hint]:after {font-size:16px;border-radius: 8px;min-width: 300px; white-space: normal; line-height: 1.3em;}
.hint--top:after {left:0;}
.wp-element-button:hover, .wp-block-button__link:hover {background-color:var(--wp--preset--color--custom-couleur-2); }
.carte-france {max-width:56% !important;}

.btn-rose .wp-element-button, .btn-rose .wp-block-button__link.btn-rose::before { content:""; background-image: url("https://aphasie-fnaf.fr/wp-content/uploads/2023/01/puce-jaune2.png");background-repeat: no-repeat; background-size: 40px; background-position: center right;background-color: #e7737a; color:#fff; border-radius:1.4em;padding-left: 1em !important; padding-right: 3em !important;line-height: 1.2em;text-align: right;padding-top: 0.8em;
    padding-bottom: 0.8em;}


.btn-rose.fd-bleu .wp-element-button, .btn-rose.fd-bleu .wp-block-button__link.btn-rose::before { background-color: #004c98; }

.wp-site-blocks { padding-bottom:0 !important}

.btn-rose .wp-element-button:hover, .btn-rose .wp-block-button__link:hover {
  background-color: var(--wp--preset--color--custom-couleur-2);
}
.has-text-color2 {color:#0f3053 !important;}
.hint--top:before { left: 10%;
}
.btn-aidants .wp-element-button, .btn-aidants .wp-block-button__link { background-color: #459fdb; text-align:left;line-height: 1.2em;}
.btn-aidants .wp-element-button:hover, .btn-aidants .wp-block-button__link:hover {
  background-color: var(--wp--preset--color--custom-couleur-2);
}

.btn-pros .wp-element-button, .btn-pros .wp-block-button__link { background-color: var(--wp--preset--color--custom-couleur-4); text-align:left;line-height: 1.2em;}
.btn-pros .wp-element-button:hover, .btn-pros .wp-block-button__link:hover {
  background-color: var(--wp--preset--color--custom-couleur-2);
}
.logo-partenaire img {max-width:30% !important;}

/*.has-custom-couleur-1-color {
    color: var(--wp--preset--color--custom-couleur-2) !important;
}*/
.frize-pied-page svg {min-width:100%;}
.home .frize-pied-page { margin-block-start: -10% !important;z-index: 1; position: relative;margin-block-end: -10px;}
.frize-pied-page { position: relative;margin-block-end: -10px;}
.home .pied-page { margin-block-end: -10%;padding-top:10px;}
.dernier-pied-de-page {padding-bottom:3rem; }




@media (min-width:782px) {
.titre-desktop {display:block;}
.titre-mobile {display:none;}
.titre-sur-baniere { position: relative; margin-block-start: -13rem !important;}	
.vague-entete {position:relative !important; margin-block-start: 2rem !important;}
.pas-sous-titre-3 .vague-entete {position:relative !important; margin-block-start: -1.6% !important;}
}

@media (max-width: 781px) {
a:where(:not(.wp-element-button)) {color:#004c98 !important;}
a.wp-block-social-link-anchor {color:#fff !important;}
.titre-desktop, .sous-titre, .vague-entete, .titre-sur-baniere {display:none !important;}
h1.titre-mobile.wp-block-post-title {display:block; color:#022e56 !important;}
header i {
    padding: 0.6em !important;
	margin-left:1.5em;
}	
}





.cup {margin-top:1em !important;}

.wp-block-pb-accordion-item h5 {
                margin-bottom: -1em;
                background-color: #f3f5fb;
                padding: .5em;
                border-radius: 0.8em;
                box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.15);
                -webkit-box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.15);
                -moz-box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.15);
            }
.c-accordion__item {
    margin-block-start: 5rem !important;
}
.c-accordion__content {
    box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.15);
    -webkit-box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.15);
    padding: 1em 0.5em;
    padding: 2.5em 0.6em 1em;
    border-radius: 0.8em;
}
.c-accordion__content li, .col1 li::before, .col1 ul {
    list-style-type: disc;
    list-style: none !important;
	unicode-bidi: normal !important;
}
.c-accordion__content li:before, .col1 li:before {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 10px;
    margin-left: -25px;
    content: "";
    background-image: url(https://aphasie-fnaf.fr/wp-content/uploads/2023/01/list-style.png);
    background-size: 15px;
    background-position: left center;
    background-repeat: no-repeat;
}
.c-accordion__content li li:before, .col1 li li:before {
    display: inline-block;
    width: 25px;
    height: 15px;
    margin-right: 10px;
    margin-left: -40px;
    content: "";
    background-image: url(https://aphasie-fnaf.fr/wp-content/uploads/2023/04/fleche-liste.png);
    background-size: 25px;
    background-position: left center;
    background-repeat: no-repeat;
}

.c-accordion__title:after {
    right: 1.2em !important;
    color: #e7737a !important;
    font-weight: 800 !important;
}

blockquote {
    margin-block-start: 100px !important;
    font-weight: 800;
    text-align: center;
    margin-block-end: 100px !important;
}
blockquote::after {
    content: "";
    width: 200px;
    height: 10px;
    border-bottom: 10px solid #628ecc;
    display: inline-block;
    position: relative;
    margin-top: 1em;
    float: right;
}
blockquote::before {
    content: "";
    background-image: url(https://aphasie-fnaf.fr/wp-content/uploads/2023/01/quote.png);
    background-position: left top;
    background-size: 82px 72px;
    background-repeat: no-repeat;
    display: block;
    width: 82px;
    height: 82px;
}
blockquote p {
    font-size: clamp(1.75rem, 1.75rem + ((1vw - 0.48rem) * 0.24), 1.875rem);
    margin-block-end: 0em !important;
    margin-block-start: 0em;
}
h1.has-text-color.has-base-color.wp-block-post-title span {
    font-family: var(--wp--preset--font-family--gochi-hand) !important;
    font-size: 60px !important;
}
h1.titre-l-aphasie { font-family: var(--wp--preset--font-family--gochi-hand) !important; margin-left: 5rem;
    font-weight: 400 !important;
    font-size: 60px; line-height: 3.5rem;}

.wp-block-post-title {
    font-weight: 800 !important;
}
ol {
    padding-inline-start: 0px !important;
}
.breadcrumb-container.theme1 li:first-child a {
    margin-left: 0 !important;
    padding-left: 0 !important;
}
.portrait {-webkit-transition-duration: .5s; -moz-transition-duration: .5s; -o-transition-duration: .5s; -ms-transition-duration: .5s; transition-duration: .5s; padding: 0.5rem !important;}
.portrait:hover, .bloc-bleu {
                background-color: #f3f5fb;
                border-radius: 0.8em;
                box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.15);
                -webkit-box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.15);
                -moz-box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.15);
}
.bloc-bleu {padding: 1rem !important;}
.portrait-conseil { background-image: url(https://aphasie-fnaf.fr/wp-content/uploads/2023/04/fond-portrait-1.png);
    background-position: center center;
    background-size:contain;
    background-repeat: no-repeat; min-height: 190px;}
.portrait-conseil.deux { background-image: url(https://aphasie-fnaf.fr/wp-content/uploads/2023/04/fond-portrait-2.png);
    background-position: center center;
    background-size:contain;
    background-repeat: no-repeat; }
.portrait-conseil.trois { background-image: url(https://aphasie-fnaf.fr/wp-content/uploads/2023/04/fond-portrait-3.png);
    background-position: center center;
    background-size:contain;
    background-repeat: no-repeat; }
.portrait-conseil.quatre { background-image: url(https://aphasie-fnaf.fr/wp-content/uploads/2023/04/fond-portrait-4.png);
    background-position: center center;
    background-size:contain;
    background-repeat: no-repeat; }


.portrait-conseil img {border-radius:50%;max-width:150px;min-width:150px;height:auto;}

cite {display: inherit;}
li.breadcrumb-item {font-size:.9rem;}
li.breadcrumb-item a {color:#628ecc !important;text-decoration:none;}
li.breadcrumb-item a:hover {color:#022e56 !important;}

.wp-block-quote.citation-congres {
    padding-right: 0 !important;
    padding-left: 0 !important;
	margin-block-start: 30px !important;
	margin-block-end: 0px !important;
	margin-inline-start: 0px; !important;
}
blockquote p { line-height: initial; }


.sidebar-lafnaf .liens a {content: "";
    background-image: url(https://aphasie-fnaf.fr/wp-content/uploads/2023/04/puce-jaune-gauche.png);
    background-repeat: no-repeat;
    background-size: 40px;
    background-position: center left;
    background-color: var(--wp--preset--color--custom-couleur-4);
    color: #fff !important;
    border-radius: 1.4em;
    padding-left: 3em !important;
    padding-right: 1em !important;
    line-height: 1.2em;
    text-align: left;
    padding-top: 0.8em !important;
    padding-bottom: 0.8em !important;}

.sidebar-lafnaf .liens a[aria-current]:not([aria-current="false"]) {
    background-color: #e7737a !important;
}
.sidebar-lafnaf .liens a:hover {
    background-color: var(--wp--preset--color--custom-couleur-1); text-decoration:none;
    }
.encart-sidebar {padding: 0.75rem !important; border-radius: 0.8em;
                box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.15);
                -webkit-box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.15);
                -moz-box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.15);}
footer a {color:#fff !important;}

ul.mega-sub-menu ul.mega-sub-menu ul li.mega-menu-column:nth-child(2) {border-right:#000 solid 1px !important; border-left:#000 solid 1px !important;}
.wp-block-post-content a:where(:not(.wp-element-button)) {
    color: var(--wp--preset--color--custom-couleur-1);
}
.pas-sous-titre .sous-titre-l-aphasie, .pas-sous-titre-2 .sous-titre-l-aphasie, .pas-sous-titre-3 .sous-titre-l-aphasie,
.pas-sous-titre .sous-titre p, .pas-sous-titre-2 .sous-titre p, .pas-sous-titre-3 .sous-titre p {color:transparent !important;}

.formcontact input.wpcf7-submit { background-color: #459fdb; text-align:left;line-height: 1.2em;
    color: #fff !important;
    border: none !important;
    padding: 10px !important;
    cursor: pointer !important;
    width: auto !important;padding:1rem;font-family: Montserrat;font-size:24px;}
.formcontact input.wpcf7-submit:hover, .formcontact input.wpcf7-submit:active { background-color:var(--wp--preset--color--custom-couleur-2);} 

.formcontact input.wpcf7-text, .formcontact textarea.wpcf7-textarea, .wp-block-post-comments-form textarea, .wp-block-search__input {font-size:18px;width:100%;padding:1rem;font-family: Montserrat; border-color:#f3f5fb; background-color: #fff; border-style: solid;
    border-radius: 0.8em;
    box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.15);
    -webkit-box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.15);
    -moz-box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.15);color: var(--wp--preset--color--custom-couleur-2) !important;border-width: 2px;}

.Sidebar-article ul {padding:0;}
.Sidebar-article ul li {list-style:none;margin:1rem 0;}

.Sidebar-article ul li a { content:""; background-image: url("https://aphasie-fnaf.fr/wp-content/uploads/2023/01/puce-jaune2.png");background-repeat: no-repeat; background-size: 40px; background-position: center right;background-color: #e7737a; color:#fff !important; border-radius:1.4em;padding-left: 1em !important; padding-right: 3em !important;line-height: 1.2em;text-align: right;padding-top: 0.8em; padding-bottom: 0.8em; text-decoration:none;display:block;}

.Sidebar-article ul li a::before { }


.Sidebar-article ul li a:hover, .Sidebar-article ul li a:active {
  background-color: var(--wp--preset--color--custom-couleur-2);
}

.bloc-archive {border-radius:0.8em;box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.35);
-webkit-box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.35);
-moz-box-shadow: 0px 1px 19px 0px rgba(0,0,0,0.35);margin-right: 1em;background-color: #fff;}
.bloc-archive .wp-block-post-title {padding: 0rem 1rem;}
.bloc-archive .wp-block-post-date {padding:0em 1em 1em 1em; margin-block-start: 0rem;}
.bloc-archive .taxonomy-category {padding: 0rem 1rem;}
.bloc-archive .taxonomy-category a {text-decoration:none;color:#e7737a;text-transform:uppercase;}
.bloc-archive figure.wp-block-post-featured-image img {border-top-left-radius:0.8em !important; border-top-right-radius:0.8em !important;}

.wp-element-button:visited, .wp-block-button__link:visited {color:#fff !important;}
footer i, header i {color:#fff;}
header i {background-color:#004c98;padding: 0.5em; border-radius: 50%;}



.hint--light.hint--left:before {
    border-left-color: #022e56;
}

.wp-block-social-links:not(.is-style-logos-only) .wp-social-link-facebook {color:#fff !important;}