/*

 Theme Name:   Divi Child

 Theme URI:    http://example.com/twenty-fifteen-child/

 Description:  Divi Child super theme

 Author:       John Doe

 Author URI:   http://example.com

 Template:     Divi

 Version:      1.0.0

 License:      GNU General Public License v2 or later

 License URI:  http://www.gnu.org/licenses/gpl-2.0.html

 Tags:         Responsive

 Text Domain:  divi-child

*/

@import url("https://use.typekit.net/hby5vvc.css");

*, a,abbr,acronym,address,applet,b,big,blockquote,body,center,cite,code,dd,del,dfn,div,dl,dt,em,fieldset,font,form,html,i,iframe,img,ins,kbd,label,legend,li,object,ol,p,pre,q,s,samp,small,span,strike,strong,sub,sup,tt,u,ul,var{
    font-family: "din-2014", sans-serif;
    font-weight: 400;
    font-style: normal;
}

h1, h2, h3, h4, h5, h6, h1 span, h2 span, h3 span, h4 span, h5 span, h6 span, h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, strong, b{
/*    font-family: "din-2014-bold", sans-serif;*/
    font-weight: 700;
    font-style: normal;
}

small{
	font-size: smaller;
}

.jaune h4 span, .jaune h3 span, .jaune h2 span, .jaune h1 span{
    color: #FF9D00;
}

.vert h4 span, .vert h3 span, .vert h2 span, .vert h1 span{
    color: #006B56;
}

.bleu h4 span, .bleu h3 span, .bleu h2 span, .bleu h1 span{
    color: #1B67EA;
}

.rouge h4 span, .rouge h3 span, .rouge h2 span, .rouge h1 span{
    color: #AD142E;
}

.clair h4 span, .clair h3 span, .clair h2 span, .clair h1 span{
    color: #98E268;
}

.et_pb_post{
    margin-bottom: 20px;
}

a.more-link{
    padding: 15px 0;
}

/*Header*/
#main-header{
    box-shadow: none;
    background: transparent;
}

.et_header_style_left .logo_container:before{
    content: "";
    width: 230px;
    height: 200px;
    display: block;
    background-color: #FF9D00;
    position: absolute;
    top: -40px;
    left: -70px;
}

.logo_container a{
    margin-left: -40px;
}

/*Mega Menu*/


#main-header .container{
	max-width: 1200px;
}

#top-menu li{
    padding: 10px 5px;
    max-height: 60px;
}

#top-menu li li{
    max-height: 100%;
}

#top-menu .menu-item:after, .menu-item-113:after{
    width: 100%;
    display: block;
    height: 3px;
    content: '';
    position: relative;
    top: -40px;
}

.menu-item-113 a{
    font-weight: 700;
}

.menu-item-113:after{
    top: 0;
    width: calc(100% + 25px);
    left: -23px;
}

.menu-item-113:before{
    content: "\e090";
    font-family: ETmodules!important;
    font-size: 17px;
    left: -23px;
    position: absolute;
    top: 0;
}

#et_search_icon:before{
    font-size: 22px;
    top: 14px;
}

.menu-item-198 .sub-menu, .menu-item-198:after, .menu-item-198.current-menu-ancestor{
    background-color:#006B56!important;
}

.menu-item-193 .sub-menu, .menu-item-193:after, .menu-item-193.current-menu-ancestor, .menu-item-113:after{
    background-color:#FF9D00!important;
}

.menu-item-199 .sub-menu, .menu-item-199:after, .menu-item-199.current-menu-ancestor, .menu-item-1151 .sub-menu, .menu-item-1151:after, .menu-item-1151.current-menu-ancestor{
    background-color:#AD142E!important;
}

.menu-item-200 .sub-menu, .menu-item-200:after, .menu-item-200.current-menu-ancestor{
    background-color:#1B67EA!important;
}

.menu-item-204 .sub-menu, .menu-item-204:after, .menu-item-204.current-menu-ancestor{
    background-color:#98E268!important;
}

#top-menu li.current-menu-ancestor>a, #top-menu .current-menu-ancestor>a:first-child:after, #et-secondary-nav .current-menu-ancestor>a:first-child:after{
    color: #fff!important;
}

#top-menu .current-menu-ancestor>a:first-child:after, #et-secondary-nav .current-menu-ancestor>a:first-child:after{
    transform: rotate(180deg);
}

.menu-item-192 a, .menu-item-210 a, .menu-item-211 a, .menu-item-1028 a{
    font-size: 13px!important;
    border:3px solid #006B56;
    padding: 10px;
    padding-bottom: 10px!important;
}

.menu-item-210 a{
    background-color: #006B56;
    color: #fff!important;
}

.menu-item-211 a, .menu-item-1028 a{
    border:3px solid #FF9D00;
    font-weight: 700;
}

.menu-item-1028 a{
    background-color: #FF9D00;
}


#top-menu li{
    position: initial;
}

.nav li ul{
    left: 0;
    width: 100%;
    top: 121px;
    padding: 0 50px;
    border-top: 0;
}


#top-menu li li{
    display: inline-block;
    width: 100%;
    line-height: 1.3em;
}

#top-menu li li a{
    width: 50%;
    color: #fff;
    font-size: 18px;
}

#top-menu li li li a{
    width: 100%;
    font-size: 18px;
    font-weight: normal;
}

.nav li li ul{
    left: 50%;
    width: 50%;
    top: 0;
}


#top-menu li li:first-child>a{
    padding-top: 60px;
}

#top-menu li li:last-child>a{
    padding-bottom: 60px;
}

#top-menu li .menu-item-has-children>a:first-child:after{
    position: initial;
}

.sub-menu{
    min-height: 300px;
}


/*Home*/
#centres{
    z-index: 1;
}

/*Page asso*/

.page-id-144 .et_pb_blurb_description, .et_pb_blurb_description{
    padding: 0 20px 20px;
}


/*Page magazine*/
.page-id-162 .et_pb_blurb_container{
    display: flex;
    flex-wrap:wrap;
}

.page-id-162 .et_pb_module_header{
    order: 2;
}

.page-id-162 .et_pb_main_blurb_image, .page-id-162 .et_pb_main_blurb_image img, .home .et_pb_main_blurb_image, .home .et_pb_main_blurb_image img{
    width: 100%;
}


.magazines > div {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.magazines .entry-title{
    display: none;
}

.magazines .post-content .et_pb_section, .magazines .post-content .et_pb_section .et_pb_row{
    padding: 0;
    width: 100%;
}

.magazines .post-content .et_pb_section h3{
    font-size: 22px;
}


.magazines .entry-featured-image-url{
    pointer-events: none;
}
/*Actus*/

.actus .et_pb_post .entry-featured-image-url{
    border:9px solid #006B56!important;
}

.actus .et_pb_post.vert .entry-featured-image-url{
    border-color:#006B56!important;
}

.actus .et_pb_post.bleu .entry-featured-image-url{
    border-color:#1B67EA!important;
}

.actus .et_pb_post.rouge .entry-featured-image-url{
    border-color:#AD142E!important;
}

.actus .et_pb_post.jaune .entry-featured-image-url{
    border-color:#FF9D00!important;
}

.actus .et_pb_post.clair .entry-featured-image-url{
    border-color:#98E268!important;
}

.et_pb_all_tabs .et_pb_row{
    max-width: 100%!important;
    width: 100%!important;
}

.et_pb_all_tabs .et_pb_image_container{
    margin: 0;
}

.et_pb_all_tabs .et_pb_blog_grid .et_pb_post{
    padding: 0;
}

@media (min-width: 980px) {
.et_pb_all_tabs .et_pb_salvattore_content[data-columns]::before, .actus .et_pb_salvattore_content[data-columns]::before{
    content: '4 .column.size-1of4' !important;
}


@media only screen and ( min-width: 981px ) {
    .et_pb_all_tabs .column.size-1of4, .actus .column.size-1of4{
        width: 23%!important;
        margin-right: 2%;
    }
}}

.actus .et_pb_salvattore_content{
    display: flex;
}

.actus .et_pb_salvattore_content .column.size-1of4{
    border-bottom: 14px solid transparent;
}

.column.size-1of4.rouge{
    border-color: #AD142E!important;
}

.column.size-1of4.vert{
    border-color: #006b56!important;
}

.column.size-1of4.bleu{
    border-color: #1B67EA!important;
}

.column.size-1of4.jaune{
    border-color: #FF9D00!important;
}

.column.size-1of4.clair{
    border-color: #98E268!important;
}

ul.et_pb_tabs_controls{
    background-color: transparent;
}

.et_pb_tabs_controls li, .et_pb_tabs{
    border:none!important;
}

ul.et_pb_tabs_controls:after{
    border-top: 3px solid #d9d9d9;
    top: 30px;
}

.et_pb_blog_grid .et_pb_post{
    border:none;
}

.pub-poster{
/*    min-height: 410px;*/
    background-size: cover;
    background-position: center center;
    padding: 110px 50px;
}

.pub-name{
    font-size: 50px;
    color: #fff;
    line-height: 1;
    max-width: 50%;
}

.pub-poster .et_pb_button, .pub-poster .et_pb_button:hover{
    background-color: transparent!important;
}

/*Single article*/
.single .et_pb_title_featured_container .et_pb_image_wrap{
    max-height: 500px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-content: space-around;
}


.single .et_pb_title_container{
    max-width: 80%;
    margin-left: 10%;
    background-color: #fff;
    padding: 60px 40px;
    margin-top: -80px;
}

.single .et_pb_title_container:after{
    content: "";
    width: 180px;
    height: 15px;
    display: block;
    margin:0 auto;
    background-color: #006B56;
    margin-top: 60px;
}

.single .auteur .et_pb_title_container:after{
    margin-top: -75px;
}


.single.bleu .et_pb_title_container:after{
    background-color: #1B67EA;
}

.single.rouge .et_pb_title_container:after{
    background-color: #AD142E;
}

.single.jaune .et_pb_title_container:after{
    background-color: #FF9D00;
}

.single.clair .et_pb_title_container:after{
    background-color: #98E268;
}

.single #main-content .et_pb_image:not(.pourquoi) .et_pb_image_wrap{
    box-shadow: 25px -25px 0px 0px #006B56;
}

.single.bleu #main-content .et_pb_image:not(.pourquoi) .et_pb_image_wrap{
    box-shadow: 25px -25px 0px 0px #1B67EA;
}

.single.rouge #main-content .et_pb_image:not(.pourquoi) .et_pb_image_wrap{
    box-shadow: 25px -25px 0px 0px #AD142E;
}

.single.jaune #main-content .et_pb_image:not(.pourquoi) .et_pb_image_wrap{
    box-shadow: 25px -25px 0px 0px #FF9D00;
}

.single.clair #main-content .et_pb_image:not(.pourquoi) .et_pb_image_wrap{
    box-shadow: 25px -25px 0px 0px #98E268;
}

.single.vert .backColor{
    background-color: #006B56;
}

.single.bleu .backColor{
    background-color: #1B67EA;
}

.single.rouge .backColor{
    background-color: #AD142E;
}

.single.jaune .backColor{
    background-color: #FF9D00;
}

.single.clair .backColor{
    background-color: #98E268;
}

.single .et_pb_section:not(.pourquoiAdherer):not(.actus) h3{
    font-size:22px;
    color: #006B56;
}

.single.bleu .et_pb_section:not(.pourquoiAdherer):not(.actus) h3{
    color: #1B67EA;
}

.single.rouge .et_pb_section:not(.pourquoiAdherer):not(.actus) h3{
    color: #AD142E;
}

.single.jaune .et_pb_section:not(.pourquoiAdherer):not(.actus) h3{
    color: #FF9D00;
}

.single.clair .et_pb_section:not(.pourquoiAdherer):not(.actus) h3{
    color: #98E268;
}

.et_pb_posts_nav.et_pb_post_nav_0_tb_body span a, .et_pb_posts_nav.et_pb_post_nav_0_tb_body span a span{
    text-decoration: underline;
}


/*Nos référents*/

.referents{
    display: flex;
    flex-direction: row;
    flex-wrap:wrap;
}

.referent{
    width: 25%;
    padding: 10px;
}

.referent .nom, .referent .departement{
    font-size: 26px;
    font-weight: 600;
    padding-bottom: 0;
}

.referent .departement{
    font-size: 20px;
}

.referent .departement{
    color: #fff;
    font-size: 21px;
}

.referent .imgCentre img{
    border: 1px solid #000;
}

.referent .nom.centre{
    font-size: 22px;
}

.referent p{
    padding-bottom: 0;
}

.referent .ref{
    font-weight: bold;
    font-size: 18px;
}

.referent  img{
	max-width: 250px;
}

.search-filter-results .nav-previous a, .search-filter-results .nav-next a{
    font-size: 25px;
    border: 2px solid #000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    display: block;
    margin-left: 10px;
}

.search-filter-results .nav-previous{
    float: right;
}

.searchandfilter label, .searchandfilter select.sf-input-select, .chosen-container-single .chosen-single{
    width: 100%;
    color: #000;
    font-size: 16px;
    font-weight: 600;
}

.searchandfilter select.sf-input-select, .chosen-container-single .chosen-single{
    border: 2px solid #000;
}

.searchandfilter select.sf-input-select option{
    font-weight: 600;
}

.chosen-container-single .chosen-single{
	background: none;
}

/*Loading facebook stream*/
.ff-loadmore-wrapper{
    display: none;
}

.ff-stream{
    padding: 0!important;
    min-height: auto!important;
}

.ff-stream-wrapper{
    margin: 0!important;
}


/*Footer*/
footer .et_pb_menu .et_pb_menu__menu>nav>ul>li{
    width: 100%;
}

/*Responsive*/

@media screen and (max-width:1305px){
	#main-header .container{
		width: 90%;
	}

	#et_top_search{
		top: -10px;
	}

	.et_header_style_left .et-search-form{
		width: 50%!important;
		max-width: 50%!important;
	}
}

@media screen and (max-width:1160px){
	#top-menu-nav {
        display: none;
    }
    #et_mobile_nav_menu {
        display: block;
    }

    .logo_container a{
        margin-left: -20px;
    }

    .sub-menu{
    	min-height: auto;
    }

    #mobile_menu .menu-item-198{
    	background-color: #006B56;
    }

    #mobile_menu .menu-item-193{
    	background-color: #FF9D00;
    }

    #mobile_menu .menu-item-1151{
    	background-color: #AD142E;
    }

    #mobile_menu .menu-item-200{
    	background-color: #1B67EA;
    }

    #mobile_menu .menu-item-113{
    	background-color: #AD142E;
    }

    .et_mobile_menu li a{
    	color: #fff!important;
    }

    #mobile_menu .menu-item-204, #mobile_menu .menu-item-192, #mobile_menu .menu-item-210, #mobile_menu .menu-item-113, #mobile_menu .menu-item-211, #mobile_menu .menu-item-1028{
    	width: 33.33%;
    	float: left;
    }

    #mobile_menu .menu-item-204 a, #mobile_menu .menu-item-192 a, #mobile_menu .menu-item-210 a, #mobile_menu .menu-item-113 a, #mobile_menu .menu-item-211 a, #mobile_menu .menu-item-1028 a{
    	color: #000!important;
    	font-weight: 700;
    	border:3px solid #000!important;
    }

    #mobile_menu .menu-item-210 a{
    	background-color: #fff;
    }

    #mobile_menu .menu-item-192 a{
    	background-color: #98E268;
    }

    .menu-item-113:before, .menu-item-113:after{
    	display: none;
    }
}

@media screen and (max-width:980px){
	.et_header_style_left #logo{
		max-width: 125%;
		max-height: 125%;
		position: relative;
		top: 30px;
	}

	h1, h1.et_pb_contact_main_title, .et_pb_title_container h1{
		font-size: 40px!important;
	}

	h2, .product .related h2, .et_pb_column_1_2 .et_quote_content blockquote p{
		font-size: 36px!important;
	}

	.et_pb_row{
		width: 94%;
	}

	.referent{
		width: 50%;
	}

    .logo_container a{
        margin-left: -10px;
    }
}

@media screen and (max-width:600px){
	.referent{
		width: 70%;
		margin-left: 15%;
		text-align: center;
	}
}

@media screen and (max-width:500px){
	#mobile_menu .menu-item-204, #mobile_menu .menu-item-192, #mobile_menu .menu-item-210, #mobile_menu .menu-item-113, #mobile_menu .menu-item-211, #mobile_menu .menu-item-1028{
		width: 50%;
	}

	#mobile_menu .menu-item-210, #mobile_menu .menu-item-113{
		float: right;
	}

    .logo_container a{
        margin-left: 0;
    }
}