/* CSS Document */

body {
	background:url(/images/template-bgr.jpg) repeat-x #e3ddca;
	font-size:12px;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	color:#747066;
}

/*FONT STYLES*/

a {
	text-decoration:none;
	color:#fda648;
}

a:hover {
	text-decoration:underline;
}

p {
	line-height:140%;
	padding:0 0 13px 0;
}

h1{
	padding:5px 0 10px 0;
}

h2{
	font-family:"Trebuchet MS",Arial,Verdana,sans-serif;
	font-size:28px;
	color:#747066;
	font-weight:bold;
}

h2 a{
	color:#5a564a;
	text-decoration:none;
}

h2 a:hover{
	color:#ef8c20;
	text-decoration:none;
}

h3 {
	font-family:Verdana, Geneva, sans-serif;
	color:#5a564a;
	font-size:15px;
	font-weight:normal;
}

h4 {
	font-family:Verdana, Geneva, sans-serif;
	font-size:18px;
	padding:0 0 10px 0;
}

.large_grey_text {
	color:#5f5a4f;
	font-size:18px;
	font-weight:bold;
}

.orange {
	color:#fda648;	
}
.big a, .bigger a, .small a, .smaller a {
	color:#5f5a4f;
}

.big a{
	font-size:15px;
}

.bigger a{
	font-size:18px;
}

.small a{
	font-size:12px;
}

.smaller a{
	font-size:10px;
}

/*FORMS*/

.error_msg, .msg_sent {
	padding:5px;
	margin:5px 0;
	font-size:11px;
}

.error_msg {
	background:#ffe8e8;
	border:1px solid #e39292;
	color:#812828;		
}

.msg_sent{
	background:#f0ffe8;
	border:1px solid #b2e392;
	color:#478128;
}

.comments_form_table {
	border:1px solid #e3decb;
	margin:15px 0;
}

.input_text {
	border:none;
	border:1px solid #e3decb;
	width:235px;
}

.input_textarea {
	border:none;
	border:1px solid #e3decb;
	width:445px;
	height:135px;
}

.comment_submit {
	background:none;
	border:none;
	background:url(/images/comments_submit.jpg) no-repeat;
	color:#000;
	font-weight:bold;
	font-size:18px;
	padding:0 7px 2px 7px;
	height:29px;
	width:80px;
	cursor:pointer;
}

.comment_submit:hover {
	background:url(/images/comments_submit_hover.jpg) no-repeat;
}

.submit_td {
	padding:13px 10px 13px 60px;	
}

.left {
	text-align:right;
	padding:13px 10px;
	border-bottom:1px solid #e3decb;
}

.right {
	padding:13px 10px 13px 0;
	border-bottom:1px solid #e3decb;
}

.light {
	background:#fefaee;
}

.dark {
	background:#f5f1e3;
}

.required_field {
	float:left;
	padding:10px 0 0 300px;
}

/*TEMPLATE*/

#container {
	margin:0 auto;
	width:960px;
}

/*HEADER*/

#header {

}

#header_top {
	width:960px;
	height:111px;
	float:left;
	padding:0 0 10px 0;
}

#header_top_left {
	background:url(/images/template-header-top-left.jpg) no-repeat;
	width:8px;
	height:111px;
	float:left;
}

#header_top_content {
	background:url(/images/template-header-top-bgr.jpg) repeat-x;
	float:left;
	width:944px;
	height:111px;
}

#header_logo {
	padding:7px 0 10px 5px;
	float:left;
}

#header_search {
	float:right;
	margin:17px 0 0 0;
}

.header_search_left {
	background:url(/images/template-search-left.jpg) no-repeat 0 5px;
	width:12px;
	height:44px;
	float:left;
}

.header_search_input_container {
	border:none;
	background:url(/images/template-search-bgr.jpg) repeat-x 0 5px;
	width:224px;
	height:44px;
	float:left;
}

.search_input {
	border:none;
	background:none;
	padding:15px 0 0 0;
	color:#615d51;
	font-size:12px;
	width:210px;
}

.header_search_button_container {
	width:43px;
	height:44px;
	float:left;
}

.search_button {
	background:none;
	border:none;
	width:43px;
	height:44px;
	background:url(/images/template-search-right.jpg) repeat-x;
	cursor:pointer;
}

#header_search_radial {
	float:left;
	height:44px;
	width:225px;
}

.header_search_option {
	float:left;
	padding:2px 0 2px 10px;
	width:100px;
	font-size:11px;
	color:#6d6d6d;
	line-height:15px;
	cursor:pointer;
}

.checkbox {
	position:relative;
	top:2px;
}

/*MENU*/

#header_menu {
	width:930px;
	padding:0 5px 0 7px;
	font-size:12px;
	font-weight:bold;
}

#header_menu_border {
	border-top:1px solid #fff;
}

#header_menu_container {
	border-top:1px solid #d1ccb8;
}

.menu_item {
	float:left;
	margin:5px 42px 0 12px;
	height:22px;
	padding:3px 0 0 0;
}

.menu_item a, .menu_item_sel a {
	color:#444343;
}

.menu_item_sel {
	background:url(/images/menu-item-sel-bgr.jpg) repeat-x;
	float:left;
	margin:5px 30px 0 0;
	height:22px;
}

.menu_item_sel_text {
	height:19px;
	padding:3px 4px 0 4px;
	float:left;
}

/*MENU END*/

#header_top_right {
	background:url(/images/template-header-top-right.jpg) no-repeat;
	width:8px;
	height:111px;
	float:left;
}

/*HEADER MIDDLE*/

#header_mid {
	background:url(/images/template-tise-bgr.jpg) repeat-x;
	height:106px;
	clear:both;
}

#header_mid_left {
	background:url(/images/template-tise-left.jpg) no-repeat;
	width:5px;
	height:106px;
	float:left;
}

#header_tise {
	float:left;
	height:96px;
	padding:5px 20px 0 5px;
}

#header_social {
	float:left;
	height:101px;
	padding:5px 16px 0 0;
}

.header_mid_social_item {
	padding:5px 0;
}

#header_mid_right {
	background:url(/images/template-tise-right.jpg) no-repeat;
	width:5px;
	height:106px;
	float:left;
}

#header_bottom {
	height:45px;
	clear:both;
}

#header_tabs {
	padding:19px 0 0 1px;
	float:left;
}

.tab_current, .tab_unsel {
	float:left;
	height:19px;
	padding:7px 22px 0 22px;
	margin:0 2px 0 0;
}

.tab_current {
	background:url(/images/template_bot_tabcurrent_bgr.jpg) repeat-x;
	border-left:1px solid #fff;
	border-right:1px solid #fff;
}

.tab_current a {
	color:#5a564a;
}

.tab_unsel {
	background:url(/images/template-bot-tab-bgr.jpg) repeat-x;
}

.tab_unsel a{
	color:#3b382f;
}

#header_bottom_right {
	float:right;
}

#header_age, #header_age_off {
	font-size:10px;
	height:25px;
	float:left;
	width:326px;
	padding:0 18px 0 0;
	margin:8px 0 0 70px;
}

#header_age_off{
	background:url(/images/template_bot_over_18_off.jpg) no-repeat;
	width:130px;
	padding:7px 18px 0 197px;
	height:18px;
}

#header_age a, #header_age_off a {
	color:#fff;
}

#header_basket {
	background:url(/images/template_bot_basket_button.jpg) no-repeat;
	width:155px;
	height:20px;
	float:left;
	padding:5px 0 0 47px;
	color:#fff;
	font-size:10px;
	margin:9px 0 0 0;
}

#header_basket a {
	text-decoration:underline;
	color:#fff;
}

/*CONTENT*/

#content_container {
	background:url(/images/template_content_bgr.jpg) repeat-y;
	padding:0 0 100px 0;
	clear:both;
}

#content_main {
	width:615px;
	padding:15px 20px 0 22px;
	float:left;
}

#content_top {
	background:url(/images/template_content_main_top.jpg) no-repeat;
	height:6px;
	width:615px;
	font-size:0;
}

#content {
	background:#fff;
	width:593px;
	border-left:1px solid #e3ddca;
	border-right:1px solid #e3ddca;
	padding:0 10px 10px 10px;
	
}

#content_bottom {
	background:url(/images/template_content_main_botto.jpg) no-repeat;
	height:6px;
	width:615px;
	font-size:0;
}

#content_right {
	width:274px;
	float:left;
	padding:15px 0 0 0;
}

#content_right_tags {
	border-bottom:1px solid #d1ccb8;
	padding:0 0 13px 0;
	margin:0 0 15px 0;
}

#tags {
	padding:5px 0 0 0;
	line-height:180%;
}

#content_right_tise {
	border-bottom:1px solid #d1ccb8;
}

.big_tise {
	background:url(/images/template_right_big_tise.jpg) no-repeat;
	width:274px;
	height:125px;
	margin:0 0 15px 0;
}

.little_tise {
	background:url(/images/template_right_small_tise.jpg) no-repeat;
	width:125px;
	height:125px;
	float:left;
	margin:0 0 15px 0;
}

.side_padding {
	padding-right:23px;
}

#content_right_social {
	margin:0 0 10px 0;
}

.social_tise {
	border-bottom:1px solid #d1ccb8;
}

/*FOOTER*/

#footer {
	background:url(/images/footer_bgr.jpg) repeat-x #59554a;
	color:#b0a992;
	min-width:960px;
}

#footer_container {
	margin:0 auto;
	width:960px;
}

#footer_top {
	padding:15px 0;
}

#footer_mid {
	width:665px;
	font-size:10px;
	padding:3px 0 0 0;
}

#footer_mid_left {
	float:left;
}

#footer_mid_right {
	float:right;
}

#footer_mid_right a {
	color:#b0a992;
}

#footer_bottom {
	width:293px;
	position:relative;
	top:-152px;
	left:665px;
	z-index:10;
	height:164px;
	_top:-154px;
}

/*TEMPLATE END*/

.joke {
	border-bottom:1px solid #c4bda7;
	padding:20px 0;
}

.joke_title_container{
	padding:15px 0 0 0;
}

.joke_calendar{
	background:url(/images/calendar-bg.jpg) no-repeat;
	width:58px;
	height:59px;
	float:left;
}

.joke_calendar_month{
	color:#4a3117;
	font-size:12px;
	text-align:center;
	padding:3px 0 0 0;
}

.joke_calendar_day{
	font-size:28px;
	color:#232323;
	text-align:center;
}

.joke_title{
	float:left;
	width:400px;
	padding:0 8px 0 8px;
}

.joke_details{
	width:115px;
	float:right;
}

.content_id {
	font-size:11px;
	padding:0 0 8px 0;
	text-align:right;
}

.joke_details_comments{
	background:url(/images/comment-bubble.jpg) no-repeat;
	width:64px;
	height:46px;
	color:#5a564a;
	font-size:10px;
	text-align:center;
	float:left;
	line-height:12px;
	padding:4px 0 0 0;
}

.joke_details_comments a {
	color:#5a564a;
}

.joke_details_comments a:hover {
	text-decoration:none;
	color:#fda648;
}

.joke_details_type {
	float:right;
}

.joke_image{
	clear:both;
	padding:8px 0 0 0;
	text-align:center;
}

.joke_video {
	clear:both;
	padding:8px 0 0 0;
	text-align:center;
}

.joke_text {
	clear:both;
	padding:20px 20px 0 20px;
	width:530px;
	text-align:center;
}

.joke_audio {
	clear:both;	
	text-align:center;
}

.joke_image img {
	border:1px solid #d0cbbc;
	padding:5px;
}

.joke_social {
	float:left;
	margin:20px 0;
}

.social_icon {
	float:left;
	width:62px;
	padding:0 5px 0 0;
}

.joke_rating{
	float:left;
	margin:23px 0 0 0;
	padding:0 0 0 20px;
	width:235px;
}

#back_back_forward {
	width:230px;
	font-size:11px;
	margin:5px auto 0 auto;
}

.back_button a, .back_to_list a, .next_button a {
	float:left;
	height:21px;
	display:block;
	color:#000;
}

.back_button a:hover, .back_to_list a:hover, .next_button a:hover {
	text-decoration:none;
}

.back_button a{
	background:url(/images/button_back.jpg) no-repeat;
	margin:0 7px 0 0;
	padding:8px 0 0 3px;
	width:69px;
}

.back_button a:hover {
	background:url(/images/button_back_hover.jpg) no-repeat;
}

.back_to_list a{
	background:url(/images/button_return.jpg)no-repeat;
	text-align:center;
	width:72px;
	padding:8px 0 0 0;
}

.back_to_list a:hover {
	background:url(/images/button_return_hover.jpg) no-repeat;
}

.next_button a{
	background:url(/images/button_next.jpg) no-repeat;
	margin:0 0 0 7px;
	width:72px;
	padding:8px 0 0 0;
}

.next_button a:hover {
	background:url(/images/button_next_hover.jpg) no-repeat;
}

/*COMMENTS*/

#comments_container {
	margin:0 0 15px 0;
}

.leave_comments {
	margin:0 0 15px 0;	
}

.comment {
	border:1px solid #e3decb;
	border-top:none;
	padding:10px;
}

/*CATEGORY LIST*/

.category {
	padding:0 0 5px 0;
}

.cat_title {
	border-bottom:1px solid #e3decb;
	padding:0 0 3px 0;
	margin:0 0 5px 0;
}

/*SUBMIT JOKES*/

.add_links {
	margin:0 auto;
}

.link {
	width:135px;
	float:left;
	margin:10px 5px;
	text-align:center;
}

.link_text {
	padding:0 0 10px 0;		
}

.link_text a {
	color:#747066;
}

/*RATINGS*/

.rating_container {
	float:left;
}

.rating_container img {
	padding:0 3px 0 0;
	width:28px;
	cursor:pointer;
}

.rating_avg {
	float:left;
	height:28px;
	line-height:28px;
	font-size:12px;
	font-family:Arial, Helvetica, sans-serif;
	padding:0 0 0 3px;
}

/*PAGE COUNT*/

#page_counter_container {
		float:right;
		padding:10px 0;
}

.page_prev, .page_next, .page_first, .page_last, .page_num  {
	float:left;	
	background:#e9e8d9;
	margin:0 2px;
}

.page_prev a, .page_next a, .page_first a, .page_last a, .page_num a {
	color:#4d4c4c;
	padding:4px;
	display:block;
}

.page_num_sel {
	float:left;	
	padding:4px;
	background:#59554a;
	color:#fff;
	margin:0 2px;
}