@charset "UTF-8";


#pgm_calendar.loading .fc-view-harness:before {
	display:flex;
	justify-content: center;
	align-items:   center;content: "Loadin calendario in corso...";
	font-size:1em;
	font-weight:900!important;
	font-family:Alexandria !important;
	text-transform:uppercase;
	color: #3e3e3e;	
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background-color: rgb(255 255 255 / 88%);
	background-position: center calc(50% + 20px);
    background-repeat: no-repeat;
	background-size: 150px auto ;
    background-image: url(../images/hload.gif);
	pointer-events: none;
	z-index: 1000;
	border:2px solid black;
}

.home_sottotitolo_prenota .heading-line div a{
	background: #ff6601;
	color:black !important;
	display:flex;
	justify-content: center;
	margin-top:10px;
	align-items:   center;
	width:fit-content;
	padding:12px 16px !important;
	cursor:pointer;
	transition: .3s;
}

.home_sottotitolo_prenota .heading-line div a:hover{
	background: #ffffff;
	width:fit-content;
}

body:not(.logged-in) .home_sottotitolo_prenota{
	display:none;
}

fc-event {
    cursor: pointer;
}
.dayoff{
	display:none !important;
}
#pgm_calendar_info{
	color: #fff;
	font-size:1.1em;
	font-weight:600;
	background: #f15a25;
	padding:8px;
	margin-bottom:20px;
	text-align:center;
	line-height:1.2;
}
#pgm_calendar_container .fc-h-event{
	border:none;
}
#pgm_calendar .fc-dayGridWeek-view .fc-daygrid-day-frame{
	padding-top:20px;
}
#pgm_calendar .fc-dayGridMonth-view,
#pgm_calendar .fc-dayGridWeek-view{
	border:2px solid #2c3e50;
}

#pgm_calendar .fc-dayGridMonth-view .fc-scrollgrid,
#pgm_calendar .fc-dayGridWeek-view .fc-scrollgrid {
	 margin: 0;
}
#pgm_calendar .fc-event{
	overflow:hidden;
}
#pgm_calendar .fc-event.lesson-prenotabile {
    background-color: #e2e2e2 !important; /* Verde per lezione prenotabile */
}

#pgm_calendar .fc-event.lesson-completa {
    background-color: #ffc107; /* Giallo per lezione completa */
}

#pgm_calendar .fc-event.lesson-cancellata {
    background-color: #dc3545; /* Rosso per lezione cancellata */
}

.fc .fc-timegrid-body,
.fc .fc-timegrid-body table{
	min-width:100%;
}
/* Personalize FullCalendar */
#pgm_calendar{
    width: 100%; 
    height: auto;
	
}
 #pgm_calendar:not(.vista_lista) {
    width: 100%;
    /* min-width: 768px; */
    height: auto;
    transform-origin: top left;
}
/* Vista Lista style  ----------------------------- */

@media (max-width: 430px) {
	.fc .fc-toolbar.fc-header-toolbar{
		display:flex;
		flex-direction:column;
	}
    .fc-toolbar-chunk{
		width:100%;
		display:block;
	}
	.fc-toolbar-chunk:nth-child(1){
	}
	.fc-toolbar-chunk:nth-child(2){
		order: 3;
		text-align:center;
		border-top:1px solid #f15a25;
		border-bottom:1px solid #f15a25;
		padding:10px;
		margin:10px auto;
	}
	.fc-toolbar-chunk:nth-child(3){
		order: 2;
		text-align:right;
		margin-top:-36px;
	}
	.fc .fc-list-table  {
	    border:1px solid #000000 !important
	}
	#pgm_calendar .fc-list-day.fc-day th,
	#pgm_calendar .fc-list-day.fc-day.fc-day-tue.fc-day-today th{
	    border:1px solid #000000 !important;
		margin-top:20px !important;
	}
	#pgm_calendar.fc .fc-list-table .fc-event{
		margin-bottom:30px ;
	}
	#pgm_calendar .fc-day span.event-time > small{
		/* background-color: #dfdfdf; */
		color:#4d4d4d;
		font-size:.6em !important;
		width:100%;
		height:100%;
		padding: 2px 4px;
	}
}
@media (min-width: 431px) {
	#pgm_calendar  .fc-listWeek-view tbody tr{
		margin: 20px auto !important;
	}
}
#pgm_calendar  .fc-listWeek-view tbody .fc-event,
#pgm_calendar  .fc-listMonth-view tbody .fc-event{
	display:flex;
	max-width:400px;
	margin: 10px 10px;
}
#pgm_calendar.vista_lista  .fc-list{
	border:1px solid #545353 !important;
	padding-top:0 !important;
}
#pgm_calendar.vista_lista   .fc-scroller{
	margin-top: -2px !important;
}
#pgm_calendar.vista_lista div.fc-header-toolbar  .fc-toolbar-chunk:nth-child(1) {
    display:none;
}

#pgm_calendar.vista_lista div.fc-header-toolbar .fc-toolbar-chunk:nth-child(2){
    order: 1 ;
	background-color: #f15a25;
	font-size:.5em !important;
	color:white !important;
	padding: 10px 10px;
}
#pgm_calendar.vista_lista div.fc-header-toolbar .fc-toolbar-chunk:nth-child(2) h2{
	color:white !important;
	padding: 0 !important;
	line-height:1;
}
#pgm_calendar.vista_lista div.fc-header-toolbar .fc-toolbar-chunk:nth-child(3){
    order: 2 ;
}



#pgm_calendar.vista_lista .fc-list-day th{
	background-color:#2c3e50 !important;
	text-transform:uppercase !important;
}
#pgm_calendar.vista_lista tr..fc-list-event {
	display:block;
	width: 90% !important;
	margin: 10px 5%;
	padding-bottom:20px;
}
#pgm_calendar.vista_lista  .fc-list-event.fc-event{
	display:block;
	width: 90% !important;
	margin: 10px 5%;
}

#pgm_calendar.vista_lista .fc-theme-standard .fc-list-event.fc-event .event-title{
	background-color: #f15a25;
}
#pgm_calendar.vista_lista.fc-theme-standard .fc-list-event.fc-event .btn-prenota{
	height:30px;
	margin-bottom:-8px !important
}



/* END Vista Lista style  ----------------------------- */


#pgm_calendar table[role="presentation"],
#pgm_calendar  .fc-daygrid-body{
    min-width: 100% !important; 
	min-height: 100% !important; 
}
#pgm_calendar  .fc-day .fc-v-event{
	border:none !important
}
.fc-toolbar-title{
    text-transform:uppercase;
}

.fc-scrollgrid-section-header th:last-child{
    border-right:none !important;
}
.fc-theme-standard .fc-col-header  td{
   
}
body:not(.woocommerce-cart) .fc .fc-scrollgrid-section t{
    overflow:hidden !important;
    height:100% !important;
    border:0 !important;
}

body:not(.woocommerce-cart) .fc-col-header{
    border-top:0px !important;
    
}
.fc-col-header {
    margin-bottom:0  !important;
}
.fc-col-header .fc-col-header-cell a{
    text-transform:uppercase;
    color:white !important;
}
.fc .fc-button-group {
	position: relative;
	display: inline-flex;
    gap:2px;
}
body:not(.woocommerce-cart) #pgm-calendar > div.fc-view-harness.fc-view-harness-active > div > table > tbody > tr > td{
    padding:0px  !important;
	height: min-content important;
}
#pgm_calendar.fc .fc-button {
	background-color: black;
	padding: 8px;
	font-size: .9em;
	line-height: 1.5;
	border-radius: 0 !important;
	border:none !important;
    text-transform:uppercase;
}
.fc .fc-button:hover,
.fc .fc-button-active {
	background-color: #f15a25!important;
}
.fc .fc-toolbar-chunk{
}

.fc .fc-toolbar-title{
	color: #000000!important;
	font-weight:bold;
	font-size:1.8em !important;
	letter-spacing: -1.5px !important;
	vertical-align:bottom  !important;
	margin-bottom: 0  !important;
}

.fc .fc-button:focus {
	box-shadow:none!important;
}
.fc .fc-button-primary:focus,.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus {
	box-shadow:none;
}
#pgm_calendar .fc-theme-standard .fc-scrollgrid > thead {
    border: 2px solid #000000 ;
}
#pgm_calendar .fc-theme-standard .fc-scrollgrid tbody{
    border: 2px solid #000000;
    background-color:#2c3e5012 !important;
}

#pgm_calendar .fc-theme-standard .fc-scrollgrid-sync-table td{
     border: 1px solid #c7c7c7 !important;
     padding:0 auto !important;
}
#pgm_calendar .fc-theme-standard .fc-scrollgrid-sync-table tbody tr:first-child td{
     border-top: none !important;
}

body:not(.woocommerce-cart) .fc-theme-standard .fc-scrollgrid-sync-table {
	border-top: none !important;
	margin-bottom:0 !important
}

body:not(.woocommerce-cart) .main-content .fc-theme-standard th{
    background-color: #000000  !important;
    padding: 4px 4px !important;
    border:none !important;
    margin: 0 !important;
    border-right:1px solid white !important;
}
/* vista agenda */
body:not(.woocommerce-cart) .main-content .fc-listMonth-view  th{
    background-color: #000000  !important;
    padding: 4px 4px !important;
    border:none !important;
    margin: 0 !important;
    border-right:1px solid white !important;
}
#pgm_calendar.fc-theme-standard .fc-list-event th{
	position:absolute !important
	z-index: 20 !important;
	padding:0 !important;
}
#pgm_calendar.fc-theme-standard .fc-list-table .fc-list-day.fc-day.fc-day-future {
	background-color: #673AB7  !important;
	padding: 4px 4px !important;
	margin: 0 0 0 0  !important;
	color:white !important;
	border-bottom:1px solid white;
}
#pgm_calendar.fc-theme-standard .fc-list-table .fc-list-day .fc-cell-shaded{
	background-color: #bf431800  !important;
    margin: 0 0 0 0  !important;
}
#pgm_calendar.fc-theme-standard .fc-list-day-cushion a{
	color:white !important;
}

#pgm_calendar.fc-theme-standard .fc-list-event.fc-event span{
	padding:0 12px !important;
	text-align:center !important;
}
#pgm_calendar.fc-theme-standard .fc-list-event.fc-event  span.event-slots{
	display:block;
	width:100% !important;
	text-align:center !important;
}

#pgm_calendar.fc-theme-standard .fc-list-event.fc-event .btn-prenota{
	text-transform:uppercase;
	width:100%;
	-webkit-border-radius: 0px !important;
	-moz-border-radius: 0px !important;
	border-radius: 0px !important;
	background:rgb(241 90 37 / 80%);
	padding:0px 0px 0 0;
	margin:0 0 !important;
	min-height:40px;
	font-weight:600;
}
#pgm_calendar.fc-theme-standard .fc-list-event.fc-event .btn-prenota .fas{
	position: static;
}
#pgm_calendar.fc-theme-standard .fc-list-event.fc-event .event-time{
	font-size:1.2em;
}

#pgm_calendar.fc-event {
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

/* Rendi cliccabile il pulsante .btn-prenota */
#pgm_calendar.fc-event .btn-prenota {
  user-select: auto;
  -webkit-user-select: auto;
  pointer-events: auto;
  z-index: 1;
}

#pgm_calendar.fc-theme-standard .fc-day-today{
	background-color: #f4f4f4 !important;
}
#pgm_calendar.fc-theme-standard .fc-day {
	padding: 0 !important;
}
#pgm_calendar.fc-theme-standard .fc-day .fc-daygrid-day-number{
	color:black !important;
}
#pgm_calendar.fc .fc-daygrid-event-harness{
	margin-bottom:4px;
}
#pgm_calendar.fc .fc-daygrid-event {
	z-index: 6;
	margin-top: 1px;
	display: flex;
	justify-content: center;
	align-items:   center;
	flex-direction:column;
	height:auto;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px !important;
	border-radius: 0px !important;
	width:calc(100% - 4px);
	padding:0px;
}
#pgm_calendar.fc-theme-standard .fc-day .fc-daygrid-event-dot{
	display:none;
	max-width:100%;
}
#pgm_calendar.fc-theme-standard .fc-day .fc-event-time{
	max-width:100%;
}
#pgm_calendar.fc-theme-standard .fc-day .fc-event-title{
	max-width:100%;
	
}
#pgm_calendar .fc-day span{
	padding:3px 3px;
	margin:0 !important;
	line-height:1;
	width:100%;
}
a.fc-event{
	
}
.fc-event{
	text-decoration:none !important
}
#pgm_calendar .fc-daygrid-event-dot,
#pgm_calendar .fc-event-time,
#pgm_calendar .fc-event-title,
#pgm_calendar .fc-list-event-time,
#pgm_calendar .fc-list-event-graphic,
#pgm_calendar .fc-list-event-dot,
#pgm_calendar .fc-list-event-title,
#pgm_calendar .fc-list-event.fc-event br{
	display:none;
}

#pgm_calendar .fc-theme-standard .fc-list-event.fc-event{
	padding-bottom:0 !important;
}
#pgm_calendar  .fc-daygrid-event.fc-event-end{
	padding:0 !important;
}
#pgm_calendar  div > table > tbody > tr > td{
	padding:0;
}
#pgm_calendar  .fc-col-header-cell.fc-day-today{
	background-color: #7d8892 !important;
}
#pgm_calendar .event-wrapper{
	text-align:left !important;
	width:100%;
	letter-spacing:-.5px;
	background-color: transparent;
}


#pgm_calendar .title-info-wrapper{
	display:flex;
	width:100%;
	background-color: #f15a25cc;
	margin:0;
	padding:0;
	display:flex;
}
/* Colori Slot */
.slot_arancio { background-color: #f15a25; }
.slot_blu { background-color: #2196F3; }
.slot_verde { background-color: #009688; }
.slot_viola { background-color: #7c32ff; }
.slot_rosa { background-color: #fb81aa; }
.slot_marrone { background-color: #9f5b42; }

#pgm_calendar .slot_arancio .title-info-wrapper,
.fc-theme-standard .slot_arancio .btn-prenota{
	background-color: #f15a25 !important;
}
#pgm_calendar .slot_blu .title-info-wrapper,
.fc-theme-standard .slot_blu .btn-prenota{
	background-color: #2196F3 !important;
}
#pgm_calendar .slot_verde .title-info-wrapper,
.fc-theme-standard .slot_verde .btn-prenota{
	background-color: #009688 !important;
}
#pgm_calendar .slot_viola .title-info-wrapper,
.fc-theme-standard .slot_viola .btn-prenota{
	background-color: #7c32ff !important;
}
#pgm_calendar .slot_rosa .title-info-wrapper,
.fc-theme-standard .slot_rosa .btn-prenota{
	background-color: #fb81aa !important;
}
#pgm_calendar .slot_marrone .title-info-wrapper,
.fc-theme-standard .slot_marrone .btn-prenota{
	background-color: #9f5b42 !important;
}

.swal2-html-container p{
	padding-bottom:5px !important;
}
.swal2-popup {
	max-width: 90vw !important;
    max-height: 90vh !important;
    overflow-y: auto;
}
#pgm_calendar .title-info-wrapper .event-title{
	display:flex;
	justify-content: left;
	align-items: center;
	width:auto;
	color:white;
	padding-left: 6px;
	font-weight:bold;
	line-height:1;
	height:25px;
	font-size: clamp(12px, 1vw, 15px) !important;
	text-transform:uppercase;
	overflow:hidden;
}
#pgm_calendar .title-info-wrapper .btn-info{
	display: flex;
	align-self: flex-end;
	justify-content: left;
	align-items: center;
	margin-left:auto;
	margin-right:0;
	border:none;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px !important;
	border-radius: 0px !important;
	height:25px;
	background-color:#ffffff00;
	cursor: help;
	padding:0 4px;
}
#pgm_calendar .title-info-wrapper .btn-info .fas{
	color: white;
	font-size:1.1em;
	margin-top:4px;
}
#pgm_calendar .title-info-wrapper .btn-info:hover .fas{
	color: #000000;
}

#pgm_calendar .fc-day span.event-time{
	/* background-color: #dfdfdf; */
	color:black;
	font-size:1.4em;
	width:100%;
	height:100%;
	padding: 4px 6px 2px;
    letter-spacing:-1px;
}
#pgm_calendar .event-time  small{
	/* background-color: #dfdfdf; */
	color:#4d4d4d !important;
	font-size:.6em !important;
	width:100%;
	height:100%;
	padding: 2px 4px!important;
} 
#pgm_calendar .fc-day span.event-time > small{
	/* background-color: #dfdfdf; */
	color:#4d4d4d !important;
	font-size:.6em !important;
	width:100%;
	height:100%;
	padding: 2px 4px!important;
}
#pgm_calendar .fc-day span.event-trainer{
	color:#242424;
	text-align:left !important;
	width:100%;
	font-size: clamp(9px, 1vw, 13px) !important;
}
#pgm_calendar  span.event-slots{
	/* background-color: #dfdfdf; */
	width:100%;
	padding: 2px 6px !important;
	color:#353535;
	font-weight:600;
	text-align:center;
	font-size: clamp(13px, 1vw, 14px) !important;
}

#pgm_calendar .fc-event {
    background-color: #621f1f6b !important;
    color: black !important;
    text-decoration: line-through;
}

.event-title-wrapper{
	width:100%;
}
.active-event .event-title {
	width:100%;
    font-weight: bold;
	padding: 0 4px ;
    display: block;
    margin: 0px;
	text-transform:uppercase;
	background-color:#4CAF50;
	color:white;
}
.lesson-cancellata .event-title {
	width:100%;
    font-weight: bold;
	padding: 0 4px ;
    display: block;
    margin: 0px;
	text-transform:uppercase;
	color:white;
}
.lesson-cancellata{
	opacity:.5;
}
.lesson-cancellata .btn-prenota {
	disp lay:none;
}
.event-time {
	width:100%;
    display: block;
	font-weight: bold;
	margin: 0px;
	padding: 0 4px ;
	line-height:1.6
}

.event-seats {
    width:100%;
    display: block;
	margin: 0px;
	padding: 0 4px ;
}

.btn-prenota {
    background: none;
    border: none;
    cursor: pointer;
    color: #ffffff;
    margin-left: 4px;
	transition: 0;
	line-height:.5;
}

.btn-prenota i {
    font-size: 1.1em;
}
.slot_choose  h2{
	font-size: 1.5em;
	color: white;
	padding-top:10px;
	padding-bottom:10px;
}

.fc-theme-standard  .btn-prenota{
	border-radius:0 !important;
	border:0 !important;
	width:100%;
	margin: 0px !important;
	padding: 15px 0 15px 0;
	text-align:center;
	background-color: rgb(241 90 37 / 80%);
	color:white;
	text-transform:uppercase;
	font-size: 1em;
	font-weight: 600;
}
.fc-theme-standard .event_slots{
	display:none;
}
.fc-theme-standard .btn-prenota:not(.prenota_full):hover{
	background-color:#000000 !important;
	color:white;
}
.slot_choose .btn-prenota {
    background: none;
	width:80%;
	margin-bottom:10px;
	background-color: #646464;
    border: none;
	padding:10px 24px;
	font-size: 1.2em;
    cursor: pointer;
    color: white;
    margin-left: 4px;
	transition: 0;
	line-height:1;
}
.slot_choose .btn-prenota:not(.prenota_full):hover{
	b ackground-color:#000000 !important;
	color:white;
}
.slot_choose.slot_arancio .btn-prenota:not(.prenota_full):hover,
.slot_choose.slot_arancio .swal2-confirm {
	background-color: #f15a25 !important;
}
.slot_choose.slot_blu .btn-prenota:not(.prenota_full):hover,
.slot_choose.slot_blu .swal2-confirm {
	background-color: #2196F3  !important;
}
.slot_choose.slot_verde .btn-prenota:not(.prenota_full):hover,
.slot_choose.slot_verde .swal2-confirm {
	background-color: #009688 !important;
}
.slot_choose.slot_viola .btn-prenota:not(.prenota_full):hover,
.slot_choose.slot_viola .swal2-confirm {
	background-color: #7c32ff !important;
}
.slot_choose.slot_rosa .btn-prenota:not(.prenota_full):hover,
.slot_choose.slot_rosa .swal2-confirm {
	background-color: #fb81aa !important;
}

.slot_choose.slot_marrone .btn-prenota:not(.prenota_full):hover,
.slot_choose.slot_marrone .swal2-confirm{
	background-color: #9f5b42 !important;
}
.slot_choose.slot_arancio h2 {
	background-color: #f15a25 ;
}
.slot_choose.slot_blu  h2{
	background-color: #2196F3 ;
}
.slot_choose.slot_verde  h2{
	background-color: #009688 ;
}
.slot_choose.slot_viola  h2{
	background-color: #7c32ff ;
}
.slot_choose.slot_rosa  h2{
	background-color: #fb81aa ;
}
.slot_choose.slot_marrone  h2 {
	background-color: #9f5b42 ;
	color:white;
}
.prenota_full{
	opacity:.6;
	cursor:default !important;
}
.slot_choose .swal2-confirm:hover{
	background-color: #020202  !important;
}
.slot_choose .slots_disp{
	font-size: .7em;
	color:#c7c7c7;
}
/* Rimuovi la transizione */
.btn-prenota[title]::after {
    display: none;
}

/* Mostra la tooltip solo al passaggio del mouse */
.btn-prenota:hover[title]::after {
    display: block;
}
.fc-list-event{
	text-decoration: none !important
}



/* FULL CALANDAR Prenotazioni */
#qpgm_calendar_prenotazioni .fc-v-event{
	background-color:transparent;
	border: none;
	box-shadow: none;
	display:inline-flex;
}
#qpgm_calendar_prenotazioni .fc-daygrid-event-dot,
#qpgm_calendar_prenotazioni .fc-event-time,
#qpgm_calendar_prenotazioni .fc-event-title{
	display:none;
}
#qpgm_calendar_prenotazioni .fc-day-past{
	background-color:#f2f2f2;
}
#qpgm_calendar_prenotazioni .fc-event-past{
	opacity: .3;
	pointer-events:none;
}
#qpgm_calendar_prenotazioni > div.fc-view-harness.fc-view-harness-passive > div > table > tbody > tr > td{
	padding:5px;
}
#qpgm_calendar_prenotazioni .fc-day-future,
#qpgm_calendar_prenotazioni .fc-day-today{
	padding:1px;
	font-size:12px !important;
}
#qpgm_calendar_prenotazioni .fc-day-today{
	background-color: #f15a2557;
}
#qpgm_calendar_prenotazioni .fc-col-header-cell.fc-day{
	background-color:black;
	padding:8px;
	font-weight:400;
}
@media (max-width: 431px) {
	
	.fc-today-button{
		position:relative;
		z-index:30 !important;
	}
    #qpgm_calendar_prenotazioni .fc-button{
		padding:5px
	}
	.pgm_prent_lesson{
		font-size:7px !important;
		padding:2px !important;
		white-space: pre-line; 
	  white-space: normal; 
	}
	.pgm_prent_count{
		padding:2px !important;
		font-size:9px !important;
		white-space: nowrap; 
		  overflow: hidden;
		  text-overflow: ellipsis;
		  width: 40px;   
	}
	.pgm_prent_user{
		padding:2px !important;
		font-size:7px !important;
	}
	.pgm_prent_hour{
		padding:2px !important;
		font-size:7px !important;
	}
}

.pgm_prentation{
	width:100%;
	min-width:100%;
	max-width:140px;
	background-color: #afafaf;
	color: white !important;
	border:1px solid #000000;
	font-size:1.1em;
	line-height:1.3;
	border-radius:4px;
	overflow:hidden;
}
.pgm_prentation:hover{
	background-color: #f15a25;
	box-shadow: none;
	cursor:zoom-in;
}

.pgm_prent_lesson{
	display:flex;
	font-weight:900;
	padding:4px 4px;
	width:100%;
	background-color: #000000;
	color: white !important;
	line-height:1.2;
	text-transform:uppercase;
	font-size:.9em;
}
.pgm_prent_count{
	border-radius: 2px;
	padding: 1px 4px 3px;
	display: inline-block;
	font-size:1.1em;
	font-weight:900;
	color: #ffffff ;
}
.pgm_prent_user{
	font-weight:700;
	padding:2px 4px;
}
.pgm_prent_hour{
	font-weight:700;
	padding:6px 4px 0;
	color:black;
}