/*!
Theme Name: tutor_ntz
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tutor_ntz
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

tutor_ntz is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

:root {
	--tutor-orange: #FF5C05;
	--tutor-green: #009A3F;
	--tutor-blue: #0090D6;
	--tutor-purple: #B450C8;
	--tutor-pink: #E73277;
	--tutor-light-blue: #33CAFF;
	--tutor-orange-light: #F48100;
	--tutor-lime-green: #a0b100;
	--tutor-green-ryb: #76B72A;
	--tutor-sea-green: #238949;
	--tutor-text: #464646;
	--tutor-form-bg: rgba(0, 154, 63, 0.25);
	--tutor-gift-donation: rgba(244, 129, 0, 0.25);
	--tutor-remember-donation: rgba(40, 40, 40, 0.25);
}

:not(.fas) {
	font-family: "acumin-pro", sans-serif;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	color: var(--tutor-text);
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0; 
}

sup {
	font-size: 14px !important;
}


/* --------------------- */
/* ------ GENERALE ----- */
/* --------------------- */

ul li {
	margin-bottom: .5em;
}

ul li::marker {
	color: var(--tutor-green);
}

p a:not(.fc-daygrid-day-number),
li a,
span a {
	color: var(--tutor-green);
}


main * {
	font-size: 22px;
}

.wp-block-button__link {
	font-size: 20px !important;
}

.congress-btn > .wp-block-button__link {
	font-size: 16px !important;
}
div:has(> .congress-btn) {
	flex-shrink: 0;
}

main h1 {
	font-size: 40px;
}

main h2, main h2 * {
	font-size: 30px;
}

main h3, main h3 * {
	font-size: 24px;
}

.biblio, .biblio *, figcaption, figcaption * {
	font-size: 12px;
	padding-top: 2em !important;
}

.text-orange {
	color: var(--tutor-orange-light);
}

.custom-numbered-list {
	list-style: none;
}

.custom-numbered-list > li {
	position: relative;
	margin-bottom: 1.5em;
	padding-top: .3em;
	padding-left: 2em;
	counter-increment: inst;
}

.custom-numbered-list.start-2 > li {
	counter-set: inst 2;
}

.custom-numbered-list.start-3 > li {
	counter-set: inst 3;
}

.custom-numbered-list > li::before {
	content: counter(inst);
	position: absolute;
	left: 0;
	top: 0;
	transform: translateX(-50%);
	display: inline-flex;
	justify-content: center;
	align-items: center;
	color: var(--tutor-purple);
	font-size: 30px;
	border: 1px solid var(--tutor-orange-light);
	box-shadow: 0px 3px 3px rgba(0, 0, 0, .3);
	border-radius: 50%;
	width: 1.5em;
	aspect-ratio: 1;

}

.grid-list-element {
	position: relative;
	counter-increment: gridList;
}

.grid-list-element::before {
	content: counter(gridList);
	position: absolute;
	left: .5rem;
	top: 0;
	transform: translateY(-50%);
	display: inline-flex;
	justify-content: center;
	align-items: center;
	color: var(--tutor-purple);
	font-size: 30px;
	border: 1px solid var(--tutor-orange-light);
	box-shadow: 0px 3px 3px rgba(0, 0, 0, .3);
	border-radius: 50%;
	width: 1.5em;
	aspect-ratio: 1;
	background-color: #fff;
}

.labeled-title {
	width: fit-content;
	padding: .5em .7em !important;
	border-radius: 5px;
}

.disabled-link-btn {
	opacity: .3;
	pointer-events: none;
}

/* --------------------- */
/* ------- HEADER ------ */
/* --------------------- */

header {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
	width: 100%;
	background: linear-gradient(0deg, rgba(57,57,57,0), rgba(57,57,57,.4) 15%, rgba(57,57,57,.7) 50%);
	transition: all .3s;
}

body:has(#wpadminbar) header {
	top: 32px;
}

header .site-extra-links > * {
	display: flex;
	gap: 1rem;
	align-items: center;
	padding: 0 1.5rem;
	border-left: 1px solid #fff;
	transition: all .3s;
}

header .site-extra-links > .calendar-link {
	gap: .5em;
}

header .site-extra-links > :first-child {
	border-left: none;
}

header .site-extra-links a {
	text-decoration: none;
	color: white;
	transition: color .3s;
}

header:not(.scroll) .site-extra-links a {
	text-shadow: 0 0 15px #000000;
}


header .site-extra-links > div > a {
	text-decoration: none;
	color: white;
	margin: 0 .2rem;
}

header .site-extra-links .calendar-link .link-icon,
header .site-extra-links .contact-link .link-icon	{
	filter: brightness(0) invert(1);
	transition: filter .3s;
}
header.scroll .site-extra-links .calendar-link.active-item .link-icon,
header.scroll .site-extra-links .contact-link.active-item .link-icon {
	filter: none;
}

header .site-extra-links .active-item {
	font-weight: 700;
}

header.scroll .site-extra-links .active-item {
	color: var(--tutor-orange-light) !important;
}

header .site-extra-links .donate-link span,
header .site-extra-links .member-link span {
	padding: .1rem 1.2rem;
	border-radius: 10px;
	text-shadow: none;
}

header .site-extra-links .donate-link span {
	background-color: var(--tutor-green);
}

header .site-extra-links .member-link span {
	background-color: var(--tutor-orange-light);
}

header .link-icon {
	width: 25px;
	aspect-ratio: 1;
}

header .site-nav {
	border-top: 1px solid #fff;
	height: 100px;
	transition: all .3s;
}

header .custom-logo-link {
	display: block;
	width: 180px;
	height: auto;
}

header .custom-logo {
	width: 100%;
	height: auto;
	filter: brightness(0) invert(1);
	transition: all .3s;
}

header .site-nav .menu-main-menu-container {
	height: 100%;
}

header .site-nav .menu {
	list-style: none;
	padding-right: 1.5rem;
	padding-left: 0;
	height: 100%;
	margin: 0;
}

header .site-nav .menu > .menu-item {
	display: inline-block;
	padding: 0 1.5rem;
	height: 100%;
	transition: background-color .3s;
	position: relative;
}

header .site-nav .menu > .menu-item > a {
	display: flex;
	align-items: center;
	height: 100%;
}

header:not(.scroll) .site-nav .menu > .menu-item > a {
	text-shadow: 0 0 15px #000000;
}


header .site-nav .menu > .menu-item .sub-menu {
	display: none;
	position: absolute;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;

}

header .site-nav .menu > .menu-item:hover > .sub-menu {
	display: block;
	top: 100%;
	left: 0;
	padding-left: 0;
	width: max-content;
}

header .site-nav .menu > .menu-item:hover > .sub-menu:has( > li.menu-item-has-children) {
	min-width: 100%;
}

header .site-nav .menu > .menu-item .sub-menu > li {
	width: 100%;
	list-style: none;
	margin: 0;
	position: relative;
	background-color: #fff;
	border-top: 1px solid #ddd;
	transition: background-color .2s;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

header .site-nav .menu > .menu-item .sub-menu > li > a {
	display: block;
	text-decoration: none;
	color: var(--tutor-text);
	padding: 1em .5em;
	position: relative;
	transition: color .2s;
	width: 100%;
	min-width: 7.5em;
}

header .site-nav .menu > .menu-item .sub-menu > li:hover {
	background-color: #E8E8E8;
}

header .site-nav .menu > .menu-item .sub-menu > li:hover > a{
	color: var(--tutor-orange-light);

}

header .site-nav .menu > .menu-item > .sub-menu > li.menu-item-has-children::after {
	position: relative;
	display: block;
	content: '';
	height: 1.5em;
	width: .75em;
	background-image: url(/wp-content/themes/tutor_ntz/assets/images/submenu-icon.png);
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
	margin-right: .5em;
}


header .site-nav .menu > .menu-item > .sub-menu > li:hover > .sub-menu {
	display: block;
	left: 100%;
	top: -1px;
	padding: 0;
	width: max-content;
}


header .site-nav .menu > .menu-item:not(.current-menu-item):hover{
	background-color: var(--tutor-orange-light);
}

header .site-nav .menu > .menu-item:not(.current-menu-item):hover > a {
	color: #fff !important;
}

header .site-nav .menu > .menu-item.current-menu-item > a,
header .site-nav .menu > .menu-item:has(.menu-item.current-menu-item:not(.menu-item-object-custom)) > a,
header.scroll .site-nav .menu > .menu-item:has(> .menu-item.current-menu-item) > a {
	/* color: var(--tutor-orange-light); */
	font-weight: 700;
}

header .site-nav .menu > .menu-item > a {
	color: #fff;
	text-decoration: none;
	transition: color .3s;
}

header .site-nav .show-search {
	width: 25px;
	height: auto;
	padding: 0 1.5rem;
	border-left: 1px solid #fff;
	filter: brightness(0) invert(1);
	transition: all .3s;
}

header .site-nav .show-search.active-page {
	filter: none !important;
}

header .site-nav .menu-btn {
	width: 20px;
	height: 20px;
	filter: invert(1);
	display: none;
	transition: filter .3s;
}


header.scroll {
	background: unset;
	background-color: white;
	box-shadow: 0px 3px 12px rgba(0, 0, 0, .3);
}

header.scroll .site-extra-links .link-icon {
	filter: brightness(0);
}

header.scroll .site-extra-links > *,
header.scroll .site-nav,
header.scroll .site-nav .show-search {
	border-color: var(--tutor-text);
}

header.scroll .site-nav .menu-btn {
	filter: none;
}

header.scroll .custom-logo {
	filter: none;
}

header.scroll .site-nav .show-search {
	filter: brightness(0);
}

header.scroll .site-extra-links > a,
header.scroll .site-nav .menu > .menu-item:not(.current-menu-item) > a {
	color: var(--tutor-text);
}

header.scroll .site-nav .menu > .menu-item.current-menu-item > a,
header.scroll .site-nav .menu > .menu-item:has(.menu-item.current-menu-item:not(.menu-item-object-custom)) > a,
header.scroll .site-nav .menu > .menu-item:has(> .menu-item.current-menu-item) > a {
	color: var(--tutor-orange-light);
}

/* --------------------- */
/* ------ RICERCA ------ */
/* --------------------- */

.search-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(0, 0, 0, .8);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.search-container .close-search {
	width: 80px;
	aspect-ratio: 1;
	font-family: sans-serif;
	border-radius: 10px;
	background-color: var(--tutor-orange-light);
	color: #fff;
	font-size: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 2.5em;
	right: var(--bs-gutter-x);
	cursor: pointer;
}

.search-container .search {
	background-color: #fff;
	border-radius: 22px;
	display: flex;
	justify-content: space-between;
	padding: 1em 2em;
}

.search-container .search .search-value {
	border: none;
	outline: none;
	background-color: #0000;
	color: var(--tutor-text);
	font-size: 35px;
	width: 15em;
}

.search-container .search .search-value::placeholder {
	color: #bbb;
}

.search .search-btn {
	background-color: #0000;
	border: none;
	outline: none;
	cursor: pointer;
}

.search .search-btn.disabled {
	opacity: .3;
	pointer-events: none;
}

.search .search-btn img {
	width: 50px;
}

.search-query {
	color: var(--tutor-text);
	text-transform: capitalize;
}

.search-section .search-value {
	border: none;
	outline: none;
	width: 15em;
	border-bottom: 1px solid var(--tutor-text);
	border-radius: 0;
}

.search-section .search-value:focus {
	border-bottom-color: var(--tutor-orange-light);
}

.search-section .search-btn {
	background-color: var(--tutor-orange-light);
	border-radius: 10px;
	width: 2em;
	aspect-ratio: 1;	
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: url(/wp-content/themes/tutor_ntz/assets/images/search-icon.png);
	background-position: center;
	background-size: 50%;
	background-repeat: no-repeat;
}

.result-element {
	padding-top: .5em;
	padding-bottom: 1.5em;
	border-top: 1px solid var(--tutor-green);
}

.result-title {
	position: relative;
}

.events .result-title,
.post .result-title {
	padding-left: 1.5em;
}

.events .result-title::before,
.post .result-title::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width: 1em;
	aspect-ratio: 1;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

.events .result-title::before {
	background-image: url(/wp-content/themes/tutor_ntz/assets/images/calendar-icon.png);	
}

.post .result-title::before {
	background-image: url(/wp-content/themes/tutor_ntz/assets/images/news-icon.png);	
}

.result-link {
	background-color: var(--tutor-orange-light);
	border-radius: 5px;
	width: 1.5em;
	aspect-ratio: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-shrink: 0;
}

.result-link > img {
	height: .8em;
}

.home-link {
	margin-top: 1.5em;
	color: #fff;
	text-decoration: none;
	background-color: var(--tutor-orange-light);
	padding: .5em 1.2em;
	border-radius: 10px;
}

.not-found-title {
	font-size: 85px;
	color: var(--tutor-green);
}

/* --------------------- */
/* ---- NAVIGAZIONE ---- */
/* --------------------- */

main {
	position: relative;
	width: 100%;
}

.navigation-controls {
	position: sticky;
	bottom: 1em;
	display: flex;
	justify-content: space-between;
	padding: 0 3em 1em;
	z-index: 99;
	pointer-events: none;
}

.content-navigation {
	width: 3em;
	aspect-ratio: 1;
	border-radius: 50%;
	background-color: var(--tutor-green);
	box-shadow: 0px 3px 9px rgba(0, 0, 0, .3);
	display: flex;
	justify-content: center;
	align-items: center;
	pointer-events: auto;
}

.content-navigation > img {
	width: 50%;
	height: auto;
}

.content-navigation.disabled-nav {
	opacity: 0;
	pointer-events: none;
}

.content-navigation.next-page > img {
	transform: rotate(180deg);
}


/* --------------------- */
/* ---- HOME SLIDER ---- */
/* --------------------- */

.eb-slider-item {
	max-height: 900px;
}

.slick-arrow {
	font-family: "Font Awesome 6 Free" !important;
}

.slick-arrow > i {
	font-size: 60px !important;
}

.slick-dots {
	bottom: 75px !important;
}

.slick-dots > li {
	width: 60px !important;
}

.slick-dots > li > button::before {
	content: '' !important;
	width: 60px !important;
	height: 10px !important;
	border-radius: 10px !important;
	background-color: white !important;
	opacity: 1 !important;
	border-radius: 1px;
}

.slick-dots > li.slick-active > button::before {
	background-color: var(--tutor-orange-light) !important;
}

.eb-slider-button {
	border-radius: 5px;
	font-size: 20px;
	line-height: 1.2em;
}

.eb-slider-title {
	font-size: 60px !important;
	font-weight: 700 !important;
	text-shadow: 0 0 32px #000;
}

.eb-slider-subtitle {
	font-size: 30px !important;
	position: relative;
	font-weight: 400;
	text-shadow: 0 0 9px #000;
}

.eb-slider-subtitle::before {
	content: '';
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	top: -32px;
	width: 150px;
	height: 2px;
	border-radius: 1px;
	background-color: var(--tutor-orange-light);
}

.slick-slider {
	position: relative;
}

.slick-slider::after {
	content: '';
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: .5em;
	width: 25px;
	height: 47px;
	background-image: url(/wp-content/themes/tutor_ntz/assets/images/nav-logo.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}
.eb-slider-wrapper .eb-slider-init:before {
	display: none !important;
}

/* --------------------- */
/* ----- ACCORDION ----- */
/* --------------------- */

.eb-accordion-inner > div {
	padding-top: 0 !important;
	padding-left:  1rem !important;
	padding-right: 1rem !important;
	border: 1px solid var(--tutor-orange-light);
	border-radius: 15px;
	box-shadow: 0px 3px 12px rgba(0, 0, 0, .2);
	background-color: #fff;
}

.eb-accordion-title-wrapper {
	background-color: #fff !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.eb-accordion-title, .eb-accordion-title * {
	font-size: 30px !important;
}

.eb-accordion-content {
	border: none !important;
	padding: 0 0 1rem 0 !important;
}

/* --------------------- */
/* --- HOME - CONTENT -- */
/* --------------------- */

.learn-more-block {
	background-color: #F7F7F7;
	border-radius: 10px;
	box-shadow: 0 3px 12px rgba(0, 0, 0, .2);
	gap: 0;
	overflow: hidden;
}

.learn-more-block figure {
	margin-bottom: 0;
}

.learn-more-block .learn-more-content {
	height: 100%;
}

.learn-more-block .learn-more-content > div {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 2.5rem;
}

.learn-more-block .learn-more-img {
	height: 100%;
}

.learn-more-block .learn-more-img img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center;
}

.learn-more-block h2 {
	color: var(--tutor-green);
	font-size: 40px;
	margin: 0;
}

.learn-more-block h3 {
	color: #464646;
	font-size: 25px;
	font-weight: 400;
	margin: 0;
}

.learn-more-block .learn-more-icon img {
	max-height: 350px;
	width: auto;
	object-fit: contain;
}

.learn-more-block .learn-more-btn > div {
	display: flex;
	justify-content: space-between;
	align-items: end;
}

div:has( > .section-title) {
	max-width: calc(100% - 240px - 2em);
}	

.calendar-bg {
	background: linear-gradient(180deg, rgba(255,255,255,0) 30%, rgba(244,129,0,.3) 100%);
	position: relative;
}

.calendar-bg::after {
	content: '';
	position: absolute;
	top: 1em;
	right: 1em;
	background-image: url(/wp-content/themes/tutor_ntz/assets/images/home-caledar.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	width: 5em;
	height: 3em;
}

.calendar-bg > * {
	line-height: 1.1em;
}


.section-title{
	color: var(--tutor-green);
	position: relative;
	font-size: 50px;
	padding: 0 1em;
	margin: 0;
	margin-bottom: .7em;
}

.section-title * {
	font-size: 50px;
}

.section-title::after {
	content: '';
	position: absolute;
	left: 0;
	transform: translateX(-100%);
	top: 60%;
	width: 120px;
	height: 1px;
	background-color: var(--tutor-green);
} 
.section-title::before {
	content: '';
	position: absolute;
	right: 0;
	transform: translateX(100%);
	top: 60%;
	width: 120px;
	height: 1px;
	background-color: var(--tutor-green);
} 

.tips-section {
	background-image: url(/wp-content/uploads/2024/12/tutor-header-8.png);
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}


.tips-section .section-title, .tips-section p {
	color: #fff;
	text-shadow: 0 0 9px #000;
}
.tips-section p {
	width: 50%;
	margin-bottom: 2em;
	margin-top: 2em;
}
/* --------------------- */
/* ---- CALENDARIO ----- */
/* --------------------- */

#calendar-event {
	min-height: 792px;
	height: auto;
}



.fc-toolbar-title {
	text-transform: capitalize;
	color: var(--tutor-orange-light);
}

.fc-today-button {
	display: none !important;
}

.fc-prev-button, .fc-next-button {
	background-color: var(--tutor-green) !important;
	border-color: #fff !important;
}

.fc-prev-button:focus, .fc-next-button:focus {
	box-shadow: none !important;
}

.fc-event {
	padding-left: .2em;
	padding-right: .5em;
	padding-top: .3em;
	padding-bottom: 1.2em;
	position: relative;
	cursor: pointer;
}

.fc-event.hide {
	display: none;
}


.fc-event::after {
	content: '';
	width: .8em;
	aspect-ratio: 1;
	position: absolute;
	right: .2em;
	top: .75em;
	background-image: url(/wp-content/themes/tutor_ntz/assets/images/see-event-icon.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

.fc-event-title {
	white-space: pre-line;
	width: calc(100% - .8em);
	font-weight: 600;
	font-size: 12px;
	padding-top: .4em !important;
}

.event-color {
	height: 1.5rem;
	aspect-ratio: 1;
	border-radius: 5px;
}

.event-category {
	color: #6F6F6F;
	text-transform: uppercase;
	font-size: 25px;
}

.event-info {
	position: relative;
}

.event-info .loading {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, .5);
	z-index: 99;
}

.event-info .loading::after {
	content: '';
	background-image: url(/wp-content/themes/tutor_ntz/assets/images/loader.png);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	width: 3em;
	aspect-ratio: 1;
	position: absolute;
	height: auto;
	top: 7.5em;
	left: 50%;
	transform: translateX(-50%) scale(.4);
	animation: spin infinite 1s forwards ease-in-out;
}

.event-title {
	font-size: 30px;
}

.event-description {
	font-size: 20px;
	color: #6F6F6F;
	padding-bottom: 1em;
}

.event-date, .event-time {
	font-size: 20px;
	margin: 0;
}

.event-date {
	position: relative;
	font-weight: 600;
}

.event-date::before {
	content: '';
	position: absolute;
	top: -.5em;
	left: 0;
	height: 1px;
	width: 100px;
	background-color: #6F6F6F;
	opacity: .5;
}

.event-time {
	color: #6F6F6F;
}

.event-link {
	display: inline-block;
	padding: .5em 1.5em;
	background-color: var(--tutor-orange-light);
	border-radius: 10px;
	color: #fff;
	text-decoration: none;
	margin-top: 1.5em;
}

.calendar-filter input[type="checkbox"],
.event-type-filter input[type="checkbox"] {
	width: 1.5em;
	height: 1.5em;
	opacity: 0;
	outline: none;
}

.calendar-filter .event-filter,
.event-type-filter .type-filter {
	display: flex;
	align-items: center;
	gap: .3em;
	position: relative;
}

.calendar-filter .event-filter::before,
.event-type-filter .type-filter::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 1.5em;
	height: 1.5em;
	border-radius: 5px;
	border: 1px solid #707070;
	box-shadow: inset 0px 3px 6px rgba(0, 0, 0, .3);
	background-color: #fff;
	background-position: center;
	background-size: 70%;
	background-repeat: no-repeat;
}

.calendar-filter .event-filter:has(input[type="checkbox"]:checked)::before,
.event-type-filter .type-filter:has(input[type="checkbox"]:checked)::before{
	background-image: url(/wp-content/themes/tutor_ntz/assets/images/checked-white.png);
}

.calendar-filter .event-filter:has(#open-tutor:checked)::before {
	background-color: var(--tutor-lime-green);
}

.calendar-filter .event-filter:has(#meso:checked)::before,
.event-type-filter .type-filter.meso:has(input[type="checkbox"]:checked)::before {
	background-color: var(--tutor-blue);
}

.calendar-filter .event-filter:has(#timo:checked)::before,
.event-type-filter .type-filter.timo:has(input[type="checkbox"]:checked)::before {
	background-color: var(--tutor-orange-light);
}

.event-type-filter .type-filter.extra:has(input[type="checkbox"]:checked)::before {
	background-color: var(--tutor-purple);
}

.calendar-filter .event-filter:has(#meet-share:checked)::before {
	background-color: var(--tutor-green);
}

.event-type-filter.hide {
	display: none;
}

.event-filter > a {
	display: flex;
	justify-content: center;
	align-items: center;
}

.event-filter > a > img {
	width: 1em;
}

/* --------------------- */
/* --- TITOLO BANNER --- */
/* --------------------- */

.title-banner {
	min-height: 560px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 1.5em;
}

.title-banner.donation-banner {
	flex-direction: column;
	justify-content: end;
	min-height: 750px;
	padding-bottom: 2em;
	position: relative;
}

.title-banner.donation-banner > .donation-tint {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	transition: background-color .5s ease-out;
}

.title-banner.donation-banner > .container,
.title-banner.donation-banner h1 {
	z-index: 1;
}

.title-banner.donation-banner.gift-donation::after {
	background-color: var(--tutor-gift-donation);
}


.title-banner.donation-banner p,
.title-banner.donation-banner h2,
.title-banner.donation-banner h3 {
	color: #ffffff;
}

.title-banner.donation-banner p {
	font-size: 18px;
}

.title-banner.donation-banner .donation-controller {
	background-color: #0008;
	height: 100%;
	padding: 1em;
	display: flex;
	flex-direction: column;
	align-items: start;
	justify-content: space-evenly;
	border-radius: 20px;
}

.title-banner h1 {
	color: #fff;
	font-size: 60px;
	text-transform: uppercase;
	position: relative;
	text-align: center;
	text-shadow: 0 0 15px #000;
}

.donation-controller .donation-type {
	width: 30%;
	padding: .5em 1em;
	border-radius: 10px;
	border: none;
	box-shadow: inset 3px 0 6px rgba(0, 0, 0, .2);
	color: var(--tutor-text);
	line-height: 1em;
	background-color: #ddd;
	border: 2px solid #ddd;
	transition: border .3s ease-out;
}

.donation-controller .donation-amount {
	width: 22.5%;
	padding: .5em 0;
	border-radius: 10px;
	border: none;
	box-shadow: inset 3px 0 6px rgba(0, 0, 0, .2);
	color: var(--tutor-text);
	line-height: 1em;
	background-color: #ddd;
	border: 2px solid #ddd;
	transition: border .3s ease-out;
}

.donation-controller input.donation-amount {
	text-align: center;
	outline: none;
}

.donation-controller .donation-type.active-type,
.donation-controller .donation-amount.active-amount {
	border-color: var(--tutor-orange-light);
	font-weight: 600;
}

.foreign-message {
	font-weight: 600;
	color: #ffffff;
	font-size: 20px;
	background-color: var(--tutor-green);
	border-radius: 50px;
	padding: .5em 1.5em;
	line-height: 1.2em;
}

.title-banner h1::after {
	content: '';
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -.2em;
	width: 140px;
	height: 3px;
	background-color: var(--tutor-orange-light);
}

.title-banner.la-nostra-missione {
	background-image: url(/wp-content/uploads/2024/08/la-nostra-missione.png);
}

.title-banner.la-nostra-missione h1 {
	text-transform: none;
}

.la-nostra-missione p * {
	font-size: 26px;
}

.title-banner.short-banner {
	align-items: end;
	min-height: 320px;
}

.title-banner.short-banner h1 {
	padding-bottom: .5rem;
}

/* --------------------- */
/* ----- CHI SIAMO ----- */
/* --------------------- */

.only-associate  strong{
	font-size: inherit !important;
}

.title-banner.la-nostra-missione h1 {
	text-transform: none;
}

.green-line-section {
	position: relative;
}

.green-line-section img {
	position: relative;
	z-index: 2;
}

.green-line-section::before {
	content: '';
	position: absolute;
	top: 45%;
	transform: translateY(-50%);
	left: auto;
	width: calc(100% - var(--bs-gutter-x));
	height: 2px;
	background-color: var(--tutor-green);
	z-index: 1;
}

/* --------------------- */
/* --- FILTRI CENTRO --- */
/* --------------------- */

.center-filter, .studies-filter {
	flex-wrap: wrap;
}

.center-filter .center-select > select,
.studies-filter .study-select > select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding: .2em .5em;
	min-width: 15em;
	outline: none;
	border: 1px solid var(--tutor-text);
	border-radius: 10px;
	box-shadow: inset 0 3px 12px rgba(0, 0, 0, .2);
	color: var(--tutor-text);
	background-color: transparent;
}

.center-filter .center-select,
.studies-filter .study-select {
	position: relative;
	width: max-content;
}

.center-filter .center-select > .select-arrow,
.studies-filter .study-select > .select-arrow {
	position: absolute;
	right: .5em;
	top: 50%;
	transform: translateY(-50%);
	width: .8em;
	height: 1.6em;
	background-image: url(/wp-content/themes/tutor_ntz/assets/images/center-select-arrow.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	pointer-events: none;
} 

.center-filter .center-select select[name="city"] option:disabled:not(.placeholder),
.studies-filter .study-select select[name="city"] option:disabled:not(.placeholder) {
	display: none;
}
 
.center-filter .reset-filter,
.studies-filter .reset-filter {
	background-color: var(--tutor-orange-light);
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: .2em 1.2em;
	cursor: pointer;
}

.center-list .center-element {
	border-top: 1px solid var(--tutor-green);
	padding: 1em 0;
}

.center-list .center-element.hide,
.clinical-studies .clinical-study-element.hide,
.clinical-study-element .centers-list .study-center-element.hide {
	display: none;
}

.center-list .center-element .center-name {
	margin: 0;
	text-transform: uppercase;
}

.center-list .center-element .center-location {
	color: var(--tutor-green);
	font-weight: 600;
	font-size: 25px;
}

.center-list .center-element .center-reference {
	padding-bottom: .5em;
}

.center-list .center-element .center-reference .disease-type {
	margin: 0;
	color: var(--tutor-orange-light);
	font-weight: 700;
}

.center-list .center-element .center-reference .name {
	margin: 0;
	font-size: 25px;

}
.center-list .center-element .center-reference .contact {
	color: var(--tutor-green);
	text-decoration: none;
	font-size: 25px;
}

.center-list .not-found {
	font-style: italic;
}

.clinical-study-link {
	border-radius: 10px;
	padding: 15px 30px;
	color: #fff !important;
	text-decoration: none;
}

.clinical-study-link.timo {
	background-color: var(--tutor-orange-light);
}

.clinical-study-link.meso {
	background-color: var(--tutor-blue);
}

/* --------------------- */
/* --- STUDI CLINICI --- */
/* --------------------- */

.clinical-study-element {
	border-top: 1px solid var(--tutor-green);
	padding: 1.5em 0;
	margin-bottom: 1em;
}

.clinical-study-element > h2 {
	color: var(--tutor-green);
	margin: .2em 0;
}

.clinical-study-element > h3 {
	color: var(--tutor-orange-light);
	margin: .2em 0;
}

.clinical-study-element > p {
	margin: .2em 0;
	margin-bottom: 1em;
}

.clinical-study-element > a {
	color: #fff;
	text-decoration: none;
	margin-top: 1em;
	padding: .5em 1.3em;
	border-radius: 5px;
}
.clinical-study-element > a.timo {
	background-color: var(--tutor-orange-light);
}

.clinical-study-element > a.meso {
	background-color: var(--tutor-blue);
}

.centers-list {
	margin-bottom: 2em;
	list-style: none;
	border: 1px solid var(--tutor-green);
	border-radius: 10px;
	padding: .5em 1em;
	box-shadow: 0px 3px 6px rgba(0, 0, 0, .3);
	overflow-y: hidden;
}

/* .centers-list > div {
	max-height: 0;
	transition: max-height 1s;
}

.centers-list[open] > div {
	max-height: 2500px;
} */

.centers-list > summary h3 {
	display: inline;
	color: var(--tutor-orange-light);
	margin: 0;
	user-select: none;
}

.centers-list > summary {
	list-style: none;
	display: flex;
	justify-content: space-between;
	cursor: pointer;
}

.centers-list > summary::after {
	position: relative;
	content: '';
	width: 1em;
	aspect-ratio: 1;
	background-image: url(/wp-content/themes/tutor_ntz/assets/images/center-select-arrow.png);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}

.centers-list[open] > summary::after {
	transform: rotate(90deg);
}

.centers-list > summary::-webkit-details-marker {
	display: none;
}

.centers-list .study-center-element {
	margin-top: .5em;
	margin-bottom: 1em;
}

.centers-list .study-center-element > h3,
.centers-list .study-center-element > .location,
.centers-list .study-center-element .center-reference * {
	margin: .2em 0;
}

.centers-list .study-center-element > h3 {
	color: var(--tutor-orange-light);
	text-transform: uppercase;
}

.centers-list .study-center-element .center-reference .name {
	font-weight: 600;
}

.centers-list .study-center-element .center-reference .contact {
	color: var(--tutor-green);
	text-decoration: none;
	display: flex;
	gap: .3em;
	align-items: center;
	position: relative;
}

.centers-list .study-center-element .center-reference .contact::before {
	content: '';
	position: relative;
	width: 1em;
	aspect-ratio: 1;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}

.centers-list .study-center-element .center-reference .contact.mail::before {
	background-image: url(/wp-content/themes/tutor_ntz/assets/images/mail-icon.png);
}


.centers-list .study-center-element .center-reference .contact.phone::before {
	background-image: url(/wp-content/themes/tutor_ntz/assets/images/phone-icon.png);
}






/* --------------------- */
/* ---- SOSTIENICI ----- */
/* --------------------- */


.donation-element {
	border: 1px solid var(--tutor-orange-light);
	border-radius: 15px;
	box-shadow: 0px 3px 12px rgba(0, 0, 0, .3);
}

.donation-element h2 {
	margin-top: 0;
}

/* --------------------- */
/* ------- FORM -------- */
/* --------------------- */

form p {
	margin: 0 !important;
}
form {
	background-color: var(--tutor-form-bg);
	padding: 1em;
	margin: 1em 0;
	border-radius: 20px;
	transition: background-color .5s ease-in;
}

.donation-type-label {
	display: block;
	text-align: center;
	color: var(--tutor-orange-light);
	font-size: 24px;
	font-weight: 600;
}

.donation-amount-label {
	color: var(--tutor-orange-light);
	font-size: 30px;
	font-weight: 600;
}

.wpcf7-form-control-wrap {
	display: inline-block;
	width: 100%;
	height: fit-content;
}

.wpcf7-form-control-wrap > .wpcf7-not-valid-tip {
	display: none !important;
}

.custom-radio-btn input[type="radio"],
.custom-checkbox input[type="checkbox"] {
	opacity: 0;
	position: fixed;
	pointer-events: none;
	outline: none;
}

.custom-checkbox > span,
.custom-radio-btn > span {
	margin: .5em 1em .5em 0;
}

.custom-checkbox > span.has-free-text > label > span {
	display: none;
}

.custom-checkbox > span.has-free-text > input[type="text"],
.custom-checkbox-2 > span.has-free-text > input[type="text"] {
	padding: .3em;
	outline: none;
	border: 2px solid #707070;
	border-radius: 10px;
	width: 7em;
	box-shadow: 0px 3px 3px rgba(0, 0, 0, .2);
}

.custom-checkbox > span.has-free-text > input[type="text"] {
	margin-left: 2em;
}

.custom-checkbox > span.has-free-text > input[type="text"].selected {
	border-color: var(--tutor-orange-light);
}

.custom-radio-btn input[type="radio"] ~ span{
	display: inline-block;
	text-align: center;
	background-color: #ddd;
	border: 2px solid #707070;
	border-radius: 10px;
	width: 15em;
	padding: .7em 0;
	box-shadow: inset 0px 3px 6px rgba(0, 0, 0, .2);
}

.custom-checkbox input[type="checkbox"] ~ span {
	display: inline-block;
	text-align: center;
	background-color: #E8E8E8;
	border: 1px solid #707070;
	border-radius: 10px;
	width: 7em;
	padding: .3em 0;
	box-shadow: 0px 3px 3px rgba(0, 0, 0, .2);
}

.custom-radio-btn input[type="radio"]:checked ~ span,
.custom-checkbox input[type="checkbox"]:checked ~ span {
	border-color: var(--tutor-orange-light);
	font-weight: 600;
}

.custom-text-input {
	border: 1px solid #707070;
	border-radius: 5px;
	box-shadow: inset 0px 3px 6px rgba(0, 0, 0, .16);
	padding: .3em;
	margin: .5em 0;
	width: calc(100% - 1em);
	outline: none;
	resize: none;
}

.custom-text-input:focus {
	border-color: var(--tutor-orange-light);
}

.custom-checkbox-2 > span {
	padding: .5em 0 !important;
	margin: 0 !important;
}

.custom-checkbox-2 > span > label{
	position: relative;
	display: flex;
	align-items: center;
}

label:has(> .custom-acceptance) {
	position: relative;
	margin: .5em 0;
	display: flex;
}

.custom-checkbox .has-free-text > label {
	position: relative;
}

.custom-acceptance {
	outline: none;
	height: 1.5em;
}

.custom-checkbox-2 > span > label > input,
.custom-checkbox .has-free-text > label > input {
	opacity: 0;
}

.custom-checkbox-2 > span.has-free-text > label{
	display: inline;
}

.custom-checkbox-2 > span > label::before,
label:has(> .custom-acceptance)::before,
.custom-checkbox .has-free-text > label::before {
	content: '';
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	width: 1.5em;
	aspect-ratio: 1;
	border-radius: 5px;
	border: 1px solid #707070;
	box-shadow: inset 0px 3px 6px rgba(0, 0, 0, .16);
	background-color: #fff;
}

.wpcf7-list-item:has(.custom-acceptance) {
	margin: 0;
}

label:has(> .custom-acceptance)::before {
	top: 1em;
}

.custom-acceptance ~ span {
	padding-left: 1.3em;
	font-size: 16px;
}
.custom-acceptance ~ span * {
	font-size: 16px;
}

.custom-checkbox-2 > span > label:has(input[type="checkbox"]:checked)::before,
label:has(> .custom-acceptance:checked)::before,
.custom-checkbox .has-free-text > label:has(> input[type="checkbox"]:checked)::before {
	background-image: url(/wp-content/themes/tutor_ntz/assets/images/check.png);
	background-size: 70%;
	background-repeat: no-repeat;
	background-position: center;
}

.custom-checkbox-2 > span:not(.has-free-text) span {
	padding: 0 1em;
}

.custom-checkbox-2 > span.has-free-text input[type="text"] {
	margin-left: 1em;
	width: 12em;
}

.custom-checkbox-2 > span.has-free-text span {
	display: none;
}

.custom-checkbox-2 > span > input[type="text"] {
	margin-left: -.5em;
}

.custom-attachment {
	border: 1px solid #707070;
	border-radius: 5px;
	background-color: #ffffff;
	width: 97%;
	padding: .3em;
	margin: .5em 0;
	box-shadow: inset 0px 3px 6px rgba(0, 0, 0, .16);
	color: var(--tutor-orange-light);
}

.patology-interest > p {
	display: flex;
	align-items: center;
	gap: 1.5em;
	margin: 0;
}

.patology-interest > p > span {
	width: auto;
}

.policy-accept > span span {
	font-size: 16px;
	padding-left: 1.5em;
}

.payment-selection .custom-radio-btn > span {
	margin-top: 0 !important;
}

.custom-menu-selection {
	border: 1px solid #707070;
	border-radius: 5px;
	box-shadow: inset 0px 3px 6px rgba(0, 0, 0, .16);
	padding: .3em;
	width: 99%;
	outline: none;
	margin: .5em 0;
	color: var(--tutor-text);
	background-color: #ffffff;
	appearance: none;
}

span:has(> .custom-menu-selection)::after {
	content: '';
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 1em;
	height: 30%;
	aspect-ratio: 1;
	pointer-events: none;
	background-image: url(/wp-content/themes/tutor_ntz/assets/images/submenu-icon.png);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.custom-menu-selection[aria-invalid="true"],
.custom-text-input[aria-invalid="true"],
#contact-id-number.invalid-expression,
.custom-checkbox-2.wpcf7-not-valid > span > label::before {
	border-color: var(--tutor-orange);
}

.custom-checkbox-2.wpcf7-not-valid > span > label::before {
	background-color: #FFDBC8;
}

.custom-text-input[aria-invalid="true"]::placeholder,
#contact-id-number.invalid-expression::placeholder,
.custom-menu-selection[aria-invalid="true"] {
	color: var(--tutor-orange);
}

.statute-points {
	margin-top: 0;
    list-style: none; /* Rimuove lo stile predefinito */
    counter-reset: list-counter; /* Inizializza il contatore */
    padding-left: 2rem; /* Aggiunge spazio a sinistra per allineare il testo */
}
.statute-points > li {
    counter-increment: list-counter; /* Incrementa il contatore */
    position: relative; /* Permette di posizionare il contenuto generato */
    margin-bottom: 0.5rem; /* Facoltativo: spaziatura tra gli elementi */
}
.statute-points > li::before {
    content: counter(list-counter, upper-alpha) ") "; /* Aggiunge lettera e parentesi */
    position: absolute; /* Posiziona il marker */
    left: -2rem; /* Allinea il marker al bordo sinistro del contenitore */
    width: 1.5rem; /* Definisce una larghezza sufficiente per il marker */
    text-align: right; /* Allinea il marker a destra */
	font-weight: 600;
}

label:has(> #data-statute-consent),
label:has(> .donation-acceptance) {
	align-items: center;
}


.submit-btn {
	background-color: var(--tutor-green);
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: .5em 1em;
	margin-top: 1em;
}


.wpcf7-form.sent .wpcf7-response-output {
	border: 1px solid var(--tutor-green);
	background-color: #C6E8D4;
	border-radius: 10px;
	padding: .5em 1em;
	margin: 1em 0;
	color: var(--tutor-green) !important;
	position: relative;
	display: flex;
	gap: .5em;
	align-items: center;
}

.wpcf7-form.sent .wpcf7-response-output::before {
	content: '';
	position: inline;
	width: 1.2em;
	height: 1.2em;
	background-image: url(/wp-content/themes/tutor_ntz/assets/images/form-submitted.png);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}

.wpcf7-form.invalid .wpcf7-response-output {
	display: none !important;
}


.warning-msg {
	display: none;
	align-items: center;
	gap: 1em;
	background-color: #FFDBC8;
	border: 1px solid var(--tutor-orange);
	border-radius: 10px;
	padding: .5em 1em;
	margin-bottom: 1em;
}

.warning-msg p {
	color: var(--tutor-orange);
	margin: 0;
}

.warning-msg .warning-icon {
	width: 2em;
	padding-top: .3em;
}

.wpcf7-form.invalid > .warning-msg {
	display: flex;
}

.policy-link {
	font-size: 14px;
}

/* --------------------- */
/* -- CONSIGLI UTILI --- */
/* --------------------- */

.greetings-section strong {
	color: var(--tutor-orange-light);
}

.lecture-icon {
	flex-shrink: 0;
	padding-right: 1em;
}

.video > div {
	display: flex;
	justify-content: center;
}

.copy-btn > a {
	transition: all .2s linear;
}

.copy-btn.text-copied > a {
	background-color: var(--tutor-green) !important;
	pointer-events: none;
}

/* --------------------- */
/* ------- NEWS -------- */
/* --------------------- */

.news-categories {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding-bottom: 2em;
}

.news-categories > .news-category {
	min-width: 7.5em;
	box-sizing: content-box;
	text-align: center;
	padding: .25em .5em;
	border: 1px solid var(--tutor-orange-light);
	color: var(--tutor-text);
	text-decoration: none;
	border-radius: 5px;
	font-size: 18px;
	box-shadow: 0px 3px 3px rgba(0, 0, 0, .2);
	transition: all .3s ease-out;

}

.news-categories > .news-category:hover, 
.news-categories > .news-category.active-category {
	background-color: var(--tutor-orange-light);
	color: #ffffff;
} 

.news-categories > .news-category:hover {
	transform: scale(1.05);
}

.news-cover {
	width: 100%;
	margin: 1em 0;
	box-shadow: 0px 3px 6px rgba(0, 0, 0, .3);
	border-radius: 20px;
	object-fit: cover;
	object-position: center;
	max-height: 350px;
}

.news-title {
	color: var(--tutor-green);
}


.post-date > img {
	width: 1.5em;
}

.post-date > p {
	font-size: 16px;
	color: var(--tutor-green);
	font-weight: 600;
}

.news-header-separator {
	margin: 0;
	height: 1px;
	border: none;
	background-color: #ccc;
}

.news-archive {
	display: flex;
	flex-wrap: wrap;
	column-gap: calc((100% - 90%) / 2);
	row-gap: 2em;
}

.news-element {
	display: flex;
	background-color: #F7F7F7;
	box-shadow: 0px 3px 6px rgba(0, 0, 0, .3);
	border-radius: 20px;
	overflow: hidden;
	width: 30%;
	cursor: default;
}

.news-element.full {
	width: 100%;
	min-height: 300px;
}

.news-element:not(.full) {
	flex-wrap: wrap;
}

/* .news-element > .news-image {
	width: 100%;
	height: 250px;
	object-fit: cover;
	object-position: center;
} */

/* .news-element.full > .news-image {
	width: 50%;
	height: 350px;
} */

.news-element:not(.full) > div {
	box-sizing: border-box;
	min-height: 300px;
	height: calc(100% - 250px);
}


.news-element .news-title {
	color: var(--tutor-text);
	font-size: 24px;
}

.news-element .read-more {
	color: var(--tutor-orange-light);

}

.pagination {
	display: flex;
	align-items: center;
	height: 1em;
}

.pagination > a {
	text-decoration: none;
	color: var(--tutor-text);
}

.pagination > span.current {
	color: var(--tutor-orange-light);
	font-weight: 700;
	margin: 0 .2em;
}

.pagination .next,
.pagination .prev {
	padding: 0 1em;
	height: 100%;
}

.pagination .next img,
.pagination .prev img {
	height: 100%;
}


.back-to-news {
	text-decoration: none;
	color: var(--tutor-orange-light);
	display: flex;
	gap: .2em;
	align-items: center;
}

.back-to-news > span {
	font-size: 16px;
}

.back-to-news > img {
	height: 1em;
}

#sindromi-neurologiche, 
#diagnosi-differenziale,
#stadi,
#malattie-correlate,
#target-therapy,
.clinical-study-element {
	scroll-margin-top: 225px;
}

.wp-block-embed.video figcaption, 
.wp-block-embed.video figcaption *{
	text-align: center;
	font-size: 16px;
	margin-top: 0;
	padding-top: .5em !important;
}


/* --------------------- */
/* ------- FOOTER ------ */
/* --------------------- */

footer .footer-shortcuts {
	width: 100%;
	height: auto;
}

footer .footer-shortcuts .shortcut {
	width: 50%;
	height: 330px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-position: center;
	background-size: cover;
}

footer .footer-shortcuts .donate-shortcut {
	background-image: url(/wp-content/themes/tutor_ntz/assets/images/footer-donate.png);
}

footer .footer-shortcuts .member-shortcut {
	background-image: url(/wp-content/themes/tutor_ntz/assets/images/footer-member.png);
}

footer .footer-shortcuts .charity-shortcut {
	background-image: url(/wp-content/uploads/2024/12/tutor-dona_ora_new-8.jpg);
}

footer .footer-shortcuts .volunteer-shortcut {
	background-image: url(/wp-content/uploads/2024/12/tutor-volontario-9.jpg);
}


footer .footer-shortcuts .shortcut .shortcut-link {
	color: #fff;
	text-decoration: none;
	border: 1px solid #fff;
	border-radius: 10px;
	font-size: 45px;
	font-weight: bold;
	padding: .2em;
	display: flex;
	align-items: center;
	gap: .5em;
}

footer .footer-shortcuts .shortcut .shortcut-link .link-icon {
	height: .7em;
	width: auto;
	padding-top: .1em;
}

footer .footer-content {
	background-color: rgba(0, 0, 0, 24%);
	color: #fff;
}

footer .footer-content .custom-logo {
	filter: brightness(0) invert(1);
	width: 250px;
	height: auto;
}

footer .footer-content .policy-links a {
	padding: .5em 1em;
	background-color: #fff;
	border: 1px solid #707070;
	border-radius: 5px;
	color: #464646;
	text-decoration: none;
}

footer .footer-content .footer-message {
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
} 

footer .footer-content .footer-contact {
	width: 85%;
	font-size: 18px;
	padding: 1em;
	color: #fff;
	text-decoration: none;
	text-align: center;
	background-color: var(--tutor-green);
	border-radius: 10px;
}

footer .footer-content .social-links a img {
	width: 80px;
}

footer .footer-copyright {
	background-color: rgba(0, 0, 0, 61%);
	color: #fff;
	height: 80px;
}

footer .footer-copyright .back-top-btn {
	width: 80px;
	aspect-ratio: 1;
	background-color: var(--tutor-orange-light);
	background-image: url(/wp-content/themes/tutor_ntz/assets/images/back-top-icon.png);
	background-size: 50%;
	background-position: center;
	background-repeat: no-repeat;
	border: none;
	border-radius: 10px;
	position: absolute;
	top: 0;
	right: 0;
	transform: translateY(-50%);
	z-index: 111;
	cursor: pointer;
}

.policy-frame-container {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	background-color: #0006;
	z-index: 9999;
	display: flex;
	justify-content: center;
	align-items: center;
}

.policy-frame-container > .iframe {
	width: 600px;
	max-width: 90%;
	max-height: 90%;
	aspect-ratio: 3/4;
	position: relative;
}

.policy-frame-container > .iframe > .close-policy {
	position: absolute;
	width: 3em;
	height: 3em;
	top: -1.5em;
	right: -1.5em;
	border-radius: 100%;
	background-color: #ffffff;
	box-shadow: -3px 3px 6px rgba(0, 0, 0, .2);
	background-image: url(/wp-content/themes/tutor_ntz/assets/images/close-policy.png);
	background-size: 40%;
	background-position: center;
	background-repeat: no-repeat;
	cursor: pointer;
}



.policy-frame-container > .iframe > iframe {
	width: 100%;
	height: 100%;
}

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


/* UPDATE: Campagne Donazioni */

.campaign-archive {
	display: flex;
	column-gap: 3em;
	row-gap: 1em;
	flex-wrap: wrap;
	padding-bottom: 2.5em;
	margin-top: 2em;
}

.campaign-element {
	display: flex;
	flex-direction: column;
	width: calc(33.3% - 3em);
	border-radius: 10px;
	box-shadow: 3px 3px 6px rgba(0, 0, 0, .2);
	overflow: hidden;
}


.campaign-element .campaign-thumbnail {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
}

.campaign-element .campaign-info {
	padding: 1em;
	display: flex;
	flex-direction: column;
	gap: .5em;
	flex: 1;
}

.campaign-element .campaign-info p {
	margin: 0;
	padding: 0;
}

.campaign-element .campaign-info .campaign-name {
	color: var(--tutor-green);
	font-weight: 600;
	font-size: 24px;
	padding-bottom: 1rem;
	flex-grow: 1;
}

.campaign-element .campaign-info .campaign-description {
	color: #666;
	font-size: 14px;
}

.campaign-element .campaign-info .campaign-link {
	color: white;
	text-decoration: none;
	border-radius: 10px;
	width: 100%;
	text-align: center;
	padding: .2em 0 .4em;
}

.campaign-element .campaign-info .campaign-link.campaign-page-link {
	background-color: var(--tutor-orange-light);
}
.campaign-element .campaign-info .campaign-link.campaign-donation-link {
	background-color: var(--tutor-green);
}

.campaign-mail-container {
	margin: 1em 0;
}

.campaign-mail-container p {
	margin: 0;
	padding-bottom: 1em;
}

.campaign-mail-container .campaign-mail-btn {
	background-color: var(--tutor-orange-light);
	color: #fff !important;
	text-decoration: none;
	border-radius: 10px;
	padding: .5em 1.5em;
	display: inline-block;
}

.campaign-pagination {
	display: flex;
	justify-content: center;
	padding-bottom: 1em;
}

.campaign-pagination * {
	padding: 0 .3em;
}

.campaign-pagination a {
	text-decoration: none;
	color: var(--tutor-text);
}

.campaign-pagination span.current {
	color: var(--tutor-orange-light);
}

.donation-campaign-name {
	color: var(--tutor-green);
	font-size: 24px;
	margin: 0;
}

.back-to-campaigns {
	text-decoration: none;
	color: var(--tutor-orange-light);
	display: flex;
	gap: .2em;
	align-items: center;
}

.back-to-campaigns > span {
	font-size: 16px;
}

.back-to-campaigns > img {
	height: 1em;
}


.campaign-single-title {
	color: var(--tutor-green);
	margin: 0;
	padding-top: 1em;
}

.donation-link {
	background-color: var(--tutor-green);
	color: #fff !important;
	text-decoration: none;
	border-radius: 10px;
	padding: .2em 3em;
	display: inline-block;
	margin-top: .5em;
	font-size: 24px;
}

/* END UPDATE */


@media screen and (max-width: 1400px) {
	header * {
		font-size: 14px;
	}
	header .site-nav .custom-logo-link {
		max-width: 120px;
	}

	.eb-slider-title {
		font-size: 50px !important;
	}

	.eb-slider-subtitle {
		font-size: 30px;
		margin: .5em 0 !important;
	}

	.eb-slider-subtitle::before {
		top: -.5em;
	}

}

@media screen and (max-width: 1200px) {
	header .site-nav .menu {
		padding-right: .5em;
		padding-left: .8em;
	}
	header .site-extra-links > * {
		padding: 0 .5rem;
	}
	header .site-nav .show-search {
		padding: 0 .5rem;
	}
	header .site-nav .menu > .menu-item {
		padding: 0 .75rem;
	}
	header .site-nav .show-search, header .link-icon {
		width: 20px;
	}
	header .site-extra-links > * {
		gap: .5rem;
	}
	.fc-event::after {
		top: unset;
		bottom: .5em;
	}
	.event-filter label,
	.type-filter label {
		font-size: 16px;
	}

	.calendar-filter .event-filter::before,
	.calendar-filter input[type="checkbox"],
	.event-type-filter .type-filter::before,
	.event-type-filter input[type="checkbox"] {
		width: 1.2em;
		height: 1.2em;
		outline: none;
	}

	.eb-slider-title {
		font-size: 40px !important;
	}

	.eb-slider-subtitle {
		font-size: 20px !important;
	}

	.eb-slider-subtitle::before {
		top: -.5em;
	}

	.eb-slider-button {
		font-size: 18px;
		padding: .5em 1em !important;
	}

	.custom-radio-btn input[type="radio"] ~ span {
		width: 12em;
	}

	.donation-controller .donation-amount,
	.donation-controller .donation-type {
		font-size: 18px ;
	}
}


@media screen and (max-width: 992px) {
	.wp-block-column:has(> .calendar-container),
	.wp-block-column:has(> .calendar-container) ~ .wp-block-column {
		flex-basis: 100% !important;
		flex-shrink: 0 !important;
	}

	.wp-block-columns:has(.calendar-container) {
		flex-wrap: wrap !important;
	}

	header .site-nav .show-search {
		order: 1;
		border: none;
		border-right: 1px solid #fff;
		margin-right: .5rem;
	}

	header .site-nav .menu-btn {
		display: inline;
		order: 2;
		cursor: pointer;
	}
	
	header .site-nav div:has(> .menu) {
		order: 3;
		position: absolute;
		right: 0;
		top: 0;
		width: 0;
		height: 100vh;
		background-color: var(--tutor-orange-light);
		z-index: 9999;
	}

	header .site-nav:has(.menu-open) .close-menu {
		position: absolute;
		right: 5vw;
		top: 1em;
		z-index: 99999;
		font-size: 1.8em;
		color: #fff;
		cursor: pointer;
	}

	header .site-nav .menu-main-menu-container {
		transition: width .3s;
	}

	header .site-nav div.menu-open {
		width: 100%;
	}

	header .site-nav .menu {
		opacity: 0;
		transition: opacity .3s .3s;
	}

	header .site-nav div.menu-open .menu {
		opacity: 1;
	}

	header .site-nav .menu {
		padding: 5em 5vw;
	}

	header .site-nav .menu * {
		font-size: 18px;
	}

	header .site-nav .menu > .menu-item {
		display: list-item;
		height: auto;
	}

	header .site-nav .menu > .menu-item.menu-item-has-children > a {
		position: relative;
	}
	
	header .site-nav .menu > .menu-item.menu-item-has-children > a::after {
		position: absolute;
		top: 50%;
		right: 0;
		transform: translateY(-50%);
		filter: brightness(0) invert(1);
		content: '';
		height: 1.5em;
		width: .75em;
		background-image: url(/wp-content/themes/tutor_ntz/assets/images/submenu-icon.png);
		background-size: contain;
		background-position: center;
		background-repeat: no-repeat;
		margin-right: .5em;
		transition: transform .3s;
	}

	header .site-nav .menu > .menu-item.menu-item-has-children > a.active-menu-item::after {
		transform: translateY(-50%) rotate(90deg);
	}

	header .site-nav .menu > .menu-item > a {
		padding: 1em 0;
		text-shadow: none !important;
	}

	header .site-nav .menu > .menu-item.current-menu-item > a, 
	header .site-nav .menu > .menu-item:has(.menu-item.current-menu-item:not(.menu-item-object-custom)) > a, 
	header.scroll .site-nav .menu > .menu-item:has(.menu-item.current-menu-item) > a {
		color: #fff;
		font-weight: 700;
	}

	header .site-nav .menu > .menu-item .sub-menu {
		position: static;
		border-left: none;
		border-right: none;
		border-bottom: 1px solid #fff;
	}
	header .site-nav .menu > .menu-item .sub-menu > li {
		background-color: transparent;
		border-top-color: #fff;
	}

	header .site-nav .menu > .menu-item .sub-menu > li > a {
		color: #fff;
		padding: .5em 0;
	}

	header .site-nav .menu > .menu-item > .sub-menu {
		width: auto;
	}

	header .site-nav .menu > .menu-item:hover > .sub-menu {
		display: none;
	}

	header .site-nav .menu > .menu-item .sub-menu > li {
		display: block;
	}

	header .site-nav .menu > .menu-item > .active-menu-item ~ .sub-menu {
		display: inline;
	}

	header .site-nav .menu .menu-item > .active-menu-item ~ .sub-menu li {
		margin-left: 1.5em;
		padding-left: .5em;
		width: calc(100% - 2em);
	}

	header .site-nav .menu > .menu-item > .sub-menu > li.menu-item-has-children::after {
		filter: brightness(0) invert(1);
		position: absolute;
		top: .4em;
		right: 0;
		transition: transform .3s;
	}

	header .site-nav .menu > .menu-item .sub-menu > li > .active-menu-item,
	header .site-nav .menu > .menu-item .sub-menu > li:hover  {
		background-color: unset;
	}

	header .site-nav .menu > .menu-item > .sub-menu > li.menu-item-has-children:has(> .active-menu-item)::after {
		transform: rotate(90deg);
	}

	header .site-nav .menu > .menu-item .sub-menu > li:hover > a {
		color: #fff;
	}

	header .site-nav .menu > .menu-item > .sub-menu > li:hover > .sub-menu {
		display: none;
	}

	header .site-nav .menu > .menu-item > .sub-menu > li > .active-menu-item ~ .sub-menu {
		display: inline-block;
		width: 100%;
		border-bottom: none;
		padding-left: 0;
	}

	header.scroll .menu * {
		color: #fff !important;
	}

	.search-container .search  {
		width: 100%;
		padding: .7em 1.2em;
	}

	.search-container .search .search-value {
		width: 100%;
		font-size: 25px;
	}

	.search .search-container .search-btn img {
		width: 30px;
	}

	.search-container .close-search {
		width: 50px;
		font-size: 25px;
	}
	
	.eb-slider-title {
		font-size: 34px !important;
	}

	.eb-slider-subtitle {
		font-size: 18px !important;
		padding: 1em 0;
	}

	.eb-slider-subtitle::before {
		height: 1px;
	}


	.slick-dots {
		bottom: 50px !important;
	}

	.slick-slider::after {
		width: 20px;
		height: 40px;
	}

	.eb-slider-button {
		font-size: 16px;
		padding: .5em 1em !important;
	}

	.title-banner {
		min-height: 400px;
	}

	.title-banner h1 {
		font-size: 50px;
	}

	.section-title {
		font-size: 45px;
		padding: 0 .5em;
	}

	.section-title *, .news-title {
		font-size: 45px;
	}

	.section-title::before,
	.section-title::after {
		width: 50px;
	}

	div:has( > .section-title) {
		max-width: calc(100% - 100px - 2em);
	}

	main * {
		font-size: 18px;
	}

	.wp-block-button__link {
		font-size: 18px !important;
	} 

	.center-filter .center-select , 
	.studies-filter .study-select {
		width: 100%;
	}

	.center-filter .center-select > select, 
	.studies-filter .study-select > select {
		min-width: unset;
		width: 100%;
	}

	.news-archive {
		column-gap: calc((100% - 90%));
	}

	.news-element {
		width: 45%;
	}

	.custom-checkbox > span, .custom-radio-btn > span {
		margin: .5em .5em .5em 0;
	}


	footer .footer-shortcuts {
		height: auto;
	}

	footer .footer-shortcuts .shortcut {
		width: 100%;
		height: 200px;
	}
	
	footer .footer-shortcuts .shortcut .shortcut-link {
		font-size: 30px;
	}

	footer .footer-content .custom-logo {
		width: 150px;
	}

	footer .footer-content .footer-contact {
		width: 50%;
	}

	footer .footer-content .social-links a img {
		width: 50px;
	}

	/* UPDATE: Campagne Donazioni */

	.campaign-archive .campaign-element {
		width: calc(50% - 1.5em);
	}

	/* END UPDATE */
}

@media screen and (max-width: 768px) {
	.container {
		box-sizing: border-box;
	}
	header .site-extra-links .donate-link span,
	header .site-extra-links .member-link span {
		padding: .2em .5em;
	}

	header .site-nav .menu * {
		font-size: 14px;
	}

	header .site-extra-links > div > a {
		margin: 0;
	}

	header .site-extra-links > .calendar-link > span {
		display: none;
	}

	header .site-nav {
		height: auto;
		padding: 1em 0;
	}

	.navigation-controls {
		bottom: 3.5em;
		padding: 0 1em 3.5em;
	}

	.title-banner {
		min-height: 400px;
	}

	.title-banner.donation-banner {
		min-height: 900px;
	}

	.title-banner.donation-banner .donation-type,
	.title-banner.donation-banner .donation-amount {
		padding: .5em .2em;
	}

	.title-banner h1 {
		font-size: 30px;
	}

	.section-title, .section-title *, .news-title {
		font-size: 30px;
	}

	.section-title br {
		display: none;
	}

	.slick-arrow.slick-next {
		transform: translateX(7.5vw);
	}

	.slick-arrow.slick-prev {
		transform: translateX(-7.5vw);
	}

	.slick-arrow > i {
		font-size: 40px !important;
	}

	.slick-list {
		min-height: 400px;
	}

	.slick-list .slick-track,
	.slick-track .eb-slider-item,
	.slick-track .eb-slider-item > div,
	.slick-track .eb-slider-item > div > a {
		height: 100%;
	}

	.slick-track .eb-slider-item > div > a > .eb-slider-image {
		height: 100%;
		object-position: center;
	}

	.eb-slider-title {
		padding-bottom: .5em;
	}

	.slick-dots > li,
	.slick-dots > li > button::before {
		width: 30px !important;
	}

	main h2, main h2 * {
		font-size: 26px;
	}

	main h3, main h3 * {
		font-size: 22px;
	}

	.eb-accordion-title, .eb-accordion-title * {
		font-size: 22px !important;
	}

	main * {
		font-size: 16px;
	}

	.wp-block-button__link {
		font-size: 16px !important;
	}

	.calendar-filter, .event-type-filter > div {
		flex-direction: column;
	}

	.fc-event {
		aspect-ratio: 1;
	}

	.fc-event .fc-event-title {
		font-size: 0px;
	}

	.fc-event .fc-event-title::first-letter {
		font-size: 18px;
	}
	

	.center-list .center-element .center-location {
		font-size: 20px;
	}
	

	.center-list .center-element .center-reference .name,
	.center-list .center-element .center-reference .contact {
		font-size: 18px;
	}

	.person-pic {
		max-width: 50% !important;
	}

	body .is-layout-grid {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}

	.grid-2 > div {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.grid-list-element {
		margin-top: 1.5em !important;
	}

	.news-categories::-webkit-scrollbar {
		height: 3px;
	}

	.news-categories::-webkit-scrollbar-track {
		background-color: #bbb;
		border-radius: 1px;
	}

	.news-categories::-webkit-scrollbar-thumb {
		background-color: var(--tutor-green);
		border-radius: 5px;
	}

	.categories-container {
		width: 100%;
		position: relative;
		box-sizing: content-box;
	}

	.news-categories {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: .5em;
		margin-bottom: 1em;
		gap: 1em;
		justify-content: start;
	}

	.categories-container > .scroll-indicator {
		position: absolute;
		right: 0;
		top: 50%;
		transform: translateY(-50%);
		height: 100%;
		background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%);
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: end;
		transition: opacity .3s ease-out;
	}

	.categories-container > .news-categories.full-scroll ~ .scroll-indicator {
		opacity: 0;
	}

	.categories-container > .scroll-indicator > img {
		width: 1em;
		padding-bottom: .4em;
	}

	.news-categories > .news-category {
		border: none;
		border-radius: 0;
		box-shadow: none;
		min-width: unset;
		flex-shrink: 0;
	}

	.news-categories > .news-category:hover {
		transform: unset;
		color: var(--tutor-orange-light);
		background-color: #ffffff;
	}

	.news-categories > .news-category.active-category {
		background-color: #ffffff;
		color: var(--tutor-orange-light);
		font-weight: 600;
		border-bottom: 3px solid var(--tutor-orange-light);
	}

	.news-archive {
		column-gap: 0;
	}

	.news-element.full {
		flex-wrap: wrap;
	}

	.news-element.full > .news-image {
		width: 100%;
		height: 250px;
	}

	.news-element {
		width: 100%;
	}

	.news-pagination * {
		font-size: 24px !important;
	}

	.news-pagination .page-numbers:not(.prev, .next, .current){
		display: none;
	}

	.custom-radio-btn > .wpcf7-list-item,
	p:has(> span[data-name="donation-type"]) {
		width: 100%;
	}
	
	.custom-radio-btn input[type="radio"] ~ span {
		width: 100%;
	}
	
	.custom-radio-btn > span {
		margin: .5em 0;
	}

	#donation-amount > span:not(.has-free-text) {
		width: 30%;
		margin: 0;
	}
	#donation-amount > span:not(.has-free-text, .first) {
		margin-left: calc((100% - 90%) / 2);
	}

	#donation-amount > .has-free-text {
		width: 100%;
		margin-top: 1em;
	}

	#donation-amount > .has-free-text > input{
		box-sizing: border-box;
		width: calc(100% - 2em);
	}

	.custom-checkbox input[type="checkbox"] ~ span {
		width: 100%;
	}

	.wpcf7-form.sent .wpcf7-response-output::before {
		width: 2em;
	}

	.search-section {
		width: 100%;
	}

	.search-section .search-value {
		width: 100%;	
	}

	footer .footer-copyright .back-top-btn {
		width: 40px;
		right: 1em;
	}

	footer .footer-shortcuts .shortcut .shortcut-link {
		font-size: 25px;
	}

	footer .footer-content .footer-message {
		border: none;
	}

	footer .footer-content > div {
		flex-wrap: wrap;
	}

	/* UPDATE: Campagne Donazioni */

	.campaign-archive .campaign-element {
		width: 100%;
	}

	/* END UPDATE */
}

@media screen and (max-width: 576px) {
	.section-title::before,
	.section-title::after {
		display: none;
	}

	.title-banner.short-banner {
		align-items: center;
	}

	div:has( > .section-title) {
		max-width: 100%;
	}

	.eb-slider-subtitle {
		padding: 1em 2em;
	}

	.eb-slider-subtitle > br {
		display: none;
	}
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}
