/*!
Theme Name: Répare Mon Eglise
Author: mmk
Author URI: https://mmk.cat/
Version: 1.0.0
*/

@font-face { font-family: "HelveticaNowDisplay"; src: url("assets/fonts/HelveticaNowDisplay-Regular.woff2") format("woff2"); }
@font-face { font-family: "HelveticaNowDisplay"; src: url("assets/fonts/HelveticaNowDisplay-Bold.woff2") format("woff2"); font-weight: bold;}

* {
	box-sizing: border-box;
}

:root {
	--bg: #E2E8EC;
	--bleu: #162830;
}

::selection {
	color: #fff;
	background: var( --e-global-color-secondary );
}

body.open {
	overflow: hidden;
}

body {
	font-family: 'HelveticaNowDisplay';
	background-color: var(--bg);
	margin: 0 auto;
	font-size: 16px;
	color: var(--bleu);
}

.fullwidth {
	padding-left: 35px;
	padding-right: 35px;
}

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

a {
	text-decoration: none;
}

textarea {
	font-family: inherit;
}

.basteleur {
	font-family: 'Basteleur'!important;
}

.elementor-widget-button .elementor-button {
	font-weight: 900!important;
}

h2 b, h1 b {
	font-family: 'Basteleur';
}

div#citation {
	font-family: 'Basteleur';
}

.no-content .elementor-slide-description {
	font-size: 9px!important;
}

#logointro {
	text-align: center;
}

#logointro svg {
	overflow: inherit;
}

#logointro svg path {
	fill: #fff;
}

.rond {
	width: 256px;
	height: 256px;
}

#colombe {
	width: 100px;
}

/* NOTE: resets elementor */
.elementor-widget:not(:last-child) {
	margin-bottom: 0!important;
}

/* PAGE SOUVENIRS */
.single-souvenirs h1 {
	text-align: center;
	margin-top: 0;
	margin-bottom: 2em;
}

.single-souvenirs h2 {
	margin-top: 5em;
	margin-bottom: 0;
	text-align: center;
	font-size: 13px;
	text-transform: uppercase;
	color: var( --e-global-color-secondary );
}

.single-souvenirs a.elementor-button-link.elementor-button.elementor-size-md {
	background: var( --e-global-color-secondary );
	transition: .3s all;
}

.single-souvenirs a.elementor-button-link.elementor-button.elementor-size-md:hover {
	opacity: .7;
}

.single-souvenirs a.elementor-button-link.elementor-button.elementor-size-md.none {
	opacity: .5;
	cursor: no-drop;
	display: block;
  width: fit-content;
  margin: 0 auto;
}

.single-souvenirs a.elementor-button-link.elementor-button.elementor-size-md.none:hover {
	opacity: .5;
}

.single-souvenirs .author {
	text-align: center;
	margin-top: 70px;
}

.single-souvenirs .author a {
	display: inline-block;
	margin-top: 15px;
	color: grey;
	transition: .3s color;
}

.single-souvenirs .author a:hover {
	color: var( --e-global-color-secondary );
}

.single-souvenirs .author a:before {
	content: '';
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20px' height='20px' viewBox='0 0 256 256' id='Flat'%3E%3Cpath d='M160 128a32 32 0 1 1-32-32A32.03667 32.03667 0 0 1 160 128Zm68-44v88a56.06353 56.06353 0 0 1-56 56H84a56.06353 56.06353 0 0 1-56-56V84A56.06353 56.06353 0 0 1 84 28h88A56.06353 56.06353 0 0 1 228 84Zm-52 44a48 48 0 1 0-48 48A48.05436 48.05436 0 0 0 176 128Zm16-52a12 12 0 1 0-12 12A12 12 0 0 0 192 76Z'%3E%3C/path%3E%3C/svg%3E");
	height: 20px;
	width: 20px;
	display: inline-block;
	margin-right: 3px;
	opacity: .5;
	vertical-align: middle;
}

.single-souvenirs .download {
	text-align: center;
	margin-top: 75px;
}

form.post-password-form {
	text-align: center;
}

form.post-password-form input {
	outline: none;
	padding: 20px 30px;
	border-radius: 60px;
	border: 1px solid grey;
	transition: .3s border, .3s box-shadow;
}

form.post-password-form input:focus {
	border: 1px solid var(--bleu);
	box-shadow: 0 0 0 1px var(--bleu);
}

/* CAMPS LISTING SHORTCODE */
.page-id-260 .camps_slider_listing h2 {
	color: #ffffff;
}

.page-id-260 .camps_slider_listing button svg path.arrow {
	fill: #ffffff;
}

.camps_slider_listing .intro {
	padding: 0 10vw;
	display: flex;
	align-items: center;
	margin-bottom: 35px;
	justify-content: space-between;
}

.camps_slider_listing button {
	border: 0!important;
	padding: 0!important;
	appearance: none!important;
	-webkit-appearance: none!important;
	background: transparent!important;
	cursor: pointer;
}

.camps_slider_listing button.slick-disabled {
	opacity: .5;
}

.camps_slider_listing button svg path.arrow {
	fill: var( --e-global-color-secondary );
}

.camps_slider_listing h2 {
	text-transform: uppercase;
	font-weight: normal;
	margin: 0;
	margin-right: 5px;
}

.camps {
	padding-left: 10vw;
	max-width: 100%;
}

#camps .elementor-widget-shortcode {
	width: 100%;
}

.camps .slick-list {
	padding-right: 10vw;
}

a.lecamp {
	display: block;
	color: var(--bleu);
	margin-right: 30px;
}

.lecamp .image {
	height: 40vh;
}

.lecamp .image img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	border-radius: 12px 12px 0 0;
}

.lecamp .description {
	background: #fff;
	padding: 27px;
	border-radius: 0 0 12px 12px;
}

.lecamp .nom {
	font-weight: bold;
	font-size: 22px;
}

.lecamp ul {
	display: flex;
	margin-top: 5px;
}

.lecamp li {
	font-size: 16px;
	margin-right: 20px;
	color: rgba(149,164,166,1);
}

.lecamp li::before {
	height: 20px;
	width: 20px;
	content: '';
	display: inline-block;
	vertical-align: middle;
	margin-right: 5px;
	transform: translateY(-2px);
}

.lecamp li.dates::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M17 3h4a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h4V1h2v2h6V1h2v2zM4 9v10h16V9H4zm2 4h5v4H6v-4z' fill='rgba(149,164,166,1)'/%3E%3C/svg%3E");
}

.lecamp li.lieux::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='20' height='20'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath d='M18.364 17.364L12 23.728l-6.364-6.364a9 9 0 1 1 12.728 0zM12 15a4 4 0 1 0 0-8 4 4 0 0 0 0 8zm0-2a2 2 0 1 1 0-4 2 2 0 0 1 0 4z' fill='rgba(149,164,166,1)'/%3E%3C/svg%3E");
}

.elementor-editor-active .camps {
	display: none;
}

.elementor-editor-active .elementor-edit-area .camps {
	display: block;
}

/* EVENT PAGE */
#venio-camp {
	max-width: 777px;
	color: #fff;
	text-align: center;
	margin: 0 auto;
}

#venio-camp a.camp_dyn_li {
	background: #fff;
	color: var( --e-global-color-primary );
	margin-top: 75px;
}

#venio-camp a.camp_dyn_li:hover {
	opacity: .7;
}

#venio-camp span::after {
	display: block;
	content: '';
	background-image: url('assets/img/venio_icon.png');
	width: 88px;
	height: 18px;
	margin: 0 auto;
	margin-top: 20px;
	opacity: .7;
}

#venio-camp .camp_dyn_date {
	font-size: 14px;
}

#venio-camp .camp_dyn_date a {
	color: #fff;
	text-decoration: underline;
}

#venio-camp .date {
	margin-bottom: 75px;
	margin-top: 35px;
	font-size: 30px;
}

#venio-camp .camp_dyn_date ul {
	margin-bottom: 35px;
}

#venio-camp .camp_dyn_date div {
	background: #0000006b!important;
	border: 1px solid #00000042!important;
	padding: 20px!important;
}

#venio-camp .camp_dyn_date p {
	margin-top: 0;
}

/* EVENTS PAGE LISTE */
.page-template-event .introduction {
	min-height: 445px;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	background-image: url('https://reparemoneglise.com/wp-content/uploads/2022/03/QX0A3630-scaled.jpg');
	background-position: center;
	background-size: cover;
}

.page-template-event .overlay {
	position: absolute;
	background-color: var( --e-global-color-primary );
  opacity: 0.5;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

.page-template-event h1 {
	color: #fff;
	font-size: 39px;
	font-weight: bold;
	text-transform: uppercase;
	z-index: 10;
}

.event h3 {
	text-align: center;
	margin-top: 120px;
	margin-bottom: 40px;
	font-size: 30px;
}

.events {
	max-width: 1180px;
	margin: 0 auto;
}

.events .event {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
	border-top: 1px solid #cdcdcd;
}

.events .news {
	margin-bottom: 70px;
}

.events.news .terminer {
	display: none;
}

.events.holds .actif {
	display: none;
}

.events.holds .event {
	opacity: .5;
	transition: .3s opacity ease;
}

.events.holds .event:hover {
	opacity: 1;
}

.events {
	border-bottom: 1px solid #cdcdcd;
}

.events .event a {
	color: var( --e-global-color-primary );
}

.event h2 {
	margin: 0;
	font-size: 20px;
}

.events .event .image {
	height: 100px;
	width: 200px;
	margin-right: 20px;
}

.events .event .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.events .event .first a {
	display: flex;
	align-items: center;
}

.events .event .second svg {
	vertical-align: middle;
}

.events .event .second a:hover {
	opacity: .7;
}

.events .event .second a {
	transition: .3s all ease;
}

header nav#nav {
	position: absolute;
	width: fit-content;
	max-width: 70%;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}

header svg {
	height: 64px;
	width: 64px;
	transition: .5s opacity ease;
	overflow: initial;
}

header svg:hover {
	opacity: .7;
}

.elementor-nav-menu--toggle .elementor-menu-toggle.elementor-active+.elementor-nav-menu__container {
	height: calc(100vh - 78px);
	display: flex;
	align-items: center;
	justify-content: center;
}

.caTourne {
	-webkit-animation: rotating 20s linear infinite;
	-moz-animation: rotating 20s linear infinite;
	-ms-animation: rotating 20s linear infinite;
	-o-animation: rotating 20s linear infinite;
	animation: rotating 20s linear infinite;
	transform-origin:center;
	transform-box: fill-box;
	will-change: transform;
}

@-webkit-keyframes rotating /* Safari and Chrome */ {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

#camps .elementor-element-populated {
	padding: 0!important;
}

#venio {
	width: 100%;
	user-select: none;
	position: relative;
}

#venio .block {
	padding: 60px 30px;
	border: 1px solid #BCC9CE;
	width: 365px;
	height: auto;
	text-align: center;
	display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

#venio .camp_dyn_title {
	font-family: 'Basteleur';
	font-size: 24px;
	line-height: 29px;
	color: #4F8198;
	margin-bottom: 16px;
}

#venio .camp_dyn_date {
	font-size: 16px;
	font-weight: bold;
	margin-bottom: 60px;
	margin-top: 16px;
}

#venio .elementor-button {
	background-color: var(--e-global-color-secondary);
}

#venio .elementor-button:hover {
	opacity: .7;
}

#venio .glide__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	padding: 0;
}

#venio .glide__arrow.glide__arrow--left {
	left: -150px;
}

#venio .glide__arrow.glide__arrow--right {
	right: -150px;
}

#camps-bleu #venio .block {
	border: 1px solid #bcc9ce40;
}

#camps-bleu #venio .glide__arrow svg path {
	fill: #fff;
}

.round a {
	border: 1px solid var(--e-global-color-primary);
	border-radius: 100%;
	padding: 20px 30px;
	opacity: .5;
	transition: .3s all ease;
}

.round a:hover {
	opacity: 1;
}

#infinite-scrolling {
	overflow: hidden;
}

#infinite-scrolling div {
  display: inline-block;
}

#loop {
  white-space: nowrap;
  animation: loop-anim 50s linear infinite;
}

#chapitre .elementor-widget-wrap {
	min-height: 250px;
}

@keyframes loop-anim {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

#instagram {
	width: calc(100% + 70px);
	margin-left: -35px;
	margin-bottom: 6em;
}

.instagram-title {
	font-size: 51px;
	font-weight: 600;
	text-align: center;
}

.instagram-title a {
	background: linear-gradient(269.88deg, #ADE0B0 0.1%, #C9DDFC 99.92%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: instagramGradient 3s ease-out infinite alternate-reverse;
	background-size: 300%;
	background-position: 100%;
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.instagram-title a::selection {
	-webkit-background-clip: initial;
	-webkit-text-fill-color: initial;
}

@keyframes instagramGradient {
	0% {background-position:0} to {background-position:100%}
}

.feed-instagram {
	margin-top: 60px;
}

#instagram .post {
	height: 360px;
	width: 360px;
	margin: 0 20px;
}

#instagram .post img {
	width: 100%;
	height: 100%;
	transition: .3s all ease;
	object-fit: cover;
}

#instagram .post img:hover {
	opacity: .7;
}

#instagram a h2 {
	text-align: center;
	text-transform: uppercase;
	color: var(--e-global-color-primary);
}

#instagram .icon {
	text-align: center;
}

#camps-bleu #venio, #camps-bleu #venio .camp_dyn_title {
	color: #fff!important;
}

#camps-bleu #venio .camp_dyn_age {
	opacity: .6;
}

#camps-bleu .round a {
	border: 1px solid #fff!important;
}

#camps-bleu #venio .elementor-button {
	background-color: var(--e-global-color-secondary);
}

#contact input, #contact textarea {
	padding: 15px;
	border: 1px solid #bfc1c3;
	outline: none;
	transition: .3s all ease;
	margin-top: 5px;
	width: 100%;
}

#contact input:focus, #contact textarea:focus {
	box-shadow: 0 0 0 1px var(--e-global-color-secondary);;
	border-color: var(--e-global-color-secondary);;
}

input[type="submit"] {
	background-color: var(--e-global-color-primary);
	border: 0!important;
	color: #fff;
	padding: 20px 10px!important;
	cursor: pointer;
}

input[type="submit"]:hover {
	background-color: var(--e-global-color-secondary);
}

#campsImminent .block {
	padding: 7em 30px;
	background-color: var(--e-global-color-primary);
	color: #fff;
	margin-bottom: 7em;
}

#campsImminent .camp_dyn_li_conteneur {
	max-width: 1180px;
	margin: 0 auto;
}

#campsImminent img {
	width: 100%;
	border-radius: 22px;
	transition: .3s opacity ease;
}

#campsImminent img:hover {
	opacity: .7;
}

#campsImminent .camp_dyn_sous_title {
	text-transform: uppercase;
	margin-top: 25px;
	font-size: 13px;
}

#campsImminent .camp_dyn_title {
	font-family: 'Basteleur';
	font-size: 33px;
	margin: 7px 0;
}

#campsImminent .camp_dyn_li_conteneur {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
}

#campsImminent .elementor-button {
	background: transparent;
	border: 2px solid #fff;
	color: #fff;
}

#campsImminent .elementor-button:hover {
	background: #fff;
	color: var(--e-global-color-primary);
}

footer a {
	color: var(--e-global-color-secondary);
}

footer svg {
	overflow: initial;
}

/* PETITE RESOLUTION */
@media only screen and (max-width : 1280px) {
	#venio .glide__arrows {
		display: none;
	}
}

/* RESPONSIVE */
@media only screen and (max-width : 900px) {
	header nav#nav {
		position: initial;
		transform: none;
	}

	#venio {
		flex-direction: column;
	}

	#venio .block {
		margin: 15px 0;
	}

	#instagram .post {
		width: 160px;
		height: 160px;
	}

	#logointro svg {
		width: 100%;
	}

	#campsImminent .conteneur {
		margin-bottom: 35px;
	}

	.glide__arrows {
		display: none!important;
	}

	.events {
		width: 100%;
	}

	.event .second {
		display: none;
	}

	.events .event .image {
		width: 100%;
		height: 100px;
		margin-right: 0;
		margin-bottom: 15px;
	}

	.event .image img {
		object-fit: cover;
		height: 100%;
		width: 100%;
	}

	.events .event a {
		flex-direction: column!important;
	}

	.events .event {
		flex-direction: column;
		align-items: initial;
		justify-content: initial;
		text-align: left;
	}

	.events .event .description {
		width: 100%;
		text-align: left;
	}

	.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
		width: 100%;
		margin-right: 0;
	}

	.camps, .camps_slider_listing .intro {
		padding-left: 1em;
	}

	.camps .slick-list {
		padding-right: 0;
	}

	a.lecamp {
		margin-right: 1em;
	}
}
