/*
Theme Name: EnergyCities 2018
Theme URI: http://www.energy-cities.eu
Author: 56k SPRL
Author URI: https://56k.be
Description: EnergyCities 2018 WP theme.
Version: 1.0
License: All rights reserved EnergyCities.
Text Domain: energycities
*/

/* Variables */

:root {

	/* Colors */
	--ec-black-green		: #2a665a;
	--ec-deep-green			: #4DBAA4;
	--ec-light-green		: #90CBBF;
	--ec-black-purple		: #91749f;
	--ec-deep-purple		: #C9A0DC;
	--ec-deep-beige			: #F8F7F4;
	--ec-light-beige		: #F5F2E6;
	--ec-black				: #121212;
	--ec-gray				: #525252;
	--ec-light-gray			: #8D8D8D;
	--ec-yellow				: #FFE700;
	--ec-red				: #D60935;
	
	--ec-background-beige 	: #f0f0f0;
	--ec-h2 				: #6e777f;

	--ec-border			: #CFE2C9;

	--ec-ressources		: #B02A75;
	--ec-events			: #B4D163;
	--ec-projects		: #FFA630;
	--ec-policy			: #E94250;
	--ec-about			: #3EA3DC;

	--nav-width			:94%;

}

/* Global Title */

#events h2,
#all_content h2,
#projets h2 {
    text-transform: uppercase;
    font-size: 35px;
    color: var(--ec-h2);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--ec-h2);
}

#events h2:before,
#all_content h2:before,
#projets h2:before {
	content: url(core/img/related_title_bubble.svg);
	margin-right: 20px;
}

#bloc-hubs h2 {
	text-transform: uppercase;
}

h3 {
	font-size: 1.5rem;
	font-family: 'Open Sans Condensed';
    font-weight: 700;
}

h4 {
	color: var(--ec-deep-green);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.2rem;
}

h4:before {
	content: '// ';
}

h5 {
	font-size: 1.40rem;
}

/* Global Tags */
* {
  -webkit-border-radius: 0 !important;
     -moz-border-radius: 0 !important;
          border-radius: 0 !important;
}

html {
  scroll-behavior: smooth;
}


body{
	background-color: #FFFCF9;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	color: var(--ec-black);
}

header{
	position:relative;
	z-index:10;
}

a,a:hover,a:visited,a:focus{
	color: var(--ec-black);
}
a:hover{
	text-decoration: none;
}

hr{
	border: none;
	border-bottom: 1px solid var(--ec-h2);
}

.caption{
	font-size: .7rem;
	color: var(--ec-light-gray);
	margin-top: .25rem;
	margin-bottom: .25rem;
	font-style: italic;
}

.sticky-under-nav{
	position: -webkit-sticky;
    position: sticky;
    top: 5.55rem;
    z-index: 1020;
}

a:hover {
	color: var(--ec-red);
}

/*******************/
/* Global elements */
/*******************/

a.badge-ec{
	background-color: var(--ec-deep-green);
	color: #fff;
	font-family: 'Open Sans Condensed';
	font-weight: 700;
	text-transform: uppercase;
	padding: .4em;
}

a.badge-event{
	background-color: var(--ec-red);
	color: #fff;
	font-family: 'Open Sans Condensed';
	font-weight: 700;
	text-transform: uppercase;
	padding: .4em;
}
a.badge-event:hover{
	color: var(--ec-yellow);
}

.btn-ec{
	background-color: var(--ec-yellow);
	color: var(--ec-black);
	text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: .9rem;
    width: auto !important;
    height: auto !important;
    margin-left: 0rem !important;
    -webkit-border-radius: 0% !important;
    border-radius: 0% !important;
}
.btn-ec .btn-icon{
	margin-left: 1rem;
	height: 0.55rem;
}

.btn-ec:hover{
	color: var(--ec-red);
}

.btn-ec-off{
	background-color: white;
	color: var(--ec-black);
	text-transform: uppercase;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: .9rem;
}

.home-news:hover .btn-ec-off,
.home-topics:hover .btn-ec-off,
.home-publications:hover .btn-ec-off,
.home-portraits:hover .btn-ec-off,
.home-events:hover .btn-ec-off,
.topic-news:hover .btn-ec-off,
.taxonomy-topic-news:hover .btn-ec-off,
.taxonomy-topic-webinars:hover .btn-ec-off,
.taxonomy-topic-events:hover .btn-ec-off,
.taxonomy-topic-bp:hover .btn-ec-off,
.taxonomy-topic-publications:hover .btn-ec-off,
.taxonomy-topic-projects:hover .btn-ec-off{
	background-color: var(--ec-yellow);
	color: var(--ec-red);
	text-transform: uppercase;
	font-size: 0.7rem;
	font-weight: 700;
	line-height: .9rem;
}

.btn-outline-ec{
	border: 1px solid var(--ec-red);
	color: var(--ec-red) !important;
	padding: 0;
	padding: .6rem;
	line-height: .5rem;
	text-transform: uppercase;
	font-weight: 700;
	font-size: .7rem;
}

.btn-outline-ec .btn-icon{
	margin-left: 1rem;
	height: 0.55rem;
}

.btn-outline-ec:hover{
	background-color: var(--ec-yellow);
	border: 1px solid var(--ec-yellow);
}


.btn-outline-secondary-ec{
	border: 1px solid #C1C1C1;
	color: #C1C1C1;
	padding: 0;
	padding: .6rem;
	line-height: .5rem;
	text-transform: uppercase;
	font-weight: 700;
	font-size: .7rem;
}

.btn-ec-link:after{
    font-family: "IcoMoon-Ultimate";
    content: '\edc8';
    color: var(--ec-red);
    font-size: 1rem;
    margin-left: 1.5rem;
    display: block;
    float: right;
}

.btn-ec-dl:after{
    font-family: "IcoMoon-Ultimate";
    content: '\ec83';
    color: var(--ec-light-gray);
    font-size: .8rem;
    margin-left: 1.5rem;
    display: block;
    float: right;
}
.btn-ec-dl-alt:after{
	font-family: "IcoMoon-Ultimate";
    content: '\ec83';
    color: var(--ec-red);
    font-size: .8rem;
    margin-left: 1.5rem;
    display: block;
    float: right;
}
.btn-ec-calendar:after{
	font-family: "IcoMoon-Ultimate";
    content: '\ea5f';
    color: var(--ec-red);
    font-size: .8rem;
    margin-left: 1.5rem;
    display: block;
    float: right;
}

.btn-full{
	width: 100%;
}

.ec-red{
	color: var(--ec-red);
}

.bg-overlay {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  color: #fff;
  height: 245px;
}

.bg-black-overlay{
	background: linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.4));
	height: 100%;
	margin: auto;
	padding-top: 18px;
	position: relative;
}

.col-lg-4 iframe {
	width: 100%!important;
}

.wp-block-image img {
	height: auto;
}

/************
Sharer
************/
/* display classes managed by Bootstrap display property in inc/sharer.php
.sharer{
	display: block;
}
*/
/************
Navigation
************/

.container-nav{
	z-index:10;
	z-index:99999999;
	width:94%;
	margin:auto;
}

.navbar{
	margin-top:0.5rem;
	background-color: #fff;
	opacity:0.8;
	margin-right:0px;
	margin-left:0px;
}

#nav-logo{
	width:80px;
}

#nav-logotext{
	display: inline-block;
	width:270px;
	padding-top:0.2rem;
}

.navbar-brand p{
	font-family:'Open Sans Condensed';
	font-size: 0.98rem;
	text-transform: initial;
	font-weight: initial;
	letter-spacing:initial;
	margin-bottom:0;
	/*margin-top:-1.2rem;*/
	/*padding-left:5%;*/
}

.navbar-light .navbar-nav .nav-link {
    color: initial;
}

.navbar-light .navbar-nav .nav-link:hover{
	color: var(--ec-red);
}

.navbar-light .navbar-toggler {
    color: var(--ec-black);
    border-color: transparent;
}

.navbar .nav-item a{
	font-family: 'Roboto';
	text-transform: uppercase;
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing:0.11rem;
	box-sizing:content-box;
}

.site_header_menu {
	padding: 0;
	list-style: none;
	margin: 0;
	display: flex;
	float: right;
}

.site_header_menu li {
	margin: 0px 15px;
	padding: 15px 0;
	position: relative;
}

.site_header_menu li:last-child{
	margin: 0 0 0 45px;
}

.site_header_menu li .sub-menu {
	display: none;
	position: absolute;
    top: 52px;
    background: #fff;
    padding: 0 5px;
    text-align: center;
    width: 190px;
    transition: all 0.3s;
    box-shadow: 0px 3px 10px #272727;
    list-style: none;
	left: 50%;
    transform: translateX(-50%);
}

.site_header_menu li:last-child .sub-menu {
	width: auto;
}

.site_header_menu li:hover .sub-menu {
	display: block;
}

.site_header_menu li .sub-menu li {
	margin: 0;
	padding: 5px 0;
}

.menu-burger {
	display: none;
	position: absolute;
    right: 60px;
    top: 35px;
    width: 25px;
    height: 25px;
    cursor: pointer;
    z-index: 5;
}

.menu-burger .bar {
	position: absolute;
    top: 3px;
    width: 25px;
    height: 3px;
    background: black;
}

.menu-burger .bar::before {
	content: "";
    position: absolute;
    top: -8px;
	width: 25px;
    height: 3px;
    background: black;
}

.menu-burger .bar::after {
	content: "";
    position: absolute;
    top: 8px;
	width: 25px;
    height: 3px;
    background: black;
}

.openMenuOne {
	margin-left: 10px;
}

@media (max-width: 992px) {
	.site_header_menu {
		display: none;
		position: absolute;
		text-align: center;
		background: #fff;
		box-shadow: 0px 10px 15px #2b2b2b;
		width: 100%;
		right: 0;
		left: 0;
		max-height: 300px;
		overflow: auto;
	}
	.site_header_menu li:last-child {
		margin: 0px 15px;
	}
	.menu-burger {
		display: block;
	}
	.sub-menu {
		position: initial!important;
		text-align: center!important;
		background: #fff!important;
		box-shadow: none!important;
		transform: translateX(0%)!important;
		width: 100%!important;
		padding-top: 10px!important;
		font-size: 12px;
	}
}

/* Popup */

.pum-theme-29469, .pum-theme-default-theme {
	background-color: rgba( 120, 120, 120, 0.9 )
}

/*javascript classes for scroll effect on menu */

.stick-opacify-navbar{
	opacity:1;
}

@keyframes navanimation {
	from {width:94%;}
	to {width:100%};
}

.expand-nav-container{
	width:94%;
	-webkit-animation-name: navanimation;
	-moz-animation-name: navanimation;
	-o-animation-name: navanimation;
	animation-name: navanimation;
	-webkit-animation-duration: 0.5s;
	-moz-animation-duration: 0.5s;
	-o-animation-duration:  0.5s;
	animation-duration:  0.5s;
	-webkit-animation-fill-mode: forwards;
	-moz-animation-fill-mode: forwards;
	-o-animation-fill-mode: forwards;
	animation-fill-mode: forwards;
	-webkit-animation-timing-function: ease;
	-moz-animation-timing-function: ease;
	-o-animation-timing-function: ease;
	animation-timing-function: ease;
}

.border-nav-default{}

.about-color{
	border-bottom: 2px solid var(--ec-about);
	padding-bottom: 0;
}

.policy-color{
	border-bottom: 2px solid var(--ec-policy);
	padding-bottom: 0;
}

.projects-color{
	border-bottom: 2px solid var(--ec-projects);
	padding-bottom: 0;
}

.events-color{
	border-bottom: 2px solid var(--ec-events);
	padding-bottom: 0;
}

.ressources-color{
	border-bottom: 2px solid var(--ec-ressources);
	padding-bottom: 0;
}

#color-code-line{
	width:0;
	z-index: 10;
}

.dropdown-menu.show{
	z-index:100;
	left: 44%;
    transform: translateX(-50%);
    width: auto;
    text-align: center;
}


/*Change in nav-link padding to adapt underline behaviour on hover */

.navbar-toggler:focus {
    outline: 0px dotted;
  }

.navbar-expand-lg .navbar-nav .nav-link{
	padding: 2px 0;
	margin-right: 1.3rem;
}

.navbar .nav-item a{
	border-bottom: 1px solid transparent;
}

.navbar .nav-item a:hover{
	color:var(--ec-red);
	text-decoration: none;
	border-bottom: 1px solid var(--ec-red);
	background-color: rgba(255,255,255, 0.8);
}

.navbar .nav-item .dropdown-item:hover{
	text-decoration: none;
	border-bottom: 1px solid transparent;;
}

.navbar .dropdown-toggle::after{
	color:var(--ec-light-gray);
}


/*Navigation dropdown menu */

.navbar .nav-item .dropdown-menu{
	border:0px;
	padding: .5rem;
}

.navbar .nav-item .dropdown-item{
	padding-left:0;
	padding-right:0;
}

.navbar .social-media {
	padding-right: 75px;
}

@media (max-width: 992px) {
	.navbar .social-media {
		padding-right: 0px;
	}
}

/*End of link behaviour on hover*/

.nav-top-align{
	position: relative;
    top: -0.5rem;
    /*right: -2rem;*/
}

.btn.btn-transparent{
	background-color: transparent;
}

#nav-addon {
	position: relative;
    top: -0.27rem;
    right: 18.2px;
}

/*************************/
/* Home 				 */
/*************************/

#home .splide__slide .image {
	height: 470px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	box-shadow: 0px 0px 30px #000;
	margin: 0px 20px;
}

#home .splide__pagination__page.is-active {
	transform: none;
}

#home .splide__pagination__page {
	width: 40px;
	margin: 6px;
}

#home .splide__arrow--next,
#home .splide__arrow--prev {
	background: #F8F7F4;
    opacity: 1;
    height: 4rem;
    width: 4rem;
    border-radius: 30px!important;
    border: none;
}

#home .splide__arrow--next svg,
#home .splide__arrow--prev svg {
	height: 3.2em;
	width: 3.2em;
	fill: #525252;
}

#home #splide a:hover h2 {
	opacity: 1;
}

#home #splide h2 {    
	opacity: 0.8;
	font-weight: 800;
    font-size: 3rem;
    line-height: 4.3rem;
    width: 54%;
    position: relative;
    margin: 0;
    text-transform: none;
    border-bottom: none;
    padding: 70px 0 0 0;
}

#home #splide h2:before {
	display: none;
}

#home #bloc-hubs {
	background: linear-gradient(to right, var(--ec-deep-purple), var(--ec-black-purple));
}

#bloc-hubs a {
	text-transform: uppercase;
    color: #fff;
    font-weight: 400;
    font-size: 1.5rem;
	margin: 0;
    height: 245px;
	padding: 0;
	background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#bloc-hubs a:hover .bg-black-overlay {
	background: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.2));
}

#bloc-hubs a .title-hub {
	padding: 0 10px;
	font-size: 20px;
}

#bloc-hubs a .img-fluid {
	width: 60%;
    position: absolute;
    bottom: 7px;
	margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

@media (max-width: 991px) {
	#bloc-hubs a .img-fluid {
		width: 45%;
	}
}

@media (max-width: 768px) {
	#home .splide__slide .image {
		margin: 0;
	}
	#home #splide h2 {
		width: 75%;
		font-size: 33px;
		line-height: initial;
	}
	#bloc-hubs a .img-fluid {
		width: 27%;
	}
}

@media (max-width: 575px) {
	#home #splide h2 {
		width: 27%;
	}
}

/*************************/
/* Events */
/*************************/

#events {
	background-color: var(--ec-background-beige);
}

#events .event-item {
	background-color: white;
	margin: auto;
	padding: 10px;
}

#events .event-item .date {
	border-right: 1px solid var(--ec-border);
}

#events .event-item .date .date_event p {
	color: var(--ec-light-green);
    font-weight: 700;
    font-size: 20px;
}

#events .event-item .icon_ec {
	width: auto;
    display: initial;
	vertical-align: baseline;
}

#events .event-item .icon_ec {
	margin-right: 15px;
}

@media (max-width: 576px) {
	#events .event-item .date {
		text-align: center;
		margin: 20px 0;
		border: none;
	}
}

/*************************/
/* Filtres */
/*************************/

#all_content h2 {
	border-bottom: none;
}

#all_content .icons {
	justify-content: right;
}

#all_content #icon-search_filtre:before,
#all_content #icon-filter_filtre:before {
	font-size: 30px;
    margin-left: 30px;
}

.filtre-contenu h4 {
	width: 100%;
}

.filtre-contenu .filtres {
	justify-content: space-between;
	display: none;
}

.filtre-contenu ul {
	list-style: none;
	height: -webkit-fill-available;
}

.filtre-contenu .recherche {
	display: none;
}

.filtre-contenu .recherche #inputSearch,
.filtre-contenu .recherche .search,
.filtre-contenu #inputTopics,
.filtre-contenu .searchTopics {
	height: 1.8rem;
    padding: 5px;
    line-height: 1.5;
    color: var(--ec-gray)!important;
    background-color: #FFFCF9;
    background-clip: padding-box;
    border: 1px solid var(--ec-light-green);
}

.filtre-contenu #inputTopics {
	margin-bottom: 20px;
}

.filtre-contenu #icon-search_filtre:hover,
.filtre-contenu #icon-filter_filtre:hover {
	color: var(--ec-light-gray);
	cursor: pointer;
}

.item-hub {
	margin: 5px 10px 5px 0;
	border-radius: 8px!important;
	opacity: 0.65;
	border: 3px solid transparent;
}

.item-hub .icon {
	margin-right: 8px;
	align-self: center;
	color: white;
}

.item-hub input {
	display: none;
}

.item-hub label,
.item-hub a {
	color: white;
	display: flex;
	padding: 5px 10px;
	font-size: 75%;
	cursor: pointer;
	margin-bottom: 0;
}

.item-hub.checked,
.item-hub:hover {
	opacity: 1;
	border: 3px solid var(--ec-black-purple);
}

.icon-hubs {
	width: 18px;
    height: 18px;
    margin-right: 6px;
	align-self: center;
}

.item-topic {
	margin: 2px;
}

.item-topic input {
	display: none;
}
.item-topic label,
.item-topic a {
	color: white!important;
	padding: 5px;
    background-color: #b3b3b3;
    font-size: 75%;
	cursor: pointer;
	margin: 0;
}

.item-topic.checked label,
.item-topic a:hover,
.item-topic label:hover {
	background-color: var(--ec-light-gray);
}

.item-contenu {
	position: relative;
}

.item-contenu input {
	display: none;
}

.item-contenu label {
	cursor: pointer;
}

.item-contenu .icon {
	background-color: white;
	padding: 10px;
	box-shadow: 0px 0px 5px #000;
	margin: 5px;
	font-size: 30px;
	color: var(--ec-gray);
	z-index: 1;
}

.item-contenu:hover .icon,
.item-contenu.checked .icon {
	background-color: var(--ec-gray);
	color: var(--ec-deep-beige);
}

.filtre-contenu .item-contenu .lib {
    display: none;
	position: absolute;
    top: 65px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    background-color: var(--ec-gray);
	color: white;
	padding: 2px 5px;
	z-index: 10;
}

.filtre-contenu .item-contenu:hover .lib {
	display: initial;
}

.hot_t {
	border-top: 1px solid var(--ec-h2);
}

#list-result .nb_contenus {
	text-align: center;
    margin-bottom: 30px;
}

#list-result .item-contenu .icon {
	position: absolute;
    top: -25px;
}

#list-result .item-contenu .lib {
    display: none;
    position: absolute;
    top: -46px;
    left: 50%;
    transform: translateX(-10%);
    width: max-content;
    background-color: var(--ec-gray);
    color: white;
    padding: 2px 5px;
    z-index: 9;
}

#list-result .item-contenu:hover .lib {
	display: initial;
}

#list-result .sous_titre {
	font-family: 'Open Sans Condensed';
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.3rem;
	color: var(--ec-light-gray);
}

#list-result .date {
	color: var(--ec-light-gray);
    font-size: 0.7rem;
}

@media (max-width: 992px) {
	.list-contenu h3 {
		margin-top: 15px;
	}
	.list-contenu .topics {
		margin: 0 0 15px 0;
	}
}

.loading {
	position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    background-color: rgba(0,0,0,0.2);
    z-index: 99999999;
}

.spinner-border {
	position: fixed;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    top: 50%;
    border-radius: 100%!important;
    display: none;
	color: black!important;
}

.loading .spinner-border {
    display: block!important;
}

/*************************/
/* Projets */
/*************************/

#projets {
	background-color: var(--ec-background-beige);
}

/*************************/
/* 4ème widget */
/*************************/

#fourth_widget {
    position: relative;
    top: -45px;
    z-index: 10;
}

/*************************/
/* Masonry configuration */
/*************************/


.masonry-wrapper {
	padding: 1.5em;
	max-width: 1140px;
	margin-right: auto;
	margin-left: auto;
}
.masonry {
	display: grid;
	grid-template-columns: repeat(2, minmax(100px,1fr));
	grid-gap: 15px;
	grid-auto-rows: 0;
}

@media only screen and (max-width: 1023px) and (min-width: 768px) {
	.masonry {
		grid-template-columns: repeat(2, minmax(100px,1fr));
	}
}

.masonry-content {
  overflow: hidden;
}
.masonry-item {}


/********************/
/* Archives filters */
/********************/

.filters{
	color: var(--ec-black);
}
.filters .filters-line{
	position:relative;
	background-color: #fff;
	border-bottom: 1px solid #D6D6D6;
	border-top: 1px solid #D6D6D6;
}
.filters .select-filters{
	border-right: 1px solid #D6D6D6;
	border-left: 1px solid #D6D6D6;
}
.filters .select-filters .filter{
	border-right: 1px solid #D6D6D6;
	min-width: 6rem;
}
.filters .select-filters .filter p{
	margin: 0;
	padding: 0;
	font-family: 'Open Sans Condensed';
	text-transform: uppercase;
}
.filters .select-filters .filter p.filter-title{
	color: #D3D3D3;
	font-weight: 700;
	font-size: .7rem;
	letter-spacing: .1rem;
}
.filters .select-filters .filter p.filter-name{
	font-weight: 100;
	font-size: 1.5rem;
}
.filters .select-filters .filter .open-icon a{
	color: var(--ec-red);
	line-height: 2rem;
}
.filters .select-filters .filter .selected, .filters .select-filters .filter:hover{
	background-color: #EAEAEA;
	height: 100%;
}
.filters .filters-content{
	background-color: #fff;
	border: 1px solid #D6D6D6;
	border-top: 0;
}
.filters .filters-content .filter-content{}
.filters .filters-content .filter-content .filter-content-list{
	columns: 4;
	-webkit-columns: 4;
	-moz-columns: 4;
}
.filters .filters-content .filter-content ul.filter-content-list{
	padding-top: 1.5rem;
}
.filters .filters-content .filter-content ul.filter-content-list li{
	margin-bottom: .5rem;
}
.filters .filters-content .filter-content ul.filter-content-list a{
	font-family: 'Open Sans Condensed';
	font-weight: 100;
	font-size: 1.3rem;
	text-transform: uppercase;
}
.filters .filters-content .filter-content .filter-content-list a:hover{
	color: var(--ec-red);
}


/* Special bouton for members page */
.filters .mode-box .filter-title{
	margin-bottom: .5rem !important;
}
.filters .mode-box .icon{
	font-size: 2rem;
}


/************************/
/* Archives page global */
/************************/


.archive-post{}

.archive-post aside{}
.archive-post aside p{
	color: var(--ec-light-gray);
	font-size: 0.7rem;
}

.archive-post h2, .alt-archive-post h2{ /* alternate style for big posts e.g. Page Topic news 1st post*/
	font-family: 'Open Sans Condensed';
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 2rem;
}
.archive-post h3{
	font-family: 'Open Sans Condensed';
	font-weight: 700;
	color: var(--ec-light-gray);
	font-size: 1rem;
	line-height: 1.3rem;
}
.archive-post h5{
	text-transform: uppercase;
	font-family: 'Open Sans Condensed';
	font-weight: 700;
	font-size: 1rem;
	margin: 0;
	padding: 0;
}

.archive-post p{
	line-height: 1.5rem;
}


/* Hover effect on picture's archive pages */
/*******************************************/

.archive-post .hovereffect{
	width:100%;
	overflow:hidden;
	position:relative;
}

.archive-post .hovereffect img {
	display:block;
	position:relative;
	-webkit-transition:all .4s linear;
	transition:all .4s linear;
}

.archive-post:hover .hovereffect img {
	-ms-transform:scale(1.2);
	-webkit-transform:scale(1.2);
	transform:scale(1.2);
}
.archive-post:hover h2 > a{
	color: var(--ec-red);
}



/* Page Header */
/***************/

/* modifying page header behaviour to adpat to main navigation */
/**************************************************************/
#page{
	position:relative;
	top:-6.6rem;
}

/* end of modifying page header behaviour */
/***************************************************/

.page-header{
	color:#fff;
	background-repeat:no-repeat;
	background-size: cover;
	background-position: center center;
	position: relative;
	-webkit-filter: saturate(.75);
	filter: saturate(.75);
}

.page-header .full-triangle {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 35vh 70vw;
    -webkit-filter: saturate(1.25);
	filter: saturate(1.25);
}
.page-header .over-triangle {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 70vh 140vw;
    opacity: .75;
    -webkit-filter: saturate(1.25);
	filter: saturate(1.25);
}


.page-header .triangle-ressources{
	border-color: transparent transparent var(--ec-ressources) transparent;
}
.page-header .triangle-events{
	border-color: transparent transparent var(--ec-events) transparent;
}
.page-header .triangle-projects{
	border-color: transparent transparent var(--ec-projects) transparent;
}
.page-header .triangle-policy{
	border-color: transparent transparent var(--ec-policy) transparent;
}
.page-header .triangle-about{
	border-color: transparent transparent var(--ec-about) transparent;
}




.page-header .header-text{
	padding-top:10rem;
}
.page-header h1{
	font-size:4.5rem;
	font-weight: 700;
}
.page-header p {
	font-size: 18px;
	line-height: 1.5rem;
}

.page-header .wp-block-button .wp-block-button__link {
	background-color: var(--ec-yellow);
    color: var(--ec-red);
    font-size: .8rem;
    text-transform: uppercase;
    padding: 0;
    padding-top: .5rem;
    padding-left: .5rem;
    padding-right: .5rem;
    padding-bottom: 0.3rem;
}

.page-header .wp-block-button .wp-block-button__link:after {
	font-family: "IcoMoon-Ultimate";
    content: '\edc8';
    color: var(--ec-red);
    font-size: 1rem;
    margin-left: 1.5rem;
    display: block;
    float: right;
    margin-top: -0.2rem;
}

.img-icon-hub .img-fluid {
	background: rgba(255,255,255,0.8);
}


/*****************/
/* Pages Widgets */
/*****************/


/* Global */
/**********/

.page-widget{
	background-color: #fff;
	border: 1px solid var(--ec-border);
	-webkit-border-radius: .5rem !important;
	-moz-border-radius: .5rem !important;
	border-radius: .5rem !important;
	margin-bottom: 1.5rem;
}
.page-widget h4{
	color: var(--ec-deep-green);
	border-bottom: 2px solid var(--ec-deep-green);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 1.2rem;
}
.page-widget h4:before{
	content: '// ';
}
.page-widget p, .page-widget li{
	color: var(--ec-gray);
	font-size: 16px;
	line-height: 1.45rem;
}


/* Widget Quote */
/****************/

.page-widget-quote{}

.page-widget-quote blockquote{
	position: relative;
}
.page-widget-quote blockquote:before, .page-widget-quote blockquote:after{
	color: var(--ec-red);
	font-size: 4rem;
	font-family: Georgia, serif;
	position: absolute;
	height: 0;
	line-height: 0;
}

.page-widget-quote blockquote:before{
	content: "\201C";
	left: 0;
    top: 1.3rem;
}

.page-widget-quote blockquote:after{
	content: "\201D";
	right: 0;
	bottom: 1.3rem;
}

.page-widget-quote blockquote p{
	font-family: 'Open Sans Condensed';
	font-size: 1.2rem;
	font-style: italic;
	font-weight: 100;
	text-indent: 2rem;
	line-height: 2rem;
}

.page-widget-quote blockquote footer{
	font-size: 0.7rem;
	color: var(--ec-gray);
}


/* Widget Small ad */
/*******************/

.page-widget-small-ad{
	color: #fff;
}
.page-widget-small-ad .background{
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.page-widget-small-ad .gradient{
	background: rgb(0,0,0);
	background: linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 100%);
}

.page-widget-small-ad h3{
	font-weight: 700;
}
.page-widget-small-ad p{
	font-size: 1rem;
	line-height: 1.8rem;
}



/* Widget Big ad */
/*****************/

.page-widget-big-ad{}
.page-widget-big-ad .top-image{
	margin-bottom: -1.5rem;
}



/* Widget Big Button */
/*********************/

.page-widget-big-button{
	background-image: url('core/img/widget-bubble-bg.svg');
	background-position: right 1rem bottom 0;
	background-repeat: no-repeat;
}

.page-widget-big-button .bg-icon{
	position: relative;
	z-index: 100;
	top: 0;
	font-size: 10rem;
	color: #000000;
	line-height: 0;
	margin-left: 30%;
	opacity: .05;
}

.page-widget-big-button .widget-content{
	position: relative;
	z-index:1000;
	margin-top: -9.5rem;
}
.page-widget-big-button h3{
	color: var(--ec-red);
	text-transform: uppercase;
	font-size: 3.5rem;
	line-height: 3.25rem;
	margin: 0;
	padding: 0;
	margin-bottom: .25rem;
	font-weight: 100;
}
.page-widget-big-button h3 strong{
	font-weight: 900;
}
.page-widget-big-button h4{
	font-size: 2rem;
	color: var(--ec-red);
	border: none;
	font-weight: 300;
}
.page-widget-big-button h4:before{
	content: '';
}
.page-widget-big-button h5{
	color: var(--ec-red);
	text-transform: uppercase;
	font-size: 1.25rem;
	font-weight: 700;
}



/* Widget contact */
/******************/

.page-widget-contacts{
	background-image: url('core/img/widget-contact-bubble-bg.svg');
	background-position: left 1rem top 3rem;
	background-repeat: no-repeat;
}
.page-widget-contacts .media-image img{
	max-height: 50px;
	border: 2px solid transparent;
}
.page-widget-contacts .contact:hover img{
	border: 2px solid var(--ec-red);
}
.page-widget-contacts .media-body h5{
	font-size: 1.1rem;
	font-weight: 700;
}
.page-widget-contacts .media-body h6{
	font-size: 0.9rem;
}




/* Widget related internal */
/***************************/

.page-widget-related-internal{
	background-image: url('core/img/icon-related-doc.png');
	background-position: right .5rem top .5rem;
	background-repeat: no-repeat;
}
.page-widget-related-internal p{
	font-size: 1.1rem;
    font-family: 'Open Sans Condensed';
    font-weight: 700;
}


/******************/
/* BLOC LIEN */
/******************/

.wp-block-file {
	background-color: var(--ec-yellow);
	padding: 5px 10px;
    width: max-content;
}

.wp-block-file a {
	color: #53555c!important;
}

.wp-block-file:hover a {
	color: var(--ec-red)!important;
}

.wp-block-file .wp-block-file__button {
	margin: 0!important;
    padding: 0!important;
    background: none!important;
}

.wp-block-file .wp-block-file__button:after {
	color: #53555c;
}

.wp-block-file:hover .wp-block-file__button:after {
	color: var(--ec-red)!important;
}

/******************/
/* Archives pages */
/******************/



/* Inspiring minds */
/*******************/

.page-inspiring-minds{}
.page-inspiring-minds .card-columns {
	-webkit-column-count: 3;
	-moz-column-count: 3;
	column-count: 3;
}

.page-inspiring-minds .archive-post .logo {
	position: absolute;
    left: 21px;
    top: 13px;
}

.single-inspiring-minds .podcast {
	margin: 0px 0px 30px 0;
}

.single-inspiring-minds .podcast img {
	width: 30px;
    margin-right: 10px;
}

.single-inspiring-minds .img_logo img {    
	position: absolute;
    left: 21px;
    top: 13px;
}

/* Member list */
/***************/

.page-members{}
.page-members .country{}
.page-members .country h2{
	font-weight: 700;
	font-family: 'Open Sans Condensed';
	text-transform: uppercase;
}
.page-members .country h2:before{
	content:' ';
	background-image: url('core/img/ec-heading-bubble.svg');
	background-size: 2rem 2rem;
	background-position: center center;
	background-repeat: no-repeat;
	height: 2.5rem;
	width: 2.5rem;
	display: block;
	float: left;
}
.page-members .country h4{
	color: var(--ec-light-green);
	border-bottom: 1px solid var(--ec-light-green);
	padding-bottom: .5rem;
	margin-bottom: 1rem;
	margin-top: 1rem;
	font-weight: 700;
	font-family: 'Open Sans Condensed';
}
.page-members .country-header{
	height: 12.5rem;
	-webkit-border-radius: 1rem !important;
	-moz-border-radius: 1rem !important;
	border-radius: 1rem !important;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
.page-members .country-infos{
	background-color: rgba(0,0,0,.3);
	color: #fff;
	width: 100%;
	height: 100%;
	padding-right: 1rem;
	padding-top: 3.5rem;
	-webkit-border-radius: 1rem !important;
	-moz-border-radius: 1rem !important;
	border-radius: 1rem !important;
}
.page-members .country-infos h5{
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	font-weight: 700;
	margin-bottom: 1rem;
}
.page-members .country-infos p{
	margin: 0;
	padding: 0;
	font-size: 1.1rem;
}
.page-members .country-infos p.job{
	font-size: .8rem;
	margin-bottom: 1rem;
}

.page-members .city-list{
	display: flex;
    flex-wrap: wrap;
	justify-content: space-between;
	-webkit-columns: 2;
	-moz-columns: 2;
	margin: 0;
	padding: 0;
}
.page-members .city-list div {
	width: 48%;
	margin-top: 20px;
}
.page-members .city-list{
	list-style-type: none;
}
.page-members .city-list h3{
	margin: 0;
	padding: 0;
	font-size: 1rem;
}
.page-members .city-list li{
	margin-bottom: 1rem;
}
.page-members .city-list a{
	text-transform: uppercase;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--ec-gray);
}
.page-members .city-list a:hover{
	color: var(--ec-red);
}
.page-members .city-list p{
	margin: 0;
	padding: 0;
}

@media (max-width: 768px) {
	.page-members .masonry {
		grid-template-columns: repeat(1, minmax(100px,1fr));
	}
}


/* Staff list */
/***************/

.page-staff{}
.page-staff .staff{}
/* effet scale en remplacement de l'effet bordure rouge au hover */
.page-staff .staff a{
	display:block;
	width: 100%;
	overflow: hidden;
	position: relative;
}
/* effet scale en remplacement de l'effet bordure rouge au hover */
.page-staff .staff:hover img{
    -ms-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.page-staff .staff h2{
	font-family: 'Open Sans Condensed';
	font-size: 1.1rem;
	font-weight: 700;
	margin: 0;
	padding: 0;
	margin-top: .5rem;
	margin-bottom: .5rem;
}
.page-staff .staff h3{
	font-size: .9rem;
	margin: 0;
	padding: 0;
	color: var(--ec-gray);
}
.page-staff .staff img{
	/*border: 2px solid transparent;*/
	/* effet scale en remplacement de l'effet bordure rouge au hover */
    display: block;
    position: relative;
    -webkit-transition: all .4s linear;
    transition: all .4s linear;
}
/*
.page-staff .staff a:hover img{
	border: 2px solid var(--ec-red);
}
*/

#contact-staff{
	background-color: #F8F7F4;
}
#contact-staff h4{
	padding-bottom: 1rem;
	margin-bottom: 1.5rem;
	border-bottom: 1px solid var(--ec-border);
	color: #CAC8C6;
}

#contact-staff input, #contact-staff textarea{
	border: none;
}
#contact-staff label.black{
	color: var(--ec-black);
	font-weight: 600;
	text-transform: uppercase;
	font-size: .8rem;
}

/* Page Media */
/********************/

.page-media .archive-post aside .text-right p {
	line-height: 15px;
}

/* Webinars */
/************/

.single-webinar .text-widget a {
	color: #ef4347;
	font-weight: bold;
}

/* jobs */

.page-jobs .beige-message {
	margin-bottom: 30px;
}

.page-jobs .listing-emplois {
	margin-bottom: 30px;
}

.page-jobs .listing-emplois h4 {
	background: grey;
    padding: 15px 9px;
}

.page-jobs .listing-emplois h4 a {
	color: white;
}

.page-jobs .listing-emplois .loc {
	font-size: 20px;
	font-style: italic;
	margin-top: 10px;
}

.page-jobs .listing-stage {
	margin-bottom: 30px;
}

.page-jobs .listing-stage h4 {
	background: grey;
    padding: 15px 9px;
}

.page-jobs .listing-stage h4 a {
	color: white;
}

.page-jobs .listing-stage .loc {
	font-size: 20px;
	font-style: italic;
	margin-top: 10px;
}

.page-jobs .no-job {
	margin-bottom: 30px;
}

.single-job .content .row {
	display: contents;
}

/* Page events */
/***************/
.page-events{}
.page-events .archive-event{}
.page-events .archive-event h3{
	color: var(--ec-deep-green);
	font-family: 'Open Sans Condensed';
	font-weight: 100;
	background-color: #F0F0F0;
	padding: .5rem;
	display: inline-block;
	text-transform: uppercase;
}
.page-events .archive-event .date{
	border-right: 1px solid var(--ec-border);
}
.page-events .archive-event .date p{
	color: var(--ec-light-green);
	font-weight: 700;
	font-size: 20px;
}
.page-events .archive-event .title{}
.page-events .archive-event .title h2{
	font-size: 1.3rem;
}
.page-events .archive-event .title h2 a:hover{
	color: var(--ec-red);
}
.page-events .archive-event .infos{}
.page-events .archive-event .infos p{
	margin: 0;
	padding: 0;
	color: var(--ec-gray);
	font-size: .9rem;
	margin-top: .5rem;
	font-family: 'Open Sans Condensed';
	text-transform: uppercase;
}
.page-events .archive-event .infos .ics-generator{
	font-size: 1.1rem;
	display: inline-block;
	float: right;
	margin-left: .5rem;
	color: var(--ec-gray);
}

.page-events .container .bandeau_events {
	font-size: 16px;
}

.page-events .container .bandeau_events a {
	color: red;
}

.page-events .container .bandeau_events a:hover {
	font-weight: bold;
}

.page-events .fc-unthemed td.fc-today {
	background-color: transparent!important;
}

.page-events .fc-unthemed td.fc-today .fc-day-number {
    background-color: #b5d168;
    border-radius: 50%!important;
    height: 1.2rem;
    width: 1.2rem;
    display: inline-block;
    cursor: pointer;
    margin-left: .45rem;
}

.page-events .fc-day-top .circle-yellow:hover {
	background-color: var(--ec-red);
}

.page-events .fc-past .circle-yellow {
	background-color: rgba(255,231,0, 0.3);
}

.tooltip-inner a:hover {
	color: var(--ec-red);
}

/* Topics */
/**********/

.page-topics .archive-topic h2 a{
	color: #fff;
	background-color: var(--ec-deep-green);
	padding: .25rem;
	font-size: 1.2rem;
	font-weight: 700;
	font-family: 'Open Sans Condensed';
}
.page-topics .archive-topic h3{
	font-size: 1.2rem;
	color: #CAC8C6;
	font-weight: 600;
}

/* Topic Taxonomy */
/******************/
.taxonomy-topic .taxonomy-topic-news h6,
.taxonomy-topic .taxonomy-topic-webinars h6,
.taxonomy-topic .taxonomy-topic-bp h6,
.taxonomy-topic .taxonomy-topic-publications h6{
	border-bottom: 1px solid var(--ec-ressources);
}

.taxonomy-topic .taxonomy-topic-events h6{
	border-bottom: 1px solid var(--ec-events);
}

.taxonomy-topic .taxonomy-topic-projects h6{
	border-bottom: 1px solid var(--ec-projects);
}

.taxonomy-topic .archive-post.bg-post{
	display:flex;
	overflow:hidden;
	padding-left:0;
	padding-right:0;
}

.taxonomy-topic .archive-post.small-post{
	overflow:hidden;
}

.taxonomy-topic .archive-post.small-post:last-child{
	align-items: flex-end!important;
}

.taxonomy-topic .archive-post .gradient {
	position:absolute;
	top:0;
	width:100%;
	height:100%;
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
}

.taxonomy-topic .over-gradient-title{
	position:absolute;
	bottom:0;
	width:100%;
	height:100%;
}

.taxonomy-topic .over-gradient-title .bottom-text{
	position:absolute;
	bottom:0;
}

.taxonomy-topic .over-gradient-title h2, .over-gradient-title h3{
	display:block;
}

.over-gradient-title h2 a{
	color:#fff;
}

.taxonomy-topic-projects .badge.badge-ec{
	padding:0.5em;
}

.play-position{
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%, -50%);
	font-size:10em;
	color:#c3c3c3;
}

.taxonomy-topic-inspiring-minds .img_logo img {    
	position: absolute;
    left: 21px;
    top: 13px;
}

/******************/
/* Single Widgets */
/******************/

/* Global */
/**********/

.single-widget{
	margin-bottom: 2rem;
}
.single-widget h4{
	color: var(--ec-light-green);
	border-bottom: 1px solid var(--ec-light-green);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 1.2rem;
	margin-bottom: 1rem;
	padding-bottom: .25rem;
}
.single-widget h5{
	font-size: 1.1rem;
	font-family: 'Open Sans Condensed';
	font-weight: 700;
}


/* Widget about */
/****************/

.single-widget-contacts{}
.single-widget-contacts .media-image img{
	max-height: 50px;
	border: 2px solid transparent;
}
.single-widget-contacts .contact:hover img{
	border: 2px solid var(--ec-red);
}
.single-widget-contacts h5{
	font-size: 1.1rem;
}



/* Widget related projects */
/***************************/

.related-projects{}
.related-projects ul{
	margin: 0;
	padding: 0;
	margin-left: 1.6rem;
}
.related-projects li{
	list-style-type: none;
	list-style-image: url('core/img/list-puce.svg');
	margin-bottom: .5rem;
}



/* Widget related best practices */
/*********************************/

.related-bp{}
.related-bp aside{
	color: var(--ec-gray);
	text-transform: uppercase;
	font-weight: 700;
	font-size: .8rem;
}


/* Widget related best events */
/******************************/

.related-event{}
.related-event p.date{
	color: var(--ec-light-gray);
	font-size: .8rem;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	font-weight: 600;
	margin-bottom: .5rem;
}
.related-event h5{
	margin: 0;
	padding: 0;
	margin-bottom: .5rem;
}
.related-event h5 a{
	color: var(--ec-black);
	font-weight: 600;
}


/* Widget related publications */
/*******************************/

.related-publis{}


/* Widget related policy documents */
/***********************************/

.related-poldocs{}


/* Widget related Staff */
/************************/

.related-staffs{}
.related-staffs .media-image img{
	max-height: 50px;
}
.related-staffs .media-body h5{
	font-size: 1.2rem;
}
.related-staffs .media-body h6{
	font-size: 0.9rem;
}
.related-staff-link:hover img{
	border: 2px solid var(--ec-red);
}
.related-staff-link img{
	border: 2px solid transparent;
}

/* Specifics widgets */
/*********************/
.about-widget{
	background-image: url('core/img/about-bubbles.svg');
	background-position: right bottom;
	background-repeat: no-repeat;
}
.about-widget h6, .about-single-widget h6{
	text-transform: uppercase;
	font-size: .7rem;
	font-weight: 700;
	color: var(--ec-light-gray);
	margin: 0;
	padding: 0;
	margin-bottom: .25rem;
}
.about-widget p, .text-widget p, .about-widget li{
	font-size: .8rem;
	color: var(--ec-gray);
}
.about-widget .staff-pic img{
	max-height: 50px;
	border: 2px solid var(--ec-gray);
}
.about-widget .staff-pic img:hover{
	border: 2px solid var(--ec-red);
}

.text-widget{}

.download-widget{}
.download-widget .btn-icon{
	color: var(--ec-red);
}
.download-widget .btn{
	width: 100%;
	white-space: normal;
}

.about-single-widget p, .about-single-widget li{
	font-size: .8rem;
	color: var(--ec-black);
	font-weight: 600;
	padding-top: .5rem;
	padding-bottom: .25rem;
	line-height: 1.3rem;
}
.about-single-widget a{
	color: var(--ec-red);
}




/* Hoover effects on widgets */
/*****************************/

.related-project,
.related-best-practice,
.related-event,
.related-publi,
.related-poldoc,
.related-staff{
	padding: .5rem .25rem;
}

.related-project:hover,
.related-best-practice:hover,
.related-event:hover,
.related-publi:hover,
.related-poldoc:hover,
.related-staff:hover{
	background-color: #F8F7F4;
}


/* Breadcrumb */
/**************/

#breadcrumbs a {
	color: white;
}
.breadcrumb{
	background-color: transparent;
	margin: 0;
	padding: 0;
}
.breadcrumb-item+.breadcrumb-item::before{
	content: ">";
	color: #B8B4B4;
}
.breadcrumb li{
	text-transform: uppercase;
	color: #B8B4B4;
}
.breadcrumb li a, .breadcrumb-item.active{
	color: #B8B4B4;
	font-size: 0.6rem;
}

/* Global single header */
/************************/

#single{
	z-index: 99999;
}

#single header{}
#single header .featured-image{
	background-position: center center;
	background-repeat: no-repeat;
	height: 30rem;
	z-index: -1;
	background-size: cover;
}

#single .header-copyright{
    position: absolute;
    bottom: .5rem;
    right: 1rem;
    color: #fff;
    font-size: 0.75rem;
    background-color: rgba(0,0,0, 0.1);
    padding: .15rem;
}

/* Single page config */
/**********************/

#single .content{
	margin-top: -19rem;
	border: 3rem solid #FFFCF9;
	background-color: #FFFCF9;
	z-index: 999;
	position: relative;
}

#single .content h1{}
#single .content h3.sub-title{
	font-weight: 700;
	color: var(--ec-gray);
	font-size: 1.1rem;
	line-height: 1.7rem;
}


#single h4.related-title{
	font-weight: 600;
	text-transform: uppercase;
	font-size: 1.5rem;
	color: #CAC8C6;
	padding-bottom: .5rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid var(--ec-border);
}

#single h4.related-title:before{
	content: url('core/img/related_title_bubble.svg');
	margin-right: .5rem;
}

#single .backgrounded-relative{
	background-color: #F8F7F4;
}

#single .sharer{
	position: fixed;
	left: 1rem;
	top: 43%;
	z-index: 99;
}
#single .sharer li{
	margin-bottom: .8rem;
}

/* Single Staff */
.single-staff{}
.single-staff .content .title h4{
	text-transform: uppercase;
	font-weight: 700;
	font-size: .8rem;
	color: #ccc;
}

.single-staff .nf-form-fields-required {
	display: none;
}

.single-staff input,
.single-staff textarea {
	background-color: white!important;
}

.single-staff .submit-container input {
	background-color: var(--ec-yellow)!important;
    color: var(--ec-black)!important;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: .9rem;
    width: auto !important;
    height: auto !important;
    margin-left: 0rem !important;
}

.single-staff .submit-container input:hover {
	color: var(--ec-red)!important;
}


/* Single Board */
.single-board-member h2.board-member-function{
	font-weight: 600;
	font-size: 1.3rem;
	color: var(--ec-gray);
}
.single-board-member .board-member-social a{
	color: var(--ec-gray);
}

/* Single Project */
/******************/

.single-project .project-logo {
	align-self: center;
	text-align: center;
}

.single-project .project-logo img{
	max-width: 315px;
    max-height: 150px;
    width: auto;
    height: auto;
}

.single-project {
	position: relative;
}

.en-tete {
	position: absolute;
    width: 1125px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    border: 3rem solid #FFFCF9;
    background-color: #FFFCF9;
    z-index: 999;
    top: 126px;
    display: flex;
    flex-wrap: wrap;
}

.en-tete h3 {
	font-weight: 700;
    color: var(--ec-gray);
    font-size: 1.1rem;
    line-height: 1.7rem;
}

@media (max-width: 1200px) {
	.en-tete {
		width: 934px;
	}
	.single-project .project-logo img {
		max-width: 260px;
	}
}

@media (max-width: 991px) {
	.en-tete {
		width: 80%;
		top: 50px;
		border: 0;
    	padding: 23px;
	}
	.single-project .project-logo {
		text-align: center;
	}
}

@media (max-width: 768px){
	.en-tete h1 {
		font-size: 1.8rem;
	}
	.single-project .project-logo img {
		max-height: 100px;
	}
}

.single-project .content {
	position: initial!important;
    margin-top: 0!important;
}

.single-project .content .related_projects {
	display: flex;
    flex-wrap: wrap;
}

.single-project .content .related_projects .related_project {
	margin-bottom: 40px;
}

.single-project .content .related_projects .related_project a {
    background-color: #f6eed2;
	text-transform: uppercase;
	font-weight: 700;
	border: 1px solid transparent;
	padding: 9px 30px;
	font-size: 1rem;
	margin-right: 20px;
	color: #53555c;
}

.single-project .content .related_projects .related_project .sim_id {
	background-color: #fee62c;
}

.single-project .content .related_projects .related_project .sim_id:hover {
	background-color: #f6eed2;
}

.single-project .content .related_projects .related_project a:hover {
	background-color: #fee62c;
}

.single-project .content .related_projects .related_project a::after {
	font-family: "IcoMoon-Ultimate";
    content: '\edc8';
    color: #53555c;
    font-size: 1rem;
    margin-left: 1.5rem;
}

.single-project .content .related_projects .related_project a:hover::after {
	content: '\edc9';
}

/* Single Member */
/*****************/
.single-member p.memberyear{
	font-weight: 300;
}
.single-member .country-desc h3{
	color: var(--ec-gray);
	font-size: .9rem;
	text-transform: uppercase;
	font-weight: 700;
}
.single-member .country-desc p{
	color: var(--ec-light-gray);
}

.single-member .project-logo {
	text-align: center;
}

/* Single Publication */
/**********************/
.single-publication .publi-cover img{
	border: 1px solid var(--ec-border);
}

/* User Generated Content */
/**************************/

.ugc-content{}
.ugc-content p{
	line-height: 1.8rem;
}
.ugc-content a{
/*	color: var(--ec-red); */
	color:#ef4347;
/*	font-weight: 700;*/
}
.ugc-content h2{
	margin-bottom: 2rem;
}
.ugc-content h3{
	margin-bottom: 1.5rem;
}
.ugc-content h4{
	margin-bottom: 1rem;
}
.ugc_content p{
	margin-bottom: 1rem;
}
.ugc-content blockquote:before{
    content: "\201C";
    color: var(--ec-red);
    font-size: 4rem;
    font-family: Georgia, serif;
    position: absolute;
    line-height: 2.3rem; 
}
.ugc-content blockquote:after{
    content: "\201D";
    font-size: 4rem;
    color: var(--ec-red);
    font-family: Georgia, serif;
    position: absolute;
    line-height: 0;
    right: 2rem;
}
.ugc-content blockquote{
	background-color: #F8F7F4;
	padding: 1rem;
	font-size: 1.15rem;
	font-style: italic;
	font-weight: 100;
}
.ugc-content blockquote p{
	margin-left: 2rem; 
}
.ugc-content blockquote cite{
	display: block;
	font-size: .8rem;
	font-weight: 600;
	font-style: normal;
	text-align: right;
	margin-bottom: 2rem;
    margin-top: 0.3rem;
    margin-left: 1rem 
}
.ugc-content .wp-block-file .wp-block-file__button, .ugc-content .wp-block-file .wp-block-file__button:hover{
	background-color: var(--ec-yellow);
	color: var(--ec-red);
	opacity: 1;
}

.wp-block-file__button:after{
    font-family: "IcoMoon-Ultimate";
    content: '\ec83';
    color: var(--ec-red);
    font-size: .8rem;
    margin-left: 1.5rem;
}


.ugc-content ul{
	margin: 1rem 0;
}
.ugc-content li{
	margin-bottom: .5rem;
}

.ugc-content pre{
	background-color: #F8F7F4;
	padding: 1rem;
	border: 1px solid var(--ec-border);
	display: block;
}
.ugc-content code{
	background-color: #e5e3de;
    padding: .25rem .5rem;
    line-height: 1.9rem;
}
.ugc-content table{
	margin-bottom: 2rem;
}
.ugc-content table td{
	border: 1px solid #ddd;
	padding: .5rem;
}
.ugc-content .wp-block-pullquote{
	padding: 1rem 0;
}
.ugc-content .wp-block-table{
	width: 100%;
}

.ugc-content .wp-block-media-text{
	margin-bottom: 2rem;
}

.ugc-content .wp-block-advgb-summary{
	padding-bottom: 1rem;
	margin-right: 1rem;
}
.ugc-content .wp-block-advgb-summary .advgb-toc-header{
	color: var(--ec-deep-green);
    border-bottom: 2px solid var(--ec-deep-green);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.5rem;
}
.ugc-content .advgb-toc-header.collapsed:after, .ugc-content .advgb-toc-header:after{
	float: right;
}
.ugc-content .wp-block-advgb-summary a{
	color: var(--ec-black);
	font-weight: 300;
}
.ugc-content .wp-block-advgb-summary a:hover{
	color: var(--ec-red);
}
.ugc-content .wp-block-advgb-summary .toc-level-1{
	font-size: 1rem;
	margin-top: .5rem;
	font-weight: 400;
}
.ugc-content .wp-block-advgb-summary .toc-level-2{
	font-size: .9rem;
}
.ugc-content .wp-block-advgb-summary .toc-level-3{
	font-size: .8rem;
}
.ugc-content .wp-block-advgb-summary .toc-level-4{
	font-size: .7rem;
}
.ugc-content .wp-block-advgb-summary .toc-level-5{
	font-size: .6rem;
}
.ugc-content .wp-block-advgb-summary .toc-level-6{
	font-size: .5rem;
}

.ugc-content .wp-block-advgb-accordion{}
.ugc-content .wp-block-advgb-accordion .advgb-accordion-header{
	background-color: var(--ec-yellow);
	color: var(--ec-red);
}

.ugc-content .wp-block-advgb-count-up{}
.ugc-content .wp-block-advgb-count-up .advgb-counter{
	color: var(--ec-red);
}


.ugc-content .wp-block-advgb-social-links{
	margin-bottom: 2rem;
}


.ugc-content .nf-form-fields-required{
	display: none!important;
}

figure.wp-block-embed.is-type-video {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /*16:9*/
}
figure.wp-block-embed.is-type-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

figure.wp-block-embed-youtube iframe {
	height: 350px!important;
}

.wp-block-embed figcaption {
	position: absolute;
    bottom: -24px;
}

.aligncenter{
	text-align: center;
}

.alignright{
	text-align: right;
}

/*****************/
/* Footer  */
/*****************/


#site-footer{
	position:relative;
	background-color: #fff;
	border-top: 1px solid var(--ec-border);
	margin-top:10%;
	/*aml*/
	padding-bottom: 10rem;
}

#site-footer ul{
	list-style-type: none;
}

#site-footer .cta-row{
	margin-top:-10%;
}

.footer-widget{
	background-color: #fff;
	border: 1px solid var(--ec-border);
	margin-bottom: 1.5rem;
	text-transform: uppercase;
}

.footer-left-widget{
	-webkit-border-radius: .5rem 0 0 .5rem !important;
	-moz-border-radius: .5rem 0 0 .5rem !important;
	border-radius: .5rem 0 0 .5rem !important;

}

.footer-left-widget .icon-envelop2{
	position:relative;
	left:52%;
	top:-12px;
}


.footer-widget .bg-icon{
	position: relative;
	z-index: 100;
	top: 0;
	font-size: 9rem;
	color: #000000;
	line-height: 0;
	margin-left: 30%;
	opacity: .05;
}

.footer-widget .widget-content{
	position: relative;
	z-index:1000;
	margin-top: -9.5rem;
}

.footer-widget h3{
	color: var(--ec-red);
	font-size: 3.5rem;
	line-height: 3.25rem;
	margin: 0;
	padding: 0;
	margin-bottom: .25rem;
	font-weight: 100;
}

.footer-widget h3 strong{
	font-weight: 900;
}

.footer-widget h4{
	font-size: 2rem;
	color: var(--ec-red);
	border: none;
	font-weight: 300;
}

.footer-widget h4:before{
	content: '';
}

.footer-widget h6{
	color: var(--ec-gray);
	font-size: 0.95rem;
	font-weight: 700;
}


.footer-widget-big-button{
	background-image: url('core/img/footer_widget_bubbles.svg');
	background-position: right 1rem bottom 30px;
	background-repeat: no-repeat;
	-webkit-border-radius: 0 .5rem .5rem 0 !important;
	-moz-border-radius: 0 .5rem .5rem 0 !important;
	border-radius: 0 .5rem .5rem 0 !important;
	border-left:none;
}


.footer-widget-big-button .social-media a, #site-footer .textwidget a{
	width:35px;
	height:35px;
	display: inline-block;
	background-color: var(--ec-yellow);
	-moz-border-radius:50% !important;
	margin-left:0.5rem;
}

.footer-widget-big-button .social-media a{
	padding:8px 10px 8px 0px;
}

#site-footer .textwidget a{
	padding:9px 11px;
}

.footer-widget-big-button .icon-envelop{
	opacity:0;
}

#site-footer li a:hover,
.footer-widget-big-button .social-media a:hover,
#site-footer .textwidget a:hover {
	color:var(--ec-red);
}


#site-footer .contact-info h5, #site-footer .column h5 {
	text-transform: uppercase;
	font-family: 'Open Sans Condensed';
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 2rem;
}


#waves-wrapper{
	background-color: #fff;
	position:relative;
	padding-left:0;
}

.top-blue-wave{
	position:absolute;
	bottom:0;
	height:9.2rem;
	opacity:0.15;
	background-image:url('core/img/footer_wave_blue.svg');
	background-repeat:no-repeat;
	z-index:1;
	background-size:cover;

}

.middle-yellow-wave{
	position:absolute;
	bottom:0;
	height:8.6rem;
	opacity:0.3;
	background-image:url('core/img/footer_wave_yellow.svg');
	background-repeat:no-repeat;
	background-size:cover;
	z-index:10;
}


.last-line{
	position:absolute;
	bottom:0;
	height:8rem;
	background-image:url('core/img/footer_wave_yellow.svg');
	background-repeat:no-repeat;
	background-position: left 0px;
	background-size:cover;
	z-index:100;
}

.last-line p{
	position:relative;
	margin-bottom:0;
}

.last-line img{
	position: relative;
  top: -5rem;
}

#copyright{
	background-color: var(--ec-yellow);
}


#copyright p{
	margin: 0px;
	font-size: .7rem;
}


/* Membre map */

#MemberMap .marker {
  background-image: url('core/img/marker.png');
  background-size: contain;
  width: 10px;
  height: 10px;
  cursor: pointer;
  margin-left: 1%;
}

#MemberMap .mapboxgl-popup {
  min-width: 200px;
  max-width: 200px;
}

#MemberMap .mapboxgl-popup-content {
	padding: 2em;
}
#MemberMap .mapboxgl-popup-content h3{
	padding-bottom: 0.5em;
	border-bottom: 1px solid #F3F6FA;
	margin-bottom: 0.5em;
	font-size: 1rem;
}

#MemberMap .mapboxgl-popup-content p{
	font-size: 0.7rem;
}



/* Widget agenda */

.fc-dayGrid-view .fc-body .fc-row{
	min-height: 2rem;
}

.fc-header-toolbar{
	margin-bottom: 0!important;
	background-color: var(--ec-deep-green);
	color: #fff;
}
.fc-day-header{
	font-weight: 400;
}
.fc-head, .fc-button-primary{
	background-color: var(--ec-deep-green);
	color: #fff;
	border: none;
}
.fc-button-primary:hover{
	background-color: var(--ec-deep-green);
	border: none;
}

.fc-unthemed th, .fc-unthemed td, .fc-unthemed thead, .fc-unthemed tbody, .fc-unthemed .fc-divider, .fc-unthemed .fc-row, .fc-unthemed .fc-content, .fc-unthemed .fc-popover, .fc-unthemed .fc-list-view, .fc-unthemed .fc-list-heading td {
	border: none!important;
}


.fc-dayGrid-view .fc-week-number, .fc-dayGrid-view .fc-day-number{
	padding: .5rem;
}
.fc-ltr .fc-dayGrid-view .fc-day-top .fc-day-number{
	float: none;
}

td span{display:block; text-align:center; margin:0 auto;}




.circle-yellow{
	background-color: var(--ec-yellow);
	border-radius: 50%!important;
	height: 1.2rem;
	width: 1.2rem;
	display:inline-block;
	cursor:pointer;
	margin-left: .45rem;
}

#events-inside-list-js{
	position: absolute;
	display:block;
	z-index: 9999;
	width:150px;
	top:25px;
	background-color: red;
	margin:auto;
}

.tooltip{
	opacity: 1!important;
	border-radius: 10px!important;
}
.bs-tooltip-auto[x-placement^=bottom] .arrow::before, .bs-tooltip-bottom .arrow::before{
	border-bottom-color: var(--ec-light-green);
}
.bs-tooltip-auto[x-placement^=top] .arrow::before, .bs-tooltip-top .arrow::before{
	border-top-color: var(--ec-light-green);
}

.tooltip-inner{
	text-align: left;
	background-color: var(--ec-light-green);
	opacity: 1!important;
	padding: .5rem;
	margin: 0;
}
.tooltip-inner a{
	display: block;
	color: #fff;
	font-weight: 600;
	border-bottom: 1px solid #fff;
	margin: 0;
	padding: 0;
	padding-bottom: .5rem;
	padding-top: .5rem;
}
.tooltip-inner a:first-child{
	padding-top: 0;
}
.tooltip-inner a:last-child{
	border: none;
}

/* ALT MEMBERS PAGE*/

.alt #test .grid-wrapper{
display:grid;
  grid-template-columns:
/*	display:grid;
	grid-template-columns: repeat(1, minmax(100px,1fr));
grid-gap: 15px;
grid-auto-rows: 0;*/
}
