// Questo file fa parte di MyTown.
// MyTown è software libero: puoi ridistribuirlo e/o modificarlo secondo
// i termini della GNU Affero General Public License come pubblicata dalla
// Free Software Foundation, versione 3.
// Distribuito senza ALCUNA GARANZIA; vedi la GNU AGPL v3 per i dettagli.
// Copyright (C) Kondor Consulting & Services S.r.l.
// SPDX-License-Identifier: AGPL-3.0-or-later

.form-calendar {
	margin-top: 10px;
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
}

.calendar-date-input {
	max-width: 95%;
}

.calendar-date-icon {
	cursor: pointer;
}

ion-item {
	position: relative;
	z-index: 1;
}

ion-list.suggestion-list {
	position: relative;
	left: 0;
	right: 0;
	background: var(--ion-color-light);
	border: 1px solid var(--ion-color-medium);
	z-index: 1000;
	max-height: 200px;
	overflow-y: auto;
	padding-top: 0px;
	padding-bottom: 0px;
}

ion-item[suggestion-item] {
	cursor: pointer;
}

ion-item[suggestion-item]:hover,
ion-item[suggestion-item].focused {
	--background: var(--ion-color-light);
}

ion-item[suggestion-item].focused {
	--background: var(--ion-color-secondary);
	color: var(--ion-color-light);
}
