/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/
@media (max-width: 991px) {

	#top-bar {
		display: none !important;
	}

	#header,
	#header-wrap {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		width: 100% !important;
		z-index: 99999 !important;
		transform: none !important;
	}

	#header {
		height: auto !important;
	}

	#header-wrap {
		background: #fff !important;
	}

	.header-wrap-clone {
		display: none !important;
	}

	body {
		padding-top: 80px !important;
	}
}

.masonry-thumbs .grid-item {
	position: relative;
	display: block;
	line-height: 0;
	overflow: hidden;
}

.masonry-thumbs .grid-item img {
	display: block;
	width: 100%;
}

.masonry-thumbs .grid-item i {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
}

/* Calendario weekly class schedule */
.events-calendar-header h2 {
	content: "Class Schedule";
}

.fc-calendar .fc-body .fc-row {
	display: flex !important;
	min-height: 260px;
	height: auto !important;
}

.fc-calendar .fc-body .fc-row:nth-child(n+2) {
	display: none !important;
}

.fc-calendar .fc-body .fc-row > div {
	width: 14.285% !important;
	min-height: 260px;
	height: auto !important;
	float: none !important;
	position: relative;
}

.fc-calendar .fc-content {
	display: block !important;
	opacity: 1 !important;
	padding: 35px 10px 10px;
}

.fc-calendar .fc-content a {
	display: block;
	color: #fff;
	font-size: 13px;
	line-height: 1.35;
	text-decoration: none;
	margin-bottom: 8px;
}

.fc-calendar .fc-content a:hover {
	color: #7ac943;
}

.fc-calendar .fc-content strong {
	display: block;
	font-size: 12px;
	color: #7ac943;
}

.class-book-small {
	display: inline-block !important;
	width: auto;
	margin-top: 3px;
	padding: 3px 8px;
	background: #3b893e;
	color: #fff !important;
	font-size: 11px !important;
	font-weight: 700;
	border-radius: 3px;
}

.fc-calendar .fc-content span:empty {
	display: none !important;
}

.fc-calendar .fc-body {
	height: auto !important;
	min-height: 0 !important;
}

.fc-calendar .fc-row {
	height: auto !important;
	min-height: 260px !important;
}

.fc-calendar .fc-row:nth-child(n+2) {
	display: none !important;
}

.fc-calendar-container,
.events-calendar {
	height: auto !important;
	min-height: 0 !important;
}
/* App Download Buttons
-------------------------------------------------- */
.app-download-buttons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.app-download-buttons a {
	display: block;
	width: 200px;
}

.app-download-buttons img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 575px) {
	.app-download-buttons {
		display: block;
		text-align: center;
	}

	.app-download-buttons a {
		width: 220px;
		margin: 0 auto 12px;
	}

	.app-download-buttons a:last-child {
		margin-bottom: 0;
	}
}

/* Keep top bar and main navigation visible on desktop */
@media (min-width: 992px) {

	#top-bar {
		position: sticky;
		top: 0;
		z-index: 1001;
	}

	#header.sticky-header #header-wrap {
		top: 39px !important;
	}

}