/*   
Theme Name: Josh Williams
Theme URI: http://joshwilliams.com
Description: Personal Web site of Josh Willaims
Author: Josh Williams
Author URI: http://joshwilliams.com
Template: calpress
Version: 0.1
Tags: CalPress, Josh Williams, journalism
.
Josh Williams rocks, etc.
.
*/

/* Load CalPress Basic CSS, which includes resets, sane typography and 960 grid */
@import url('../calpress/assets/css/calpress-960-min.css');

/* Temporarily add uncompress CalPress base CSS */
@import url('../calpress/assets/css/calpress-base.css');


body{
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

a{
    color: #750203;
}

a:hover{
    color: #000;
}

p{
    font-size: 14px;
}

h2, h3{
	letter-spacing: -1px;
	word-spacing: -1px;
}

input:focus, textarea:focus{
    background-color: #ffefc7;
}

li{
    margin-left: 4px;
    list-style-type: none;
    font-size: 14px;
    margin-top: 6px;
    border-left: 2px solid #aaa;
    padding: 2px 0 2px 10px;
}

#introduction .right-arrow{
	background: url(http://joshwilliams.com.s3.amazonaws.com/images/icons/right_arrow.png) no-repeat 102px 2px;
	padding-right: 37px;
}

.entry-shortmeta, .entry-meta{
    display: none;
}

.entry-categories p, .entry-tags p{
    margin: 0;
    font-size: 0.9em;
}

body.single #nav-below{
    margin: 10px 0;
    padding: 7px;
    font-size: 1.1em;
    background-color: #eee;
    font-weight: bold;
}

div.nav-previous, div.nav-next{
    width: 50%;
    float: left;
}

div.nav-next{
    text-align: right;
}

/***************** 
    Backgrounds 
*****************/
body.single #container, body.page-template-default #container{
    background-image:url(http://joshwilliams.com.s3.amazonaws.com/images/bg/bg_2col_1.png);
}

/***************** 
    Header 
*****************/
#header{
    border-bottom: 2px solid #AAA;
    padding-bottom: 15px;
    margin-bottom: 35px;
}

body.home #header{
    border-bottom: 0;
}

#header #blog-title h1 {
    background: url(http://joshwilliams.com.s3.amazonaws.com/images/header/header_inside.png) no-repeat top left;
    background-position: 0 0;
    margin:0;
    text-indent:-9999em;
    width:114px;
    height:85px;
}

#header #blog-title h1 a{
    display: block;
    width: 114px;
    height: 85px;
}

body.home #header #blog-title h1 {
    background: url(http://joshwilliams.com.s3.amazonaws.com/images/header/header_sprite.png) no-repeat top left;
    background-position: 0 -300px;
    height:153px;
    margin:0;
    text-indent:-9999em;
    width:220px;
}

body.home #header #blog-title h1 a{
    display: block;
    height: 153px;
    width: 220px;
}

#header #blog-description{
    display: none;
}

body.home #social{
	position: absolute;
	top: 61px;
	width: 240px;
	margin: auto;
	padding-left: 700px;
}

body.home #social .contact {
    margin-left: 10px;
}

#social a{
    color: #000;
}

#social .contact {
	width: 50px;
	height: 70px;
	float: left;
	margin-left: 33px;
}

#social .contact:first-child {
    margin-left: 0;
}

#social .contact a{
    display: block;
    width: 50px;
    height: 15px;
    padding-top: 51px;
    text-align: center;
    font-size: 11px;
    text-decoration: none;
    background: url(http://joshwilliams.com.s3.amazonaws.com/images/header/header_sprite.png) no-repeat top left;
    font-weight:bold; 
}

#social .twitter a{
   background-position: 0 -628px;
}

#social .twitter a:hover{
    background-position: 0 -703px;
}

#social .facebook a{
    background-position: 0 -150px; 
}

#social .facebook a:hover{
    background-position: 0 -225px;
}

#social .delicious a{
    background-position: 0 0;
}

#social .delicious a:hover{
    background-position: 0 -75px;
}

#social .lastfm a{
    background-position: 0 -478px;
}

#social .lastfm a:hover{
    background-position: 0 -553px;
}

#footer{
	text-align: center;
	border-top: 2px solid #525252;
	color: #525252;
	padding: 10px 0;
	font-size: 11px;
}

#sidebar h3{
    margin: 0 0 15px 0;
}

#sidebar h4{
    font-size: 14px;
    font-family: "Palatino Linotype", Georgia, "Book Antiqua3", Palatino6, serif;
}

#sidebar li a{
    display: block;
    padding: 2px 0 2px 4px;
}

#sidebar li a:hover{
    color: #fff;
    background-color: #750203;
}

#sidebar-contact{
	margin-left:690px;
	position:absolute;
	text-align:right;
	top:30px;
	width:250px;
}

#sidebar-contact p{
    margin: 0;
    padding: 0;
}

#sidebar-contact .name{
    font-weight: bold;
}


.sidebar-element{
    padding-top: 15px;
    border-top: 1px solid #aaa;
}

.sidebar-element:first-child{
    padding-top: 0;
    border: 0;
}

#footer{
    background-color: #FFF;
}

/***************** 
    Front Page 
*****************/

body.home #introduction{
    /*width: 540px;
    margin-right: 10px;
    float: left;*/
}

body.home #introduction h2{
    font-size: 34px;
	line-height: 24px;
	margin-bottom: 22px;
}

body.home #introduction p{
	margin: 10px 0 0 0;
	line-height: 28px;
	font-size: 21px;
	font-family: "Palatino Linotype", Georgia, "Book Antiqua3", Palatino6, serif;
}

body.home #introduction h2 + p{
   margin-bottom: 0px;
}

body.home #introduction a{
    color: #750203;
	font-weight: bold;
	letter-spacing: 1px;
	word-spacing: 0;
	text-decoration: none;
}

body.home #introduction a:hover{
   text-decoration: underline;
}

/***************** 
    Resume
*****************/
.tools{
    border-left: 2px solid #aaa;
    padding: 2px 0 2px 10px;
    margin-left: 2px;
}

body.resume #content h3{
    font-size: 23px;
    margin: 30px 0 15px 0;
    font-variant:small-caps;
    font-family: "Palatino Linotype", Georgia, "Book Antiqua3", Palatino6, serif;
    line-height: 30px;
}

body.resume #content h3:first-child{
    margin-top: 15px;
}

body.resume div.page h3:first-child{
    margin-top: 0;
}

body.resume #content h4{
    font-size: 17px;
    margin-top: 15px;
}

body.resume .company{
    font-style: italic;
}

body.resume .company, body.resume .date, body.resume .city{
    font-size: 16px;
    margin: 0 0 5px 0;
}

body.resume ul{
    margin-top: 15px;
}

body.resume .item{
    margin-left: 10px;
}

/***************** 
    Contact Form
*****************/

#contact form{
	width: 358px;
	margin-left: 10px;
	visibility: visible;
}

.cform input, .cform textarea{
	margin-top: 10px;
	color: #525252;
	padding: 2px;
	width: 352px;
	border: 1px solid black;
}

#contact textarea{
	height: 68px;
}

#contact input[name="email_name"], #contact #cf2_field_1{
	margin-top: 0px;
}

#contact p.contact-message{
	font-size: 24px;
	line-height: 28px;
	letter-spacing: -1px;
	margin: 0 0 0 10px;
	padding: 10px 0;
	color: #525252;
}

body.home #contact{
    width: 378px;
    border: 1px solid black;
    margin-left: 10px;
    float: left;
	margin-top: 45px;
	background-color: #efefef;
}

.cform ol, .cform li, .cform ul, .cform fieldset, #contact p{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#contact ol{
    width: 358px;
}

.cform label{
    display: none;
}

.linklove{
    display: none;
}

.cf_info{
    margin-left: 10px;
    margin-bottom: 10px;
    width: 354px;
    padding: 2px;
    color: #FFF;
    background-color: #756161;
    display: none;
}

.cf_info.failure, .cf_info.success, .cf_info.waiting{
    display: block;
}

.cf_info.waiting{
    background-color: #ffefc7;
    color: #750203;
}

.cf_info.failure{
    background-color: #750203;
}

.cf_info.waiting + form{
    visibility: hidden;
}

body.home #contact .reqtxt, body.home #contact .emailreqtxt, body.home #contact legend{
    display: none;
}

body.home #contact input.cf_error + .reqtxt, body.home #contact input.cf_error + .emailreqtxt, body.home #contact li.cf_li_err span.reqtxt{
    display: inline;
    color: #750203;
}

#contact a.submit, #contact a.reset, a.button, #contact .cf-sb .sendbutton{
    display: block;
    width: 54px;
    height: 24px;
    background-color: #750203;
    color: #FFF;
	text-align: center;
	text-decoration: none;
	font-size: 13px;
	line-height: 24px;
	padding: 0;
	font-weight: bold;
	margin: 10px 0;
	border: none;
}

#contact a.submit, #contact .cf-sb .sendbutton{
	margin-left: 304px;
}



#contact a:hover, a.button:hover, #contact .cf-sb .sendbutton:hover{
	background-color: #000;
	cursor: pointer;
}

/***************** 
   Front Features
*****************/

.feature a.button{
    margin-top: 20px;
    width: 60px;
}

a.button.inline{
    float: left;
    margin-left: 20px;
}

p + a.button.inline{
    margin-left: 0;
}



#feature-list{
    clear: both;
    margin-top:35px;
}

.feature{
    clear: both;
    border-top: 2px solid #AAA; 
    padding: 45px 0 35px 0; /* top margin is bottom margin + img top border */
}

.feature h3{
	font-size: 24px;
	margin-bottom: 2px;
	width: 380px;
}

.feature p{
	font-size: 18px;
	line-height: 23px;
	margin-bottom: 6px;
}

.feature p.organization{
    margin-bottom: 18px;
    font-size: 18px;
	font-variant: small-caps;
}

.feature-text{
    min-height: 237px; /* img height (295) - its offset top margin (68)  + the img top and bottom padding (5 X 2 ) */
    width: 380px;
}

.feature img, .feature-video{
	width: 530px;
    height: 295px;
	padding: 5px;
	background-color: #AAA;
	margin: -68px 0 10px 20px;/* top margin: inline h3 line height + bottom margin */
	float:  right;
}

/***************** 
   Inside Pages
*****************/

body.page h2, body.single h2{
    border-bottom: 2px solid #750203;
    margin-bottom: 10px;
    padding-bottom: 2px;
}

body.page h2{ /* Inside pages have a reverse type headline */
    border: 0;
    background-color: #000;
    color: #FFF;
    padding-left: 5px;
}

.post img.full{
    width: 620px;
}

