@font-face {
	font-family: 'Open Sans Variable';
	src: url('/fonts/open-sans-latin-variable-wghtOnly-normal-QMW67UFA.woff2') format('woff2');
	font-weight: 100 900;
	font-stretch: 75% 100%;
	font-style: normal;
}

@font-face {
	font-family: 'Merriweather Sans Variable';
	src: url('/fonts/merriweather-sans-latin-variable-wghtOnly-normal-XPBQCZTS.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
}

/* typography & global styles */
body {
	font-family: 'Open Sans Variable', sans-serif;
	background-color: #F9FAFB;
	color: #1F2937;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand,
.nav-text strong {
	font-family: 'Merriweather Sans Variable', sans-serif;
	font-weight: 600;
	font-feature-settings: normal;
}

/* header & footer styling */
#HeaderDiv,
#FooterDiv {
	background-color: rgb(8, 37, 80);
	color: #FFFFFF;
	justify-content: center;
	position: relative;
}

#HeaderDiv h1 {
	font-weight: 800;
	font-size: 36px;
	margin-top: 0;
	margin-bottom: 0.8888889em;
	line-height: 40px;
	letter-spacing: -0.9px;
}

#HeaderDiv p {
	font-size: 16px;
	line-height: 28px;
}

#HeaderDiv h1,
#HeaderDiv p,
#HeaderDiv span,
#HeaderDiv div {
	color: #FFFFFF;
}

#HeaderDiv img {
	border-radius: 0.75rem;
	object-fit: cover;
	width: 100%;
}

#FooterDiv {
	font-size: 16px;
}

#FooterDiv .text-uppercase {
	color: rgb(133, 163, 212);
	font-size: 14px;
	font-weight: 400;
}

#FooterDiv hr {
	border-color: #2B5C82;
	margin: 2rem 0;
}

#FooterDiv ul li {
	margin-bottom: 1.25rem;
}

#FooterDiv .footer-logo {
	margin-right: 0 !important;
	padding-right: 0 !important;
}

#FooterDiv .btn {
	border-radius: 9999px;
	font-weight: 600;
}

/* footer links with underline */
.footer-link {
	position: relative;
	display: inline;
	color: #ffffff;
	text-decoration: none;
	margin-bottom: 0.5rem;
	padding-bottom: 0.25rem;
	transition: color 0.3s;
}

.footer-link::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 3px;
	background-color: #FFD400;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.1s ease-out;
}

.footer-link:hover::after,
.footer-link:focus::after {
	transform: scaleX(1);
}

.footer-link:hover,
.footer-link:focus {
	color: #FFFFFF;
	text-decoration: none;
}

/* nav bar container */
.custom-nav-container,
#NavBar,
.navbar-custom {
	overflow-y: visible !important;
	overflow-x: clip !important;
	max-height: none !important;
}

.custom-nav-container {
	overflow-x: hidden;
}

@media (max-width: 1300px) {
	.custom-nav-container {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}

/* nav bar */
#NavBar.navbar-custom {
	background-color: rgb(8, 37, 80);
	color: white;
	padding: 0.75rem 0;
	width: 100%;
}

#NavBar .nav-left img {
	margin-left: 0.5rem;
	margin-right: 1.5rem;
}

/* nav links */
.navdcc,
#NavBar .navdcc {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 1rem;
	font-size: 14px;
	white-space: nowrap;
	max-width: 100%;
	flex-direction: row;
}

#NavBar .nav-item {
	padding-right: 0.5rem;
}

#NavBar .navdcc .nav-item a {
	color: white;
	text-decoration: none;
	font-weight: 600;
}

/* nav underline effect */
.nav-link-underline {
	position: relative;
	display: inline-block;
	color: white !important;
	text-decoration: none !important;
	font-weight: 600;
	padding-bottom: 0.25rem;
	line-height: 1.2;
	background: transparent;
	z-index: 1;
}

.nav-link-underline::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 3px;
	background-color: #FFD400;
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.15s ease-out;
}

.nav-link-underline:hover::after,
.nav-link-underline:focus::after {
	transform: scaleX(1);
}

.nav-link-underline:hover,
.nav-link-underline:focus {
	color: white !important;
}

/* nav dropdown menu */
.custom-dropdown .dropdown-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background-color: #1D3863;
	min-width: 400px;
	margin-top: 0;
	padding: 0.75rem;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
	border: none;
	z-index: 1050;
	overflow: visible !important;
}

.custom-dropdown .dropdown-entry {
	display: block;
	padding: 0.75rem;
	text-decoration: none;
	color: white;
	background-color: transparent;
	transition: background-color 0.2s ease;
	border-radius: 0.5rem;
	max-width: 30rem;
	white-space: normal;
	word-wrap: break-word;
}

/* hover darkens nav dropdown block */
.custom-dropdown .dropdown-entry:hover {
	background-color: #082550;
	color: white;
	text-decoration: none;
}

/* nav dropdown heading inside each block */
.custom-dropdown .dropdown-entry h5 {
	font-family: 'Merriweather Sans Variable', sans-serif;
	font-weight: 600;
	font-size: 1rem;
	margin: 0;
	color: white;
}

/* nav dropdown subheading text */
.custom-dropdown .dropdown-entry p {
	font-family: 'Merriweather Sans Variable', sans-serif;
	font-weight: 100;
	font-size: 0.85rem;
	margin: 0.25rem 0 0;
	color: #cbd5e1;
}

.custom-dropdown .caret-icon {
	font-size: 0.65rem;
	color: white;
	transition: transform 0.2s ease;
	vertical-align: middle;
	margin-left: 0.4em;
	display: inline-block;
}

.custom-dropdown:hover .caret-icon {
	transform: rotate(180deg);
}

/* nav dropdown behavior */
.custom-dropdown {
	position: relative;
}

.custom-dropdown:hover .dropdown-menu {
	display: block;
}

.custom-dropdown > a {
	cursor: pointer;
}

.nav-item.dropdown:hover > a::after {
	transform: rotate(180deg);
	transition: transform 0.2s ease;
}

/* buttons -tailwind style */
button,
.btn,
.custom-select {
	padding: 0.5rem 1.25rem;
	border-radius: 9999px;
}

.super-rounded,
.super-rounded.show,
.super-rounded:focus,
.super-rounded:active {
	border-radius: 9999px !important;
}

.btn-primary {
	background-color: #3B82F6;
	border: none;
	font-weight: 500;
	transition: background-color 0.2s ease;
}

.btn-primary:hover {
	background-color: #2563EB;
}

.btn-custom-footer,
.btn-custom-nav {
	background-color: rgba(43, 92, 130, 0.2);
	color: #ffffff;
	border: 1px solid #2B5C82;
	border-radius: 9999px;
	padding: 0.5rem 1.25rem;
	font-weight: 600;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-custom-footer:hover,
.btn-custom-nav:hover {
	background-color: rgba(43, 92, 130, 0.4);
	border-color: #2B5C82;
	color: #ffffff;
}

.btn-custom-nav {
	font-size: 14px;
}

/* selectpicker + inputs */
.bootstrap-select .btn.dropdown-toggle {
	border-radius: 9999px !important;
	border: 1px solid #6c757d;
}

.bootstrap-select .dropdown-menu {
	border-radius: 0.75rem;
}

input[type="search"],
select {
	border-radius: 9999px;
	border: 1px solid #D1D5DB;
	padding: 0.5rem;
	font-size: 0.875rem;
}

/* misc layout */
#MainDiv {
	margin-top: 25px;
}

.rounded-layout,
.card,
.modal input,
.modal select,
.modal textarea {
	border-radius: 0.75rem;
}