/*   
Theme Name: CalPress Theme Site
Theme URI: http://journalism.berkeley.edu/calpress/
Description: CalPress Theme Site
Author: Josh Williams
Author URI: http://joshwilliams.com
Template: calpress
Version: 0.1
Tags: UC Berkeley, CalPress
.
This theme and CalPress are © Regents of the University of California
.
*/

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

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


/* Put your custom CSS here */

body{
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	background: transparent url(images/header/footer-bg.png) repeat-x bottom center;
	font-size: 14px;
}

body, a{
	color:#282828;
}

a:hover{
    color: #999;
}

h2{
	line-height: 24px;
}

code, pre{
	font-family:Consolas,Monaco,"Courier New",Courier,monospace;
	font-weight:inherit;
	background-color:  #F0F0F0;
}

.blurb{
	font-family: Georgia, "Palatino Linotype", "Book Antiqua3", Palatino6, serif;
}

.entry-shortmeta{
    display: none;
}

.photo-box, .wp-caption{
	background-color: #F0F0F0;
	padding: 10px;
	margin-bottom: 18px;
}



.photo-box p{
	margin-bottom: 0;
}

.caption, .wp-caption-text{
    margin-bottom: 9px;
}

/*
.rail{
	border-left: 1px solid #999;
	padding-left: 14px;
	margin-left: 10px;
}*/

div.rail h4:first-child{
	margin-top: -5px;
}

#wrapper{
	margin-top: 0;
	margin-bottom: 0;
}

#header{
	background: transparent url(images/header/header-bg.png) no-repeat top center;
	padding-top: 40px;
}

#header h1{
	font-size: 50px;
	letter-spacing: -1px;
	margin-bottom: 8px;
}

#blog-description{
	font-family: Georgia, "Palatino Linotype", "Book Antiqua3", Palatino6, serif;
	color: #999;
	font-size: 20px;
	word-spacing: 2px;
}

#header a{
	text-decoration: none;
}

#menu{
	position: absolute;
	top: 90px;
	text-align: right;
	font-weight: 100;
	font-size: 1.35em;
}

#menu li{
	margin:10px 0px 10px 20px;
}

#menu a{
	text-decoration: none;
}

#container{
	margin-top: 40px;
}

#footer{
	/*background-color: #282828;*/
	color: #999;
	text-align: left;
	border-top: 0px;
	min-height: 280px;
	line-height:1.4em;
	padding: 0;
	margin: 60px 0 0 0;
}

#footer-about, #footer-in-the-wild, #footer-links{
	margin-top: 60px;
} 

#footer-about p:first-letter{
	font-size: 1.2em;
	font-weight: bold;
	padding-right: 1px
}

#footer a{
	color: #999;
}

#footer li{
	margin-left: 0;
	list-style-type: none;
}

#footer li a{
	color: #999;
	text-decoration: none;
}

#footer a:hover{
	color: #fff;
	text-decoration: underline;
}

#footer h4{
	font-size: 16px;
	font-weight: 300;
	color: #fff;
	margin-bottom: 15px;
}

#footer p{
	font-family: Georgia, "Palatino Linotype", "Book Antiqua3", Palatino6, serif;
}

#sidebar h3{
    color: #282828;
    background-color: #DEDEDE;
    font-weight: 500;
    padding: .2em 0 .2em .2em;
    font-variant: small-caps;
}

#sidebar a{
    text-decoration: none;
}

#sidebar ul.xoxo li li{
    border-left:4px solid #DEDEDE;
    list-style-type:none;
    margin-left:4px;
    margin-top:2px;
    padding:1px 0 1px 6px;
}

#sidebar ul.xoxo li li.more{
    border-left:0;
    text-align: right;
    margin-right: 12px;
}

#sidebar ul.xoxo li li a{
    display: block;
    padding: 2px;
}

#sidebar ul.xoxo li li a:hover{
    background-color: #DEDEDE;
    color: #282828;
}

/*
    Front Page
*/

body.home .blurb{
	margin: 20px 0px;
	text-align: center;
	font-size: 1.5em;
	line-height: 1.5em;
}

/*
	Author Page
*/

body.author .post, body.author .post.p1, body.author #author-comments li {
	padding:10px 0;
	width:inherit;
}

/*
    Documentation
*/
.entry-leadphoto img{
    width: 620px;
}

.entry-meta{
    border-top: 1px solid #999999;
    padding-top: 10px;
}

#nav-below{
    display: none;
}

/*
    Screen Steps
*/


.LessonStep{
    margin-top: 30px;
    background-color: #dedede;
    padding: 5px;
}

.LessonStep:first-child{
    margin-top: 0;
}

.LessonStep h3{
	font-size:22px;
	margin:10px 0 15px;
	text-align: center;
}

.StepImage img{
    width: 610px;
    margin-bottom: 10px;
}

.StepInstructions p{
    margin-bottom: 0;
}

/*************************
 Comments
 #comments
*************************/
#comments-list > h3{
	background-color: #ddd;
	color: #fff;
	padding: 4px;
	margin-bottom: 10px;
}

#comments-list ul{
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

#comments-list li{
	min-height: 95px;
	border-top: 1px solid #ddd;
	padding: 8px;
	list-style-type: none;
	margin-left: 0;
}

#comments-list li:first-child{
	border-top: 0;
}

#comments-list .comment-author{
	width: 70px;
	float: left;
	clear: left;
}

#comments-list p{
	margin-left: 70px;
	margin-top: 20px;
	margin-bottom: 0;
}

#comments-list .comment-meta + p{
	margin-top: 0;
}

#comments-list .comment-meta, #comments-list .comment-meta a{
	color: #a2a2a2;
}

#comments-list .comment-author img{
	width: 40px;
	height: 40px;
	border: 10px solid #ddd
}

#comments-list .comment-author span{
	display: block;
	text-align: center;
	width: 65px;
	font-style:italic; 
}

#comments-list .byuser{
	background-color: #FEFFCD;
}

#trackbacks-list{
	display: none;
}

/* Categories */

body.s-category-tutorials .entry-leadphoto, body.s-category-tutorials .entry-leadphoto + .caption{
	display: none;
}



/* Coda Slider */

    .coda-slider-wrapper li{
        margin-left: 0px;
    }
    
    .coda-nav-wrapper{
        margin: auto;
    }

    .coda-nav-left, .coda-nav, .coda-nav-right {
        float:left;
        z-index: 50;
    }
    
    .coda-nav-left {
        margin:0 1px 0 10px;
    }

    

    .coda-slider h5{
        margin-top: 9px;
        margin-bottom: 9px;
    }
    
    p + .coda-slider-wrapper{
        padding-top: 0px;
    }

    /* Most common stuff you'll need to change */

	.coda-slider-wrapper { padding: 20px 0 }
	.coda-slider { background: #ebebeb }
	
	/* Use this to keep the slider content contained in a box even when JavaScript is disabled */
	.coda-slider-no-js .coda-slider { height: 200px; overflow: auto !important; padding-right: 20px }
	
	/* Change the width of the entire slider (without dynamic arrows) */
	.coda-slider, .coda-slider .panel { width: 620px } 
	
	/* Change margin and width of the slider (with dynamic arrows) */
	.coda-slider-wrapper.arrows .coda-slider, .coda-slider-wrapper.arrows .coda-slider .panel { width: 400px }
	.coda-slider-wrapper.arrows .coda-slider { margin: 0 10px }
	
	/* Arrow styling */
	.coda-nav-left a, .coda-nav-right a {
	    background:none repeat scroll 0 0 #000000;
        color:#FFFFFF;
        font-family:Helvetica;
        font-size:25px;
        line-height:21px;
        padding:1px 0 0;
        width:25px;
	}
	
	/* Nav Panel Styline */
	.coda-nav a { font-size: 16px; line-height: 16px; font-family: Helvetica;}
	
	/* Tab nav */
	.coda-nav ul li a.current { background: #39c }
	
	/* Panel padding */
	.coda-slider .panel-wrapper { padding: 10px; padding-bottom: 30px; }
	
	/* Preloader */
	.coda-slider p.loading { padding: 20px; text-align: center }

/* Don't change anything below here unless you know what you're doing */

	/* Tabbed nav */
	.coda-nav ul { clear: both; display: block; margin: auto; overflow: hidden }
	.coda-nav ul li { display: inline }
	.coda-nav ul li a { background: #000; color: #fff; display: block; float: left; margin-right: 1px; padding: 4px 3px 2px 3px; text-decoration: none }
	
	/* Miscellaneous */
	.coda-slider-wrapper { clear: both; overflow: auto }
	.coda-slider { float: left; overflow: hidden; position: relative }
	.coda-slider .panel { display: block; float: left }
	.coda-slider .panel-container { position: relative }
	.coda-nav-left, .coda-nav-right { float: left }
	.coda-nav-left a, .coda-nav-right a { display: block; text-align: center; text-decoration: none }


/* Berkeley front page */

#berkeley-front h2{
    background-color: #282828;
    color: #fff;
    padding: 10px 5px;
}

#berkeley-front h3{
    clear: both;
}

.choice-selector-3{
    padding: 5px;
    clear: both;
    background-color: #f7f7f7;
    margin-bottom: 20px;
}

.choice-selector-3 div.choice {
    width: 200px;
    margin-left: 5px;
    float: left;
}

.choice-selector-3 div.choice:first-child, .choice-selector-3 h3 + div.choice{
    margin-left: 0;
}

.choice-selector-3 img{
    width: 198px;
    border: 1px solid #282828;
}

.choice-selector-3 p{
    text-align: center;
    padding: 5px 0;
    margin: 5px 0 0 0;
}

.choice-selector-3 p a{
    text-decoration: none;
    font-size: 14px;
}

.additional{
    clear: both;
    padding-top: 20px;
}

.additional h4{
    font-size: 1.1em;
}

.additional li{
    margin-left: 20px;
    padding: 5px 0;
}

