/*!
Theme Name: Pharmacie du cèdre
Author: Midori
Author URI: https://www.midori.lu/
Text Domain: cedre
Version: 1.0

*/

/* Override template style.css */

.hero-banner.style-1 .title {
	font-size: 2rem !important;
}

body.page {
	margin-top: 0;
	align-items: normal;
}

body.admin-bar .site-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}
}

/* Hide WOW elements initially */
.wow {
	opacity: 0;
	visibility: hidden;
}

/* Show them once the page is fully loaded */
body.wow-ready .wow {
	opacity: 1;
	visibility: visible;
}

/* Header */
.site-header {
	background-color: #ffffff;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

.logo-header img {
	max-height: 60px;
}

.language-selector {
	display: flex;
	align-items: center;
	justify-content: center;
}

.language-selector select {
	border: 0 !important;
	border-radius: 0;
	color: var(--white);
	font-size: 18px;
	padding: 28px 20px 28px 15px;
	font-family: var(--font-family-title);
	cursor: pointer;
	font-weight: 500;
	display: inline-block;
	position: relative;
	line-height: 24px;
	background-position: right 5px center;
	box-shadow: none !important;
}

/* Page header */
.page-header-spacing {
	margin-top: 80px;
}

/* Contact */
.text-normal {
	text-transform: none !important;
}

.wpcf7-not-valid-tip {
	font-size: 0.8em;
}

.wpcf7-not-valid {
	border-color: #dc3232 !important;
}

/* Click & Collect */
/* File input styling for floating-underline */
.floating-underline [type='file'] {
	padding: 10px 0;
	font-size: 14px;
	color: var(--bs-body-color);
}

.floating-underline [type='file']::file-selector-button {
	background-color: var(--bs-primary);
	background-color: transparent;
	border: 1px solid var(--bs-primary) !important;
	color: var(--bs-primary);
	border: none;
	padding: 6px 12px;
	border-radius: 4px;
	cursor: pointer;
	margin: 0 10px 0 0;
	font-size: 13px;
	font-weight: 500;
	transition: background-color 0.15s ease-in-out;
}

.floating-underline [type='file']:hover::file-selector-button {
	color: #ffffff;
	background-color: var(--bs-primary-btn-hover-bg) !important;
}

/* File input focus state */
.floating-underline [type='file']:focus {
	border-bottom-color: var(--bs-primary);
	box-shadow: 0 2px 0 var(--bs-primary);
}

/* File input label styling */
.floating-underline label {
	color: rgba(0, 0, 0, 0.6);
	font-size: 16px;
}

/* Services */
.service-box .testimonial-2 {
	padding: 40px;
	padding-top: 100px;
	position: relative;
	z-index: 0;
}

.service-box .testimonial-2::after {
	content: none;
}

.service-icon {
	text-align: center;
	z-index: 2;
	position: relative;
	margin-bottom: -70px;
}

.service-icon img {
	height: 180px;
	width: auto;
}

.service-box p {
	font-size: 16px;
}

.service-box a {
	text-decoration: none;
}

/* Pagination */
.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 50px;
}

.pagination .page-numbers {
	border-radius: 50px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	color: var(--bs-primary);
	margin: 0px 2px;
	border: 2px solid var(--bs-primary);
	background-color: #ffffff;
	font-weight: 700;
	text-decoration: none;
	font-size: 15px;
	line-height: 1;
}

.pagination .page-numbers i {
	font-size: 15px;
}

.pagination .page-numbers:hover,
.pagination .page-numbers:focus,
.pagination .page-numbers.current {
	background-color: var(--bs-primary);
	color: #ffffff;
}

/* Flexible elements */
/* Text image */
.content-wrapper.style-1 .content-media {
	margin-left: 0;
	padding: 0;
}

.contact-element .fm-inner {
	padding: 25px 40px;
	background: #fff;
	border-radius: 10px;
}

.contact-element.bg-white .fm-inner {
	background: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
}

/* Single Detail page */
div > p:last-child,
.single .dz-info .dz-post-text > *:last-child {
	margin-bottom: 0;
}

/* Flexible elements - single detail page */
.single .flexible-element {
	padding: 30px 0;
	background-color: transparent !important;
}

.single .flexible-element:first-of-type {
	padding-top: 20px;
}

.single .content-wrapper.style-1 .content-media {
	padding: 0;
}

.single .h3 {
	font-size: 1.75rem !important;
}

/* Footer */
footer.site-footer.style-1.footer-dark {
	background-color: #171b2a !important;
}

footer .site-description img {
	margin: 0;
}

.site-footer.style-1.footer-dark .btn-white:hover {
	background-color: var(--bs-primary) !important;
	color: #ffffff !important;
	border-color: var(--bs-primary) !important;
}

footer .dz-social-icon li {
	position: static;
	padding: 0 !important;
}

footer .dz-social-icon li a::before {
	content: none !important;
}

.icon-bx-wraper.style-1:hover .icon-bx i {
	animation: none;
}

/* 404 */
.error-404.not-found {
	padding: 100px 0;
	text-align: center;
	min-height: 70vh;
	display: flex;
	align-items: center;
}

.error-404 .text-404 {
	font-weight: 900;
	line-height: 1;
	color: var(--bs-primary);
}

.error-404 h1.text-404 {
	font-size: clamp(80px, 15vw, 200px);
	margin-bottom: 20px;
}

.error-404 h2.text-404 {
	font-size: clamp(24px, 5vw, 40px);
	text-transform: uppercase;
	margin-bottom: 10px;
}

.error-404 p {
	font-size: 18px;
	margin-bottom: 30px;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* Search Results */
.search-results:not(.no-results) {
	min-height: 70vh;
}

.search-item .card-info {
	border-radius: 10px;
	transition: all 0.3s ease;
}

.search-item .card-info:hover {
	transform: translateY(-5px);
}

.search-item .title {
	font-weight: 700;
	transition: all 0.3s ease;
}

.search-item .title a:hover {
	color: var(--bs-secondary) !important;
}

.search-item .entry-summary p {
	margin-bottom: 15px;
	color: #666;
}

.pagination-wrapper {
	display: flex;
	justify-content: center;
}

@media screen and (max-width: 575px) {
	.site-header .extra-nav {
		display: none;
	}
}

.flexible-element ul,
.single-content ul {
	list-style: disc;
	padding-left: 20px;
	margin-bottom: 1rem;
}

.flexible-element ul li,
.single-content ul li {
	list-style: disc;
}

.service_menu_nav ul li {
	list-style: none;
}
