/*
 Theme Name:   Les Farges v2
 Description:  Thème enfant de lfi-2021
 Author:       La Fabrique Info
 Author URI:   https://lafabriqueinfo..fr
 Template:     lfi-2021
 Version:      0.0.3
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  lfi-2021
*/

@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&family=Montserrat:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&display=swap");

body {
	margin-top: 95px;
	font-family: "Josefin Sans", sans-serif;
	font-weight: 300;
	margin-bottom: 185px;
	text-align: justify;
}

.alentours .alentours-content p {
	margin-bottom: 1rem;
}

figure {
	margin-bottom: 0;
}

footer.footer {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	text-align: left;
}

.font-montserrat {
	font-family: "Montserrat", sans-serif;
	letter-spacing: 0.3rem;
}
.font-josefin {
	font-family: "Josefin Sans", sans-serif;
	letter-spacing: normal;
}
.font-space-0 {
	letter-spacing: normal;
}

form.wpcf7-form {
	position: relative;
}
form.wpcf7-form .ajax-loader.loader-body {
	background-color: rgba(91, 132, 130, 0.5);
	background-image: none;
	width: 100%;
	height: 100%;
	position: absolute;
	margin: 0;
}
form.wpcf7-form .ajax-loader.loader-body .lfi-loader {
	width: 45px;
	height: 45px;
	border-width: 5px;
}
form.wpcf7-form .wpcf7-submit {
	line-height: 1;
	margin-top: 0.3rem;
}
form.wpcf7-form .wpcf7-spinner {
	position: absolute;
	right: 6rem;
	bottom: 3.3rem;
}

#header {
	height: 75px;
}
#header .container-logo {
	width: 120px;
}
#header .logo {
	position: absolute;
	top: -75px;
	left: 5px;
	height: 120px;
	width: 120px;
}
#header .logo-image {
	position: absolute;
	width: 150px;
	top: -70px;
}
#header hr.trait {
	margin-top: 0;
}
#header #contact{
	position: absolute;
	right: 7rem;
	top: 1.6rem;
	display: flex;
    gap: 1rem;
    align-items: center;
    line-height: 1;
}
#header #contact .social-header{
	position: relative;
	color: #a13470;
    font-size: 1.8rem;
    line-height: 1;
    margin: 0;
    padding: 0;
    height: 1.8rem;
}
#header #contact .social-header a{
	width: 1.8rem;
    height: 1.8rem;
    position: absolute;
    top: 0;
}
#header .contact-header {
	background-color: #a13470;
	line-height: 1;
	font-weight: bold;
	color: white;
	padding: 0.5rem 0.6rem 0.4rem 0.6rem;
	margin: 0;
	text-transform: uppercase !important;
}
button.navbar-toggler {
	position: absolute;
	top: 25px;
	right: 25px;
}

.navbar .logo-image {
	position: absolute;
	left: 0;
	top: -65px;
}
#navbarMenu {
	position: absolute;
	top: 0;
	right: 0;
}
#navbarMenu ul {
	/* height: 100vh; */
}

#navbarMenu .close-menu {
	position: absolute;
	top: 25px;
	right: 25px;
	display: block;
	width: 75px;
	height: 75px;
	cursor: pointer;
}
#navbarMenu .close-menu span {
	display: block;
	position: absolute;
	width: 100%;
	height: 1px;
	top: 37.5px;
}
#navbarMenu .close-menu span:nth-child(1) {
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
}
#navbarMenu .close-menu span:nth-child(2) {
	transform: rotate(-45deg);
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
}

#navbarMenu #menu-footer {
	width: 100%;
	height: auto;
	bottom: 0;
	position: absolute;
}

#lfi-mini-cart {
	position: absolute;
	top: 40px;
	right: 90px;
}
body.home #lfi-mini-cart {
	left: 10px;
	right: auto;
}

#lfi-mini-cart .cart dl > dd {
	margin-bottom: 0;
}
#lfi-mini-cart .cart dl > dt {
	padding-right: 1rem;
	clear: both;
}
#lfi-mini-cart .cart dl > dt,
#lfi-mini-cart .cart dl > dd {
	float: left;
}
#lfi-mini-cart .cart .remove-item,
.woocommerce-cart-form .product-remove .remove-item .times {
	font-weight: 200;
	line-height: 1;
}
#lfi-mini-cart .cart .remove-item::before,
.woocommerce-cart-form .product-remove .remove-item::before {
	/* display: block; */
	content: attr(title);
	font-weight: bold;
	height: 0;
	overflow: hidden;
	visibility: hidden;
}
#lfi-mini-cart .cart .remove-item:hover,
.woocommerce-cart-form .product-remove .remove-item:hover {
	color: darkred;
	font-weight: 500;
}

.woocommerce table.shop_table_responsive tr td.product-thumbnail {
	text-align: center !important;
}

.lang-switcher .wpml-ls-item img {
	width: auto;
	height: 25px;
}
.lang-switcher .separator {
	font-size: 30px;
	line-height: 1;
	font-family: auto;
	font-weight: 300;
}

/* Hamburger Menu */
.lfa-menu {
	width: 50px;
	height: 34px;
	position: relative;
	margin: 0;
}
/* Menu ouvert */
.lfa-menu span {
	display: block;
	position: absolute;
	height: 1px;
	width: 100%;
	opacity: 1;
	left: 0;
}
.lfa-menu span:nth-child(1) {
	top: 0;
}
.lfa-menu span:nth-child(2) {
	top: 13px;
}
.lfa-menu span:nth-child(3) {
	top: 26px;
}

.accueil .carousel ul {
	height: 55vh;
}

.accueil-image img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
}
.accueil-image .image-hover {
	display: none;
}
.accueil-image:hover .image-hover {
	display: inline;
}
.accueil-image:hover .image-featured {
	display: none;
}

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

.carousel-indicators li {
	height: 1rem;
	width: 1rem;
	border-radius: 50%;
	margin: 0 1rem;
}

.wp-block-gallery li.blocks-gallery-item {
	margin-bottom: 3rem;
}
.blocks-gallery-grid .blocks-gallery-image figcaption,
.blocks-gallery-grid .blocks-gallery-item figcaption,
.wp-block-gallery .blocks-gallery-image figcaption,
.wp-block-gallery .blocks-gallery-item figcaption {
	background: transparent;
	bottom: -2.2rem;
}

.wp-block-cover.has-parallax {
	height: 60vh;
}

figure a span.loupe {
	position: absolute;
	top: 1.5rem;
	right: 1rem;
	width: 35px;
	height: 35px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

figure a span.loupe-plus {
	background-image: url("assets/img/loupe-plus.svg");
}
figure a span.loupe-moins {
	background-image: url("assets/img/loupe-moins.svg");
}

.wpcf7 .lfa-form {
	font-size: 0.9rem;
}
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select,
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
	border: none;
	background-color: transparent;
	color: inherit;
	outline: none;
}
.wpcf7 .lfa-form span.wpcf7-form-control-wrap {
	display: block;
	margin-bottom: 1.2rem;
}
.wpcf7 .lfa-form input,
.wpcf7 .lfa-form textarea,
.wpcf7 .lfa-form select {
	display: block;
	width: 100%;
	background-color: #d2d2d2;
	padding: 0.9rem;
}
.wpcf7 .lfa-form select {
	width: auto;
}
.wpcf7 .lfa-form input[type="submit"] {
	background-color: transparent;
	padding: 0;
}

/* Product */
#related-product .related-img img {
	width: 140px;
	height: 140px;
}
#related-product .related-img img:nth-child(2) {
	display: none;
}
#related-product .related-img:hover img:nth-child(1) {
	display: none;
}
#related-product .related-img:hover img:nth-child(2) {
	display: inline;
}

.wp-block-gallery.vignettes ul {
	width: 190px;
	height: 190px;
	margin: 0 auto 3rem;
}

.woocommerce-notices-wrapper {
	position: fixed;
	bottom: 0;
	width: 100%;
	z-index: 99;
}
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info,
.woocommerce-notices-wrapper .woocommerce-error {
	margin-bottom: 0;
}

.woocommerce-checkout .select2-selection,
.woocommerce-checkout .select2-container .select2-selection--single {
	border: none;
	background-color: transparent;
}

.woocommerce-checkout .focused .form-label {
	display: none;
}

.woocommerce-checkout .validate-required .form-input.filled,
.woocommerce-checkout .validate-required .form-input,
.woocommerce-checkout .form-input {
	/* box-shadow: 0 1px 0 0 white; */
}

.woocommerce-checkout
	.select2-container
	.select2-selection--single
	.select2-selection__arrow
	b {
	border-color: white transparent transparent transparent;
}

.woocommerce-checkout
	.select2-container.select2-container--open
	.select2-selection--single
	.select2-selection__arrow
	b {
	border-color: transparent transparent white transparent;
}

.woocommerce-checkout table.shop_table {
	border: none;
}

.woocommerce-checkout #payment div.payment_box .form-row {
	margin-bottom: 0;
}
.woocommerce-checkout .woocommerce-checkout-payment .form-row {
	display: inline-block;
}
.woocommerce-checkout .woocommerce-checkout-payment .form-row-wide {
	width: 100%;
}
.woocommerce-checkout .woocommerce-checkout-payment .form-row-first,
.woocommerce-checkout .woocommerce-checkout-payment .form-row-last {
	float: none;
	width: auto;
}
.woocommerce-checkout .woocommerce-checkout-payment .form-row label {
	display: block;
}
.woocommerce-checkout
	.woocommerce-checkout-payment
	.form-row
	.stripe-card-group {
	width: 220px;
}
.woocommerce-checkout
	.woocommerce-checkout-payment
	.form-row
	#stripe-exp-element,
.woocommerce-checkout
	.woocommerce-checkout-payment
	.form-row
	#stripe-cvc-element {
	width: 75px;
}

.woocommerce table.shop_table_responsive tr td::before,
.woocommerce-page table.shop_table_responsive tr td::before {
	display: none;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	body.home #lfi-mini-cart {
		left: auto;
		right: 90px;
	}
	.wp-block-gallery.vignettes ul {
		width: 120px;
		height: 120px;
		margin: auto;
	}
	#related-product .related-img img {
		width: 90px;
		height: 90px;
	}
	figure a span.loupe {
		position: absolute;
		top: 3rem;
		right: 2rem;
		width: 50px;
		height: 50px;
		background-repeat: no-repeat;
		background-position: center;
		background-size: contain;
	}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
}

/* Comments - Loader */
#comments-container #comments-loader {
	position: absolute;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.75);
}


/* Gallery Content Width */
.wp-block-gallery.is-style-content-width {
    width: fit-content;
    margin-inline: auto;
}

/* Responsive visibility */
@media (min-width: 1200px) {
	.hide-on-pc {
		display: none !important;
	}
}

@media (min-width: 768px) and (max-width: 1199.98px) {
	.hide-on-tablet {
		display: none !important;
	}
}

@media (max-width: 767.98px) {
	.hide-on-mobile {
		display: none !important;
	}
}


/* Guide Touristique */
.guide-touristique .wp-block-group.is-layout-constrained.wp-block-group-is-layout-constrained {
    margin-bottom: 2rem;
}
.guide-touristique .wp-block-group.is-layout-constrained.wp-block-group-is-layout-constrained > * {
    margin: 0 0 0.25rem 0;
}
.guide-touristique .wp-block-group.is-layout-constrained.wp-block-group-is-layout-constrained > h3 {
    margin-bottom: 2rem;
}

.guide-touristique .wp-block-group.is-layout-constrained.wp-block-group-is-layout-constrained > h4 {
    margin-top: 2.5rem
}

.guide-touristique .wp-block-group.is-layout-constrained.wp-block-group-is-layout-constrained:not(.sommaire) a{
    text-decoration: underline;
    font-weight: bold;
    color: #A13470;
}
