/* BODY */
/* ---------------------------------------------------- */
html, body {
	height: 100%;
}

body {
	font-family: var(--font-family-base, sans-serif);
	color: var(--color-text, #555);
	background-color: var(--color-body-bg, #212121);
}

/* TYPOGRAPHY */
/* ---------------------------------------------------- */
a:link,
a:visited,
a:hover,
a:active {
	color: var(--color-link, #4c915a);
	text-decoration: underline;
}

a:hover,
a:active,
a:focus {
	color: var(--color-link-hover, #65C178);
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.4em;
	font-weight: bold;
	color: var(--color-heading, #555);
}

h1 {
	font-size: 1.80rem;
	margin: 0 0 1em 0;
}

h2 {
	font-size: 1.45rem;
	margin: 0 0 0.6em 0;
}

h3 {
	font-size: 1.1rem;
	margin: 0 0 0.6em 0;
}

h4 {
	font-size: 1rem;
	margin: 0 0 0.5em 0;
}

p {
	font-size: 1rem;
	line-height: 1.4rem;
}

ul {
	list-style-position: inside;
}

ul li {
	line-height: 1.6rem;
}

/* HEADER */
/* -------------------------------------------------------------- */
header {
	display: flex;
	flex-wrap: wrap;
	box-sizing: border-box;
	width: 100%;
	padding: 1px 15px;
	background-color: var(--color-app-header-bg, #1d1d1d);
	box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0.1);
}

/* LOGO */
/* -------------------------------------------------------------- */
.app-logo {
	flex-grow: 1;
	display: flex;
	flex-wrap: wrap;
	flex-basis: auto;
	justify-content: center;
}

a.header-logo:link,	
a.header-logo:visited, 
a.header-logo:focus, 
a.header-logo:hover, 
a.header-logo:active {
	flex-grow: 0;
	flex-basis: 100%;
	margin: 20px 0 10px 0;
	font-size: 1.3rem;
	color: #fff;
	line-height: 100%;
	font-weight: normal;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
}

.header-site-description {
	flex-grow: 0;
	flex-basis: 100%;
	margin: 0 0 20px 0;
	font-size: 0.6rem;
	color: #a2a2a2;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 2px;
	line-height: 100%;
}

/* HEADER NAVIGATION */
/* -------------------------------------------------------------- */
header nav {
	flex-basis: 100%;
	flex-grow: 1;
	justify-content: center;
	box-sizing: border-box;
	height: auto;
	margin: 0 0 30px 0;
}

/* Navigation Links */
ul.main-menu {
	justify-content: center;
	display: flex;
	flex-basis: 100%;
}

ul.main-menu li {
	flex-grow: 0;
	list-style-type: none;
}

ul.main-menu li a:link,
ul.main-menu li a:visited,
ul.main-menu li a:hover,
ul.main-menu li a:active {
	display: block;
	padding: 0 15px;
	margin: 0;
	line-height: var(--control-height, 40px);
	border: 0;
	color: #fff;
	font-size: 0.9rem;
	font-weight: 300;
	text-transform: uppercase;
	text-decoration: none;
}

ul.main-menu li a:hover,
ul.main-menu li a:active,
ul.main-menu li a:focus,
ul.main-menu li a.active {
	background-color: var(--color-app-accent, #4c915a);
}

/* Separators for items in the header navigation	*/
ul.main-menu li a:link,
ul.main-menu li a:visited,
ul.main-menu li a:hover,
ul.main-menu li a:active {
	border-right: 1px solid #444;
}

ul.main-menu li:last-child a:link,
ul.main-menu li:last-child a:visited,
ul.main-menu li:last-child a:hover,
ul.main-menu li:last-child a:active {
	border: none;
}

/* HEADER SEARCH */
/* -------------------------------------------------------------- */
.header-search-section {
	flex-basis: 100%;
	justify-content: center;
	box-sizing: border-box;
	margin: 0 auto 20px auto;
	padding: 0;
}

.search-box {
	display: flex;
	margin: 0;
	width: 100%;
}

.search-box .header-search-input {
	box-sizing: border-box;
	flex-grow: 1;
	height: var(--control-height, 40px);
	padding: 0 var(--input-padding-inline, 10px);
	margin: 0;
	color: #333;
	font-size: 0.9rem;
	font-weight: bold;
	border: 0;
	border-left: 5px solid var(--color-app-accent, #4c915a);
	border-radius: 3px 0 0 3px;
	background-color: #dadada;
}

input[type=submit].header-search-submit {
	flex-shrink: 0;
	flex-basis: 70px;
	box-sizing: border-box;
	height: var(--control-height, 40px);
	padding: 0;
	margin: 0;
	background-color: var(--color-app-accent, #4c915a);
	background-image: url('/content/themes/default/images/icon-search-white.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 24px;
	border: 0;
	border-radius: 0 3px 3px 0;
	cursor: pointer;
}

input[type=submit].header-search-submit:hover {
	background-color: var(--color-app-accent-hover, #65C178);
}

/* Header media queries */
@media only screen and (min-width: 1200px) {
	header {
		flex-wrap: nowrap;
		padding: 1px 15px;
	}

	/* Logo media queries */
	.app-logo {
		flex-wrap: nowrap;
		flex-basis: 35%;
		justify-content: flex-start;
		order: 1;
	}

	a.header-logo:link,	
	a.header-logo:visited, 
	a.header-logo:focus, 
	a.header-logo:hover, 
	a.header-logo:active {
		flex-grow: 0;
		flex-basis: auto;
		margin: 0;
		line-height: var(--control-height, 40px);
		padding: 10px 0;
	}
	
	.header-site-description {
		flex-grow: 0;
		flex-basis: auto;
		margin: 0 0 0 10px;
		line-height: var(--control-height, 40px);
		padding: 10px 0;
	}

	/* Main nav media queries */
	header nav {
		flex-basis: 35%;
		justify-content: center;
		order: 3;
		margin: 10px 0 0 0;
	}

	ul.main-menu {
		justify-content: flex-end;
		width: auto;
	}

	/* Search media queries */
	.header-search-section {
		flex-basis: 30%;
		justify-content: center;
		order: 2;
		margin: 10px 0 0 0;
		padding: 0;
	}
}

/* IMAGE LISTINGS */
/* -------------------------------------------------------------- */
html { overflow-y: scroll; }

/* ---- masonry ---- */
.search-results-heading {
	margin: 0 20px 20px 20px;
}

.search-results-heading h2 {
	font-size: 1rem;
	font-weight: bold;
	color: #fff;
}

.grid {
	margin: 20px 5px 20px 5px;
}

.grid:after {
	content: '';
	display: block;
	clear: both;
}

/* ---- .grid-item ---- */
.grid-sizer,
.grid-item {
	width: 100%;
}

.grid-item {
	float: left;
	padding: 0;
}

.grid-item-wrapper {
	margin: 0 5px 10px 5px;
	padding: 5px;
	background-color: var(--color-app-panel-bg, #1d1d1d);
}

.grid-item img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 0 10px 0;
}

.grid-item-title a:link,
.grid-item-title a:visited,
.grid-item-title a:hover,
.grid-item-title a:active {
	display: block;
	margin: 0 5px 7px 5px;
	font-size: 0.65rem;
	line-height: 130%;
	color: var(--color-muted, #777);
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-decoration: none;
}

.grid-item-title a:hover,
.grid-item-title a:active {
	color: #999;
}


/* GRID MEDIA QUERIES */
/* -------------------------------------------------------------- */
@media screen and (min-width: 500px) {

.grid {
	margin: 20px 5px 20px 5px;
}

.grid-sizer,
.grid-item {
	width: 50%;
}

/* -------------------------------------------------------------- */
}
/* -------------------------------------------------------------- */
@media screen and (min-width: 960px) {

.grid {
	margin: 20px 10px 20px 10px;
}
	
.grid-sizer,
.grid-item {
		width: 33.333%;
}

/* -------------------------------------------------------------- */
}
/* -------------------------------------------------------------- */
@media screen and (min-width: 1280px) {

.grid {
	margin: 20px 10px 20px 10px;
}

.grid-sizer,
.grid-item {
	width: 25%;
}

/* -------------------------------------------------------------- */
}
/* -------------------------------------------------------------- */
@media screen and (min-width: 1600px) {

.grid {
	margin: 20px 10px 20px 10px;
}

.grid-sizer,
.grid-item {
	width: 16.6666666667%;
}

/* -------------------------------------------------------------- */
}
/* -------------------------------------------------------------- */


/* PAGINATION */
/* -------------------------------------------------------------- */
.pagination {
	text-align:center;
}

.pagination a:link,
.pagination a:focus,
.pagination a:visited,
.pagination a:active,
.pagination a:hover {
	display: inline-block;
	padding: 0 15px;
	font-size: 0.85rem;
	font-weight: normal;
	color: #fff;
	line-height: var(--control-height, 40px);
	text-align: center;
	background-color: var(--color-app-accent, #4c915a);
	border: 0;
	border-radius: 5px;
	outline: none;
	cursor: pointer;
}

.pagination a:hover {
	background-color: var(--color-app-accent-hover, #65C178);
}


/* NO RESULTS */
/* -------------------------------------------------------------- */
.nothing-found-box {
	width: 94%;
	margin: 50px auto 50px auto;
}

.nothing-found-box h2 {
	margin: 0 0 20px 0;
	color: #fff;
	font-size: 1.2rem;
	font-weight: bold;
	text-transform: uppercase;
}

.nothing-found-box p {
	color: #a6a6a6;
}

/* No results media queries */
/* -------------------------------------------------------------- */
@media only screen and (min-width: 600px) {
	.nothing-found-box {
		width: 550px;
	}
}


/* SINGLE POST */
/* -------------------------------------------------------------- */
/* container to center & add some breathing room */
.post-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px;
}

/*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
/* MOBILE FIRST: image on top, details below */

/* Center image and constrain its size */
.image-container {
	padding: 10px;
	text-align: center;
	background-color: var(--color-app-panel-bg, #1d1d1d);
}

.image-container img {
	display: block;
	margin: 0 auto;
	/* fluid up to full width */
	max-width: 100%;
	/* cap height so tall/portrait images never exceed 500px */
	max-height: 700px;
	/* let the browser decide which dimension to clamp first */
	width: auto;
	height: auto;
}

/* Ensure some space between image & details */
.details-container {
	margin-top: 24px;
	padding: 15px 30px 30px 30px;
	color: #dadada;
	background-color: var(--color-app-panel-bg, #1d1d1d);
}

.details-container h1,
.details-container h2,
.details-container h3,
.details-container h4,
.details-container h5,
.details-container h6 {
	color: #dadada;
}

.details-container h1 {
	font-size: 1.2rem;
	margin: 0 0 1em 0;
}

.details-container h4 {
	font-size: 1rem;
}

.details-container p {
	margin: 0 0 1em;
	font-size: 0.9rem;
}

.info-list {
	list-style: none;
	padding: 0;
	margin: 0;
	color: #dadada;
	font-size: 0.85rem;
}

.info-list li + li {
	margin-top: 0.5em;
}

a.license-link {
	text-decoration: none;
}

a.details-keyword {
	display: inline-block;
	margin: 0 3px 3px 0;
	padding: 3px 5px;
	font-size: 0.75rem;
	border-radius: 3px;
	text-decoration: none;
}

/*––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––*/
/* DESKTOP LAYOUT (≥960px): side-by-side, details on the left, image on the right */

@media (min-width: 960px) {
	.post-container {
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		gap: 20px;
	}

	.image-container,
	.details-container {
		flex: 1;
		margin-top: 0;
	}

	.post-layout-horizontal .image-container {
		flex: 1.4;
	}

	.post-layout-horizontal .details-container {
		flex: 0.6;
	}

	.post-layout-vertical .image-container {
		flex: 0.9;
	}

	.post-layout-vertical .details-container {
		flex: 1.1;
	}
}


/* SINGLE PAGE */
/* -------------------------------------------------------------- */
.page-container {
	box-sizing: border-box;
	margin: 0 auto;
	width: 100%;
}

.page-container h1 {
	margin: 0 0 1em 0;
	color: #fff;
	font-size: 2rem;
	font-weight: normal;
}

.page-container p {
	margin: 0 0 15px 0;
	line-height: 150%;
	color: #dadada;
}

.page-wrapper {
	box-sizing: border-box;
	padding: 40px;
	color: #333;
	background-color: #fff;
	border: 10px solid var(--color-app-panel-bg, #1d1d1d);
}

/* page-container queries */
@media only screen and (min-width: 960px) {
	.page-container {
		padding: 0;
		width: 900px;
	}
}



/* FOOTER */
/* -------------------------------------------------------------- */
footer {
	display: block;
	box-sizing: border-box;
	margin: 30px 0 0 0;
	padding: 30px;
	width: 100%;
	font-size: 0.8rem;
	color: #999;
	text-align: center;
}

.footer-content {
	margin: 0 0 1.3em 0;
	font-size: 0.8rem;
	color: #999;
	text-align: center;
}

/* FOOTER SOCIAL */
/* -------------------------------------------------------------- */
.social-icons {
	display: flex;
	margin: 0;
	list-style-type: none;
	justify-content: center;
}

.social-icons li {
	flex-basis: 32px;
	padding: 0 4px;
}

.social-icons li a:link,
.social-icons li a:visited,
.social-icons li a:hover,
.social-icons li a:active {
	display: block;
	box-sizing: border-box;
	width: 100%;
	transition-property: transform;
	transition-duration: 0.3s;
	transition-delay: 0s;
}

.social-icons li a:hover,
.social-icons li a:active,
.social-icons li a:focus,
.social-icons li a.active {
	transform: scale(1.2);
}

/* LIGHTBOX */
/* -------------------------------------------------------------- */
.overlay {
	box-sizing: border-box;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 5%;
	background-color: rgba(33,33,33,1);
	background-image:url("../images/icon-overlay-close.svg");
	background-repeat: no-repeat;
	background-size: 48px auto;
	background-position: 100% 0%;
	cursor: pointer;
}

.overlay-image-box {
	box-sizing: border-box;
	margin: 0 auto;
	width: 100%;
	max-width: 800px;
	height: 100%;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: contain;
}


/* STATUS MESSAGES */
/* -------------------------------------------------------------- */
.status-message-box {
	display: none;
	width: 100%;
	box-sizing: border-box;
	padding: 30px;
	margin: 0 0 30px 0;
	color: #555;
	font-size: 1.1rem;
	font-weight: normal;
	line-height: 140%;
	background-color: #ffecb3;
}

.status-message-error {
	color: var(--color-error-text, #c62828);
	background-color: var(--color-error-bg, #ffe6e9);
}

.status-message-success {
	color: #33691e;
	background-color: #e7f3d9;
}

.status-message-warning {
	color: #555;
	background-color: #ffecb3;
}

/* GRAVY */
/* -------------------------------------------------------------- */
.gravy-bar {
	box-sizing: border-box;
	width: 100%;
	margin: 0 auto 20px auto;
	padding: 15px 10px 18px 10px;
	color: #888;
	font-size: 0.85rem;
	line-height: 140%;
	text-align: center;
	border-top: 1px solid #151515;
	background-color: #171717;
}

.gravy-bar a:link,
.gravy-bar a:visited,
.gravy-bar a:hover,
.gravy-bar a:active {
	color: var(--color-app-accent, #4c915a);
	font-weight: normal;
	text-decoration: none;
}

.gravy-bar a:hover,
.gravy-bar a:active,
.gravy-bar a:focus,
.gravy-bar a.active {
	color: var(--color-app-accent-hover, #65C178);
	text-decoration: underline;
}