/*
 Theme Name:   Mantras Child
 Theme URI:    https://mantras.wpengine.com/
 Description:  Mantras Child Theme
 Author:       the Wedesigntech team
 Author URI:   https://wedesignthemes.com/
 Template:     mantras
 Version:      1.0.0
 Text Domain:  mantras-child
*/

/* Main menu */

.wdt-header-menu .menu-item a:hover {
	color: #a6786d !important;
}

.wdt-header-menu .sub-menu {
	background-color: var(--wdtAccentTxtColor) !important;
}

/* Menu popup slide effect on removal */

.mfp-removing .wdt-popup-box-content-holder {
	transform: translateX(800px) !important;
}

/* Home hero effect */

.wdt-home-slider .wdt-slider-bg-img.elementor-widget:before {
	background-image: radial-gradient(at center center, var(--wdtAccentTxtColor) 0%, var(--wdtPrimaryColor) 100%) !important;
	filter: blur(5px) !important;
}

/* Home hero pagination */

.swiper-pagination-bullets {
    display: flex !important;
    flex-direction: column !important;
}

.wdt-arrow-pagination-prev, .wdt-arrow-pagination-next {
	color: #F1ECE4 !important;
}

.wdt-arrow-pagination-prev:hover, .wdt-arrow-pagination-next:hover {
	color: #a6786d !important;
}

.swiper-pagination-bullet::before {
    background-color: #F1ECE4 !important;
    border-color: #F1ECE4 !important;
    transition: background 0.3s linear !important;
}

.swiper-pagination-bullet:hover::before, .swiper-pagination-bullet-active::before {
    border-width: 0px !important;
    background-color: #a6786d !important;
    transform: none !important;
    border-radius: 50% !important;
    top: 0px !important;
    right: 0px !important;
}

@media only screen and (max-width: 767px) {
    .wdt-carousel-pagination-wrapper {
        position: static !important;
        margin-bottom: 20px !important;
    }
    
	.swiper-pagination-bullets {
        flex-direction: row !important;
    }
}

/* Prestations */

/* Bugfix: ensure there are 5 columns on laptops and above (services list in home + services page) */
@media only screen and (min-width: 1201px) {
    .prestations .wdt-column {
        width: 20% !important;
    }
}

.prestations .wdt-content-item .wdt-content-description {
	font-size: 1rem !important;
	font-style: italic !important;
}

/* Stats */

@media only screen and (max-width: 767px) {
	.stats .wdt-content-item h5 {
		font-size: 1.25em !important;
	}
}

@media only screen and (min-width: 1540px) {
	.stats .wdt-content-item h5 {
		font-size: 1.85em !important;
	}
}

/* Animation */

.wdt-animation-item.text-item {
	color: var(--e-global-color-secondary) !important;
	font-size: 2.5rem !important;
	line-height: 1 !important;
	font-weight: var(--wdtFontWeight_Alt) !important;
font-family: var(--wdtFontTypo_Alt) !important;
}

/* Testimonials */

.testimonials .wdt-content-description {
	font-size: 1em !important;
	font-style: italic !important;
	font-family: inherit !important;
}

/* Values */

.wdt-interactive-showcase-content-group .wdt-content-title::before {
	content: none !important;
}

.wdt-interactive-showcase-element, .wdt-interactive-showcase-element .wdt-content-title, .wdt-interactive-showcase-element .wdt-content-title:hover {
	cursor: default !important;
	color: var(--e-global-color-primary) !important;
}

/* Alerts */

.elementor-alert {
	text-align: center !important;
}

/* Pricing table */

.elementor-widget-container:has(> .wdt-pricing-table-holder):not(:has(*:hover))::before {
	background: var(--wdtPrimaryColor) !important;
}

.wdt-pricing-table-header {
	border-color: var(--wdtTxtColor) !important;
}

.wdt-pricing-table-header .wdt-content-title a {
	font-size: 2rem !important;
}

.wdt-pricing-table-features-list-inner {
	display: block !important;
}

.wdt-pricing-table-pricing-sale {
	flex-direction: row-reverse !important;
}

/* Contact form */

.wpcf7-form input::placeholder, .wpcf7-form textarea::placeholder {
  color: #85796D !important;
}

/* Blog */

article.post a.wdt-button:hover {
	color: #a6786d !important;
} 

.tag-cloud-link {
	background-color: var(--wdtPrimaryColor) !important;
}

.tag-cloud-link:hover {
	background-color: #a6786d !important;
}

.recent-posts-widget .entry-meta {
	color: var(--wdtTxtColor) !important;
}

.recent-posts-widget .entry-meta p:has(> .wdticon-author-icon) {
	display: none !important;
}

/* Search */

.widget_search input[type="text"] {
	background-color: #ffffff !important;
	border-width: 0;
}

.widget_search input[type="submit"]:hover {
	background-color: #a6786d !important;	
}

/* Google reCAPTCHA */

.grecaptcha-badge {
	display: none;
}
