
/************************************************************************************
RESET
*************************************************************************************/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, separator, footer, header {
	margin: 0;
	padding: 0;
	border:0;
}

a:active,
a:hover {
  outline: 0;
}

@-webkit-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }

img, fieldset {
	border: 0;
}

/* set image max width to 100% */
img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
	margin-bottom:0.7em;
}
img.centeredImage {
	width:auto;
	height:auto;
	margin:0;
	padding:0;
	border-radius: 4px;
	box-shadow: inset 0 0px 1px rgba(51,51,102,.8), 0 1px 1px rgba(0,0,0,.3);
}


/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
} 


/************************************************************************************
GENERAL STYLING
*************************************************************************************/

body {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	text-size-adjust: 100%;
	background-image:url(../images/back.png), url(../images/back_bottom.png);
	background-repeat:no-repeat;
	background-position:top center, bottom center;
	font: 100% "Trebuchet MS", Arial, Helvetica, sans-serif;
	color:#000000;
}
a {
	color: #000099;
	text-decoration: none;
	outline: none;
}
a:hover {
	text-decoration: underline;
}
p {
	padding: 0;
}
/* list */
ul, ol {
	/*margin: 1em 0 1.4em 24px;*/
	padding: 0;
	line-height: 100%;
}
li {
	list-style: none;
	padding: 0;
}

/* headings */
h1, h2, h3, h4 {
	/*line-height: 1.4em;
	margin: 20px 0 .4em;*/
	
	color: #111111;
}
h1 {
	font-size: 1.6em;
}
h2 {
	font-size: 1.4em;
}
h3 {
	font-size: 1.2em;
}
h4 {
	font-size: 1em;
	font-weight:bold;
}


/************************************************************************************
STRUCTURE
*************************************************************************************/
#pagewrap {
	width: 980px;
	margin: auto;
}
#header {
	background-image:url(../images/header.png);
	background-position:center;
	background-repeat:no-repeat;
	background-size:100%;
	border-style:solid;
	border-width:medium;
	border-radius: 4px;
	box-shadow: inset 0 0px 1px rgba(51,51,102,.8), 0 1px 1px rgba(0,0,0,.3);
	position: relative;
	height:100px;
	margin-bottom:0.8em;
	margin-top:0.8em;
	alignment-baseline:central;
}
#site-descr1 {
	margin-top:0.5em;
	font-size:180%;
	font-weight:bold;
	color: #cc0000;
	position: relative;
	
}
#site-descr2 {
	font-size:140%;
	margin-top:0.5em;
	color: #cc0000;
	position: relative;
}
#separator {
	height:20px;
	width:100%;
	background-image: url(../images/separator.png);
	background-position:center;
	background-repeat:no-repeat;
	background-size:contain;
	position:relative;
	float:left;
	margin-bottom:1em;
}
#content {
	font-size:0.9em;
	width: 620px;
	background: #ffffff;
	border-radius: 4px;
	box-shadow: inset 0 0px 1px rgba(51,51,102,.8), 0 1px 1px rgba(0,0,0,.3);
	position: relative;
	margin-bottom: 1em;
	padding: 1em 1em;
	float:left;
}
#content-pic {
	width:620px;
	text-align:center;
}
#content p {
	padding-bottom: 0.5em;
}

#content h2 {
	padding-bottom: 0.7em;
	font-weight:bold;

}
#content-list li {
	margin: 0;
	padding-top: 0.3em;
	list-style: none;
	padding-left:2em;
	position: relative;
}
#content-pic-info {
	font-size:0.9em;
	color:#000033;
	margin: 0;
	padding-top: 0.1em;
	position: relative;
}

#sidebar {
	font-size:0.90em;
	width: 280px;
	height:auto;
	background: #FFFFFF;
	border-radius: 4px;
	box-shadow: inset 0 0px 1px rgba(51,51,102,.8), 0 1px 1px rgba(0,0,0,.3);
	position: relative;
	margin-bottom: 1em;
	padding: 1em 1em;
	padding-bottom:1em;
	float:right;
}
#sidebar h3 {
	padding-top:0.7em;
}

#footer {
	font-size:0.9em;
	width: 100%;
	background: #FFFFFF;
	border-radius: 4px;
	box-shadow: inset 0 0px 1px rgba(51,51,102,.8), 0 1px 1px rgba(0,0,0,.3);
	position: relative;
	height: auto;
	margin-bottom: 5em;
	padding-bottom:0.7em;
	padding-top:0.7em;
	float:left;
}


#nav,
#nav * {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
#nav,
#nav ul {
  list-style: none;
  width: 100%;
  float: left;
  margin-bottom: 0.6em;
  font-weight:bold;
}

#nav li {
	width: 100%;
	list-style: none;
	float: left;
	position: relative;
	margin-right:0;
}

@media screen and (min-width: 45em) {
  #nav li {
	  margin-right:0.7em;
    width: auto;
  }
}
#nav li a:hover {
	background: #333366;
	border-radius: 4px;
	color: #FFFFFF;
}
#nav a {
  color: #111111;
  text-decoration: none;
  width: 100%;
  	border-radius: 4px;
	background-color:#ffffff;
	box-shadow: inset 0 0px 1px rgba(51,51,102,.8), 0 1px 1px rgba(0,0,0,.3);
  padding: 0.7em 0.7em;
  margin-bottom:0.3em;
  float: left;
}

@media screen and (min-width: 45em) {
  #nav a {
    margin: 0;
    padding: 0.7em;
    float: left;
    text-align: center;
   	border-radius: 4px;
	background-color:#ffffff;
	box-shadow: inset 0 0px 1px rgba(51,51,102,.8), 0 1px 1px rgba(0,0,0,.3);
  }
}

#nav ul ul a {
	border-radius: 4px;
	background-color:#ffffff;
	box-shadow: inset 0 0px 1px rgba(51,51,102,.8), 0 1px 1px rgba(0,0,0,.3);
    padding-left: 2em;
}

@media screen and (min-width: 45em) {
  #nav ul ul a {
    display: none;
  }
}

#nav-toggle {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 63px;
  height: 35px;
  float: left;
  text-indent: -9999px;
  overflow: hidden;
  background-color:#FFFFFF;
  background-image: url(../images/menu.png);
  background-repeat:no-repeat;
  background-size:contain;
  background-position:center;
  margin-bottom: 0.7em;
  border-radius: 4px;
	box-shadow: inset 0 0px 1px rgba(51,51,102,.8), 0 1px 1px rgba(0,0,0,.3);
}

@media screen and (-webkit-min-device-pixel-ratio: 1.3), screen and (min--moz-device-pixel-ratio: 1.3), screen and (-o-min-device-pixel-ratio: 2 / 1), screen and (min-device-pixel-ratio: 1.3), screen and (min-resolution: 192dpi), screen and (min-resolution: 2dppx) {
  #nav-toggle {
    background-image: url(../images/menu-toggle.png);
	background-repeat:no-repeat;
	border-radius: 4px;
	box-shadow: inset 0 0px 1px rgba(51,51,102,.8), 0 1px 1px rgba(0,0,0,.3);
	margin-bottom: 0.7em;
    -webkit-background-size: 100px 100px;
    -moz-background-size: 100px 100px;
    -o-background-size: 100px 100px;
    background-size: 100px 100px;
  }
}

/************************************************************************************
COOKIES
*************************************************************************************/
#message {
	text-align:center;
	font-size: 90%; 
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	padding:0.7em;
	margin-top:0.7em;
	margin-bottom:0.7em;
	background: #FFFFFF; 
	border-radius: 4px;
	box-shadow: inset 0 0px 1px rgba(51,51,102,.8), 0 1px 1px rgba(0,0,0,.3);
	display: none;
}


.cookie_text {
	color: #000000; 
}
.cookie_accept { 
	color: #000099; 
}
.cookie_hide { 
	color: #000099; 
}
.cookie_info { 
	color: #000099; 
}