/* General Styling */

body {
	background: rgba(244, 243, 237, 0.97);
	border-top: 20px solid #162f38;
	color: #212529;
	font-family: 'Open Sans', sans-serif;
	font-size: 1rem;
	font-style: normal;
	font-weight: 400;
}

body .container {
	background-color: #ffffff;
}

#content-body {
	padding-top: 0;
	padding-bottom: 0;
}

#content-body > .container {
	min-height: 550px;
	border-bottom: 1px solid #eeeeee;
	padding: 20px;
}

a {
	color: #4b85a0;
	text-decoration: underline;
}

a:hover,
a:focus {
	color: #4b85a0;
	text-decoration: none;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: 'Open Sans', sans-serif;
	font-style: normal;
    font-stretch: 75%;
	font-weight: 700;
}


/* Page Header */

header {
	background-color: #ffffff;
}

header .container {
	background-color: transparent;
	padding: 20px 15px;
	text-align: center;
}

header img {
	max-width: 100%;
	height: auto !important;
}


/* Navigation */

.navbar {
	background: #ffffff;
    box-shadow: 0 15px 10px -15px rgb(0 0 0 / 7%);
}

.navbar .offcanvas {
	background-color: #ffffff;
}
	
.navbar .offcanvas .nav-link {
	color: #113036;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
}

.navbar .offcanvas .nav-link:hover,
.navbar .offcanvas .nav-link:focus {
	background-color: #ffffff;
	color: #4c859f;
	text-decoration: underline;
}

.navbar .offcanvas .nav-item.active .nav-link {
	background-color: #ffffff;
	color: #4c859f;
	font-weight: 700;
}

.navbar-toggler {
    background: #ffffff;
	border: none;
	border-radius: 0;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
	background: #4c85a0;
}

.navbar-toggler .navbar-toggler-icon {
	filter: invert(1);
}

.navbar-toggler:hover .navbar-toggler-icon,
.navbar-toggler:focus .navbar-toggler-icon {
	filter: invert(0);
}

.navbar .offcanvas .offcanvas-header .btn-close {
	filter: invert(0);
	opacity: 1;
}


/* Page Footer */

footer {
	padding-bottom: 75px;
	background: #ffffff url('https://s3.amazonaws.com/ppwebassets/release/31288/a400eeaa-8175-43a7-99f5-1a6859fdbf81.png') left bottom repeat-x;
	color: #000000;
}

footer.mt-auto {
	margin-top: 0 !important;
}

footer .container {
	padding-top: 20px;
	background: transparent;
}

footer .container a {
	color: #4b85a0;
	text-decoration: underline;
}

footer .container a:hover,
footer .container a:focus {
	color: #4b85a0;
	text-decoration: none;
}

.footerLeft h3 {
	margin-top: 0;
	color: #4b85a0;
}

.footerRight img {
	max-width: 100%;
	margin-bottom: 20px;
}


/* Buttons */

.btn-primary {
	background-color: #4b85a0;
	border:2px solid #4b85a0;
	color: #ffffff;
}

.btn-primary:hover, 
.btn-primary:focus {
	background-color: #e0e0e0;
	border: 2px solid #e0e0e0;
	color: #162e38;
}

.btn-outline-primary, 
.btn-right, .btn-left {
	background-color: #ffffff;
	border: 2px solid #4b85a0;
	color:#4b85a0;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus, 
.btn-right:hover, .btn-left:hover,
.btn-right:focus, .btn-left:focus {
	background-color: #e8ebee;
	border: 2px solid #e0e0e0;
	color:#162e38;
}

.btn-search,
.btn-reset {
    font-weight: 700;
}


/* Search Results */

.search-results-info h2 {
	color: #4c85a0;
}

.search-result-text h3 {
	font-stretch: unset;
	font-weight: 400;

}
.search-result-title {
    color: #4b85a0;
    text-decoration: none;
}

.search-result-title:hover,
.search-result-title:focus {
	color: #162e38;
	text-decoration: none;
}

mark {
	background: #e3e1dc;
	font-weight: 700;
	color: #000000;
}


/* Modals */

.custom-knockout-modal .modal-content .modal-header {
	background-color: #4c85a0;
}

.modal-title {
	color: #ffffff;
	font-size: 2rem;
}

.custom-knockout-modal .modal-content .modal-header .btn-close {
	filter: invert(1);
}

/* Hide "View Image Metadata" link on large image viewer */
#large-image-popup-template-modal .metadata-btn {
	display: none;
}



/* Record Detail Pages */

.side-images-container .side-img-container:only-child img {
	width: 210px;
}


/* Home Page */
.banner {
	width: calc(100% + 40px);
	margin-top: -20px;
	margin-left: -20px;
	background: #44788f url(https://s3.amazonaws.com/ppwebassets/release/31288/a400eeaa-8175-43a7-99f5-1a6859fdbf81.png) center top repeat-x;
	background-size: cover;
}

.overlay {
	padding:20px 10px;
	background-color: rgba(76, 133, 159, 0.85);
	color: #ffffff;
	text-align: center;
}

.overlay h1 {
	margin: 0;
	line-height: 1;
	color: #ffffff;
}


/* Media Queries */

@media (min-width: 768px) {
	html {
		background: url(https://s3.amazonaws.com/ppwebassets/release/31288/1a06b3c7-c2a1-46a0-ae37-0c22ae5bfc8b.png) left center repeat;
		background-size: 1000px;
	}
	header .container {
		text-align: left;
	}
	footer .container {
		display: flex;
		flex-flow: row nowrap;
		justify-content: space-around;
	}
	.footerLeft {
		flex: 1;
		text-align: left;
	}
	.footerRight {
		flex: 1;
		text-align: right;
	}
}