*{
	padding:0px;
	margin:0px;
}
html{
	background:#FFF;
	overflow:scroll;
	overflow-x:hidden;
}
body{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
}

img{
	border:none;
}

a{
	color:#3366CC;
	text-decoration:none;
}
a:hover{
	color:#F33;
	text-decoration:none;
}

.clear{
	overflow: hidden;
	clear:both;
}

#traper{
	width: 960px;
	margin:0px auto;
}

#header{
}

#header .logo
{
	height:100px;
	background:url(../images/oj_logo.jpg) no-repeat;
}

#menu
{
	clear: both;
	border: 0xp;
	list-style:none;
	display: block;
	height:33px;
	width:100%;
	color: white;
	background:url(../images/menu_out4.jpg) repeat-x bottom;
}

#menu .menu_item{
	width:115px;
	display:block;
	float: left;
	height:33px;
	border: 0px;
	border-right: 1px solid #d0dce1;
	position: relative;
	z-index:100;
	font-size: 15px;
}

#menu .search_item{
	float: right; 
	padding-right: 5px;
	margin-top: 5px;
}

#menu .user{
    display:block;
	float: left;
    margin-left: 20px;
	line-height:33px;
	border: 0px;
	font-size: 15px;
    color: black;
}

#menu .search_item .keyword{
	width:140px;
	height:20px;
	font-size:13px;
	color:#9E9E9E;
	background-repeat:no-repeat;
}

#menu .search_item .search{
	width:30px;
	font-size:13px;
	border: 1px solid black;
	background: #66CC33;
	padding: 1px 3px;
}

#menu .menu_item  a
{
	color: white;
	display:block;
	text-align:center;
	line-height:33px;
	height: 33px;
}

#menu .menu_item   a:hover
{
	color: black;
	background:url(../images/menu_on6.jpg) repeat-x bottom;
}

#menu #menu_login{
    font-size: 13px;
}

#menu .menu_item .second_menu_item{
	position: absolute;
	z-index:100;
	left: -1px;
	background: #83cded;
	border: 1px solid #d0dce1;
}

#menu .menu_item .second_menu_item  a
{
	font-size:13px;
	display: block;
	text-align:center;
	height: 30px;
	width: 140px;
	text-align: center;
	color: white;
	border-bottom: 1px solid #d0dce1;
}

#menu .menu_item .second_menu_item a:hover {
	background: #62e0df;
}

#position{
	color: gray;
	font-size: 11px;
	padding: 4px 0px 2px 10px;
	background: #e0f0f0;
	margin-bottom: 8px;
}

#position a{
	color: black;
}

#position a:hover {
	text-decoration:underline;
}

#footer {
    clear: both;
	margin-top: 10px;
	text-align: center;
	border-top: 1px solid #009999;
	padding: 3px 0px;
}

#footer  p
{
	color:#000;
	line-height:180%;
}

#main
{
	width: 100%;
    height:auto;
}

#problem_list div {
	font-size: 16px;
}

#problem_list div span{
	margin-right: 10px;
}

#problem_list div a{
	margin-right: 20px;
}

#errorwrap
{
	background: #F2DDDD;
	border: 1px solid #992A2A;
	border-top: 0;
	margin: 30px 30px 30px 30px;
}

#errorwrap h2
{
	background: #E3C0C0;
	border: 1px solid #992A2A;
	border-left: 0;
	border-right: 0;
	color: #992A2A;
	font-size: 16px;
	font-weight: bold;
	margin: 0;
	padding: 5px;
}

#errorwrap p
{
	background: transparent;
	border: 0;
	color: #992A2A;
	margin: 0;
	padding: 8px;
}

#list_top{
    text-align: center;
    width: 100%;
}

#list_top p{
    font-size: 25px;
    color: blue;
    margin: 10px auto;
}

.list{
	border-collapse:collapse;
	width: 100%;
	background: #e0f0f0;
}

.list th{
	background: #83cded;
	border:1px solid white;
	color: white;
	font-weight: normal;
	height:1.8em;
	font-size: 14px;
}

.list td{
	text-align:center;
	border:1px solid white;
	height:1.8em;
	font-size: 13px;
}

#problem{
	padding: 5px 10px 10px 10px;
	background: #e0f0f0;
}

#problem .top p{
	text-align: center;
	font-size: 15px;
	margin: 5px 0px;
}

#problem .top p span{
	color: green;
}

#problem .top p.title {
	color: blue;
	font-family:Arial,Helvetica,sans-serif;
	font-size:18pt;
}

#problem .content{
	margin: 10px 0px;
}

.stdtable{
	width:450px;
	float:left;
	margin:10px 20px 10px 0px;
	table-layout:fixed;
}

.stdtable th{
	color: green;
	font-weight : normal;
	text-align:left;
	padding-right:10px;
	width:120px;
}

#bottom_nav{
	font-size:13px;
	margin:10px auto;
	overflow: auto;
	zoom: 1;
}

#bottom_nav a, #bottom_nav input{
	display: block;
	text-align:center;
	width: 55px;
	margin: 0px 15px;
	padding: 2px 4px;
	background: #e0f0f0;
	border: 1px solid gray;
}

#bottom_nav a:hover {
	color: red;
}

.err{
	color:red;
}
.ac{
	color:green;
}
.pe{
	color:blue;
}

#status{
    margin-bottom: 5px;
    margin-top: 10px;
}

#status #proid{
    width: 60px;
}


#showcode{
    text-align: center;
}

#showcode p{
    color: blue;
    font-size: 22px;
}

#showcode table{
    margin: 0px auto;
    font-size: 14px;
}

#showcode table td{
    padding: 0px 10px;
}

#problem_status img{
    float: left;
}

#problem_status table{
    float: right;
	border-collapse:collapse;
	background: #e0f0f0;
    width: 360;
}

#problem_status td{
	border:1px solid white;
	height:2.8em;
	font-size: 14px;
}

#problem_status td.left{
    padding-left: 10px;
    width: 180px;
}


#problem_status td.right{
    text-align: center;
}

#faq{
    margin: 0px 10px;
}

.faq_title , .faq_content{
	margin-bottom:5px;
}

.faq_title{
	background-color:#eeffee;
	margin-top:14px;
	font-size:16px;
	color:#006600;
}

.faq_title:first-letter {
	color:red;
	font-size:24px;
}

.faq_content:first-letter {
	color:black;
	font-size:25px;
}

.nav{
	list-style: none;
	position: relative;
	margin:1px 1px 25px 1px;
	padding: 0;
    zoom: 1;
}

.nav h2{
	font-weight: normal;
	font: 24px/150% Arial, Helvetica, sans-serif;
	background: #EFE;
	margin-left: 90px;
	padding-top: 1px;
	padding-bottom: 0px;
	margin-bottom: 0px;
}

.nav p{
	margin-left: 90px;
	margin-top: 0px;
}

.nav .green-blank{
	position: absolute;
	top: 0;
	left: 0px;
}

.box
{
	margin: 30px auto 10px auto;
	width: 95%;
	color: #333; 
	border: 1px solid gray;
	position: relative;
}

.box .top
{
	color: green;
	font-size: 20px;
	position: absolute;
	background: white;
	top: -20px;
	left: 10px;
}

.box .top  *
{
	vertical-align: middle;
}

.box img
{
	position: relative;
	top: -4px;
	margin: 2px;
}

.box .stance
{
	width:100%;
	height: 15px;
}


#login table{
    width: 240px;
    margin: 10px auto;
}

#mpwd table{
    width: 340px;
    margin: 10px auto;
}

#login table tr, #mpwd table tr{
    font-size: 15px;
    line-height: 35px;
}

#login table tr td span, $mpwd table tr td span{
    color: green;
}

#submit{
	text-align:center;
	padding-bottom:10px;
	color:green;
	font-size: 14px;
}

#submit table{
	margin:5px auto;
}

#submit table td{
    font-size: 14px;
}

#submit p{
	margin: 10px 0px;
}

#userinfo{
    overflow: auto;
    zoom: 1;
}

#userinfo .left{
    float: left;
    width: 290px;
}

#userinfo .right{
    float: right;
    width: 640px;
}
#userinfo table{
    font-size: 14px;
    width: 96%;
    margin-left: 5px;
    overflow: hidden;
}

#userinfo table tr{
    line-height: 30px;
}

#userinfo table td.label{
    width: 100px;
    color: green;
}

#userinfo table td .hidden{
    width: 170px;
    display: block;
    overflow: hidden;
}

#userinfo .right p, #userinfo .left p{
	background: #e0f0f0;
    line-height: 25px;
    color: green;
    font-size: 16px;
    padding-left: 10px;
}

#userinfo .right div div{
    margin: 0px 6px 6px 6px;
}

#create {
	margin:15px auto;
    padding-bottom: 20px;
	text-align:center;
    font-size: 16px;
}

#create p{
	margin:5px 0 10px 0;
	color:green;
}

#create td{
	margin:5px 0 10px 0;
	color:green;
}

.notice{
	color:#FF0000;
}

#contest{
    width: 100%;
    margin: 0px auto;
}

#contest .top p{
    text-align: center;
    font-size: 14px;
    line-height: 24px;
}

#contest .top h1{
    text-align: center;
    font-size: 30px;
    font-weight: normal;
    color: blue;
    line-height: 50px;
    margin-top: 10px;
}

#contest .top p span{
    color: green;
}

#register table{
	width:450px;
	margin:10px auto;
    font-size: 13px;
}

#register th{
	color: green;
	font-weight : normal;
	text-align:right;
    padding-right: 20px;
	height:30px;
}

#register input{
	width:180px;
}

#register b{
	color:#ff0000;
}

#ranklist{
    border-collapse:collapse;
	background: #e0f0f0;
}

#ranklist th{
    background: #83cded;
    border:1px solid gray;
    height:2.2em;
    color: white;
    font-size: 14px;
    font-weight: normal;
	border:1px solid white;
}

#ranklist th a{
    color: white;
}

#ranklist th a:hover {
    color: white;
	text-decoration:underline;
}

#ranklist td{
    text-align:center;
    font-size:13px;
    border:1px solid gray;
    height:2em;
	border:1px solid white;
}

#ranklist .accept{
    background: #09b732;
    color: white;
}


#ranklist .wrong{
    background: #e80f29;
    color: white;
}

#news{
    width: 940px;
    margin: 10px auto;
    text-align: center;
	background: #e0f0f0;
    font-size: 14px;
    line-height: 27px;
    color: green;
}

#problem_add{
    margin: 0px auto;
    text-align: center;
}

#problem_add p{
    margin: 10px;
}

#problem_add p span{
    margin-left: 10px;
}

#problem_add p input{
    width: 60px;
}

#topic_set{
    border: 1px solid gray;
    border-top: 2px solid gray;
    border-bottom: 2px solid gray;
}

#topic_set #title{
	background: #83cded;
    padding: 4px;
    padding-left: 0px;
    color: white;
    font-size: 15px;
    font-weight: bold;
    line-height: 18px;
}

#topic_set #title img{
    float: left;
}

.reply{
    border-top: 2px solid gray;
}

.reply .info{
    background: #e0f0f0;
    line-height: 28px;
	overflow: auto;
	zoom: 1;
}


.reply .info .user_pic{
    margin: 6px;
    float: left;
    width: 16px;
}

.reply .info .name{
    font-size: 14px;
    width: 100px;
    display: block;
    float: left;
}

.reply .info .date_pic{
    margin: 9px 3px;
    float: left;
}

.reply .info .date{
    font-size: 12px;
    color: gray;
    width: 170px;
    display: block;
    float: left;
}

.reply .info .floor{
    width: 30px;
    color: green;
    display: block;
    float: right;
}

.reply .info .opt{
    display: block;
    float: right;
    margin-right: 10px;
}

.reply .info textarea{
    display: none;
}

.reply .content{
    padding: 5px 10px;
    background: #f3f8fb;
    min-height: 40px;
}


