/*
Theme Name: MRO
Theme URI: http://www.mro.hpal2176.odns.fr
Template: generatepress
Author: Admin-MRO
Version: 3.4.0.1719491515
Updated: 2024-06-27 12:31:55

*/

/**************************************************************************************
* BASE / ROOT
*************************************************************************************/
.entry-content p {
	text-align:justify;
	text-align-last:initial;
}
@media(max-width: 767px){
	ol, ul {
		margin: 0 0 1.5em 1em;
	}
}

/**************************************************************************************
* CSS SHORTCODE POPUP PHONE
*************************************************************************************/
/*.popup-phone {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 9999;
}
.tooltip-container {
background: var(--base);
position: relative;
cursor: pointer;
transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
font-size: 18px;
font-weight: 600;
color: black;
padding: 10px;
border-radius: 50px;
height: 60px;
width: 60px;
max-width: 220px;
border: 2px solid var(--base);
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.text {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: grid;
place-items: center;
transform-origin: -100%;
transform: scale(1);
transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
fill: var(--base-4);
}
.tooltip-container div span:not(:first-child) {
position: absolute;
top: 0%;
left: 100%;
width: 100%;
height: 100%;
border-radius: 50px;
opacity: 1;
z-index: 1;
transform: scale(0);
transform-origin: 0;
transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
display: grid;
place-items: center;
}
.tooltip {
position: absolute;
top: 0;
right: 50%;
padding: 10px;
opacity: 0;
pointer-events: none;
transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
background: var(--base-4);
z-index: -1;
border-radius: 8px;
scale: 0;
transform-origin: 0 0;
font-weight: 400;
font-size: 16px;
box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
width: max-content;
}
.tooltip::before {
position: absolute;
content: "";
height: 0.6em;
width: 0.6em;
bottom: -0.2em;
right: 20%;
transform: translate(-50%) rotate(45deg);
background: var(--base-4);
}
.popup-phone-mobile{
display: none;
}
.tooltip-container > div {
width: 100%;
height: 100%;
position: relative;
}
.tooltip-container > div svg {
height: 100%;
}
.tooltip-container > div.popup-phone-desktop svg {
width: 100%;
position: absolute;
top: 5px;
left: 5px;
}
.popup-phone-mobile a {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
}
.tooltip-container a{
color: var(--base-4);
}
@media(max-width: 1023px){
.popup-phone-mobile{
display: flex;
}
.popup-phone-desktop{
display: none;
}
}
@media(min-width: 1024px){
.tooltip-container:hover {
box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
color: black;
border-color: var(--base);
width: 220px;
}	
.tooltip-container:hover .tooltip {
top: -55px;
right: 0;
opacity: 1;
visibility: visible;
pointer-events: auto;
scale: 1;
}
.tooltip-container:hover div span:last-child {
transform: scale(1);
left: 0;
}
.tooltip-container:hover div .text {
opacity: 0;
top: 0%;
left: 100%;
transform: scale(0);
}
}*/

/**************************************************************************************
* CSS LIGHTBOX GALLERY
*************************************************************************************/
.realisations_galerie_photos {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}
.realisations_galerie_photos a {
	width: calc(100% / 3 - 20px* 2 / 3);
	aspect-ratio: 4 / 3;
	overflow: hidden;
	object-fit: cover;
}
.realisations_galerie_photos a img {
	height: 100%;
	object-fit: cover;
}
#lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 10000;
	display: none;
	align-items: center;
	justify-content: center;
}
.lightbox-content {
	position: relative;
	max-width: 85%;
	max-height: 85%;
}
.lightbox-image-container img {
	max-width: 100%;
	max-height: 100%;
}
.lightbox-close {
	position: absolute;
	top: 10px;
	right: -30px;
	font-size: 24px;
	color: white;
	cursor: pointer;
}
.lightbox-prev, .lightbox-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 36px;
	background: var(--base);
	color: var(--base-4);
	cursor: pointer;
	width: 45px;
	height: 45px;
	text-align: center;
	line-height: normal;
	border-radius: 100%;
}
.lightbox-prev {
	left: -60px;
}
.lightbox-next {
	right: -60px;
}
@media(max-width: 767px){
	.lightbox-content {
		max-width: 75%;
	}
	.f12-captcha {
		flex-direction: column;
		align-items: center;
	}
}
@media (min-width: 768px) and (max-width: 1024px) {
	form.wpcf7-form.init {
		max-width: 95%;
		margin: auto;
	}
	.f12-captcha {
		flex-direction: column;
		align-items: center;
	}
}
.f12-captcha {
	display: flex;
	flex-direction: column;
	width: 100%;
	justify-content: space-evenly;
}
input.f12c {
    width: 100%;
}
/**************************************************************************************
* CAPTCHA
*************************************************************************************/
.side-city .c-header {
	display: flex;
	flex-flow: row nowrap;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	color: #ffffff;
	margin-right: 10px;
}