



.dates-modal {
	display: none;
	position: fixed;
	z-index: 9999;
	padding-top: 80px;
	left: 0; top: 0;
	width: 100%; height: 100%;
	overflow: auto;
	background-color: rgba(0,0,0,0.6);
}
.dates-modal-content {
	background-color: #fff;
	margin: auto;
	padding: 20px;
	border-radius: 12px;
	width: 90%;
	max-width: 800px;
	position: relative;
}

.testo_popup_date {
	text-align: left;
    margin-bottom: 20px;
}


.info-header-popup_date {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
	    margin-top: 35px;
}

.filter-item {
    text-align: left;
}

.close-all {
	color: #aaa;
	position: absolute;
	top: 12px;
	right: 20px;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
}
.dates-list {
	display: flex;
	flex-direction: column;
	max-height: 70vh;
	overflow-y: auto;
	gap: 20px;
	padding: 20px 0;
}
.date-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #f7f7f7;
	border-radius: 10px;
	padding: 16px 24px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	flex-wrap: wrap;
	gap: 10px;
}
/*
.date-item > div {
	flex: 1;
	min-width: 120px;
}
*/
.btn-prenota {
	background-color: #00b38f;
	color: white;
	border: none;
	padding: 8px 16px;
	border-radius: 6px;
	text-decoration: none;
	white-space: nowrap;
}


/******/
/*
.open-modal-btn {
background-color: #f63631;
    color: #fff;
    font-weight: 700;

    letter-spacing: 0.5px;
    padding: 5px 20px;
    border: 1px solid #f63631;
    border-radius: 3px;
    font-size: 10px;
    cursor: pointer;
    width: auto;
    white-space: normal;
    margin-bottom: 15px; 
}
*/

.open-modal-btn { 
	background: #e53935;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    /* font-family: 'DM Sans', sans-serif; */
    font-size: 13px;
    font-weight: 400;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
}  
.open-modal-btn:hover { 
	background-color: #c62828;
	color: #fff;
}

.dates-modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0; top: 0;
	width: 100%; height: 100%;
	background-color: rgba(0,0,0,0.6);
	transition: opacity 0.3s ease;
}
.dates-modal.fade-in {
	animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
	from {opacity: 0;}
	to {opacity: 1;}
}
.dates-modal-content {
	background-color: #fff;
	margin: 80px auto;
	padding: 20px;
	border-radius: 12px;
	width: 90%;
	max-width: 800px;
	position: relative;
}
.close-btn {
	color: #aaa;
	position: absolute;
	top: 12px;
	right: 20px;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
}
.popup-title {
	font-size: 22px;
	margin-bottom: 20px;
	text-align: center;
	color: #1d1d37;
}

.data_partenza_popup {
padding: 0px 5px;

    color: var(--rosso);
    font-weight: 700;
}

.value_modal_date {
    margin-right: auto;
margin-bottom:0;
    width: 100%;

    text-align: center;
    width: fit-content;
    margin-right: auto;

}

hr {
    /* border: 10px; */
    border-top: 2px solid #D7DCE3 !important;
    margin: 15px 0 !important;
}    

#button_tour_program_popup {
    background-color: transparent;
    font-family: "Montserrat", Sans-serif;
    color: #1d1d37;
    font-weight: 400;
    width: 100%;
    text-transform: uppercase;
    padding: 9px 20px;
    border: 1px solid #1d1d37;
    border-radius: 3px;
    font-size: 13px;
    cursor: pointer;
    display: block;
    text-align: center;
    width: fit-content;
    margin-left: auto;
    margin-right: 25px;
}

#button_tour_program_popup:hover {
	transition:.5s;
	    background-color: #1d1d37;
		   border: 1px solid #1d1d37;
		   color: #fff;
	
}

@media screen and (max-width: 992px) {
#button_tour_program_popup {margin-top:20px;}
}


.dates-list {
	display: flex;
	flex-direction: column;
	max-height: 70vh;
	overflow-y: auto;
	gap: 20px;
}
.date-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #f7f7f7;
	border-radius: 10px;
	padding: 16px 24px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
	flex-wrap: wrap;
	gap: 10px;
}

.btn-prenota {
	background-color: #1d1d37;
	color: white;
	border: none;
	padding: 8px 16px;
	border-radius: 3px;
	text-decoration: none;
	white-space: nowrap;
}
.btn-prenota:hover {
	background-color: #fff;
	border: 1px solid #1d1d37;
	color: #1d1d37;
}


.badge {
	display: inline-block;
	margin-left: 8px;
	background: #dedede;
	color: #444;
	font-size: 12px;
	padding: 2px 6px;
	border-radius: 4px;
	vertical-align: middle;
}