:root {
	--color-agenda-visitatore: #EEEAFF;
	--color-agenda-manifestazione_espositore: #E1F5FF;
	--color-agenda-evento: #DFF3E7;
	--color-agenda-highlight-visitatore: #8264DA;
	--color-agenda-highlight-manifestazione_espositore: #37ABD7;
	--color-agenda-highlight-evento: #5CAA76;
}

.agenda-window .j-window-titlebar strong {
	display: block;
	height: 60px;
	line-height: 60px;
	font-weight: normal;
	font-size: 24px;
	color: #ffffff;
	text-transform: capitalize;
}
.agenda-window .j-window-titlebar strong {
	margin-left: 140px;
}
.agenda-window .j-window-titlebar .agenda-titlebar-button {
	top: 15px;
}
.agenda-window .j-window-titlebar .agenda-titlebar-button-prev {
	left: 10px;
}
.j-window-titlebar .j-button.agenda-titlebar-button-solo-appuntamenti.btn-evidenza svg {
	fill: #ff8838;
	stroke: #ff8838;
}
.j-window-titlebar .j-button.agenda-titlebar-button-solo-appuntamenti svg {
	width: 20px;
	height: 20px;
}
.agenda-window .j-window-titlebar .agenda-titlebar-button-solo-appuntamenti {
	left: 550px;
}
.agenda-window .j-window-titlebar .btn-export-appuntamenti-pdf  {
	left: 518px;
}
.j-window-titlebar .j-button.btn-export-appuntamenti-pdf svg {
	width: 20px;
	height: 20px;
}

.agenda-window .j-window-titlebar .agenda-titlebar-button-calendar {
	left: 50px;
	overflow: hidden;
}
.agenda-window .j-window-titlebar .agenda-titlebar-button-next {
	left: 90px;
}
.row-text-appuntamento {
	font-size: 12px;
	color: #ff8838;
}

.agenda-calendario-appuntamento,
.agenda-calendario {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 600px;
}
.agenda-calendario.agenda-calendario-appuntamento {
	width: auto;
	right: 0;
}
.agenda-filtro {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 600px;	
}

.agenda-window .j-window-titlebar {
	height: 60px;
}
.agenda {
	display: table;
	width: 100%;
	margin-bottom: 20px;
	margin-top: 20px;
	position: relative;
}
.agenda-riga:first-child .agenda-ora-fascia {
	border-top: 1px solid #c0c2c5;
}
.agenda-riga {
	display: table-row;
	width: 100%;
}
.riga-20-min .agenda-ora-action,
.riga-20-min .agenda-ora-fascia,
.riga-20-min .agenda-ora {
	display: table-cell;
	height: 180px;
	position: relative;
}
.riga-15-min .agenda-ora-action,
.riga-15-min .agenda-ora-fascia,
.riga-15-min .agenda-ora {
	display: table-cell;
	height: 240px;
	position: relative;
}
.agenda-ora-action,
.agenda-ora-fascia,
.agenda-ora {
	display: table-cell;
	height: 120px;
	position: relative;
}
.agenda-ora-fascia [data-ora-minuto="00"] {
	border-bottom: 1px solid #e0e2e5;
}
.agenda-ora-fascia [data-ora-minuto="15"] {
	border-bottom: 1px solid #e0e2e5;
}
.riga-15-min .agenda-ora-fascia [data-ora-minuto="30"] {
	border-bottom: 1px solid #e0e2e5;
}
.agenda-ora-fascia [data-ora-minuto="20"] {
	border-bottom: 1px solid #e0e2e5;
}
.agenda-istruzioni svg {
	width: 12px;
	height: 12px;	
}
.agenda-fascia svg {
	width: 16px;
	height: 16px;
}

.agenda-fascia:hover svg {
	fill: #ff8838;
}
.agenda-fascia span {
	cursor: pointer;
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.action-scheda {
	cursor: pointer;
	overflow: hidden;
}
.myfair-block .action-scheda {
	height: 70px;
	overflow: hidden;
}
.agenda-calendario .action-scheda {
	height: 39px;
}
.agenda-fascia {
	position: absolute;
	top: 0;
	left: 0;
	height: 59px;
	right: 0;
	overflow: hidden;
}
[data-ora-minuto="30"] {
	top: 59px;
}
[data-ora-minuto="20"] {
	top: 59px;
}
[data-ora-minuto="40"] {
	top: 118px;
}
.riga-15-min [data-ora-minuto="15"] {
	top: 59px;
}
.riga-15-min [data-ora-minuto="30"] {
	top: 118px;
}
.riga-15-min [data-ora-minuto="45"] {
	top: 179px;
}
.agenda-ora span {
	display: block;
	top: -10px;
	position: relative;
}
.agenda-ora-action {
	width: 40px;
	text-align: center;
}
.agenda-ora {
	width: 50px;
	text-align: right;
	padding-right: 10px;
	color: #800080;
	border-bottom: 1px solid transparent;
}
.agenda-ora-fascia {
	border-bottom: 1px solid #c0c2c5;
}
.slot-appuntamento strong {
	display: block;
}
.slot-appuntamento svg {
	fill: #fff;
	position: absolute;
	right: 5px;
	width: 22px;
	height: 22px;
	transform: translateY(-50%);
	top: 50%;
}
.slot-appuntamento:hover svg {
	fill: #fff;
}
.slot-appuntamento:hover {
	background: #ff8838;
}
.slot-appuntamento {
	cursor: pointer;
	z-index: 1000;
	border-radius: 5px;
	padding: 5px 40px 5px 4px;
	color: #fff;
	font-size: 10px;
	position: absolute;
	top: 5px;
	right: 5px;
	bottom: 5px;
	width: 150px;
	background: #ff8838;
}
.pagina-entita-agenda-visitatore .agenda-appuntamento-info-data {
	display: block;
}
.pagina-entita-agenda-visitatore .agenda-appuntamento-info,
.agenda-appuntamento-info-data,
.agenda-appuntamento-info-orario {
	display: none;
}
.agenda-appuntamento-maniestazione-nome {
	margin-top: -2px;
	text-transform: uppercase;
	font-size: 8px;
	font-weight: bold;
	margin-bottom: 2px;
}
.agenda-appuntamento {
	position: absolute;
	width: 200px;
	overflow: hidden;
	left: 70px;
	font-size: 11px;
}
[data-entita-tipo="evento"] .action.action-orario {
	display: none;
}
.myfair-block .agenda-appuntamento-info-orario {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
}
.myfair-block .agenda-appuntamento {
	position: relative;
	left: auto;
	width: 130px;
	height: 130px;
	float: left;
	margin-right: 20px;
}
.agenda-appuntamento-inner {
	position: absolute;
	border-radius: 10px;
	background: #fff;
	left: 0;
	top: 1px;
	right: 0;
	bottom: 1px;
	padding: 4px;
}
.agenda-appuntamento-toolbar {
	position: absolute;
	bottom: 4px;
	right: 2px;
}

.agenda-appuntamento[data-stato="2"] .agenda-appuntamento-toolbar .action-orario,
.agenda-appuntamento[data-stato="0"] .agenda-appuntamento-toolbar .action-orario,
.agenda-appuntamento[data-stato="0"] .agenda-appuntamento-toolbar .action-elimina,
.agenda-appuntamento[data-stato="0"] .agenda-appuntamento-toolbar .action-call,
.agenda-appuntamento[data-stato="2"] .agenda-appuntamento-toolbar .action-call,
.agenda-appuntamento[data-entita-tipo="evento"] .agenda-appuntamento-toolbar .action-call,
.agenda-appuntamento-toolbar .action-text,
.agenda-appuntamento-toolbar .action-rifiuta,
.agenda-appuntamento-toolbar .action-conferma {
	display: none;
}

.agenda-appuntamento[data-entita-tipo="visitatore"][data-stato="2"] .agenda-appuntamento-inner,
.agenda-appuntamento[data-entita-tipo="visitatore"][data-stato="0"] .agenda-appuntamento-inner {
	background: rgba(216,218,220, 0.4); 
}

.agenda-appuntamento[data-stato="2"] .agenda-appuntamento-toolbar .action-text,
.agenda-appuntamento[data-stato="0"] .agenda-appuntamento-toolbar .action-text,
.agenda-appuntamento[data-stato="0"] .agenda-appuntamento-toolbar .action-rifiuta,
.agenda-appuntamento[data-stato="0"] .agenda-appuntamento-toolbar .action-conferma {
	display: block;
	white-space: nowrap;
}
.agenda-appuntamento-toolbar .action-text {
	right: 70px;
	font-size: 8px;
	text-transform: uppercase;
}
.agenda-appuntamento .action {
	position: absolute;
	bottom: 0;
	cursor: pointer;
}
.agenda-appuntamento-toolbar .action-conferma,
.agenda-appuntamento .action-orario {
	right: 30px;
}
.agenda-appuntamento-toolbar .action-rifiuta,
.agenda-appuntamento .action-elimina {
	right: 5px;
}
.agenda-appuntamento-toolbar .action-call {
	right: 50px;
}
.agenda-appuntamento svg {
	width: 16px;
	height: 16px;
	cursor: pointer;
}
.agenda-appuntamento[data-entita-tipo="visitatore"] svg {
	fill: #800080;
}
.agenda-appuntamento[data-entita-tipo="manifestazione_espositore"] svg {
	fill: #ff8838;
}
.agenda-appuntamento[data-entita-tipo="evento"] svg {
	fill: #ff8838;
}

.agenda-appuntamento .agenda-appuntamento-inner {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
.agenda-appuntamento[data-entita-tipo="visitatore"] .agenda-appuntamento-inner {
	background-color: var(--color-agenda-visitatore);
	border-left: 3px solid var(--color-agenda-highlight-visitatore);
	color: var(--color-agenda-highlight-visitatore);
}
.agenda-appuntamento[data-entita-tipo="manifestazione_espositore"] .agenda-appuntamento-inner {
	background-color: var(--color-agenda-manifestazione_espositore);
	border-left: 3px solid var(--color-agenda-highlight-manifestazione_espositore);
	color: var(--color-agenda-highlight-manifestazione_espositore);
}
.agenda-appuntamento[data-entita-tipo="evento"] .agenda-appuntamento-inner {
	background-color: var(--color-agenda-evento);
	border-left: 3px solid var(--color-agenda-highlight-evento);
	color: var(--color-agenda-highlight-evento);
}

.appuntamento-agenda-window .agenda-istruzioni,
.appuntamento-agenda-window .agenda-ora-action .agenda-fascia,
/* .appuntamento-agenda-window .agenda-appuntamento-toolbar  */
{
	display: none;
}


.my-agenda-toolbar-day {
	padding: 5px 0 10px 0 !important;
}
.my-agenda-toolbar-day .day-of-week {
	display: block;
}
.my-agenda-toolbar-day .day {
	font-size:18px;
}
.agenda-calendario .j-tab-header, .agenda-calendario .j-tab-header .j-bar-left {
	display: flex;
justify-content: space-around;
}
.agenda-calendario .j-tab-header, .agenda-calendario .j-tab-header .j-bar-left,
.agenda-filtro .j-tab-header .j-bar-left,
.agenda-filtro .j-bar.j-tab-header,
.agenda-filtro .j-bar.j-tab-header .j-button,
.agenda-filtro .j-bar.j-tab-header .j-button .j-button-label {
	height: 50px;
}

.agenda-window .agenda-calendario .j-tab-header .j-bar-left,
.agenda-filtro .j-bar.j-tab-header,
.agenda-window .agenda-calendario .j-tab-header .j-button.j-tab-header-menu {
	background: #3b4148;
}
.agenda-filtro .j-bar.j-tab-header::before,
.agenda-window .agenda-calendario .j-tab-header .j-bar-left::before,
.agenda-window .agenda-calendario .j-tab-header .j-button.j-tab-header-menu::before {
	content: "";
	background: white;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	opacity: 0.94;
}
.agenda-window .j-window-titlebar strong {
height: auto;
line-height: 30px;
font-size: unset;
text-transform: uppercase;
top: 15px;
}

.agenda-window .j-window-titlebar .j-button svg {
margin-top: 6px;
}
.agenda-window .agenda-calendario .j-tab-header .j-button.j-tab-header-menu {
	height: 50px;
}
.agenda-window .agenda-calendario .j-tab-header .j-button.j-tab-header-menu svg {
	position: relative;
}

.j-window-toolbar .new-btn-export-appuntamenti-pdf svg {
	fill: #fff;
}

.j-window-application-window-content-wrapper .agenda-appuntamento-list  .j-window-toolbar.j-bar {
	min-height: unset !important;
}
div.agenda-location-appuntamento {
	width: 100%;
}