/*begin initial style */

/* RESET BROWSERSTYLE */
* {
	padding: 0; margin: 0;
}
/* global text sizes */
body {
	font-size: 20px;
	min-width: 400px;
}
h1, h2, h3, h4 {
	font-size: 40px;
}
h5 {
	font-size: 28px;
}
h6{
	font-size: 24px;
}

/* global text style */
h1, h2, h3, h4, h5, h6{
	font-family: arial, georgia, serif; 
	color: #234;
	line-height: 1.2em; 
	font-weight: 300; 
	letter-spacing: 1px;
	padding: 0; 
	margin: 0 0 16px 0;
}
p {
	margin: 10px 0;
	line-height: 1em;
}
ol {
	margin: 6px 0;
}
ol li {
	line-height: 1.2em;
	border: 0;
	padding: 3px 0;
	margin: 0 0 0 22px;
}
ul {
	list-style-image: url(images/inhlist.gif);
	margin: 6px 0;
}
ul li {
	line-height: 1.2em; 
	border: 0; 
	padding: 3px 0; 
	margin: 0 0 0 17px; 
}
hr {
	clear: both;
	height: 1px;
	color: #ccc; 
	background-color: #ccc;
	border: 0;
	margin: 15px 0px 25px 0px;
}

/*code element */
#code {
	background: #bbb;
	font-family: 'courier new', monospace;
	color: #000;
	border: 1px solid #ccc;
	padding: 10px 10px;
}

.XXXXXXXXXXXXXXXXXX {} /* Marker for styles menu tinymce */

/* global link styles */
a:link {color: #258; text-decoration: none;}
a:visited {color: #258; text-decoration: none;}
a:hover {color: #c60; text-decoration: none;}
a:active {color: #c60; text-decoration: none;}
a:focus {color: #c60; text-decoration: none;}


/* bdoy classes */
body {
	font-family: arial, georgia, serif;
	padding: 0;
	margin: 0;
	min-width: 800px;
}
body#tpl_body {
	padding: 20px;
	background: #050;
	color: #000;
}

/* image size scaling */
img {
	height: auto;
	max-width: 100%;
}

blockquote {
	display:inline-block;
	vertical-align: top;
	min-height: 250px;
	border: 3px solid #ccc;
	padding: 5px;
	margin: 10px;
	margin-top: 5px;
	margin-bottom: 5px;
}

blockquote > p > img {
	height: 350px;
	max-width: 400px;
	object-fit: cover;
	margin: auto;
	display: block;
	border: 1px solid #ccc;
}

blockquote > img {
	height: 350px;
	max-width: 400px;
	object-fit: cover;
	margin: auto;
	display: block;
	border: 1px solid #ccc;
}

blockquote > p {
	margin: auto;
}

blockquote > div {
	max-width: 100%;
}
audio {
	margin-bottom: 10px;
	width: 100%;
}
/*
----------------
main design layout
----------------
*/

/* area dividers */
.tpl_header {
	min-width: 300px;
	margin-left:auto;
	margin-right:auto;
	width: auto;
}

.tpl_header_phonehide{
	visibility: hidden;
}

.tpl_locator {
	min-width: 300px;
	clear: both;
}
.tpl_main {
	min-width: 300px; 
	margin: 0 auto;
}
.tpl_content {
	width: 75%;
	min-width: 300px;
	float: right;
	margin:auto;
	overflow: auto;
}

.tpl_sidebarNav {
	width: 23%;
	min-width: 150px;
	float: left;
	margin:auto;
	font-weight: bold;
}

/* 
----------------
main design containers
----------------
*/

/* main container: content+sidebar */
.tpl_contents_container {
	background: #fff; /*#e0e6e9;*/
	padding-top: 10px;
	padding-left: 2%;
	padding-right: 2%;
	width: 96%;
}

/* header container */
.tpl_headerin {
	width: auto;
	padding: 0px; 
	margin: 0px;
	margin-left: auto; 
	margin-right: auto; 
	min-width: 150px;
}

/* header logo */
.tpl_logo {
	background-image: url(images/logo.png);
	background-size: 100% 100%;
	margin-top: 10px;
	padding-top: 100%;
}

/* logo text */
#tpl_header h1 {
	color: #fff;
	text-align: center;
	width: 25%;
	margin-right: 75%;
	min-width: 300px;
	line-height: 1em;
	font-weight: 100;
	text-shadow: 1px 1px 1px #000;
	float: left;
}
#tpl_header .menu {
	float:left;
	visibility: hidden;
}

#tpl_header .menu li {list-style-type: none; list-style-image: none; min-width: 0px; visibility: hidden;}
/* level1 */
#tpl_header .menu ul.menulevel1 {
	width: auto;
	min-width: 300px;
	margin-left:auto;
	margin-right:auto;
	padding: 0px;
	margin: 0px;
	margin-left: auto;
	margin-left: auto;
	visibility: hidden;
}

#tpl_header .menu ul.menulevel1 li {
	background: #fff;
	display: block;
	text-align: center;
	font-weight: bold;
	padding: 10px;
	margin: 0px;
	margin-right: 3px;
	width: auto;
	float: left;
	visibility: hidden;
}

#tpl_header .menu ul.menulevel1 li.sdocs {
	background: #e0e6e9;
	visibility: hidden;
}

#tpl_header .menu ul ul.menulevel2 li {
	margin-top: 5px;
	visibility: hidden;
}

#tpl_header .menu ul ul.menulevel2 li.sdoc {
	background: #e0e6e9;
	visibility: hidden;
}

#tpl_header .menu ul ul.menulevel3 li {
	margin-top: 5px;
	visibility: hidden;
}

#tpl_header .menu ul ul.menulevel3 li.sdoc {
	background: #e0e6e9;
	visibility: hidden;
}

/* searchbox */
#searchbox {
	text-align: left;
	margin: 0px;
	padding: 0px;
	width: 100%;
}
#searchbox .text {
	width: 70%;
	min-width: 30px;
	background: #e0e6e9;
	color: #222;
	font-family: arial, sans-serif;
	border: 0px;
	padding: 0px;
	margin-bottom: 0px;
	height: 32px;
	float: left;
	border: 0px #000 solid;
}
#searchbox .submit {
	background: #050;
	width: 30%;
	font-family: arial, sans-serif; 
	font-weight: 700;
	padding: 0px;
	border: 0px;
	margin-left: 0px;
	height: 32px;
	float: right;
	color: #fff;
}
#searchbox .submit:hover {
	color: #f90;
}

/* left menu items */
.menu {
	font-size: 20px;
}

/* link styles */
.menu ul.menulevel1 a:link {
	color: #333;
	text-decoration: none;
}
.menu ul.menulevel1 a:visited {
	color: #333;
	text-decoration: none;
}
.menu ul.menulevel1 a:hover {
	color: #f90; 
	text-decoration: none;
}
.menu ul.menulevel1 a:active {
	color: #f90; 
	text-decoration: none;
}
.menu ul.menulevel1 a:focus {
	color: #f90;
	text-decoration: none;
}


/* container field areas */
.field {
	background: #fff;
	padding: 10px;
	margin-left: auto; 
	margin-right: auto; 
	width: auto;
	height: auto;
}

/* field override */
.searchfield {
	margin: 10px;
	margin-right: 0px;
	margin-left: 0px;
	width: auto;
}

/* field override */
.leftfield {
}

/* field override */
.rightfield {
}

/* field override */
.bottomfield {
	border-top: 1px dotted #050;
	margin-bottom: 20px;
	border-left: 0px;
	border-right: 0px;
}


/* image containers, replacing blockquotes for gallery purposes, blockquotes still used for other things! */
.image_container {
	position: relative;
	overflow: hidden;
	font-family: Arial;
	width: 100%;
	padding-top: 50%;
	margin: 5px 0;
	display:inline-block;
}
.image_container > img {
	top: 0;
	bottom: 0;
	position: absolute;
	object-fit: cover;
	width: 100%;
	max-height: 100%;
	margin: 0px;
}

.image_container_higher {
	position: relative;
	overflow: hidden;
	font-family: Arial;
	width: 40%;
	padding-top: 60%;
	margin: 5px 0;
	display:inline-block;
}
.image_container_higher > img {
	top: 0;
	bottom: 0;
	position: absolute;
	object-fit: cover;
	width: 100%;
	max-height: 100%;
	margin: 0px;
}

.image_textblock {
	position: absolute;
	bottom: 0px;
	height: auto;
	right: 0px;
	left: 0px;
	background-color: rgba(0,0,0,0.5);
	color: white;
	text-align: center;
	padding: 10px;
	width: 100%;
	box-sizing: border-box;        
}


.tpl_top_desktop {
	visibility: visible;
}

.tpl_top_phone {
	visibility: hidden;
	height: 0px;
	margin: 0px;
	padding: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
}
.tpl_top_phone h1 {
	height: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
}


/*begin small screen style */
@media only screen and (max-width: 800px) {
	/*set min site width*/
	body {
		min-width: 300px;
		font-size: 12px;
	}
	
	body#tpl_body {
		padding: 5px;
	}
	/*menu width fix*/
	.tpl_sidebarNav {
		height: 0px;
		width: 100%;
	}
	
	/*logo text size fix*/
	#tpl_header h1 {
		width: 100%;
	}
	
	ul {
		list-style-image: url(images/inhlist.gif);
		margin: 0px;
	}
	
	#tpl_header .menu ul.menulevel1 li {
		padding: 6px;
		margin-top: 2px;
		margin-left: 2px;
		margin-right: 2px;
	}
	
	#tpl_header .menu ul ul.menulevel2 li {
		margin-top: 2px;
		margin-left: 2px;
		margin-right: 2px;
	}

	#tpl_header .menu ul ul.menulevel2 li {
		margin-top: 2px;
		margin-left: 2px;
		margin-right: 2px;
	}

	
	/*for all left fields, min width resize*/
	.leftfield {
		width: 0%;
		height: 0px;
		visibility: hidden;
		border: 0px #fff solid;
		padding: 0px;
	}
	/*right side fix for mobile*/
	.rightfield {
		margin-left: auto;
		margin-right: auto;
		padding: 0px;
		border: none;
		width: 100%;
		min-width: 220px;
		margin-top: 2px;
	}
	/*remove last edit for simplicity*/
	.smallscreenhide{
		display: none;
	}
	/* content main area overwrite */
	.tpl_content {
		margin:0px;
		padding: 0px;
		width: 100%;
		float: left;
	}
	/*add small border above the H1 to  seperate content from menu*/
	.rightfield h1 {
		border-top: 2px #aaa solid;
	}
	/*remove most of top margin in header*/
	#tpl_header h1 {
		margin-top: 5px;
	}
	blockquote {
		width: 220px;
		object-fit: cover;
	}
	blockquote > img {
		height: 160px;
		object-fit: cover;
		max-width: 220px;
	}
	blockquote > p > img {
		min-height: 220px;
		max-width: 220px;
		object-fit: cover;

	}
	blockquote > p {
		max-width: 280px;
	}
	.image_container {
		padding-top: 60%;
	}
	.image_textblock {
		padding: 5px;
	}

	.tpl_top_desktop {
		visibility: hidden;
		height: 0px;
		margin: 0px;
		padding: 0px;
		margin-top: 0px;
		margin-bottom: 0px;
	}
	.tpl_top_desktop h1 {
		height: 0px;
		padding: 0px;
		margin: 0px;
	}
	
	.tpl_topmenu {
		width: auto;
		min-width: 220px;
		margin-left:auto;
		margin-right:auto;
		padding: 0px;
		margin: 0px;
		background: #e0e6e9;
		border-bottom: 1px #aaa solid;
	}

	.tpl_top_no_border {
		border: 0px #000 solid;
	}

	.tpl_top_phone {
		visibility: visible;
		height: auto;
		width: 100%;
		margin: 0px;
		padding: 0px;
		margin-top: 0px;
		margin-bottom: 0px;
	}
	.tpl_top_phone h1 {
		margin-top: 5px;
		height: auto;
		margin-bottom: 5px;
	}
	#tpl_header .menu {
		float:left;
		visibility: visible;
		font-size: 12px;
	}

	#tpl_header .menu li {visibility: visible;}
	/* level1 */
	#tpl_header .menu ul.menulevel1 {
		visibility: visible;
		width: 100%;
	}

	#tpl_header .menu ul.menulevel1 li {
		visibility: visible;
		font-weight: lighter;
		padding: 3px;
		
	}

	#tpl_header .menu ul.menulevel1 li.sdocs {
		visibility: visible;
		font-weight: lighter;
	}

	#tpl_header .menu ul ul.menulevel2 li {
		visibility: visible;
		font-weight: lighter;
		padding: 3px;
	}

	#tpl_header .menu ul ul.menulevel2 li.sdoc {
		visibility: visible;
		font-weight: lighter;
		padding: 3px;
	}

	#tpl_header .menu ul ul.menulevel3 li {
		visibility: visible;
		font-weight: lighter;
		padding: 3px;
	}

	#tpl_header .menu ul ul.menulevel3 li.sdoc {
		visibility: visible;
		font-weight: lighter;
		padding: 3px;
	}
	h1, h2, h3, h4 {
		font-size: 26px;
	}
	h5 {
		font-size: 20px;
	}
	h6{
		font-size: 16px;
	}
	/*remove logo for best view*/
	.tpl_logo {
		height: 0px;
		border: 0px #fff solid;
		visibility: hidden;
	}
	.rightfield h1 {
		border: 0px #fff solid;
	}
}