html, body
{
	padding: 0;
	margin: 0;
}
body {
	background-color: #fff;
	font-family: Arial, Helvetica, Verdana;
	font-size: 14px;
	line-height: 22px;
	color: #333;
	-webkit-text-size-adjust: none;
}
body *
{
	text-shadow: none;
}
h1, h2, h3, h4, h5, h6
{
	line-height: 1;
	color: #330;
	font-weight: bold;
	margin: 20px 0 10px 0;
}
h1, h2, h3
{
	font-size: 18px;
}
h4, h5, h6
{
	font-size: 16px;
}

a, a:link, a:active, a:visited, a:hover
{
	color: #0000ff;
	/* text-decoration: underline; */
}
pre
{
	font-size: 12px;
	width: 100%;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}
#page01 nav
{
	display: none;
}

#header,
.header,
#footer
{
	background: #05007a;
	font-size: 16px;
	font-weight: bold;
	color: #fff;
	text-align: center;
	line-height: 40px;
	height: 40px;
	padding: 0 50px;
}

#header a,
.header a
{
	background: center center no-repeat transparent;
	background-image: url( data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADhJREFUeNpi/P//PwOtARMDHQBdLGFBYtMq3BiHT3DRPU4YR4NrNAmPJuHRJDyahEeT8Ii3BCDAAF0WBj5Er5idAAAAAElFTkSuQmCC );

	display: block;
	width: 40px;
	height: 40px;
	position: absolute;
	top: 0;
	left: 10px;
}
#header a.friends,
.header a.friends
{
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAVNJREFUeNq01jFLAzEYxvH2UBCxiIiDUhzcdXCyIk5ufgUXLR37JdxcXBxcuwmOOtml0EKpo04iWIpIQREVEVFLjf9AhoC9e3O5uxd+lMLdPU1yedO8UiqXdQWO122ghi4+8IwGqiiId+uRCHbxqsLrFHNRz5ACSnhTch1EPScQpnIH0w7TWcGiz5rouS45rtkMVnxCJrAQ4yUq+oT8YhAjZOAT8oWHGCE9nxC9H64cA15w4xOiW0HbfErVNhvUa8c3cecQcoZv3xA9z+fCNbe4SNq7jvEUMaUnuE/au7SjkHbSR1G637ULh73Kn+gn7cIBttELGckQh9Jo8iMOrSksYx2b2MKk8FuvUUcHl/9GbiWuooYu3pVf/eARLZQxbp8na2YR0659e+HLmM/geN+z98lSRv8hZu2QQkYh+kzKjZkvHdPahymH6DNp5Cucev0JMAAkKj0NEoYBJwAAAABJRU5ErkJggg==);
}
#header a.right,
.header a.right
{
	left: auto;
	right: 10px;
}
#content,
.content
{
	padding: 0px 0px 20px 0px;
}
  #header {
  width: 68%;
  position: fixed;
    height:44px;
  z-index:999;
} 
/* Safari 6.1-8.0 (6.1+) */


@media all and (min-width: 900px) {
  html, body {
    height: 100%;
  }
  #menu {
	margin-top:-20px;
    background: #003cc8;
		color:#fff;
	border-right: 1px solid #ccc;
  }
  #page {
    /*border-left: 1px solid #ccc;*/
    /*min-height: 100%;*/
  }
  /* hide open-button */
  a[href="#menu"] {
    display: none !important;
  }
  
  @media screen and (min-color-index:0)
   and(-webkit-min-device-pixel-ratio:0) { @media {
    #header { margin-left:28%; }
}}

.box01 {
	float: left;
	width: 10%;
	color:#000077;
}
.box02 {
	float: left;
	width: 74%;
	padding: 4px 0px 0px 0px;
}
.box03 {
	float: right;
	width: 10%;
	padding-top:4px;

}
}

  @media screen and (max-width: 900px){
#header {
  width: 90%;
  position: fixed;
  z-index:999;
} 
.box01 {
	float: left;
	width: 10%;
	color:#000077;
}
.box02 {
	float: left;
	width: 80%;
	padding: 4px 0px 0px 0px;
}
.box03 {
	float: right;
	width: 10%;
	padding-top:4px;

}
}

  @media screen and (max-width: 480px){
#header {
  width: 80%;
  position: fixed;
  z-index:999;
} 
.box01 {
	float: left;
	width: 1%;
	color:#000077;
}
.box02 {
	float: left;
	width: 95%;
	padding: 4px 0px 0px 0px;
}
.box03 {
	float: right;
	width: 4%;
	padding-top:4px;

}
}

  @media screen and (max-width: 340px){
#header {
  width: 80%;
  position: fixed;
  z-index:999;
} 
.box01 {
	float: left;
	width: 1%;
	color:#000077;
}
.box02 {
	float: left;
	width: 89%;
	padding: 3px 0px 0px 0px;
}
.box03 {
	float: right;
	width: 10%;
	padding-top:4px;

}
}

#nav li:nth-child(1) a.active	{
	color:#fff;
	background:#003cc8;
}

#nav li a.active	{
	color:#000;
	background:#9fc8ff;
}