.fc-v-event {
	border: none;
}
.fc-h-event{
    border:none;
}
.fc-event-main {
	margin-top: 2px;
}

/* Class desktop */
.form-select.subf {
    width: 250px;
}

.form-control.minicolors.subf {
    width: 250px;
}

/* Media query tablet e smartphone */
@media (max-width: 768px) {
    .form-select.subf {
        width: 100%; 
    }
}

.fc-header-toolbar.navstyle-icons .btn-group button {
	font-size: 0 !important;
	background-color: transparent !important;
	border: none !important;
	padding: 0 !important;
	box-shadow: none;
	outline: none;
	align-items: center;
}

.fc-header-toolbar.navstyle-icons .btn-group button span {
	font-size: 20px;
	color: black;
}

.fc-header-toolbar.navstyle-icons .btn-group button:hover {
	background-color: transparent;
}

.fc-header-toolbar.navstyle-icons .btn-group button.active {
	background-color: transparent;
	border: none;
}

.fc-header-toolbar.navstyle-icons .btn-group button.active span {
	color: blue;
}

.fc-header-toolbar.navstyle-icons .btn-group button[disabled] {
	background-color: transparent;
	border: none;
	color: gray;
	cursor: not-allowed;
}

.fc-timeGridWeek-view .fc-label-start-time,
.fc-timeGridWeek-view .fc-label-end-time,
.fc-timeGridDay-view .fc-label-start-time,
.fc-timeGridDay-view .fc-label-end-time {
	display: none;
}

.fc-timeGridWeek-view .fc-label {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 100%;
}

.fc-timeGridWeek-view .fc-v-event {
	min-height: 25px;
}

/* stard & end H:M style */
.fc-label-start-time,
.fc-label-end-time {
	font-weight: 600;
}

.fc-label {
	overflow: hidden;
}

a.fabrikEvent.label {
	background-color: initial;
}

/* Toolbar
--------------------------------------------------------------------------------------------------*/
/* the things within each left/right/center section */
.fc .fc-toolbar>*>* {
	/* extra precedence to override button border margins */
	float: left;
	margin-left: .75em;
}

/* red color Sunday */
.fc-day-sun {
	color: red;
}

/* Full Height smarthpone */
.fc-view-harness.fc-view-harness-active {
	min-height: 360px;
}

/* Left margin today icon */
.fc-today-button.btn.btn-primary {
	margin-left: 5px !important;
}

/* Left and right margin for the week icon */
.fc-timeGridWeek-button.btn.btn-primary {
	margin-left: 5px !important;
	margin-right: 5px !important;
}

/* hover effect on icons */
.fc-toolbar-chunk .btn-group .btn span:hover {
	color: blue;
}

@media (max-width: 764px) {

	.fc-header-toolbar.fc-toolbar.fc-toolbar-ltr.navstyle-buttons,
	.fc-header-toolbar.fc-toolbar.fc-toolbar-ltr.navstyle-both {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	/* label that adapts to the day cell */
	.fc-label {
		display: block !important;
		margin-left: 2px;
	}

}

@media (max-width: 764px) and (min-width: 579px) {
	.fc-timeGridWeek-view .fc-col-header-cell-cushion {
		font-size: small;
	}
}

@media (max-width: 578px) {
	.fc-timeGridWeek-view .fc-col-header-cell-cushion {
		font-size: x-small;
	}
}

/* Smallest month title */
@media (max-width: 578px) {
	.fc .fc-toolbar-title {
		font-size: 1.30em;
		text-align: center;
		margin-bottom: 10px;
	}

	.fc-label-start-time,
	.fc-label-end-time {
		font-size: 12px;
	}

	.fc-event.fc-event-start.fc-event-end.fc-event-past.fc-daygrid-event.fc-daygrid-dot-event {
		padding: 2px;
	}

	.fc-daygrid-event-harness .fabrikEvent.label {
		display: -webkit-box !important;
		-webkit-box-orient: vertical !important;
		-webkit-line-clamp: 3 !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		white-space: normal !important;
		word-break: break-word !important;
	}

}

/* Larger desktop icons */
@media (min-width: 1024px) {
	.fc-header-toolbar.navstyle-icons .btn-group button span {
		font-size: 40px !important;
	}

	.fc-label-start-time {
		margin-left: 5px;
	}
}

/**** legend *****/
.calendar-legend{
	margin:10px;padding:5px;
	border:1px solid #dddddd;
}

.calendar-legend ul{
	list-style:none !important;
	padding:0;
	margin:0;
}

.calendar-legend li{
	clear:left;
	padding:3px;
	background-image:none !important;
}

.calendar-legend li div{
	float:left;
	width:15px;
	height:15px;
	border:1px solid #dddddd;
}

.calendar-legend li span{
	padding-left:5px;
}

/*** end legend ***/

/* Hide the label column when editing the visualization in the admin */
#plg-visualization-fullcalendar-params > div > div.control-label {
    display: none;
}	

/* Change the remove minus sign to a trash can so as not to confuse it as a minimize */
.group-remove .icon-minus::before {
    content: "\f014"; /* Unicode for trash icon */
}