/*
Theme Name: Teo
Theme URI: https://johndoe-et-fils.com
Author: JDF
Author URI:https://johndoe-et-fils.com
Description: My description
Version: 1.0
License: None
License URI: https://johndoe-et-fils.com
Tags: JDF
Text Domain: Teo
*/

/* ------------------------------------

	GLOBAL

------------------------------------ */


*, *:after, *:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html{
	scroll-behavior: smooth;
}

body{
	font-family: 'Open Sans', Arial, sans-serif;
	line-height:1.2;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	scroll-behavior: smooth;
}

body.fixed{
	width:100%;
	height:100%;
	overflow:hidden;	
	transition: all 0.3s 1s ease-out;
}

body.fixed:before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.41);
	width: 100%;
	height: 100%;
	z-index: 900;
	transition: all 0.3s 1s ease-out;
}

*:focus {
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
	margin:0 auto;
	padding:0;
	width:auto;	
	line-height:1.2;
	font-weight:700;
}

p{
	line-height:1.2;
	text-align: justify;
}

img{
	transition:all 0.3s;
	max-width:100%;
	height:auto;
}

a, button{
	transition:all 0.3s;
	margin:0 auto;
}

a:hover {
	text-decoration: none;
}

a, button, select{
	cursor:pointer;
}

ul{
	list-style-type: none !important;
}

table{
	border: 1px solid #cbcbcb;
	padding:10px;
	border-spacing:0;
	border-radius:4px;
	border-collapse:separate;
	margin-bottom:20px;
}

table thead{
	text-transform:uppercase;
}

table th, table thead th, table thead td{
	border:none;
	vertical-align: middle;
	border-right: 1px solid #e9ecef;
	border-bottom: 1px solid #e9ecef;
	padding: 12px 12px 16px;
}

table td{
    vertical-align: middle;
    border:none;
    border-right: 1px solid #e9ecef;
    border-top: 1px solid #e9ecef;
    padding: 12px;
}

table tr:first-child td{
	border-top:none;
}

table th:last-child, table td:last-child{
    border-right: none;
}

.sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0px;
    bottom: 50px;
	z-index: 50;
}

.titleSection{
	font-weight:700;
	font-size: 1.2em;
	text-transform: uppercase;
	color:#005ea7;
	margin-bottom: 1em;
}

.titleSection a{
	color:#005ea7;	
}

.no-padding{
	padding:0;
}

button.opencookies{
	background: #095fa7;
    display: inline-block;
    padding: 1em;
    margin-top: 1.4em;
    color: #FFFFFF;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9em;
    transition: all 0.3s ease-out;
    border:none;
}

button.opencookies:hover {
	background: #cfa635;
	color: #FFFFFF;
}

.wp-block-button .wp-block-button__link{
	border-radius: 0;
	color: white;
	background-color: #005ea7;
	text-decoration: none;
}

/* ------------------------------------

	HEADER

------------------------------------ */

#header-top {
	position: relative;
	border-bottom: 1px solid #D9D9D9;;
}
#header-top .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 56px;
}
#header-top #menu-header-top {
	margin-bottom: 0;
	padding-left: 0;
}
#header-top #menu-header-top li a {
	color: #095FA7;
	font-weight: 700;
	line-height: normal;
	text-transform: uppercase;
}
/* #header-top #menu-header-top li:hover a{
	color: #cfa625;
} */
#header-top #menu-header-top li.linkedin a::after {
	content: "";
	background-image: url('images/linkedin.svg');
	background-size: 25px;
	width: 25px;
	height: 25px;
	color: #095FA7;
	display: inline-block;
	vertical-align: bottom;
	margin-left: 10px;
	transition: all .3s ease;
}
#header-top #menu-header-top li.linkedin:hover a::after {
	background-image: url('images/linkedin-hover.svg');
}

#header-top .searchbar {
	display: flex;
	align-items: center;
}
#header-top .searchbar #search-box {
	width: 244px;
	height: 25px;
	border-radius: 5px;
	border: 1px solid #C0C0C0;
	background: #FFF;
	color: #A9A9A9;
	font-family: 'Open Sans';
	font-size: 14px;
}
#header-top .searchbar #search-icon, #search-icon.search-mobile {
	position: relative;
	margin: 0;
	padding: 5px;
	background-color: transparent;
	border: none;
	outline: none;
	cursor: pointer;
	flex-shrink: 0;
	margin-left: 10px;
	font-size: 20px;
	transition: .3s;
	color: #095FA7;
}
#header-top .searchbar #search-icon:hover, #search-icon.search-mobile:hover {
	color: #cfa625;
}

#header-top .search-mobile {
	display: none;
}
@media screen and (max-width: 991px) {
	#header-top .container {
		height: 40px;
	}
	#header-top .searchbar {
		display: none;
	}
	#header-top .search-mobile {
		display: block;
	}
}

.site-branding {
	position: relative;
	background-image: url(images/svg/decoration_dot_blue.svg);
	background-repeat: no-repeat;
	background-position: center top;
	background-size: contain;
}

.site-title img {
	/*max-width: 450px;*/
	height: 100%;
	max-height:200px;
	/* padding:15px 0;  */
}

.chart{
	border: 1px solid rgba(0,0,0,0.15);
	border-bottom:4px solid #095fa7;
    display: inline-block;
    padding: 30px 30px 18px 64px;
    color: #095fa7;
    vertical-align: middle;
    position: relative;
    font-weight: 700;
    font-size: 1.1em;
    line-height: 1;
    text-transform: uppercase;
    overflow:hidden;
    z-index:2;
    animation:chart .5s ease-out .4s both;
	margin: 0px 5px;
	width: 200px;

}

/*
.chart.btn-opendata{
	border-bottom: 1px solid rgba(0,0,0,0.15);;
}*/

.chart.btn-opendata:before{
	content: url(images/icon-opendata.svg);
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    position: absolute;
    left: 12%;
    top: 50%;
    transform: translateY(-50%);
}

.chart.btn-opendata:hover{
	color:#FFF;
	border-color:#095fa7;
}

.chart.btn-opendata:hover::before{
	content: url(images/icon-opendata-hover.svg);
}

.chart.btn-opendata:hover::after{
	top:0;
}

@keyframes chart {
  0%   {top:20px; opacity:0;}
  100% {top:0px; opacity:1;}
}

.chart::before{
	content: url(images/icon-chart.svg);
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    position: absolute;
    left: 12%;
    top: 50%;
    transform: translateY(-50%);
}

.chart::after{
	background:#095fa7;
	position:absolute;
	width:100%;
	top:100%;
	left:0;
	height:100%;
	content:'';
	display:block;
	transition:all 0.2s;
	z-index:-1;
}

.chart:hover{
	color:#FFF;
	border-color:#095fa7;
}

.chart:hover::before{
	content: url(images/icon-chart-hover.svg);
}

.chart:hover::after{
	top:0;
}

.chart.btn-terristory:before{
	content: url(images/svg/TerriSTORY_Pays_de_la_Loire.svg);
	width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transform: none;
}

.chart.btn-terristory:hover:before{
	content: url(images/svg/TerriSTORY_Pays_de_la_Loire_blanc.svg);
}
.chart.btn-terristory{
	padding: 20px;
}
@media screen and (min-width:992px) and (max-width:1199px) {
	.chart{
		padding:30px 30px 18px 48px;
	}
}
@media screen and (min-width:992px) {
	.chart.btn-terristory:before{
		top:-10px;
	}
}

header .dropdown-toggle, header .trigger-menu{
	display:none;
	height:60px;
	width:60px;
	background:#095fa7;
	border:none;
	color:#FFF;
	position:relative;
	text-transform:uppercase;
	padding:0 45px 0 15px;
	text-align:left;
}

header .dropdown-toggle::after, header .trigger-menu::after{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    margin: 0;
    content: '';
    color: #353539;
    right: 15px;
    background:url(images/icon-menu.png) no-repeat center center;
    height:20px;
    width:20px;
    background-size:auto 100%;
}

#modal-menu{
	visibility:hidden;
	top:-100%;
	transition:0.3s all;
	position: absolute;
    left: 0;
    width: 100%;
    z-index: 5000;
    min-height: 100%;
    height: 100%;
    background: rgba(9,95,167,0.95);
    overflow-y:scroll;
    display:none;
}

#modal-menu a{
	color:#FFF;
}

#modal-menu .container{
	padding:50px 30px;
}

#modal-menu ul{
	list-style:none;
	padding:0;
	text-transform:none;
	font-weight:400;
}

#modal-menu ul#menu-header > li{
	padding:15px 0;
	border-bottom:1px solid #FFF;
	text-transform:uppercase;
	font-weight:600;
}

#modal-menu ul#menu-header > li:last-child{
	border-bottom:none;
}

#modal-menu ul#menu-header > li ul{
	padding-left:20px;
}

#modal-menu ul#menu-header > li li{
	margin: 10px 0;
}

#modal-menu ul#menu-header > li.current-menu-parent > a{
	color:#cfa635;
}

#modal-menu li.current-menu-item a{
	color:#cfa635;
}

#modal-menu li li a{
	color:rgba(255,255,255,0.5);
}

#modal-menu li.current-menu-item li a{
	color:rgba(255,255,255,0.5);
}

#modal-menu li.current-menu-parent li.current-menu-item a{
	color:#cfa635;
}

#modal-menu.visible{
	visibility:visible;
    top: 0;
}

#modal-menu .modal-close{
	position:absolute;
	right:20px;
	top:20px;
	width:40px;
	height:40px;
	border-radius:50%;
	background:url(images/icon-close.png) no-repeat center center #FFF;
	background-size:50%;
	border:none;
	padding-top:40px;
	overflow:hidden;
}

.menu-header {
	width: 100%;
	height: 60px;
	background: #095fa7;
}

/* .menu-header .container {
	display: flex;
}
.menu-header .container .menu-header-container {
	flex-grow: 1;
} */


.toggle-menu{
	display:none;
}

.menu-header .menu-header-container > ul {
	margin: 0 auto;
	vertical-align: middle;
	padding:0;
	display:flex;
	justify-content:space-between;
}

.menu-header .menu-header-container ul li{
	list-style: none;	
	color: #FFFFFF;
}

.menu-header .menu-header-container > ul > li {
    position:relative;
    text-align:center;
}

.menu-header .menu-header-container > ul > li:last-child{
	margin-right:0;
}

.menu-header .menu-header-container ul li a{
	color: #FFFFFF;
}

.menu-header .menu-header-container > ul > li > a {
	display: block;
	height:100%;
    line-height: 60px;
    vertical-align:middle;
    position:relative;
    padding:0 18px;
    z-index:2;
}

.menu-header .menu-header-container > ul > li > a > span{
	line-height:1.2;
	vertical-align:middle;
	display:inline-block;
}

.menu-header .menu-header-container > ul > li:hover > a{
	background:#cfa635 !important;
	color:#FFF !important;
}

.menu-header .menu-header-container > ul > li.current-menu-item > a, .menu-header .menu-header-container > ul > li.current-menu-parent > a{
	background:#FFF;
	color:#005ea7;
}

.menu-header .sub-menu{
	position:absolute;
	background:#cfa635;
	z-index:5;
	padding: 15px 15px 19px;
    width: 200%;
    opacity:0;
    left:-9999px;
    transition:opacity 0.3s 0.1s;
    font-size:0.9em;
}

.menu-header .sub-menu li {
	text-align:left;
}

.menu-header .sub-menu li a{
	height:auto;
	line-height:1;
	padding:7px 0;
	display:block;
}

.menu-header .sub-menu li a:hover, .menu-header .sub-menu li.current-menu-item a{
	color:#095fa7;
}

.menu-header .menu-header-container > ul > li:hover .sub-menu{
	display:block;
	left:0;
	opacity:1;
}

.menu-header .sub-menu li a::before{
	content:'';
	height:2px;
	background:#FFF;
	width:0;
	display:block;
	transition:0.3s all;
	margin-bottom:4px;
}

.menu-header .sub-menu li a:hover::before{
	width:20px;
	background:#095fa7;
}

/* SEARCH */
.menu-header #search-icon, .main-menu #search-icon {
	position: relative;
	margin: 0;
	padding: 18px;
	background-color: transparent;
	border: none;
	outline: none;
	cursor: pointer;
	flex-shrink: 0;
	margin-left: 10px;
	font-size: 20px;
	transition: .3s;
	color: #FFF;
}
.menu-header #search-icon:hover {
	background-color: #cfa635;
}
.main-menu #search-icon {
	position: relative;
	margin: 0;
	padding: 5px;
	background-color: transparent;
	border: none;
	outline: none;
	cursor: pointer;
	font-size: 20px;
	transition: .3s;
	color: #FFF;
}

#search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    overflow: hidden;
    transition: all .5s ease-in-out;
    background-color: rgba(255,255,255,.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
	opacity: 1;
}
#search-modal .close-modal {
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 50px;
	color: black;
	background-color: transparent;
	border: none;
	cursor: pointer;
}
#search-modal .modal-content {
	position: absolute;
	top: 30%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100vw;
	max-width: 925px;
	background-color: #fff;
	padding: 28px 30px;
	border-radius: 10px;
	box-shadow: 0 4px 50px rgba(0,0,0,.1);
	border: 0;
	width: 90%;
}
  
#search-modal .searchbar {
	position: relative;
	display: flex;
	margin: 0;
	padding: 0;
	flex-shrink: 0;
	border-bottom: 1px solid darkgrey;
	width: 100%;
}     
#search-modal .searchbar #search-icon {
	width: 50px;
	margin: 0 0 0 15px;
	padding: 0.5rem;
	font-size: 20px;
	background-color: transparent;
	border: none;
	outline: none;
	cursor: pointer;
	color: #212529;
}
#search-modal .searchbar #search-icon i {
  width: 20px;
  font-size: 1.1rem;
  transition: .3s;
}
#search-modal .searchbar #search-icon:hover {
	color: #cfa635;
}
  
#search-modal .searchbar #search-box {
	flex-grow: 1;
	margin: 0;
	padding: 0.5rem 0;
	transition: all 0.2s ease-in-out;
	background-color: #FFF;
	height: 50px;
	border: none;
	font-family: 'Open Sans';
	font-size: 1.3rem;
}
  
#search-modal.active {
	display: block;
}
#search-modal.visuallyhidden {
  	opacity: 0;
}
#search-modal.hidden {
	display: none;
}
  

/* PAS DE SCROLL QUAND LE MENU/LA MODAL EST OUVERT */
html.modal-open {
    overflow: hidden !important;
}

/* ------------------------------------

	HOME

------------------------------------ */


/* ---- Slider ---- */

#slideHome {
	/*background: silver;*/
	overflow: hidden;
	position: relative;
	margin:1em 0;
}

#slideHome .container-full, #slideHome .owl-carousel, #slideHome .owl-stage-outer, #slideHome .owl-stage, #slideHome .owl-item {
	height: 100%;
}

#slideHome:before {
	content: '';
	position: absolute;
	right: 0;
	top: 0;
	width: 350px;
	height: 100%;
	background: url(images/svg/flower_slider.svg);
	z-index: 5;
	background-size: 320px;
	background-repeat: no-repeat;
	background-position: right top;
	opacity: 0.5;
	pointer-events: none;
}

#slideHome .item {
	height: 100%;
	position: relative;
	top: 0;
	/*display: inline-block;*/
	overflow:hidden;
	width: 100%;
}

#slideHome .item figure{
	height: 380px;
	margin:0;
}

/*#slideHome .item figure {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: -1;
}

#slideHome .item figure:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #131415;
	z-index: 2;
	opacity: 0.5;
}

#slideHome .item figure img {
	position: absolute;
	top:50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	max-width: 100%;
	min-height: 600px;
}*/

#slideHome .item figure:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #131415;
	z-index: 2;
	opacity: 0.5;
}

#slideHome .item figure img {
	display: block;
    width: 100%;
    position: relative;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
}

#slideHome .item article {
	/*margin-top: 50px;*/
    z-index: 5;
    position: absolute;
    margin-top:40px;
    margin-left:30px;
}

#slideHome .item article h2 {
	color: #FFFFFF;
	text-transform: uppercase;
	font-size: 1.6em;
	line-height:1.4;
}

#slideHome .item a {
	background: #095fa7;
	display: inline-block;
	padding: 1em;
	margin-top: 1.4em;
	color: #FFFFFF;
	text-transform: uppercase;
	font-weight:700;
	font-size: 0.9em;
	transition: all 0.3s ease-out;
}

#slideHome .item a:hover {
	background: #cfa635;
	color: #FFFFFF;
}

#slideHome .owl-dots {
	position: absolute;
	bottom: 30px;
	left:30px;
	z-index:2;
	display: flex;
}

#slideHome .owl-dots .owl-dot {
	width: 80px;
	height: 7px;
	background: #FFFFFF;
	margin-right: 10px;
	transition: all 0.3s ease-out;
	opacity: 0.5;
	position: relative;
	overflow: hidden;
	border:none;
}

#slideHome .owl-dots .owl-dot.active {
	opacity:1;
	transition: all 0.4s ease-out;
	background:#cfa635; 
}

#slideHome .owl-dots .owl-dot:hover{
	opacity:1;
}

/* ---- Focus ---- */

#focus {
	padding-top:  4em;
	padding-bottom:  1em;
	/*margin-bottom:1em;*/
}

#focus .row{
	height: 100%;
}

#focus .item-block {
	/* height:420px; */
	height: auto;
	overflow:hidden;
	margin-bottom: 25px;
}

.quisommesnous .item-qui {
	width: 100%;
	height: 100%;
	position: relative;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

.quisommesnous .item-qui a{
	display: block;
    height: 100%;
    width: 100%;
}

.quisommesnous .item-qui a::before{
	background:#000;
	transition:0.3s all;
	display:block;
	content:'';
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	opacity:0;	
	z-index:2;
}

.quisommesnous .item-qui a:hover::before{
	opacity:0.4;
}

.quisommesnous .item-qui img{
	width:100%;
	position: absolute;
	top: 50%;
	left:0;
	transform: translate(0%, -50%);
	z-index:1;
	height: 100%;
	object-fit: cover;
}

.contain-focus {
	position: absolute;
	bottom: 50px;
	left: -20px;
	background: #1861a5;
	padding: 1.5em;
	width: calc(100% - 20px);
	display: block;
	cursor: pointer;
	transition:all 0.3s;
	z-index:3;
}

.quisommesnous .item-qui a:hover .contain-focus{
	bottom:70px;
}

.quisommesnous .contain-focus h2 {
	color: #FFFFFF;
	text-transform: uppercase;
	font-size: 1.4em;
	margin-bottom: 1em;
}

.quisommesnous .contain-focus p {
	color: #FFFFFF;
	font-size: 1em;
	display: block;
	margin: 0;
}

.focus-energie {
	display: flex;
	flex-wrap: wrap;
	height: 100% !important;
}

.item-double{
	display: flex;
	height: calc(50% - 13px);
	width:100%;
	position: relative;
	overflow: hidden;	
}

.item-double:first-child {
	margin-bottom: 26px;
}

.item-transition {
	background:#e47027;
}

.item-strategie {
	background:#05b3a3;
	margin-bottom: 25px;
}

.item-eau {
	background:#005ea7;
	/* margin-bottom: 25px; */
}

.item-double a{
	display: flex;	
}

.contain-left {
	/* width: 80%; */
	width: 60%;
	position: relative;
	padding: 1.2em;
	transition: all 0.3s ease-out;
	left: 0;
}

.contain-left h2 {
	color: #FFFFFF;
	text-transform: uppercase;
	font-size: 1.4em;
	margin-bottom: 1em;

}

.contain-left p {
	color: #FFFFFF;
	font-size: 1em;
	padding: 0;
    margin: 0;
}

.picture {
	/* width: 330px; */
	width: 40%;
	height: 100%;
	/* position: relative; */
	position: absolute;
	right: 0;
	transition: all 0.3s ease-out;
}

.picture img {
	width: 120%;
	border-radius: 50% 0 0 50%;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translate(0%, -50%);
	transition: all 0.6s ease-out;
}

.item-double a {
	width: 100%;
}
.item-double a:hover {
	width: 100%;
}

.item-double a:hover .contain-left {
	left: -100%;
}

.item-double a:hover .picture {
	/* width: 100%; */
	width: 50%;
}

.item-double a:hover .picture img {
	border-radius: 70% 0 0 70%;
}

.item-double a:hover .link {
	left: 20px;
	visibility: visible;
}

.link {
	visibility: hidden;
	left: -100%;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transition: all 0.3s ease-out;
	color: #FFFFFF;
	font-weight:700;
	text-transform: uppercase;
}
@media screen and (min-width: 1201px) {
	.picture {
		width: 330px;
		right: -30%;
	}
	.item-double a:hover .picture {
		width: 330px;
		right: -20%;
	}
}
@media screen and (min-width: 991px) and (max-width: 1200px) {
	.picture {
		width: 330px;
		right: -30%;
	}
	.item-double a:hover .picture {
		width: 330px;
		right: -20%;
	}
}
@media screen and (min-width:768px) and (max-width: 991px) {
	.picture {
		width: 330px;
		right: -20%;
	}
	.item-double a:hover .picture {
		width: 330px;
		right: -10%;
	}
}
@media screen and (max-width: 768px) {
	.picture {
		width: 300px;
		right: -40%;
	}
	.item-double a:hover .picture {
		width: 300px;
		right: -30%;
	}
}
@media screen and (max-width: 400px) {
	.picture {
		width: 300px;
		right: -50%;
	}
	.item-double a:hover .picture {
		width: 300px;
		right: -40%;
	}
}


/* ---- Domaines ---- */

#domaines {
	padding:3em 0 2.5em;
	/*margin-bottom:2em;*/
}

#domaines .row{
	min-height: 40vh;
}

#domaines .owl-carousel {
	display: block;
}
#domaines .owl-stage-outer{
	padding-bottom: 3px;
}

#domaines .owl-stage{
	display:flex;
	flex-wrap:wrap;
}

#domaines .tuile{
	margin:0;
	height: 100%;
}
#domaines .owl-carousel, #domaines .owl-stage-outer, #domaines .owl-stage, #domaines .owl-item {
	height: 100%;
}

#domaines .titre-dom{
	text-align: center;
	color: #095fa7;
	font-size: 1.3rem;
	margin-top: 20px;
}

#domaines .titre-dom a{
	color: #095fa7;
}

#domaines .titre-dom a:hover{
	color: #cfa635;
}

#domaines .contenu-tuile{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 90%;
}

@media screen and (max-width: 768px) {
	#domaines .domaine {
		margin-bottom: 30px;
	}
}

.item-square-block .contain {
	background: #000000;
	color: #FFFFFF;
	text-align: center;
	height: 100%;
	min-height: 255px;
	position: relative;
}

.item-square-block .contain > a{
	display:block;
}

.item-square-block .contain .image{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	overflow:hidden;
}

.item-square-block .contain .image img{
	position:absolute;
	top:50%;
	left:50%;
	transform:translate(-50%,-50%) scale(1,1);
	display:block;
	max-height:120%;
	width:auto;
	max-width:none;
}

.item-square-block .contain:hover .image img{
	transform:translate(-50%,-50%) scale(1.2,1.2);
}

.item-square-block .contain:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(45deg, #1861a5 0%,#cfa635 100%);
	opacity: 0.45;
	z-index: 1;
}

.item-square-block .contain:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.4);
	z-index: 1;
}

.item-square-block .contain h2 {
	position: absolute;
	top: calc(50% + 10px);
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80%;
	z-index: 5;
	color: #FFFFFF;
	text-transform: uppercase;
	font-size: 1.2em;
	line-height: initial;
	transition: all 0.3s ease-out;
}

.item-square-block .contain h2 span {
	color: #FFFFFF;
	text-transform: uppercase;
	font-size: 0.6em;
	line-height: initial;
	display: block;
	z-index: 5;
	bottom: -25px;
	position: relative;
	opacity: 0;
	transition: all 0.3s ease-out;
}

.item-square-block .contain:hover h2 {
	top: calc(50% - 10px);
}

.item-square-block .contain:hover h2 span {
	bottom: -10px;
	opacity: 1;
	color:#cfa635;
}

/* ---- Ressources ---- */

#ressources {
	padding: 1em 0;
	/*margin-bottom: 2em;*/
}

#ressources .bloc h3 {
	margin: 0;
    text-transform: uppercase;
    font-size: 1.2em;
    color: #cfa635;
    font-weight: 600;
    line-height: 1.2;
}

.bloc-ressources{
	margin-bottom: 30px;
}

.bloc-ressources .contain {
	height:100%;
	background:url(images/cover_ressources.jpg) no-repeat center center;
	background-size:cover;
	overflow:hidden;
	position:relative;
	padding:12px;
	min-height: 160px;
}

.bloc-ressources.full .contain{
	padding:20px;
}

.bloc-ressources .contain:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.35);
	z-index: 1;
}

.bloc-ressources .contain h3 {
	z-index: 5;
	color: #FFFFFF;
	position: relative;
	text-transform: uppercase;
	font-size: 1em;
}

.bloc-ressources .contain a.circleLink {
	z-index: 5;
	position: absolute;
	width: 75px;
	height: 75px;
	border: 3px solid #FFF;
	display: block;
	border-radius: 50%;
	transform:translateX(-50%);
	bottom:30px;
	left:50%;
	transition: all 0.3s ease-out;
	overflow: hidden;
}

.bloc-ressources.full .contain a.circleLink{
	transform:translateY(-50%);
	top:50%;
	left:auto;
	right:40px;
}

.bloc-ressources .contain a.circleLink:hover {
	background: #FFFFFF;
}

.bloc-ressources .contain a.circleLink #arrowWhite {
	z-index: 5;
	max-width: 20px;
	height: auto;
	width: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	transition: all 0.3s ease-out;
}

.bloc-ressources .contain a.circleLink:before {
	content:'';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 20px;
	height: 20px;
	background: url(images/svg/small-arrow-white.svg);
	background-repeat: no-repeat;
	background-position: center center;
	transition: all 0.3s ease-out;
}

.bloc-ressources .contain a.circleLink:hover:before {
	left: 150%;
	top:70%;
	transition: all 0.3s ease-out;
}

.bloc-ressources .contain a.circleLink:after {
	content:'';
	position: absolute;
	top: 60%;
	right: 100%;
	transform: translate(-200%,-50%) rotate(45deg);
	width: 20px;
	height: 20px;
	background: url(images/svg/small-arrow-yellow.svg);
	background-repeat: no-repeat;
	background-position: center center;
}

.bloc-ressources .contain a.circleLink:hover:after {
	right:initial;
	top:50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(-90deg);
	transition: all 0.3s ease-out;
}


/* ---- Partenaires ---- */

#partenaires {
	margin-bottom: 3em;
	margin-top:3em;
}



#partenaires h2.titleSection {
	color: #cfa724;
	position: relative;
	background: #FFFFFF;
	z-index: 5;
}

#partenaires h2.titleSection a{
	color: #cfa724;
}

#partenaires h2 .lineDeco {
	position: absolute;
	top: 50%;
	right: 0%;
	transform: translateY( -50%);
	width: calc(100% - 320px);
	height: 1px;
	background: #cfa724;
	z-index: -1;
}

/*#partenaires .owl-carousel {
	position: relative;
}

#partenaires .owl-carousel:before, #partenaires .owl-carousel:after {
	content:'';
	position: absolute;
	top:0%;
	width: 150px;
	height: 100%;
	pointer-events: none;
	z-index: 5;
}

#partenaires .owl-carousel:before {
	left:0%;
	background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); 
}

#partenaires .owl-carousel:after {
	right:0%;
	background: linear-gradient(to left, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); 
}

#partenaires .owl-carousel .owl-item, #partenaires .owl-carousel .item {
	height: 150px;
	position: relative;
}

#partenaires .owl-carousel .item img {
	max-width: 100px;
	height: auto;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(1,1);
	transition:all 0.3s;
}

#partenaires .owl-carousel .item a:hover img{
	transform: translate(-50%, -50%) scale(1.1,1.1);
}*/

#partenaires .col{
	height: 150px;
	position:relative;
}

#partenaires .col img {
	max-width: 100px;
	max-height:100px;
	width:100%;
	height: auto;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(1,1);
	transition:all 0.3s;
}

#partenaires .col a:hover img{
	transform: translate(-50%, -50%) scale(1.1,1.1);
}


/* ------------------------------------

	POST ARTICLE / PAGE

------------------------------------ */

.breadcrumb{
	background:none;
	padding:0 0 10px;
	margin-bottom:2em;
	border-radius:0;
	font-size:0.85em;
	border-bottom:1px solid #d2e2e8;
}

.contain-article .breadcrumb a{
	text-decoration:none;
}

.contain-article {
	padding-top: 2em;
	padding-bottom:4em;
}

.contain-article .date{
	color: rgba(0,0,0,0.4);
	font-size: 14px;
	font-style: italic;
}

.contain-article h1{
	color: #005ea7;
	margin-bottom: 1em;
	font-size:2.2em;
}

.contain-article h2{
	color:#000;	
	margin: 1em 0;
	font-size:1.8em;
	font-weight:600;
}

.contain-article h3{
	color:#19aeca;
	margin: 1.2em 0;
	font-weight:600;
	font-size:1.6em;
}

.contain-article h3.more, .contain-article .more{
	color:#cfa635;
	margin: 1.3em 0 1.2em;
	font-weight:600;
	font-size:1.5em;
	text-decoration:underline;
}

.contain-article h4{
	color:#cfa724;
	margin: 1.2em 0;
	font-weight:600;
	font-size:1.4em;
}

.contain-article h5{
	color:#000;	
	margin: 1em 0;
	font-weight:600;
	font-size:1.2em;
}

.contain-article p{
	margin-bottom: 1.2em;
	line-height:1.5;
}

.contain-article hr{
	margin-top:2em;
}

.contain-article a{
	text-decoration:underline;
  	color: #005ea7;
}

.contain-article a:hover{
	color:#cfa635;
}

.contain-article table{
	margin:2em 0 2.5em;
}

.contain-article ul, ol{
	padding:5px 15px 10px 30px;
	list-style:none;
}

ol li, .contain-article ul li {
	margin-bottom: 4px;
}

ol{
	counter-reset: li;
}

.contain-article ul li::before {
  content: '\2022';
  color: #005ea7;
  font-weight: bold;
  display: inline-block; 
  width: .8em;
  margin-left: -0.7em;
  vertical-align: middle;
  font-size: 1.4em;
}

ol li {
	counter-increment: li;
}

ol li::before {
  content: '.'counter(li);
  color: #005ea7;
  display: inline-block; 
  width: .4em;
  margin-left: -0.6em;
  margin-right: 0.4em;
  vertical-align: baseline;
  text-align: right;
  direction: rtl;
}

.contain-article figure{
	margin:1.4em 0;
}

.contain-article form{
	margin:2.8em auto 1.5em;
}

.contain-article ul.wp-block-gallery{
	padding:0;
	margin:2.2em 0;
}

.contain-article ul.wp-block-gallery li::before{
	content:none;
}

.contain-article .wp-pagenavi a, .contain-article .wp-pagenavi span{
	text-decoration:none;
}


.contain-article .entry-content{
    max-width: 100%;
}

.all-content-article article{
	display: flex;
}

.contain-article .post_enfant aside{
    margin-left: 20px;
    margin-bottom: 20px;
    padding : 10px 0px 0px 10px;
    width: 200px;
	background-color: #fff;
	box-shadow: 0 12px 28px rgb(0 0 0 / 20%);
	border-radius: 10px;
}

.contain-article .post_enfant aside p{
	color: #005ea7;
	font-weight: 700;
	margin-bottom: 10px;
}

.contain-article .post_enfant aside ul {
	padding-left: 5px;
	margin: 0;
	font-size: 0.95em;
}

.contain-article .post_enfant aside ul li{
	border-top: 2px dotted #b3b3b3;
	padding: 10px 0 12px;
	margin: 0;
}

.contain-article .post_enfant aside ul li::before {
	content: none;
}
    
.contain-article .post_enfant aside ul li a{
	color: #005ea7;
	text-decoration: none;
}

@media only screen and (max-width: 992px) {
	.all-content-article article{
		flex-wrap: wrap;
	}
}

/* ---- Partenaires ---- */

.les-partenaires .line{
	border-bottom: 1px solid #d2e2e8;
	padding-bottom:40px;
	margin-bottom:40px;
}

.les-partenaires .line:last-child{
	border:none;
	padding-bottom:0;
}

.les-partenaires .description h2{
	margin-top:0;
	font-size:1.6em;
}

.page-template-partenaires .title-cat-partenaires h2{
	color: #005ea7;
    margin-bottom: 1em;
	font-weight: 700;
}

.title-cat-partenaires{
	margin: auto;
}

@media (max-width:768px){
	.les-partenaires .logo{
		margin-bottom:30px;
	}
}

/* ---- Actualités ---- */

.news{
	margin-bottom:1.5em;
}

.news a{
	display:block;
}

.news .image{
	position:relative;
	border: 1px solid rgba(0,0,0,0.1);
	z-index:1;
}

.news .image::before{
	background:#000;
	transition:0.3s all;
	display:block;
	content:'';
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	opacity:0;
}

.news a:hover .image::before{
	opacity:0.4;
}

.news .texte{
	position:absolute;
	bottom: 50px;
    left: 0;
    width: 85%;
    background: #005ea7;
    padding: 20px;
    font-size: .7em;
    transition:0.3s all;
    z-index:5;
}

.news a:hover .texte{
	bottom:70px;
}

.news .texte .date{
	font-size:1.2em;
	color:rgba(255,255,255,0.5);
	margin:0 0 10px;
}

.news .texte a, .news .texte h2{
	color:#FFF;
	margin:0;
	font-size:1.6em;
}

/* ------------------------------------

	SEARCH RESULTS

------------------------------------ */
#search-results .news .contain, #search-results .news .contain a {
	height: 100%;
}
#search-results .news .contain a {
	height: 265px;
}
#search-results .news .contain a .image {
	height: 100%;
	overflow: hidden;
}
#search-results .news .contain a .image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

/* ---- Tableau de bord - Single tuile ---- */

.display-tab{
	display: flex;
}

#nav-tableau-bord .internal-navigation{
	margin-left: 20px;
    margin-bottom: 20px;
    padding: 0px;
    width: auto;
    background-color: #fff;
    box-shadow: 0 12px 28px rgb(0 0 0 / 20%);
    border-radius: 10px;
	position: sticky;
	top: 40px;
}

#nav-tableau-bord .internal-navigation li:before{
	content: none;
}

#nav-tableau-bord .internal-navigation ul{
	padding: 0;
}

#nav-tableau-bord .internal-navigation ul li{
	padding: 5px 15px 10px 15px;
}

#nav-tableau-bord .internal-navigation ul li a{
	text-decoration: none;
}




/* ---- Tableau de bord - Tuiles ---- */

#domaines .tuile.bleu, #post-8457 .tuile.bleu a, #post-8459 .tuile.bleu a{
	background: #d1e3ea;
}

#post-8457 .tuile.bleu:hover a, #post-8459 .tuile.bleu:hover a{
	background: transparent;
}

#domaines .tuile.bleu:hover{
	background: transparent;
}

.tuile.bleu svg{
	height:40px !important;
	width:50px !important;
	color:#fff;
	margin:0 auto 10px;
	transition:0.2s all;
}

.tuile.bleu:hover svg{
	color: #d1e3ea;
}


.tuile{
	margin-bottom:25px;
}

.tuile a, .tuile .no-link{
	display:block;
	text-decoration:none;
	height:100%;
	text-align:center;
	overflow:hidden;
	position:relative;
	padding:25px 20px 28px;
	border: 1px solid rgba(0,0,0,0.15);
	transition:all 0.4s;
}

.tuile svg{
	height:40px !important;
	width:50px !important;
	color:#d1e3ea;
	margin:0 auto 10px;
	transition:0.2s all;
}

.tuile .picto{
	height:40px !important;
	width:50px !important;
	width:100%;
	margin:0 auto 10px;
	transition:0.2s all;
	text-align:center;
}

.tuile .picto img{
	width:auto;
	height:auto;
	max-width:100%;
	max-height:100%;
	display:inline-block;
}

.tuile .chiffres{
	font-size:3em;
	font-weight:400;
	margin:0 0 5px;
	color:#095fa7;
	transition:0.2s all;
	color:#cfa625;
	position:relative;
}

.tuile .chiffres span{
	font-size:.5em;
	margin-left: -10px;
    display: inline-block;
    font-weight:300;
}

.tuile .date{
	color:rgba(0,0,0,0.6);
	transition:0.2s all;
	font-size:1em;
	margin: 0 0 5px;
}

.tuile .objectif{
	color: rgba(0,0,0,0.4);
    transition: 0.2s all;
    font-style: italic;
    font-size: .8em;
    font-weight:600;
}

.tuile h3{
	color:#000;
	padding:5px;
	font-size:1.1em;
	font-weight:600;
	margin:15px 0 0;
}

.tuile a::before, .tuile .no-link::before{
	content:'';
	position:absolute;
	display:block;
	width:100%;
	height:100%;
	left:0;
	top:98%;
	transition:0.5s all;
	background: #095fa7;
	background-size:30% auto;
}

.tuile .no-link::before{
	background:#bdbdbd;
}

.tuile .read-more{
	position:absolute;
	font-size:0.8em;
	transform:translateX(-50%);
	left:50%;
	bottom:-100%;
	transition:all 0.5s;
	text-transform:uppercase;
	text-decoration:none;
	color:#cfa625;
	font-weight:600;
}

.tuile a:hover, .tuile .no-link:hover{
	border-color:transparent;
}

.tuile a:hover::before, .tuile .no-link:hover::before{
	top:0;
	z-index:-1;
}

.tuile .no-link:hover::before{
	background:#808080;
}

.tuile a:hover h3, .tuile .no-link:hover h3{
	color:#FFF;
	opacity:0;
}

.tuile a:hover .chiffres, .tuile .no-link:hover .chiffres{
	color:#cfa625;
}

.tuile a:hover .date, .tuile .no-link:hover .date{
	color:#FFF;	
}

.tuile a:hover .objectif, .tuile .no-link:hover .objectif{
	color:rgba(255,255,255,0.5);	
}

.tuile a:hover svg, .tuile .no-link:hover svg, .tuile a:hover .picto{
	transform:rotate(360deg);
}

.tuile a:hover .read-more, .tuile .no-link:hover .read-more{
	bottom:35px !important;
}

.goLink {
	position: absolute;
	bottom: -22px;
	left: 50%;
	transform: translateX(-50%);
	width: 50px;
	height: 50px;
	background: #FFFFFF;
	vertical-align: middle;
	border-radius: 50px;
	z-index: 5;
	overflow:hidden;
	pointer-events: none;
}

.goLink:before {
	content:'';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 15px;
	height: 15px;
	background: url(images/svg/small-arrow-blue.svg);
	background-repeat: no-repeat;
	background-position: center center;
	transition: all 0.3s ease-out;
}

.tuile:hover .goLink:before {
	left: 150%;
	top:70%;
	transition: all 0.3s ease-out;
}

.goLink:after {
	content:'';
	position: absolute;
	top: 60%;
	right: 100%;
	transform: translate(-200%, -50%);
	width: 15px;
	height: 15px;
	background: url(images/svg/small-arrow-yellow.svg);
	background-repeat: no-repeat;
	background-position: center center;
	transition: all 0.3s ease-out;
}

.tuile:hover .goLink:after {
	right:initial;
	top:50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(-90deg);
}

.goLink img {
	max-width: 18px;
	width: 100%;
	margin-top: 20px;
}


/* ---- Médiathèque / Cartothèque / Glossaire / Lettres d'information ---- */

.glossaire h3{
	color:#cfa635;
}

.alphabet-nav{
	margin:10px 0;
}

.alphabet-nav ul{
	list-style:none;
	margin:0;
	padding:0;
}

.alphabet-nav ul li{
	display:inline-block;
	margin:0;
	padding:0;
}

.alphabet-nav ul li a{
	border: 1px solid #BFBFBF;
    padding: 3px 5px;
    margin: 2px;
    text-decoration:none;
}

.alphabet-nav ul li a:hover{
	color:#cfa635;
	border-color:#000;
}

.alphabet-nav ul li::before{
	content:none;
}

.listing .bloc, .listing-carto .bloc{
	margin-bottom:30px;
}

.listing .no-result + .no-result, .listing-carto .no-result + .no-result{
	display:none;
}

.listing .bloc-content, .listing-carto .bloc-content{
	height:100%;
	width:100%;
	border: 1px solid rgba(0,0,0,0.15);
	padding:25px 25px 35px;
	position:relative;
	background: url(images/svg/decoration_dot_blue.svg) no-repeat right top;
    background-size: 280px;
}

.listing .bloc a.bloc-link, .listing-carto .bloc a.bloc-link{
	display:block;
	text-decoration:none;
	height:100%;
	width:100%;
	color:inherit;	
}

/*.lettres-dinformation .listing .bloc-content, .mediatheque .listing .bloc-content{
	min-height:310px;
}*/

/*.lettres-dinformation .listing .bloc a{
	display:block;
	text-decoration:none;
	height:100%;
	width:100%;
	color:inherit;
}*/

.listing .bloc a.bloc-link::before, .listing-carto .bloc a.bloc-link::before {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 5px;
    left: 0;
    bottom: 0;
    transition: 0.5s all;
    background: url(images/svg/flower_slider.svg) no-repeat right top #095fa7;
    background-size: 30% auto;
}

.listing .bloc .macaron, .listing-carto .bloc .macaron{
	background:#095fa7;
	color:#FFF;
	padding:8px 12px;
	position:absolute;
	right:-10px;
	top:30px;
	transition:all 0.3s;
}

.listing .bloc:hover .macaron, .listing-carto .bloc:hover .macaron{
	top:20px;
}

.listing .bloc .macaron::before, .listing-carto .bloc .macaron::before{
	font-family:'Font Awesome 5 Free';
	content:'\f1c1';
	display:inline-block;
	margin-right:5px;
}

.listing .bloc h2, .listing-carto .bloc h2{
	margin-top:0;
	text-transform:uppercase;
	font-size:1.2em;
	color:#cfa635;
	margin-bottom:.8em;
}

.listing .bloc .producteur, .listing-carto .bloc .producteur{
	font-size:.9em;
	font-style:italic;
	margin:.5em 0 8px;
}

.listing .bloc .date, .listing-carto .bloc .date{
	margin:8px 0 20px;
	font-weight:600;
	font-size:1em;
}

/*.listing .bloc img, .listing .bloc .wp-block-image, .listing .bloc figure{
	display:none;
}*/

.listing .bloc p, .listing .bloc li, .listing-carto .bloc p, .listing-carto .bloc li{
	font-size:0.85em;
	line-height:140%;
}

.listing .bloc p, .listing-carto .bloc p{
	margin-bottom:1em;
}

.listing .bloc p:last-child, .listing-carto .bloc p:last-child{
	margin-bottom:0;
}

.listing .bloc ul:last-child, .listing .bloc ol:last-child{
	margin-bottom:0;
	padding-bottom:0;
}

.listing-carto .bloc ul:last-child, .listing-carto .bloc ol:last-child{
	margin-bottom:0;
	padding-bottom:0;
}

.listing .bloc:hover .goLink:before, .listing-carto .bloc:hover .goLink:before {
	left: 150%;
	top:70%;
	transition: all 0.3s ease-out;
}

.listing .bloc:hover .goLink:after, .listing-carto .bloc:hover .goLink:after {
	right:initial;
	top:50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(-90deg);
	transition: all 0.3s ease-out;
}

.search-filter-results{
	display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width:100%;
}

.listding .pagination{
	display:none;
}

.infobulle {
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 1px dotted #095fa7;
    position: relative;
    display: inline-block;
}

.infobulle:hover {	
	border-color: #cfa635;;
}

.infobulle span {
	position: absolute;
	z-index: 99999;
	width: 350px;
	left: 50%;
	margin: 0 0 10px -175px;
	bottom: 100%;
	background: #cfa635;
	cursor: default;
	color:#FFFFFF;
	font-size: 14px;
	padding:20px;
	transition:all 0.3s;
	border-radius:3px 3px 0 0;
	opacity:0;
	bottom:70%;
	visibility:hidden;
	font-weight:normal;
	line-height:120%;
	text-transform:none;
}

.infobulle span p, .infobulle span li{
	font-size:1em !important;
}

.infobulle:hover span {
	opacity:1;
	bottom:100%;
	visibility:visible;
}

.infobulle span::after {
	content: '';
	top: 100%;
	left: 50%;
	transform:translateX(-50%);
	border: 10px solid transparent;
	height: 0;
	width: 0;
	position: absolute;
	border-top-color: #cfa635;
}

aside.filter form{
	margin:0 !important;
}

aside.filter ul, aside.filter ul li{
	padding:0;
	margin:0;
	list-style:none;
}

aside.filter ul li::before{
	content:none;
}

aside.filter form > ul > li{
	padding-bottom:20px;
} 

aside.filter h4{
	color:#000;
	text-transform:uppercase;
	font-size:1.2em;
	margin:.4em 0 0.5em;
}

aside.filter .sf-field-search{
	margin-top:10px;
}

aside.filter li[data-sf-field-input-type="checkbox"] input[type=checkbox]{
	display:inline-block;
	width:auto;
	vertical-align:middle;
}

aside.filter li[data-sf-field-input-type="checkbox"] label{
	vertical-align:middle;
	display:inline;
	cursor: pointer;
}

aside.filter li label {
	position: relative;
	display:block;
	padding: 0 !important;
	font-size:.8em;
	font-weight:400;
}

aside.filter li label input.sf-input-text{
	border: none;
    background: #e8e8e8;
    border-radius: 0;
}

aside.filter label .sf-count{
	color:#cfa635;
}

aside.filter .sf-option-active label .sf-count{
	color:#095fa7;
	font-weight:600;
}

aside.filter ul li ul li{
	margin:0 0 8px;
	position:relative;
}

aside.filter li[data-sf-field-input-type="checkbox"] input {
	position: absolute; 
	opacity: 0;
}

aside.filter li[data-sf-field-input-type="checkbox"] input + label {
	position: relative;
	cursor: pointer;
	padding: 0 !important;
}

aside.filter li[data-sf-field-input-type="checkbox"] input + label::before {
	content: '';
	margin-right: 10px;
	display: inline-block;
	vertical-align: text-top;
	width: 19px;
	height: 19px;
	background: #e8e8e8;
	transition:all 0.3s;
}

aside.filter li[data-sf-field-input-type="checkbox"] label::before {
	content: '';
	margin-right: 10px;
	display: inline-block;
	vertical-align: text-top;
	width: 19px;
	height: 19px;
	background: #e8e8e8;
	transition:all 0.3s;
}

aside.filter li[data-sf-field-input-type="checkbox"] input:hover + label::before {
	background: #cfa635;
}

aside.filter li[data-sf-field-input-type="checkbox"] input:hover + label::before {
	background: #cfa635;
}


aside.filter li[data-sf-field-input-type="checkbox"] input:focus + label::before {
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

aside.filter li[data-sf-field-input-type="checkbox"] input:checked + label::before {
	background: #095fa7;
}

aside.filter li[data-sf-field-input-type="checkbox"] input:checked:hover + label::before {
	background: #cfa635;
}

aside.filter li[data-sf-field-input-type="checkbox"] input + label::after {
	position: absolute;
	content:'';
	left: 5px;
	top: 5px;
	width: 9px;
	height: 9px;
	border-radius:50%;
	background:#FFF;
	transform:scale(0,0);
	opacity:0;
	transition:all 0.3s;
}

aside.filter li[data-sf-field-input-type="checkbox"] input:checked:hover + label::after {
	transform:scale(1.3,1.3);
}

aside.filter li[data-sf-field-input-type="checkbox"] input:checked + label::after {
	opacity:1;
	transform:scale(1,1);
}

.listing .search-filter-scroll-loading{
	clear:both !important;
	display:block !important;
	text-align:center !important;
	margin:0 auto !important;
}



/* ------------------------------------

	PAGE ENFANT DE COMPRENDRE

------------------------------------ */

.grandchildren .tuile a:hover .read-more{
	bottom: 35px !important;
}

/* ------------------------------------

	ACF GUTENBERG BLOCK

------------------------------------ */

.flex-equipe{
	margin-bottom:3em;
}

.flex-equipe .wp-block-group__inner-container{
	display:flex;
}

.equipe-membre.card{
	border:1px solid #d6d6d6;
	padding:15px;
	margin:30px;
    border-bottom: 4px solid #095fa7;
    border-radius:0;
    position:relative;
	width: 500px;
}

.equipe-membre.card::before{
	content:'';
	width:50px;
	height:50px;
	border-radius:50%;
	position:absolute;
	bottom:-25px;
	left:50%;
	transform:translateX(-50%);
	background:url('images/svg/small-arrow-blue-top.svg') no-repeat center center #FFF;
	background-size:22%;
}

.equipe-membre .header-equipe{
	display:flex;
}

.equipe-membre .photo{
	width:130px;
	border-right:3px solid #FFF;
}

.equipe-membre .photo img{
	max-width:none !important;
	width:100%;
	height:100%;
	object-fit:cover;
}

.equipe-membre .infos{
	background:#095fa7;
	flex:1;
	color:#FFF;
	display:flex;
	flex-direction: column;
	padding:20px;
	position:relative;
}

.equipe-membre .infos a{
	color:#FFF;
	text-decoration:underline;
}

.equipe-membre .infos a:hover{
	color:#cfa635;
}

.equipe-membre .infos .nom{
	font-size:1em;
	text-transform:uppercase;
	font-weight:700;
	margin-bottom:5px;
	padding-right:30px;
}

.equipe-membre .infos .fonction{
	font-size:1em;
	font-weight:700;
	color:#cfa635;
	padding-right:30px;
}

.equipe-membre .infos .mail{
	margin-top:auto;
	font-size:.9em;
	margin-bottom:7px;
}

.equipe-membre .infos .tel{
	font-size:.9em;
}

.equipe-membre .infos .linkedin{
	position:absolute;
	right:15px;
	top:15px;
	z-index:5;
}

.equipe-membre .infos .linkedin a{
	width:25px;
	height:25px;
	border:1px solid #FFF;
	border-radius:50%;
	text-indent: -9999px;
	overflow:hidden;
	background:url('images/icon-linkedin.svg') no-repeat center center;
	background-size:48%;
	display:block;
}

.equipe-membre .infos .linkedin a:hover{
	opacity:.7;
}

.equipe-membre .description{
	padding: 20px 10px 15px;
}

.equipe-membre .description .contact{
	text-align:center;
	font-weight:bold;
	text-transform:uppercase;
	font-size:.9em;
}

.equipe-membre .description .contact a{
	text-decoration:none;
}

/* ------------------------------------

	RGPD

------------------------------------ */

.gdpr .gdpr-buttons button.gdpr-preferences{
	padding: 7px 10px !important;
}

.gdpr .gdpr-buttons button.gdpr-agreement{
	background: #005ea7;
    display: inline-block;
    padding: 5px 20px 5px !important;
    color: #FFFFFF;
    text-transform: uppercase !important;
	font-weight:700;
	font-family:'Open Sans' !important;
    font-size: 0.9em;
    box-shadow:none;
    border-radius:0 !important;
    text-shadow:none;
    border:none;
    opacity:1;
}

.gdpr .gdpr-buttons button.gdpr-agreement:hover, .gdpr .gdpr-buttons button.gdpr-agreement:focus{
	background:#cfa635;
	box-shadow:none;
	border:none;
    text-shadow:none;
}

.gdpr .gdpr-buttons button.gdpr-preferences:hover, .gdpr .gdpr-buttons button.gdpr-preferences:focus{
	color:#cfa635;
}

.gdpr .gdpr-content a{
	color:#005ea7;
}

.gdpr .gdpr-content a:hover{
	color:#cfa635;
}



/* ------------------------------------

	CONTACT

------------------------------------ */

.wpcf7-not-valid-tip{
	font-size:0.9em !important;
	margin-top:3px;
}

div.wpcf7-response-output {
    margin: .5em 0;
    padding: 15px 20px;
}

div.wpcf7-validation-errors, div.wpcf7-acceptance-missing{
	border: 2px solid #ff0000 !important;
}

form input, form textarea, form select {
	border: 1px solid silver;
	padding: 8px;
	border-radius: 3px;
	font-weight:400;
	width: 100%;
}

form select{
	height:150px;
}

form .container .row > div {
	margin-bottom: 1em;
}

form label {
	font-weight:700;
	color: #000;
}

.submitForm input {
	background: #005ea7;
	color: #FFFFFF;
	padding: 15px 25px;
	font-weight:700;
	text-transform: uppercase;
	border: 0;
	cursor: pointer;
	border-radius:0;
	transition: all 0.3s ease-out;
}

.submitForm:hover input {
	background: #cfa635;
}

.mandatory {
	color: #cfa635;
	font-style:italic;
	text-align:right;
	font-size:0.85em;
}

.obligatory{
	color: #cfa635;	
}

.wpcf7-list-item{
	padding:0;
	margin:0 0 10px !important;
	font-size:.9em;
}

.wpcf7-list-item label{
	display:flex;
	font-weight:normal;
}

.wpcf7-list-item label input{
	width:auto;
	margin-right:10px;
	margin-top:3px;
}


/* ------------------------------------

	FOOTER

------------------------------------ */

.newsletter{
	background:url(images/svg/decoration_dot_blue2.svg) no-repeat left top #efefef;
	background-size: 900px;
	padding:40px 20px;
	position:relative;
}

.newsletter::before{
	position: absolute;
    top:-25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #FFFFFF;
    vertical-align: middle;
    border-radius: 50px;
    z-index: 5;
    overflow: hidden;
    content:'';
}

.newsletter::after{
	content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
    width: 15px;
    height: 15px;
    z-index:10;
    background: url(images/svg/small-arrow-blue.svg);
    background-repeat: no-repeat;
    background-position: center center;
    transition: all 0.3s ease-out;
    animation:fleche .5s linear alternate infinite;
}

@keyframes fleche {
  from {top:-12px;}
  to {top:-5px;}
}

.newsletter h4{
    color: #005ea7;
    text-transform: uppercase;
    font-size: 1.3em;
    margin:0 0 25px;
}
.newsletter p {
	text-align: left;
}

.newsletter input{
	width:100%;
	font-size:.9em;
	padding:10px;
}

.newsletter input::placeholder{
	color:#a5a5a5;
}

.newsletter  form .row{
	align-items:center;
	margin:0;
}

.newsletter form label{
	margin:0 10px 0 0;
}

.newsletter  form .formulaire{
	justify-content:space-between;
}

.newsletter form .checkbox-group{
	display:flex;
	margin-top:10px;
}

.newsletter form .checkbox-group label{
	font-size:.8em;
	margin:0 0 0 5px;
}

.newsletter form .checkbox-group input{
	width:auto;
	margin-top:2px;
}

.newsletter form .submit{
	margin-top:15px;
}

.newsletter form .submit input{
	background: #005ea7;
    color: #FFFFFF;
    padding: 12px 25px;
    font-weight: 700;
    text-transform: uppercase;
    border: 0;
    cursor: pointer;
    width:100%;
    border-radius: 0;
    transition: all 0.3s ease-out;
    font-size:1em;
}

.newsletter form .submit input:hover{
	background: #cfa635;
}

#colophon {
	background-color: #005ea7;
	color: #FFFFFF;
	padding: 3em 0 0;
	background-image: url(images/svg/decoration_dot_bottom.svg);
	background-repeat: no-repeat;
	background-position: bottom center;
}

#colophon a {
	color: #FFFFFF;
	text-decoration: none;
}

#colophon img {
	margin-bottom: 1em;
	max-width: 220px;
	width: 100%;
}

#colophon ul {
	padding: 0;
}

#colophon ul li {
	list-style: none;
}

#colophon ul li a {
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}

#colophon ul li a:hover {
	color: #cfa635;
}

#colophon h3 {
	margin-bottom: 1em;
	text-transform: uppercase;
	font-size: 1.2em;
}

#colophon .site-info {
	background-color: #004173;
	padding: 2em 10px;
	text-align: center;
	font-size: 0.8em;
	line-height:1;
	margin-top:30px;
}

#colophon .site-info ul{
	margin:0;
	padding:0;
}

#colophon .site-info ul li {
	display:inline-block;
}

#colophon .site-info ul li::before{
	content:'|';
	margin:0 5px;
}

.site-footer #menu-footer-contact li.linkedin a {
	font-size: 0;
}
.site-footer #menu-footer-contact li.linkedin a::after {
	content: "";
	background-image: url('images/linkedin-white.svg');
	background-repeat: no-repeat;
	background-size: 32px;
	width: 32px;
	height: 32px;
	color: #095FA7;
	display: inline-block;
	vertical-align: bottom;
	transition: all .3s ease;
	margin-top: 10px;
}
.site-footer #menu-footer-contact li.linkedin a:hover::after {
	background-image: url('images/linkedin-hover.svg');
}


/* ------------------------------------

	OPEN DATA

------------------------------------ */

iframe {
	width: 1px;
    min-width: 100%;
    border:none;
}

#containWidgetTdb{
	position: relative;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    /*overflow: hidden;*/
}

.ods-box {
    background: #FFF;
    border-radius: 3px;
    border: solid 1px #999;
    padding: 20px;
    margin-bottom: 20px;
}

.pdl-title{
	margin-bottom:5px;
}

.ods-box h2, .ods-box h3, .ods-box h4{
	margin:0 0 1em;
}

.odswidget-map {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.ods-debug {
    display: none;
    position: relative;
}

.ods-chart {
    position: relative;
    height: 100%;
    min-height: 200px;
}

.ods-chart__loading {
    width: 100%;
    position: absolute;
    z-index: 100;
    text-align: center;
    font-size: 50px;
    top: 45%;
    margin-top: -25px;
}

.ods-chart .chartplaceholder {
    width: 100%;
    height: 100%;
}

.odswidget-spinner.odswidget-spinner--svg {
    fill: currentColor;
    height: .8em;
}

.ods-debug__json-container {
    max-height: 400px;
    overflow: auto;
}

[ods-json-formatter] {
    font-family: Monaco,Menlo,Consolas,"Courier New",monospace;
    font-size: 10px;
    line-height: 12px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 3px;
    border: 1px solid rgba(0,0,0,.15);
    direction: ltr;
}

#containWidgetTdb{
	/*font-size:.8em;*/
}

.ods-conteneur{
	width:100%;
	display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.ods-conteneur h1, .ods-conteneur h2, .ods-conteneur h3, .ods-conteneur h4, .ods-conteneur h5, .ods-conteneur h6{
	display:block;
	width:100%;
}

#containWidgetTdb .container-fluid{
	padding:0;
}

.contain-article #containWidgetTdb ul li::before{
	content:none;
}

.contain-article #containWidgetTdb .textTableau ul li::before{
	content: '\2022';
}

.pdl-value {
	font-weight:600 !important;
}

#containWidgetTdb .odswidget-map-display-control__group-title, #containWidgetTdb .odswidget-map-legend__title {
    font-size: 1.1em;
    margin-bottom: 8px;
    display: block;
}

#containWidgetTdb .odswidget-map-display-control__groups{
	min-height:auto;
	padding: 5px;
}

#containWidgetTdb .odswidget-map-display-control__group{
	border:none;
	margin:0;
}

#containWidgetTdb .odswidget-map-legend__header{
	margin-bottom:10px;
}

#containWidgetTdb .odswidget-map-legend{
	padding:10px;
}

#containWidgetTdb .odswidget-map-legend__categories__item{
	font-size:0.9em;
}

.odsui-top::before, .odsui-bottom:before{
	font-family:'font-awesome';
    content: '\f106';
    display:block;
    padding:8px 6px;
    font-style:normal;
    font-size:1.4em;
    cursor:pointer;
    transition:all 0.2s;
}

.odsui-bottom:before {
	content:'\f107';
}


/* ------------------------------------

	RESPONSIVE

------------------------------------ */

@media (min-width: 992px) {
	.opendata .col-md-1, .opendata .col-md-10, .opendata .col-md-11, .opendata .col-md-12, .opendata .col-md-2, .opendata .col-md-3, .opendata .col-md-4, .opendata .col-md-5, .opendata .col-md-6, .opendata .col-md-7, .opendata .col-md-8, .opendata .col-md-9 {
	    float: left;
	}
}

@media only screen and (max-width: 992px) {
	.site-branding{
		padding-bottom:1em;
	}
	.site-title img {
	    padding-bottom:30px;
	}
	.chart{
		width: 100px;
	    height: 55px;
	    padding:55px 0 0 0;
	    vertical-align: top;
	    margin:0 5px;
	}
	.chart::before{
		width: 25px;
    	height: 20px;
		left:50%;
		top:50%;
		transform:translate(-50%,-50%);
	}

	.chart.btn-opendata:before{
		width: 25px;
    	height: 20px;
		left:50%;
		top:50%;
		transform:translate(-50%,-50%);
	}

	.chart.btn-terristory{
		width: 100px;
	    height: 55px;
	    padding:55px 0 0 0;
	}

	header .dropdown-toggle, header .trigger-menu{
		display:inline-block;
		width: 30%;
		margin:0 5px;
		animation:trigger .5s ease-out .4s both;
	}
	#slideHome .item figure{
		height:auto;
	}
	#slideHome .item figure img {
	    display: block;
	    width: auto;
	    position: static;
	    transform: none;
	    height: 100%;
	    max-width: none;
	}
	#slideHome .item article h2{
		font-size:1.4em;
		line-height:1.2;
	}
	@keyframes trigger {
	  0%   {top:20px; opacity:0;}
	  100% {top:0px; opacity:1;}
	}
	.menu-header{
		display:none;
	}

	#modal-menu{
	    display:block;
	}

	#colophon .logo{
		margin-bottom:1em;
	}

	.flex-equipe .wp-block-group__inner-container{
		display:block;
	}

	.equipe-membre.card{
		margin:40px auto;
		max-width:80%;
	}
}

@media only screen and (max-width: 767px) {
	#slideHome .item article{
		margin-top:30px;
	}
	#slideHome .item article h2{
		font-size:1.2em;
	}
	#slideHome .item figure img {
	    display: block;
	    width: auto;
	    position: relative;
	    transform: translateX(-50%);
	    height: 100%;
	    max-width: none;
	    top:auto;
	    left:50%;
	}

	.equipe-membre.card{
		max-width:95%;
	}

}

@media only screen and (max-width: 576px) {
	.contain-article h1{
		font-size:2em;
	}

	.contain-article h2{
		font-size:1.6em;
	}

	.contain-article h3{
		font-size:1.4em;
	}

	.contain-article h3.more, .contain-article .more{
		font-size:1.3em;
	}

	.contain-article h4{
		font-size:1.2em;
	}

	.contain-article h5{
		font-size:1em;
	}

	#slideHome .item figure{
		height:300px;
	}

	.tuile h3{
		font-size:1em;
	}
}