/*
Theme Name: Hydrosud
Theme URI: https://www.piscines-hydrosud.fr/
Author: WEB Stratégies
Author URI: https://www.webstrategies.fr/
Description: Thème Hydrosud
Version: 2.2
Text Domain: hydrosud
*/
body {
	color: black;
}
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0 !important;
	color: #383934 !important;
	font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
	scroll-padding-top: 100px;
}

main {
	flex-grow: 10;
	width: 100%;
}

.main-container {
	margin-top: 20px;
	margin-bottom: 50px;
}

a {
	text-decoration: none;
	color: inherit;
}

a:visited,
a:active {
	color: inherit;
}

ul {
	list-style: none;
}

.hs-hidden {
	display: none;
}

.hs-section-line-main {
	width: 36px;
	height: 4px;
	background-color: var(--hs-blue);
}

.hs-section-line-secondary {
	width: 16px;
	height: 2px;
	background-color: var(--hs-blue);
}

.hs-section-line-secondary-white {
	width: 16px;
	height: 2px;
	background-color: white;
}

.hs-viewport {
	max-width: 1300px;
	padding-left: 15px;
	padding-right: 15px;
	margin-left: auto;
	margin-right: auto;
}

@media only screen and (min-width: 768px) {
	.hs-viewport {
		padding-left: 30px;
		padding-right: 30px;
	}
}

.hs-sous-titre h1 {
	margin-bottom: 0;
}

.hs-sous-titre h2 {
	font-size: 24px;
	margin-bottom: 10px;
	font-weight: normal;
}

.form-control {
	padding: 0.375rem 0.75rem !important;
}

.grecaptcha-badge {
	display: none !important;
}

.swiper-button-prev::after {
	font-family: bootstrap-icons !important;
	content: "\F12A";
}

.swiper-button-next::after {
	font-family: bootstrap-icons !important;
	content: "\F134";
}



/******************* PAGINATION ********************/
.hs-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-top: 30px;
}

.hs-pagination ul.page-numbers {
    border: none !important;
    display: flex !important;
    align-items: center;
}

.hs-pagination ul.page-numbers > li {
    border: none !important;
}

.hs-pagination .page-numbers.current {
	background-color: var(--hs-blue);
	color: white !important;
	height: 40px;
	width: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 5px;
}

.hs-pagination .page-numbers.next,
.hs-pagination .page-numbers.prev {
	border: 1px solid var(--hs-blue);
	color: var(--hs-blue) !important;
	height: 40px;
	width: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 5px;
}

.hs-pagination .page-numbers.next:hover,
.hs-pagination .page-numbers.prev:hover {
	background-color: var(--hs-blue);
	color: white !important;
}

/************* SPINER ***********************/
.hs-spinner {
	width: 40px;
	height: 40px;
	border: 5px solid var(--hs-blue);
	border-bottom-color: transparent;
	border-radius: 50%;
	display: inline-block;
	box-sizing: border-box;
	animation: hs-spinner-rotation 1s linear infinite;
}

@keyframes hs-spinner-rotation {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* ---- */

.ws-post-content {
	margin-top: 40px;
}
.ws-post-content a {
	color: var(--hs-dark-blue);
	text-decoration: underline;
	transition: all 0.25s ease;
}
.ws-post-content ul {
	list-style: none;
}
.ws-post-content ul li {
	position: relative;
}
.ws-post-content ul li::before {
	content: "•";
	color: var(--hs-blue);
	position: absolute;
	font-size: 28px;
	display: inline;
	top: 0;
	left: -15px;
	padding: 0;
	margin: 0;
	line-height: 1em;
}
.ws-post-content a:hover {
	color: var(--hs-blue);
}
.ws-post-content h1 {
	margin: 40px 0;
	color: var(--hs-blue);
	padding: 0;
}
.ws-post-content h2 {
	margin: 40px 0;
	color: var(--hs-dark-blue);
	padding: 0;
}
.ws-post-content h3 {
	margin: 20px 0;
	padding: 0;
}
.ws-post-content__img {
	margin-bottom: 40px;
	text-align: center;
}
.ws-post-content__img img {
	max-width: 100%;
	height: auto;
}
.ws-post-content__txt {
	margin-bottom: 40px;
}

.theme-ws .ws-flexbox {
	gap: var(--gap-items);
	display: flex;
	flex-wrap: wrap;
}

.theme-ws .ws-flexbox > * {
	width: calc(calc(100% / var(--items-per-line)) - calc(calc(var(--gap-items) * calc(var(--items-per-line) - 1)) / var(--items-per-line)));
}
