@font-face {
    font-family: 'Gill';
    src: url('fonts/GillSans.otf');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Gill Bold';
    src: url('fonts/GillSans-Bold.otf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Gill';
    src: url('fonts/GillSans-Italic.otf');
    font-weight: bold;
    font-style: italic;
}
@font-face {
    font-family: 'Gill Bold';
    src: url('fonts/GillSans-BoldItalic.otf');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Gill';
    src: url('fonts/GillSans-Light.otf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Gill';
    src: url('fonts/GillSans-LightItalic.otf');
    font-weight: normal;
    font-style: italic;
}

:root {
	--bgc00: rgb(228,228,231);
	--bgc0: rgb(201,201,207);
	--bgc1: rgb(160,160,171);
	--bgc2: rgb(96,96,108);
	--bgc3: rgb(48,48,54);
}

* {
	font-family: Gill, sans-serif;
}

body {
	margin: 0px;
	background-color: white; 
}

div.content {
	width: 80%;
	max-width: 980px;
	margin: 11px auto 11px auto;
	padding: 0;
	box-sizing: border-box;
	overflow: hidden;
}

div.galcontent {
	width: 80%;
	max-width: 996px;
	margin: 11px auto 11px auto;
	padding: 0;
	box-sizing: border-box;
	overflow: hidden;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

@media screen and (max-width: 916px) {
	div.content {
		width: 93%;
	}
}

@media screen and (max-width: 725px) {
	div.content {
		width: 96%;
	}
}

p {
	font-size: 18px;
	padding: 0 0 0 0;
	margin: 22px 0 0 0;
	line-height: 22px;
	text-align: left;
	color: var(--bgc2)
}

p.first, p:first-child, img.edimg + p {
	margin-top: 0;
}

p.first + p.first {
	margin-top: 22px;
}

p a {
	color: var(--bgc1);
	text-decoration: none;
}

span.fword {font-size: 24px;}

h1 {
	font-size: 30px;
	line-height: 36px;
	font-weight: normal ;
	text-align: left;
	margin: 2px 0 2px 0;
	color: var(--bgc3);
	letter-spacing: 0px;
}

h2 {
	font-size: 20px;
	line-height: 24px;
	font-weight: normal;
	text-align: left;
	letter-spacing: 9px;
	margin: 0;
	color: var(--bgc3);
}


h3 {
	font-size: 27px;
	color: var(--bgc2);
	line-height: 30px;
	font-weight: normal;
	text-align: center;
	display:block;
	margin: 17px 0 13px 0;
}

h3 a {
	color: var(--bgc3);
	text-decoration: none;	
}

h4 {
	font-size: 22px;
	color: var(--bgc2);
	line-height: 30px;
	font-weight: normal;
	font-style: italic;
	text-align: center;
	display:block;
	width: 100%;
	margin: 22px 0 11px 0;
}

h5 {
	color: var(--bgc2);
	font-size: 19px;
	line-height: 24px;
	margin: 0;
	font-weight: bold;
}

div.headwrapper {
	width: 100%;
	height: 54px;
	margin: 0;
	padding: 0;
	z-index: 1000;
	background-color: var(--bgc00);
}

div.noprint {
	width: calc(100% - 262px );
	position: relative; 
	text-align: left; 
	margin: 0; 
	display: flex;
	flex-direction: row;
	box-sizing: border-box;
}
p.menu, div.menu {
	flex-basis: auto;
	flex-grow: 1;
	font-size: 16px;
	letter-spacing: 1px;
	display: inline-block;
	position: relative;
	top: 0;
	padding: 23px 0 9px 10px;
	text-align: left;
	height: 54px;
	margin: 0;
	box-sizing: border-box;
	max-width: 222px;
}

div.menu {
/*	top: -2px;*/
	padding-top: 25px;
	padding-bottom: 7px;
    cursor: pointer;
}

p.menu a, div.menu a {
    text-decoration : none;
    border: none;
}

p.menu a:link, p.menu a:visited, div.menu a:link, div.menu a:visited {
    color : var(--bgc3);
}

p.menu:hover, p.menu:active, div.menu:hover, div.menu:active {
    background-color: var(--bgc0);
}

div.indsubmenu {
	padding: 0; 
	position: absolute; 
	top: 54px; 
	left: 0;
	display: block;
	visibility: hidden; 
	width: 0;
	z-index: 1100; 
	box-sizing: border-box;
	clear: left;
}

div.menu:hover div.indsubmenu {
	visibility: visible;
}

p.index {
	display: block;
	width: 163px;
	margin: 0;
	background-color: var(--bgc00); 
}

p.index a {
	display: block;
	text-decoration: none;
	color: black;
	padding: 8px;
	overflow: hidden; 
}

p.index a:hover {
	display: block;
	background-color: var(--bgc0);
	
}

div.thumbs {
	height: 150px;
	width: 150px;
	float: left;
	margin: 0 8px 16px 8px;
	box-sizing: border-box;
	cursor: pointer;
	background-size: cover;
	background-position: center center;
	border: solid 1px var(--bgc00);
}

img.timg {
	max-height: 183px;
	max-width: 183px;
	display: inline-block; 
	position: relative; 
	vertical-align: middle;
}

span.pos {
	display: inline-block;
    height: 100%;
    vertical-align: middle;
}

div.bigviewwrapper {
	position:fixed !important;
	top:0;
	right:0;
	bottom:0;
	left:0;
	display: none;
	/*background: linear-gradient(rgba(255,255,255,0.93), rgba(255,255,255,0.93) 54px, white 59px);*/
	background: linear-gradient(rgba(0,0,0,0.90), rgba(0,0,0,0.90) 54px, black 59px);
	box-sizing: border-box;
	padding: 3px;
	z-index: 20000;
	flex-direction: row;
	justify-content: center;
}

div.bigimage {
	height: 100%;
	max-width: 70%;
	display: flex;
	flex-direction: column;
	align-content: center;
	justify-content: center;
}

div.bigimage img {
	max-height: 70%;
	max-width: 100%;
	object-fit: contain;
}

div.capcontent {
	width: 100%;
	overflow: hidden;
	flex-basis: auto;
}

div.bblock {
	width: 40px;
	height: 40px;
	position: absolute;
	top: calc(50% - 20px);
	z-index: 20050;
}

p.pbutton, p.nbutton {
	border-radius: 20px;
	background: var(--bgc00);
	color: var(--bgc1);
	width: 40px;
	height: 40px;
	display: block;
	text-align: center;
	vertical-align: middle;
	float: left;
	margin: 0;
	cursor: pointer;
	text-indent: 0;
	padding-top: 9px;
	box-sizing: border-box;
	overflow: hidden;
}

div.capcontent p {
	text-align: right;
	margin: 6px 0 0 0;
	color: var(--bgc1);
}

div.capcontent p.smaller {
	font-size: 15px;
	margin-top: 4px;
}

@media screen and (max-width: 800px) {
	h1 {
		text-align: right;
		font-size: 3.5vw;
	}
	div.noprint {
		width: 100%;
		margin: 0;
	}
	div.headwrapper {
		height: calc(54px + 4.5vw);
	}
	p.menu {
		font-size: 1.7vw;
		line-height: 1.7vw;
		height: 4.5vw;
		padding: 1.6vw 0 1.2vw 8px;;
	}
	div.menu {
		font-size: 1.7vw;
		line-height: 1.7vw;
		height: 4.5vw;
		padding: 1.6vw 0 1.2vw 8px;
	}
	p.index a{
		font-size: 2vw;
		padding: 6px 8px;
	}
	div.indsubmenu {
		top: 4.5vw;
	}
	div.bigviewwrapper {
		background: linear-gradient(rgba(0,0,0,0.90), rgba(0,0,0,0.90) 89px, black 59px);
	}
}

@media screen and (max-width: 600px) {
	h1 {
		text-align: right;
		font-size: 21px;
	}
}

span.pos {
	display: inline-block;
    height: 100%;
    vertical-align: middle;

}

img.edimg {
	float: left;
	max-width: 50%;
	margin-right: 18px;
}

a img {border: none;}

div.galpic {
	width: 100%; 
	margin: 5px 0 10px 0;
	padding: 0 10px; 
	background-color: #808040; 
	position: absolute;
	top: 0;
	left: 0;
	box-sizing: border-box;
	overflow: hidden;
}

div.galcap {
	width: 100%; 
	overflow: hidden;
}

div.galimg {
	text-align: center;
	width: 100%;
	max-width: 820px;
	height: 410px;
	box-sizing: border-box;
	margin: 0 auto 0 auto;
}

img.gallerypic {
	vertical-align: middle;
	max-width: 100%; 
	max-height: 100%;
}

label {
	width: 133px;
	display: inline-block;
	margin: 24px 7px 0 0;
	color: var(--bgc2);
	vertical-align: top;
	text-align: right;
}

input[type="text"], textarea, input[type="number"], input[type="password"] {
	margin: 22px 0 0 0;
	width: calc(100% - 140px);
	border: 1px solid var(--bgc1);
	box-sizing: border-box;
	padding: 3px 1px;
}

input[type="submit"], button {
	width: 120px;
	color: var(--bgc2);
	border: 1px solid var(--bgc1);
	padding: 4px 0;
	background-color: white;
	margin: 22px 0 0 0;
	cursor: pointer;
}

input[type="submit"]:hover, button:hover {
	background-color: var(--bgc00);
}

input[type="file"] {
	margin: 22px 0 0 0;
}

input[type="checkbox"] {
	margin: 0;
	border: 1px solid var(--bgc1);
	box-sizing: border-box;
}

select {
	margin: 22px 0 0 0;
	width: 300px;
	border: 1px solid var(--bgc1);
	box-sizing: border-box;
}

textarea {
	height: 120px;
}

textarea.blurb {
	height: 200px;
	width: calc(100% - 140px);
	display: inline-block;
	box-sizing: border-box;
	padding: 2px;
}

@media print {
	div.noprint {
		display: none;
	}
}

p.quote {
	padding-left: 20px;
	font-style: italic;
}

p.quote i {
	font-style: normal;
}

p.plab {
	background-color: rgba(255,255,255,0.6);
	display: block;
	color: var(--bgc2);
	padding: 3px 3px 1px 5px;
	margin: 0;
	width: 100%;
	box-sizing: border-box;
}

table {
	width: 100%;
	border-width: 0;
}
td {
	width: 16.66%;
	text-align: center;
	border-width: 0;
	margin: 0;
	padding: 0;
}

td.col1 {
	width: 33.33%;
	text-align: left;
}

