

/* --------------- ( Reset ) --------------------------------------------- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
body {
	line-height: 1;
	color: black;
	background: white;
}
ol, ul {
	list-style: none;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	text-align: left;
	font-weight: normal;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
img, div { behavior: url(elements/js/iepngfix.htc); }




/* --------------- ( Clearfix ) --------------------------------------------- */
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */




/* --------------- ( General ) --------------------------------------------- */
body {
	font: 11px Verdana, Arial, Helvetica, sans-serif;
	padding: 20px 0px;
}
#wrapper {
	/*border: 1px solid red;*/
	width: 760px;
	margin: 0 auto;
}
.alignleft { float: left; margin: 0px 12px 12px 0px; }
.alignright { float: right; }

em { font-style: italic; }
p.line { border-bottom: 1px solid #000; }


/* --------------- ( Header ) --------------------------------------------- */
#header {
	margin-bottom: 12px;
}
	#header h1 a {
		width: 349px;
		height: 57px;
		background: url(images/jokes-logo.jpg) no-repeat;
		display: block;
		text-indent: -9999px;
		float: left;
	}
	#header #search-box {
		background: url(images/search-box-bg.gif) no-repeat;
		float: right;
		width: 350px;
		height: 28px;
		margin: 15px 10px 0px 0px;
	}
		#header #search-box input#s {
			border: 1px solid #fff;
			font-size: 11px;
			width: 240px;
			float: left;
			margin: 5px 0px 0px 6px;
		}
		#header #search-box button {
			background: url(images/search-button.jpg) no-repeat;
			float: right;
			display: block;
			width: 87px;
			height: 31px;
			border: none;
			text-indent: -9999px;
			cursor: pointer;
		}




/* --------------- ( Main Nav ) --------------------------------------------- */
#main-nav {
	background: url(images/main-nav-bg.jpg) no-repeat;
	height: 29px;
	border-bottom: 1px solid #000;
}
	#main-nav ul {
		margin-left: 1px;
	}
	#main-nav ul li {
		display: inline;
	}
		#main-nav ul li a {
			font: bold 11px Verdana, Arial, Helvetica, sans-serif;
			text-decoration: none;
			color: #385776;
			float: left;
			height: 29px;
			line-height: 29px;
			padding: 0px 11px 0px 10px;
			background: url(images/divider.gif) right no-repeat;
		}
			#main-nav ul li.cat-item-47 a {
				background: none;
				padding-right: 0px;
			}
			#main-nav ul li a:hover {
				text-decoration: underline;
				color: #E96707;
			}




/* --------------- ( Content Wrapper ) --------------------------------------------- */
#content-wrapper {
	border-left: 1px solid #000;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
	background: url(images/faux.gif) repeat-y;
}




/* --------------- ( Leaderboard ) --------------------------------------------- */
#leaderboard {
	background: #476D94;
	border-bottom: 1px solid #000;
	text-align: center;
	padding: 4px 0px 7px 0px;
}




/* --------------- ( Nav Sidebar ) --------------------------------------------- */
#sidebar-nav {
	width: 170px;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
	background: #E8EDF3;
	float: left;
}
	#sidebar-nav ul {
		margin-top: -1px;
	}
		#sidebar-nav ul li a {
			background: url(images/nav-heading.jpg) repeat-x;
			display: block;
			height: 23px;
			line-height: 23px;
			font-weight: bold;
			padding: 0px 0px 0px 10px;
			color: #385776;
			text-decoration: none;
			border-top: 1px solid #000;
		}
			#sidebar-nav ul li ul li a {
				background: url(images/nav-item-bg.jpg) 0px 24px;
				height: 24px;
				padding-left: 19px;
				margin-left: -1px;
				color: #0000FF;
				border-top: none;
				text-decoration: underline;
				font-weight: normal;
				line-height: 24px;
			}
				#sidebar-nav ul li ul li a:hover {
					background: url(images/nav-item-bg.jpg) 0px 0px;
					text-decoration: none;
				}




/* --------------- ( Content ) --------------------------------------------- */
#content {
	float: left;
	width: 396px;
	margin: 0px 10px 0px 10px;
	padding-top: 10px;
}
	#content .small-joke-box {
		border: 1px solid #000;
		width: 191px;
		margin: 0px 0px 10px 0px
	}
		#content .small-joke-box h2 {
			background: url(images/blue-heading.jpg) repeat-x;
			height: 23px;
			border-bottom: 1px solid #000;
			line-height: 23px;
			color: #fff;
			font-weight: bold;
			padding-left: 6px;
		}
		#content .small-joke-box ul { padding: 6px 0px 2px 0px; }
		#content .small-joke-box ul li {
			display: inline;
		}
			#content .small-joke-box ul li a {
				padding: 0px 6px 6px 13px;
				display: block;
				color: #0000FF;
				margin-left: 6px;
				background: url(images/orange-bullet.gif) no-repeat 0px 5px;
			}
				#content .small-joke-box ul li a:hover { text-decoration: none; }
	.box {
		margin-bottom: 10px;
	}
		.box ul {
			margin-top: -11px;
			border-top: 1px solid #000;
			border-right: 1px solid #000;
			border-left: 1px solid #000;
			border-bottom: 1px solid #000;
		}
			.box ul li {
				border-bottom: 1px solid #fff;
				padding: 5px;
				margin-bottom: 0px;
			}
				.box ul li a { color: #0000FF; }
		#content h1.blue-heading {
			background: url(images/blue-heading.jpg) repeat-x;
			height: 23px;
			border-bottom: 1px solid #000;
			line-height: 23px;
			color: #fff;
			font-weight: bold;
			padding-left: 6px;
			border: 1px solid #000;
			margin-bottom: 10px;
			clear: both;
		}
	.post {
		border: 1px solid #fff;
	}
		.post h2, .post h2 a {
			color: #0000FF;
			display: block;
			margin-bottom: 6px;
			font: bold 15px Arial, Helvetica, sans-serif;
		}
			.post h2 { color: #000; color: #476D94; }
		.post p {
			line-height: 17px;
			margin-bottom: 10px;
		}
		.post strong {
			font-weight: bold;
			margin-bottom: 4px;
		}
		.post ul {
			margin-bottom: 3px;
		}
			.post ul li {
				margin-bottom: 7px;
				background: url(images/orange-bullet.gif) no-repeat 8px 4px;
				padding-left: 22px;
				line-height: 15px;
			}
			.post ol {
				margin: 0px 0px 3px 25px;
			}
			.post ol li {
				margin-bottom: 7px;
				padding-left: 4px;
				line-height: 15px;
				list-style: decimal;
			}
		.post .entry {
			
		}
			.post .entry a {
				color: #0000FF;
			}
			.post .entry #custom {
				margin-bottom: 10px;
			}
				.post .entry #custom img {
					float: left;
					border: 1px solid #000;
					padding: 5px;
					background: #FAC115;
				}
					.post .entry #custom p {
						width: 272px;
						float: right;
					}
                                        .post .entry blockquote {
                                              border-left: 5px solid #ccc;
                                              font-style: italic;
                                              padding-left: 10px;
                                              margin-left: 15px;
                                        }
	#content #pagination {
		margin-bottom: 8px;
	}
		#content #pagination p#older-posts a {
			background: url(images/older-posts.jpg) no-repeat;
			width: 116px;
			text-indent: -9999px;
			height: 31px;
			display: block;
			float: left;
		}
		#content #pagination p#newer-posts a {
			background: url(images/newer-posts.jpg) no-repeat;
			width: 120px;
			text-indent: -9999px;
			height: 31px;
			display: block;
			float: right;
		}
	#content ul {
		margin-bottom: 7px;
	}
		#content ul li {
			padding: 0px 6px 6px 13px;
			display: block;
			color: #000;
			margin-left: 6px;
			background: url(images/orange-bullet.gif) no-repeat 0px 5px;
		}
			#content ul li a {
				color: #0000FF;
			}




/* --------------- ( Info Sidebar ) --------------------------------------------- */
#sidebar-info {
	width: 170px;
	border-left: 1px solid #000;
	float: right;
}
	#sidebar-info #newsletter {
		background: url(images/newsletter-bg.png) repeat-x;
		height: 148px;
		border-bottom: 1px solid #000;
		padding: 10px;
	}
		#sidebar-info #newsletter h2 {
			font-size: 14px;
			font-weight: bold;
			line-height: 19px;
			margin-bottom: 4px;
		}
		#sidebar-info #newsletter p {
			line-height: 15px;
			margin-bottom: 10px;
		}
			#sidebar-info #newsletter #form {
				background: url(images/search-box-bg.gif) no-repeat;
				width: 147px;
				height: 26px;
			}
				#sidebar-info #newsletter #form input#n {
					border: 1px solid #fff;
					margin: 4px 0px 0px 3px;
					width: 137px;
				}
				#sidebar-info #newsletter #form button {
					background: url(images/newsletter-button.jpg) no-repeat;
					width: 108px;
					height: 33px;
					text-indent: -9999px;
					border: none;
					margin-top: 13px;
					cursor: pointer;
				}
	#sidebar-info #wide-skyscraper {
		padding: 5px 0px 0px 5px;
	}




/* --------------- ( Link Unit ) --------------------------------------------- */
#link-unit {
	/* border-bottom: 1px solid #000; */
	border-left: 1px solid #000;
	border-right: 1px solid #000;
	/* background: #314B66; */
        background: #476D94;
	padding: 0px 0px;
	text-align: center;
}
			



/* --------------- ( Footer ) --------------------------------------------- */
#footer {
	text-align: center;
}
	#footer p {
		margin-top: 10px;
		color: #91ADCA;
	}
		#footer p a {
			color: #314B66;
		}
			#footer p a:hover {
				text-decoration: none;
			}

/* WP-PAGENAVI */
.wp-pagenavi {
	margin-top:20px;
	margin-bottom:20px;
	padding-top:20px;
	border-top: 1px solid #dddddd;
}








