/*main layout sections*/

#wrapper {
	width: 940px;
	margin: 20px auto;
	}

#header {
	margin-bottom: 15px;
	}

#nav {
	width: 220px;
	float:left;
	margin-right: 20px;
	padding-bottom: 25px;
	}
	
#content {
	width:700px;
	float:right;
	padding-bottom: 25px;
	}

#comments {
	padding-top: 5px;
	clear: left;
	}	
	
#footer {
	clear: both;
	margin-top: 25px;
	padding: 15px 0px;
	position: relative;
	}

#footer div#produced_by {
	position:absolute;
	bottom: 15px;
	left: 0px;
	width: 110px;
	text-align: left;
	}

#tb_logo {
	width: 220px;
	padding-top: 175px;
	height: 0px;
	overflow: hidden;
	border: 0px;
	display: block;
	float: left;
	margin: 0px 20px 0px 0px;
}

#modal_wrapper {
	margin: 20px;
	}

/*utility styles*/

.clear {
	clear: both;
	}

/*text and link styles*/


/*headings*/
h1, h2, h3 {
	margin-bottom: 15px;
	}


dt {
	margin-right: 5px;
	float: left;
	}

dl, p, ul, ol {margin-bottom: 15px;}


/*header styles*/
#header h2, #header h3 {
	height:0px;
	width: 940px;
	overflow: hidden;/*image replaced!*/
	padding-top: 90px;
	}

#header p.first {
	padding: 15px 0 0 0;
	margin-top: 15px;
	position: relative;
	}

/*nav styles*/

#nav h3  {
	height:0px;
	width: 220px;
	overflow: hidden;/*image replaced!*/
	margin-top: 4px;
	padding-top: 45px;
	}

#nav a {
	width: 210px;
	padding: 8px 8px 20px 8px;
	display: block;
	position: relative;
	}

/*homepage styles*/
body.home #content {
	width:940px;
	padding-bottom: 25px;
	}
	

body.home li {
	font-size:16px;
	width: 220px;
	float: left;
	}

body.home ul a {
	display: block;
	padding: 15px 8px 25px;
	height: 100%;
	width: 204px;
	border-bottom: none;
	min-height:90px;
	position: relative;
	}
	
body.home li.col1, body.home li.col2, body.home li.col3 {margin-right: 20px;}
body.home li.col4 {margin-right: 0px;}

body.home li.col1 {clear: both;}

span.comment_no {
	display: block;
	position: absolute;
	right: 8px;
	bottom: 5px;
}

/*main content styles*/

ul#images li {
	float: left;
	/*min-height: 310px;*/
	list-style: none;
	margin: 0px 15px 20px 0px;
	}

ul#images a {
	padding: 7px;
	display: block;
	}

ul#images li.first {
	clear: left;
	}

ul#images li.third {
	margin-right: 0px;
	}

/*comment styles*/

#current_comments {
	margin-bottom: 25px;
	}

div.comment, div.comment_alt {
	width: 700px;
	clear: both;
	padding: 15px 0px 15px 0px;
	}

div.comment h4, div.comment_alt h4 {
	width: 140px;
	margin-right: 20px;
	padding-left:20px;
	float: left;
	}

.comment_body {
	min-height: 70px;
	margin-left: 180px;
	}

/*comment form styles*/

#comment_add, #current_comments {
	width: 700px;
	}

#comment_add form#comment_form {
	width: 700px;
	}
	
div.hiddenFields {
	display:none;
	}

#comment_add input, #comment_add textarea {
	width: 500px;
	padding: 2px;
	margin-bottom: 15px;
	}

#comment_add input.checkbox {
	width: 20px;
	}

#comment_add input, #comment_add textarea, #comment_add label {
	display: block;
	float: left;
	}
	
#comment_add label {
	width: 140px;
	margin-right: 20px;
	margin-bottom: 15px;
	padding-left:20px;
	padding-top: 2px;
	float: left;
	clear: both;
	}
	
#comment_add  #comment_submit, #comment_add input#comment_preview {
	width: 140px;
	margin-right: 10px;
	float: right;
	}


/*footer styles*/

a.supported-link {
	width: 100px;
	height: 0px;
	overflow: hidden;/*image replaced!*/
	padding-top:100px;
	display: block;
	border: none;
	float: right;
	margin-left: 15px;
	margin-bottom: 30px;
}

/*utility classes*/

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
	width: 100%;
}
 
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}