
html {
	width: 100%;
	height: 100%;
}

.nobreak {
	white-space: nowrap;
}



body {
	width: 100%;
	height: 100%;
	text-align:center;
	background-color: #000;
	color: #fff;
	font-family: Helvetica, Arial, "Myriad Pro", "MS Trebuchet", Verdana, sans-serif;
	font-size:62.5%;
	-webkit-text-size-adjust: none;
}

a, a:hover, a:visited {
	color: #FFF;
}

.nodisplay {
	display: none;
}

#content {
	margin: auto;
	width: expression(document.body.clientWidth < 311? "309px" : document.body.clientWidth > 622? "620px" : "auto");
	min-width:309px;
	max-width: 620px;
	text-align: left;
	padding: 5px 5px 0 5px;
}

h1 {
	font-size: 3em;
}

h2 {
	font-size: 2em;
}

h3 {
	font-size: 1.5em;
}


/*  Header */
#header {
	background: url("/images/header/hdr_bg.gif") repeat-x top left;
	margin-bottom: 10px;
	height: 36px;
}
#header .title {
	background: url("/images/header/hdr_home.gif") no-repeat top left;
	display: block;
	float: left;
	height: 36px;
	width: 170px;
}

#header .nav {
	display: inline;
}

#header .nav .sep {
	background: url("/images/header/hdr_separator.gif") no-repeat top left;
	height: 36px;
	width: 3px;
}

#header .nav li {
	display: inline;
	float: right;
}


#nav {
	text-align: center;
	margin-bottom: 10px;
	display: block;
	height: 36px;
}

#nav .tab {
	text-align: center;
}

.flash{
	text-align:center;
}

.error{
	color: red;
}

.notice{
	color: green;
}


/* user info */
#user-info{
	width: 320px;
	margin: auto;
}

#user-name{
	width: 160px;
	float:left;
}

#user-stats {
	display: block;
	padding-top: 3px;
	margin-left: 170px;
}

#fact-list .facts-by{
	text-align:center;
	padding: 10px;
}

/* fact list */
.fact-item {
	background: url("/images/fact/fact_bg.gif") repeat-x top left;
	margin-bottom: 15px;
	min-height: 38px;
}
.fact-item .rank {
	background: url("/images/fact/rank_bg.gif") no-repeat top left;
	float: left;
	position:relative;
	height: 36px;
	width: 36px;
	padding-top: 10px;
	text-align: center;
	font-size: 1.4em;
	clear:left;
}
.fact-item .rank a{
  width: 100%;
  display:block;
}
.fact-item .rank a, .fact-item .rank a:hover, .fact-item .rank a:visited {
	text-decoration: none;
}
.fact-item .vote {
	background: url("/images/fact/separator.gif") no-repeat top left;
	padding-left: 1px;
	height: 36px;
	width: 72px;
	float: right;
	position: relative;
}
.fact-item .vote a {
	background: url("/images/fact/vote_up.gif") no-repeat top left;
	display: block;
	height: 36px;
	width: 36px;
	position: absolute;
	top: 0px;
	right: 0px;
}
.fact-item .vote .vote-down {
	background-image: url("/images/fact/vote_down.gif");
	right: 36px;
}
.fact-item .fact {
	font-size: 1.2em;
	margin-left: 36px;
	margin-right: 73px;
	padding: 10px 10px 0px 10px;
}
.fact-item .by, .fact-item .by a {
	color: #555;
	font-size: 0.9em;
}

.fact-status {
	font-size: 2em;
	margin: 20px;
	text-align: center;
}

/* page links */
.page-links {
	font-size: 16px;
	text-align: center;
	margin: 20px 0;
}
.page-links select {
	margin-left: 6px;
	margin-right: 6px;
}
.page-links a, .page-links span {
	padding-left: 6px;
	padding-right: 6px;
	text-decoration: none;
	font-size: 1.2em;
}

.page-links span {
	color: #333;
}
.page-links a:hover {
	text-decoration: underline;
}

/* footer */
#footer {
	text-align: center;
	font-size: 1em;
	padding-bottom: 10px;
	background: url("/images/bg.gif") no-repeat bottom center;
}

#footer a, #footer a:hover, #footer a:visited {
	color: #fff;
}

#timer {
	text-align: center;
	font-size: 0.9em;
	margin: 10px 10px 0;
	color: #444;
}

/* submit dropdown */
#submitContainer {
	text-align: center;
	margin: 20px 0;
}

#addFact {
	display: none;
	width: 100%;
	height: 100%;
	position: fixed;
	background: url("/images/bg_overlay.png");
	top: 0;
	left:  0;
}

#addFact h1{
	text-align: center;
	font-size: 2em;
	margin: 10px 0;
	font-weight:bold;
}

#addFact form{
	padding: 10px 0;
}

#factSubmit {
	text-align: left;
	width: 320px;
	margin: auto;
	
}

#factSubmit fieldset {
	margin-bottom: 10px;
}
#factSubmit .form-input {
	width: 220px;
}

#factSubmit textarea {
	width: 220px;
	height: 75px
}


#factSubmit .submit {
	padding-left: 60px;	
	padding-top: 5px;
}

#factSubmit .submit input {
	width: auto;
	margin-right: 20px;
}

#factSubmit label,#login_form label {
	width: 50px;
	float: left;
	text-align: right;
	margin-right: 10px;
	display: block;
	font-weight: bold;
	font-size: 1.2em;
}
#login_form label{
	width: 75px;
}

#login_form{
	width: 270px;
	margin: 30px auto;
}

#login_form fieldset{
	margin-bottom: 10px
}

#login_form fieldset input{
	width: 170px
}

#login_form fieldset.submit{
	padding-left: 80px
}
#login_form fieldset.submit input{
	width: auto;
}
#login_form fieldset.submit input#submit{
	margin-right: 20px;
}