/**
 * General Section Styles
 */
.section-wrapper {
	margin-bottom:50px;
}
.section.first-section.has-title {
	margin-top:50px;
}
.section {
	position:relative;
	margin-top:50px;

	.rightside {
		margin-bottom:0;
		padding-top:0;
	}
	.sidebar {
		padding-top:0 !important;
	}

	.container {
		position:relative;
	}

	// Loading image
	.loading-image {
		display:none;
	}

	// Edit button
	.edit-section-button {
		left: -150px;
		position: absolute;
		z-index: 101;
		width: 150px;
		display:none;

		a.post-edit-link {
			display: block;
			text-align: center;
			font-size: 10px;
			line-height: 10px;
			text-align:right;
			padding: 15px;
			text-transform: uppercase;
			text-decoration: none;
			color: #fff;
			-webkit-transition: 0.5s all;
			transition: 0.5s all;
			background: #222;
			background: rgba(0,0,0,0.25);
			margin-left: -999999px;
			padding-left: 999999px;
			@include transition(0.5s all);
		}
		a.post-edit-link:hover {
			background: #000;
			color:#fff;
			text-decoration:none;
		}
	}
	&:hover .edit-section-button {
		display:block;
	}

	// No top margin and no title
	&.no-top-margin.no-title {
		margin-top:50px;
	}

	// First section
	&.first-section,
	&.no-top-margin.no-title.first-section {
		margin-top:0;
	}

	// First section and has title
	&.first-section{

		&.has-title {
			// Adjust right content
			.rightcontent {
				//margin-top:-40px;
			}
		}

		&.no-title {

			.sidebarcontent {
				padding-top:0;
			}
		}
	}
}

/* Altnav Alterations to Sections */
.altnav .section.no-title.first-section .sidebarcontent {
	padding-top:50px;
}
.altnav.single .post {
	margin-bottom:0;
}

/* Section Title */
.section-title {
	p {
		margin-bottom:20px;
		line-height:30px;
		padding-right:100px; /* To account for pager */
	}

	.vertical-div {
		color:#dcdcdc;
	}

	span {
		text-transform: uppercase;
		font-size: 18px;
		color: #333;
		font-weight: bold;
		letter-spacing: .1em;
	}
}
.single .section-title p {
	padding-right:0;
}

/* Pageflip */
.pageflip a, .pageflip span {
    display: none;
}
.pageflip a.next.page-numbers,
.pageflip a.prev.page-numbers {
    display:inline-block;
}
.pageflip a {
	margin:0;
}
.pageflip {
	font-size: 24px;
	position: absolute;
	top: 0;
	right: 0;
	margin-top: 0; 

	.page-numbers {
		background: transparent;
		padding: 0 14px;
		font-size: 12px;
		border: 2px solid #dcdcdc;
		font-weight: bold;
		width:auto;
		height:auto;
	}
	
	i {
		line-height: 32px;
		font-size: 18px;
	}
}
/*
.pageflip {
	font-size: 24px;
	position: absolute;
	top: 0;
	right: 0;
	margin-top: 0;

	a, a:hover {
		color:#333;
		display:inline-block;
		line-height:1px;

		i {
			border:2px solid #dcdcdc;
			padding: 15px 13px;
			line-height: 1px;
			margin-left: 6px;
			font-size: 18px;
		}
	}
} */

/* Section Overlay */
.overlay {
	background:#000;
	@include opacity(0.35);
	position:absolute;
	width:100%;
	height:100%;
	top: 0;
	left: 0;
}
.avatar{
	display:inline-block;
	width:auto !important;
	height:auto !important;
	max-width: 100% !important;
	margin-right:15px; 
	border-radius:999px;
	-webkit-border-radius:999px;
	-moz-border-radius:999px;
	-o-border-radius:999px;			
}

/* Section-Only styles */
.section, .regulargrid {

	// Review Circle
	.c100 {
		border: 0.08em solid rgba(255, 255, 255, 0.25);
	}
	.inner-content {
	    top: 0;
	    position: absolute;
	    right: 0;
	    margin:0;
	    padding:30px;
	    background: none;
	    z-index:9;
	}
	.inner-content .c100 {
	    font-size:120px;
	    background:none;
	}
	.inner-content .c100:after {
	    background:none;
	}
	.inner-content .c100 span {
	    color:#fff;
	}
}

/* General Grid Styles */
.csstransitions .grid-item img,
.csstransitions .regulargrid a img{
	transition: transform 0.45s, filter 0.45s;
	-webkit-transition: -webkit-transform 0.45s, -webkit-filter 0.45s;
	-moz-transition:  -moz-transform 0.45s, -moz-filter 0.45s;
	-o-transition: -o-transform 0.45s, -o-filter 0.45s;
	-ms-transition: -ms-transform 0.45s, -ms-filter 0.45s;
	-webkit-transform: translate3d(0, 0, 0);
	/* This forces hardware acceleration for more consistent transitions */
}
.csstransitions .grid-item:hover img,
.csstransitions .regulargrid a:hover img {
	-webkit-transform:scale(1.1);
	-moz-transform:scale(1.1);
	-o-transform:scale(1.1);
	-ms-transform: scale(1.1); 
}
.grid-item {
	position:relative;
	float:left; // For non-isotope items
	overflow:hidden;

	img.disappear {
		@include opacity(0);
	}
	img {
		width:100%;
		@include opacity(0);
	}

	img,
	img.appear,
	img.disappear.appear {
		@include opacity(0.75);
	}


	// Overlay Text 
	.thumboverdate,
	.thumbovertext {
		position:absolute;
		padding:40px;
		left:0;
		color:#fff;
	}

	a.brick-thumb-link {
		overflow:hidden;
		margin-bottom:15px;
		position:absolute;
		top:0;
		left:0;
		width:100%;
		height:100%;
		z-index:9;
		text-indent:-99999999px;
	}

	.inner-content {
		z-index:11;
	}

	// Overlay Date
	.thumboverdate {
		top:0;
		text-transform: uppercase;
		line-height: 10px;
		z-index:9;
		
		i {
			margin-right:8px;
		}	 
	}

	// Overlay Text Items
	.thumbovertext {
		bottom:0;

		.badge {
			position:relative;
			left:auto;
			top:auto;
			display: block;
			text-align: left;
			width:100%;
		}
		.title, .title a {
			color:#fff;
			line-height:1em;
			margin:15px 0 0 0;
			max-width:600px;
			z-index: 10;
			position: relative;
			display:block;
		}
		.button {
			margin-top:20px;
		}
		.title a:hover {
			text-decoration: none;
		}
	}

	// No Thumbnail Styles
	.no-thumbnail {
		.thumbintro {
			float: left;
			margin-top: 0;
			width: 100%;
			padding-left: 0;
			padding-right: 30px;
		}
		.badge {
			position: relative;
			top: 10px;
			left: 5px;
		}
	}

	// Wrapper 
	.isobrick-inner {
		background:#000;
		overflow:hidden;
	}

	// Overlay 
	.overlay {
		z-index:3;
	}

	// Halfgrid Modifications 
	&.halfgrid {
		width: 378px;
		height: 398px;

		// Review Circle 
		.inner-content {
			padding:20px;

			.c100 {
				font-size:100px;
			}
		}

		// Inner Size
		.isobrick-inner {
		    width: 378px;
			height: 398px;
		} 
	}

	// Fullgrid Modifications 
	&.fullgrid {
		width: 761px;
		height: 400px;

		// Inner Size
		.isobrick-inner {
			width: 761px;
			height: 400px;
		}

	}

}
.carousel .grid-item {
	// Fullgrid Modifications 
	&.fullgrid {
		width: auto;
		height: auto;

		// Inner Size
		.isobrick-inner {
			width: auto;
			height: auto;
		}

	}
}
.section-content {
	&.first-section {
		padding-top:50px;
	}
}