nav#programNav {
	background-color: rgb(0, 61, 166);
}

/* smaller screens */
@media (max-width: 767px) {
	header nav.bd_navbar {
		background-color: rgb(0, 61, 166);
	}
}

nav#programNav a {
	color: white;
}

nav#programNav > li > a:focus,
nav#programNav > li > a:hover {
	color: white;
}

.subnav {
	margin-top: 0 !important;
}

.bg {
	background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 36.38%, rgba(255, 255, 255, 0.32) 73.16%, #FFF 97.35%), linear-gradient(0deg, rgba(0, 45, 159, 0.50) 0%, rgba(0, 45, 159, 0.50) 100%), url("/programs/bdjr/images/hero-bg.jpg");
	background-color: #002D9F; /* Fallback color until hero image is added */
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	height: 46.125rem;
}

.bg-content {
	width: 100%; 
	padding-top: 5.5rem;
	padding-bottom:5.5rem;
	justify-content: space-between
}

body {
	background-color: #fff;
}

main {
	padding: 0;
}

.intro {
	color: #fff;
}

.intro .actions {
	display: flex;
	column-gap: 1rem;
}

.intro button.bdjr-join {
	background-color: #002D9F;
	color: #fff;
	border: 0.063rem solid #002D9F;
	border-radius: 0.313rem;
	padding: 0.5rem 1rem;
	font-weight: 400;
	line-height: 1.5rem;
}

.intro button.bdjr-schedule {
	background-color: #F8F9FA;
	color: #212529;
	border: 0;
	border-radius: 0.313rem;
	padding: 0.5rem 1rem;
	font-weight: 400;
	line-height: 1.5rem;
}

.intro h1 {
	font-size: 5.5rem;
	line-height: 100%;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75);
}

.intro p {
	font-style: normal;
	width: 70%;
	text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.75);
	line-height: 1.5rem;
}

.yt-video .embed-responsive-item {
	border: 0;
	height: 23.5rem;
	border-radius: 20px;
	width: 100%;
}

.bdjr-about {
	text-align: center;
	margin-bottom: 5rem;
	padding-top: 3rem;
}

.events {
    background: linear-gradient(0deg, rgba(0, 45, 159, 0.70) 0%, rgba(0, 45, 159, 0.70) 100%), url("/programs/bdjr/images/events-bg.jpg") #002D9F 50% / cover no-repeat;
    min-height: 44.125rem;
    position: relative;
}

.events > * {
    position: relative;
    z-index: 2;
}


.events-list {
	padding: 0;
	list-style: none;
	
	top: 0;
	bottom: 0;
	right: 5rem;

	display: flex;
	align-items: center;
	flex-wrap: wrap;

	margin: auto 0;
	
	height: max-content;
	row-gap: 0.625rem;
}

.events-list li:not(:last-child) {
	display: flex;
	justify-content: space-between;
	column-gap: 1.25rem;
	background-color: #fff;
	padding: 1rem;
	width: 100%;
	border-radius: 0.625rem;
	cursor: pointer;
}
.events-list li h5 {
	font-size: 1.5rem;
	font-family: 'Knockout HTF70', sans-serif;
}

.events-list li .event-title {
	color: #6C757D;
	font-weight: 500;
	font-family: 'Knockout HTF70', sans-serif;
}

.events-list li .event-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
}

.events-list li p, .events-list li h5 {
	margin: 0;
}

.events-list li.events-button {
	width: 100%;
}
.events-list li.events-button.no-events {
}

.events-list li.events-button.no-events button {
	cursor: default;
	outline: none;
	background: white;
	color: black;
}

.events-list li.events-button button {
	color: #fff;
	border: 0;
	background-color: #002D9F;
	border-radius: 0.25rem;
	padding: 0.375rem 0.75rem;
	width: 100%;
}

@media (max-width: 62rem) {
	.bg {
		margin-bottom: 2rem;
		padding-bottom: 0;
		height: auto;
	}

	.bg-content {
		flex-wrap: wrap;
		padding: 0 1.875rem;
	}

	.intro {
		width: 100%;
		padding: 0 1rem;
		margin-bottom: 2rem;
	}

	.intro p {
		width: 100%;
		margin: 2rem 0;
	}

	.yt-video {
		width: 100%;
	}

	.yt-video iframe {
		height: auto;
	}

	.events-list {
		right: 0;
		left: 0;
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width: 48rem) {
	.bg {
		height: max-content;
		padding-top: 2rem;
		padding-bottom: 2rem;
	}

	.intro h1 {
		text-align: center;
	}

	.intro p {
		text-align: center;
	}

	.intro .actions {
		justify-content: center;
	}

	.yt-video {
		max-width: 95%;
		margin-right: auto;
		margin-left: auto;
	}
	.yt-video .embed-responsive-item {
		max-height: 15rem;

	}

	.events-list {
		width: 95%;
	}

	.bg-content {
		padding: 0;
	}
}
