/*
Theme Name:     Chinese Railroad Workers Project
Theme URI:      http://chineserailroadworkers.stanford.edu
Description:    Stanford Chinese Railroad Workers Theme
Author:         Ben Johnson
Author URI:     http://www.katsuostudio.com
Template:       organic_magazine
Version:        0.1.0
*/

@import url("../organic_magazine/style.css");

#header {
	margin-top: -40px;
}

#slideshow {
	margin-top: 0px;
}


#homepage .holder.single .article {
	float: left;
	width: 100%;
	padding-top: 20px;
	border-top: 0px;
}

#homepage .holder.single .article .featureimg {
	margin-bottom: 0px;
}

#homepage h2.title
{
	margin-top: 0px;
}

#homepage .post.second .holder.single.first {
	margin-bottom: 0px;
	padding-bottom: 0px;
}

#homepage .post.second .holder.single.first .article {
	margin-top: 0px;
	padding-top: 0px;
}


.footerright {

	float: right;

	display: block;

	margin: 8px 0px 0px 0px;

}

.homepage-caption {
	font-size: 0.7em;
	line-height: 20px;
	text-align: right;
	margin-top: -8px;
}

.homepage-credit {
	font-size: 0.7em;
	line-height: 20px;
	text-align: right;
	margin-top: -8px;
	color: #AAA;
}

#brandbar {
	width: 100%;
	background:#8c1515;
	box-shadow:inset 0 -4px 8px -2px rgba(0, 0, 0, 0.2); /* Horizontal offset , vertical offset, blur, internal spacing */
	height:25px;
	padding-top: 5px;
	padding-left: 20px;
}

#logo_container
{
	background-image: url(images/brandbar-stanford-logo.png);
	width: 153px;
	height: 22px;
}

/************************************************

*	Adding Portfolio CSS  *  			      
  

************************************************/


.portfoliopost {

	float: left;

	display: block;

	background: #FFFFFF;

	width: 300px;

	margin: 20px 40px 0px 0px;

	padding: 0px;

	position: relative;

	z-index: 1;

	zoom: 1;

	border-radius: 3px;

	-moz-border-radius: 3px;

	-khtml-border-radius: 3px;

	-webkit-border-radius: 3px;

	}

.portfoliopost.first {

	clear: both;

	}
.portfoliopost.third {
	margin: 20px 0px 0px 0px;
	}

.portfoliotitle {

	display: block;

	font-size: 22px;

	line-height: 28px;

	margin: 0px 0px 8px 0px;

	padding: 0px 1px 0px 1px;

	overflow: hidden;

	}

.portfoliopost p {

	margin: 5px 0px 5px 0px;

	padding: 0px 1px 0px 1px;

	max-height: 80px;

	overflow: hidden;

	}

.portfoliopost .launch {

	float: none;

	width: 100%;

	text-align: center;

	margin: 10px 0px 0px 0px;

	padding: 0px;

	}

.portfolioimg {

	width: 100%;

	margin: 0px 0px 12px 0px;

	overflow: hidden;

	border-radius: 3px;

	-moz-border-radius: 3px;

	-khtml-border-radius: 3px;

	-webkit-border-radius: 3px;

	}

.portfolioimg a img {

	display: block;

	clear: both;

    margin-left: auto;
    
    margin-right: auto;

	padding: 0px;

	}

.portfoliovideo iframe, 

.portfoliovideo embed, 

.portfoliovideo object {

	float: left;

	display: block;

	width: 300px;
	/* width: 264px */

	max-height: 169px;
	/* max-height: 148px; */

	margin: 0px 0px 10px 0px;

	padding: 0px;

	position: relative;

	overflow: hidden;

	z-index: 8;

	border-radius: 3px;

	-moz-border-radius: 3px;

	-khtml-border-radius: 3px;

	-webkit-border-radius: 3px;

	}
	
/* Launch */

.launch {
	float: right;
	display: inline-block;
	color: #FFFFFF !important;
	background: #CCCCCC;
	text-align: right;
	font-size: 12px;
	font-weight: bold;
	line-height: 28px;
	margin: 0px 0px 10px 0px;
	padding: 0px 12px;
	overflow: hidden;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	}
.launch:hover {
	background: #8C1515;
	text-decoration: none;
	}
.portfoliopost .launch {
	float: none;
	width: 100%;
	text-align: center;
	margin: 10px 0px 0px 0px;
	padding: 0px;
	}

