/*
	Theme Name: David Jarvis | portfolio
	Theme URL:
	Description:

*/

/* YUI CSS RESET */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin:0; padding:0; }
table { border-collapse:collapse; border-spacing:0; }
fieldset,img { border:0; }
address,caption,cite,code,dfn,em,strong,th,var { font-style:normal; font-weight:normal; }
ol,ul {	list-style:none; }
caption,th { text-align:left; }
h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:normal; }
q:before,q:after { content:''; }
abbr,acronym { border:0; }

/* BASIC STYLES */
body { background: #EBE6D4 url(images/bg.jpg) 0 0; color: #373737; font-family: Arial, Helvetica, Garuda, sans-serif; font-size: 14px; line-height: 1.5em; }

h2 { font-size: 18px; font-weight: bold; }
h2.pagetitle { margin-bottom: 10px; }
h3 { font-size: 14px; font-weight: bold; padding: 10px 0; }
p { margin-bottom: 20px; }

#wrapper { margin: 18px auto 0 auto; width: 898px; }
#subwrapper { background: #F7F5ED url(images/subwrapper_bg.jpg) repeat-y 0 0; }

/* HEADER */
#header { background: #46433E url(images/header_bg.jpg) no-repeat; height: 80px; }
#header h1 { color: #FFF; display: block; font-size: 30px; font-weight: bold; height: 40px; left: 20px; overflow: hidden; position: relative; text-align: center; top: 24px; width: 326px; }
#header h1 span { background: url(images/logo.jpg) no-repeat 0 0; cursor: pointer; display: block; height: 100%; position: absolute; left: 0; top: 0; width: 100%; }

/* NAVIGATION */
#navigation { float: right; font-size: 16px; margin-right: 26px; }
#navigation li { background: url(images/nav_delimiter.gif) no-repeat 0 0; float: left; padding: 0 26px 0 26px; }
#navigation li a { color: #BDB187; }
#navigation li.current_page_item a,
#navigation li a:hover { color: #FFF; }
#navigation li.first_item, #navigation li:first-child { background: none; }

#main { background: url(images/main_bg.jpg) no-repeat 0 0; font-size: 12px; padding: 25px 18px 17px 25px; }

#content { float: left; width: 584px; }
#sidebar { float: right; width: 263px; }

/* FRONTPAGE/CATEGORY BORDERS */
/*.categories li { background: url(images/category_photo_border.jpg) no-repeat 0 0; float: left; height: 341px; margin-bottom: 20px; padding-right: 10px; position: relative; width: 282px; }
.categories li a { display: block; margin: 11px 0 0 11px; text-decoration: none; }
.categories li a:hover { text-decoration: none; }
.category_name { background-color: #333; bottom: 11px; color: #FFF; cursor: pointer; display: block; font-size: 18px; height: 30px; left: 11px; padding: 10px 14px 0 14px; position: absolute; text-align: right; width: 232px;  }*/

.categories li { float: left; height: 335px; margin-bottom: 20px; padding-right: 10px; position: relative; width: 282px; }
.categories li img { border: 1px solid #CAC2A9; background: #FFF; padding: 8px; }
.categories li a { display: block; text-decoration: none; }
.categories li a:hover { text-decoration: none; }
.category_name { background-color: #333; bottom: 7px; color: #FFF; cursor: pointer; display: block; font-size: 18px; height: 30px; left: 9px; padding: 10px 14px 0 14px; position: absolute; text-align: right; width: 232px; }

/* SINGLE PAGE BORDERS */
.work img { background: #FFF; border: 1px solid #CAC2A9; display: block; padding: 8px; }
.wp-caption-text { font-size: 11px; text-align: center; margin-bottom: 10px; }

/* POST */
.post { margin-bottom: 20px; padding-right: 10px; }
.meta { display: block; font-size: 11px; text-align: center; }
.meta a { color: #CCA903; }


/* ABOUT BOX */
.about { background-color: #FFF; margin-bottom: 46px; padding: 20px 15px 18px 15px; position: relative; width: 233px; }
.about h2 { color: #D3B31C; font-weight: bold; margin-bottom: 17px; }
.about .more-link, .about a { color: #D3B31C; display: block; font-size: 13px; font-weight: bold; margin-top: 20px; }
.about_box_top { background: #BEBCAF url(images/about_box_top.jpg) no-repeat; display: block; height: 1px; overflow: hidden; position: absolute; left: 0; top: 0; width: 263px; }
.about_box_bottom { background: #BEBCAF url(images/about_box_bottom.jpg) no-repeat; display: block; height: 2px; overflow: hidden; position: absolute; left: 0; bottom: 0; width: 263px; }

#sidebar ul li ul { background: url(images/sidebar_ul_bottom.jpg) no-repeat 0 100%; font-size: 14px; padding-left: 10px; padding-bottom: 37px; padding-top: 8px; }
#sidebar ul li ul a { color: #5F5A43; }
#sidebar ul li ul li ul { background: none; padding: 0; }
#sidebar ul li ul li { background: url(images/list_bullet.gif) no-repeat 0 6px; padding-left: 21px; }
#sidebar .other h2 { margin-top: 30px; padding-left: 10px; }
#sidebar .current-cat a { color: #D3B31C; font-weight: bold; }

#featured_box { background: #9E9572 url(images/featured_box_bg_repeat.jpg) repeat-y 0 0; clear: both; width: 858px; margin-left: -5px; margin-top: 25px; }
#featured_box ul.features { background: url(images/featured_box_bg.jpg) no-repeat 0 0; padding-top: 30px; overflow: hidden; }
#featured_box li { float: left; width: 256px; padding: 0 10px 0 20px; }
#featured_box h2 { margin-bottom: 10px; }
#featured_box .more-link { color: #FFE157; display: block; font-size: 14px; font-weight: bold; margin-top: 20px; }
.featured_box_bottom { background: url(images/featured_box_bottom.jpg) no-repeat 0 0; display: block; height: 18px; overflow: hidden; width: 858px; }

/* FOOTER */
#footer { background: url(images/footer_bottom.jpg) no-repeat 0 100%; clear: both; font-size: 11px; padding-bottom: 15px; margin-bottom: 20px; text-align: center; }

/* HYPERLINKS */
a { color: #000; outline-style: none; }
a:link { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover { text-decoration: underline; }
a:active { text-decoration: none; }

/* MISC */
.clearer { clear: both; display: block; }
.page_navigation { clear: both; color: #32312C; font-size: 12px; text-align: center; margin: 0 auto; }
.page_navigation a { color: #D3B31C; font-weight: bold; margin: 0 2px; }


/* caption styling */

.caption-top, .caption-bottom {
	color: #ffffff;	
	font-size: 18px;	
	cursor: default;
	height: 30px;
	padding-top: 10px;
	border: 0px solid #334143;
	background: #000000;
	text-decoration: none;
	text-align: right;
}
.caption a, .caption a {
	border: 0 none;
	text-decoration: none;
	background: #000000;
	padding: 0.3em;
}
.caption a:hover, .caption a:hover {
	background: #202020;
}
.caption-wrapper {
	float: left;
}
br.c { clear: both; }


/* FTN Contact Form */
#ftn_contactform ul {list-style-type:none; padding-left:0;}
#ftn_contactform ul li {margin-bottom:6px;}
#ftn_contactform label {display:block; font-weight:bold; font-size:12px;}
#ftn_contactform .textbox {padding:4px; border:1px solid #ccc; width:300px;}
#ftn_contactform textarea.textbox {height:150px; width:400px;}

/* Generic errors and info messages */
div.msg {margin-bottom:20px; padding:10px;}
div.msg ul {padding:0; margin:0 0 0 20px;}

div.errormsg {background:#ffffe5; border:1px solid #ffe5b2;}
div.errormsg em {font-style:normal; color:#d74117; font-weight:bold;}
div.errormsg ul {padding:8px 0 0 20px; margin:0;}

div.successmsg {font-weight:bold; background:#f4f9f2; border:1px solid #A8CF9B; color:#5A8F47;}



#wpcf {margin-top: 30px;}
#wpcf label {
	clear: both;
	display: block;
	float: left;
	width: 150px;
font-weight: bold;
}
#wpcf input {
	float: left;
	width: 200px;
	padding: 1px;
	margin: 2px 5px 2px 0;
}
#wpcf textarea {
	width: 350px;
	height: 100px;
	padding: 1px;
	margin: 0 5px 10px 0;
}
#wpcf #contactsubmit {
	margin-left: 250px;
	width: 100px;
}
