@font-face {
  font-family: Adventure;
  src: url(../fonts/Adventure.otf);
}
html,body{
	padding:0;
	margin:0;
	background-color:#f9e5b8;
}
main{
	margin:0px auto;
	width:994px;
	padding:8px 15px;;
}
.radius-top{
	border-radius:10px 10px 0 0;
}
.radius-bottom{
	border-radius:0 0 10px 10px;
}

/* header */
header{
	position:relative;
	height:148px;
}
#logo{
	width:445px;
	height:160px;
	background:url(../img/logo-origin.png);
	background-size:contain;
	position:absolute;
}
#userpanel{
	width:260px;
	line-height:43px;
	background-color:#D49658;
	border:2px solid #774e26;
	border-radius:10px;
	font-family:Trebuchet MS;
	font-size:22px;
	color:#492f16;
	position:absolute;
	top:11px;
	right:0;
}
.userpanel-in{
	padding:10px;
	height:96px;
}
.login-box{
	border:0;
	border-radius:3px;
	background-color:#FFD700;
	font-family:Trebuchet MS;
	font-size:14px;
	width:232px;
	padding:4px;
	text-align:center;
}
.login-box::placeholder{
	color:#492f16;
}
.login-box:nth-child(2){
	position:relative;top:4px;
}
.submit{
	padding:4px 26px;
	border:0;
	border-radius:3px;
	color:white;
	font-family:Trebuchet MS;
	font-size:15px;
}
.submit:hover{
	cursor:pointer;
}
.login{
	position:relative;
	top:10px;
	background:#ffd700;
	color:#492f16;
}
.register{
	background:#492f16;
	color:#ffd700;
	position:absolute;
	bottom:12px;
	right:10px;
}
#avatar{
	width:85px;
	height:85px;
	background-size:contain;
	border-radius:10px;
	margin:8px;
	border:2px solid #774e26;
	display:inline-block;
	vertical-align:top;
}
#usermenu{
	display:inline-block;
	vertical-align:top;
	height:85px;
	margin:8px;
	margin-left:0;
	width:140px;
	font-size:16px;
	line-height:20px;
}
#usermenu a,.username{
	color:white;
	text-decoration:none;
	position:relative;
	left:-2px;
}
#usermenu a:hover{
	color:#FFD700;
	text-decoration:underline;
}
#usermenu a{
	top:4px;
}
.username{
	color:#492f16;
	font-size:19px;
	top:1px;
}
.userID{
	font-weight:400;
	font-size:12px;
	position:relative;
	top:-4px;
	left:2px;
}
nav{
	height:45px;
	line-height:43px;
	background-color:#FFD700;
	border:2px solid #774e26;
	border-radius:10px 10px 0 0;
	font-family:'Adventure';
	font-size:22px;
	color:#492f16;
	text-transform:uppercase;
}

/* page */
#container{
	min-height:50px;
	border:2px solid #774e26;
	border-top:0;
	border-radius:0 0 10px 10px;
	background-color:#D49658;
	padding:24px;
}
.header{
	background:#492f16;
	color:#ffd700;
	font-size:24px;
	font-family:'Adventure';
	padding:6px 10px 5px 10px;
}
.td{
	font-family:Trebuchet MS;
	text-transform:uppercase;
	font-size:15px;
	font-weight:bold;
	text-align:center;
}
.lower{
	font-weight:normal;
	text-transform:none;
}
.category{
	padding:6px 10px;
	border-top:1px solid #492f16;
	background-color:#FFD700;
	font-family:Trebuchet MS;
	color:#492f16;
	font-size:17px;
}
.category img{
	position:relative;
	top:2px;
}
.category a{
	text-decoration:none;
	color:#492f16;
}
.sub{
	font-size:16px;
	text-decoration:none;
	color:#492f16;
}
.spacer{
	height:24px;
}

/* footer */
footer{
	color:#492f16;
	font-family:Trebuchet MS;
	font-size:12px;
	line-height:22px;
	padding:0 5px;
	position:relative;
	top:3px;
}
footer a{
	float:right;
	font-weight:bold;
	text-decoration:none;
	color:#492f16;
}
footer a:hover,.sub:hover,.category a:hover{
	text-decoration:underline;
}

/* register */
.reg-input{
	width:420px;
	height:22px;
	font-size:16px;
	line-height:22px;
	background-color:#D49658;
	padding:4px;
	border-radius:5px;
	text-align:center;
	margin:12px 0 0 0;
	border:2px solid #774E26;
	color:#492F16;
	font-family:Trebuchet MS;
}
.reg-submit{
	margin:19px 0 30px 0;
	background-color:#492F16;
	font-family:Trebuchet MS;
	border:0;
	border-radius:5px;
	color:#FFD700;
	padding:10px 18px;
	font-weight:bold;
	font-size:17px;
}
.reg-checkbox{
	border:2px solid #774E26;
	background-color:#D49658;
	position:relative;
	top:8px;
}
.reg-checkbox-text{
	font-size:14px;
	font-style:italic;
	position:relative;
	top:7px;
}
.reg-input::placeholder{
	color:#492F16;
}
.reg-submit:hover{
	cursor:pointer;
}
#holder{
	position:absolute;
	z-index:9;
	height:17px;
	width:17px;
	background:transparent;
	top:211px;
	left:326px;
}