/* Change FC button colours */
:root {
	--fc-button-bg-color: #428bca;
	--fc-button-border-color: #428bca;
	--fc-button-active-bg-color: #337ab7;
	--fc-button-active-border-color: #337ab7;
	--fc-today-bg-color: #ddd;
	--fc-border-color: #ddd;
}

#MainContainer {
	padding-bottom: 50px;
}

#calendar {
	/* margin-top: 1em; */
	margin: 15px;
}

h2 {
	font-size: 30px !important;
	margin: 20px 0;
}

@media (max-width: 767px) {
	h2 {
		font-size: 22px !important;
	}
}

h2 small {
	display: block;
	margin: 10px 0;
}

.eventDetail {
	margin-bottom: 40px;
}

#eventNotes {
	border: solid 1px #ccc;
	padding: 15px;
	margin-bottom: 22px;
	border-radius: 4px;
	word-wrap: break-word;
}

#eventNotes h1 {
	font-size: 1.5em;
}

#eventNotes h2 {
	font-size: 1.4em;
}

#eventNotes h3 {
	font-size: 1.3em;
}

#eventNotes h4 {
	font-size: 1.2em;
}

#eventNotes h5 {
	font-size: 1.1em;
}

#eventEditor {
	display: none;
	margin: 20px 0;
	border: dotted 2px #ccc;
	padding: 10px;
}

#eventEditor textarea {
	margin: 10px 0;
	resize: vertical;
}

/* Override FC css to not truncate times */
.fc-h-event .fc-event-time {
	overflow: visible;
}

/* Override FC css to make title (Month) smaller */
.fc .fc-toolbar-title {
	font-size: 1.25em;
}

.fc-toolbar-chunk {
	padding-right: 1ex;
}

/* Override FC css to add 'today' to list view header cell */

tr.fc-day-today a.fc-list-day-side-text::after {
	content: ' (today)';
}

/* Override FC css to make today's date bold in grid view */

.fc-day-today a.fc-daygrid-day-number {
	font-weight: bold;
}

.glass {
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
	position: relative;
}

.glass>* {
	filter: blur(5px);
}

.glass:after {
	content: 'Please login to see the event calendar';
	content: attr(data-fakeMessage);
	text-align: center;
	vertical-align: middle;
	position: absolute;
	top: 40vh;
	left: 50%;
	margin-left: -10em;
	border: 2px solid crimson;
	padding: 2em;
	border-radius: 5px;
	background: #db1f4566;
}

table[data-eventId] td.editableNote {
	cursor: cell;
}

.notesHdr::after {
	float: right;
	content: "tap or click to edit";
	font-weight: normal;
	font-size: 90%;
	color: #666;
}

#PeerPaddleNotice {
	display: none;
}

#CoachPaddleNotice {
	display: none;
}

#OtherPaddleNotice {
	display: none;
}

.eventNote {
	font-size: 90%;
	color: #666;
	margin: 0.5em 0;
}

@-moz-document url-prefix() {
	#eventDatePickerField {
		padding-top: 0px;
	}

	#eventTimePickerField {
		padding-top: 0px;
	}
}

#eventDatePicker {
	margin-bottom: 2px;
}

#eventGradeField {
	margin-bottom: 2px;
}

#eventLat {
	margin-bottom: 2px;
}

#eventLong {
	margin-bottom: 2px;
}

#bkcGMapRouteSelector {
	margin-bottom: 2px;
}

div.eventPerson {
	padding-top: 1ex;
	margin-bottom: 1em;
}

div.eventPerson:nth-child(2n) {
	background-color: #f9f9f9;
}

div.eventPersonHeader {
	font-weight: bold;
}

.ECN {
	display: none;
}

.mobileNumber {
	font-weight: normal;
	color: #AAA;
}

.removeMe {
	margin: 3px 0;
}

.badgeKey {
	margin: 10px 0;
	font-size: 90%;
}

#bkcGMapCanvas {
	width: 100%;
	height: 400px;
	border: solid 1px #DDDDDD;
	overflow: hidden;
}

#bkcGMapEditor {
	display: none;
	padding-bottom: 30px;
	padding-top: 4px;
}

#newMarkerTitle {
	width: 11em;
	display: inline-block;
	margin-left: 3em;
}

.gm-style-iw table td,
.gm-style-iw table th {
	padding: 2px;
	text-align: center;
}

.typeNotice {
	margin-top: 10px;
}

#bkcNavionicsCanvas {
	display: none;
	width: 100%;
	height: 400px;
	border: solid 1px #DDDDDD;
	overflow: hidden;
	background-color: #FFFFCC;
	margin-top: 10px;
	margin-bottom: 10px;
}

.grade-container .grade {
	padding: 10px;
	margin: 10px 0;
	display: none;
}

.grade-button-bar {
	cursor: pointer;
	text-align: right;
}

.help-block {
	margin-top: 15px !important;
	margin-bottom: 10px !important;
	font-size: 90% !important;
	color: #999 !important;
}

#addEventModal textarea {
	margin: 10px 0;
	resize: vertical;
}

#addEventModal #addEventModalStatus {
	display: none;
}

#AttendanceModalPerson {
	font-weight: bold;
}

.user-paddles .remit {
	white-space: pre-wrap;
}

#StarLegendModal .modal-body {
	font-size: 90%;
}

@media print {

	h1 {
		font-size: 30px !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.badgeKey,
	.editNoteBtn,
	#addMeButton {
		display: none;
	}

	.ECN {
		display: initial;
		color: #666 !important;
	}

	div.eventPerson {
		border-top: 1pt solid black;
		page-break-inside: avoid;
	}

	#bkcGMapCanvas, #bkcNavionicsCanvas {
		display: none;
	}
}

