* {
	box-sizing: border-box;
}
.nav-mobile-switch {
	width: auto;
}

#page-intro li {
	padding: 4px 4px;
}
#eligibility li {
	margin: 2%;
}

option.index-PRIVATE,
option.index-OUTOFSTATE {
	display: none;
}

details {
	margin-bottom: 15px;
}

summary {
	font-weight: bold;
	cursor: pointer;
}

/* Basic FAQ container styling */
.faq-item {
	margin-bottom: 1em;
	border: 1px solid #ddd;
	border-radius: 5px;
	transition: all 0.3s ease;
}

/* Styling for the summary/question part */
.faq-item summary {
	padding: 1em;
	cursor: pointer;
	list-style: none; /* Removes default arrow icon in some browsers */
	background-color: #f5f5f5;
	font-weight: bold;
	border-radius: 5px 5px 0 0; /* Rounded corners on top */
}

/* Styling when the details are open */
.faq-item[open] {
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.faq-item[open] summary {
	border-radius: 5px 5px 0 0; /* Re-emphasize the rounded corners on top when expanded */
}

/* Styling for the answer/content part */
.faq-item p {
	padding: 1em;
	margin: 0;
	border-top: 1px solid #ddd;
}

/* Add an arrow indicator for visual cue */
.faq-item summary .arrow {
	display: inline-block;
	margin-right: 10px;
	transition: transform 0.3s ease;
}

.faq-item[open] summary .arrow {
	transform: rotate(90deg); /* Rotate arrow when expanded */
}

.content {
	max-width: 980px;
	margin: 0 auto;
	padding: 20px;
}

h2 {
	color: #333;
	margin-bottom: 15px;
	font-weight: bold;
}

.content p,
ul {
	line-height: 1.6;
}

.content ul {
	margin-bottom: 15px;
}
.content li {
	margin-top: 10px;
	margin-left: 40px;
}

.faq p {
	font-size: medium;
}

.bio-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.instructor-bio-image {
	width: 75px;
	height: 75px;
	border-radius: 50%;
	object-fit: cover;
	/* margin-bottom: 10px; */
}

.card-container {
	display: flex;
	justify-content: space-between;
	margin-bottom: 16px;
}

.card {
	background-color: #f6fced;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	transition: 0.3s;
	width: 27.5vw;
	height: 100%;
	margin: 20px 1%;
	padding: 20px;
	text-align: center;
	border-radius: 5px;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 10px;
}

.card:nth-child(3) {
	width: 45vw;
}

.card > div,
.advisor-card > div {
	flex: 1 0;
	padding: 0 10px;
	display: flex;
	flex-direction: column;
	height: 100%;
	/* align-self: flex-start; */
}

.card:hover,
.advisor-card:hover {
	box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.card-title {
	min-height: 80px;
	font-weight: bold;
}

.card-description {
	height: 100px;
}
.card > div a {
	color: #fff;
	text-decoration: none;
}

.card-btn {
	margin-top: auto;
	display: inline-block;
	padding: 10px;
	background-color: #a1c25e;
	border-radius: 5px;
	align-self: center;
}
.card-btn:hover {
	background-color: #cbdda6;
	color: #fff;
}

#advisors {
	width: 80%;
	margin: auto;
}

.advisor-card {
	display: flex;
	flex-direction: row;
	align-items: center;
	background-color: #fcfbed;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
	/* margin: 20px; */
	padding: 20px;
	border-radius: 5px;
}

.advisor-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 10px;
	gap: 10px;
}

.advisor-card .cta {
	display: inline-block;
	padding: 7px;
	background-color: #a96a23;
	color: #fff;
	border-radius: 5px;
	text-decoration: none;
	font-size: 95%;
}

.advisor-card .cta:hover {
	background-color: #cba57b;
	color: #fff;
}

.advisor-card-name {
	font-size: 18px;
	color: #036;
	margin-bottom: 15px;
	text-align: center;
}

.advisor-card-content {
	padding-left: 15px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.advisor-card img {
	width: 75px; /* adjust as needed */
	height: 75px; /* adjust as needed */
	border-radius: 50%;
	object-fit: cover;
}
.contact-info {
	margin-block: 20px;
}
.translation-btn {
	padding: 10px 20px;
	margin: 10px;
	font-size: 1em;
	border: none;
	border-radius: 5px;
	background: #007bff;
	color: #fff;
	cursor: pointer;
}

.translation-btn:hover {
	background: #0056b3;
}

/* Center the buttons */
.translation-btn-container {
	display: flex;
	justify-content: center;
}

.tab {
	padding: 10px 20px;
	margin: 10px;
	font-size: 1em;
	border: none;
	background: #007bff;
	color: #fff;
	cursor: pointer;
}

.tab:hover {
	background: #0056b3;
}

/* Selected tab style */
.tab-selected {
	background: #0056b3;
}

/* Center the tabs */
.tab-container {
	margin-top: 20px;
	display: flex;
	justify-content: center;
}

#fccn-heading {
	width: 100%;
	margin: 0px;
	background: url('../images/program/hero-DOE_fccn_home.png');
	/* background-position: center; */
	background-repeat: no-repeat;
	background-size: cover;
	border-bottom: 3px solid #84a73f;
	height: 700px;
	display: flex;
	justify-content: center;
	align-items: end;
}

#fccn-subpage-heading {
	width: 100%;
	margin: 0px;
	background: url('../images/program/hero-DOE_fccn_subpage.png');
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	border-bottom: 3px solid #84a73f;
	height: 800px;
	display: flex;
	justify-content: center;
	align-items: end;
}

.heading-description {
	margin-bottom: 130px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 42%;
	position: relative;
	text-align: center;
	background-color: white;
	opacity: 0.9;
	padding: 1%;
	border-radius: 10px;
}

.logos {
	display: flex;
	justify-content: center;
	align-items: center;
}

.logos img {
	height: 50px;
	margin: 10px;
}

.alert-danger {
	display: flex;
	padding: 1rem;
	margin-bottom: 1rem;
	font-size: 0.875rem;
	color: #991b1b;
	background-color: #fef2f2;
	border-radius: 0.5rem;
}

.alert-icon {
	flex-shrink: 0;
	display: inline;
	width: 1rem;
	height: 1rem;
	margin-right: 0.75rem;
	margin-top: 2px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.alert-content {
	flex: 1;
}

.alert-title {
	font-weight: 500;
}

.alert-list {
	margin-top: 0.375rem;
	list-style-type: disc;
	list-style-position: inside;
	margin-left: 0;
}

.alert-list li {
	margin-top: 0.25rem;
}

.alert-list li strong {
	font-weight: 600;
}

@media screen and (max-width: 1607px) {
	.card-description {
		height: 120px;
	}
	.advisor-card .cta {
		/* padding: 5px 10px; */
		font-size: small;
		white-space: nowrap;
	}
}

@media screen and (max-width: 1464px) {
	.card-description {
		/* height: auto; */
		height: 130px;
	}
	.advisor-card {
		padding: 10px;
	}
	.advisor-card .cta {
		/* padding: 5px 10px; */
		font-size: small;
		white-space: nowrap;
	}
}

@media screen and (max-width: 1390px) {
	.card-description {
		font-size: 90%;
	}
	.card-btn {
		font-size: 90%;
	}
}

@media screen and (max-width: 1200px) {
	.card {
		width: 100%;
	}
	.card:nth-child(3) {
		width: 100%;
	}
	.card-btn {
		margin-top: 10px;
	}
	.card-container {
		flex-direction: column;
	}
	.advisor-container {
		flex-wrap: wrap;
		justify-content: center;
	}
	.advisor-card {
		width: 350px;
	}
	.advisor-card .cta {
		padding: 5px 10px;
	}
	.logos img {
		height: 35px;
		margin: 10px;
	}
	.card-title {
		min-height: 40px;
	}
	.card-description {
		height: 60px;
	}
}

@media screen and (max-width: 768px) {
	#blurb {
		font-size: 16px;
		margin-top: 16px;
		padding: 5px 0px;
	}
	.logos {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	.content {
		padding: 0px;
	}
	#apply-top {
		width: 85%;
	}
	.card {
		width: 100%;
		height: 100%;
		margin-top: 8px;
		justify-content: space-between;
		flex-direction: column;
	}
	.card:nth-child(3) {
		width: 100%;
		align-items: center;
	}
	.card > div {
		height: 100%;
		justify-content: center;
		align-items: center;
	}
	.card-description {
		font-size: 14px;
		height: auto;
		min-height: 50px;
	}
	.card-title {
		min-height: 25px;
	}
	.card-btn {
		margin-top: 10px;
	}
	.card-container {
		flex-direction: column;
		align-items: center;
	}
	.advisor-container {
		flex-direction: column;
		align-items: center;
		margin-top: 10px;
		flex-wrap: nowrap;
	}
	.advisor-container > * {
		flex-basis: 100%;
	}
	.advisor-card {
		width: 300px;
		align-items: center;
		justify-content: center;
		padding-inline: 15px;
		margin-block: 5px;
	}
	.advisor-card-content {
		font-size: 14px;
		margin-left: 10px;
	}
	.advisor-card-name {
		font-size: 16px;
	}
	section {
		margin-block: auto;
	}
	#fccn-heading,
	#fccn-subpage-heading {
		display: flex;
		justify-content: center;
		align-items: center;
		height: 450px;
	}
	.heading-description {
		width: 75%;
		left: 0;
		top: 0;
		position: relative;
		margin-bottom: 0px;
	}
	#fccn-heading h1,
	#fccn-subpage-heading h1 {
		font-size: 24px;
	}
}
