/*-----------------------------------------------------------------------------------*/
/*	General
/*-----------------------------------------------------------------------------------*/

.page-header h1 br {
	display: none;
}
.page-header h1 span {
	display: inline;
}

/*-----------------------------------------------------------------------------------*/
/*	Portfolio
/*-----------------------------------------------------------------------------------*/

/* Portfolio Grid */
.portfolio-grid li:nth-child(3n+3){
	margin-right: 30px;
}
.portfolio-grid li:nth-child(2n+2){
	margin-right: 0;
}


/* Single Portfolio */
.single .portfolio.format-standard .featured-attachment, 
.single .portfolio.format-gallery .featured-attachment,
.single .portfolio.format-audio .featured-attachment,
.single .portfolio.format-video .featured-attachment,

.single .portfolio.format-standard .featured-attachment img, 
.single .portfolio.format-gallery .featured-attachment img,
.single .portfolio.format-audio .featured-attachment img, 
.single .portfolio.format-video .featured-attachment img
{
	width: 100%;
	margin-right:0;
	float: none;
}
.single .portfolio.format-standard .entry, 
.single .portfolio.format-gallery .entry,
.single .portfolio.format-audio .entry, 
.single .portfolio.format-video .entry
{
	width:100%;
	float: none;
}

/* Reorganize vertical positioning of single portfolio elements */
.single .portfolio.format-standard, 
.single .portfolio.format-gallery
{
	display: table;
}
.single .portfolio.format-standard .entry, 
.single .portfolio.format-gallery .entry
{
	display: table-header-group; /* Will be displayed at the top */
} 
.single .portfolio.format-standard .featured-attachment, 
.single .portfolio.format-gallery .featured-attachment
{
	display: table-footer-group; /* Will be displayed at the bottom of the pseudo-table */
	margin-top: 60px;
} 
.single .portfolio.format-standard .entry:after, 
.single .portfolio.format-gallery .entry:after
{
	line-height:3em;
	content:"\200C";
	display:block;
}


/*-----------------------------------------------------------------------------------*/
/*	Blog
/*-----------------------------------------------------------------------------------*/

.without-sidebar #page-content,
.with-sidebar #page-content,
.with-sidebar #sidebar,
.single-post .entry
{
	width: 100%;
}
.with-sidebar #sidebar {
	margin-top: 60px;
}
#page-content article:last-of-type {
	margin-bottom: 0;
}
.query-nav {
	margin-top: 60px;
	margin-bottom: 0;
}


/* Widgets */
.block_flickr ul li:nth-child(4n+4) {
	margin-right: 10px;
}