/******
 * General
 *****/

html {
/*	background: url('/lib/static/layout/gfx/background.jpg')  no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;	
*/
}

body {
	margin: 0px;
	font-family: Arial, Verdana, "ms serif";
	color: black;
	font-size: 12px;
	background: black;

}

div, td {
	font-size: 17px;
	line-height: 1.5;
	color: black;
}

p {
	float: left;
	width: 100%;
	padding: 0px;
	margin-top: 10px;
	margin-bottom: 10px;
	font-size: 14px;
	font-family: Arial, Verdana, "ms serif";
	color: black;
}

span {
	font-size: 1.2em;
}

h1 {
	font-size: 24px;
	font-weight: bold;
	text-shadow: 1px 1px 2px #808080;
	border-bottom: 1px solid #000000;
}

h2 {
	font-size: 1.5em;
	font-weight: bold;
	font-style: italic;
	font-family: Arial, Verdana, "ms serif";
	color: black;
}

a {
	color: black;
	font-weight: bold;
}

td {
	border: 1px #808080 dashed;
}

img {
	border: 0;
	padding: 0;
	margin: 0;
}

td {
	border: none
}
/******
 * IDs
 *****/

#outer {
	padding-left: 20px;
	float: left;
	width:100%;
       -moz-box-sizing: border-box;
       -webkit-box-sizing: border-box;
       box-sizing: border-box;
}

#top_logo {
	float: right;
	margin-top: 50px;
	margin-right: 50px;
}

#topnav {
	padding-top: 25px;
	float: left;
	width: 100%;
}

#topnav_inner {
	height: 50px;
	overflow: hidden;
	float: left;
}

ul#nav {
	margin: 0;
	padding: 0;
}

ul#nav li {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 50px;
	float: left;
	vertical-align: middle;
}

ul#nav a, ul#nav span {
	padding: 0;
	display: block;
	text-decoration: none;
	font-weight: bold;
	border: none;
/*	background-image: url("/lib/static/layout/gfx/bg_nav_normal.jpg");*/
	color: white;
	height: 36px;
	position: relative;
	font-size: 1.5em;
	font-family: "Arial", Verdana, "ms serif";
	text-align: center;
}

ul#nav a:hover, ul#nav span {
	color: white;
	background-image: url("/lib/static/layout/gfx/bg_nav_hover.jpg");
}

#content {
	margin: 0;
	min-height: 800px;
	float: left; 	
	width: 1112px;
}

#innercontent {
	width: 1027px;
	margin-right: 47px;
	margin-top:0;
	padding: 0px 45px 20px 40px;
	float: left; 
	background: url("/lib/static/layout/gfx/content_bg.png") center  center;
}

#content:before {
	margin: 0;
	content: url("/lib/static/layout/gfx/content_bg_header.png");
	height: 29px;
	display:block;
}

#content:after {
	margin: 0;
	content: url("/lib/static/layout/gfx/content_bg_footer.png");
	height: 30px;
	display:block;
}

/******
 * Mobile
 *****/

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 1200px) {

#topnav {
	padding-top: 25px;
	float: left;
	width: 100%;
}

#topnav_inner {
	height: 70px;
	float: left;
}

div,p {
	font-size:25px;
}

.navimg {
	height:130%;
}

ul#nav li {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 50px;
	float: left;
	vertical-align: middle;
}

ul#nav a, ul#nav span {
	padding: 0;
	display: block;
	text-decoration: none;
	font-weight: bold;
	border: none;
	color: white;
	height: 55px;
	width:100%;
	position: relative;
	font-size: 1.5em;
	font-family: "Arial", Verdana, "ms serif";
	text-align: center;
}

}