/************************************************
	Desktop Grid
************************************************/

.row {
	width: 100%;
	margin: 0 auto;
}
.row .row {
	min-width: 0;
}
.column, .columns {
	float: left;
	min-height: 1px;
	position: relative;
}
[class*="column"] + [class*="column"]:last-child {
	float: right;
}

.half, .third, .one-third, .fourth,
.one-fourth, .fifth, .one-fifth,
.two-thirds, .three-fourths {
	float: left;
}
.half.last, .third.last, .one-third.last, .fourth.last,
.one-fourth.last, .fifth.last, .one-fifth.last,
.two-thirds.last, .three-fourths.last {
	float: right;
}

.single					{ width: 100%; }
.half						{ width: 49.9%; }
.third,
.one-third			{ width: 33.3%; }
.fourth,
.one-fourth			{ width: 25%; }
.fifth,
.one-fifth			{ width: 20%; }
.two-thirds			{ width: 66.6%; }
.three-fourths	{ width: 75%; }

.row .one 		{ width: 6.25%; }
.row .two 		{ width: 12.5%; }
.row .three 	{ width: 18.75%; }
.row .four 		{ width: 25%; }
.row .five 		{ width: 31.25%; }
.row .six 		{ width: 37.5%; }
.row .seven 	{ width: 43.75%; }
.row .eight 	{ width: 50%; }
.row .nine 		{ width: 56.25%; }
.row .ten 		{ width: 62.5%; }
.row .eleven 	{ width: 68.75%; }
.row .twelve 	{ width: 75%; }
.row .thirteen 	{ width: 81.25%; }
.row .fourteen 	{ width: 87.5%; }
.row .fifteen 	{ width: 93.75%; }
.row .sixteen 	{ width: 100%; }

.row .centered { float: none; margin: 0 auto; }

/************************************************
	Tablet Styles
************************************************/

@media handheld, only screen and (max-width: 1023px) {

	/* Typography Tablet */

	body {
		font-size: 0.9rem;
		line-height: 1.9;
	}
	blockquote p {
		font-size: 1.4rem;
	}

	/* Theme Tablet */

	.blog .article.article-bg, .category .article.article-bg, .archive .article.article-bg {
		height:auto;
		padding: 80px 0 0;
	}
	.blog-article-content {
		position:relative;
	}
	.bg-img-light .organic-blog-category,
	.bg-img-light .organic-blog-category:first-child,
	.bg-img-light .organic-blog-category:last-child {
		border-color: #000000 !important;
	}
	.bg-img-light .organic-blog-category:hover,
	.article-no-bg .organic-blog-category:hover {
		background-color: #000000;
	}
	.bg-img-light .organic-blog-category:hover a,
	.article-no-bg .organic-blog-category:hover a {
		color: rgba(255, 255, 255, 1);
		text-decoration: none;
	}
	.bg-img-dark .organic-blog-category,
	.bg-img-dark .organic-blog-category:first-child,
	.bg-img-dark .organic-blog-category:last-child {
		border-color: rgba(255, 255, 255, .9) !important;
	}
	.bg-img-dark .organic-blog-category:hover {
		border-color: rgba(255, 255, 255, .9) !important;
		background-color: rgba(255, 255, 255, .9);
	}
	.bg-img-dark .organic-blog-category:hover a {
		color: #000000;
		text-decoration: none;
	}
	.organic-blog-category {
		display: inline;
		border: 2px solid !important;
		border-radius: 20px;
		margin-right: 5px;
		margin-bottom: 5px;
	}
	.organic-blog-category a {
		overflow: hidden;
	}
}

/************************************************
	Phone Styles
************************************************/

@media handheld, only screen and (max-width: 767px) {

	/* Typography Phone */

	h1 {
		font-size: 2rem;
	}
	h2 {
		font-size: 1.8rem;
	}
	h3 {
		font-size: 1.6rem;
	}
	h4 {
		font-size: 1.4rem;
	}
	h5 {
		font-size: 1.2rem;
	}
	h6 {
		font-size: 1.0rem;
	}
	body, p {
		font-size: 0.9rem;
		line-height: 1.7;
	}
	blockquote {
		padding: 24px;
	}
	blockquote p {
		font-size: 1.2rem;
		line-height: 1.6;
	}

	/* Theme Phone */

	#header {
		position:relative;
		width:100%;
		height:auto;
	}
	#masthead {
		padding: 72px 24px;
	}
	#masthead .site-title {
		font-size: 1.6rem;
	}
	#custom-header {
		background-size: cover;
	}
	#header .nav-bar-bottom,
	#side-navigation .nav-bar-bottom.vertical-aligner {
		display: none !important;
	}
	.sidr-open #side-navigation .nav-bar-bottom {
		display: flex !important;
	}
	.content {
		padding: 0px 24px;
	}
	.post-area,
	.post-area.middle,
	.post-area.right,
	.post-area.full-width {
		padding: 24px 0px;
	}
	.post-author .author-bio {
		max-width: 100%;
	}
	.portfolio-projects,
	.testimonial-posts {
		width: 100%;
		margin-left: 0px;
	}
	.project,
	.testimonial {
		margin: 12px 0px;
	}
	.portfolio-nav .previous-post a,
	.flex-direction-nav .flex-prev {
		left: 12px;
	}
	.portfolio-nav .next-post a,
	.flex-direction-nav .flex-next {
		right: 12px;
	}
	.blog-holder,
	.archive-holder {
		margin: 24px 0px;
	}
	.archive-column {
		width: 100%;
		padding-right: 0;
	}

	/* Images */

	.article img.alignnone {
		width: calc(100% + 24px);
		max-width: none;
		margin: 6px 0px 6px -24px;
		padding: 0px;
	}

	/* Grid */

	body {
		-webkit-text-size-adjust: none;
		-ms-text-size-adjust: none;
		width: 100%;
		min-width: 0;
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
	}
	.row {
		width: 100%;
		min-width: 0;
		margin-left: 0;
		margin-right: 0;
		overflow: visible !important;
	}
	.half, .third, .one-third, .fourth,
	.one-fourth, .fifth, .one-fifth,
	.two-thirds, .three-fourths {
		float: none;
		width: 100%;
	}
	.row .row .column, .row .row .columns {
		padding: 0;
	}
	.column, .columns {
		width: auto !important;
		float: none;
		margin-left: 0;
		margin-right: 0;
	}
	.column:last-child, .columns:last-child {
		margin-right: 0;
		float: none;
	}
	[class*="column"] + [class*="column"]:last-child {
		float: none;
	}
	[class*="column"]:before, [class*="column"]:after {
		content:'';
		display:table;
	}
	[class*="column"]:after {
		clear: both;
	}
	.admin-bar #nav-bar .social-menu-wrapper {
		padding-bottom: 46px;
	}
}
