/**
	Nepsa Merge Default Styles (C) 2008-2010 Kevin Mehall
 */

* {
	margin:0;
	padding:0;
}

body {
	background: white url('/img/layout.jpeg') top center no-repeat;
	color: #111;
	font-family:'lucida grande',verdana,helvetica,arial,sans-serif;
	margin: 0;
}
body.loggedin{
	background-image:url('/img/layout.loggedin.jpeg');
}

a img {
	border:none;
}
a{
	color: #111;
}
p{
	margin-bottom: 1em;
}

h1 {
	color: white;
	font-size: 40px;
	margin: 0.1em 0;
}
h2,h3{
	font-weight:normal;
}
h2 {
	color: black;
	font-family: sans-serif;
	font-size: 190%;
	position:absolute;
	top: -1.7em;
	text-shadow: 1px 1px 2px #666, 1px 1px 10px #fff;
	padding-right:8px;
	white-space:nowrap;
	overflow:hidden;
}
h3 {
	background: #EDEAEA;
	color: black;
	margin: -10px -20px 10px -20px;
	font-family: sans-serif;
	font-size: 160%;
	padding: 0.2em 0.8em;
}
h4 {
	color: darkred;
	font-weight: normal;
	padding-top: 0.5em;
}
ul, li {
	margin: 0 12px;
}

/* Layout */
#container {
	width:800px;
	margin:0 auto;
}

#header{
	height: 234px;
	position: relative;
	overflow-x: hidden;
}

#header> h1{
	display: none;
}

#logo_home{
	display: block;
	width: 280px;
	height: 230px;
	text-decoration: none;
}

#header > em{
	position: absolute;
	font-variant: small-caps;
	display: block;
	font-size: 14px;
	height: 15px;
	top: 50px;
	right: 5px;
}

.loggedin #header > em{
	top:113px;
}

#header > em a{ text-decoration: none; }
#header > em a:hover{ text-decoration: underline; }

#usernav{
	position: absolute;
	font-size: 12px;
	height: 14px;
	top: 85px;
	right: 30px;
}

.navbar{
	height: 33px;
	width: 500px;
	position:absolute;
	right: 18px;
}

#navbar{
	top: 4px;
}

#navbar-editors{
	top: 50px;
}
.navbar a{
	float: right;
	display: block;
	font-size: 15px;
	border-left: 1px solid #aaa;
	height: 21px;
	vertical-align: middle;
	text-decoration: none;
	padding: 6px 8px;
}
.navbar a:last-child{
	border:none;
}

.navbar a:hover{
	color: #844;
	background: rgba(0, 0, 0, 0.03);
}

#content{
	position:absolute;
	top:311px;
	clear: both;
	color: #333;
	padding: 10px 20px 40px 20px;
	width: 760px;
}

#home-submit{
	background:url('/img/submit_btn.png') no-repeat;
	width:300px;
	height:166px;
	display:block;
	float:right;
	margin:-4px -10px 10px 10px;
	text-decoration:none;
}

#home-submit:hover{
	background-position:0 -166px;
}

#footer {
	clear: both;
	padding: 6px 10px;
	text-align: right;
	font-size: 12px;
}

/* Tables */
table {
	background: #fff;
	clear: both;
	color: #333;
	border-spacing:0;
	border-left:1px solid #CCCCCC;
	border-bottom:1px solid #CCCCCC;
	font-size: 92%;
}
th {
	background: black;
	color:white;
	border-right:1px solid #777;
	text-align: center;
	padding: 4px;
}
th a {
	background:#f2f2f2;
	display: block;
	padding: 2px 4px;
	text-decoration: none;
}
th a:hover {
	background: #ccc;
	color: #333;
	text-decoration: none;
}
table tr td {
	background: #fff;
	border-right: 1px solid #ccc;
	padding: 6px 4px;
	vertical-align: top;
}
table tr.altrow td {
	background: #f4f4f4;
}
td.actions {
	text-align: center;
	white-space: nowrap;
}
td.actions a {
	margin: 0px 6px;
}
.cake-sql-log{
position:absolute;
top:10000px;
}
.cake-sql-log table {
	background: #f4f4f4;
}
.cake-sql-log td {
	padding: 4px 8px;
	text-align: left;
}

/* Paging */
div.paging {
	background:#fff;
	color: #ccc;
	margin-bottom: 2em;
}
div.paging div.disabled {
	color: #ddd;
	display: inline;
}
div.paging span {
}
div.paging span.current {
	color: #000;
}
div.paging span a {
}

/* Scaffold View */
dl {
	line-height: 2em;
	margin: 0em 0em;
	width: 60%;
}
dl.altrow {
	background: #f4f4f4;
}
dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
	margin-left: 10em;
	margin-top: -2em;
	vertical-align: top;
}

/* Forms */
form {
	clear: both;
	padding: 0;
}
fieldset {
	border: 1px solid #ccc;
	margin-top: 30px;
	padding: 16px 20px;
}
fieldset legend {
	background:#fff;
	color: #e32;
	font-size: 160%;
	font-weight: bold;
}
fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 16px 10px;
}
fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	clear: both;
	margin-bottom: 1em;
	padding: .5em;
	vertical-align: text-top;
}
form div.input {
	color: #444;
}
form div.required {
	color: #333;
	font-weight: bold;
}
form div.submit {
	border: 0;
	clear: both;
	margin-top: 10px;
}
label {
	display: block;
	font-size: 110%;
	padding-right: 20px;
}
input, textarea {
	clear: both;
	font-size: 140%;
	font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
	padding: 2px;
	width: 100%;
}
select {
	clear: both;
	font-size: 120%;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 120%;
	padding: 0 3px;
}
input[type=checkbox] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
}
input[type=radio] {
	float:left;
	width:auto;
	margin: 0 3px 7px 0;
}
div.radio label {
	margin: 0 0 6px 20px;
}
input[type=submit] {
	display: inline;
	font-size: 110%;
	padding: 2px 5px;
	width: auto;
	vertical-align: bottom;
}

/* Notices and Errors */
div.message, div.topnote {
	clear: both;
	background-color: #ffeeaa;
	margin: -10px -20px 10px -20px;
	padding: 10px 25px;
	color: #900;
}
div.message, div.topnote h4{
	font-size: 140%;
}

div.error-message {
	clear: both;
	color: #900;
	font-weight: bold;
}
p.error {
	background-color: #e32;
	color: #fff;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	color: #000;
	font-weight: normal;
	line-height: 140%;
}
.notice {
	background: #ffcc00;
	color: #000;
	display: block;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	background: green;
	color: #fff;
}

/*  Actions  */
div.actions ul {
	margin: 0px 0;
	padding: 0;
}
div.actions li {
	display: inline;
	list-style-type: none;
	line-height: 2em;
	margin: 0 2em 0 0;
	white-space: nowrap;
}
div.actions ul li a {
	background:#fff;
	color: #003d4c;
	text-decoration: none;
}
div.actions ul li a:hover {
	color: #333;
	text-decoration: underline;
}

/* Related */
div.related {
	clear: both;
	display: block;
}

#content table{
	margin: -10px -20px 10px -20px;
	width: 800px;
	border-left:none;
}

#content table th{
	background: #444;
	height: 2em;
	border-color:#3f3f3f;
}

#content table td:last-child, #content table th:last-child{
	border:none;
}



#SubmissionContent, #EpageBody, #SubmissionBody{
	height: 600px;
	font-size: 12px;
}

#statcloud{
	margin: 30px 0;
}

#statcloud a{
	text-decoration:none;
}
#statcloud a:hover{
	text-decoration:underline;
}
.stat_main{
	margin-top: 20px;
}
.stat_main a{
	font-size:50px;
	padding-left: 60px;
}
#stat_submissions a{ background: url('/img/icons/submissions.png') no-repeat; }
#stat_discussions a{ background: url('/img/icons/chat.png') no-repeat; }
#stat_editors a{ background: url('/img/icons/users.png') no-repeat; }
#stat_wiki a{ background: url('/img/icons/doc.png') no-repeat; }
#stat_pages a{ background: url('/img/icons/textedit.png') no-repeat; }
.stat_sub{
	font-size:24px;
	text-indent: 90px;
}

#submission-title{
	margin-right: 130px;
	font-size: 160%;
}

.backtolist-top{
	position:absolute;
	top:-1.6em;
	right:10px;
}

.submission-info div{
	margin-bottom:0;	
	display: inline-block;
	vertical-align:top;
	padding: 2px 20px 10px 20px;
}

*+html .submission-info div{
	display:inline !important; /*ie7*/
}

.submission-info h4{
	color: black;
	font-weight:bold;
	font-size: 18px;
	margin-bottom: 3px;
}

.submission-info p{
	margin:0;
}

.submission-info, .warning{
	background: #EDEAEA;
	margin: -10px -20px 10px -20px;
	padding:0;
	font-size: 90%;
}

.warning{
	background: #ffff88;
	padding: 10px;
}

.editable{
	cursor:pointer;
}

.editable:hover{
	padding-right:20px;
	background:url('/img/edit.png') no-repeat top right;
}
.submission-edit-content a{
	padding-left:20px;
	background:url('/img/edit.png') no-repeat top left;
}

.editable-editing{
	position:absolute;
}
.editing-popup{
	padding:4px !important;
	position:absolute;
	top:0;
	left:0;
	width: 15.3em;
	background: #ffa;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	height: 1.3em;
}
.editing-popup .input{
	width: 14em;
	border:none;
	background:inherit;
	font-size:100%;
}
.editing-popup .submit{
	position:absolute;
	top:4px;
	right: 0;
	width: 1.3em;
	height: 1.3em;
	padding:0;
	font-size: 100%;
}



#filteropts div p{
	font-size: 85%;
	white-space: nowrap;
	display:block;
}

#filteropts input{
	float: none;
}

#filteropts label{
	display:inline;
}

.submission-content{
	font-family: Nimbus Roman No9L, Times New Roman, serif;
	font-size:14pt;
	padding: 10px;
	line-height: 1.3em;
	margin-bottom:10px;
}

.submission-img{
	margin: -10px -20px 10px -20px;
	background: #ccc;
}
.submission-img img{
	margin:0 auto;
	display:block;
}

.submission-stats{
	margin: -5px -23px 15px -20px;
}

.submission-stats div{
	width: 243px;
	padding: 10px;
	display: inline-block;
	vertical-align:top;
	margin:0;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	/*ie hack:*/ zoom:1; *display: inline;
}

.submission-stats div.yes	{background: #cfc;}
.submission-stats div.maybe	{background: #ccc;}
.submission-stats div.no	{background: #fcc;}


.submission-stats div h4{
	margin:0 0 5px 0;
	padding:0;
	font-size: 20px;
	color: black;
}

.submission-stats li.vote-my{
	font-weight: bold;
}
.submission-stats li.vote-changed-since{
	color: #666;
}
h3#review-comments{
	background-color: #ccc;
}



.page-edit{
	background: rgba(200, 200, 200, 0.5) url('/img/edit.png') no-repeat 4px 50%;
	padding: 5px;
	margin-top: -39px;
	margin-left: -30px;
	float: right;
	padding-left:24px;
	text-decoration:none;
	-moz-border-radius: 10px 10px 0 0;
	-webkit-border-radius: 10px 10px 0 0;
}
.page-edit:hover{
	background-color: rgba(200, 200, 200, 0.7);
	color: darkred;
}

#submission-table{
	font-size: 80%;
}

.reviewlist-small{
	font-size: 95%;
}

.thumbnail{
	display:block;
	float:left;
	width: 180px;
	height: 190px;
	border:1px solid #ccc;
	margin: 2px;
	padding:2px;
	position:relative;
	text-decoration: none;
}

.thumbnail h4, .thumbnail em{
	position:absolute;
	white-space:nowrap;
	overflow:hidden;
	left:2px;
}
.thumbnail h4{
	bottom: 14px;
	width: 176px;
	color:black;
}
.thumbnail em{
	bottom:2px;
	font-size: 10px;
	width: 150px;
}

.thumbnail strong{
	position:absolute;
	bottom:2px;
	right:2px;
	font-size: 10px;
}
.thumbnail strong img{ /* my vote */
	width: 8px;
	height: 8px;
}

.text-thumb{
	display:block;
	margin: auto auto;
	background: url('/img/icons/textthumb-bg.png') no-repeat;
	width: 160px;
	height: 160px;
}

.text-thumb > span{
	overflow: hidden;
	width: 100px;
	height: 100px;
	position: absolute;
	top: 40px;
	left: 40px;
}

.text-thumb > span > p{
	font-size: 50%;
	display:block;
	width: 200px;
	height:200px;
	margin:0;
}

.thumbnail > img{
	display:block;
	margin: 4px auto;
}

.comment{
	margin-bottom: 20px;
}

.comment-edit{
	background: #EDEAEA;
	color:black;
	font-size: 80%;
	margin: -10px -20px 10px -20px;	
}

.comment h3{
	font-size: 102%;
	display:block;
	background: #EDEAEA;
	color:black;
	padding:6px;
	font-family:sans-serif;
	font-weight:normal;
	margin-bottom: 0;
}

.comment-edit h3{
	background: none;
	color:inherit;
	padding-bottom: 0px;
	margin:0;
	overflow-x: hidden;
}

.comment-submitter h3{
	background: #bbbbff;
}

.comment-unread h3 em{
	color:red;
}

.comment h3 em{
	font-size: 85%;
	margin-left: 5px;
	float:right;
}

.comment p{
	font-family: sans-serif;
	padding: 5px;
}

tr.unread td, tr.unread td a{
	color: darkred;
	background: #ffa;
}

#dev_server{
	position:fixed;
	right: 10px;
	top:10px;
	background:yellow;
	padding:5px;
}

/*tablesort*/
table.tablesorter thead tr .header {
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
}
table.tablesorter tbody tr.odd td {
	background-color:#F0F0F6;
}
table.tablesorter thead tr .headerSortUp {
	background-image: url(/img/asc.gif);
}
table.tablesorter thead tr .headerSortDown {
	background-image: url(/img/desc.gif);
}
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
background-color: #777;
color: white;
}
/* end tablesort css */

