/*
Title:      	Troupe Layout
Author:     	chanson
Updated:    	August 09
*/


/* HTML5 Base Styles
================================================== */

header, section, aside,
figure, dialog, article,
nav, footer { display: block; }


/* HIDE
================================================== */

aside h3, 
.aside h3,
.aside input[type=submit],
aside input[type=submit] { display: none; }


/* CLEARFIX
================================================== */

.post:after,
dialog:after {
	 content: ".";
	 display: block;
	 height: 0;
	 clear: both;
	 visibility: hidden;
 }


/* MAIN LAYOUT
================================================== */

#wrapper { 
	width: 900px;
	margin: 48px auto;
	position: relative;
}

header,
.header,
#sidebar,
footer,
.footer {
	position: relative;
	width: 285px;
	float: left;
	clear: left;
}

#post-list {
	position: relative;
	float: right;
	width: 500px;
}

header, .header, 
h1 a, h3, p, cite,
ul, ol, dl,
.audio_player,
#search-form,
#search-results,
.post-body { margin-bottom: 18px; }

#sidebar h1 a { 
	display: block;
	width: 100%;
	height: 264px;
	float: right;
	text-indent: -9999px;
}

/* TEAM THUMBS
================================================== */

.thumb_title, .thumb_title a, .thumb_title a:visited { text-align: center; width: 140px; margin:10px 0px 0px 0px; overflow:hidden; white-space:nowrap; }

#project_thumb { width:140px; height:220px; position:relative; margin: 10px 10px 0 0; float:left; }

#project_thumb img{border-bottom: 10px solid; rgba(144, 155, 94, .8)}
#project_thumb:hover img{border-bottom: 5px solid; rgba(255, 255, 255, .8)}

div.hr {
	display: block;
	height: 2px;
	margin: 0 0 28px 0;
	border-bottom: #e6e6e6 1px solid;
}

.thumb_img {float:left; padding:0px 25px 20px 0px; }

/* Headings
-------------------------------------------------------------- */
 
h2 { margin-bottom: 9px; }

h4 { float: left;
     display: block; 
}

h2 { float: left; }

h2 a { 
	display: block;
	padding: 0 10px;
}

h3 a, h4 a { padding: 0 2px; }

h2 + * { clear: left; }


/* Text Elements
-------------------------------------------------------------- */

blockquote {
	padding: 10px 0 0 10px;
	/* margin-bottom: 24px; */
	background: url(images/quotes.gif) no-repeat 0 0;
}

abbr, acronym 	{ 
	border-bottom: 1px dotted;
	cursor: help;
}
 
 
/* Nested Lists
-------------------------------------------------------------- */

li ul, li ol { margin-left: 18px; }
 

/* Tables
-------------------------------------------------------------- */
 
th, td { 
	padding: 8px 10px;
	border: 1px solid;
}


/* HEADER
================================================== */

/* Logo
-------------------------------------------------- */

h1 a { 
	display: block;
	width: 100%;
	height: 264px;
	float: right;
	text-indent: -9999px;
	background: url(images/troupe-tstripes2.gif) no-repeat 100% 0;
}

/* Tagline
-------------------------------------------------- */

header p,
.header p {
	margin: 0;
	text-align: right;
	clear: both;
	width: 150%;				/* avoid text wrap in Firefox */
	margin-left: -50%;	/* 														*/
}


/* SIDEBAR
================================================== */

/* Search
-------------------------------------------------- */

input[type=search] {
	outline: 1px solid transparent; /* stop clear button chop in Safari */

	width: 100%; 
	border: 1px solid;
	background: url(images/mag.png) no-repeat 4px 75%;
	
	height: 16px;
	padding-left: 19px;
	-moz-box-sizing: padding-box;
	
	-moz-border-radius: 50%;
	border-radius: 10px;
	
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.3);	
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.3);
}

#search-results p { margin-bottom: 5px; }

#search-results ul {
	list-style: none;
	margin-bottom: -1px;
	overflow-y: hidden;
	
	-webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);	
	-moz-box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);	
	box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

#search-results li { 
	padding: 14px 12px 10px;
	border-bottom: 1px solid;
}

#search-results li:last-child { border-bottom: none; }

/* Search Results Page
-------------------------------------------------- */

#search-banner {
	margin-bottom: 36px;
	padding: 9px;
	float: left;
}

/* Next/Prev Links
-------------------------------------------------- */

footer,
.footer {
	position: fixed;
	bottom: 0;
	padding: 80px 0 48px;
	background: url(images/fade.png) repeat-x 0 0;
}

footer p,
.footer p { margin-bottom: 9px; }

.past a:before 	{ content: '\2190\00A0'; }
.future a:after { content: '\00A0\2192'; }

.past a {	float: left; }

.future a { 
	position: absolute;
	bottom: 48px;
	right: 0;
	float: right;
	text-align: right;
}

footer a,
.footer a  {
	display: block;
	padding: 5px 10px;
	border-right: 2px solid;
	border-bottom: 2px solid;
}


/* POST BLOCKS
================================================== */

.post {
	clear: both;
	margin-bottom: 24px;
	min-height: 60px;
}

figure img,
.video object,
.photoset embed,
h2, blockquote {
	position: relative; 
	left: -10px;
}

figure img,
.video object,
.photoset embed,
.post > blockquote { top: -10px; }

blockquote { margin-top: -10px; }

.post-date {
	display: block;
	width: 50px;
	padding: 0;
	position: absolute;
	left: -80px;
	
	/*background: -webkit-gradient(radial, 50% 50%, 100, 50% 50%, 20, from(rgba(0, 0, 0, 0.5)), to(rgba(153, 51, 51, 1)), color-stop(20%, rgba(0, 0, 0, 0.5)));
	-moz-box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);	
	box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);*/
}

.day { display: block; }

/* Media
-------------------------------------------------- */

figure img,
.video object,
.photoset embed { 
	display: block;
	border: 10px solid;
}

.caption { margin-bottom: 18px; }
.caption p:last-child { margin-bottom: 0; }

.audio { position: relative; }

.audio a[href^="spotify:"] {
	display: block;
	position: absolute;
	top: 2px;
	left: 220px;
	width: 24px;
	height: 24px;
	background: url(images/spotify.png) no-repeat 50% 50%;
	overflow: hidden;
	text-indent: -9999px;
}

/* Quotation
-------------------------------------------------- */

cite {
	display: block;
	margin-top: -9px;
}

cite:before { content: '\2014\00A0'; }

/* Chat
-------------------------------------------------- */

dialog {
	position: relative;
	top: 5px;
}

dialog dt, dd {	float: left; }

dialog dd + dt { clear: left; }

dialog dt {
	margin: -5px 5px 18px -5px;
	padding: 5px;
}