/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Studio Be4 team
Author: Studio Be4
Author URI: https://studiobe4.it
Template: hello-elementor
Version: 1.0.7
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

/* Banner Cookie - attivare se si usa LegalBlink
#cm_tertiary_btn {background-color:#333333!important;color:#FFFFFF!important;}
#cc_div .c_button, #cc_div .c_link, #cc_div #cm {border-radius:0px!important;}*/

/* Globali */
h1, h2, h3, h4, h5, h6 {color: var(--e-global-color-secondary)}
h1.verde, h2.verde, h3.verde, h4.verde, h5.verde, h6.verde {color: var(--e-global-color-primary); font-weight:700;}
p {font-family: "Montserrat", Sans-serif;margin-top: 15px;color: var(--e-global-color-secondary)}

h2+p {padding-right: 7em;}
h1+h2+p {margin-top: 25px;}

/* Frecce slider */
.elementor-element .swiper .elementor-swiper-button {top: 107%;}
.elementor-element .swiper .elementor-swiper-button-prev {left:auto; right: 35px}
.elementor-element .swiper .elementor-swiper-button-next {right: -5px;}

/* Form e Calendario */
.jet-apb-calendar-date--selected .jet-apb-calendar-date-body {background-color: var(--e-global-color-primary);}
.jet-apb-calendar .jet-apb-calendar-date {outline: 2px solid #D5D4DF; outline-offset: -1px;}
.jet-apb-calendar .jet-apb-calendar-slots .jet-apb-calendar-slots-container {display: grid!important; grid-template-columns: repeat(4, 1fr);}
.jet-apb-calendar-appointments-list {padding: 5px 0px!important;}
.wp-block-columns {margin-block-end: 15px;}
input:focus-visible, textarea:focus-visible, select:focus-visible {outline: 1px solid var( --e-global-color-8d2a110 )!important;}
.field-type-checkbox-field a {color:var( --e-global-color-8d2a110 )}

/* Aspect Ratio */
.ratio-31 img {aspect-ratio:3/1; object-fit:cover;}

/* Thank you page */
.page-id-2 h1 {text-transform: uppercase; text-wrap: pretty!important;}
.page-id-2 h2 {text-transform:inherit;padding: 0 5em;}
.img-evidenza-grazie img {width:auto; height:140px;}

/* Responsive */
@media only screen and (max-width: 1366px) {
	.jet-apb-appointments-item {margin-bottom: 0px!important;}
	h1+h2+p {margin-top: 15px;}
	p {margin-top: 10px;}
	h2 {margin-block-end: .6rem;}
}

@media only screen and (max-width: 1024px) {
	.wp-block-columns {margin-block-end:10px; gap:10px;}
	.elementor-element .swiper .elementor-swiper-button-prev {left:auto; right: 45px}
	.elementor-element .swiper .elementor-swiper-button-next {right: 10px;}
	.img-evidenza-grazie img {height:120px;}
}

@media only screen and (max-width: 767px) {
	h2+p {padding-right: 1em;}
	.jet-apb-calendar-sidebar {padding:0px!important;}
	.jet-apb-calendar .jet-apb-calendar-slots .jet-apb-calendar-slots-container {padding:0px!important;}
	.jet-apb-calendar .jet-apb-calendar-slots .jet-apb-calendar-slots-container {display: grid!important; grid-template-columns: repeat(3, 1fr);}
	.img-evidenza-grazie img {width:100%;height:auto;}
}