/* Precision Calibration brand overrides (teal & gold) */

:root {
	--pc-teal-dark: #0e211f;
	--pc-teal: #1a5c5a;
	--pc-gold: #c9a84c;
}

body, input, select, textarea {
	color: #f2ede5;
}

a {
	border-bottom-color: rgba(201, 168, 76, 0.5);
}

strong, b,
h1, h2, h3, h4, h5, h6 {
	color: var(--pc-gold);
}

h1.major, h2.major, h3.major, h4.major, h5.major, h6.major {
	border-bottom-color: var(--pc-gold);
}

#header > *:before {
	background: var(--pc-gold);
}

#header .logo {
	border-color: var(--pc-gold);
	display: flex;
	align-items: center;
	justify-content: center;
}

	#header .logo img {
		width: 68%;
		height: 68%;
		object-fit: contain;
	}

#header .content {
	border-color: var(--pc-gold);
}

#header nav ul {
	border-color: var(--pc-gold);
}

	#header nav ul li {
		border-left-color: var(--pc-gold);
	}

input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
	box-shadow: inset 0 0 0 1px var(--pc-gold);
	color: var(--pc-gold) !important;
}

	input[type="submit"]:hover,
	input[type="reset"]:hover,
	input[type="button"]:hover,
	button:hover,
	.button:hover {
		background-color: rgba(201, 168, 76, 0.1);
	}

	input[type="submit"].primary,
	input[type="reset"].primary,
	input[type="button"].primary,
	button.primary,
	.button.primary {
		background-color: var(--pc-gold);
		color: var(--pc-teal-dark) !important;
	}

#bg:before {
	background-image: linear-gradient(to top, rgba(14, 33, 31, 0.82), rgba(14, 33, 31, 0.82)), url("../../images/overlay.png");
}

body.is-preload #bg:before {
	background-color: var(--pc-teal-dark);
}

hr {
	border-bottom-color: rgba(201, 168, 76, 0.35);
}

/* Multi-page layout: articles are real page content, not modal popups */

#main {
	display: block;
	width: 100%;
	max-width: 44rem;
}

	#main article {
		display: block;
		opacity: 1;
		transform: none;
		position: static;
		width: 100%;
		max-width: 100%;
		background-color: transparent;
		padding: 0;
		border-radius: 0;
	}

		#main article .close {
			display: none;
		}

	#main article p.foot-note {
		font-size: 0.7rem;
		letter-spacing: 0.05rem;
		color: rgba(242, 237, 229, 0.6);
	}

#header nav ul li a.current {
	background-color: rgba(201, 168, 76, 0.15);
	color: var(--pc-gold);
}

/* Six nav items need to stack earlier than the template's original 480px breakpoint (built for 4 items) */
@media screen and (max-width: 900px) {

	#header nav ul {
		flex-direction: column;
		min-width: 10rem;
		max-width: 100%;
	}

		#header nav ul li {
			border-left: 0;
			border-top: solid 1px var(--pc-gold);
		}

			#header nav ul li:first-child {
				border-top: 0;
			}

			#header nav ul li a {
				height: 3rem;
				line-height: 3rem;
				min-width: 0;
				width: 100%;
			}

	#header nav.use-middle:after {
		display: none;
	}

}
