html,body,div,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,form,p,blockquote,fieldset,input { margin: 0; padding: 0; }
fieldset,img { border: none; }
table { border-collapse: collapse; border-spacing: 0; }
table, tr, td {margin:0; padding:0;}


.clr {
	clear: both;
}

.clear { clear:both; font-size:1px; line-height:1px; height:0.1px;}


body{
	margin: 0px;
	padding: 0px;
	font-family: Arial;
	font-size: 10pt;
	background-color: #ffffff;
	width: 990px;
	margin: 0px auto;
	color: #5f3e13;
}

a{
color: #0384c7;
}


#header{
	height: 367px;
	background-image: url('http://humorok.com/tpl/img/header.jpg');
	background-position: left 60px;
	background-repeat: no-repeat;
}

#header .logo{
	margin: 3px 3px 3px 300px;
	background-image: url('http://humorok.com/tpl/img/nl.jpg');
	background-position: right top;
	background-repeat: no-repeat;
}

#menu{
	padding-left: 170px;
	padding-top: 160px;
	width: 500px;
	float: left;
}




#content{
	background-image: url('http://humorok.com/tpl/img/bg.jpg');
	background-repeat: repeat-y;
	width: 901px;
	padding: 3px 40px;
}

#footer{
	font-size: 8pt;
	height: 184px;
	background-image: url('http://humorok.com/tpl/img/footer.jpg');
	background-position: center top;
	background-repeat: no-repeat;
	color: #cecbdb;
}

#footer .logo{
	padding-left: 368px;
	padding-top: 30px;
	width: 130px;
	float: left;
}

#footer .logo a{
	color: #000000;
	text-decoration: underline;
}

#footer .contacts{
	padding-left: 10px;
	padding-top: 58px;
	width: 130px;
	float: left;
}

#footer .contacts a{
	color: #000000;
}

#footer a{
	font-size: 8pt;
	color: #cecbdb;
	text-decoration: none;
}


.pagination{
	margin: 20px 0px;
	text-align: center;
}

.pagination .now{
	font-size: 14pt;
	padding: 5px;
	margin: 3px 5px;
	color: #bf7d0c;
}


#div_paginator{
	padding: 3px;
	background-color: #f5f5f5;
	border: 1px solid #bf7d0c;
	position: relative;
	display: none;
	width: 300px;
	height: 100px;
	margin-top: -75px;
	margin-left: auto;
	margin-right: auto;
	font-size: 12pt;
}

#div_paginator a{
	padding: 1px;
}

#select_p{
border: 1px solid #bf7d0c;
font-size: 14pt;
padding: 2px;
margin: 3px;
}

.flash_msg{
	cursor: pointer;
	color: #000000;
	font-weight: bold;
	text-align: center;
	width: 500px;
	margin: 0 auto 15px auto;
	border: 1px solid #FFFF00;
	padding: 15px 35px 0 35px;	
	background: url("http://humorok.com/tpl/img/warning_48.png") no-repeat center left #FFFFCC;
	height: 32px;
}

div .hr{
	height: 20px;
	background-image: url("http://humorok.com/tpl/img/hr.gif");
	background-position: center center;
	background-repeat: no-repeat;
}

div .post{
	margin: 3px 0px 20px 0px;
	padding: 4px;
	border-bottom: 2px dotted #5f3e13;
	font-family: Georgia, Arial, serif;
	font-size: 12pt;
}


.post .author_pic{
	float: right;
	margin: 2px;
}

.post h4{
	margin: 2px 0px 10px 0px;
	font-size: 8pt;
	font-weight: normal;
	font-family: Arial;
}

.post h3 a{
	font-family: Arial;
	color: #5f3e13;
	text-decoration: none;
	font-size: 18pt;
	font-weight: normal;
}

.post h3{
	font-family: Arial;
	color: #5f3e13;
	font-size: 18pt;
	font-weight: normal;
}

.post_footer{
	font-family: Arial;
	margin: 10px 0px 0px 0px;
	height: 30px;
}

.rating_v{
	font-size: 14pt;
}

.post_footer div.rating{
	padding: 3px;
	background-color: #f5f5f5;
	float: left;
	width: 100px;
	text-align: center;

}

.post_footer div.comments{
	font-family: Arial;
	padding: 1px 3px;
	margin: 0px 0px 0px 10px;
	height: 30px;
	float: left;
}

.post_footer div.comments a{
	color: #bf7d0c;
	background-image: url("http://humorok.com/tpl/img/cl.jpg");
	background-repeat: no-repeat;
	background-position: top left;
	height: 24px;
	padding: 6px 3px 0px 30px;
	font-size: 12pt;
	font-family: Times;
	display: inline-block;
	text-decoration: none;
}

.post_footer div.comments a:hover{
	color: #ffffff;
	background-color: #bf7d0c;
}

.post_footer div.author{
	padding: 7px 3px 1px 20px;
	float: left;
}

a.minus{
	padding: 2px 4px;
	font-size: 14pt;
	color: #c8100e;
	text-decoration: none;
	font-weight: bold;
}

a:hover.minus{
	background-color: #c8100e;
	color: #ffffff;
}

a.plus{	
	padding: 2px 4px;
	font-size: 14pt;
	color: green;
	text-decoration: none;
	font-weight: bold;
}

a:hover.plus{
	background-color: green;
	color: #ffffff;
}

.flash{
	margin: 20px 0px;
	font-family: Arial;
}

#mainmenu{
margin-top: -10px;
margin-left: 0px;
margin-bottom: 30px;
}

#mainmenu a{
margin-right: 20px;
}

.comments_place{
	margin-top: 10px;
	font-family: Arial;
	font-size: 10pt;
}

.comments_place .comment_once{
	margin: 7px 0px;
	background-color: #f5f5f5;
	padding: 5px;
	border: 1px solid #5f3e13;
}

.comment_once .comment_footer{
	margin-top: 10px;
	font-size: 8pt;
	color: #bf7d0c;
}

.comment_footer a.add-comment{
	border-bottom: 1px dashed #bf7d0c;
	text-decoration: none;
	color: #bf7d0c;
}

.comment_footer a:hover.add-comment{
	color: #000000;
	border-bottom: 1px dashed #000000;
}

.addcomment-form{
	padding: 1px;
	margin-top: 5px;
}

.addcomment-form input{
	border: 1px solid #5f3e13;
	color: #5f3e13;
	padding: 1px;
	width: 300px;
}

.addcomment-form .inputbutton{
	border: 1px solid #5f3e13;
	background-color: #5f3e13;
	color: #ffffff;
	cursor: pointer;
	width: 100px;
}

.addcomment-form textarea{
	width: 300px;
	border: 1px solid #5f3e13;
	color: #5f3e13;
	padding: 2px;
}

a.comment_link {
	color: #aaaaaa;
	text-decoration: none;
	font-size: 12pt;
	padding: 1px 3px;
}

a:hover.comment_link {
	color: #ffffff;
	background-color: #aaaaaa;
}

.inputbox{
	border: 1px solid #5f3e13;
	padding: 3px;
}

.inputbutton{
	padding: 3px;
	color: #ffffff;
	background-color: #5f3e13;
	border: 1px solid #5f3e13;
	cursor: pointer;
}

.error_span{
	color: red;
	font-size: 8pt;
	font-weight: normal;
}

.error_span span{
	color: #ffffff;
	background-color: red;
	font-size: 6pt;
	padding: 1px;
	margin-right: 2px;
	font-weight: normal;
}