/*
* TSMPD fullcalendar styles
*/

/* Make calendar full width */
#calendar {
	width: 100%;
}

/* --- MONTH VIEW --- */

/* Increase padding of events */
.fc-daygrid-event {
	padding: 4px;
	display: block;
	white-space: inherit;
}
	/* Fullday events */
	.fc-h-event .fc-event-main-frame {
		display: block;
	}
		/* Increase padding of evenets */
		.fc-direction-ltr .fc-daygrid-event {
			padding: 6px;
		}
		.fc-direction-ltr .fc-daygrid-event.fc-event-start,
		.fc-direction-rtl .fc-daygrid-event.fc-event-end {
			margin-left: 4px;
		}
		.fc-direction-ltr .fc-daygrid-event.fc-event-end,
		.fc-direction-rtl .fc-daygrid-event.fc-event-start {
			margin-right: 4px;
		}
			/* Make event start and end time full width (forces event title on next line) */
			.fc-direction-ltr .fc-daygrid-event .fc-event-time {
				display: block;
				width: 100%;
				margin-right: 0;
				white-space: inherit;
				font-size: 15px;
				font-weight: bold;
			}
			/* Force long titles and descriptions to go to next line */
			.fc-daygrid-event .fc-event-title {
				white-space: inherit;
				display: block;
				font-size: 13px;
				font-weight: normal;
			}
			/* Event descriptions */
			.fc-daygrid-event .fc-event-title span {
				display: block;
				font-size: .8em;
			}
	


/* --- WEEK VIEW --- */

/* Increase padding of events */
.fc-timegrid-event {
	padding: 4px;
}
	/* Make event time bold (like in month view) */
	.fc-timegrid-event .fc-event-time {
		display: block;
		width: 100%;
		font-size: 1em;
		font-size: 15px;
		font-weight: bold;
	}
	/* Force long titles and descriptions to go to next line */
	.fc-timegrid-event .fc-event-title {
		white-space: inherit;
		display: block;
		font-size: 13px;
		font-weight: normal;
	}
	/* Event descriptions */
	.fc-timegrid-event .fc-event-title span {
		display: block;
		font-size: .8em;
	}


/* --- LIST VIEW --- */

/* Increase padding of events */
#calendar .fc-list-event td {
	padding: 10px;
}
	/* Event descriptions */
	.fc-list-event .fc-list-event-title span {
		display: block;
		font-size: .8em;
		margin: .2em 0 0 0;
	}



/* --- PRINT VIEW --- */

/* Print title */
.bbcal-print-title {
	text-align: center;
}
/* Print header title */
.bbcal-print-calendar #calendar .fc-toolbar.fc-header-toolbar h2.fc-toolbar-title {
	color: #000;
}
/* Print footer */
.bbcal-print-footer {
	text-align: center;
}

@media print {
	/* Hide header and footer buttons, and keep header title */
	.bbcal-print-calendar .fc-header-toolbar .fc-toolbar-chunk:nth-child(1),
	.bbcal-print-calendar .fc-header-toolbar .fc-toolbar-chunk:nth-child(3),
	.bbcal-print-calendar .fc-footer-toolbar {
		display: none;
	}
	/* Align header title to middle */
	.bbcal-print-calendar .fc-header-toolbar .fc-toolbar-chunk:nth-child(2) {
		width: 100%;
	}
	.bbcal-print-calendar .fc-header-toolbar .fc-toolbar-chunk .fc-toolbar-title {
		text-align: center;
	}
	/* Don't highlight today */
	.bbcal-print-calendar .fc .fc-daygrid-day.fc-day-today {
		background-color: transparent;
	}
	/* Override inline width set in px */
	.bbcal-print-calendar .fc .fc-scrollgrid-sync-table,
	.bbcal-print-calendar .fc .fc-daygrid-body,
	.bbcal-print-calendar .fc .fc-col-header {
		width: 100% !important;
	}
}



/* --- MOBILE VIEW --- */
@media screen and (max-width: 700px) {
	
	.fc .fc-toolbar {
		display: block;
	}
		.fc-toolbar .fc-toolbar-chunk:nth-child(1) .fc-button-group {
			display: none;
		}
		.fc-toolbar .fc-toolbar-chunk:nth-child(2) {
			text-align: center;
			padding: 1em 0;
		}
		.fc-toolbar .fc-toolbar-chunk:nth-child(3) .fc-button-group {
			float: right;
		}
	
} /* @media */



/* Salient theme CSS fixes */

/* Table */
body:not(.woocommerce-cart) .main-content .salient .fc-daygrid table,
body:not(.woocommerce-cart) .main-content .salient .fc-timegrid table,
body:not(.woocommerce-cart) .main-content .salient .fc-list table {
	margin: 0;
}
/* Body TD */
body:not(.woocommerce-cart) .main-content .salient .fc-daygrid td,
body:not(.woocommerce-cart) .main-content .salient .fc-daygrid th,
body:not(.woocommerce-cart) .main-content .salient .fc-timegrid td,
body:not(.woocommerce-cart) .main-content .salient .fc-timegrid th {
	padding: 0;
	font-size: 15px;
	line-height: 1.5;
}
body:not(.woocommerce-cart) .main-content .salient .fc-list th {
	padding: 0;
	font-size: 17px;
	line-height: 1.5;
}
body:not(.woocommerce-cart) .main-content .salient .fc-list td {
	font-size: 15px;
	line-height: 1.5;
}
/* Header TH */
body:not(.woocommerce-cart) .main-content .salient .fc-daygrid th.fc-col-header-cell,
body:not(.woocommerce-cart) .main-content .salient .fc-timegrid th.fc-col-header-cell {
	text-align: center;
	padding: 1em;
	font-size: 17px;
	line-height: 1.5;
}
.fc.salient .fc-list-day-cushion {
	padding: 1em;
}
/* Events */
.fc.salient .fc-daygrid a,
.fc.salient .fc-timegrid a,
.fc.salient .fc-list a {
	color: #000;
}
/* Day numbers */
.fc.salient .fc-daygrid-day-number {
	font-size: 18px;
	font-weight: bold;
}