/* C40 Tagged Events */
#c40 {
	color: #184F2C;
	font-family: 'Neue Helvetica Condensed';
	display: flex;
	flex-flow: column nowrap;
	max-width: 100%;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	background-color: #f5f7f6;
	font-weight: 700;
}

#c40 .component-header {
	padding-top: 30px;
}

#c40 h3 a {
	color: #000000;
	font-family: 'Neue Helvetica Condensed';
	font-weight: 300;
	font-size: 2.5rem;
	margin: 20px;
}

#c40 h3 span {
	color: #CED54A;
	font-family: 'Neue Helvetica Condensed';
	font-weight: 700;
}

#c40 .main-content {
	width: 100%;
	display: flex;
	justify-content: center;
}

#c40 .calendar {
	width: 90%;
	display: grid;
	align-items: center;
	grid-template-columns: 1fr;
	grid-template-rows: auto 1fr;
	justify-items: center;
}

#c40 .calendar h4 {
	width: 100%;
	max-width: 2075px;
	font-size: 1.5rem;
	align-self: flex-start;
	margin-block: 30px 0;
	color: #184F2C;
	font-weight: 600;
}


#c40 .calendar .row h4 {
	margin: 30px 0;
}

#c40 .week {
	width: 100%;
	max-width: 1900px;
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto;
	grid-column-start: 1;
	grid-column-end: span 1;
	grid-row-start: 2;
	grid-row-end: span 1;
}

#c40 .week:nth-child(1) {
	grid-column-start: 1;
	grid-column-end: span 1;
	grid-row-start: 1;
	grid-row-end: span 1;
}

#c40 .week:nth-child(2) {
	grid-column-start: 1;
	grid-column-end: span 1;
	grid-row-start: 2;
	grid-row-end: span 1;
}

#c40 .week:nth-child(3) {
	grid-column-start: 1;
	grid-column-end: span 1;
	grid-row-start: 3;
	grid-row-end: span 1;
}

#c40 .week:nth-child(4) {
	grid-column-start: 1;
	grid-column-end: span 1;
	grid-row-start: 4;
	grid-row-end: span 1;
}

#c40 .week:nth-child(5) {
	grid-column-start: 1;
	grid-column-end: span 1;
	grid-row-start: 5;
	grid-row-end: span 1;
}

#c40 .week:nth-child(6) {
	grid-column-start: 1;
	grid-column-end: span 1;
	grid-row-start: 6;
	grid-row-end: span 1;
}

#c40 .week:nth-child(7) {
	grid-column-start: 1;
	grid-column-end: span 1;
	grid-row-start: 7;
	grid-row-end: span 1;
}

#c40 .row {
	margin-left: 25px;
	border-bottom: 1px solid #646464;
}

#c40 .row:last-child {
	border-bottom: initial;
}

#c40 .day {
	height: 65px;
	display: flex;
	gap: 50px;
	align-items: center;
	width: 100%;
	margin: 30px 0;
}

#c40 .date {
	height: 100%;
	padding: 0 20px;
	background-color: rgba(255, 255, 255, .1);
	border-radius: 10px;
	box-shadow: 0 8px 32px 0 rgb(31, 38, 135, .04);
	border: 1px solid rgba(255, 255, 255, 1);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

#c40 .date-link {
	height: 100%;
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	justify-content: center;
	text-align: center;
}

#c40 .date a {
	text-decoration: none;
}

#c40 .day h5 {
	margin: 0;
	text-transform: uppercase;
	width: 100%;
	font-size: 1.7rem;
	line-height: 1.2;
	color: #184F2C;
}

#c40 .date-link h5:first-child {
	margin: 0;
	text-transform: uppercase;
	width: 100%;
	font-size: 1.2rem;
	color: #CED54A;
}

#c40 .events {
	height: 85%;
}

#c40 .events .location {
	display: flex;
	flex-flow: row wrap;
	gap: 20px;
	margin: initial;
}

#c40 .events .location h6:first-child {
	text-transform: uppercase;
}

#c40 a {
	text-decoration: none;
}

#c40 .event-link {
	height: 100%;
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-between;
}


#c40 .time-range {
	display: flex;
	flex-flow: row nowrap;
	gap: 5px;
}

#c40 .events h6,
#c40 .events .location h6 {
	color: #646464;
	font-family: 'Neue Helvetica Condensed';
	font-weight: 500;
	font-size: .9rem;
	margin: 0px;
	text-transform: uppercase;
}

#c40 .event-link .event-name {
	font-size: 1.2rem;
	color: #184F2C;
	text-transform: initial;
}

#c40 .all-events {
	height: 150px;
	min-height: 15px;
	max-height: 100px;
	display: flex;
	justify-content: start;
	align-items: flex-end;
	flex-direction: column;
	padding-inline: 25px;
}

#c40 a:not(.btn-effect01) {
	line-height: 1.3;
	position: relative;
}

#c40 a:hover .event-name,
#c40 a:hover .time,
#c40 a:hover .location h6 {
	color: #CED54C;
}

@media (max-width: 787px) {

	#c40 .row {
		margin-left: 10px;
	}

	#c40 .day {
		/* height: 130px; */
		gap: 25px;
	}

	#c40 .date {
		height: 70%;
		padding: 5px 15px;
	}

	#c40 .date-link h5:first-child {
		font-size: .9rem;
	}

	#c40 .day h5 {
		font-size: 1.3rem;
	}

	#c40 .events .location {
		display: flex;
		flex-flow: row wrap;
		gap: 10px;
		margin: initial;
	}
}

/* End C28 Upcoming Events */