/* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}*/

.titolo_corse_AG {
	margin-left: 0px;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 2px;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #669933;
	color: #fff;
	font-size: 1.05rem;
	font-weight: 400;
	text-align: center;
}

#agenda {
	font-family: 'Roboto', sans-serif;
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	padding: 0px;
}

/*.agenda-mesi {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	align-items: center;
	gap: 6px;
	margin-bottom: 5px;
	padding-bottom: 6px;
	border-bottom: none;
}

.agenda-mesi::after {
	content: "";
	position: absolute;
	left: 0%;
	right: 0%;
	bottom: 0;
	border-bottom: 1px solid #669933;
}*/

.agenda-mesi {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 0;
	margin-bottom: 5px;
	border-bottom: 1px solid #669933;
}

.agenda-mese {
	min-width: 0;
	width: auto;
	justify-self: center;
	padding: 10px 4px;
	border: 0;
	background: transparent;
	font: inherit;
	text-align: center;
	white-space: nowrap;
	color: #194000;
}

.agenda-mese-corrente {
	font-size: 1.05rem;
	font-weight: 600;
	font-family: 'Montserrat';
	/*border: 1px solid red;*/
}

.agenda-mese-laterale {
	cursor: pointer;
	font-size: 1rem;
	font-weight: 500;
	color: #669933;
	font-family: 'Montserrat';
	/*border: 1px solid red;*/
}

.agenda-calendario {
	width: 100%;
}

.agenda-settimana,
.agenda-giorni {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.agenda-intestazione-giorno {
	padding: 7px 0;
	font-size: 0.95rem;
	font-weight: 600;
	text-align: center;
	color: #194000;
}

.agenda-giorno {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1 / 0.9;
	margin: 0;
	padding: 0;
	border: 1px solid transparent;
	background: #ffffff;
	color: #333;
	font: inherit;
	cursor: pointer;
}

.agenda-giorno-esterno {
	background: #f7f7f7;
	color: #aaaaaa;
}

.agenda-giorno-oggi {
	font-weight: 700;
}

.agenda-giorno-selezionato {
	font-weight: 700;
    border: 2px solid #669933;
    color: #194000;
}

.agenda-numero-giorno {
	font-size: clamp(1.1rem, 4vw, 1.25rem);
	line-height: 1;
}

.agenda-giorno-oggi:not(.agenda-giorno-selezionato) .agenda-numero-giorno {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.85rem;
	height: 1.85rem;
	border-radius: 50%;
	background: #669933;
	color: #ffffff;
}

.agenda-pallino {
	position: absolute;
	width: clamp(7px, 2.2vw, 10px);
	height: clamp(7px, 2.2vw, 10px);
	border-radius: 50%;
}

.agenda-pallino-gp {
	top: 10%;
	right: 10%;
	background: #4ba3d3;
}

.agenda-pallino-tqq {
	bottom: 10%;
	left: 10%;
	background: #e58a2b;
}

.agenda-dettaglio {
	font-family: 'Montserrat';
	width: 100%;
	margin-top: 20px;
	margin-bottom: 20px;
}

/*@media (max-width: 420px) {
	#agenda {
		padding: 8px;
	}

	.agenda-mesi {
		gap: 2px;
	}

	.agenda-mese {
		padding-right: 2px;
		padding-left: 2px;
	}

	.agenda-mese-laterale {
		font-size: 0.85rem;
	}

	.agenda-mese-corrente {
		font-size: 1.10rem;
	}
}*/

.agenda-dettaglio-intestazione {
	padding: 0;
	/*padding: 4px 0 10px;
	border-bottom: 1px solid #dddddd;*/
}

/*.agenda-dettaglio-titolo {
	margin-left: 0px;
	margin-top: 10px;
	margin-right: 0px;
	margin-bottom: 2px;
	padding-left: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: #669933;
	color: #fff;
	font-size: 1.05rem;
	font-weight: 400;
	text-align: left;
}*/

.agenda-dettaglio-data {
	margin-bottom: 2px;
	/*padding-left: 10px;*/
	padding-top: 8px;
	padding-bottom: 8px;
	border: 1px solid #b4d6aa;
	background-color: #b4d6aa;
	color: #194900;
	font-weight: 500;
	font-size: 0.95rem;
	text-align: center;
}

.agenda-riunione-white, .agenda-riunione-grey {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	position: relative;
	min-height: 50px;
	padding: 9px 10px 9px 15px;
	font-size: 0.95rem;
	font-weight: 600;
	color: #333;
}

.agenda-riunione-grey {
	background-color: #f9f9f9;
}

.agenda-riunione-white:hover, .agenda-riunione-grey:hover {
	background-color: #547e2a;
 	color: white;
}

.agenda-riunione-white::after, .agenda-riunione-grey::after {
	content: "\276F";
	width: 1em;
	height: 1em;
	position: absolute;
	top: 35%;
	left: 90%;
	color: green;
}

.agenda-riunione-white:hover:after, .agenda-riunione-grey:hover:after {
	color: white;
}

.agenda-riunione-contenuto {
	min-width: 0;
}

.agenda-riunione-ippodromo {
	/*font-size: 1rem;
	font-weight: 700;*/
}

.agenda-riunione-note,
.agenda-riunione-servizi {
	margin-top: 3px;
	line-height: 1.4;
}

.agenda-riunione-note {
	max-width: 85%;
	font-size: 0.80rem;
	font-weight: 400;
}

.agenda-riunione-servizi {
	font-size: 0.80rem;
	font-weight: 400;
}

/*.agenda-riunione-freccia {
	padding: 0 6px;
	font-size: 1.8rem;
	line-height: 1;
	color: #666666;
}*/

.agenda-link,
.agenda-link:link,
.agenda-link:visited,
.agenda-link:hover,
.agenda-link:active {
    text-decoration: none;
    color: inherit;
	outline: none;
	box-shadow: none;
}

.agenda-dettaglio-messaggio {
	padding: 18px 2px;
	font-size: 0.92rem;
}

.agenda-dettaglio-errore {
	font-weight: 700;
}
