@import url("reset.css");
body {background:url(images/bg.jpg) center top #003A57 no-repeat; font-family:Verdana, Geneva, sans-serif; }
.clear {clear:both; }
.wrapper {margin:0 auto; width:1100px; }

.tag_cloud {background:url(images/footer_tag_cloud_bg.jpg) repeat-y; line-height:20px; margin:0 0 20px 0; }
.tag_cloud a {
	color:#1a3b57;
	display:inline; 
	margin:0 5px 5px 0; 
}
.tag_cloud a:hover {color:#FFBF00; text-decoration:underline; }
.tag_cloud_top_bg {background:url(images/footer_tag_cloud_top_bg.jpg) top no-repeat; }
.tag_cloud_bot_bg {background:url(images/footer_tag_cloud_bot_bg.jpg) bottom no-repeat; overflow:hidden; padding:25px 25px 25px 30px; }

/** HEADER **/
#header {margin:50px 0 0 0; position:relative; }
#header #logo {display:block;  max-width:200px; }
#header #facebook {position:absolute; top:25px; right:0; }
#header #navbar {background:url(images/nav_bg.jpg) repeat-x; margin:10px 0 0 0px; height:55px; position:relative; }
#header #navbar:before {
	content:url(images/nav_left_bg.jpg);
	left:0;
	margin:0 0 0 -5px; 
	position:absolute; 
	width:5px; 
}
#header #navbar:after {
	content:url(images/nav_right_bg.jpg);
	margin:0 -5px 0 0; 
	position:absolute;
	right:0; 
	width:5px; 
}
#header #navbar li {float:left; list-style:none;}
#header #navbar li a {
	color:#fff;
	display:block; 
	font-family:Arial, Helvetica, sans-serif; 
	font-size:12px;
	height:42px;
	line-height:42px;
	margin:7px 0 0 0;
	padding:0 17px;  
}
#header #navbar li a:hover, #navbar .current_page_item a, #navbar .current-cat a, .home #navbar #home a {background:#FFC100; }

#header .tag_cloud {margin:10px 0 -5px 0; }
 
/** MAIN **/
#main {margin:15px 0; overflow:hidden; }
#main #error {font-size:12px; font-weight:bold; padding:10px; }

/* CONTENT */
#main #content {background:url(images/content_bg.jpg) repeat-y; float:left; width:798px; }
#main #facebook {margin:0 0 -22px 0; }
#main #content_top_bg {background:url(images/content_top_bg.jpg) top no-repeat; }
#main #content_bot_bg {background:url(images/content_bot_bg.jpg) bottom no-repeat; min-height:80px; padding:15px; }
#main #content_content {margin:0 -10px 0 0; padding:0 0 5px 0; }

#main #content .post {
	background:#005B85; 
	float:left;
	margin:0 10px 20px 0; 
	width:379px; 
}
#main #content .post img {min-width:100px; }
#main #content .post:hover {background:url(images/post_bg_hover.jpg) repeat-y; }
#main #content .post_top_bg {background:url(images/post_bot_bg.jpg) top no-repeat; }
#main #content .post_top_bg:hover {background:url(images/post_top_bg_hover.jpg) top no-repeat; }
#main #content .post_bot_bg {background:url(images/post_top_bg.jpg) bottom no-repeat; padding:10px; }
#main #content .post_bot_bg:hover {background:url(images/post_bot_bg_hover.jpg) bottom no-repeat; padding:10px; }

#main #content .post h1 {
	background:url(images/post_separator.jpg) bottom no-repeat; 
	margin:0 0 -2px 0;
	padding:15px 0 20px 0;
	text-align:center;  
}

#main #content .post h1 a {	
	color:#fff; 
	font-family:Arial, Helvetica, sans-serif;
	font-size:16px; 
	font-weight:bold;
}
#main #content #page_post {padding:20px 90px; }
#main #content #page_post p {font-size:12px; line-height:18px; margin:0 0 10px 0; }
#main #content #page_post #page_content img {height:auto; width:600px;}
#main #content #page_post h1 a, #main #content #page_post h1, #page_content h3, #main #content #comments h3  {
	color:#1a3b57;
	font-family:Arial, Helvetica, sans-serif; 
	font-size:16px; 
	font-weight:bold;
}
#main #content #page_post h1 {margin:0 0 10px 0; }
.page #main #content #page_post #h1_page {margin:0 0 35px 0; } 
#page_content h3 {margin:0 0 10px 0; }
#main #content #page_post #previous_link, #main #content #page_post #previous_link a, #main #content #page_post #next_link, #main #content #page_post #next_link a {color:#848484; font-size:11px; margin:10px 0 15px 0;  } 
#main #content #page_post #previous_link {float:left; }
#main #content #page_post #next_link {float:right; }
#main #content #page_post .content_ads {height:90px; margin:0 0 0 -68px; width:728px; }
#main #content #share {width:600px; margin:10px auto;  }
#main #content #share #share_box {
	background:#FFC204;
	color:#fff;
	font-size:11px; 
	height:30px;
	line-height:30px;
	margin:-17px auto 0 auto; 
	padding:0 0 0 10px;	
}

/* WP PageNavi */
.wp-pagenavi {
	clear: both;
	margin:20px 0;
}

.wp-pagenavi a, .wp-pagenavi span {
	background:#005984; 
	border: 1px solid #82A8BE;
	color:#fff;
	font-family:Verdana, Geneva, sans-serif;
	font-size:11px;	
	margin: 2px;
	padding: 3px 5px;
	text-decoration: none;
}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
	border-color:#82A8BE;
	background:#FFC600;
}

.wp-pagenavi span.current {
	font-weight: bold;
}

#main #comments {margin:0 auto; width:600px; }

/* SIDEBAR */
#main #sidebar {float:right; list-style:none; width:296px; }
#main #sidebar .widget_bg {background:url(images/widget_bg.jpg) repeat-y;}
#main #sidebar .widget_top_bg {background:url(images/widget_top_bg.jpg) top no-repeat; }
#main #sidebar .widget_bot_bg {background:url(images/widget_bot_bg.jpg) bottom no-repeat; padding:20px 17px; }
#main #sidebar .widget_bot_bg h2 {
	color:#444444; 
	font-family:Arial, Helvetica, sans-serif; 
	font-size:15px; 
	font-weight:bold;
	margin:0 0 15px 0;
}
#main #sidebar .widget_bot_bg li {
	background:url(images/li.png) no-repeat 7px left; 
	list-style:none; 
	margin:0 0 0 10px; 
	padding:0 0 0 20px;
}
#main #sidebar .widget_bot_bg li a {color:#717171; font-size:11px; }
#main #sidebar .widget_bot_bg li a:hover {color:#FFBF00; text-decoration:underline; }
#main #sidebar .widget_bot_bg #searchform #s {
	background:url(images/searchform.png) no-repeat;
	border:none; 
	display:block;
	height:39px;
	margin:-5px 0 0 0;
	padding:0 0 0 10px; 
	width:253px; 
}
#main #sidebar .widget_bot_bg #searchform #s:hover, #main #sidebar .widget_bot_bg #searchform #s:focus {background:url(images/searchforma_hover.jpg) no-repeat;}
#main #sidebar .widget_bot_bg #searchform #searchsubmit {
	background:url(images/searchform_submit.png) no-repeat; 
	border:none;
	cursor:pointer;
	float:right;
	height:24px;
	margin:-32px 10px 0 0;
	text-indent:-9999px;
	position:relative; 
	width:22px;
}
#main #sidebar .widget_bot_bg #connect_with_us li {
	background:none; 
	float:left; 
	margin:0 7px 0 0; 
	padding:0; 	
}
#main #sidebar .widget_bot_bg #connect_with_us li a {
	display:block; 
	height:39px; 
	text-indent:-9999px; 
	width:39px; 
}
#main #sidebar .widget_bot_bg #connect_with_us li #twitter {background:url(images/twitter.png) no-repeat; }
#main #sidebar .widget_bot_bg #connect_with_us li #twitter:hover {background:url(images/twitter_hover.png) no-repeat; }
#main #sidebar .widget_bot_bg #connect_with_us li #facebook {background:url(images/facebook.png) no-repeat; }
#main #sidebar .widget_bot_bg #connect_with_us li #facebook:hover {background:url(images/facebook_hover.png) no-repeat; }
#main #sidebar .widget_bot_bg #connect_with_us li #rss {background:url(images/rss.png) no-repeat; }
#main #sidebar .widget_bot_bg #connect_with_us li #rss:hover {background:url(images/rss_hover.png) no-repeat; }
#main #sidebar .widget_bot_bg #connect_with_us li #subscribe {background:url(images/subscribe.png) no-repeat; width:38px }
#main #sidebar .widget_bot_bg #connect_with_us li #subscribe:hover {background:url(images/subscribe_hover.png) no-repeat; } 
#main #sidebar #random_posts a {display:block; margin:0 auto 20px auto; width:160px; }
#main #sidebar #sidebar_ad {height:600px; margin:15px auto 0 auto; width:160px; }
#main #sidebar #help_button {display:block; margin:0 auto 8px auto; width:251px; }

/** FOOTER **/
#footer {margin:0 0 20px 0; }
#footer #copyright {color:#007CA1; font-family:Arial, Helvetica, sans-serif; font-size:12px; }