/* 
Theme Name: Lunardelli Tende Theme
Description: Child theme of Hello Elementor, created by Mediacy team
Author: Mediacy Team
Author URI: https://mediacy.it/
Template: hello-elementor
Version: 2.0.0
Text Domain: lunardellitende
*/

html,
body {
  margin: 0;
}

a {
	text-underline-offset: 5px !important;
}

mark {
	background-color:  var( --e-global-color-primary );
	line-height: 50px;
}

.contact-btn a {
    text-transform: uppercase;
    color: var( --e-global-color-secondary ) !important;
    background-color: var( --e-global-color-primary );
    padding: 10px 20px !important;
    border-radius: 50px;
    font-weight: 600 !important;
    border: 1px solid var( --e-global-color-primary );
    transition: .3s all ease-in !important;
}

.contact-btn a:hover {
    background-color: transparent;
}

nav.rank-math-breadcrumb a, nav.rank-math-breadcrumb span {
	color: var(--e-global-color-text);
}

nav.rank-math-breadcrumb p {
	margin: 0;
}

nav.rank-math-breadcrumb a:hover {
	text-decoration: underline;
}

#home-slider .elementor-slides-wrapper {
    border-radius: 5px;
}

#home-slider .elementor-slide-button, .btn-custom-style, button#contact-submit {
	position: relative;
	z-index: 10;
}

#home-slider .elementor-slide-button::after, .btn-custom-style::after, button#contact-submit::after {
    content: '';
    position: absolute;
    background-color: var( --e-global-color-primary );
    height: 10px;
    width: 100%;
    left: 0;
    bottom: 0;
    z-index: -1;
}

.btn-custom-style::after, button#contact-submit::after {
	bottom: 8px;
}

span.elementor-button-icon svg {
    height: 13px;
}

span.elementor-button-icon svg {
    font-size: 15px;
}


.cky-prefrence-btn-wrapper button, .cky-notice-btn-wrapper button {
    padding: 10px;
    border-radius: 5px;
}

/* SLIDER HOME */

.slider-title {
    font-size: 30px;
    color: var(--e-global-color-secondary);
    font-weight: 600;
    margin-bottom: 20px;
}

.swiper-slide-grid-block-wrapper {
    border-left: 5px solid var(--e-global-color-primary);
    padding-left: 20px;
    display: grid;
    gap: 15px;
}

a.grid-block-item {
    height: 440px;
	position: relative;
    background-position: center;
    background-size: cover;
	background-repeat: no-repeat;
}

a.grid-block-item::after {
	content: '';
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.3);
}

.parent-page-title, .child-page-title {
	position: absolute;
	left: 20px;
	z-index: 10;
	color: var( --e-global-color-accent );
}

.parent-page-title {
    bottom: 55px;
    font-size: 16px;
    font-weight: 400;
}

.child-page-title {
    bottom: 20px;
    font-weight: 600;
    font-size: 20px;
}

div#slider-tende-controls {
    display: flex;
    align-items: center;
    gap: 30px;
}

div#slider-tende-controls img {
    background: var(--e-global-color-primary);
    padding: 20px;
    cursor: pointer;
}

/* MEDIA QUERY */

@media screen and (max-width: 1300px) {
	ul.elementor-nav-menu li a {
		font-size: 16px;
    	font-weight: 400;
    	margin: 10px;	
	}
}

@media screen and (max-width: 1024px) {
	.swiper-slide-grid-block-wrapper {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media screen and (max-width: 767px) {
	mark {
		line-height: 35px;
	}
	
	.swiper-slide-grid-block-wrapper {
		grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
	}
}