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

.row {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	position: relative;
}
.row .row {
	min-width: 0;
}
.flex-row {
	display: flex;
	align-items: stretch;
	align-content: center;
	justify-content: space-between;
	flex: 1 1 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; }

/* Nicolas Gallagher's micro clearfix */
.row:before, .row:after, .clearfix:before, .clearfix:after { content:""; display:table; }
.row:after, .clearfix:after { clear: both; }
.row, .clearfix { zoom: 1; }

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

@media screen and (max-width: 1024px) {

	/* Typography iPad */

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

	/* Theme iPad */

	.adventure-no-logo.adventure-logo-overlay.adventure-has-tagline #header .nav-row {
		flex-wrap: wrap;
	}
	.adventure-no-logo.adventure-logo-overlay.adventure-has-tagline #masthead {
		position: relative;
		text-align: center;
		width: 100%;
		margin: 0px;
		border-radius: 0px;
		box-shadow: none;
	}
	#header-active {
		margin-top: -24px;
	}
	#navigation {
		display: none;
	}
	#side-menu {
		display: block;
	}
	#menu-toggle {
		display: inline-block;
		cursor: pointer;
		background: none;
		position: relative;
		top: 0;
		text-align: right;
		line-height: 1;
		margin: 0px;
		padding: 18px;
		border: none;
		border-radius: 0px;
		box-shadow: none;
		z-index: 9;
	}
	#menu-toggle svg {
		fill: rgba(0, 0, 0, 0.4);
	}
	#menu-toggle:hover svg {
		fill: rgba(0, 0, 0, 1);
	}
	.sidr {
		display: block;
		background: #222222;
		color: rgba(255, 255, 255, 0.4);
		position: fixed;
		top: 0;
		height: 100%;
		z-index: 999999;
		width: 260px;
		overflow-x: hidden;
		overflow-y: auto;
		box-sizing: border-box;
	}
	.sidr-inner {
		box-sizing: border-box;
	}
	.sidr.right {
		left: auto;
		right: -260px;
	}
	.sidr.left {
		left: -260px;
		right: auto;
	}
	.sidr p {
		margin: 6px 0px;
	}
	.sidr ul {
		margin: 0px;
		padding: 0px;
	}
	.sidr ul.sidr-class-menu {
		margin: 0px;
	}
	.sidr ul.sidr-class-sub-menu {
		display: none;
		width: 100%;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
	}
	.sidr li.sidr-class-menu-item-has-children i.fa-chevron-down {
		position: relative;
		color: rgba(255, 255, 255, 0.5);
		font-size: 10px;
		font-weight: 600;
		margin-right: 12px;
		padding: 8px;
		cursor: pointer;
		border: 1px solid rgba(255, 255, 255, 0.24);
		border-radius: 2px;
		z-index: 99;
	}
	.sidr li.sidr-class-menu-item-has-children i.fa-chevron-down:hover {
		color: #ffffff;
		background: #000000;
		border-color: #000000;
	}
	.sidr li {
		display: flex;
		align-items: center;
		justify-content: space-between;
		flex-wrap: wrap;
		position: relative;
		width: 100%;
		list-style: none;
		margin: 0px;
		padding: 0px;
		box-sizing: border-box;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}
	.sidr ul > li:hover {
		box-shadow: inset 0px 0px 18px rgba(0, 0, 0, 0.6);
	}
	.sidr li:first-child {
		margin-top: 0px;
	}
	.sidr li a {
		display: block;
		flex-grow: 1;
		font-size: 0.9rem;
		font-weight: 500;
		line-height: 1.1;
		letter-spacing: 1px;
		text-align: left;
		text-transform: uppercase;
		text-decoration: none;
		padding: 18px;
	}
	.sidr li a,
	.sidr li a:link,
	.sidr li a:visited {
		color: rgba(255, 255, 255, 0.6);
	}
	.sidr ul > li:hover a {
		color: rgba(255, 255, 255, 1);
	}
	.site-title {
		font-size: 1.6rem;
	}
	.slideshow .slides li {
		max-height: 540px;
	}
	.slideshow .loading {
		min-height: 360px;
	}
	.slideshow .information {
		position: absolute;
		bottom: 18px;
	}
	.slideshow .information .headline {
		font-weight: 400;
		font-size: 2em;
		letter-spacing: 0px;
	}
	.flex-control-nav,
	.slideshow .excerpt {
		display: none;
	}
	.blog-holder,
	.archive-holder,
	.post-holder,
	.home-profile {
		margin: 12px 0px 0px 0px;
	}
	.post-area {
		margin-bottom: 0px;
	}
	.post-meta .align-left,
	.post-meta .align-right {
		width: 100%;
	}
	.post-meta .align-left {
		padding-bottom: 6px;
	}
	.post-meta .align-right {
		padding-top: 6px;
	}
	.category-wrap,
	.portfolio-wrap {
		width: 100%;
		margin: 0px;
	}
	#portfolio-filter {
		margin: 0px;
	}
	.pagination {
		margin-bottom: 0px;
		padding: 12px 0px;
	}
	.sidebar.left {
		margin-top: 12px;
	}
	.footer-widgets {
		margin-top: 0px;
	}

}

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

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

	/* Typography iPhone */

	body, p {
		font-size: 1rem;
		line-height: 1.65;
	}
	blockquote {
		margin: 12px 0px;
		padding: 18px 0px;
	}
	blockquote p {
		font-size: 1.2rem;
		line-height: 1.6;
	}
	h1 {
		font-size: 2rem;
		line-height: 1.4;
	}
	h2 {
		font-size: 1.8rem;
		line-height: 1.4;
	}
	h3 {
		font-size: 1.6rem;
		line-height: 1.4;
	}
	h4 {
		font-size: 1.4rem;
		line-height: 1.4;
	}
	h5 {
		font-size: 1.2rem;
		line-height: 1.4;
	}
	h6 {
		font-size: 1.1rem;
		line-height: 1.4;
	}
	.headline {
		font-size: 2.2rem;
	}
	.headline.small,
	.headline.smaller {
		font-size: 1.6rem;
	}
	.intro-img .headline {
		bottom: 12px;
		left: 12px;
		right: 12px;
	}

	/* Theme iPhone */

	.container {
		margin: 12px;
		padding: 0px;
		border-radius: 2px;
		overflow: hidden;
	}
	#logo {
		margin: 0px;
		box-shadow: none;
	}
	#logo img {
		margin: 0px auto 0px;
	}
	#header {
		margin-bottom: 12px;
	}
	#header .nav-row {
		align-items: flex-start;
	}
	#header-active {
		margin-top: -2px;
	}
	img.custom-logo {
		max-width: 240px;
		max-height: 120px;
		height: auto;
		width: auto;
	}
	.site-description {
		font-size: 1.6rem;
		line-height: 1.4;
	}
	.slideshow {
		border-radius: 2px;
		overflow: hidden;
	}
	.slideshow .slides li {
		max-height: 320px;
	}
	.slideshow .loading {
		min-height: 240px;
	}
	.slideshow .information .headline {
		font-weight: 400;
		font-size: 1.4em;
		letter-spacing: 0px;
	}
	.slideshow .information .headline.no-excerpt {
		margin-bottom: 0px;
		padding-bottom: 0px;
	}
	.home-profile {
		flex-direction: column;
		margin: 12px 0px 0px 0px;
	}
	.home-profile .profile-img {
		background: none;
		max-width: none;
	}
	.home-profile .profile-img img {
		width: 100%;
		margin: 0px;
		opacity: 1;
	}
	.page-header {
		min-height: 240px;
		max-height: 320px;
		border-radius: 2px;
		overflow: hidden;
	}
	.article, .intro, #comments,
	.home-profile .information {
		padding: 24px;
	}
	.blog-holder,
	.archive-holder,
	.post-holder {
		margin: 12px 0px 0px 0px;
	}
	.post-author p {
		float: left;
		display: block;
		text-align: left;
		width: 100%;
		font-size: 1em;
	}
	.post-meta .align-left,
	.post-meta .align-right {
		float: none;
		width: 100%;
		text-align: center;
		margin: 6px 0px;
	}
	.archive-column {
		width: 100%;
		padding-right: 0;
	}
	.sidebar {
		margin-top: 12px;
		padding: 0px;
	}
	.sidebar.left {
		display: none;
	}
	.sidebar .widget {
		margin-bottom: 0px;
		border-bottom: 1px solid rgba(0,0,0, .08);
	}
	.sidebar .widget:last-child {
		border-bottom: none;
	}
	.adventure-sidebar-inactive .alignwide {
		width: calc(100% + 48px);
		left: -24px;
		margin-left: 0px;
		margin-right: 0px;
	}
	.pagination {
		padding-bottom: 0px;
	}
	.footer-widgets {
		padding: 0px 24px;
	}
	.footer-widgets .widget .footer-widget {
		padding: 0px;
	}
	.footer-widgets .widget {
		float: none;
		width: 100%;
		margin: 0px;
		padding: 24px 0px;
	}
	.footer-content .align-left,
	.footer-content .align-right {
		float: none;
		display: block;
		text-align: center;
	}
	.footer-content .align-right {
		margin-top: 18px;
	}

	/* Form */

	form input[type='url'],
	form input[type='tel'],
	form input[type='email'],
	form input[type='text'],
	form input[type='password'],
	form input[type='number'] {
		width: 100%;
	}

	/* 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;
	}
	.row .single,
	.row .half,
	.row .third,
	.row .fourth {
		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;
	}
}
