/* 
 * e107 specific classes 
 */

.smalltext{
	font-family: Verdana, Helvetica, Arial, sans-serif;
	color: #303030;
	font-size: 0.85em;
}

.smalltext a{
	font-weight: bold;
}

input.tbox{
	font-family: Verdana, Helvetica, Arial, sans-serif;
	border-style: solid;
	border-width: 1px;
}

input.textarea{
	font-family: Verdana, Helvetica, Arial, sans-serif;
	border-style: solid;
	border-width: 1px;
}

input.button{
	font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
	font-weight: bold;
	border-style: solid;
	border-width: 1px;
	background-color: transparent;
	background-image: url("images/bg_button.gif");
	color: #C9BB8E;
	border-color: #C9BB8E;
}

input.button:hover{
	color: #7C1212;
	border-color: #7C1212;
}

/**
 * Dataform
 */

#dataform{
	width: 540px;
	text-align: left;
}

#dataform table{
	width: 540px;	
}

/**
 * Commentform
 */

input.comment{	
	width: 400px;
	border: 1px solid gray;
}

input.helpbox{	
	width: 400px;
	border: 1px solid gray;
}

textarea.comment{
	width: 400px;
	border: 1px solid gray;
}

#commentformbutton{
	text-align: left;
}

#commentformbutton input.button{
	line-height: 0px;
	font-size: 0px;
	border: 0 none;
	width: 96px;
	height: 25px;
	color: transparent;
	background: url(images/comment_new.png);
}

#commentformbutton input.button:hover{
	background: url(images/comment_new2.png);
}

/**
 * Theme specific classes
 */

body{	
	color: black;
	font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
	font-size: 0.8em;
	background: url(images/bg_body.jpg) #F3ECDA repeat;
	padding: 0px;
	margin: 0px;
	height: 100%;
}

img{
	border: 0 none;
}

a:link{
	color: #5D3915;
	text-decoration: none;
}

a:visited{
	color: #5D3915;
	text-decoration: none;
}

a:hover{
	color: #800C0C;
	text-decoration: underline;
}

a:active{
	color: #5D3915;
	text-decoration: none;
}


h1{
	color: #5D3915;
	font-size: 1.6em;
	font-weight: bold;
	display: inline;
}

h2{
	color: #5D3915;
	font-size: 1.2em;
	font-weight: bold;
	display: inline;
}

#main-container{
	margin: 80px auto;
    width: 1000px;
	z-index: 1;
	overflow-y: hidden;
}

#center-container{
	float: left;
	width: 1000px;
	background: url(images/bg_wrap.png) repeat-y;
	position: relative;
	overflow: hidden;
}

#left-container{
	float: left;
	width: 1000px;	
	position: relative;
	right: 600px;
}

#left{
	float: left;
	width: 230px;
	position: relative;
	left: 620px;
}

#center{
	float: left;
	width: 710px;
	position: relative;
	left: 630px;
}

#disclaimer{
	position: relative;
	top: -256px;
	left: 30px;
	z-index: 2;
}

#header{
	width: 1000px;
	height: 350px;
	background: url(images/bg_header.png) no-repeat;
	overflow: hidden;
}

#navbar{
	position: relative;
	left: 75px;
	top:-10px;
}

#navbar a {  
	color: #CCBE91;
	font: 0.9em Helvetica, Verdana, Arial;
	font-weight: bold;
	text-decoration: none; 
}

#navbar a:hover {  
	color: #800C0C;
}

#logo{
	position: relative;
	top: 62px;
	left: 26px;
}

#author{
	position: relative;
	top: 35px;
	left: 361px;
}

#sitedisclaimer{
	position: relative;
	left: 25px;
	top: 50px;
}

#footer{
	clear: both;
	width: 1000px;
	height: 300px;
	background: url(images/bg_footer.png) no-repeat;
	overflow: hidden;
}

hr.dashed{
	border: 0 none;
	border-top: 1px dashed #CCBE91;
	background-color: transparent;
	height: 1px;
}

hr.comment-separator{
	border: 0 none;
	border-top: 1px solid #CCBE91;
	height: 1px;
	margin: 5px 0;
	display: block;
	clear: both;
	border-color: #C9BB8E;
	border-top-color: #C9BB8E;
}

hr.line{
	margin: 25px 0px 0px 0px;
	border-top: 1px solid black;	
}

.comment{
	
}

.comment-main{
	float: left;
	width: 540px;
	margin-right: 10px;
}

.comment-right{
	width: 150px;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	float: left;
	border-left-style: solid;
	border-left-width: 1px;
	border-left-color: black;
	overflow-x: hidden;
}

.comment-right span{
	font-size: 0.9em;
	color: gray;
	font-weight: normal;
}

.comment-right img{
	position: relative;
	left: 10px;
	width: 100px;
	border: 1px solid gray; 
}

.comment-right a{
	display: inline;
}

.comment-right div{
	position: relative;
	left: 10px;
	font-weight: bold;
	font-size: 0.85em;
}

.comment-subject{
	display: block;
	text-align: left;
	font-size: 1.3em;
	color: #5D3915;
	font-weight: bold;
	text-decoration: none;
}

.comment-text{
	position: relative;
	top: 10px;
	padding: 5px 5px 5px 15px;
	background: url(images/bg_comment.gif) repeat-y;
	color: #303030;
}

.comment-edit{
	width: 54px;
	height: 19px;
	float: right;
}


.comment-reply{
	width: 54px;
	height: 19px;
	overflow: hidden;
	float: right;
}

.comment-signature{	
	font-family: Verdana, Helvetica, Arial, sans-serif;
	color: #303030;
	font-size: 0.85em;
	margin-bottom: 25px;
}

.news-title{
	width: 710px;
	height: 47px;
	overflow: hidden;
	background: url(images/bg_newstitle.png) no-repeat;
	vertical-align: middle;
	line-height: 47px;	
	font-size: 1.5em;
	color: #5D3915;
	font-weight: bold;
	text-decoration: none;
	text-indent: 10px;
}

.news-body{
	width: 700px;
}

.box-title{
	width: 230px;
	height: 25px;
	background: url(images/bg_boxtitle.png) no-repeat;
	vertical-align: middle;
	font-size: 1em;
	color: #CCBE91;
	font-weight: bold;
	text-decoration: none;
	line-height: 25px;
	text-indent: 5px;
}

/* 
 * BEGIN HACK
 * This is for hiding unnecessary elements from a quoted comment
 */

#center div.box-content table div.comment div.comment-right {
	visibility: hidden;
	display: none;
}

#center div.box-content table div.comment div.comment-main {
	width: 480px; 
	border-style: solid;
	border-width: 1px;
	border-color: gray;
	padding: 10px;
	padding-top: 0px;
	background: url(images/bg_comment.gif) repeat-y;
}

#center div.box-content table div.comment div.comment-main div.comment-text {
	background: none;
}

#center div.box-content table div.comment div.comment-main hr.line {
	visibility: hidden;
	display: none;
}

#center div.box-content table div.comment div.comment-edit {
	visibility: hidden;
	display: none;
}

#center div.box-content table div.comment div.comment-edit {
	visibility: hidden;
	display: none;
}

#center div.box-content table div.comment span.comment-subject {
	visibility: hidden;
	display: none;
}

#center div.box-content table hr.comment-separator {
	visibility: hidden;
	display: none;
}

/**
 * END HACK
 */

#usersettings-bullet{
	vertical-align: middle;
}

#userprofile-bullet{
	vertical-align: middle;
}

#userlogout-bullet{
	vertical-align: middle;
}

#adminlink-bullet{
	vertical-align: middle;
}

/*
 * Usersettings
 */

#usersettings-edit{
	width: 710px;
	background: transparent;
}

#usersettings-edit div.content input.tbox{
	border-color: #C9BB8E;
}

#usersettings-edit div.content input.tbox:hover{
	border-color: #333;
}

#usersettings-edit div.content input.tbox:focus{
	border-color: #7C1212;
	color: #0F4987;
}

#usersettings-edit div.content textarea.tbox{
	border-color: #C9BB8E;
	border-style: solid;
	border-width: 1px;
}

#usersettings-edit div.content textarea.tbox:hover{
	border-color: #333;
}

#usersettings-edit div.content textarea.tbox:focus{
	border-color: #7C1212;
	color: #0F4987;
}

/**
 * Roundbox
 */

div.roundbox{
	width: 690px;
	position: relative;
	left: 10px;
}

div.roundbox div.inner-box{
	position: relative;
	left: -10px;
	width: 710px;	
	background-color: white;
}

div.roundbox div.inner-box div.content{
	position: relative;
	left: 10px;
	width: 690px;
}

div.roundbox div.border{
	height: 10px;
	background-color: white;
	line-height: 0px;
	font-size: 0px;
}

div.roundbox img.left {
	position: relative;
	left: -10px;
}

div.roundbox img.right {
	float: right;
	position: relative;
	left: 10px;
}

div.row{
	line-height: 25px;
	clear: both;
}

div.row span.label{
	float: left;
	width: 250px;
	text-align: left;
	font-weight: bold;
}

div.roundbox div.button-holder{
	position: relative;
	top: 5px;
	clear: both;
	text-align: center;	
} 

/*
div.hintbox{
	position: relative;
	top: 20px;
	width: 440px;
	height: 0px;
	z-index: 9999;
}

div.hintbox span.hint{
	position: relative;
	left: 15px;
	display: inline-block;
	background-color: #EEEEEE;
	border-style: solid;
	border-width: 1px;
	border-color: gray;
	line-height: 22px;
	height: 22px;
	padding-left: 5px;
	padding-right: 5px;
	vertical-align: middle;
	visibility: hidden;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	color: #303030;
	font-size: 0.85em;
}
*/

div.row span.formw{
	float: left;
	text-align: left;
	width: 440px;
	display: block;
}

div.row span.formw input.tbox{
	max-width: 440px;
	width: 440px;
}

div.row span.formw textarea.tbox{
	max-width: 440px;
	width: 440px;
}

