/*
Theme Name: Porto Child CCFD 2
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/
body.wide.single .container:not(.inner-container),body.wide.archive .container:not(.inner-container),#main .container-fluid{
	padding-right:0;
	padding-left:0;
}
.text-primary{
	color:var(--porto-primary-color);
}
.text-secondary{
	color:var(--porto-secondary-color);
}
.text-quaternary, .text-quaternary a{
	color:var(--porto-quaternary-color) !important;
}
.bg-primary{
	background-color:var(--porto-primary-color);
}
.bg-secondary{
	background-color:var(--porto-secondary-color);
}
.bg-tertiary{
	background-color:var(--porto-tertiary-color);
}
.bg-quaternary{
	background-color:var(--porto-quaternary-color);
}
.text-white h3{
	color:#ffffff !important;
}
#content{
/*	*/
	margin:auto;
}
.no-breadcrumbs .main-content {
  padding-top: 0;
}

.etroit{
	max-width:800px;
	margin:auto;
}
#content.pagefull,#content.postfull{
	max-width:100%;
}
#content.postfull .etroit,#content .page-content.large,.tax-axe .content,.projet-content,.archive .large{
	max-width:1140px;
	margin:auto;
}
body.page #main .container-fluid{
	padding:0;
	Padding-bottom:6rem;
}
.blocagir .btn{
	display:flex;
	text-align:center;
	align-items:center;
	justify-content:center;
}
.btn-secondary{
	color:var(--porto-light-color);
}
.page-content h2{
	text-align:center;
	color:var(--porto-secondary-color);
	text-transform:uppercase;
}
.bicolore strong,.page-content h2 strong{
	color:var(--porto-primary-color);
	font-weight:500;
}
.fondfonce.bicolore strong{
	color:#fff;
}
.souligne_titre::after,.page-content h2::after{
	content:"";
	display:block;
	width:180px;
	height:0px;
	border-bottom:4px solid var(--porto-tertiary-color);
	margin:10px auto;
}
.bandeau-une{
min-height:75vh;
}
.bandeau{
	min-height:300px;
	background:var(--porto-primary-color);
	background-repeat:no-repeat;
	background-size:cover !important;
	background-position: 50% 50%;
	display:flex;
	align-items:end;
}
@media(min-width:1200px){
	.bandeau .conteneur{
		width:1140px;
	}
}
.bandeau .conteneur{
	min-width:800px;
	margin:0 auto;
	padding-bottom:4rem;
}
.bandeau h1{
	font-size:3rem;
	line-height:1;
	text-transform:uppercase;
}
.page .bandeau h1,.archive .bandeau h1{
	font-size:4rem;
}
.bandeau h1,.bandeau h2, .bandeau a,.bandeau time,.bandeau .infos_fondation{
	color:white;
	margin-bottom:0;
}
.bandeau time{
	font-size:0.9rem;
}
.bandeau .post_categories{
	font-size:0.8rem;
}
.bandeau .post_categories a{
	margin-right:0.5rem;
}
.fondimage{
	min-height:500px;
}
.fondimage a,.fondimage time,.fondimage .infos_fondation{
	color:	 var(--porto-primary-color);
	font-weight:bold;
}
.fondimage time{
}
.fondimage h1,.fondimage h2{
	display:inline;
	background:var(--porto-primary-color);
	padding:0 10px;
}
.titragepage{
	white-space:pre-line;
	line-height:0;
}
.ariane{
	max-width:1140px;
	margin:3rem auto;
	font-size:0.9rem;
}
.ariane a{
	color:var(--porto-secondary-color);
}
.post-content h2,.archive #content h2:not(.titre_bloc_projet,.soustitre),.archive .content h2:not(.titre_bloc_projet,.soustitre),.projet-content h2,#footer h4{
 	display: table;
        margin: 2rem auto 1rem 0;
        padding: 2px 5px;
        background-color: var(--porto-secondary-color);
        text-transform:uppercase;
        color: #fff;
}
.post-content h3:not(.porto-sicon-title),.page-content h3:not(.porto-sicon-title),.archive #content h3,.archive .content h3,.projet-content h3{
	color:var(--porto-secondary-color);
}
.post-content h4:not(.porto-sicon-title),.page-content h4:not(.porto-sicon-title),.archive #content h4,.archive .content h4,.projet-content h4{
	color:var(--porto-primary-color);
}
a{
	color:var(--porto-secondary-color);
}

.actu{
	min-height:300px;
	min-width:350px;
	background:#ddd;
	background-size:cover !important;
}
.actu a{
	min-height:300px;
}
.actu h3{
	z-index:100;
}
.actu .date{
	top:0;
	left:0;
	font-size:0.8rem;
}
#bloc-contact-sur-catcp .porto-block .wp-block-group{
	background:transparent !important;
}
#bloc-contact-sur-catcp .porto-block .wp-block-group,#bloc-contact-sur-catcp .porto-block .wp-block-group .has-light-color{
	color : var(--wp--preset--color--dark) !important;
}
#bloc-contact-sur-catcp .wp-container-1.wp-container-1 > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 1140px;
}
.archive .actu-wrapper:nth-child(odd) .bg-secondary{
	background-color:var(--porto-primary-color) !important;
}
#bandeauaxe .uagb-container-inner-blocks-wrap{
	display:block !important;
}
.box-projet{
	background-color:var(--porto-secondary-color);
	min-width:250px;
	min-height:300px;
	background-size:cover !important;
	background-blend-mode: multiply;
}
.box-page,.box-fondation{
	min-width:400px;
	min-height:360px;
}
.box-fondation{
	border:2px solid var(--porto-primary-color);
}
.box-projet::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
  background: var(--porto-secondary-color);
}
.box-projet:hover::after{
	opacity: 0.6;
	transition : all 0.4s;
}
.box-projet *{
z-index:1;
}

.grande{
	min-height:400px;
}
.overlay{
	opacity:0;
	transition: visibility 0s, opacity 0.5s linear;
	z-index:99;
	visibility:hidden;
}
.actu:hover .overlay {
	opacity:0.8;
    visibility:visible;
}
.pagination_actus .page-numbers{
	display:none;
}
.pagination_actus .prev,.pagination_actus .next{
	display:inline;
	color:var(--porto-primary-color) !important;
	font-size:2.2rem;
}
.archive .pagination_actus .prev,.archive .pagination_actus .next{
	font-size:3rem;
}
.pagination_actus .page-numbers:hover{
	opacity:0.4;
	transition : all 0.4s;
}
.pagination_actus .pagination .next:before ,.pagination_actus .pagination .prev:before {
    content: none;
}
.dropdown-menu{
	padding-left: 10px;
	padding-right: 10px;
}
.dropdown-menu .menu-item a,.archive .btn .dropdown-menu a{
	color:var(--porto-body-color-light-5);
	font-size:0.9rem;
}
#menu-menu-filtres-actus-categories{
	min-width:12rem;
}
.carousel_une article{
	padding-left:0 !important;
	padding-right:0 !important;
}
.carousel_une h3{
	background: var(--porto-primary-color) !important;
	color: white !important;
	padding:10px 20px !important;
	margin-right:0 !important;
	margin-left:0 !important;
}
.carousel_une p{
	margin-right:10px !important;
	margin-left:10px !important;	
}
#bloc-depot a{
	color:white;
	margin: auto;
        justify-content:center;
}
#bloc-depot svg{
	height:30px;
	width:30px;
	color:white;
	fill:white;
}
#blocprojets .pagination_actus{
position: absolute;
    bottom: 0;
    right: 21%;
}
.bandeau_chiffres span,#groupe_chiffres .wp-block-uagb-counter__number{
	font-size:5rem;
	line-height:1;
}
#groupe_chiffres{
	margin-top:3rem;
	margin-bottom:3rem;
}
#groupe_chiffres .wp-block-uagb-counter{
	margin-bottom:2rem;
}
#groupe_chiffres .wp-block-uagb-counter__number{
	margin-bottom:0.5rem;
}
.bandeau_chiffres :nth-child(odd) span,#groupe_chiffres :nth-child(odd) .wp-block-uagb-counter__number{
	color:var(--porto-primary-color);
}
.bandeau_chiffres :nth-child(odd) p,#groupe_chiffres :nth-child(odd) .wp-block-uagb-counter__title{
	color:var(--porto-primary-light-7);
}
.bandeau_chiffres :nth-child(even) span,#groupe_chiffres :nth-child(even) .wp-block-uagb-counter__number{
	color:var(--porto-secondary-color);
}
.bandeau_chiffres :nth-child(even) p,#groupe_chiffres :nth-child(even) .wp-block-uagb-counter__title{
	color:var(--porto-secondary-light-5);
}
#footer{
	padding-bottom:100px;
}
/**
 *	Modifs pour affichage mobile
 * **/
@media (max-width: 991px) {
  #header .header-main .header-left{
	padding-bottom:10px;
  }
  #bandeau-action-bottom{
	position:absolute;
	right:10px;
	left:10px ;
	bottom:10px ;
	flex-wrap:wrap;
  }
  #bandeau-action-bottom .wp-block-group{
	width:100% !important;
  }
  #bandeau-action-bottom .wp-block-image img{
	width:100% !important;
	height:auto !important;
  }
  #bandeau-action-bottom .wp-block-heading{
	line-height:1.2;
	text-align:center;
  }
  #bandeau-action-bottom .wp-container-36{
	position:absolute;
  }
  .page-content .bandeau-une{
	  padding-top:20px !important;
	  padding-right:0 !important;
	  padding-left:0 !important;
  }
  .actu{
	min-width:300px;
  }
  .post-content .actu{
	  min-width:280px;
  }
  .bandeau .conteneur{
	min-width:0;
  }
  .post-content,.page-content.large,.tax-axe #content,.tax-axe .content{
	padding-left:15px;
	padding-right:15px;
  }
  .fondimage{
	min-height:300px;
  }
 }
/**
	Backoffice
**/
.editor-styles-wrapper .wp-block {
margin-left:auto;
margin-right:auto;
}
