/*
Theme Name: Leafo
Theme URI: http://wpjunction.com
Description: A Magzine style wordpress theme, developed by <a href="http://wpjunction.com/">hpa</a>
Version: 1.0
Author: HPA
Author URI: http://wpjunction.com 
*/

/* General */

body {
	margin: 0;
	background: #F0F0F0 url(images/body_bg.gif) repeat-x top left;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h1, h2, h3, h4 {
	margin: 0;
}

img {
	border: 0;
}

.clear {
	clear: both;
	height: 0;
	overflow: hidden;
}


/* Page */

#page {
	margin: 0 auto;
	width: 977px;
	background: #fff;
}

/* Header */

#header {
	height: 81px;
	background: #F0F0F0 url(images/body_bg.gif) repeat-x top left;
}

	/* Header - Info */
	
	#header #logo {
		width: 400px;
		height: 67px;
		float: left;
		padding-left: 63px;
		padding-top: 14px;
		background: url(images/logo_icon.gif) no-repeat top left;
	}
	
	#header #logo h1 {
		color: #226E9F;
		font: normal 36px/36px "trebuchet MS";
	}
	
	#header #logo h1 a {
		color: #226E9F;
		text-decoration: none;
	}
	
	#header #logo .description {
		color: #D3D3D3;
		font: normal 14px "Century Gothic", Arial, Verdana, Sans-Serif;
	}
	
	/* Header - Search */
	
	#header #header-search {
		width: 248px;
		height: 35px;
		float: right;
		background: url(images/search_bg.gif) no-repeat top left;
		margin-top: 23px;
		padding-top: 3px;
	}
	
	#header #header-search #searchform {
		margin: 0;
		padding: 0;
	}
	
	#header #header-search #s {
		width: 189px;
		height: 15px;
		border: 0;
		padding: 6px 8px;
		font: normal 12px "trebuchet MS";
		color: #0a2844;
		background: transparent;
		float: left;
		color: #C1C1C1;
	}
	
	#header #header-search #searchsubmit {
		background: transparent;
		border: none;
		width: 38px;
		height: 30px;
		padding: 0;
	}
	
	/* Header - RSS & Comments */
	
	#header #header-rss {
		float:right;
		width: 77px;
		margin-top: 9px;
	}


/* Main */

#main {
	padding: 9px 0px 40px 0px;
	border-top: 1px solid #E6E6E6; border-left: 1px solid #E6E6E6; border-right: 1px solid #E6E6E6;
	background: url(images/main_bg.gif) repeat-x top left;
}

	/* Header - Menu */
	
	#main #menu {
		height: 33px;
		border-bottom: 1px solid #D6D6D6;
		background: url(images/menu_bg.gif) repeat-x top left;
	}
	
	#main #menu ul {
		margin: 0;
		padding: 0;
		list-style-type: none;
		height: 33px;
		padding-left: 1px;
		padding-left: 1px;
	}
	#main #menu ul.shadow {
		position: absolute;
		z-index: 1;
		top: 90px;
		padding-left: 0;
	}
	
	#main #menu ul.shadow a, #main #menu ul.shadow a:hover {
		color: #A4BBCA;
	}
	
	#main #menu ul li {
		float: left;
		height: 33px;
		padding: 0 15px;
		font: normal 12px/33px Arial, Verdana, Sans-Serif;
		margin-right: 2px;
	}
	
	#main #menu ul li a {
		color: #ffffff;
		text-decoration: none;
	}
	
	#main #menu ul li a:hover {
		color: #ffffff;
	}
		
		/* Header - Menu - Current */
		
		#main #menu ul li.current_page_item {
			color: #ffffff;
		}
		
		/* Header - Menu - Submenu */
		
		#main #menu ul li ul {
			display: none;
		}

	/* Header - Cats */
	
	#main #cats {
		height: 45px;
		background: url(images/cats_bg.gif) repeat-x top left;
	}
	
	#main #cats ul {
		margin: 0;
		padding: 0;
		list-style-type: none;
		height: 45px;
		padding-left: 5px;
	}
	
	#main #cats ul li {
		float: left;
		height: 45px;
		font: normal 12px/45px Arial, Verdana, Sans-Serif;
		color: #ffffff;
		padding: 0 7px;
	}
	
	#main #cats ul li a {
		color: #ffffff;
		text-decoration: none;
	}
	
	#main #cats ul li a:hover {
		color: #ffffff;
	}
		
		/* Header - Cats - Current */
		
		#main #cats ul li.current-cat {
			color: #ffffff;
		}
		
		#header #header-cats ul li.current-cat a {
			color: #ffffff;
		}
		
		/* Header - Cats - Submenu */
		
		#main #cats ul li ul {
			display: none;
		}
		
	/* Content - Top Panel */
	
	#main #top-panel {
		background: #07364D url("images/top_panel.gif") repeat-x;
		margin-bottom: 2px;
		border: 1px solid #022738;
		padding: 0 0px 20px 10px;
		overflow: hidden;
	}
	
		/* Content - Top Panel - Box */
		
		#main .top-panel-box {
			width: 310px;
			float: left;
			margin-right: 10px;
		}
		
		#main .top-panel-box h3 {
			color: #F0F0F0;
			padding-top: 2px;
			font: normal 18px/30px "Century Gothic", Arial, Verdana, Sans-Serif;
			border-bottom: 1px dotted #ffffff;
			margin-bottom: 9px;
		}
		
		#main .top-panel-box ul {
			margin: 0;
			padding: 0px 0 3px 0;
			list-style-type: none;
			background: url(images/top_panel_ul.gif) no-repeat bottom center;
		}
		
		#main .top-panel-box ul li {
			color: #ffffff;
			font: normal 14px "Century Gothic", Arial, Verdana, Sans-Serif;
		}
		
		#main .top-panel-box ul li a {
			color: #ffffff;
			text-decoration: none;
			display: block;
			height: 31px;
			padding: 8px;
			background: url(images/top_panel_a.gif) no-repeat top center;
		}
		
			#main .top-panel-box ul li a span {
				color: #B7ED50;
				font: normal 10px Arial, Verdana, Sans-Serif;
				display: block;
			}
		
		#main .top-panel-box ul li a:hover {
			text-decoration: none;
			background: url(images/top_panel_h.gif) no-repeat top center;
		}
		
		#main .top-panel-box ul li ul {
			display: none;
		}
		
		/* Content - Top Panel - About */
		
		#main .top-panel-about {
			width: 300px;
			float: left;
			padding: 0 10px 5px 5px;
			color: #7e97af;
			font: normal 11px/18px Arial, Verdana, Sans-Serif;
			overflow: hidden;
			margin-right: 5px;
		}
		
		#main .top-panel-about .textwidget {
			padding: 5px;
			border: 1px solid #0F4762;
			background: #093B53;
		}
		#main .top-panel-about .textwidget img {
			float: right;
			margin: 0;
		}
		
		#main .top-panel-about .out-right {
			background: url(images/about_right.gif) no-repeat top right;
			padding-right: 3px;
		}
		
		#main .top-panel-about .out-bottom {
			background: url(images/about_bottom.gif) no-repeat top left;
			height: 3px;	
		}
		
		#main .top-panel-about h3 {
			color: #F0F0F0;
			padding-top: 2px;
			font: normal 18px/30px "Century Gothic", Arial, Verdana, Sans-Serif;
			border-bottom: 1px dotted #ffffff;
			margin-bottom: 9px;
		}
		
		#main .top-panel-about img {
			background: #ffffff;
			padding: 5px;
			float: right;
		}
	
	/* Featured Post */
	
	#main .featured-post {
		float: left;
		width: 530px;
		margin-bottom: 10px;
		padding-left: 5px;
		padding-right: 20px;
		padding-bottom: 16px;
		background: url(images/featured_bg.gif) no-repeat bottom right;
		font: normal 12px/18px Arial, Helvetica, sans-serif;
	}
	
		/* Featured Post - Title */
		
		#main .featured-post .post-title {
			color: #848484;
			font: normal 12px Arial, Verdana, Sans-Serif;
		}
		
		#main .featured-post .post-title a {
			color: #848484;
			text-decoration: none;
		}
		
		#main .featured-post .post-title a:hover {
			text-decoration: underline;
		}
		
		#main .featured-post .post-title h2 {
			color: #1A5D88;
			font: normal 24px/30px "Trebuchet MS", Arial, Verdana, Sans-Serif;
			border-bottom: 1px dotted #1c4670;
		}
		
		#main .featured-post .post-title h2 a {
			color: #1A5D88;
			text-decoration: none;
		}
		
		#main .featured-post .post-title h2 a:hover {
			text-decoration: underline;
		}
			
			#main .featured-post .post-title .post-comments {
				float: right;
				background: url("images/icon_comments.gif") no-repeat;
				width: 57px;
				height: 40px;
				text-align: center;
				font: normal 18px/35px "trebuchet MS";
				color: #07364D;
			}
			#main .featured-post .post-title .post-comments a {
				color: #07364D;
			}
		
		/* Featured Post - Entry */
		
		#main .featured-post .post-entry {
			color: #606060;
			padding: 1px 0;
		}
		
		#main .featured-post .post-entry a {
			color: #226198;
			text-decoration: none;
		}
		
		#main .featured-post .post-entry a:hover {
			text-decoration: underline;
		}
		
		#main .featured-post .post-entry blockquote {
			border-left: 10px solid #efefef;
			margin: 0px 30px;
			padding-left: 15px;
		}
		
		#main .featured-post .post-entry img {
			padding: 5px;
			border: 1px solid #bfbfbf;
		}
		
		#main .featured-post .post-info {
			height: 30px;
			border-top: 1px dotted #CBCBCB;
			font: normal 12px/30px Arial, Helvetica, sans-serif;
			text-transform: uppercase;
			color: #7F7F7F;
		}
		
		#main .featured-post .post-date {
			float: left;
			background: url("images/icon_date.gif") no-repeat center left;
			padding-left: 18px;
			margin-right: 10px;
		}
		/* Featured Post - Category */
		
		#main .featured-post .post-category {
			background: url("images/icon_category.gif") no-repeat center left;
			padding-left: 15px;
			float: left;
		}
		
		#main .featured-post .post-category a {
			color: #7F7F7F;
		}
		#main .featured-post a.more-link {
			float: right;
			margin-top: 20px;
			background: url(images/more-link.gif) no-repeat;
			width:124px;
			height: 33px;
			line-height: 23px;
			text-align: center;
			display: block;
			color: #4E9BC0;
			text-transform: uppercase;
			font-size: 12px;
		}
		
	/* Main - Content */
	
	#content {
		float: left;
		width: 545px;
		overflow: hidden;
		padding: 5px;
	}
	
		#content .left-posts {
			float: left;
			width: 250px;
		}
	
		/* Content - Post Small */
		
		#content .post-sm {
			margin: 0 7px 6px 0;
			padding: 0 5px;
			background: #F9F9F9;
			border: 1px solid #F2F2F2;
			color: #727272;
			font: normal 13px/18px Arial, Verdana, Sans-Serif;
			float: left;
			width: 250px;
		}
		
		#content .post-sm a {
			color: #256ca1;
		}
		
		#content .post-sm h2 {
			color: #29A3DD;
			font: normal 15px/23px  "Century Gothic", Arial, Verdana, Sans-Serif;
			margin: 0;
			padding: 0;
		}
		
		#content .post-sm h2 a {
			color: #29A3DD;
		}
		
		#content .post-sm .post-sm-entry {
			overflow: hidden;
		}
		
		#content .post-sm .post-sm-info {
			margin: 0;
			height: 21px;
			background: url(images/post_sm_info.gif) repeat-x top left;
			color: #A3A3A3;
		}
		#content .post-sm .post-sm-info a {
			color: #A3A3A3;
		}
		#content .post-date {
			background: url("images/icon_date.gif") no-repeat center left;
			padding-left: 18px;
		}
	
	/* Post */
	
	#main .post {
		width: 583px;
		margin-bottom: 15px;
	}
	
		/* Post - Subtitle */
		
		#main .post h3 {
			margin: 20px 0 5px 0;
			color: #2771a5;
			font: normal 18px "Trebuchet MS", Arial, Verdana, Sans-Serif;
		}
		
		/* Post - Comments */
		
		#main .post .comments {
			font: normal 12px/18px Arial, Verdana, Sans-Serif;
			color: #606060;
			width: 583px;
		}
		
		#main .post .comments ol {
			margin: 10px 0;
			padding-left: 25px;
		}
		
		#main .post .comments ol li {
			padding: 5px;
		}
		
		#main .post .comments ol li a {
			color: #226198;
			text-decoration: none;
		}
		
		#main .post .comments ol li a:hover {
			text-decoration: underline;
		}
		
		#main .post .comments ol li.alt {
			background: #efefef;
		}
		
		#main .post .comments ol li cite {
			color: #606060;
			font-style: normal;
			font-weight: bold;
		}
		
		#main .post .comments ol li cite a {
			color: #606060;
			text-decoration: none;
		}
		
		#main .post .comments ol li cite a:hover {
			text-decoration: underline;
		}
		
		#main .post .comments ol li .commentmetadata a {
			color: #226198;
			text-decoration: none;
		}
		
		#main .post .comments ol li .commentmetadata a:hover {
			text-decoration: underline;
		}
		
		/* Post - Comment Form */
		
		#main .post #commentform {
			font: normal 12px/18px Arial, Verdana, Sans-Serif;
			color: #606060;
			width: 558px;
			padding-left: 25px;
			margin: 0;
		}
		
		#main .post #commentform a {
			color: #226198;
			text-decoration: none;
		}
		
		#main .post #commentform a:hover {
			text-decoration: underline;
		}
	
	/* Content - Navigation */
	
	#content .navigation {
		font: normal 10px Arial, Verdana, Sans-Serif;
		color: #226198;
		padding: 0 10px;
		text-transform: uppercase;
	}
	
	#content .navigation a {
		color: #4E9BC0;
		text-decoration: none;
		margin-bottom: 15px;
		line-height: 23px;
	}
	#content .navigation .navigation-previous {
		float: left;
	}

	#content .navigation .navigation-previous a {
		width:120px;
		height: 33px;
		background: url(images/nav_prev.gif);
		text-align: center;
		float: left;
	}
	#content .navigation a:hover {
		text-decoration: underline;
	}
		
		#content .navigation .navigation-next {
			float: right;
		}
		#content .navigation .navigation-next a {
			width:120px;
			height: 33px;
			background: url(images/nav_next.gif);
			float: left;
			text-align: center;
		}
	
	/* Main - Sidebar */
	
	#sidebar {
		float: right;
		width: 420px;
		font: normal 12px/18px Arial, Verdana, Sans-Serif;
		color: #656565;
		padding-top: 30px;
	}
	#sidebar img {
		margin: 5px;
	}
	/* Tabbed content */
		
	#main #tabbed-content {
		padding: 5px 5px 0 0;
		background: url(images/tabs_bg.gif) no-repeat top right;
		width: 415px;
		float: left;
		font: normal 12px/18px Arial, Helvetica, sans-serif;
	}
		#main #tabbed-content .inner {
			 padding: 5px 5px 5px 5px;
			 background: #07364D;
			 color: #ffffff;
		}
	
		#main #tabs {
			margin: 0;
			padding: 0;
			height: 37px;
		}	
		
		#main #tabbed-content h3 {
			height: 30px;
			margin-bottom: 2px;
			padding: 0;
			font: normal 18px/30px "Century Gothic", Arial, Verdana, Sans-Serif;;
			color: #ffffff;
		}	
	
		#main #tabs li {
			margin: 0;
			padding: 0;
			float: left;
			list-style: none;
			font: normal 14px/37px "Century Gothic", Arial, Verdana, Sans-Serif;
			text-transform: uppercase;
		}
	
		#main #tabs li a {
			position: relative;
			z-index: 1;
			text-decoration: none;
			display: block;
			float: left;
			padding: 0 5px;
			color: #07364D;
			outline: none;
		}
		#main #tabs li a span {
			border-bottom: 1px dotted #07364D;
			outline: none;
			padding-right: 17px;
		}
		#main #tabs li a:hover span, #main #tabs li a.selected span {
			border-bottom: 1px dotted #9AD916;
			outline: none
		}
	
		#main #tabs li a:hover, #main #tabs li a.selected { /*selected main tab style */
			 background: url(images/tab_selected.gif) repeat-x top left;
			 color: #9AD916;
		}
	
		#main #tabs li a.selected:hover{ /*selected main tab style */
			text-decoration: none;
		}
	
		#main .tabcontent{
			display:none;
			overflow: hidden;
		}
	
		@media print {
			#main .tabcontent {
				 display:block !important;
				 overflow: hidden;
			}
		}
		#main .textwidget img {
			float: left;
			margin: 0 5px;
		}
	
	/* Sidebar1 */
	
	#sidebar .sidebar1 {
		width: 200px;
		border: 1px solid #E5EBED;
		background: #EAF1F4 url(images/sidebar1_bg.gif) no-repeat top right;
		float: left;
		padding: 0 5px 5px 5px;
		margin-right: 5px;
	}
	#sidebar .sidebar2 {
		width: 195px;
		float: left;
	}
	
	#sidebar a {
		color: #256ca1;
		text-decoration: none;
	}
	
	#sidebar a:hover {
		text-decoration: underline;
	}
	
	/* Sidebar - Ads */
	
	.sidebar-banner {
		padding: 5px;
		float: left;
	}

		/* Sidebar - Titles */
		
		#sidebar h3 {
			height: 30px;
			margin-bottom: 2px;
			font: normal 18px/30px "Century Gothic", Arial, Verdana, Sans-Serif;
			color: #2B769A;
			border-bottom: 1px solid #8FD014;
		}
		
		/* Sidebar - Menus */
		
		#sidebar ul {
			margin: 0 0 10px 0;
			padding: 0;
			list-style-type: none;
		}
		
		#sidebar ul li {
			color: #656565;
			font: normal 12px/27px Arial, Verdana, Sans-Serif;
		}
		
		#sidebar ul li a {
			border-bottom: 1px solid #D6E5ED;
			color: #477E98;
			text-decoration: none;
			padding-left: 18px;
			display: block;
			background: url("images/sidebar_menu.gif") no-repeat center left;
		}
		
		#sidebar ul li a:hover {
		}
		
			/* Sidebar - Menus - Submenus */
			
			#sidebar ul li ul {
				margin: 0;
				padding: 0;
				background: none;
			}
		
		/* Sidebar - Forms */
		
		#sidebar #searchform {
			margin: 0;
			padding: 10px 0;
			width: 342px;
			text-align: center;
		}
		
		#sidebar #searchform #s {
			width: 230px;
		}
		
		/* Sidebar - Tables */
		
		#sidebar #calendar_wrap {
			width: 180px;
			margin: 0 auto;
			padding-top: 5px;
		}
		
		#sidebar #calendar_wrap table {
			width: 180px;
		}
		
		#sidebar #calendar_wrap caption {
			margin: 0 auto;
			font-weight: bold;
		}
		
		#sidebar #calendar_wrap tbody {
			text-align: right;
		}
		
		#sidebar #calendar_wrap tfoot #next {
			text-align: right;
		}
		
		#sidebar #calendar_wrap #today {
			font-weight: bold;
		}
		
		/* Sidebar - Texts */
		
		#sidebar .textwidget {
			padding: 0 5px;
		}


/* Footer */

#footer {
	width: 977px;
	height: 57px;
	margin: 0 auto 0 auto;
	color: #084F72;
	font: normal 12px/57px "Century Gothic", Arial, Verdana, Sans-Serif;
	background: url(images/footer_bg.gif) repeat-x top left;
	text-align: center;
}

#footer a {
	color: #084F72;
	text-decoration: none;
}

#footer a:hover {
	text-decoration: underline;
}

/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/final_drop.html
Copyright (c) 2005-2008 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

.menu {width:745px; height:32px; position:relative; z-index:100;border-right:1px solid #000; font-family:arial, sans-serif;}
/* hack to correct IE5.5 faulty box model */
* html .menu {width:746px; w\idth:745px;}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {padding:0;margin:0;list-style-type:none;}
.menu ul ul {width:149px;}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {float:left;width:149px;position:relative;}
/* style the links for the top level */
.menu a, .menu a:visited {display:block;font-size:12px;text-decoration:none; color:#fff; width:138px; height:30px; border:1px solid #000; border-width:1px 0 1px 1px; background:#09c; padding-left:10px; line-height:29px; font-weight:bold;}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {width:149px; w\idth:138px;}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {background:#d4d8bd url(http://www.cssplay.co.uk/menus/breadcrumbs/grey-arrow.gif) no-repeat 130px center;}
/* style the second level hover */
.menu ul ul a.drop:hover{background:#c9ba65 url(http://www.cssplay.co.uk/menus/breadcrumbs/blue-arrow.gif) no-repeat 130px center;}
.menu ul ul :hover > a.drop {background:#c9ba65 url(http://www.cssplay.co.uk/menus/breadcrumbs/blue-arrow.gif) no-repeat 130px center;}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {background:#e2dfa8;}
/* style the third level hover */
.menu ul ul ul a:hover {background:#b2ab9b;}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {visibility:hidden;position:absolute;height:0;top:31px;left:0; width:149px;border-top:1px solid #000;}
/* another hack for IE5.5 */
* html .menu ul ul {top:30px;t\op:31px;}

/* position the third level flyout menu */
.menu ul ul ul{left:149px; top:-1px; width:149px;}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-149px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0; border-collapse:collapse;;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {background:#d4d8bd; color:#000; height:auto; line-height:1em; padding:5px 10px; width:128px;border-width:0 1px 1px 1px;}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {width:150px;w\idth:128px;}

/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{color:#000; background:#b7d186;}
.menu :hover > a, .menu ul ul :hover > a {color:#000; background:#b7d186;}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{visibility:visible; }
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ visibility:visible;}



/* ================================================================ 
   This CSS is further CSS I have created specifically for Wordpress
   so that the current page is highlighted in two levels.
   If you want it in three levels let me know.

   Author: Isaac Rowntree
   Website: www.zackdesign.biz
=================================================================== */


.menu ul ul .current_page_item a {
  color: red;
  background: white;
  border-left: 1px solid black;
}

.menu .current_page_item a {
  color: red;
  font-weight: bold;
  background: white;
}

.menu ul .current_page_item ul a {
  color: white;
  font-weight: normal;
  background: black;
}

.menu ul .current_page_item ul a:hover {
  background: gray;
}

.menu .current_page_item a:hover {
  background: white;
}

