/*  
Theme Name: AFH ver 3.0
Theme URI: http://www.affordablehomecare.net/
Description: custom theme for AFH
Version: 3.0
Author: yan
Author URI: http://www.emgtgroup.com
*/



/* 
TABLE OF CONTENTS





/* ---------- @ HTML Elements -----------*/

* { 
	margin: 0;
	padding: 0;
	} 

body, html {
	
	}
	
body {	
	color:#fff;
	background: #0d478f;
	}

body, select, textarea, input {	
	font:normal .85em Georgia, "Times New Roman", Times, serif; 
	line-height:162%;
	color: #fff;
	letter-spacing: 0;
	}

p {	
	margin: 15px 0;
	line-height:145%;
	}
		
a, a:visited {
	text-decoration:none;
	color:#87bcd2;	
	}

a:hover, a:active {	
	text-decoration:underline;
	}

ol {
	margin: 15px 15px 15px 35px;
	}
	
a img, fieldset {
	border:none
	}

*:focus {
	outline:none
	}
	
		
		

/* ---------- @ Page Structure -----------*/

#top {
	background:#0d478f url(images/background.png) top center no-repeat;
	padding-bottom:28px;
	}

.wrapper {
	margin: 0 auto;
	font-size: 1em;
	width: 960px;
	}

#home #top .wrapper {
	background:url(images/bg1.png) no-repeat top center;
	}

#interior #top .wrapper {
	background:url(images/bg2.png) no-repeat;
	}

#main {
	background:#0d4690 url(images/mainbg.png) no-repeat;
	padding:17px 0 32px 30px;
	margin-bottom:12px;
	}

#content {
	float:left;
	width:614px;
	}

#interior #sidebar {
	background:#301e22;
	float:right;
	width:242px;
	padding:17px 20px 20px 20px;
	background:#4188e2 url(images/sidebar2.png) no-repeat left top;
	margin:3px 0 0 20px;	
	}
						   
#masthead {
	background: url(images/bg_masthead.jpg);
	height: 100px;
	}

.left {	
	float:left;
	}

.right {	
	float:right
	}
	
#branding {
	text-align:center;
	height:102px;

	}

#branding h1 {
	visibility: hidden;
}

#description {
	visibility: hidden;
	}	

	
	
	
		
/* ---------- @ Headings -----------*/

		   
h1 {
	font: normal 2.5em Georgia, "Times New Roman", Times, serif;
	letter-spacing:0.05em;
	}

/*
h2 {	
	font: normal 30px "Palatino Linotype";
	font-style: italic; 
	line-height:110%;
	color:#cbf8ff;
	padding-top:2px;
	}
*/

h2, h2.title {	
	font: 29px Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	line-height:110%;
	color:#cbf8ff;
	padding-top:2px;
	letter-spacing:0;
	}



h3, h4 {
	letter-spacing:0.025em;	
	}
		
h3 {	
	font: 1.2em Georgia, "Times New Roman", Times, serif;
	color:#fff;
	font-weight:normal;
	margin-bottom:15px
	}

h3.pagetitle {
	color: #fff;
	font: 'Lucida Grande','Lucida Sans Unicode',Arial;
}

#sidebar h3 {
	margin-bottom:7px;
	color: #0e478f;
	}
	
.widget h3 {
	margin-bottom:7px;
	font-size:1.5em;
	}
		
h4 {	
	font-size: 18px;
	font-family: "Palatino Linotype";
	font-style: italic;
	font-weight: normal;
	padding-top: 10px;
	
	}

h4#pagetitle {
	margin-bottom:15px;
	}
	
h5 {	
	font-size: 1em
	}

h5 {	
	font-size: 0.9em
	}



/* ---------- @ Content Styles -----------*/

h1 a, h1 a:visited {
	color:#f7f4ef;
	}

h1 a:hover, h1 a:active {
	text-decoration:none;
	border-bottom:1px solid #82435a
	}	

.commentcount {
	background:none;
	padding-right:12px;
	color:#87bcd2;
	}

.commentcount a {
	font-family:Georgia, "Times New Roman", Times, serif
	}
	
.module {
	background:#301e22 url(images/bg_module.jpg) top right no-repeat;
	padding:12px;
	overflow:auto;
	font-size:0.8em;
	}

.module img {
	padding:3px;
	border:1px solid #8bd8e4;
	float:left;
	margin:0 13px 7px 0;
	}

.module p {
	margin:0;
	}
	


h3 em {
	font-style:italic;
	font-size:0.8em;
	}

#archive-list li {
	width:165px;
	float:left;
	height:60px;
	font-size:0.9em;
	margin: 0 6px 0 25px;
	line-height:140%;
	}	

.pagenavigationbox {
	color:#a19e94;
	margin-top:20px;
	}
	
.pagenavigationbox a, .pagenavigationbox a:visited, .pagenavigationbox span {
	width:24px;
	height:20px;
	display:block;
	float:left;
	font:0.7em Arial,Georgia, "Times New Roman", Times, serif;
	padding-top:4px;
	margin-right:4px;
	text-align:center;
	color:#a19e94;
	}
	
.pagenavigationbox, .pagenavigationbox a, .pagnavigationbox a:visited {
	background:url(images/bg_pagelink.gif) no-repeat;
	}
		
.pagenavigationbox a:hover, .pagenavigationbox a:active {
	background:#372529;
	text-decoration:none;
	}
	
.pagenavcurrent {
	background:url(images/bg_current_pagelink.gif) no-repeat;
	}
	
			
	
/*Widgets*/					
.widget {
	margin-bottom:30px;
	font-size:0.85em;
	}	

.widget li {
	background: transparent;
	padding:8px 0 11px 0;
	list-style:none;
	line-height:115%;
	border-bottom: 1px solid #aee5ed;
	}

.widget li a, .widget li a:visited {
	color: #aee5ed;
}

.widget li a:hover {
	background: #0e478f;
	text-decoration: none;
}	

#wp-calendar {
	width:100%;
	font-size:0.9em;
	}

#wp-calendar caption {
	padding-bottom:5px;
	}
	
#wp-calendar td,
#wp-calendar th {
	text-align:center;
	}

#wp-calendar #prev {
	text-align:right;
	}

#wp-calendar #next {
	text-align:left;
	}
			
#wp-calendar th {
	background:#3e292e;
	padding:2px 4px
	}

.textwidget {
	font-size:.9em;
	line-height:145%;
	}
	
#recentcomments em {
	font:italic 13px Georgia, "Times New Roman", Times, serif;
	padding-right:19px;
	background:url(images/bg_recentcomment.gif) right no-repeat;
	color:#9ae5f0;
	letter-spacing:.08em;	
	font-weight: bold;
	}

#recentcomments a, #recentcomments a:visited {
	color:#fff;
	font:11px 'Lucida Grande','Lucida Sans Unicode',Arial;
	font-weight: normal;
	
	}

#recentcomments a:hover {
	text-decoration: none;
	background: #0e478f;
	}

#tagcloud a {
	line-height:150%;
	padding-right:6px;
	}
				
#sidebar li  {
	list-style:none;
	}

.sideaddress {
	font:11px 'Lucida Grande','Lucida Sans Unicode',Arial;
}
.sideaddress strong {
	font:13px 'Lucida Grande','Lucida Sans Unicode',Arial;
	color: #90e6f4;
	font-weight: bold;
}
	
/* ---------- @ Forms -----------*/

/*
#searchform {
	margin-left:0;
	color: #fff;
	}


#searchform input#s {
	padding:0;
	width:170px;
	font-size:1em;
	background: #90bffb;
	border: 1px solid #6eabf9;
	color: #15879a;
	}


#searchform .button
 {
	margin:0;
	padding:1px;
	font-size:10px;
	font-family: 'Lucida Grande','Lucida Sans Unicode',Arial;
	text-transform: uppercase;
	background: #3f86e0;
	border: 1px solid #337ddb;
	
	}

*/

/* Form Elements */

select {
	background:#eee;
	border-top:2px solid #999;
	border-bottom:2px solid #999;
	border-left:none;
	border-right:none;
	width:100%
	}
	

#searchform {
	padding: 0;
	
	
}

.searchbutton {
	font-weight:bold;
	padding: 1px;
	background:#fff;
	color:#999;
	border:1px solid #ddd;
	}

.searchbutton:hover {
	color:#666;
	background:#eee;
	border:1px solid #999;
	text-decoration:none;
	}

.searchfield {
	width:160px;
	padding: 1px 1px 1px 20px;
	background: url(images/search-16.png) no-repeat #fff;
	color:#666;
	border:1px solid #5694fe;
	}

.searchfield:hover, .searchfield:focus {
	background: url(images/search-16.png) no-repeat #eee;
	border:1px solid #999;
	text-decoration:none;
	}

#searchform .button {
	color: #fff;
	font:.8em "Trebuchet MS";
	background: #5694fe;
	border-color: #5694fe;
	padding: 0; margin: 0;
}

#searchform .button:hover {
	background: #375a96;
}


/*

.button {
	font-weight:bold;
	padding: 1px;
	color:#fff;
	background: #3f8637;
	border: 1px #2b6e23 solid;
	padding: 3px;
}

.button:hover {
	color:#fff;
	background:#cbe768;
	border: 1px #b2ca5b solid;
	text-decoration:none;
	}

			

/* ---------- @ Float Clearing -----------*/

.clearfloat:after {
	display:block;
	visibility:hidden;
	clear:both;
	height:0;
	content:".";
	}
	
.clearfloat {
	display:inline-block
	}

.clearfloat {
	display:block
	}



/* ---------- @ Footer -----------*/


	
#footer {
	background:#008ba0 url(images/footer.png) repeat-x top center;
	color: #fff;
	height: 35px;
	border-top: 1px solid #77c9d5;
	}
	
#footer .wrapper {
	color:#916972;
	text-align:right;
	font:.65em 'Lucida Grande','Lucida Sans Unicode',Arial;
	text-transform:uppercase;
	letter-spacing:0.08em;
	padding: 0;
	background: transparent url(images/footer_bottom.png) no-repeat center top;
	height: 35px;
	color: #fff;
	}


#footer .wrapper a, 
#footer .wrapper a:visited {
	color: #fff;
}

#footer .wrapper p {
	padding: 0; margin: 0;
	padding-top: 3px;
}

/* Sidebar */

h3.widgettitle {
	color: #04397c;
}

/* Additional Image Styles */

img.homeleft {
	float: left;
	padding: 3px;
	border: 1px solid #8bd8e4;
	background: transparent
}

/*Comment Area */

/* ---------- @ Comment Styles -----------*

#comment {
	width:100%;
	font-family: 'Lucida Grande','Lucida Sans Unicode',Arial;
	
	
	}

h3#comments, h3#respond {
	font-family: 'Lucida Grande','Lucida Sans Unicode',Arial;
	text-transform: uppercase;
	color: #85e4fb;
	font-size: 12px;
}

#commentarea {
	padding-top:35px;
	font-family: 'Lucida Grande','Lucida Sans Unicode',Arial;
	border-top: 1px solid #5b9df1;
	padding-top: 5px;
	}

.commentlist, #trackbacklist {
	margin:25px 0 0 0;
	padding:0 0 30px 0;
	
	}

.commentlist li, #trackbacklist li {
	margin: 15px 0 3px 22px;
	padding: 8px 15px 10px 15px;
	background: transparent;
	}

.commentlist .commentmetadata {
	font-size:0.75em;
	padding-top:1px
	}

#trackbacklist .commentmetadata {
	font-size:0.7em;
	padding-top:3px;
	}
			
.commentlist cite, #trackbacklist cite {
	font:normal 1.1em Georgia, "Times New Roman", Times, serif;
	}	

cite a {
	font:normal 1.1em Georgia, "Times New Roman", Times, serif;
	}
		
.gravatar {
	float:left;
	width:62px;
	}

.gravatar img {
	padding:3px;
	border:1px solid #90e6f6;
	}
		
.commentinfo {
	float:left;
	padding-top:5px;
	font-size:0.9em;
	}


.commenttext {
	font-size:0.8em;
	}

.commentlist code {
	font-size:1.3em;
	line-height:120%;
	}

h3.widgettitle {
	color: #04397c;
}
*/

/* Comment Form */

#commentform input {
	width: 200px;
	margin: 5px 5px 1px 0;
	color: #093b7b;
	}

#commentform textarea {
	width: 99%;
	margin-top:5px;
	color: #093b7b;
	}



h3#comments, h3#respond {
	margin-top:32px;
	padding-left:0px;
	font-size: 24px;
	color: #fff;
	font-family: "Palatino Linotype";
	font-style: italic;
	border-top: 1px solid #5b9df1;
	border-bottom: 1px solid #5b9df1;	
}

input#submit {
	width: 150px;
	font:.8em 'Lucida Grande','Lucida Sans Unicode',Arial;
	text-transform: uppercase;
}


/* New Comments */

#commentarea {
	padding-top:35px;	
	padding-top: 5px;
}



#comments {
	font-size: 12px;
	color: #000;
	}

.commentlist p {
	font:normal .85em Georgia, "Times New Roman", Times, serif; 
}

.commentlist li.comment {
	margin-left: -30px;
	list-style: none;
	border-top: 2px #1961be solid;
	background: #0a3d7e;
	margin: 5px 0 3px;
	padding: 8px 15px 8px 15px;
}

.commentlist ul.children li {
	margin-left: 20px;
	margin-top: 10px;
	border-left: 1px #1961be solid;
	border-top: 1px #1961be solid;
	border-bottom: 1px #1961be solid;
	background: transparent;
}

.commentlist ul.children li ul.children li {
	margin-left: 20px;
	margin-top: 10px;
	border-left: 1px #1961be solid;
	border-top: 1px #1961be solid;
	border-bottom: 1px #1961be solid;
	background: transparent;
}

img.avatar {
	float: left;
	border: 1px solid #f5ef99;
	background: #101010;
	padding: 1px;
	margin-right: 15px;
	margin-top:5px;
	
}


.commentmetadata {
	text-transform:none;
	font:.7em 'Lucida Grande','Lucida Sans Unicode',Arial;
	color:#fff;
	letter-spacing:0.2em;
	margin: 0;
	display: block;
	padding-top: 8px;
}

.reply a, .reply a:visited,
.cancel-comment-reply a, .cancel-comment-reply a:visited {
	text-transform: uppercase;
	font: 10px 'Lucida Grande','Lucida Sans Unicode',Arial;
	letter-spacing:0.1em;
	margin: 0;
	margin-top: 8px;
	background: #0d4690;
	text-align: center;
	
}


.reply a:hover, .cancel-comment-reply a:hover {
	background: #0a5ac0;
	color: #fff;
	text-decoration: none;

}

#commentform small {
	text-transform:none;
	font:.8em 'Lucida Grande','Lucida Sans Unicode',Arial;
	color:#fff;
	letter-spacing:0.1em;
	
	}




.commentlist cite, .commentlist_author cite {
	font-family: 'Palatino Linotype';
	font-size: 20px;
	font-style: italic;
	font-weight: normal;
	letter-spacing: normal;
	}	


img.sideinterior {
	border: 1px solid #0f606d;
	padding: 2px;
}

/* headlines - added dec.31.2010 */

li#headline-0, li#headline-1, li#headline-2, li#headline-3, li#headline-4 {
     padding-left:20px;
     margin-right:5px;
     margin-left:5px;
}

