/* Fusion and Mooncow's addition for custom header.
---------------------------------------- */

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
    display:block;
}

#header-wrapper {
	background-image: url('/images/header-repeat-2.png');
	background-repeat: repeat-x;
	background-color: #359AFF;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 13px;
}
#header {
	padding: 10px 20px;
	height: 125px;
	background-image: url('/images/header-big-unlinked.png');
	background-repeat: no-repeat;
}

#header hgroup {
	float: left;
}

#header h1 {
	width: 300px;
	margin: 0;
	font-weight: normal;
	font-size: 1em;
}

#header h1 .hidden {
	display: none;
}

#header h2 {
	font-weight: normal;
	padding-top: 0px; /* changed from 5px by mooncow because it didn't match site */
	width: 300px;
	margin: 0;
	
	font-size: 1em;
	color: #333333;
}

#header aside {
	text-align: right;
}


#header ul#nav-main {

	padding-right: 0;
	font-family: "Verdana", "Arial", "Helvetica", sans-serif;
	color: black;
	font-size: 10px;
	line-height: normal;
	height: 39px;
	padding: 5px 0px 0px 0px; /* added by mooncow because it didn't match site  */
	margin-bottom: 0px; /* added by mooncow because it didn't match site  */
}

#header ul#nav-main a {
	color: #000099;
	text-decoration: none;
	font-weight: normal;
}

#header ul#nav-main a:hover {
  text-decoration: underline;
  color: #333333;
}

#header li.rightside a {
margin: 1px;
}

#header nav {
	clear: both;
}

#header ul#frontmenu {
	list-style: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

#header li.frontlist {
	display: inline;
}

#header li.frontlist a {
	float: left;
	color: #eeeeee;
	font-weight: bold;
	text-decoration: none;
	margin: 6px 30px 11px 0px; /* changed from 11px 30px 11px 0px by mooncow because it didn't match site */
}

#header li.frontlist a:hover {
	color: white;
	text-decoration: underline;
}

#header li.current a {
	color: burlywood;
}

#footer {
	clear: both;
/*	width: 880px;  removed by mooncow because it ruined mobile view  */
	margin-left: auto;
	margin-right: auto;
	/*padding: 10px 100px 30px 100px;*/
	padding: 10px 0 30px 0;
	text-align: justify;
}

#footer p {
	color: #666666;
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 13px;
	margin: 0;
	border: 0;
	outline: 0;
	padding: 5px 10px;
	line-height: 1;
}

#footer span.right {
	float: right;
}

#footer a {
	color: #666666;
	text-decoration: underline;
}

#footer a:hover {
	text-decoration: none;
}

#wrap {
	/* background-color: #359AFF;  Mooncow: uneeded */
	/* padding-bottom: 25px; Mooncow: uneeded */
	overflow: auto;
	background-repeat: repeat-y;
	border-bottom: 3px yellow solid;
	border-bottom-left-radius: 30px;
	border-bottom-right-radius: 30px;
}

#header input {
	padding: 1px 6px;
}

/*Mooncow added spoiler*/
.inlineSpoiler {
	background: #000;
	color: #000;
}

@media only screen and (max-width: 1135px), only screen and (max-device-width: 1135px) {

.compact .icon-notification > a > span, .compact .icon-pm > a > span {
	display: none;
}

@media only screen and (max-width: 970px), only screen and (max-device-width: 970px) {
#header {
	background-image: url('/images/header-small-unlinked.png');
	background-repeat: no-repeat;
}

@media only screen and (max-width: 700px), only screen and (max-device-width: 700px) {
#header {
	background-image: url('/images/header-tiny-unlinked.png');
	background-repeat: no-repeat;
}

#header ul#nav-main {

	height: 75px;

}

