/*  
Theme Name: Cat4 Baseline
Theme URI: http://www.category4.com
Description: A baseline theme by Category4
Version: 0.1
Author: Category4
Author URI: http://www.category4.com

The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php


TABLE OF CONTENTS

  Inherited Styles
  HTML Tags
  Structure
  Headers
  Content Styles
  Form Elements
  Float Clearing
  Footer
  


/* ---------- @ Inherited Styles -----------*/

@import url('css/nav.css');
@import url('css/posts.css');



/* ---------- @ HTML Tags -----------*/


* {
	margin:0;
	padding:0;
	outline:none;
	}

body,html {
	min-height:101%; /*Firefox scrollbar fix*/
	}
	
body {
	background:#fff url(images/bg_footer.png) left top;
	color: #00395a;
	}

body, select, input, textarea {
	font: 100% Arial, Verdana, Sans-Serif;
	}
	
p {	
	margin: 15px 0;
	line-height:160%;
	}

a, a:visited {
	color: #1f84be;
	text-decoration:none;
	}

a:hover, a:active {
	text-decoration:underline;
	}
	
hr {
	display: block;
	height:1px;
	background:#CCC;
	border:0;
	color:#CCC;
	}

table {
	border-collapse:collapse;
	width:100%;
	margin:15px 0;
	}

th, td {
	padding:5px 6px;
	border-bottom:1px solid #8f8f8f;
	background:#d2d2d2;
	vertical-align: top;
}

th {
	font-size: .9em;
	text-align: left;
	text-transform:uppercase;
	background: #d0d0d0;
	letter-spacing:0.15em;
	color: #3d3d3d;
}

td {	
	background:#d2d2d2;
	}
		
table caption {
	background:#f5f3ee;
	padding:2px 0;
	}	
	
blockquote {
	color:#7b7b7b;
	padding:0 18px;
	margin:25px 45px;
	border-left:3px solid #CCC;
	font:italic 1em Georgia, "Times New Roman", Times, serif;
	letter-spacing:.03em;
	}

pre {
	width:100%;
	overflow:auto;
	}
	
				


/* ---------- @ Structure -----------*/

#container {
	background:url(images/bg_container.png) repeat-x left top;
}

#wrapper {
	font-size:.8em;
	background:#FFF;
	background:url(images/bg_wrapper.jpg) no-repeat center top;
	}

#masthead {
	width:882px;
	height:172px;
	margin:0 auto;
	overflow:hidden;
	padding:20px 37px 0;
	}

#main-wrapper {
	background:#d7e0dc;
}

#main {
	overflow:hidden;
	margin:0 auto;
	width:956px;
	background:url(images/bg_main.jpg) repeat-y left 50px;
}

#branding {
	float:left;
	width:882px;
	}

#content-wrapper {
	width:882px;
	margin:0 37px 30px;
	padding-bottom:19px;
	background:url(images/bg_content_wrapper.gif) no-repeat left bottom;
}
	
#content {
	padding:0 25px;
	border-right:1px solid #00395a;
	border-left:1px solid #00395a;
	}

.page #sidebar {
	float:left;
	width:350px;
	margin-left:-25px;
	padding-right:25px;
	}

	
	
/* ---------- @ Headers -----------*/

h1 {
	float:left;
	}

h1 a, h1 a:visited {
	display:block;
	width:359px;
	height:83px;
	text-indent:-9999px;
	background:url(images/logo.gif) no-repeat left top;
	}

h1 a:hover {
	color:#111;
	text-decoration:underline;
	}

h1 a:active {
	color:#4d4d4d;
	}
		
h2 {
	font: 2em Georgia, "Times New Roman", Times, serif;
	margin: 25px 0 20px;
	}

#home h2 {
	padding:25px 0 12px;
	margin:0 0 0 430px;
	font-size:2.8em;
}

h2#description {
	font: italic 1.2em Georgia, "Times New Roman", Times, serif;
	color:#939393;
	margin:0;
	}
	
.entry h2 {
	font-size:2em;
	padding: 0;
	margin: 15px 0 0;
	}
	
h2.posttitle {
	margin:0;
	}

h2.pagetitle {
	clear:right;
	font-size:2.8em;
	padding:0;
	margin:0;
	}
				
#sidebar h3 {
	border-bottom:3px solid #CCC;
	padding-bottom:5px;
	margin:22px 0 10px;
	color:#939393;
	font-size:.85em;
	font-weight:normal;
	letter-spacing:.08em;
	text-transform:uppercase
	}

#home .box h3 {
	color:#386351;
	font:1.8em Georgia, "Times New Roman", Times, serif;
}

#home .box h3 a:link,
#home .box h3 a:visited {
	color:#386351;
}

#home .box h3 a:hover {
	color:#749286;
}

.entry h3 {
	border:none;
	font:1.6em Georgia, "Times New Roman", Times, serif;
	margin-top:25px;
	}
	
#respond h3 {
	margin:45px 0 20px 0;
	}

h3#comments {
	margin:20px 0 12px;
	}

h4 {
	font:bold 1.3em Georgia, "Times New Roman", Times, serif;
	}
	
.entry h4 {
	margin:15px 0;
	}
	
h5 {
	font: .85em Georgia, "Times New Roman", Times, serif;
	text-transform:uppercase;
	}




	
/* ---------- @ Content Styles -----------*/


.quick-contact {
	float:right;
	font-size:1.2em;
	margin-top:30px;
	width:300px;
}

.quick-contact p {
	margin:0;
}

/*Home*/

#home #intro {
	padding-bottom:45px;
}

#home #intro p {
	font-family:georgia,"Times New Roman",Times,serif;
	font-size:1.1em;
	line-height:2em;
	margin:0 0 0 430px;
}

#home #intro .slideshow {
	float:left;
}

#home #intro img,
#home #intro .slideshow object {
	float:left;
	margin-left:-25px;
}

#home #boxes {
	padding-bottom:30px;
}

#home .box {
	float:left;
	min-height:200px;
	width:260px;
	margin:0 20px;
	padding:20px;
	border-top:1px solid #00395a;
}

#home .shade {
	width:203px;
	margin:0;
	background:url(images/bg_box.jpg) no-repeat left bottom;
}

#home .box .name {
	display:block;
	margin-bottom:6px;
	font-size:.85em;
	font-weight:bold;
	text-transform:uppercase;
}

#home .box .name span {
	font-size:1.5em;
}

#home .quotescollection_randomquote {
	text-align:center;
}

#home .quotescollection_randomquote q {
	display:block;
	font-size:1.4em;
	line-height:1.4em;
	margin-bottom:15px;
}
#home .quotescollection_randomquote cite {
	text-align:center;
}

#home .quotescollection_randomquote span.quotescollection_source {
	display:block;
}

/*Interior Pages*/

.page .entry {
	font-family:georgia,serif;
}

.wpcf7-form input[type=text],
.wpcf7-form textarea {
	border-top:1px solid #868686;
	border-right:1px solid #d6d6d6;
	border-bottom:1px solid #d6d6d6;
	border-left:1px solid #868686;
	padding:3px;
}

.wpcf7-form label {
	float:left;
	width:140px;
	margin-right:10px;
}

.wpcf7-form .captcha-254 {
	margin-left:150px;
}

.wpcf7-form input[type=submit] {
	color:#fff;
	padding:4px 8px 6px;
	border:2px solid #2A4A79;
	background:#3B65A0;
	margin-left:150px;
}

.wpcf7-form div.wpcf7-response-output {
	color:#000;
	border:1px solid #ebdc8b;
	background:#fcf5ce;
	margin-top:0;
	margin-left:150px!important;
	padding:15px!important;
}

.wpcf7-form .wpcf7-not-valid-tip {
	display:block;
	position:static;
	border:none;
	margin-left:150px;
	font-weight:bold;
}

.wpcf7-form img {
	display:inline;
	margin:0;
}

/*Misc*/

.commentcount {
	padding-left: 17px;
	background:url(images/bubble.gif) no-repeat;
	margin-left:14px;
	}


/* Author Page*/

#writer {
	overflow:hidden;
	background:#f2f2f2;
	margin-bottom:20px;
	padding:16px;
	}

#writer p {
	margin-top:0;
	}
		
			

/* Search and Archives*/

.search-highlight {
	background:#FFFF00	
	}

#pagination {
	margin-top:25px;
	overflow:hidden;
	padding:5px 0;
	}

#pagination a, #pagination a:visited {
	border:1px solid #CCC;
	position:relative;
	padding:4px 8px;
	text-decoration:none;
	}

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

#pagination a:active {
	border-color:#949494;
	}
		
#pagination #older {
	float:left;
	text-align:right;
	width:48%;
	}

#pagination #newer {
	float:right;
	width:48%;
	}

a.rss img {
	border:none;
	}	
	
		
	

/*Sidebar and Widgets*/

.widget {
	padding-bottom:50px;
	}
	
.widget li {
	list-style:none;
	border-bottom:1px solid #CCC;
	padding:6px 0;
	}

.widget li a, .widget li a:visited {
	color:#111;
	text-decoration:none
	}

.widget li a:hover, .widget li a:active {
	color:#6d6d6d;
	}

.widget li.current_page_item a, .widget li.current_page_item a:visited, 
.widget li.current-cat a, .widget.current-cat a:visited {
	font-weight:bold
	}

.widget li.current_page_item li a, .widget li.current_page_item li a:visited, 
.widget li.current-cat li a, .widget li-current-cat li a:visited {
	font-weight:normal;
	}
			
.widget li li {
	margin-left:34px;
	border:0;
	list-style:disc;
	}

#wp-calendar td {
	text-align:center;
	padding:3px;
	}	
	
#recentcomments {
	color: #787878;
	}

a.rsswidget, a.rsswidget:visited {
	font-weight: bold
	}

.rssSummary {
	line-height:160%;
	}
	
.textwidget {
	margin: 15px 0;
	line-height:160%;
	}	
	
	
/* ---------- @ Form Elements -----------*/

#author, #email, #comment, #url, #s {
	background:#FFF !important;
	padding:5px;
	border:1px solid #bfbfbf;
	border-right:1px solid #a3a3a3;
	border-bottom:1px solid #a3a3a3;
	}

#author, #email, #url {
	width:220px;
	}
		
.button,
.cform input.sendbutton {
	padding: 8px 14px;
	background:#424242;
	color:#FFF !important;
	border:none;
	font-size:1.1em;
	}

.button:hover,
.cform input.sendbutton:hover {
	background:#272727;
	color:#FFF;
	text-decoration:none
	}

.button:active,
.cform input.sendbutton:active {
	background:#000;
	}

#commentform textarea {
	width: 98%;
	margin-top:5px;
	height:250px;
	}

/* Quotes */

#interior .quotescollection {
	color:#4c4c4c;
	font-size:1.4em;
	margin:30px 2em 40px;
}

#interior .quotescollection cite {
	display:block;
	margin-top:8px;
	text-align:right;
}


/* NGGallery */

.optionlinks {
	overflow:hidden;
	clear:both;
}
.slideshowlink a,
.piclenselink a {
	float:left;
	margin:0 10px 10px 0;
}


/* ---------- @ Float Clearing -----------*/

.clearfloat:after {
	display:block;
	visibility:hidden;
	clear:both;
	height:0;
	content:".";
	}
	
.clearfloat {
	display:inline-block
	}

.clearfloat {
	display:block
	}
	



/* ---------- @ Footer -----------*/

#footer {
	font-size:.8em;
	overflow:hidden;
	width:940px;
	margin:5px auto 20px;
	color:#fff;
	padding:20px;
	}

#footer p {
	margin:0 0 3px 25px;
	width:80%;
}

#footer .icons {
	float:right;
	height:40px;
	margin:15px 45px 0 0;
}

#footer .icons img {
	margin-left:10px;
}
