/*
Theme Name: Habit Project
Theme URI: http://habitproject.com/
Description: A  Wordpress theme with right sidebar.
Author: Joe Botha
Author URI: http://jsbwebdesign.com
version: 1.0
Tags: two-column, widget-ready,blank
*/

/* basics */

* {
	margin:0;
	padding:0;
}
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	margin:20px;
	background-color: #6fa8dc;
	color: #000;
	line-height: 1.5em;
}
h1 {
	font-size: 30px;
}
h2 {
	font-size: 26px;
}
h3 {
	font-size: 20px;
	font-weight: normal;
}
h4 {
	font-size: 16px;
}
img {
	border: none;
	padding:0;
}
img a {
	border:none;
}
img.left {
	float: left;
	border: none;
	padding: 6px 0 0 0;
}
img.right {
	float: right;
	border: none;
	padding: 0 0 0 6px;
}
blockquote {
	border-left:1px solid #A5ABAB;
	margin:15px;
	padding:0 12px 0 12px;
}
code {
	font-family:"Courier New", Courier, monospace;
}
/* links */

a {
	color:#0000cc;
	text-decoration:underline;
}
a:hover {
}
/* container */


#container {
	width: 760px;
	margin: 0 auto;
	padding:0;
	color:#333;
	overflow: hidden;
	background-image: url(images/bg.png);
	background-repeat: repeat-y;
	background-position: center top;
	position: relative;
}
/* header */

#header {
	width: 760px;
	height: 157px;
	color: #fff;
	background-image: url(images/hd-bg.png);
}
#header h1 {
	margin:0;
	font-size: 38px;
	color: #333;
	padding-top: 40px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 40px;
}
#header h1 a {
	color: #404040;
	text-decoration: none;
	display: block;
}
#header h1 a:hover {
	color: #5EA4D7;
	text-decoration: none;
}
#header #tag {
	color:#666;
	margin:0;
	padding-top: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 40px;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	font-size: 14px;
}
/* main menu */





#menu {
	width:760px;
margin-top: 8px;
}

#menu ul {
	margin:0;
	padding-top: 20px; 
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 25px;
	
     list-style-type:none;
     list-style-position:outside;
     position:relative;
     line-height:1.5em;
	
}

#menu ul ul {
	padding:0; 
	margin: 0;
     list-style-type:none;
     list-style-position:outside;

     line-height:1.5em;
		 
	display:none; 

	z-index: 99999;
	background: #dadcda;
	border: 1px solid black; 
	
	    position:absolute;
    width:160px;
    /* top:1.5em; */


}

#menu ul li {
	float:left; 
  position: relative;
	margin: 0;
	padding:0;
	}

#menu ul li a {	
	margin: 0;
	color: #003366;
	display:block;
	font-size: 16px;
	padding-top: 2px;
	padding-right: 15px;
	padding-bottom: 2px;
	padding-left: 15px; 
	text-decoration: none;
	border: 1px solid transparent;
	


	}
	


#menu ul li ul li {	
	list-style-type: none;
	margin: 0;
	padding:0;
}

#menu ul li ul li a {
	margin: 0;
	color: #003366;
	display:block;
	font-size: 16px;
	padding-top: 2px;
	padding-right: 15px;
	padding-bottom: 2px;
	padding-left: 15px; 
	text-decoration: none;
	
	    width:129px;
    float:left;

}

#menu ul li:hover > a {	
	background: #ffffff;
	border: 1px solid black; 
	}
	
#menu ul li:hover  > ul {
	display:block;
} 

#menu ul li ul li:hover > a {
	background: #ffffff;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	border-right: 1px solid black;
	border-left: 1px solid transparent;
}






/* content */


#content {
	float:left;
	width:412px;
	padding-top: 15px;
	padding-bottom: 15px;
	padding-left: 40px;
	position: relative;
	padding-right: 15px;
	z-index: 10;
}
/* Testimonial Box */	
.testimonial {
	position: absolute;
	right: -290px;
	display: block;
	background-image: url(images/testimonial-bg.png);
	background-repeat: repeat-y;
	background-position: center top;
	color: #8a6a3d;
	z-index: 100;
	width: 280px;
	margin: 0px;
	padding: 0px;
}
.testimonial h4 {
	font-size: 15px;
	color: #404040;
	background-image: url(images/testimonial-top.png);
	background-repeat: no-repeat;
	background-position: center top;
	padding-top: 20px;
	padding-right: 20px;
	padding-left: 20px;
	margin: 0px;
	padding-bottom: 0px;
}
.testimonial p {
	padding-top: 10px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 20px;
}
.testimonial .base {
	background-image: url(images/testimonial-base.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	height: 15px;
}
/* Top Quote Box */	
.quotebox-top {
	background-image: url(images/quotebox_01.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	clear: both;
	height: 19px;
}
.quotebox {
	display: block;
	background-image: url(images/quotebox_02.png);
	background-repeat: repeat-y;
	background-position: center top;
	color: #333;
	z-index: 100;
	width: 740px;
	padding-top: 0px;
	left: -40px;
	margin-left: -30px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 16px;
}
.quotebox-base {
	background-image: url(images/quotebox_03.png);
	background-repeat: no-repeat;
	background-position: center bottom;
	clear: both;
	height: 24px;
	padding-top: 10px;
}
.quotebox .quoteimg {
	float: left;
	padding-right: 20px;
}
.quotebox .quotetxt {
	float: left;
	padding-left: 30px;
	padding-right: 20px;
	text-align: left;
	width: 670px;
}
/* Post */	

.post {
	margin:0;
	padding:0;
	position: relative;
}
.post h3 {
	font-size: 24px;
}
.post h3 a {
	color: #000;
	text-decoration: none;
}
.post h3 a:hover {
	color: #777;
}
.post .byline {
	padding-bottom: 10px;
}
.post ul, .post ol {
	padding-left: 20px;
}
.post li {
}
.more a {
	font-weight: bold;
	color: #FFF;
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 10px;
	background-color: #5EA4D7;
}
.more a:hover {
	background-color: #39F;
}
.entry {
	position: relative;
}
#content p {
	padding-bottom: 10px;
	padding-top: 10px;
	z-index: 99;
}
.postmetadata {
	clear: both;
	background:#F7F7F7;
	padding:6px;
	margin: 20px 0;
}
.navigation {
	font-size:8pt;
	width:100%;
	float:left;
	margin:0;
	padding:0;
	overflow:hidden;
}
.alignleft a {
	float:left;
	margin:25px 0;
}
.alignright a {
	float:right;
	margin:25px 0;
}
/* sidebar */

#sidebar {
	width:240px;
	float:right;
	margin:0;
	padding: 0;
	border-left: 1px solid #ddd;
}
#sidebar h2 {
	color: #000;
	margin: 0;
	padding: 0;
	font-size: 11pt;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
}
#sidebar label {
	font:normal 11pt arial, georgia, times;
	color: #000;
	margin: 0;
	padding: 0;
}
#sidebar p {
	margin:0;
	padding: 0 6px 0 12px;
}
#sidebar img {
	padding: 0;
	margin: 0;
}
#sidebar ul {
	margin:12px;
	padding:0;
}
#sidebar ul li {
	margin: 0;
	padding: 0;
	line-height: 14pt;
	list-style-type: none;
}
#sidebar ul ul {
	margin:14px 0;
	padding:0;
}
#sidebar ul ul li {
	list-style-type: none;
}
#sidebar ul ul ul {
	margin: 0;
	padding: 0;
}
#sidebar ul ul ul li {
	padding: 0 0 0 15px;
	list-style-type: square;
	color: #898989;
}
/* comments */


#commentform {
	background:#fff;
	margin:0;
	padding:0;
}
#commentform p {
	color: #000;
}
#commentform a {
	color: #000;
	text-decoration: none;
	border-bottom: 1px dotted #465D71;
	line-height: 14pt;
}
#commentform h3 {
	font-size: 10pt;
	font-weight: 300;
	color: #000;
	margin:0;
	padding:0;
}
#comment {
	width:80%;
}
#author, #email, #url, #comment, #submit {
	background: #fff;
	font-size: 8pt;
	margin:5px 5px 0 0;
	padding:0;
	border: 1px solid #000;
}
#submit {
	margin:5px 5px 0 0;
}
#comments {
	margin:0;
	padding:0
}
ol.commentlist {
	list-style-type: none;
	margin:0;
	padding:0;
}
.avatar {
	float:left;
	margin:0 12px 0 0;
}
ol.commentlist li {
	background: #fff;
	margin:10px 0;
	padding:5px 0 5px 10px;
	list-style-type:none;
}
ol.commentlist li.alt {
	background: #eee;
}
ol.commentlist li p {
	margin: 6px 0 6px 0;
	padding: 0 12px 0 0;
	line-height: 14pt;
}
ol.commentlist a {
	color:#000;
}
cite {
	font-family: arial, verdana, tahoma;
	font-size: 9pt;
	font-weight: bold;
	font-style: normal;
}
cite a {
	color: #000;
	text-decoration: none;
	border-bottom: 1px dotted #465D71;
}
/* search */

#searchform {
	padding:0;
	margin:14px 0;
}
#searchform input#s {
	margin:0;
	padding:2px;
	border:1px solid #000;
}
#searchform input#searchsubmit {
	border:none;
	background:#333;
	color:#fff;
	text-transform:lowercase;
}
/* misc */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}
img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}
.alignright {
	float: right;
}
.alignleft {
	float: left
}
.center {
	text-align: center;
}
.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	/* optional rounded corners for browsers that support it */
   -moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}
.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* footer */

#footer {
	clear: both;
	width: 100%;
	background-image: url(images/ft_bg.png);
	background-repeat: repeat-y;
	background-position: center top;
	font-size: 12px;
}
#address {
	font-weight: bold;
	color: #FFF;
	background-color: #315670;
	text-align: center;
	width: 741px;
	margin-right: auto;
	margin-left: 9px;
	clear: both;
	padding-top: 8px;
	padding-bottom: 8px;
}
#footer #login {
	background-image: url(images/ft_base.png);
	background-position: center bottom;
	background-repeat: no-repeat;
	height: 20px;
}
#footer p {
	padding-top: 14px;
	padding-bottom: 14px;
	padding-left: 40px;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 40;
	padding-right: 40px;
}
#footer .small {
	font-size: 12px;
}
#footer a {
	color: #315670;
	text-decoration: none;
}
#footer a:hover {
	color: #5EA4D7;
}
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
.clearfix {
	display: inline-block;
}
html[xmlns] .clearfix {
	display: block;
}
* html .clearfix {
	height: 1%;
}
.xtrapad {
	height:100px;
}
