/*
Theme Name: Acces & Fermetures
Text Domain: https://www.accesetfermetures-lyon.fr
Version: 1.1
Description: Thème sur-mesure pour Acces & Fermetures
Author: Spirale Développement
Author URI: https://spirale-developpement.com/

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/**
 * Normalize
 *
 * Normalizing styles have been helped along thanks to the fine work of
 * Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
 */
 * {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box; 
}

html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

h1, h2, h3 { font-weight: normal; }

:root :where(a:where(:not(.wp-element-button))) {
	text-decoration: none;
}

a, button, .btn {
	background-color: transparent;
	text-decoration: none;
	-webkit-transition: all .5s ease 0s;
	-o-transition: all .5s ease 0s;
	transition: all .5s ease 0s;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: 700;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 0;
}

hr {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

code,
kbd,
pre,
samp {
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
	-webkit-transition: all .5s ease 0s;
	-o-transition: all .5s ease 0s;
	transition: all .5s ease 0s;
}

select {
	text-transform: none;
}

button {
	overflow: visible;
}

button,
input,
select,
textarea {
	max-width: 100%;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
	opacity: .5;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input[type="checkbox"],
input[type="radio"] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin-right: 0.4375em;
	padding: 0;
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-outer-spin-button,
input[type="time"]::-webkit-inner-spin-button,
input[type="time"]::-webkit-outer-spin-button,
input[type="datetime-local"]::-webkit-inner-spin-button,
input[type="datetime-local"]::-webkit-outer-spin-button,
input[type="week"]::-webkit-inner-spin-button,
input[type="week"]::-webkit-outer-spin-button,
input[type="month"]::-webkit-inner-spin-button,
input[type="month"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #d1d1d1;
	margin: 0 0 1.75em;
	min-width: inherit;
	padding: 0.875em;
}

fieldset > :last-child {
	margin-bottom: 0;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
	vertical-align: top;
}

optgroup {
	font-weight: bold;
}


.nomargint {
	margin-top: 0!important;
}

.nomarginb {
	margin-bottom: 0!important;
}

/**
 * Alignments
 */

.alignleft {
	float: left;
	margin: 0.375em 1.75em 1.75em 0;
}

.alignright {
	float: right;
	margin: 0.375em 0 1.75em 1.75em;
}

.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto 1.75em;
}

blockquote.alignleft {
	margin: 0.3157894737em 1.4736842105em 1.473684211em 0;
}

blockquote.alignright {
	margin: 0.3157894737em 0 1.473684211em 1.4736842105em;
}

blockquote.aligncenter {
	margin-bottom: 1.473684211em;
}



/**
 * Captions
 */

.wp-caption {
	margin-bottom: 1.75em;
	max-width: 100%;
}

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

.wp-caption .wp-caption-text {
	color: #686868;
	font-size: 13px;
	font-size: 0.8125rem;
	font-style: italic;
	line-height: 1.6153846154;
	padding-top: 0.5384615385em;
}


/**
 * Galleries
 */

.gallery {
	margin: 0 -1.1666667% 1.75em;
}

.gallery-item {
	display: inline-block;
	max-width: 33.33%;
	padding: 0 1.1400652% 2.2801304%;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-icon img {
	margin: 0 auto;
}

.gallery-caption {
	color: #686868;
	display: block;
	font-size: 13px;
	font-size: 0.8125rem;
	font-style: italic;
	line-height: 1.6153846154;
	padding-top: 0.5384615385em;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

/* Wordpress wp-adminbar not fixed < 600 */
@media screen and (max-width: 600px) {
	body.logged-in #site-header.scrolled {
		margin-top: 0!important;
	}
}

/**
* End Normalize
*/

/*=====================================================
	GENERAL
======================================================*/

:root {
	--black: #333;
	--white: #fff;
	--blue: #2E5A95;
	--green: #1B9DA7;
	--verylightblue: #f4f7fc;
	--red: #e86159;
}

body {
	font-size: 16px;
	color: var(--black);
}

.container {
	max-width: calc(100% - 200px);
	margin: 0 auto;
}

img { max-width:100%; height:auto; }

.wp-block-image img { border-radius:20px; }

.grecaptcha-badge { opacity:0; visibility: hidden; }


/*=====================================================
	HEADER
======================================================*/

#header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;       
	z-index: 100;
}

#header #top-header {
	transition: all .5s ease 0s;
	color: var(--green);
	padding: 5px 0;
}

#header #top-header ul {
	display: flex;
	width: 100%;
	justify-content: flex-end;
	font-size: .8em;
	align-items: center;
	gap: .5em;
}

#header #top-header ul li { list-style-type:none; }

#header #top-header ul li a,
#header #top-header ul li button {
	color: var(--green);
	display: block;
	border-radius: 5px;
}

#header #top-header ul li a:hover,
#header #top-header ul li button:hover {
	opacity: .5;
}

#header #top-header .big-link { 
	font-size: 1.6em;
	font-weight: bold;
	line-height: 1;
	margin-right: 1em;
}

#header #top-header .small-link {
	width: 38px;
	height: 38px;
	line-height: 38px;
	text-align: center;
	background-color: var(--white);
	border: 1px solid var(--green);
}
#header #top-header ul li .small-link:hover { 
	background-color: var(--green);
	color: var(--white);
}

#header #top-header #pro-link {
 background-color: var(--green);
 text-transform: uppercase;
 color: var(--white);
 padding: 8px 15px;
 font-weight: bold;
 border-radius: 10px;
 border: 1px solid var(--green);
}

#header #top-header #pro-link:hover {
	color: var(--green);
	background-color: var(--white);
}

#header #bottom-header {
	display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: -40px;
}

#header #open-menu {
  display: none;
  background-color: var(--blue);
  border: 0;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 2px;
  margin-left: auto;
  font-size: 1.2em;
}

#header .logo { 
	display: block;
  position: relative;
  left: 100px;
}
#header .logo img { 
	transition: all .5s ease 0s;
	display: block;
	height:120px;
}

#header nav { 
	padding: 0 100px 0 0;
  background-color: var(--white);
  margin-left: auto;
  max-width: calc(100% - 370px);
  border-radius: 10px 0 0 10px;
  position: relative;
}

#red-phone {
	position: absolute;
  background-color: var(--red);
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0px 20px;
  font-size: 1.4em;
}

#red-phone:hover {
	opacity: .5;
}

#header nav ul.menu {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#header nav ul.menu li {
	list-style-type: none;
}

#header nav ul.menu > li > a {
  padding: 20px 17px;
  color: var(--blue);
  display: block;
  text-align: center;
  line-height: 1.1;
  position: relative;
  min-height: 75px;
  justify-content: center;
  align-items: center;
  display: flex;
}

.sub-arrow {
	position: absolute;
  bottom: 0;
  left: calc(50% - 5.6px);
  font-size: .8em;
}

#header nav ul.menu a:hover,
#header nav ul.menu .sub-menu li a:hover {
	color: var(--green);
}

#header nav ul.menu > li.current_page_item > a { color:var(--green); }

#header nav ul.menu .sub-menu {
	background-color: #fff;
  border-top: 1px solid var(--blue);
  position: absolute;
  margin-top: 2em;
  opacity: 0;
  visibility: hidden;
  transition: all .5s ease 0s;
  min-width: 178px;
  padding: 0;
  border-radius: 0;
}

#header nav ul.menu li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	margin-top: 0px;
}

#header nav ul.menu .sub-menu li a {
	display: block;
	padding: 12px 18px;
	font-size: .9em;
	color: var(--blue);
}

#header nav ul.menu .sub-menu li.current_page_item > a {
	color: var(--green);
}

#header.scrolled { position:fixed; background-color: var(--white);}
#header.scrolled #top-header { max-height: 0px; overflow:hidden; padding: 0; }
#header.scrolled #bottom-header { margin-top: 0; }
#header.scrolled .logo img { height: 75px; }


/*=====================================================
	Front Page
======================================================*/

#site-main { min-height: 60vh; margin-top: 150px; }

/* Front Page */

#site-main #section-slider { 
	margin-bottom: 2em;
	padding: 0 100px;
	position: relative;
}

#site-main #section-slider::before { 
	content: "";
	display: block;
	background-color: var(--blue);
	width: calc(50% + 50px);
	right: 0;
	top: 0;
	border-radius: 0 0 0 10px;
	height: 100%;
	position: absolute;
}

#site-main #section-slider li {
	height: calc(100vh - 120px);
	position: relative;
	z-index: 2;
	background-repeat: no-repeat;
}

#site-main #section-slider li a {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
}

#site-main #section-slider li figure {
	width: calc(100% * (2 / 3) - 50px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 20px;
  max-height: calc(100% - 200px);
}

#site-main #section-slider li figure img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

#site-main #section-slider li .slider-content {
	background-color: var(--white);
  max-width: calc(50% - 100px);
  opacity: 0;
  z-index: 10;
  padding: 2em;
  border-radius: 10px;
  position: absolute;
  right: 0;
}

#site-main #section-slider li[aria-hidden="false"] .slider-content {
	opacity: 1;
	margin-top: 0;
	transition: all .5s ease 0s;
}

#site-main #section-slider li .slider-content h1, 
#site-main #section-slider li .slider-content h2 {
	font-size: 1.9em;
	font-weight: 900;
	color: var(--blue);
	margin-bottom: 10px;
}

#site-main #section-slider li .slider-content p {
	margin-bottom: 1em;
	font-size: .8em;
}

#site-main #section-slider li .slider-content .btn {
	background-color: var(--green);
  font-weight: bold;
  color: #fff;
  padding: 10px;
  border-radius: 10px;
  width: 90px;
  height: 90px;
  text-align: center;
  line-height: 1.2;
  display: flex;
  align-items: center;
  position: absolute;
  right: 30px;
}

#site-main #section-slider li .slider-content .btn:hover {
	background-color: #fff;
	color: var(--green);
}

#site-main .bx-controls {
	position: absolute;
  bottom: 25px;
  z-index: 51;
  padding: 0 5px;
}

#site-main .bx-controls-direction {
	display: flex;
  justify-content: space-between;
  gap: 2em;
  padding: 0 50px;
}

#site-main .bx-controls a {
	display: block;
	border-radius: 100%;
	text-align: center;
	color: var(--blue);
	font-size: 1.4em;
}

.wp-block-getwid-section:not(.getwid-section-content-full-width) .wp-block-getwid-section__inner-wrapper {
  max-width: 1200px;
}

#top-reassurances {
	display: flex;
  position: absolute;
  bottom: 14px;
  right: 100px;
  gap: 1em;
  max-width: 45%;
}

#top-reassurances div {
	display: flex;
	align-items: center;
	gap: .5em;
	width: 50%;
}

#top-reassurances div span { 
	font-weight:bold;
	line-height: 1.1;
	color: var(--white);
	text-align: right;
	max-width: 100px;
}

/*Front content*/

/*General*/
#section-presentation h2:not(:last-child) { margin-bottom:1.5rem; }
#section-presentation h3:not(:last-child) { margin-bottom:1.3rem; }
#section-presentation h4:not(:last-child), #section-presentation h5:not(:last-child), #section-presentation h6:not(:last-child) { margin-bottom:1rem; }

#section-presentation .has-background:not(.wp-block-button__link) { padding: 2em; border-radius:10px }
#section-presentation .wp-block-buttons:first-child .wp-block-button .wp-block-button__link { margin-top:0 }

.wp-block-getwid-images-slider .slick-prev::before { content: '\f053'; }
.wp-block-getwid-images-slider .slick-next::before { content: '\f054'; }

.wp-block-getwid-images-slider .slick-prev::before,
.wp-block-getwid-images-slider .slick-next::before { font-family:'Font Awesome 5 Free'; font-weight: bold; color: var(--blue) }

/*Services*/
#front-services .wp-block-column ul { padding-left: 30px }
#front-services .wp-block-column ul li::before {
	content:"\f058";
	font-family: "Font Awesome 5 Free";
	position: absolute;
	left: 0px;
} 
#front-services .wp-block-column ul li { list-style-type: none; }
#front-services .wp-block-column ul li:not(:first-child) { margin-top:.7em; }
#front-services .wp-block-column .wp-block-button__link {
	width: 80px;
  height: 80px;
  line-height: 1;
  display: flex;
  align-items: center;
  margin: -20px 0 0;
}

#front-services	.wp-block-getwid-image-box { cursor: pointer; position: relative; overflow: hidden; border-radius:15px; }
#front-services	.wp-block-getwid-image-box__image-container { margin-bottom:0; }
#front-services .wp-block-getwid-image-box__content {
	position: absolute;
  bottom: 0;
  padding: 15px 25px;
  font-size: 2em;
  line-height: 1;
}
#front-services .wp-block-getwid-image-box .wp-block-getwid-image-box__image-wrapper::before {
  content: "";
  width: 100%;
  height: 100%;
  background: rgb(255,255,255);
	background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%); 	
  display: block;
  position: absolute;
}

/*Promesse*/
#section-presentation #front-promesse .has-blue-background-color {
	padding: 1.5em 1.5em 1.5em 100px;
	border-radius: 0 10px 10px 0;
	min-width: 27%;
}
#front-promesse .wp-block-getwid-image-box__image { max-width:80px; }
#front-promesse .wp-block-button__link {
	width: 100px;
  height: 100px;
  line-height: 1;
  display: flex;
  align-items: center;
  margin: 00px 0 -30px;
  z-index: 10;
  position: relative;
}

/*Lyon*/
#front-lyon .wp-block-getwid-section__foreground {
  max-width: 50%;
  right: 0;
  left: 50%;
}
#front-lyon .wp-block-button__link { margin-top:0; }
#front-lyon .wp-block-button__link::before {
	content:"\f058";
	font-family: "Font Awesome 5 Free";
	display: inline-block;
	margin-right: 10px;
	font-weight: normal;
}

/*Prix*/
#front-prix .has-white-background-color { position:relative; }
#front-prix .has-white-background-color a { position:absolute; top: 1em; right: 1em; }
#front-prix .wp-block-column:first-child .wp-block-button__link {
	max-width: 100px;
	height: 100px;
	display: flex;
	align-items: center;
	line-height: 1;
}

/*partenaires*/
#front-partenaires img { filter: grayscale(100%); }

/*avis*/
#front-avis .wprevpro_t1_SPAN_5 { color:#fff }
#front-avis .wprs_unslider-nav { display:none; }
#front-avis .wprevpro_star_imgs { display:block; }
#front-avis .wp-block-button__link {
	margin-top: 0;
  width: 100px;
  height: 100px;
  line-height: 1;
  display: flex;
  align-items: center;
  margin-bottom: -80px;
}

.wp-block-getwid-section .ti-widget.ti-goog .ti-widget-container .ti-name,
.wp-block-getwid-section .ti-widget.ti-goog .ti-widget-container .ti-date { color: var(--white) !important; }

.ti-verified-by.ti-verified-by-row { display:none !important; }

/*Contact*/
#front-contact .wpcf7-form {
	display: flex;
	flex-wrap: wrap;
	gap: 1em;
	justify-content: space-between;
}

#front-contact .wpcf7-form .form-col { width: calc((100% / 3) - 1em); }
#front-contact .wpcf7-form .form-col-100 { width: 100%; }
#front-contact .wpcf7-form .form-col-100 p { align-item: center; display: flex; justify-content: space-between; } 
#front-contact .wpcf7-form-control.wpcf7-textarea { max-height: 130px; }
#front-contact .wpcf7-spinner { display:none; }

/*=====================================================
	PAGES
======================================================*/

/*Heading*/
#site-heading { padding: 0 100px; }

#heading-content {
  padding: 2em 3em;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-color: #fff;
  position: relative;
}

#heading-content::before {
	content: "";
  display: block;
  position: absolute;
  left: 0;
  height: 100%;
  opacity: .7;
  background-color: #fff;
  top: 0;
  width: 100%;
}

#heading-content > * {
	position: relative;
	z-index: 10;
	text-align: center;
} 

#heading-content h1 { color: var(--blue); font-weight:bold; font-size: 1.6em; margin-bottom: 5px; }
#heading-content #breadcrumbs { font-size: .8em; }
#heading-content #breadcrumbs a { color: var(--blue); }

.page-content .container { padding: 2em 0; }
#page .container:has(.wp-block-getwid-section:first-child) { padding-top: 0; }
#page .container:has(.wp-block-getwid-section:last-child) { padding-bottom: 0; }


.page-content h2:not(:last-child) { padding-bottom:1em; }
.page-content h3:not(:last-child) { padding-bottom:1em; }
.page-content h4:not(:last-child) { padding-bottom:1em; }
.page-content h5:not(:last-child) { padding-bottom:1em; }

.page-content h2:not(:first-child) { padding-top:1em; }
.page-content h3:not(:first-child) { padding-top:0em; }
.page-content h4:not(:first-child) { padding-top:0em; }
.page-content h5:not(:first-child) { padding-top:0em; }

.page-content .wp-block-getwid-section {
  width: 100vw;
  margin: 2.5em 0 2.5em -100px;
}

.page-content .wp-block-getwid-section:first-child { margin-top:0; }
.page-content .wp-block-getwid-section:last-child { margin-bottom:0; }

.page-content ul, .page-content ol { margin-left: 2em; }
.page-content ul li:not([class]) { 
	position: relative;
	margin-bottom: .5em;
	list-style-type: none;
}
.page-content ul li:not([class]):not([role])::before {
	width: 8px;
  height: 8px;
  background-color: var(--blue);
  display: block;
  border-radius: 2px;
  content: "";
  position: absolute;
  top: 8px;
  left: -20px;
}
.page-content .has-background:not(.wp-block-getwid-section__background):not(.wp-block-getwid-icon__wrapper):not(.wp-block-getwid-content-timeline__bar):not(.wp-block-getwid-icon-box__icon-wrapper):not(.wp-block-media-text):not(.wp-block-button__link) {
  padding: 2em 2.5em;
  border-radius: 10px;
}

.page-content .wp-block-separator {padding: 0 !important; }
.page-content .wp-block-separator.is-style-default { max-width: 200px; margin: 3em  auto; }

.page-content article p:not(:last-child) { margin-bottom: 1em; }

.page-content .wp-block-columns:not(:last-child) { margin-block-end: 3em; }
.page-content .wp-block-columns:not(:first-child) { margin-block-start: 3em; }
.page-content .wp-block-columns .wp-block-columns:not(:first-child) { margin-block-start: 0em; }


.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper {
  border: 0;
  background-color: var(--white);
  color: var(--blue);
  margin-bottom: 10px;
  border: 0 !important;
}

.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper.ui-accordion-header-active {
	background-color: var(--blue);
	color: var(--white);
}

.wp-block-getwid-accordion__content {
	border: 0;
  background-color: rgba(255,255,255,.4);
}


.wpcf7 input::placeholder { color: var(--black); }

.wpcf7 .wpcf7-form-control:not(.wpcf7-acceptance):not(.wpcf7-submit) {
	border: 1px solid var(--white);
	color: var(--black);
	padding: 5px 15px;
	border-radius: 10px;
	margin-bottom: 10px;
	width: 100%;
}

.wpcf7 .wpcf7-form-control.wpcf7-textarea { border-radius: 10px !important; }

.wpcf7 .wpcf7-form-control:not(.wpcf7-acceptance):not(.wpcf7-submit):focus { 
	border-color: var(--blue);
	color: var(--blue);
}

.wpcf7 .wpcf7-form-control.wpcf7-submit {
	padding: 5px 15px;
	color: #fff;
	font-weight: bold;
	background-color: var(--red);
	border-radius: 10px;
	border: 1px solid var(--red);
}

.wpcf7 .wpcf7-form-control.wpcf7-submit:hover {
	background-color: #fff;
	color: var(--red);
}


.contact-content.page-content article form p { margin-bottom:0; }

.contact-content .wpcf7-form-control.wpcf7-submit {
  margin-top: 1em;
  float: right;
}

.contact-content .contact-content {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2em;
}

.contact-content .contact-content > * {
  display: flex;
  align-items: center;
}

.contact-content .contact-content address {
  margin-bottom: 1em;
  font-style: normal;
}

.contact-content .contact-content .contact-link {
  font-weight: bold;
  margin-left: 10px;
}

.contact-content .contact-content .contact-link:hover { opacity: .5; }

.contact-content .contact-content i:not(.fa-linkedin-in) {
	color: var(--white);
	margin-right: 10px;
}


/*=====================================================
	Home
======================================================*/


#home .container {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	padding-top: 40px;
	padding-bottom: 60px;
}

#home article {
	width: calc( (100% / 3) - 40px);
	margin-right: 40px;
	min-height: 400px;
	position: relative;
}

#home article:nth-child(3n) {
	margin-right: 0;
}

#home article a {
	position: relative;
	color: var(--black);
	display: block;
	height: 100%;
	position: relative;
	box-shadow: none;
	font-size: .9em;
	background-color: var(--white);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

#home article a:hover {
	background-color: var(--blue);
}

#home a:hover .news-text .a-date,
#home a:hover .news-text p,
#home a:hover .news-text h2,
#home a:hover .news-text button {
	color: #fff;
}

.one-news figure {
  display: flex;
  height: 200px;
  overflow: hidden;
  width: 90%;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin: -20px 0 0 5%;
  box-shadow: 0 0 15px rgba(0,0,0,.1);
  transition: all .5s ease 0s;
}

#home a:hover figure {
  margin: -20px 0 0 0;
  width: 100%;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 0 0px rgba(0,0,0,0);
}

#home a.with-thum:hover figure {
	margin-top: -20px;
}

.one-news figure img {
	width: 100%;
	height: auto;
}

#home .news-text {
	padding: 30px 40px 10px;
}

#home .news-text h2 {
	margin-bottom: 10px;
	color: var(--green);
	line-height: 1;
}

#home .news-text .a-date {
	font-weight: 900;
	font-size: .8em;
}

#home a.no-thum .news-text {
	position: absolute;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
}

#home a button {
  border: 0;
  text-transform: uppercase;
  font-size: .8em;
  font-weight: bold;
  margin-top: 0;
  background-color: var(--green);
  color: #fff;
  padding: 1.3em 1em;
  width: 80px;
  height: 80px;
  border-radius: 10px;
  margin-left: auto;
  margin-bottom: -10px;
  margin-right: -10px;
  text-align: center;
  transition: all .5s ease 0s;
  box-shadow: 0 0 15px rgba(0,0,0,.1);
}

#home a:hover button {
  box-shadow: 0 0 0 rgba(0,0,0,0);
  margin-bottom: 0px;
  margin-right: 0px;
}



/* PAGINATION */

#pagination {
	width: 100%;
  	margin: 2.5em 0 0;
}

#pagination ul {
	display: flex;
	justify-content: center;
	margin: 0;
}

#pagination ul li { list-style-type: none; margin: 0 5px;}
#pagination a, #pagination span { font-weight: bold; color: var(--green); border-radius:5px; border: 1px solid var(--green); text-align:center; padding:2px 5px; display:block; min-width: 30px}
#pagination .prev, #pagination .next { display:flex; align-items:center; }
#pagination .prev i { margin-right:5px; }
#pagination .next i { margin-left:5px; }

#pagination a:hover { color: var(--white); background-color: var(--green); border-color: var(--green); }
#pagination span.current { color: #fff; background-color: var(--green); border-color: var(--green); }


/*=====================================================
	Single
======================================================*/

#single-header { margin-bottom:2em; }
#page .container #single-header h1 { margin-bottom: 0; line-height: 1.5; }

/*=====================================================
	FOOTER
======================================================*/

footer {
	background-color: var(--blue);
	color: var(--white);
	font-size: .8em;
}

footer .logo img { width: 200px; }

footer #footer-content {
	padding: 2.5em 0 1.5em;
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	gap: 1em;
}

footer .foot-left, footer .foot-right {
	display: flex;
  align-items: center;
  gap: 1em;
}

footer .foot-left { width: calc(100% * (2 / 5)); }
footer .foot-right { width: calc(100% * (3 / 5)); }
footer .foot-right .footer-widget { width:100%; }

footer .foot-right h2 {
	font-size: 1.1em;
  font-weight: bold;
  margin-bottom: .7em;
}

footer .foot-right ul { margin-left: 0.9em; }
footer .foot-right .menu li { list-style-type: square; }
footer .foot-right .menu li a { opacity: .7; }
footer .foot-right .menu li a:hover { opacity: 1; }

footer .foot-right .a_rea { margin: .5em 0; }
footer .foot-right .a_rea span { display: block; font-weight: bold; opacity:.7 }
footer .foot-right .a_rea img { max-width: 180px; }

footer .foot-left > .foot-contact { padding: 0 .5em; }

footer .foot-contact > *:not(:first-child) { margin-top: 1em; }

footer .foot-address {
	display: flex;
	gap: 1em;
	align-items: center;
	line-height: 1.3;
	max-width: 180px;
	color: #b2c2d8;
}

footer .foot-address strong { display:block; color:#fff }

footer .foot-contact a { display: block; }
footer .foot-contact a:hover { opacity:.5 }
footer .foot-contact a i { color: #b2c2d8; margin-right: 1em;}


#credits {
	color: var(--white);
	font-size: .9em;
	padding: .5em;
	font-size: .85em;
	text-align: center;
}

#credits a { color: var(--white); }
#credits a:hover { text-decoration:underline; }


/*=====================================================
	RESPONSIVE
======================================================*/

@media screen and (max-width: 1315px) {

	.container { max-width: calc(100% - 80px); }
	#site-main { margin-top: 130px; }

	.getwid-padding-right-large { padding-right: 40px; }
	.getwid-padding-left-large { padding-left: 40px; }

/*	header*/
	#header .logo { left:40px; }
	#header:not(.scrolled) .logo { display: flex; height: 120px; align-items: center; }
	#header:not(.scrolled) .logo img { height: 100px; }
	#header nav { max-width: calc(100% - 230px); padding: 0 70px 0 0; }
	#header nav ul.menu > li > a { padding: 10px; font-size: 0.9em; }

/*front*/
	#site-main #section-slider { padding: 0 40px; }
	#site-main #section-slider li figure { max-height: calc(100% - 150px); }
	#site-main #section-slider li figure, #site-main #section-slider li[aria-hidden="false"] .slider-content { margin-top: -50px; }
	#site-main #section-slider li .slider-content h1, #site-main #section-slider li .slider-content h2 { font-size: 1.7em; }
	#top-reassurances { max-width: 45%; gap: 2em; }

	#section-presentation { font-size: .9em; }
	#section-presentation #front-promesse .has-blue-background-color { padding: 1.5em 1.5em 1.5em 40px; }

/*footer*/
	footer .logo img { width: 160px; }
	footer .foot-right .a_rea img {max-width: 130px; }
	footer #footer-content { font-size: 0.9em; }

}

@media screen and (max-width: 1024px) {

	#header {
		display: flex;
	  align-items: center;
  	justify-content: space-between;
	}
	#header #top-header { order: 2; min-width: 480px; }
	#header #bottom-header { margin-top: 0; display: block; }

	#header nav { 
	  position: fixed;
	  top: 110px;
	  background-color: #fff;
	  height: calc(100vh - 110px);
	  width: 320px;
	  padding: 0;
	  opacity: 0;
	  visibility: hidden;
	  right: -320px;
	  border: 4px solid var(--white);
	  transition: all .5s ease 0s;
	  max-width: none;
	}
	#header.scrolled nav { top: 67px; height: calc(100vh - 67px); }

	#header #open-menu { display: block; }

	#top-header .container {
		display: flex;
		gap: 1em;
  	justify-content: space-between;
 		align-items: center;
	}

	#header nav.open { opacity: 1; visibility: visible; right: 0px; }

	#header nav > div { height: 100%; overflow-y: auto; }

	#header nav ul.menu { display: block; }
	#header nav ul.menu > li > .sub-menu::before,
	#header nav ul.menu .sub-menu li.menu-item-has-children > a::after { display:none; }
	
	#header nav ul.menu .sub-menu {
		position: relative;
		border-top: 1px solid var(--blue);
	  opacity: 1;
	  visibility: visible;
	  margin: 0;
	  border-right: 0;
	  border-left: 0;
	  border-bottom: 0;
	  background-color: var(--verylightblue);
    border-radius: 0;
	}
	#header nav ul.menu li:hover > .sub-menu { margin-top:0; }
	#header nav ul.menu .sub-menu .sub-menu { left: 0; border: 0; margin-top: 0; background-color: #fff; }
	#header nav ul.menu .sub-menu li:hover > .sub-menu { margin-top:0; }

	#header nav ul.menu > li > a { padding: 10px 25px; display: block; min-height: auto; text-align: left; font-weight: bold; }
	#header nav ul.menu .sub-menu li a { color: var(--blue); padding: 5px 25px; }
	#header nav ul.menu > li.current_page_item > a { background-color: var(--lightblue); }
	#header .sub-arrow { display:none; }

	#header #top-header .big-link { color:var(--red); }

	#red-phone { display:none; }
	#header.scrolled #top-header { max-height: none; }

/*	front page*/
	#site-main #section-slider li figure { max-height: 70%; height: 100%; display: flex; }

	#site-main #section-slider li figure, #site-main #section-slider li[aria-hidden="false"] .slider-content { 
		margin-top: -50px;
    width: 50%;
    max-width: none;
	}
	#site-main #section-slider li figure img {
	  object-fit: cover;
	  max-height: 100%;
	  max-width: none;
	}

	#site-main #section-slider::before { width: 70%; }

	#front-promesse.wp-block-columns { flex-wrap: wrap !important; }
	#front-promesse.wp-block-columns > .wp-block-column:last-child { flex-basis: 100% !important; padding-left: 40px; }
	#section-presentation #front-promesse .has-blue-background-color { width: 100%; }

	#front-prix .wp-block-columns { flex-wrap: wrap !important; }
	#front-prix .wp-block-columns > .wp-block-column:first-child { flex-basis: 100% !important; }
	#front-prix .wp-block-columns > .wp-block-column:first-child .has-text-align-right  { text-align:center; }
	#front-prix .wp-block-columns > .wp-block-column:first-child .wp-container-core-buttons-is-layout-3.wp-container-core-buttons-is-layout-3 { justify-content: center; }
	#front-prix .wp-block-column:first-child .wp-block-button__link { max-width: 180px; height: auto; }

	/*Page*/
	:where(body .is-layout-flex) { gap: 14px; }
	.page-content .has-background:not(.wp-block-getwid-section__background):not(.wp-block-getwid-icon__wrapper):not(.wp-block-getwid-content-timeline__bar):not(.wp-block-getwid-icon-box__icon-wrapper):not(.wp-block-media-text) {padding: 1em; }
	.page-content .wp-block-getwid-section { margin: 2.5em 0 2.5em -40px; }
	#site-heading {padding: 0 40px; }
	#page.page-content { padding: 2em 0 0; }
	.page-content ul, .page-content ol  {margin-left: 2em !important; }

}

@media screen and (max-width: 897px) {
	.wp-block-column .contact-content { flex-wrap: wrap; }
}

@media screen and (max-width: 865px) {

/*	footer*/
	#footer-content { flex-wrap: wrap; justify-content: center; }
	footer .foot-left { width: auto; }
	footer .foot-right {width: 100%; }

}

@media screen and (max-width: 781px) {	

/*	front*/
	#site-main #section-slider {padding: 25px; }
	#site-main #section-slider li a { flex-direction: column; justify-content: center; }
	#site-main #section-slider li figure { width:100%; margin-top:0; }
	#site-main #section-slider li figure img { max-height: none; max-width: 100%; }
	#site-main #section-slider li[aria-hidden="false"] .slider-content { position: relative; width: 90%; }
	#site-main #section-slider li .slider-content .btn {
		position: relative;
	  height: auto;
	  width: 140px;
	  text-align: center;
	  display: block;
	  margin: 0 0 0 auto;
	}
	#top-reassurances {
		position: relative;
	  width: 100%;
	  max-width: 500px;
	  background-color: var(--blue);
	  margin: 50px auto 0;
	  bottom: auto;
	  padding: 2em;
	  justify-content: center;
	  border-radius: 10px;
	  right: auto;
	  border: 1px solid var(--verylightblue);
	}
	#site-main .bx-controls { bottom: 135px; }

	#front-promesse .wp-block-button__link { height: auto; margin: 20px 0 0; }
	#section-presentation #front-promesse .has-blue-background-color { width: 100%; margin-bottom: 1.5em; }

	#front-lyon .wp-block-getwid-section__foreground { max-width: 100%; right: 0; left: 0; }

	#front-prix .has-green-background-color h3 { text-align: center; }
	#front-prix .has-green-background-color .wp-container-core-buttons-is-layout-4.wp-container-core-buttons-is-layout-4 { justify-content:center; }

	#front-partenaires { padding: 0 1em; }
	#front-partenaires .wp-block-columns:first-child .wp-block-column:first-child { order: 1; }

	#front-contact .wpcf7-form .form-col { width: calc(50% - 1em); }
	#front-contact .wpcf7-form .form-col:nth-child(4) { width:100%; }

/*	footer*/
	footer #footer-content { justify-content: center; }
	.footer-widget .wp-block-columns { justify-content:center; }
	.footer-widget .wp-block-columns .wp-block-column:not(:last-child) { width: 170px; flex: initial !important; }
	.footer-widget .wp-block-columns .wp-block-column:last-child {
		width: 100%;
	  display: flex;
	  gap: 1em;
	  justify-content: center;
	  align-items: center;
	}


}

@media screen and (max-width: 570px) {	

/*	general*/
	.container { max-width: calc(100% - 50px); }
	.page-content .wp-block-getwid-section { margin: 2.5em 0 2.5em -25px; }
	#site-heading { padding: 0 25px; }
	#heading-content { padding: 1em 2em; }

/*	header*/
	#header.scrolled .logo img { max-width: 100px; }
	#header #top-header .big-link {
	  color: var(--white);
	  background-color: var(--red);
	  width: 38px;
	  margin: 0;
	  height: 38px;
	  text-align: center;
	  line-height: 38px;
	}
	#header #top-header .big-link span, #header #top-header #pro-link span { display:none; }

	#header #top-header { min-width: auto; padding: 0 25px 0 0; }
	#top-header .container {justify-content: flex-end; max-width: none; }

	#site-main .bx-controls { bottom: 145px; left: 0; }
	#site-main #section-slider::before {width: 50%; }

	#top-reassurances div { flex-direction: column; }
	#top-reassurances div span { text-align: center; font-size: 0.9em; }
	#top-reassurances div figure { max-width: 130px; } 

	#front-lyon .wp-block-button__link { margin-top: 0; padding: 5px 10px; }

}

@media screen and (max-width: 440px) {	

/*	header*/
	#header .logo { left: 25px; }
	#header #top-header { transform: scale(.85); transform-origin: center right; }

/*	front*/
 	#site-main #section-slider {padding: 15px; }
 	#site-main .bx-controls { bottom: 135px; }
	#site-main #section-slider li[aria-hidden="false"] .slider-content { padding: 15px; }
	#site-main #section-slider li .slider-content h1, #site-main #section-slider li .slider-content h2 { font-size: 1.4em; }
	#site-main #section-slider li figure img {min-height: 100%; max-width: 100%; }

	#top-reassurances { padding: 1em; }
	#front-contact .wpcf7-form .form-col {width: 100%; }

}



