/*
Theme Name: Derville
Theme URI: https://www.ergopix.com
Author: ergopix sàrl
Version: 1.0
*/

* {
	outline: 0 none !important;
}

#wp-admin-bar-customize,
#wp-admin-bar-new-content,
#wp-admin-bar-search,
#wp-admin-bar-comments,
#wp-admin-bar-themes,
#wp-admin-bar-menus,
#wp-admin-bar-customize,
#wp-admin-bar-comments {
	display: none;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

figure.wp-caption.alignleft,
img.alignleft {
	margin: 7px 24px 7px 0;
}

.wp-caption.alignleft {
	margin: 7px 14px 7px 0;
}

figure.wp-caption.alignright,
img.alignright {
	margin: 7px 0 7px 24px;
}

.wp-caption.alignright {
	margin: 7px 0 7px 14px;
}

img.aligncenter,
.wp-caption.aligncenter {
	margin-top: 7px;
	margin-bottom: 7px;
}

.wp-caption {
	margin-bottom: 24px;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0;
}

.wp-caption,
img {
	max-width: 100%;
	height: auto;
}

body {
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: #000;
	font-family: 'Everett-Regular';
	line-height: 1.2;
}

.zephyr {
	font-family: 'Zephyr';
}

header {
	z-index: 1030;
}

.hamburger {
	display: block;
	width: 51px;
	overflow: hidden;
	cursor: pointer;
	display: inline-block;
	top: 2px;
	position: relative;
}

.hamburger span {
	background: #000;
	display: block;
	height: 1px;
	margin: 16px 0;
	position: relative;
	transform: rotate(0);
	top: 0;
	left: 0;
	opacity: 1;
	transition: none .5s ease;
	transition-property: transform, top, left, opacity;
}

body.menu-opened .hamburger span.top-bar {
	transform: rotate(45deg);
	top: 18px;
}

body.menu-opened .hamburger span.middle-bar {
	opacity: 0;
}

body.menu-opened .hamburger span.bottom-bar {
	transform: rotate(-45deg);
	top: -18px;
}

body.menu-opened .hamburger span.middle-bar {
	left: -40px;
}

h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	margin-bottom: .5rem;
	font-weight: 500;
	line-height: 1.2;
}

a {
	color: #C04F3E;
	text-decoration: none;
}

a:hover {
	color: #C04F3E;
}

.the-content ul {}

.the-content ol {}

.the-content ul li, .the-content ol li {}

.list-inline li {
	display: inline-block;
}

.list-inline li:not(:last-child) {
	margin-right: .5rem;
}

.main-menu li a {
	display: inline-block;
	text-decoration: none;
}

.boxed {
	max-width: 1920px;
	margin: 0 auto;
	overflow-x: hidden;
}

.text-body {
	color: #000 !important;
}

.left-0 {
	left: 0;
}

.right-0 {
	right: 0;
}

.menu-item {
	opacity: 0;
	visibility: hidden;
	transition: .3s;
}

.menu-item-mobile{
	display: none;
}

body.menu-opened .menu-item {
	opacity: 1;
	visibility: visible;
}

body.menu-opened .menu-item.menu-item-mobile{
	display: block;
}

.container-page {
	padding-top: 73px;
}

body.home .container-page {
	padding-top: 0;
}

.left-content-single:before, .left-content-home:before {
	content: "";
	display: block;
	height: 100%;
	width: 1000px;
	position: absolute;
	right: 16.6666666666%;
	top: 0;
	bottom: 0;
	background-color: #FFECE0;
	z-index: -1;
}

.left-content-home:before {
	right: 0;
}

.right-content-home {
	padding-bottom: 275px;
}

.text-primary {
	color: #C04F3E !important;
}

.bg-primary {
	background-color: #C04F3E !important;
}

.bg-secondary{
	background-color: #004A79!important;
}

.plus {
	position: relative;
	width: 68px;
	height: 68px;
	top: -8px;
	cursor: pointer;
}

.plus.team-plus{
	position: absolute;
	bottom: 1.5rem;
	right: 1.5rem;
	top: auto;
}

body.home .plus.team-plus{
	position: relative;
	bottom: auto;
	right: auto;
	top: auto;
}

.plus span {
	position: absolute;
	transition: 300ms;
	background: #FFF;
}

.plus.team-plus span{
	background: #C04F3E;
}

body.home .team-plus.news-plus{
	position: absolute;
	bottom: 0;
	right: 0;
} 

.team-plus.news-plus span{
	background: #FFF;
} 

.plus span:first-child {
	top: calc(50% - 3px);
	width: 68px;
	height: 6px;
	left: 0;
}

.plus span:last-child {
	transform: rotate(90deg);
	left: calc(50% - 3px);
	height: 68px;
	width: 6px;
	top: 0;
}

.accordion-button.collapsed .plus span:last-child, .plus.team-plus span:last-child {
	left: calc(50% - 3px);
	height: 68px;
	width: 6px;
	top: 0;
	transform: rotate(0);
}

.accordion-button::after {
	display: none;
}

.facetwp-counter {
	display: none;
}

body .facetwp-radio {
	background: none;
	background-size: auto;
	margin-bottom: 10px;
	padding-left: 0;
	position: relative;
	color: #FFF;
}

body .facetwp-radio.checked {
	background-image: none;
}

body .facetwp-radio:before, a.all:before, .nav-tabs .nav-link.active:before {
	content: "";
	display: block;
	height: 12px;
	width: 12px;
	background-color: #FFFFFF;
	transform: rotate(45deg);
	position: absolute;
	top: 9px;
	left: -25px;
	opacity: 0;
}

body .facetwp-radio.checked:before, a.all.active:before, .nav-tabs .nav-link.active:before {
	background-image: none;
	opacity: 1;
}

.bg-white-50{
	background-color: rgba(255,255,255,.5);
}

.left-0{
	left: 0;
}

.right-0{
	right: 0;
}

.team-overlay{
	opacity: 0;
	transition: .3s;
	-webkit-transition: .3s;
}

.team-item:hover .team-overlay{
	opacity: 1;
}

body .facetwp-facet{
	margin-bottom: 0;
}

.hero{
	height: 80vh;
	min-height: 80vh;
}

.bg-team-inner{
	content: "";
	display: block;
	height: 100%;
	width: 1550px;
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: -1;
}

.pt-team{
	padding-top: 160px;
}

.pb-team{
	padding-bottom: 160px;
}

.mt-team{
	margin-top: -160px;
}

.pt-120{
	padding-top: 180px;
}

.right-content-home-2:before{
	content: "";
	display: block;
	height: 100%;
	width: 1000px;
	position: absolute;
	left: 16.6666666666%;
	top: 0;
	bottom: 0;
	background-color: #FFECE0;
	z-index: -1;	
}

.right-content-home-2 .losanges{
	height: 200%;
}

.right-content-home-2 .losanges:after{
	content: "";
	display: block;
	height: 100%;
	width: 1000px;
	position: absolute;
	left: 16px;
	top: 125px;
	bottom: 0;
	background-image: url("images/losanges.svg");
	background-repeat: no-repeat;
	z-index: -1;	
}

.nav-tabs {
	border-bottom: none;
	display: block;
	flex-wrap: nowrap;
	list-style: none;
}

.nav-tabs .nav-link {
	padding: 0;
	transition: none;
	margin-bottom: 0;
	background: transparent;
	border: none;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	margin-bottom: 10px;
	color: #FFF;
	cursor: pointer;
	position: relative;
}

.nav-tabs .nav-link.active {
	color: #FFF;
	background-color: transparent;
	border-color: transparent;
}

.voute{
	left: 0;
	top: 330px;
	z-index: -1;
}

body .wpgmza_infowindow_title{
	margin-bottom: 0;
}

body .wpgmza_infowindow_description p{
	margin-bottom: 5px;
}

body .gdpr-container p {
	font-size: 16px;
}

.team-cta {
	text-shadow: 0px 0px 20px rgba(0,0,0,0.8);
}

.team-cta a, .team-cta a:visited, .team-cta a:hover, .team-cta a:active, .team-cta a:focus {
	color:#FFFFFF;
	text-decoration: none;
}

.left-news:after{
	content: "";
	display: block;
	height: 100%;
	width: 500px;
	position: absolute;
	left: -500px;
	top: 60px;
	bottom: 0;
	background-color: #ffece0;
}

.pt-news{
	padding-top: 60px;
}

.pb-news{
	padding-bottom: 60px;
}

.row-news{
	margin-top: -60px;
}

.bg-news:after{
	content: "";
	display: block;
	height: 100%;
	width: 500px;
	position: absolute;
	right: -500px;
	top: 0;
	bottom: 0;
	background-color: #b94d3b;
}

.news-full-container .slick-dots {
	bottom: 86px;
	text-align: left;
	width: 50%
}

.slick-dots li.slick-active button::before {
	opacity: 1;
	color: #000;
}

.slick-dots li button::before {
	font-size: 15px;
	line-height: 20px;
	width: 20px;
	height: 20px;
	opacity: 1;
	color: #FFF;
}

.slick-dots li {
	margin: 0 2px;
}

.news-excerpt p{
	margin-bottom: 0;
}

.blog .container-page {
	overflow-y: hidden;
}

@media (max-width: 1499.98px) {
	.right-content-home-2:after {
		left: 6px;
	}
}

@media (max-width: 1399.98px) {
	body .facetwp-radio::before, a.all::before {
		top: 7px;
	}
	.voute{
		top: 255px;
	}
	.mt-titres{
		margin-top: 20px;
	}
	.right-content-home-2:after {
		background-size: 58%;
	}
}

@media (max-width: 1199.98px) {
	body .facetwp-radio::before, a.all::before {
		top: 7px;
	}
	.right-content-home-2:after {
		background-size: 48%;
	}
}

@media (max-width: 991.98px) {
	.plus {
		width: 45px;
		height: 45px;
		top: -6px;
	}
	.plus span:first-child {
		top: calc(50% - 2px);
		width: 45px;
		height: 4px;
	}
	.plus span:last-child {
		left: calc(50% - 2px);
		height: 45px;
		width: 4px;
	}	
	.accordion-button.collapsed .plus span:last-child, .plus.team-plus span:last-child {
		left: calc(50% - 2px);
		height: 45px;
		width: 4px;
	}	
	.plus.team-plus{
		bottom: 1rem;
		right: 1rem;
	}
	body .facetwp-radio:before, a.all:before, .nav-tabs .nav-link.active:before {
		top: 8px;
		left: -18px;
		width: 10px;
		height: 10px;
	}
	.pb-team {
		padding-bottom: 80px;
	}
	.pt-team {
		padding-top: 80px;
	}
	.mt-team {
		margin-top: -210px;
	}
	.pt-120 {
		padding-top: 140px;
	}
	.right-content-home-2:after {
		background-size: 35%;
	}
}

@media (max-width: 767.98px) {
	body .facetwp-radio:before, a.all:before, .nav-tabs .nav-link.active:before {
		top: 5px;
		left: -18px;
		width: 10px;
		height: 10px;
	}	
	.pb-news {
		padding-bottom: 30px;
	}
	.pt-news {
		padding-top: 30px;
	}
	.row-news {
		margin-top: 0;
	}
	.news-full-container{
		background-color: #b94d3b;
	}
	.news-full-container .slick-dots {
		bottom: 57px;
	}
}

@media (max-width: 575.98px) {
	.hamburger {
		width: 43px;
	}
	body.menu-opened .hamburger span.top-bar {
		top: 16px;
	}
	.facetwp-facet-categories, .facetwp-facet-ville{
		--bs-gutter-x: 1.5rem;
		--bs-gutter-y: 0;
		display: flex;
		flex-wrap: wrap;
		margin-top: calc(var(--bs-gutter-y) * -1);
		margin-right: calc(var(--bs-gutter-x)/ -2);
		margin-left: calc(var(--bs-gutter-x)/ -2);
	}
	body .facetwp-facet-categories .facetwp-radio, body .facetwp-facet-ville .facetwp-radio{
		flex: 0 0 auto;
		width: 50%;
		max-width: 100%;
		padding-right: calc(var(--bs-gutter-x)/ 2);
		padding-left: calc(var(--bs-gutter-x)/ 2);
		margin-top: var(--bs-gutter-y);
	}
	body .facetwp-radio {
		margin-bottom: 5px;
	}
	body .facetwp-radio.checked, a.all {
		font-family: 'Everett-Bold';
	}
	body .facetwp-radio::before, a.all::before {
		display: none;
	}
}

@media (min-width: 1499.98px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
		max-width: 1440px;
	}
}

@media (min-width: 1399.98px) {
	.mt-titres{
		margin-top: 30px;
	}
}

body .facetwp-facet .facetwp-radio:last-child{
	margin-bottom: 0;
}

@media (max-width: 767px){
	.left-content-home:before {
		height: 375px;
	}
	.right-content-home {
		padding-bottom: 2rem;
	}
	.coll-mobile{
		background-position: center top;
		background-repeat: no-repeat;
		background-size: 100% auto;
	}
	.wpgmza_map{
		height: 400px!important;
	}
}

@media (max-width: 575px){
	.right-content-home {
		padding-bottom: 1rem;
	}
	.map-container{
		padding: .75rem;
	}
	.container-map-links{
		padding-left: 20px;
	}
	.nav-tabs .nav-link{
		margin-bottom: 5px;
	}
}