#sdcalendar_category .event_title {
	font-size: 1.1em;
	color: #dc6147;	
}
#sdcalendar_category .sdcalendar_info {
	cursor: pointer;
	cursor: hand;	
}
#sdcalendar_category .no_events {
	text-align: center;
	font-weight: bold;
	margin: 40px;	
}

/* NAVIGAZIONE SUPERIORE */

.calendar_navigation table {
	margin: 10px auto 25px auto;
	padding: 0;	
	clear: both;
}
.calendar_navigation td {
	padding: 0 13px;
	font-size: 18px !important;
	vertical-align: middle;
	text-align: center;
}
.calendar_navigation .calendar_navigation_title {
	margin: 0;
	padding: 5px 0 0 0;
	font-size: 18px;
	text-transform: capitalize;
}
.calendar_navigation .calendar_navigation_current {
	margin: 0;
	padding: 0;
	font-size: 12px;
}
.calendar_navigation .calendar_navigation_current_disabled {
	margin: 0;
	padding: 0;
	font-size: 12px;
	color: #c9c7c7;
}

/* EVENTI GIORNALIERI */

#sdcalendar_category .time_hours {
	width: 60px;
	margin: 0 20px 0 0;
	padding: 10px;
	border: 1px solid #ccc;
	-moz-border-radius: 3px;
	border-radius: 3px;
	color: #F6F6F6;
	font-size: 16px;
	font-weight:bold;
	line-height: 100%;
	text-align: center;
	background: #DD654A;
}

/* EVENTI SETTIMANALI, MENSILI E ANNUALI */

#sdcalendar_category .event_second_column {
	padding-top: 5px;	
}
#sdcalendar_category .na {
	color: #c9c7c7;
}
#sdcalendar_category time.icon {
	width: 70px;
	height: 70px;
	display: block;
	position: relative;
	margin: 15px 20px 15px 8px;
	border-radius: 5px;
	background-color: #FFF;
	box-shadow: 0 1px 0 #bdbdbd, 0 2px 0 #fff, 0 3px 0 #bdbdbd, 0 4px 0 #fff, 0 5px 0 #bdbdbd, 0 0 0 1px #bdbdbd;
	overflow: hidden;
	-webkit-backface-visibility: hidden;
	-webkit-transform: rotate(0deg) skewY(0deg);
	-webkit-transform-origin: 50% 10%;
	transform-origin: 50% 10%;
}
#sdcalendar_category time.icon * {
	width: 100%;
	display: block;
	font-weight: bold;
	font-style: normal;
	text-align: center;
}
#sdcalendar_category time.icon strong {
	height: 24px;
	position: absolute;
	top: 0;
	border-bottom: 1px dashed #f37302;
	color: #FFF;
	font-size: 10px;
	line-height: 24px;
	background-color: #dc6147;
	box-shadow: 0 2px 0 #fd9f1b;
	text-transform: capitalize;
}
#sdcalendar_category time.icon em {
	position: absolute;
	bottom: 3px;
	font-size: 10px;
	line-height: 10px;
	color: #C74D4C;
	text-transform: capitalize;
}
#sdcalendar_category time.icon span {
	width: 100%;
	font-size: 24px;
	line-height: 24px;
	letter-spacing: -0.05em;
	padding-top: 32px;
	color: #2f2f2f;
}

/* CALENDARIO MENSILE */

#sdcalendar_category .calendar_table table {
	width: 98%;
	margin: 0 1%;
    *border-collapse: collapse; /* IE7 and lower */
    border-spacing: 0;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 1px 1px #ccc; 
    -moz-box-shadow: 0 1px 1px #ccc; 
    box-shadow: 0 2px 10px #ccc;
    table-layout: fixed;
}
#sdcalendar_category .calendar_table td, #sdcalendar_category .calendar_table th {
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc;
}
#sdcalendar_category .calendar_table th {
    width: 14%;  
    background-color: #DD654A;
    -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset; 
    -moz-box-shadow:0 1px 0 rgba(255,255,255,.8) inset;  
    box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;        
    border-top: none;
    text-shadow: 0 1px 0 rgba(255,255,255,.5); 
    color: #FFF;
    text-align: center;    
    line-height: 35px;
}
#sdcalendar_category .calendar_table td {
    width: 14%;  
    vertical-align: bottom; 
    position: relative;
    text-align: left;
    overflow: hidden;
}
#sdcalendar_category .calendar_table td:first-child, .calendar_table th:first-child {
    border-left: none;
}
#sdcalendar_category .calendar_table th:first-child {
    -moz-border-radius: 6px 0 0 0;
    -webkit-border-radius: 6px 0 0 0;
    border-radius: 6px 0 0 0;
}
#sdcalendar_category .calendar_table th:last-child {
    -moz-border-radius: 0 6px 0 0;
    -webkit-border-radius: 0 6px 0 0;
    border-radius: 0 6px 0 0;
}
#sdcalendar_category .calendar_table th:only-child{
    -moz-border-radius: 6px 6px 0 0;
    -webkit-border-radius: 6px 6px 0 0;
    border-radius: 6px 6px 0 0;
}
#sdcalendar_category .calendar_table tr:last-child td:first-child {
    -moz-border-radius: 0 0 0 6px;
    -webkit-border-radius: 0 0 0 6px;
    border-radius: 0 0 0 6px;
}
#sdcalendar_category .calendar_table tr:last-child td:last-child {
    -moz-border-radius: 0 0 6px 0;
    -webkit-border-radius: 0 0 6px 0;
    border-radius: 0 0 6px 0;
}
#sdcalendar_category .calendar_table a {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
	display: block;
	color: #4a4747;
	text-decoration: none;
}
#sdcalendar_category .calendar_table em {
    position: absolute;
    display: block;
    top: 5px;
    right: 5px; 
    padding: 0 5px;
    font-size: 14px;
    font-style: normal;
}
#sdcalendar_category .calendar_table strong {
	position: absolute;
	bottom: 3px;
	left: 0;
	width: 95%;
	padding: 35px 0 0 3%;
    display: block;
    font-size: 11px;
    line-height: 24px;
    font-weight: normal;
    white-space: nowrap;
    overflow: hidden;
	text-overflow: ellipsis;
}
#sdcalendar_category .calendar_table caption {
    display: none;
    visibility: hidden;
}
#sdcalendar_category .calendar_table #today {
    background: #DD654A;
    color: #FFF;   
}
#sdcalendar_category .calendar_table .empty_days {
    background: url("empty_days.svg") top left repeat;
}
#sdcalendar_category .calendar_table .label {
	padding-left: 1px;
	padding-right: 1px;
}

/* LEGENDA */

#sdcalendar_category .calendar_legend_content {
	margin: 0;
	padding: 0;	
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	list-style: none;
}
#sdcalendar_category .calendar_legend_content li {
	display: flex;
	margin: 5px 0;
	padding: 0 10px;
	white-space: nowrap;
}
#sdcalendar_category .calendar_legend_content li span {
	margin-right: 3px;
}

/* PAGINAZIONE */

.pull-right {
	float: none !important;	
}
.pagination ul, .pagination li {
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
}

/* ISCRIZIONI - CATS */

#sdcalendar_registrations_cats table {
	width: 100%;	
	margin-bottom: 40px;	
}
#sdcalendar_registrations_cats table tr td {
	height: 60px;
	text-align: right;	
	vertical-align: middle;
	border-top: 1px solid #F0F0F0;
}
#sdcalendar_registrations_cats table tr:first-child td {
	border-top: 0;
}
#sdcalendar_registrations_cats table td.cats_title {
	text-align: left;
}
#sdcalendar_registrations_cats table td.cats_labels {
	text-align: right;
	padding-right: 30px;
}
#sdcalendar_registrations_cats table td.cats_buttons {
	width: 80px;	
	text-align: right;
}
#sdcalendar_registrations_cats table td.cats_buttons a {
	text-decoration: none;	
}
#sdcalendar_registrations_cats table td.cats_buttons a, #sdcalendar_registrations_cats table td.cats_buttons span {
	min-width: 80px;	
}
#sdcalendar_registrations_cats table .title {
	font-weight: bold;	
}
#sdcalendar_registrations_cats table p {
	margin: 5px 0;	
}

/* ISCRIZIONI - CAT */

#sdcalendar_registrations_cat table {
	width: 100%;	
	margin-bottom: 40px;	
}
#sdcalendar_registrations_cat table tr td {
	height: 60px;
	text-align: right;	
	vertical-align: middle;
	border-top: 1px solid #F0F0F0;
}
#sdcalendar_registrations_cat table tr:first-child td {
	border-top: 0;
}
#sdcalendar_registrations_cat table td.cat_title {
	text-align: left;
}
#sdcalendar_registrations_cat table td.cat_labels {
	text-align: right;
	padding-right: 30px;
}
#sdcalendar_registrations_cat table td.cat_buttons {
	width: 80px;	
	text-align: right;
}
#sdcalendar_registrations_cat table td.cat_buttons a {
	text-decoration: none;	
}
#sdcalendar_registrations_cat table td.cat_buttons a, #sdcalendar_registrations_cat table td.cat_buttons span {
	min-width: 80px;	
}
#sdcalendar_registrations_cat table .title {
	font-weight: bold;	
}
#sdcalendar_registrations_cat table p {
	margin: 5px 0;	
}
#sdcalendar_registrations_cat .no_events {
	text-align: center;
	font-weight: bold;
	margin: 40px;	
}

/* ISCRIZIONI - EVENT */

#sdcalendar_registrations_event form {
	max-width: 600px !important;	
}
#sdcalendar_registrations_event select {
	height: 34px !important;
	padding: 0 35px 0 10px !important;
	line-height: 34px !important;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: #FFF url("../com_sdform/images/arrow_down.svg") top -4px right -3px no-repeat;
	background-size: 43px 43px;
}
#sdcalendar_registrations_event .sdcalendar_registrations_captcha {
	display: flex;
	justify-content: center;	
}

/* ISCRIZIONI */

.total_site_registrations {
	margin: 0;
	text-align: center;
}
.event_alert {
	text-align: center;
}

/* MODAL */

.open-modal {
	cursor: pointer;
}

#infos_modal {
	display: none;
}
#infos_modal.modal-custom {
	position: fixed;
	z-index: 1050;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: rgba(0, 0, 0, 0.8);
	display: flex;
	justify-content: center;
	align-items: center;
}
#infos_modal .modal-dialog-custom {
	background-color: #fff;
	width: 100%;
	max-width: 600px;
	padding: 20px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
	position: relative;
	border-radius: 0;
}
#infos_modal .modal-header-custom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}
#infos_modal .modal-header-custom h5 {
	margin: 0;
	font-size: 1rem;
	font-weight: bold;
	text-transform: uppercase;
}
#infos_modal .modal-body-custom {
	line-height: 1.5;
	font-size: 1rem;
	color: #333;
}
#infos_modal .modal-body-custom br {
	margin-bottom: 10px;
}
#infos_modal .modal-body-custom span {
	font-weight: bold;
}
#infos_modal .modal-footer-custom {
	text-align: right;
	margin-top: 20px;
}
#infos_modal .btn-custom-close {
	display: inline-block;
	font-weight: 400;
	color: #19191a;
	text-align: center;
	vertical-align: middle;
	user-select: none;
	background-color: transparent;
	border: 0 solid transparent;
	padding: 0.375rem 0.75rem;
	font-size: 0.9rem !important;
	line-height: 1.5;
	border-radius: 4px;
	transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;	padding: 12px 24px;
	font-size: 16px;
	white-space: initial;
	text-decoration: none;
	color: white;
	background-color: #5c6f82;
	border-color: #5c6f82;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075);
	text-transform: uppercase;
}
#infos_modal .btn-custom-close:hover {
	color: white;
	background-color: #4c5c6c;
	border-color: #475664;
}
#infos_modal .close {
	font-size: 0.75rem;
	color: #333;
	cursor: pointer;
	border: none;
	background: none;
	outline: none;
	position: absolute;
	top: 21px;
	right: 18px;
	transition: color 0.3s ease;
	opacity: 1
}
#infos_modal .close:hover {
	color: #444;
}

.modal-header, .modal-header h5, .modal-header-custom, .modal-header-custom h5 {
	font-size: clamp(15px, 1rem, 20px) !important;
}
.modal-body, .modal-body p, .modal-body-custom, .modal-body-custom p {
	font-size: clamp(13px, 1rem, 15px) !important;
}

@media (min-width: 1000px) {
	#sdcalendar_category .calendar_table td {
	    height: 130px;
	}
}

@media (max-width: 1000px) {
	#sdcalendar_category .calendar_table td {
	    height: 100px;
	}
	#sdcalendar_category .calendar_table .label {
		padding-left: 0;
		padding-right: 0;
	}
}

@media (max-width: 767px) {
	#sdcalendar_category th span {
		display: none;
		visibility: hidden;
	}
	#sdcalendar_category th::before {
		content: attr(short);
		text-transform: uppercase;
		font-weight: bold;
		text-align: center;
	}
	#sdcalendar_category .calendar_table strong {
		width: 93%;
		padding-left: 5%;
	}
}

@media (max-width: 600px) {
	#sdcalendar_category th::before {
		content: attr(veryshort);
		text-transform: uppercase;
		font-weight: bold;
		text-align: center;
	}
}