@font-face {
	font-family: 'Inter';
	src: url('/fonts/inter-v20-latin-regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Inter';
	src: url('/fonts/inter-v20-latin-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Inter';
	src: url('/fonts/inter-v20-latin-600.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

* { padding: 0; margin: 0; }

html {
        font-size: 62.5%;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
/*
* {
  outline: 1px solid red !important;
}
*/
body {
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, avenir next, avenir, 'Segoe UI', 'Helvetica neue', Helvetica, Ubuntu, Roboto, noto, arial, sans-serif;
	/* font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif; */
	font-weight: 400;
        margin: 0 auto;
       /* width: 98%; */
        font-size: 1.6rem;
	color: #fff;
}

#wrapper {
	margin: 0 auto;
	max-width: 100%;
	width: 98%;
/*	border: 1px solid #878E63; */
	border: 1px solid #555452;
	border-radius: 2px;
	box-shadow: 0 0 10px rgba(12, 3, 25, 0.8);
/*	background-color: #000; */
	background-color: #3a3a3e;
}

.main {
	margin: 0 auto;
	height: auto;
/*	width: 100%; */
}
/* main_center not used */
/*
.main_center {
	margin: 0 auto;
}
*/

.header_text {
	margin-top: 1.1em;
	margin-left: 1em;
	margin-bottom: 0.6em;
}

footer {
	background-color: #555452;
	width: 100%;
	overflow: hidden;
	padding: 0.6em 0 0.6em 0;
	margin: 0 auto;
}

footer p, footer h4 {
	color: #F1F0D1;
	text-align: center;
}

footer p a {
	text-decoration: none;
}

.link_content a {
	color: #f9fe49;
	text-decoration: none;
}

.link_content a:hover {
	text-decoration: underline;
}

.link_content a:visited {
	color: #c2c2a6;	
}

.link_content p {
	color: #BDBDBD;
}

#header {
	padding-top: 10px;
	text-align: left;
}

.popup-gallery {
/*	text-align: center;
	margin: 0 auto;
	padding: 1.2em; */
	padding: 0.5em;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(182px, 1fr)); /* Adjust minmax values as needed */
	gap: 10px; /* Adjust the gap between thumbnails */
}

/*
ul {
	margin-left: 10px;
}
*/

.page {
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 20px;
	width: 84%;
	min-height: 28em;
	height: auto;
	border: 2px solid #555452;
/*	border: 2px solid #d8d5d5; */
	border-radius: 10px ;
	-moz-border-radius: 10px;
}

.page_content {
	margin-top: 0.2em;
	margin-left: 1.8em;
	line-height: 140%;
	color: #BDBDBD;
	width: 96%;
}

.page_content b {
	color: #16e740;
}

.description .page_content {
	margin-top: 1em;
}

.page_content .related_links {
/*	height: 60px; */
	height: fit-content;
}

/* a.ex1:hover, a.ex1:active {color: red;} */

a.page_content_link:link, a.page_content_link:visited {
	color: #b5b5b5;
/*	color: blue; */
}

a.page_content_link:hover {
	background-color: yellow;
}

a.page_content_link:active {
	color: blue;
}

/*

.description a {
	color: #6666FF;
}

*/

/*
.page_content p {
	margin-top: 0.8em;
}
*/
.page p {
	margin: 0 2em 1em 2em;
}

.page h5 {
	margin: 0 0 0 1.7em;
}
/*
.text_wrap {
	margin-top: 1em;
	width: 90%;
	margin: 0 auto;
}

.text_wrap img {
	margin-left: auto;
	margin-right: auto;
}
*/
.error_page {
	padding-top: 8em;
	padding-bottom: 8em;
	text-align: center;
	line-height: 200%;
}

#error_page a:link, a:visited {
	color: blue;
}
#error_page a:active {
	color: blue;
}

/* used in showgal.php for gallery description */

.description {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1em;
	width: 84%;
	height: auto;
	min-height: 4em;
	border: 2px solid #555452;
	border-top-left-radius: initial;
	border-top-right-radius: initial;
	border-bottom-left-radius: 0.6em;
	border-bottom-right-radius: 0.6em;
}

.description p {
	margin: 0 2em 1em 2em;
}

.description li {
	margin-left: 3em;
}

/* main menu */

.topnav {
	overflow: hidden;
        background: #555452;
}

.topnav a {
	float: left;
	display: block;
	text-align: center;
	padding: 0.6em 1em;
	text-decoration: none;
	border-bottom: 5px solid transparent;
}

/* a.ex1:hover, a.ex1:active {color: red;} */

.topnav a.active {
	border-bottom: 5px solid red;
}

.topnav .icon {
	display: none;
}

.topnav a:link, a:visited {
	color: #F1F0D1;
}

.topnav a:hover {
	border-bottom: 5px solid #c7baf7;
}

.topnav a:active {
	color: #F1F0D1;
}

/* end main menu */

/* 'sets' banner - but not really sets :) */

.sets_outer {
	margin-left: auto;
	margin-right: auto;
	display: table;
	width: 84%;
	height: 2.2em;
	background-color: #555452;
	margin-bottom: 4px;
	border-radius: 10px ;
}

.sets {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}

.sets p {
	color: antiquewhite;
/*	color: #1e4a5a; */
	font-weight: bold;
}

.gallery_name {
	margin-left: auto;
	margin-right: auto;
	display: table;
	width: 84%;
	height: 2.2em;
	border: 2px solid #555452;
	border-top-left-radius: 0.6em;
	border-top-right-radius: 0.6em;
	border-bottom: none;
	background: #555452;
}

/* end 'sets' banner */

/* home page thumbs */

.picture {
	display: inline-block;
	margin-left: auto;
	margin-right: auto;
	background-color: #fff;
	padding: 0px;
}

.thumbtitle {
	text-align: center;
	clear: left;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 1.05em;
	color: #fffefd;
	padding: 4px 0 4px 0;
}

.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
}

.center-cropped {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* end home page thumbs */

/* gallery page thumbs */

.gal_thumbs {
	position: relative;
	width: 100%;
	padding-top: 66.67%;
	overflow: hidden;
/*
	flex-direction: column;
	align-items: center;
*/
/*	border: 2px solid gray; */
	border: 1px solid #BDBDBD;
	border-radius: 3%;
}

/* end gallery page thumbs */

h1 {
	font-size: 2em;
	color: gray;
	display: inline;
}

/* a.ex1:hover, a.ex1:active {color: red;} */

a.h1_link:link, a.h1_link:visited {
	text-decoration: none;
	color: #717171;
}

a.h1_link:active {
	color: #717171;
}

h2 {
	color: #3399FF;
	font-size: 1.3em;
	font-weight: 500;
	padding-left: 0.8em;
	padding-top: 0.3em;
	font-weight: bold;
}

h3 {
	color: #3399FF;
	font-size: 1.2em;
	padding: 1.1em;
	display: block;
	font-weight: bold;
}

h4 {
	font-size: 1.1em;
	color: #EAEAEA;
	line-height: 150%;
	display: inline;
}

h5 {
	font-size: 1.05em;
	color: #000;
}

a.h5_link:link, a.h5_link:visited {
	text-decoration: none;
/*	color: #717171; */
	color: #3399FF;
}

a.h5_link:hover {
	text-decoration: none;
	color: #717171;
	background-color: yellow;
}

a.h5_link:active {
	text-decoration: none;
	color: #717171;
}

div.spacer {
	clear: both;
}

.err {
        font-size: 1.1em;
        color: red;
}

/* responsiveness */
/*
@media screen and (max-width: 478px) {
	html {
		font-size: 100%;
	}
	.center-cropped {
		width: 1vw;
		height: 1vw;
	}
}
*/


/* one plus 6T */
@media screen and (min-width: 200px) and (max-width: 740px) and (orientation: portrait) {

	h1 {
		font-size: 1.3em;
	}

	h2 {
		font-size: 1em;
	}

	.topnav a:not(:first-child) {
		display: none;
	}
	.topnav a.icon {
		float: right;
		display: block;
	}
	.topnav.responsive {
		position: relative;
	}
	.topnav.responsive .icon {
		position: absolute;
		right: 0;
		top: 0;
	}
	.topnav.responsive a {
		float: none;
		display: block;
		text-align: left;
	}

	.page {
		width: 95%;
	}

	.popup-gallery {
		padding: 0.5em;
	}
	
	.gallery_name {
		width: 95%;
	}

	.description {
		width: 95%;
	}

	.page_content {
		margin-left: 0.8em;
	}

	.flexslider {
		width: 95%;
	}

	.flex-control-nav {
		visibility: collapse;
	}

}

@media screen and (min-width: 1025px) and (max-width: 1080px) and (orientation: portrait) {

	.description {
		width: 95%;
	}

	.page_content {
		margin-left: 0.8em;
	}

	.flexslider {
		width: 95%;
	}

}

@media screen and (min-width: 480px) and (max-width: 840px) and (orientation: landscape) {

}

@media screen and (max-width: 1080px) and (orientation: landscape) {

	h1 {
		font-size: 1.3em;
	}

	h2 {
		font-size: 1em;
	}

	.page {
		width: 95%;
	}

	.gallery_name {
		width: 95%;
	}

	.description {
		width: 95%;
	}

	.popup-gallery {
		padding: 0.5em;
	}

	.description {
		width: 95%;
	}

	.page_content {
		margin-left: 0.8em;
	}

	.flexslider {
		width: 95%;
	}

	.flex-control-nav {
		visibility: collapse;
	}
	
}

