@import './src/scss/_imports/_global-import';


/*.panel {
	.panel-content.p-0 {
		.fc-bootstrap {
			table {
				border-left: none;
				border-right: none;

				td:first-child,
				th:first-child {
					border-left: none;
				}

				td:last-child,
				th:last-child {
					border-right: none;
				}
			}
		}

		.fc-toolbar.fc-header-toolbar,
		.fc-toolbar.fc-footer-toolbar {
			padding: 1rem;
			margin: 0;
		}

		.fc-row.fc-rigid:last-child {
			td,
			th {
				border-bottom: none;
			}
		}

	}
}
*/

.fc-day-grid-event .fc-time {
	display: block;
}

.fc-day-grid-event .fc-content {
	padding: 0.25rem 0.5rem;
}

.fc-popover .fc-header {
	padding: 0.5rem 0.75rem;
}

.fc-more-popover .fc-event-container {
	padding: 0.5rem;	
}

.fc-popover .fc-header .fc-title {
	font-weight: bold;
}

.fc-toolbar h2 {
	font-size: 1rem;
	font-weight: 500;
	text-transform: uppercase;
}
   
.fc-event, 
.fc-event-dot {
	background: $primary-400;
}

.fc-event {
	border: 1px solid $primary-600;
}


.fc-day-top.fc-other-month {
	opacity: 1;
}

.fc-other-month {
    background-image: linear-gradient(135deg,rgba(0,0,0,.02)25%,transparent 25%,transparent 50%,rgba(0,0,0,.02)50%,rgba(0,0,0,.02)75%,transparent 75%,transparent);
    background-color: #FAFCFD;
    background-size: 1rem 1rem;
}

/*.fc-day.fc-other-month.fc-future {
	background-color: lighten($success-50, 25%);
}
*/


.fc-head-container thead tr {
    background-image: linear-gradient(to top,#f2f2f2 0,#fafafa 100%);
}

@media only screen and ( max-width: map-get($grid-breakpoints, md) ){
	/*.panel {
		.panel-content.p-0 {
			.fc-toolbar.fc-header-toolbar,
			.fc-toolbar.fc-footer-toolbar {
				padding: $panel-spacer-y/2 10px;
			}

		}
	}*/

	.fc-day-grid-event .fc-time {
		display: inline;
	}	

	.fc-bootstrap:not(.fc-reset-order) {
		.fc-toolbar {
			flex-direction: column;

			h2 {
				font-size: 1.125rem;
				font-weight: 500;
			}

			
			.fc-left {
				order: 1;
			}
			.fc-right {
				order: 2;
			}
			.fc-center {
				order: 3;
			}

			> div:not(:empty):not(:first-child) {
				margin-top: 0.5rem;
			}
		}
	}
}