/*
Theme Name:     AFEFTheme
Theme URI:      https://www.afef.org
Description:    Thème de l'AFEF
Author:         NT Conseil
Author URI:     https://www.ntconseil.com
Template:       twentytwentyone
Version:        1.0.0
*/

/*body:not(.home) header{margin-bottom: 100px;}*/
#header_adherer img{display: inline-block;}
#header_logo{left: 30px; top: 0px; position: absolute;}
#header_logo img{max-width: 75%;}
@media screen and (min-width: 1025px) and (max-width: 1699px){
	#header_logo{top: 50px;}
	#header_menu .menu-item a.hfe-menu-item{font-size:20px !important;}
}
@media screen and (min-width: 1700px){
	#header_logo img{max-width: 65%; top: 0px}
	#header_menu .hfe-nav-menu{flex-wrap: nowrap;}	
	#header_menu .menu-item a.hfe-menu-item{font-size:25px !important;}
}
@media screen and (min-width: 1800px){
	#header_logo img{max-width: 85%; top: 0px}
}


/*
@media screen and (min-width: 1025px){
	#header_logo{top: 80% !important;}	
}
@media screen and (min-width: 1850px){
	#header_logo{top: -25% !important;}	
}*/

.ombre{text-shadow: 0px -5px 10px rgba(0,0,0,0.7); }
.ombre_separateur .elementor-divider span{box-shadow: 0px 0px 5px rgba(0,0,0);}

@media screen and (min-width: 768px){
	#derniere_lettre{width:350px;}	
}
@media screen and (min-width: 1200px){
	#derniere_lettre{width:200px;}	
}
@media screen and (min-width: 1280px){
	#derniere_lettre{width:230px;}	
}
@media screen and (min-width: 1360px){
	#derniere_lettre{width:250px;}	
}
@media screen and (min-width: 1440px){
	#derniere_lettre{width:300px;}	
}
@media screen and (min-width: 1600px){
	#derniere_lettre{width:350px;}	
}
@media screen and (min-width: 1750px){
	#derniere_lettre{width:400px;}	
}
#derniere_lettre img{border-radius: 20px 20px 0px  0px;}
#derniere_lettre .sp-pcp-post .sp-pcp-post-content .sp-pcp-readmore{text-align: right;}
#derniere_lettre .pcp-readmore-link{font-family: 'Roboto'; font-size:26px;  text-transform: unset;}

#home_slider_actu .pcp-button-next.top_left{top:63%; right: -5%; font-size:70px; color: black;}
#home_slider_actu .pcp-button-prev.top_left{top:63%; left: -3%; font-size:70px; color: black;}
#home_slider_actu .pcp-button-prev.top_left:after, #home_slider_actu .pcp-button-next.top_left:after{display:none;}
#home_slider_actu .sp-pcp-post-thumb-area{max-height: 260px;}
#home_slider_actu img{border-radius: 20px 20px 0px  0px;}
#home_slider_actu .sp-pcp-post .sp-pcp-title, #home_slider_actu .sp-pcp-post .sp-pcp-title a{font-family: 'Roboto'; font-size: 20px; letter-spacing:1px;}
#home_slider_actu .sp-pcp-post .sp-pcp-post-content .sp-pcp-readmore{text-align: right;}
#home_slider_actu .pcp-readmore-link{font-family: 'Roboto'; font-size:26px;  text-transform: unset;}

.swiper-button-next, .swiper-button-prev
#home_slider_revue .pcp-button-next.top_left{top:60%; right: -5%; font-size:70px !important; color: black;}
#home_slider_revue .pcp-button-prev.top_left{top:60%; left: -3%; font-size:70px !important; color: black;}
@media screen and (min-width: 768px){
	#home_slider_revue .pcp-button-prev.top_left{top:60%; left: 0%; font-size:70px !important; color: black;}
}
#home_slider_revue .pcp-button-prev.top_left:after, #home_slider_revue .pcp-button-next.top_left:after{display:none;}
#home_slider_revue .sp-pcp-post-thumb-area:before{content: "\f518"; font-family: "FontAwesome"; font-size: 35px; display: block; text-align: right; padding-right: 10px;}
@media screen and (max-width:767px){
	#home_slider_revue .sp-pcp-post-thumb-area:before{text-align: left; padding-left: 10px;}	
}
#home_slider_revue img{box-shadow: 0px 0px 10px 2px rgba(0,0,0,0.5); margin: 10px; max-width: 90%;}

article header h1{padding-left : 25px;}
.singular .entry-header, .page-header{border-bottom: solid 1px #0066CC !important; padding-bottom: 20px !important;}
.singular .entry-title{font-size: 50px !important; color: #0066CC !important; font-weight: bold; !important;}
h1.page-title{font-size: 50px !important; color: #0066CC !important; font-weight: bold; !important; padding-left: 25px;}
@media screen and (min-width: 1025px) and (max-width: 1699px){
	h1.page-title{padding-left: 250px; }
	h1.entry-title{padding-left: 250px; }
}
h2{font-size: 40px ; color: #0066CC !important; font-weight: bold; !important;}
.titre_clair h2{color: #FFFFFF !important;}
h3{font-size: 30px ; color: #0066CC !important; font-weight: bold; !important;}
.titre_clair h3{color: #FFFFFF !important;}
h4{font-size: 26px ; color: #0066CC !important; font-weight: bold; !important;}
.titre_clair h4{color: #FFFFFF !important;}

p{margin-bottom:16px !important;}
body:not(.home) p a{color: #0066CC !important; text-decoration: underline !important;}
header#masthead p a{color: unset !important; text-decoration: none !important;}

.entry-footer .byline{display:none;}

#footer_menu{column-count: 2;}
#footer_menu .sub-menu{visibility: visible !important; opacity: 1 !important; position: relative !important; height: auto !important;}
#footer_menu a span.sub-arrow { display: none;}
#footer_menu li.menu-item{break-inside: avoid-column;}
#footer_icones .elementor-icon-list-icon{margin-left: 20px;}
#footer_icones .elementor-icon-list-items .elementor-icon-list-item, #footer_icones .elementor-icon-list-items .elementor-icon-list-item a{flex-direction: row-reverse;}
@media screen and (min-width: 768px){
	#footer_menu{column-count: 4;}	
	#footer_icones .elementor-icon-list-icon{margin-left: 40px;}
}

#footer_social_links a{color: white !important; font-size:50px;}

.wpr-timeline-content-wrapper ul li{list-style: disc;}

nav.post-navigation{display: none;}

body.archive article{display: flex; padding: 10px 20px; margin-bottom: 30px; flex-direction: column;}
@media screen and (min-width: 1440px){
	body.archive article{flex-direction: row;}
	body.archive article header{width: 25%;}
	body.archive article .entry-content{width:65%;}
	body.archive article footer{ width: 10%;}
}
@media screen and (min-width: 1700px){
	body.archive article{padding: 10px 260px; }
}
body.archive article:after{content: " "; width:50%; border-bottom: solid 1px #0066CC; position: absolute; left: 25%;}
body.archive .hfeed article:nth-child(3):after{border-bottom: none !important;}

body.single-post .entry-content, body.search-results .entry-content p, body.search-results h2.entry-title{margin-left: auto; margin-right: auto; max-width: var(--responsive--alignwide-width) !important;}

.pagination{border-top: solid 3px #0066CC !important;}

/*** La lettre de l'AFEF ***/
.titre_section_newsletter h2{color: white !important;}