html {
	text-align: center;
	width: 100%;
	height: 100%;
}

@media only screen and (min-width: 0px) and (max-width : 800px) {
body {
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
	background-color: #000;
	overflow-x: hidden;
}

.backpic {
	display: none;
}
}

@media only screen and (min-width: 801px) {
body {
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-right: 0px;
	background-color: #000;
	background-image: url(logo_back.gif);
	background-repeat: no-repeat;
	background-position: right bottom;
	background-attachment: fixed;
	overflow-x: hidden;
}

.backpic img {
	position: absolute;
	z-index: -1;
	top: 100px;
	left: 790px;
	max-width: 30%;
	max-height: auto;
	object-fit: cover;
	overflow: hidden;
}
}

img {
	border: 0px;
}
.header {
	background-color: #4e4e4e;
}
.header img {
	max-width: 25%;
	object-fit: cover;
}
ul {
	display: inline;
	margin: 0;
	padding: 15px 4px 17px 0;
	list-style: none;
}
ul li {
	font: 16px Century Gothic, sans-serif;
	display: inline-block;
	margin-right: -4px;
	position: relative;
	padding: 12px 18px;
	-webkit-transition: all 0.1s;
	-moz-transition: all 0.1s;
	-ms-transition: all 0.1s;
	-o-transition: all 0.1s;
	transition: all 0.1s;
}
ul li:hover {
	background: #e0cc5a;
}
P {
	clear: left;
	text-align: left;
	color: #FFFFFF;
	font-family: Century Gothic, sans-serif;
	font-size: 14px;
	font-weight: normal;
	padding-left: 10%;
	padding-right: 10%;
}
a {
	color: #FFFFFF;
	font-weight: bold;
	text-decoration: none;
}
a:visited {
	color: #FFFFFF;
	text-decoration: none;
}
a:active {
	color: #FFFFFF;
	text-decoration: none;
}
a:hover {
	color: #FFFFFF;
	text-decoration: none;
}

td {
	text-align: left;
	color: #FFFFFF;
	font-family: Century Gothic, sans-serif;
	font-size: 14px;
	font-weight: normal;
}


.logo {
	display: block;
	float: left;
	width: 20%;
	min-width: 150px;
	margin: 3px;
	position: relative;
	left: 10%;
}
.logo img {
	border: 0px;
	padding: 10px;
	max-width: 100%;
	max-height: auto;
	object-fit: cover;
}
.splashpic {
}
.splashpic img {
	max-width: 100%;
	max-height: auto;
	object-fit: cover;
}
.stretchpic img {
	max-width: 75%;
	max-height: auto;
	object-fit: cover;
}

.sidepic img {
	max-width: 33%;
	max-height: auto;
	object-fit: cover;
	margin-right: 10%;
	padding-left: 5px;
}

.contentblock {
	display: block;
	float: left;
	width: 20%;
	min-width: 150px;
	margin: 3px;
	position: relative;
	left: 10%;
}

.contentblockx2 {
	display: block;
	float: left;
	width: 40%;
	min-width: 150px;
	margin: 3px;
	position: relative;
	left: 10%;
}

.contentblockx3 {
	display: block;
	float: left;
	width: 70%;
	min-width: 150px;
	margin: 3px;
	position: relative;
	left: 10%;
}

.contentblockx4 {
	display: block;
	float: left;
	width: 90%;
	position: relative;
	left: 10%;
}
.large40 {
	text-align: left;
	color: #FFF;
	font-family: Century Gothic, sans-serif, sans-serif;
	font-size: 40px;
}
.large30 {
	color: #FFF;
	font-family: Century Gothic, sans-serif, sans-serif;
	font-size: 30px;
}
.large20 {
	color: #FFF;
	font-family: Century Gothic, sans-serif, sans-serif;
	font-size: 20px;
	font-weight: normal;
}
.large16 {
	color: #FFF;
	font-family: Century Gothic, sans-serif, sans-serif;
	font-size: 16px;
	font-weight: normal;
}
.footer {
	font-family: Century Gothic, sans-serif, sans-serif;
	font-size: 16px;
	font-weight: bold;
	color: #FFF;
	line-height: 32px;
	background-color: #4e4e4e;
}
.footer a {
	font-family: Century Gothic, sans-serif, sans-serif;
	font-size: 16px;
	font-weight: bold;
	color: #FFF;
}
.footer a:hover {
	font-family: Century Gothic, sans-serif, sans-serif;
	font-size: 16px;
	font-weight: bold;
	color: #4e4e4e;
	background-color: #FFF;
}



#header {
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	height: 4.0625em;
	background: #222
}
.page-content {
	padding: 0 1em 1em;
	max-width: 64em;
	margin: auto
}
.breadcrumbs {
	font-size: .75em;
	border-bottom: 7px solid #eee;
	margin: 0 -1.25em 1.5em;
	padding: 1em 1.25em
}
.breadcrumbs span {
	display: none
}

@media(min-width:30em) {
.breadcrumbs {
	line-height: 3.75;
	padding: 0 1.25em
}
}

@media(min-width:60em) {
.breadcrumbs span {
	display: inline-block
}
}
code {
	display: block;
	background: #ebebeb;
	font-size: 0.875em;
	padding: 1em 2em;
	overflow-x: scroll;
	white-space: nowrap
}
/* #### - gallery thumbs - #### */
#gallery {
	margin: 0;
	padding: 0;
	list-style: none;
	display: table;
*overflow:hidden
}
#gallery li {
	position: relative;
	float: left;
	margin-right: 1em;
	margin-bottom: 1em;
	border: 1px solid #333
}
#gallery li a, #gallery li a img {
	display: block;
	border: 0;
	text-decoration: none
}
#gallery li a span {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	cursor: pointer;
	color: transparent;
	filter: alpha(opacity=0);
	opacity: 0;
	background: #ddd
}
#gallery li a span:before {
	content: "";
	display: inline-block;
	height: 100%;
	vertical-align: middle;
	margin-top: -0.25em
} 
#gallery li a:hover span {
	filter: alpha(opacity=30);
	opacity: .30
}
#gallery li a:hover span b {
	filter: alpha(opacity=99);
	opacity: 1
}
#gallery li a span, #gallery li a span b, #gallery li a:hover span, #gallery li a:hover span b {
	-webkit-transition: opacity .2s ease-in-out;
	transition: opacity .2s ease-in-out
}
/* #### - gallery thumbs magnifying glass - #### */
#gallery li a span b {
	display: inline-block;
	position: relative;
	width: 1.75em;
	height: 1.75em;
	line-height: 3em;
	vertical-align: middle;
	border: .25em solid #000;
	border-radius: 50%
}
#gallery li a span b:before {
	content: "";
	position: absolute;
	top: .75em;
	left: .5em;
	width: .25em;
	height: .25em;
	background: #000;
	box-shadow: .2em 0 0 #000, .35em 0 0 #000, .5em 0 0 #000, .5em 0 0 #000, .25em .2em 0 #000, .25em .3em 0 #000, .25em -.2em 0 #000, .25em -.3em 0 #000
}
#gallery li a span b:after {
	content: "";
	position: absolute;
	top: 1.5em;
	left: -.5em;
	width: .5em;
	height: 1.5em;
	background: #000;
	border-radius: .2em;
	-webkit-transform: rotate(40deg);
	-ms-transform: rotate(40deg);
	transform: rotate(40deg)
}
/* #### - modal overlay plus contents - #### */
#gallery .overlay {
	position: fixed;
	overflow: hidden;
	left: 0;
	top: 0;
	width: 0;
	height: 0;
	z-index: 9999;
	text-align: center;
	color: #fff;
	background: rgba(0,0,0,.8)
}
#gallery .overlay div {
	position: absolute;
	bottom: 1px;
	left: 1px;
	right: 1px
}
#gallery .overlay div p {
	font-size: 0.875em;
	text-align: center;
	max-width: 60em;
	margin: 0 auto;
	padding: 0.5em 1em;
	background: rgba(0,0,0,.8);
	border-radius: 2em
}
#gallery .overlay div a {
	display: inline;
	color: #fff;
	text-decoration: none
}
#gallery .overlay img {
	max-width: 100%;
	max-height: 100%;
	position: absolute;
	opacity: 0;
	float: none;
	margin: 0;
	top: 48%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: opacity .25s linear;
	transition: opacity .25s linear
}
#gallery .overlay:target {
	width: auto;
	height: auto;
	bottom: 0;
	right: 0;
	padding: 0.5em 0 5em
}
#gallery .overlay:target img {
	opacity: 1
}
/* #### - gallery controls - #### */
#gallery .close {
	position: absolute;
	z-index: 1001;
	font: bold 1.5em/1.3em Century Gothic, sans-serif;
	color: #fff;
	background: #222;
	top: 1px;
	left: 50%;
	margin-left: -0.65em;
	width: 1.25em;
	height: 1.25em;
	border: 1px solid #666;
	box-shadow: 0 0 0 1px rgb(102,102,102)
}
#gallery .close:hover {
	background: #666
}
#gallery .prev, #gallery .next {
	color: transparent;
	position: absolute;
	z-index: 1000;
	display: inline-block;
	top: 0;
	right: 0;
	width: 50%;
	height: 100%
}
#gallery .prev {
	left: 0
}
#gallery .next:after, #gallery .prev:after {
	content: "\203A";
	display: block;
	position: relative;
	top: 43%;
	right: 0;
	font-size: 10em;
	color: #222;
	text-align: right;
	opacity: .75;
	text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 4px #fff, 0 0 5px #fff;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%)
}
#gallery .prev:after {
	content: "\2039";
	text-align: left
}
#gallery .next:hover:after, #gallery .prev:hover:after {
	color: #666
}

@media ( min-width:48.75em ) { /* #### - make better use of space at 780px (780/16=48.75 - 16px being default browser font-size) - #### */
#gallery .overlay div {
	position: relative;
	bottom: auto
}
#gallery .overlay img {
	border: 2px solid #666;
	position: relative;
	top: auto;
	left: auto;
	-webkit-transform: none;
	-ms-transform: none;
	transform: none
}
#gallery .overlay:target {
	padding-top: 2.875em
}
#gallery .prev, #gallery .next {
	display: block;
	left: 50%;
	top: 2.125em;
	width: 2.5em;
	height: auto;
	background: #222;
	font: bold 0.875em/1.875em Century Gothic, sans-serif;
	color: #fff;
	padding: 0 0.5em;
	border: 2px solid #333;
	box-shadow: 0 0 0 1px rgb(102,102,102)
}
#gallery .prev {
	margin-left: -5.625em
}
#gallery .next {
	margin-left: 1.85em
}
#gallery .prev:hover, #gallery .next:hover {
	background: #666
}
#gallery .next:after, #gallery .prev:after {
	display: none
}
#gallery .close {
	top: 1.175em
}
}
