/*!
Theme Name: LHC Sportfusion
Author: Gilston Digital SA
Author URI: https://gilston.digital/
Description: Sport fusion shop LHC
Version: 1.4
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: sportfusion-lhc
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
-----------------------------------------------------*/
@font-face {
	font-family: 'PT Sans Narrow';
	src: url('fonts/PTSans-Narrow.woff2') format('woff2'),
		url('fonts/PTSans-Narrow.woff') format('woff'),
		url('fonts/PTSans-Narrow.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'PT Sans Narrow';
	src: url('fonts/PTSans-NarrowBold.woff2') format('woff2'),
		url('fonts/PTSans-NarrowBold.woff') format('woff'),
		url('fonts/PTSans-NarrowBold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

/* NORMALIZED
--------------------------------------------- */
* { padding: 0; margin: 0; box-sizing: border-box; }
html {
	font-size: 16px;
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	overflow-x: hidden;
}

main {
	display: block;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: bolder;
}

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

small {
	font-size: 80%;
}

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

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

img {
	border-style: none;
}

textarea,
input.text,
input[type="text"],
input[type="button"],
input[type="submit"],
.input-checkbox,
select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

body {
	background-color: #fff;
}

#content {
	background-color: #fff;
}

a,
img,
header#masthead,
#left-logo,
#content,
.nav-link,
.home-bloc-title-bloc .home-bloc-title {
	transition: all ease-in 0.2s;
	-webkit-transition: all ease-in 0.2s;
	-ms-transition: all ease-in 0.2s;
	-o-transition: all ease-in 0.2s;
}

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #1e1e1e;
	font-family: 'Lato', Helvetica, Arial;
	font-size: 1rem;
	line-height: 1.2rem;
	font-weight: 300;
}

p {
	margin-bottom: 1rem;
}

p:last-of-type {
	margin-bottom: 0;
}

.entry-title {
	margin-bottom: 1rem;
	text-align: center;
}

/* Links 
---------------------------------------------- */
a {
	color: #EB0000;
	text-decoration: none;
}

a:hover,
a:focus,
a:active {
	color: #a4001a;
}

a:focus {
	outline: none;
}

a:hover,
a:active {
	outline: 0;
}

select {
	/* Arrow */
	background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23131313%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
	background-repeat: no-repeat;
	background-position: right 0.7rem top 50%;
	background-size: 0.5rem auto;
	padding-right: 2rem !important;
}

.btn{
	border-radius: 0;
}

/* CONTENT
--------------------------------------------- */
@media (min-width: 1400px) {

	.container,
	.container-lg,
	.container-md,
	.container-sm,
	.container-xl,
	.container-xxl {
		max-width: 1140px;
	}
}

#content.site-content {
	padding-top: 100px;
}

body.sticky-header #content.site-content {
	padding-top: 50px;
}

/* NAV
--------------------------------------------- */
header#masthead {
	margin-bottom: 0;
	box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.1);
	padding: 0;
	height: 100px;
	width: 100%;
	position: fixed;
	align-items: center;
	z-index: 1000;
}

header#masthead #top-subnav {
	height: 50px;
	background-color: rgba(255, 255, 255, 1);
}

header#masthead #top-subnav .nav-link {
	font-family: 'PT Sans Narrow';
	font-size: 1rem;
	text-transform: uppercase;
	display: flex;
	justify-content: center;
	padding: 0;
	color: #EB0000;
	font-weight: 300;
	opacity: .5;
}

header#masthead #top-subnav .nav-link:hover,
header#masthead #top-subnav .current-page .nav-link {
	color: #EB0000;
	opacity: 1;
}

header#masthead #top-subnav li:not(:last-child) .nav-link::after {
	content: "";
	margin: 0 .4rem;
	font-size: .9rem;
	line-height: .9rem;
	display: inline-block;
}

header#masthead #top-mainnav {
	height: 70px;
	background-color: rgba(255, 255, 255, 1);

}

header#masthead #top-mainnav #top-mainnav-container,
header#masthead #top-subnav #top-subnav-container {
	padding-left: 110px;
}

header#masthead::before {
	content: "";
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

header#masthead #top-mainnav .nav-link {
	font-family: 'PT Sans Narrow';
	display: flex;
	justify-content: center;
	padding: 0;
	margin: 0;
	margin-right: 20px;
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 2.25rem;
	text-transform: uppercase;
	color: #EB0000;
	border-bottom: 5px solid transparent;
}

header#masthead #top-mainnav .nav-link:not(.show):hover,
header#masthead #top-mainnav .current-page .nav-link {
	border-bottom: 5px solid #EB0000;
}

header#masthead #top-mainnav #top-logo {
	margin-right: 1rem;
	position: absolute;
	top: -40px;
	left: 0;
	z-index: 100;
}

header#masthead #top-mainnav #top-logo img {
	height: 100px;
}

header#masthead #top-mainnav .nav:not(:last-of-type) {
	margin-right: .5rem;
	padding-right: .5rem;
	border-right: 1px solid #fff;
}

header#masthead #top-mainnav .dropdown-menu {
	border: 0;
	border-radius: 0;
	box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
	padding: 1rem;
	inset: 0px auto auto -1rem !important;
	background-color: #FFF;
}

header#masthead #top-mainnav .dropdown-menu .nav-link {
	justify-content: start;
	padding: 0;
	margin: 0;
	margin-bottom: .5rem;
	padding-bottom: .5rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.2);
	font-weight: 300;
	color: #EB0000;
}

header#masthead #top-mainnav .dropdown-menu .nav-link:hover,
header#masthead #top-mainnav .dropdown-menu .current-page .nav-link {
	border: 0;
	font-weight: 600;
	border-bottom: 1px solid #555;
}

header#masthead #top-mainnav .dropdown-menu .nav-item:last-of-type .nav-link {
	border-bottom: 0 !important;
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

@media only screen and (min-width: 768px) {

	header#masthead #top-mainnav #top-mainnav-container,
	header#masthead #top-subnav #top-subnav-container {
		padding-left: 160px;
	}

	header#masthead #top-subnav {
		height: 30px;
	}

	header#masthead #top-mainnav #top-logo {
		top: -15px;
	}

	header#masthead #top-mainnav #top-logo img {
		height: 146px;
	}
}

.sub-nav-block {
	width: 100%;
	background-color: #EB0000;
	position: absolute;
	border-bottom: 5px solid #FFF;
	z-index: 10;
	display: none;
}

.sub-nav-block .container {
	padding-left: 155px;
}

.sub-nav-block .menu-item a {
	color: #FFF;
	font-family: 'PT Sans Narrow';
	font-weight: normal;
	text-transform: uppercase;
	padding: 0;
	font-size: 20px;
}

.sub-nav-block .menu-item a:hover,
.sub-nav-block .menu-item.active a {
	color: #5c0308;
}

.sub-nav-block .menu-item {
	border-bottom: 2px solid #FFF;
	padding: 10px 0;
	width: 100%;
}

.sub-nav-block .menu-item:last-child {
	border-bottom: 0;
}


#mobile-menu {
	z-index: 10000;
}

#mobile-menu,
#mobile-menu .list-group,
#mobile-menu .list-group .list-group-item {
	background-color: #FFF;
}

#mobile-menu .list-group .list-group-item {
	border-bottom-color: #ccc;
}

#mobile-menu .nav-link {
	display: flex;
	padding: 4px 0;
	margin: 0 .5rem;
	font-size: 1.2rem;
	line-height: 1.2rem;
	font-weight: 400;
	text-transform: uppercase;
	color: #EB0000;
}

#mobile-menu .nav-link:hover,
#mobile-menu .current-page .nav-link {
	font-weight: 700;
}

#site-footer {
	position: relative;
	color: #FFF;
}

#site-footer a {
	color: #7f7f7f;
}

#site-footer a:hover {
	color: #FFF;
}

#site-footer #gd_credit {
	background-image: url('img/gd.svg');
	background-repeat: no-repeat;
	background-size: 100% auto;
	width: 18px;
	height: 105px;
	display: block;
	top: 1rem;
	right: 1rem;
	position: absolute;
}

#site-footer #gd_credit-inline img {
	height: 18px;
}

div.wpforms-container-full input[type="date"],
div.wpforms-container-full input[type="datetime"],
div.wpforms-container-full input[type="datetime-local"],
div.wpforms-container-full input[type="email"],
div.wpforms-container-full input[type="month"],
div.wpforms-container-full input[type="number"],
div.wpforms-container-full input[type="password"],
div.wpforms-container-full input[type="range"],
div.wpforms-container-full input[type="search"],
div.wpforms-container-full input[type="tel"],
div.wpforms-container-full input[type="text"],
div.wpforms-container-full input[type="time"],
div.wpforms-container-full input[type="url"],
div.wpforms-container-full input[type="week"],
div.wpforms-container-full select,
div.wpforms-container-full textarea {
	border-radius: 0 !important;
}

.wpforms-container .wpforms-submit-container,
.wpforms-container .wpforms-field {
	padding-top: 0;
}

div.wpforms-container-full .wpforms-form .wpforms-submit-container {
	margin: 0;

}

div.wpforms-container-full input[type="submit"],
div.wpforms-container-full button[type="submit"],
div.wpforms-container-full .wpforms-page-button {
	border-radius: 0 !important;
}

div.wpforms-container-full input[type="submit"]:not(:hover):not(:active),
div.wpforms-container-full button[type="submit"]:not(:hover):not(:active),
div.wpforms-container-full .wpforms-page-button:not(:hover):not(:active) {
	background-color: #EB0000;
	color: #FFF;

}

div.wpforms-container-full input[type="submit"]:hover,
div.wpforms-container-full input[type="submit"]:active,
div.wpforms-container-full button[type="submit"]:hover,
div.wpforms-container-full button[type="submit"]:active,
div.wpforms-container-full .wpforms-page-button:hover,
div.wpforms-container-full .wpforms-page-button:active {
	background-color: #c0060e;
}

#cart-list-item {
	position: relative;
}

#cart-count-badge {
	background-color: #EB0000 !important;
	color: #fff;
	padding: 0;
	padding-top: 4px;
	font-size: 12px;
	height: 22px;
	width: 22px;
	top: -5px;
	position: absolute;
	right: -3px;
}

#pop-up-modal .btn-close {
	position: absolute;
	top: 0;
	right: -28px;
}

@media only screen and (max-width: 768px) {
	#pop-up-modal .btn-close {
		right: 8px;
		padding: 6px;
		background-color: #000;
	}
}

#pop-up-modal .modal-content {
	border: 0;
	border-radius: 0;
}

#pop-up-modal .modal-body {
	padding: 0;
	border-radius: 0;
}

.home-bloc-item {
	display: block;
	position: relative;
	box-shadow: rgba(80, 80, 80, 0.5) 0 0 8px;
}

.home-bloc-item:hover {
	box-shadow: rgba(0, 0, 0, 0.8) 0 0 13px;
}

.home-bloc-img {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.home-bloc-title-bloc {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-color: rgba(0, 0, 0, .5);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1;
	padding: 1rem;
}

.home-bloc-title-bloc .home-bloc-title {
	border: 6px solid #fff;
	font-size: 1.8rem;
	line-height: 2rem;
	font-weight: 600;
	text-transform: uppercase;
	color: #fff;
	padding: 1rem;
	text-shadow: 0 0 8px rgba(0, 0, 0, .5), 0 0 4px rgba(0, 0, 0, 1);
	text-align: center;
}

.home-bloc-item:hover .home-bloc-title {
	border: 8px solid #fff;
	font-size: 2rem;
	line-height: 2.2rem;
	text-align: center;
	padding: 1rem;
}

@media only screen and (max-width: 768px) {
	.home-bloc-title-bloc {
		padding: .5rem;
	}

	.home-bloc-title-bloc .home-bloc-title {
		border: 2px solid #fff;
		font-size: .9rem;
		line-height: 1.2rem;
		padding: .3rem;
	}

	.home-bloc-item:hover .home-bloc-title {
		border: 2px solid #fff;
		font-size: .9rem;
		line-height: 1.2rem;
		padding: .3rem;
	}
}

.lb-data .lb-details {
	display: none;
}

.lb-outerContainer {
	border-radius: 0;
}

.lightbox .lb-image {
	border: 0;
	border-radius: 0;
}

#home-slideshow .slideshow-item {
	margin: 0 .5rem;
	padding-bottom: 1.5rem;
}

#home-slideshow .slideshow-bg {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

#home-slideshow .slideshow-item .ratio {
	--bs-aspect-ratio: 50%;
}

#home-slideshow .slideshow-item .slideshow-product {
	width: 100%;
	height: 140%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: auto 100%;
	bottom: -1.5rem;
	position: relative;
	opacity: 0; 
}

#home-slideshow .slick-current .slideshow-product{
	height: 100%;
	opacity: 1;
}

@media only screen and (min-width: 576px) {

	#home-slideshow .slideshow-item {
		margin: 0 1rem;
		padding-bottom: 3rem;
	}

	#home-slideshow .slideshow-item .slideshow-product {
		bottom: -3rem;
	}
}

@media only screen and (min-width: 991px) {
	#home-slideshow .slideshow-item .ratio {
		--bs-aspect-ratio: 35%;
	}

	#home-slideshow .slideshow-item {
		margin: 0 2rem;
		padding-bottom: 6rem;
	}

	#home-slideshow .slideshow-item .slideshow-product {
		bottom: -6rem;
	}
}

.section-header {
	position: relative;
	display: flex;
	justify-content: center;
	margin-top: 0;
	text-align: center;
	font-size: 1.5rem !important;

}

.section-header span {
	padding: 0 30px;
	display: flex;
	font-weight: normal;
	text-transform: uppercase;
}

.section-header span::before {
	content: "";
	display: block;
	width: 45px;
	height: 1px;
	background-color: #1e1e1e;
	align-self: center;
	margin-right: 20px;
}

.section-header span::after {
	content: "";
	display: block;
	width: 45px;
	height: 1px;
	background-color: #1e1e1e;
	align-self: center;
	margin-left: 20px;
}

#site-footer h2 {
	color: #1e1e1e;
	font-size: 1.2rem !important;
	text-align: center;
	padding: 0;
	font-weight: 400;
	text-transform: uppercase;
}

#site-footer .section-header span::after {
	background-color: #1e1e1e;
}

#site-footer .section-header span::before {
	background-color: #1e1e1e;
}

.bg-red {
	background-color: #EB0000;
	color: #FFF;
}

.bg-red a {
	color: #5c0308 !important;
	font-weight: 600;
}

.bg-red a:hover {
	color: #FFF !important;
}

#sblocs {
	padding-top: 1rem;
}

#sblocs .sbloc-list-item {
	align-items: center;
	display: flex;
	/* or inline-flex */
	justify-content: center;
	flex-wrap: wrap;	
	min-height: 85px;
	margin-bottom: 1rem;	
}

#sblocs .sbloc-list-item a {
	margin-right: 10px;
	margin-left: 10px;	
	display: inline-block;	
	margin-top: .5rem;
	margin-bottom: .5rem;
}
#sblocs .sbloc-list-item img{
	height: 45px;
}
#sblocs .s-associes .sbloc-list-item img{
	height: 36px;
}

#site-name{
	height: 30px;
	padding-top: 5px;
}
#site-name h1{
	font-family: 'PT Sans Narrow';
	font-size: 1.5rem;
	line-height: 1.5rem;
	text-transform: uppercase;
	font-weight: 700;
}
.horaire-item{
	display: flex;
}
.horaire-item .horaire-jour{
	flex:100px 0 0;
	text-align: start;
	font-weight: 500;
}
.horaire-item .horaire-heure{
	flex:1;
	text-align: start;
}
@media only screen and (max-width: 576px) {
	.horaire-item{
		flex-direction: column;
		margin-bottom: 1rem;
	}
	.horaire-item .horaire-jour{
		flex:1;
		text-align: center;
	}
	.horaire-item .horaire-heure{
		flex:1;
		text-align: center;
	}
}

/* Cache la case à cocher par défaut */
.woocommerce-form__input.woocommerce-form__input-checkbox.input-checkbox {
    position: absolute;
    opacity: 0;
}

/* Crée un élément personnalisé pour la case à cocher */
.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox {
    position: relative;
    padding-left: 30px; /* Crée un espace pour la case à cocher personnalisée */
    display: inline-flex;
    align-items: center;
}

.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 3px;
    background-color: white;
    position: absolute;
    left: 0; /* Place la case à gauche du label */
    top: 50%;
    transform: translateY(-50%); /* Aligne verticalement la case au milieu du label */
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Applique un style quand la case est cochée */
.woocommerce-form__input.woocommerce-form__input-checkbox.input-checkbox:checked + span::before {
	background-color: #4CAF50;
	border-color: #4CAF50;
	content: "\2713";
	color: white;
	font-size: 14px;
	text-align: center;
	line-height: 18px;
	position: absolute;
	left: 2px;
	height: 16px;
	width: 16px;
	border-radius: 2px;
	top: 2px;
}
h3 .woocommerce-form__input.woocommerce-form__input-checkbox.input-checkbox:checked + span::before {
	top: 9px;
}

/* Style du lien CG au survol */
.woocommerce-terms-and-conditions-link {
    color: #007cba; /* Couleur du lien */
    text-decoration: underline;
}

.woocommerce-terms-and-conditions-link:hover {
    color: #005a87;
}

/* Optionnel: Modifier le style de la case au survol */
.woocommerce-form__label.woocommerce-form__label-for-checkbox.checkbox:hover::before {
    border-color: #888;
}

#home-banner-center img{
	width: 100%;
	display: block;	
}
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) { 
	#home-banner-center img{
		width: auto;
		display: inline-block;
		height: 170px;
	}	
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
	#home-banner-center img{
		width: auto;
		display: inline-block;
		height: 224px;
	}
 }

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 
	#home-banner-center img{
		width: auto;
		display: inline-block;
		height: 302px;
	}
 }

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
	#home-banner-center img{
		width: auto;
		display: inline-block;
		height: 366px;
	}
 }
