/* Porte Aperte Estate FE UNICAM: chrome Event (hero, carosello, tabella ricevimenti). */

.unicam-porte-aperte-intro {
	color: #085294;
	font-size: 1.05rem;
	line-height: 1.65;
}

.unicam-porte-aperte-intro p,
.unicam-porte-aperte-intro ul,
.unicam-porte-aperte-intro ol {
	margin-bottom: 0.75rem;
}

.unicam-porte-aperte-intro ul,
.unicam-porte-aperte-intro ol {
	padding-left: 1.4rem;
}

.unicam-porte-aperte-intro mark {
	background: #ff0;
	color: inherit;
	padding: 0 0.1em;
}

.unicam-porte-aperte-intro a {
	color: #085294;
	font-weight: 700;
	text-decoration: underline;
}

.unicam-porte-aperte-locandina {
	max-width: 100%;
	height: auto;
	border-radius: 0.5rem;
}

.unicam-porte-aperte-testo {
	font-size: 1.05rem;
	line-height: 1.7;
	white-space: pre-line;
}

#carouselExample {
	position: relative;
}

#carouselExample .carousel-item .row {
	margin-left: -8px;
	margin-right: -8px;
}

#carouselExample .carousel-item [class*="col-"] {
	padding-left: 8px;
	padding-right: 8px;
}

.porte-aperte-carousel-link {
	display: block;
	cursor: zoom-in;
}

.porte-aperte-carousel-link:hover img {
	opacity: 0.92;
}

#carouselExample .carousel-item img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	object-position: center;
	display: block;
}

@media (max-width: 767px) {
	#carouselExample .carousel-item img {
		height: 180px;
	}
}

#carouselExample .porte-aperte-carousel-control {
	width: 52px;
	height: 52px;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 51, 102, 0.92);
	border-radius: 50%;
	opacity: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 24px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	z-index: 5;
}

#carouselExample .porte-aperte-carousel-control:hover {
	background: rgba(0, 51, 102, 1);
	color: #fff;
}

#carouselExample .carousel-control-prev.porte-aperte-carousel-control {
	left: 16px;
}

#carouselExample .carousel-control-next.porte-aperte-carousel-control {
	right: 16px;
}

.porte-aperte-carousel-divider {
	height: 8px;
	background: linear-gradient(90deg, #003366 0%, #FF6666 100%);
	margin: 0;
}

.porte-aperte-carousel-section {
	padding-top: 10px;
	padding-bottom: 10px;
}

.section-banner.section-banner-bg:before {
	content: "";
	position: absolute;
	bottom: 10px;
	left: 0;
	width: 100%;
	height: 100%;
	background: url('https://www.unicam.it/themes/custom/italiagov/unicam/img/scritta-full.png') -80px 100% no-repeat;
	opacity: .3;
	pointer-events: none;
	z-index: 1;
}

.section-benvenuto {
	padding-top: 30px;
	padding-bottom: 30px;
}

.section-banner {
	padding-top: 60px;
	padding-bottom: 60px;
}

.section-banner.section-banner-bg {
	position: relative;
	overflow: hidden;
}

.section-benvenuto.section-bg-before:before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: url('https://www.unicam.it/themes/custom/italiagov/unicam/img/stemma.jpg') no-repeat right center;
	background-size: auto 80%;
	opacity: .3;
	pointer-events: none;
	z-index: 1;
}

.section-benvenuto.section-bg-before {
	position: relative;
	overflow: hidden;
}

.swal2-confirm:focus,
.swal2-deny:focus,
.swal2-cancel:focus {
	outline: none !important;
	box-shadow: none !important;
}

.ricevimenti-sezione {
	position: relative;
	z-index: 2;
}

.ricevimenti-sezione-top {
	margin-bottom: 20px;
}

.ricevimenti-sezione-titolo h2 {
	color: #003366;
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 6px;
}

.ricevimenti-sezione-titolo p {
	color: #555;
	margin-bottom: 0;
}

.ricevimenti-filtri-card {
	background: rgba(255, 255, 255, 0.97);
	border: 1px solid rgba(0, 51, 102, 0.12);
	border-radius: 10px;
	padding: 16px 18px;
	margin-top: 18px;
	box-shadow: 0 4px 16px rgba(0, 51, 102, 0.06);
}

.ricevimenti-filtri {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2.2fr);
	gap: 14px 18px;
	width: 100%;
}

.ricevimenti-filtro {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 6px;
	min-width: 0;
}

.ricevimenti-filtro label {
	font-size: 11px;
	font-weight: 700;
	color: #003366;
	margin-bottom: 0;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.ricevimenti-filtro select,
.ricevimenti-filtro input[type="text"] {
	width: 100%;
	min-width: 0;
	border: 1px solid rgba(0, 51, 102, 0.22);
	border-radius: 8px;
	height: 42px;
	box-shadow: none;
	background-color: #fff;
	font-size: 14px;
	padding: 6px 12px;
}

.ricevimenti-filtro select:focus,
.ricevimenti-filtro input[type="text"]:focus {
	border-color: #003366;
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.12);
}

.ricevimenti-filtro-data-wrap {
	display: flex;
	gap: 8px;
	align-items: stretch;
}

.ricevimenti-filtro-data-wrap input[type="text"] {
	cursor: pointer;
	background: #fff;
}

.ricevimenti-filtro-data-reset {
	height: 42px;
	padding: 0 12px;
	border: 1px solid rgba(0, 51, 102, 0.22);
	border-radius: 8px;
	background: #f8f9fa;
	color: #003366;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.ricevimenti-filtro-data-reset:hover,
.ricevimenti-filtro-data-reset:focus {
	background: #eef4fb;
	outline: none;
}

.ricevimenti-filtro .chosen-container {
	width: 100% !important;
	font-size: 14px;
}

.ricevimenti-filtro .chosen-container-single .chosen-single {
	height: 42px;
	line-height: 40px;
	border: 1px solid rgba(0, 51, 102, 0.22);
	border-radius: 8px;
	background: #fff;
	box-shadow: none;
	color: #333;
}

.ricevimenti-filtro .chosen-container-single .chosen-single div {
	top: 8px;
}

.ricevimenti-risultati-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 16px 0;
	padding: 14px 18px;
	border: 1px solid rgba(0, 51, 102, 0.12);
	border-left: 4px solid #003366;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.97);
	color: #003366;
	box-shadow: 0 4px 16px rgba(0, 51, 102, 0.06);
	font-weight: 600;
}

.ricevimenti-risultati-banner small {
	color: #666;
	font-weight: 400;
}

.ricevimenti-vuoti {
	margin-top: 18px;
	padding: 2.5rem 1.5rem 2.75rem;
	text-align: center;
	background: #fff;
	border: 1px solid rgba(0, 51, 102, 0.12);
	border-top: 4px solid #003366;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 51, 102, 0.08);
}

.ricevimenti-vuoti i {
	display: block;
	margin-bottom: 0.85rem;
	font-size: 2.4rem;
	color: #003366;
}

.ricevimenti-vuoti h3 {
	margin: 0 0 0.5rem;
	color: #003366;
	font-size: 1.25rem;
	font-weight: 700;
}

.ricevimenti-vuoti p {
	margin: 0 auto 0.4rem;
	max-width: 36rem;
	color: #555;
	font-size: 1.02rem;
	font-weight: 400;
	line-height: 1.55;
}

.ricevimenti-vuoti p:last-of-type {
	margin-bottom: 1.35rem;
}

.ricevimenti-vuoti-btn {
	display: inline-block;
	color: #fff;
	background: #003366;
	border-radius: 30px;
	padding: 10px 22px;
	font-weight: 600;
	font-size: 0.92rem;
	text-decoration: none;
}

.ricevimenti-vuoti-btn:hover,
.ricevimenti-vuoti-btn:focus {
	color: #fff;
	background: #00264d;
	text-decoration: none;
}

.tabella-ricevimenti-wrap {
	background: #fff;
	border-radius: 12px;
	border: 1px solid rgba(0, 51, 102, 0.1);
	box-shadow: 0 8px 30px rgba(0, 51, 102, 0.08);
	overflow: hidden;
}

.tabella-ricevimenti-wrap .table-responsive {
	overflow-x: hidden;
}

#tabellaRicevimentiPubblica {
	table-layout: fixed;
	width: 100%;
	margin-bottom: 0;
	font-size: 14px;
}

#tabellaRicevimentiPubblica thead th {
	background: linear-gradient(90deg, #003366 0%, #004080 100%);
	color: #fff;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	border: none;
	padding: 14px 10px;
	vertical-align: middle;
}

#tabellaRicevimentiPubblica tbody td {
	padding: 12px 10px;
	vertical-align: middle;
	border-color: rgba(0, 51, 102, 0.08);
	word-wrap: break-word;
	overflow-wrap: break-word;
}

#tabellaRicevimentiPubblica tbody tr:hover {
	background-color: rgba(0, 51, 102, 0.03);
}

#tabellaRicevimentiPubblica .col-giorno {
	width: 8%;
	white-space: nowrap;
	text-align: center;
}

#tabellaRicevimentiPubblica .col-orario {
	width: 9%;
	white-space: nowrap;
	text-align: center;
	line-height: 1.35;
}

#tabellaRicevimentiPubblica .col-corso {
	width: 22%;
}

#tabellaRicevimentiPubblica .col-docente {
	width: 14%;
}

#tabellaRicevimentiPubblica .col-tipologia {
	width: 35%;
	vertical-align: top !important;
}

#tabellaRicevimentiPubblica thead th.col-tipologia {
	white-space: nowrap;
	font-size: 11px;
	letter-spacing: 0.02em;
}

#tabellaRicevimentiPubblica .col-prenota {
	width: 12%;
	text-align: center;
}

#tabellaRicevimentiPubblica .tipologia-fisico,
#tabellaRicevimentiPubblica .tipologia-virtuale {
	display: block;
	font-size: inherit;
	font-family: inherit;
	line-height: 1.45;
	margin-bottom: 10px;
}

#tabellaRicevimentiPubblica .tipologia-fisico:last-child,
#tabellaRicevimentiPubblica .tipologia-virtuale:last-child {
	margin-bottom: 0;
}

#tabellaRicevimentiPubblica .tipologia-label {
	display: block;
	font-weight: 600;
	font-family: inherit;
	color: inherit;
	margin-bottom: 2px;
	white-space: nowrap;
}

#tabellaRicevimentiPubblica .tipologia-valore {
	display: block;
	font-weight: 400;
	word-break: break-word;
	overflow-wrap: anywhere;
	padding-left: 0;
}

#tabellaRicevimentiPubblica .btn-prenota {
	min-width: 95px;
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 600;
	border-radius: 6px;
	background-color: #28a745;
	border-color: #28a745;
}

#tabellaRicevimentiPubblica .btn-prenotato {
	min-width: 95px;
	padding: 6px 10px;
	font-size: 12px;
	border-radius: 6px;
}

#tabellaRicevimentiPubblica .btn-prenotazioni-chiuse {
	min-width: 95px;
	padding: 6px 10px;
	font-size: 12px;
	border-radius: 6px;
	white-space: normal;
}

#tabellaRicevimentiPubblica .link-url-breve {
	display: none;
}

.swal2-popup {
	border-radius: 10px;
	font-family: inherit;
}

.swal2-popup .swal2-title {
	color: #003366;
	font-weight: 700;
	font-size: 22px;
}

.swal2-popup .swal2-html-container,
.swal2-popup .swal2-content {
	color: #444;
	font-size: 15px;
	line-height: 1.5;
}

.swal2-popup .swal2-confirm {
	border-radius: 6px !important;
	font-weight: 600;
	padding: 10px 28px !important;
}

.swal2-popup .swal2-cancel {
	border-radius: 6px !important;
	font-weight: 600;
}

@media (max-width: 991.98px) {
	.ricevimenti-filtri {
		grid-template-columns: 1fr 1fr;
	}
	.ricevimenti-filtro--corso {
		grid-column: 1 / -1;
	}
}

@media (max-width: 767.98px) {
	.ricevimenti-filtri {
		grid-template-columns: 1fr;
	}
	.ricevimenti-filtro--corso {
		grid-column: auto;
	}
	.ricevimenti-filtri-card {
		padding: 14px;
	}
	.tabella-ricevimenti-wrap {
		background: transparent;
		border: none;
		box-shadow: none;
	}
	.tabella-ricevimenti-wrap .table-responsive {
		overflow-x: visible;
	}
	#tabellaRicevimentiPubblica {
		table-layout: auto;
	}
	#tabellaRicevimentiPubblica thead {
		display: none;
	}
	#tabellaRicevimentiPubblica tbody {
		display: block;
	}
	#tabellaRicevimentiPubblica tbody tr {
		display: flex;
		flex-wrap: wrap;
		margin-bottom: 14px;
		padding: 14px 16px;
		background: #fff;
		border: 1px solid rgba(0, 51, 102, 0.12);
		border-top: 3px solid #003366;
		border-radius: 10px;
		box-shadow: 0 4px 14px rgba(0, 51, 102, 0.08);
		overflow: hidden;
	}
	#tabellaRicevimentiPubblica.table-striped tbody tr:nth-of-type(odd),
	#tabellaRicevimentiPubblica.table-striped tbody tr:nth-of-type(even),
	#tabellaRicevimentiPubblica tbody tr:hover {
		background-color: #fff;
	}
	#tabellaRicevimentiPubblica tbody td {
		display: block;
		width: 100% !important;
		padding: 6px 0;
		border: none;
		text-align: left !important;
		white-space: normal !important;
	}
	#tabellaRicevimentiPubblica tbody td::before {
		content: attr(data-label);
		display: block;
		font-size: 10px;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.05em;
		color: #003366;
		opacity: 0.85;
		margin-bottom: 3px;
	}
	#tabellaRicevimentiPubblica .col-corso {
		order: 1;
		width: 100% !important;
		font-size: 16px;
		font-weight: 700;
		color: #003366;
		line-height: 1.35;
		padding-bottom: 10px;
		margin-bottom: 4px;
		border-bottom: 1px solid rgba(0, 51, 102, 0.1);
	}
	#tabellaRicevimentiPubblica .col-corso::before {
		display: none;
	}
	#tabellaRicevimentiPubblica .col-giorno {
		order: 2;
		width: 49% !important;
	}
	#tabellaRicevimentiPubblica .col-orario {
		order: 3;
		width: 49% !important;
		text-align: right !important;
	}
	#tabellaRicevimentiPubblica .col-docente {
		order: 4;
		width: 100% !important;
		padding-top: 4px;
	}
	#tabellaRicevimentiPubblica .col-tipologia {
		order: 5;
		width: 100% !important;
		padding-top: 6px;
	}
	#tabellaRicevimentiPubblica .col-prenota {
		order: 6;
		width: 100% !important;
		padding-top: 12px;
		margin-top: 6px;
		border-top: 1px solid rgba(0, 51, 102, 0.1);
	}
	#tabellaRicevimentiPubblica .col-prenota::before {
		display: none;
	}
	#tabellaRicevimentiPubblica .btn-prenota,
	#tabellaRicevimentiPubblica .btn-prenotato {
		width: 100%;
		min-width: 0;
	}
	#tabellaRicevimentiPubblica .link-url-completo {
		display: none;
	}
	#tabellaRicevimentiPubblica .link-url-breve {
		display: inline;
	}
}
