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

.row {
	position: relative;
	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, .two-thirds, .three-fourths {
	float: left;
}
.half.last, .third.last, .one-third.last, .fourth.last,
.one-fourth.last, .two-thirds.last, .three-fourths.last {
	float: right;
}

.full	 		{ width: 100%; }
.half 			{ width: 49.9%; }
.third,
.one-third 		{ width: 33.3%; }
.fourth,
.one-fourth		{ width: 25%; }
.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; }

/************************************************
*	Large Screen Styles								*
************************************************/

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

	.page-banner.home-page-banner .hide-img {
		padding-top: 100vh !important;
	}
	.admin-bar .page-banner.home-page-banner .hide-img {
		padding-top: calc(100vh - 32px) !important;
	}
	.demo-site.admin-bar .home-page-banner.page-banner .hide-img {
		padding-top: calc(100vh - 112px) !important;
	}
	.demo-site .home-page-banner.page-banner .hide-img {
		padding-top: calc(100vh - 80px) !important;
	}

}

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

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

	/* Typography */

	body {
		font-size: 0.9rem;
		line-height: 1.9;
	}
	blockquote {
		font-size: 1.4rem;
	}
	.headline,
	.headline.img-headline,
	.custom-header-image .headline.img-headline {
		font-size: 2.2rem;
	}

	/* Theme */

	body.admin-bar {
		position: relative !important;
	}
	#masthead {
		text-align: left;
		padding: 18px 0px;
	}
	#masthead .site-title {
		font-size: 2.2rem;
	}
	#header.custom-header {
		background-attachment: scroll;
		background-size: cover;
		min-height: 280px;
	}
	#header.custom-header .row {
		position: relative;
	}
	.custom-header-image img.hide-img {
		display: none;
	}
	.custom-header-image .headline.img-headline {
		position: relative;
		padding: 24px;
		width: auto;
	}
	.custom-header-image .img-shade {
		display: none;
	}
	#header .nav-left,
	#header .nav-right {
		display: none;
	}
	#header .logo-holder {
		display: inline-block;
	}
	#header .site-logo-link {
		margin: 0px;
	}
	#side-menu {
		display: block;
		background: #000000;
		box-sizing: border-box;
	}
	.admin-bar #side-menu {
		margin-top: 32px;
	}
	#menu-toggle {
		display: block;
		cursor: pointer;
		background: none;
		position: relative;
		line-height: 0;
		margin: 0px 0px 0px auto;
		padding: 24px;
		border: none;
		box-shadow: none;
		z-index: 9;
	}
	#menu-toggle svg,
	.woocommerce.custom-header-inactive .mobile-menu-open #menu-toggle svg,
	.dark-header-text .mobile-menu-open #menu-toggle svg {
		fill: #ffffff;
	}
	.woocommerce.custom-header-inactive #menu-toggle svg,
	.dark-header-text #menu-toggle svg {
		fill: #000000;
	}
	button.menu-toggle {
		float: right;
		display: block;
		cursor: pointer;
		background: none;
		position: relative;
		margin: 0px;
		padding: 24px;
		border: none;
		z-index: 9;
	}
	button.menu-toggle svg {
		fill: rgba(0, 0, 0, 0.4);
	}
	button.menu-toggle:hover svg {
		fill: rgba(0, 0, 0, 1);
	}
	.sidr {
		display: block;
		color: rgba(255, 255, 255, 0.6);
		font-family: 'Raleway', sans-serif;
		position: fixed;
		top: 0;
		height: 100%;
		z-index: 999999;
		width: 260px;
		overflow-x: hidden;
		overflow-y: auto;
	}
	.sidr-inner {
		background: #000000;
		box-sizing: border-box;
	}
	.sidr.right {
		left: auto;
		right: -260px;
		border-left: 1px solid rgba(255, 255, 255, 0.24);
	}
	.sidr.left {
		left: -260px;
		right: auto;
		border-right: 1px solid rgba(255, 255, 255, 0.24);
	}
	.sidr p {
		margin: 6px 0px;
		padding: 0px;
	}
	.sidr ul {
		margin: 0px;
		padding: 0px;
	}
	.sidr ul.sidr-class-menu {
		margin: 0px;
	}
	.sidr ul.sidr-class-sub-menu {
		display: none;
		border-top: 1px solid rgba(255, 255, 255, 0.24);
	}
	.sidr li.sidr-class-menu-item-has-children > a::after {
		content: '\f107';
		font-family: 'FontAwesome';
		margin-left: 8px;
	}
	.sidr li {
		position: relative;
		list-style: none;
		margin: 0px;
		padding: 0px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.24);
	}
	.sidr li a {
		display: block;
		font-size: 1rem;
		font-weight: 400;
		line-height: 1.2;
		letter-spacing: 1px;
		text-align: center;
		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 li a:hover,
	.sidr li a:active,
	.sidr li a:focus {
		color: #ffffff;
		background: rgba(255, 255, 255, 0.04);
	}
	.sidr li li a::after {
		content: '';
		position: absolute;
		top: 0; left: 0;
		width: 100%; height: 100%;
		background: rgba(0, 0, 0, 0.04);
	}
	.slideshow .loading {
		min-height: 260px;
	}
	.page-banner,
	.feature-img.page-banner {
		background-attachment: scroll;
		background-size: cover;
	}
	.post-holder,
	.page-holder,
	.blog-holder,
	.archive-holder {
		margin-bottom: 36px;
	}
	.portfolio-item .excerpt {
		padding: 18px;
	}
	.footer-information .content {
		text-align: center;
	}
	.footer-information .align-left {
		float: none;
		display: block;
	}
	.footer-information .align-right {
		float: none;
		display: block;
		text-align: center;
		margin-top: 18px;
	}

	/* WP.com Demo */

	.demo-site .homepage .page-banner:first-child {
		height: 100vh;
	}
	.demo-site #header.custom-header,
	.demo-site .page-banner:first-child,
	.demo-site .feature-img.page-banner:first-child {
		background-position: center center;
	}
	.demo-site.admin-bar .homepage .page-banner:first-child {
		height: 100vh;
	}
	.demo-site.admin-bar #header.custom-header,
	.demo-site.admin-bar .page-banner:first-child,
	.demo-site.admin-bar .feature-img.page-banner:first-child {
		background-position: center center;
	}
	.demo-site #navigation {
		top: 80px;
	}
	.demo-site.admin-bar #navigation {
		top: 112px;
	}

}

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

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

	/* Typography */

	h1 {
		font-size: 1.8rem;
		line-height: 1.4;
	}
	h2 {
		font-size: 1.6rem;
		line-height: 1.4;
	}
	h3 {
		font-size: 1.4rem;
		line-height: 1.4;
	}
	h4 {
		font-size: 1.2rem;
		line-height: 1.4;
	}
	h5 {
		font-size: 1.1rem;
		line-height: 1.4;
	}
	h6 {
		font-size: 1.0rem;
		line-height: 1.4;
	}
	.headline,
	.headline.img-headline,
	.custom-header-image .headline.img-headline {
		font-size: 1.8rem;
		letter-spacing: 0px;
	}
	.title {
		font-size: 1rem;
	}
	body, p {
		font-size: 0.9rem;
		line-height: 1.7;
	}
	blockquote {
		padding: 12px 0px;
		border-left: none;
	}
	blockquote p {
		font-size: 1rem;
		line-height: 1.6;
	}
	blockquote::before {
		font-size: 5.8rem;
		margin-left: -36px;
		margin-top: -24px;
	}

	/* Theme */

	#wpadminbar {
		position: fixed !important;
	}
	#demosite-activate-wrap {
		margin-top: -146px;
	}
	.admin-bar #side-menu {
		margin-top: 46px;
	}
	#header .site-logo-link {
		max-width: 220px;
	}
	#masthead {
		padding: 16px 0px;
	}
	#masthead .site-title {
		font-size: 2rem;
	}
	#masthead .site-description {
		display: none;
	}
	.slideshow.gallery-slideshow .flexslider {
		padding: 12px;
	}
	.slideshow .loading {
		min-height: 180px;
	}
	.slideshow.content-slideshow .information {
		padding: 12px 18px;
	}
	.slideshow.content-slideshow .information .title {
		font-size: 0.8rem;
	}
	.flex-direction-nav .flex-next,
	.content-slideshow .flex-direction-nav .flex-next {
		right: 18px;
	}
	.flex-direction-nav .flex-prev,
	.content-slideshow .flex-direction-nav .flex-prev {
		left: 18px;
	}
	.homepage .page-banner:first-child {
		background-attachment: scroll;
		height: auto;
	}
	.homepage .home-search {
		margin-top: 0px;
	}
	.homepage .home-search .social-menu {
		padding-top: 18px;
	}
	.homepage .home-search .content {
		display: block;
	}
	.homepage .home-search .align-left,
	.homepage .home-search .align-right {
		float: none;
		text-align: center;
		margin: 0px auto 0px;
	}
	.homepage .home-search #searchform {
		margin: 0px auto 0px;
	}
	.content {
		padding: 12px 24px;
	}
	.entry {
		max-width: 68%;
	}
	.postarea,
	.postarea.middle,
	.postarea.right,
	.postarea.full {
		padding: 12px 0px;
	}
	.article,
	.postarea.full .article,
	.postarea.right .article,
	.postarea.middle .article {
		padding: 24px 6%;
	}
	.postarea .headline.archive-title,
	.postarea.right .headline.archive-title,
	.postarea.middle .headline.archive-title,
	.postarea.full .headline.archive-title {
		padding: 0px 6%;
	}
	.post-holder,
	.page-holder,
	.blog-holder,
	.archive-holder {
		margin-bottom: 24px;
	}
	.page .article h1:first-child + p,
	.page .article > p:first-child,
	.content-holder h1:first-child + p,
	.content-holder > p:first-child,
	.content-holder p:empty + p,
	.content-holder span + p {
		font-size: 1em;
		line-height: 1.6;
	}
	i.format-icon-tag {
		display: none;
	}
	.postarea .wp-caption.alignleft,
	.postarea .content-holder img.alignleft,
	.postarea.full .content-holder img.alignleft,
	.postarea.right .content-holder img.alignleft,
	.postarea.middle .content-holder img.alignleft {
		margin-left: 0px;
	}
	.postarea.right .wp-caption.alignnone,
	.postarea .content-holder img.alignright,
	.postarea.full .content-holder img.alignright,
	.postarea.right .content-holder img.alignright,
	.postarea.middle .content-holder img.alignright {
		margin-right: 0px;
	}
	.postarea.right .wp-caption.alignnone {
		width: 100%;
		max-width: 100%;
	}
	.content-holder img.alignnone {
		width: 100%;
		max-width: 100%;
		margin-left: 0px;
	}
	.postarea #comments,
	.postarea.full #comments,
	.postarea.middle #comments {
		padding: 24px 6%;
	}
	.pagination {
		margin-bottom: 12px;
	}
	.archive-column {
		width: 100%;
		padding-right: 0;
	}
	.sidebar {
		padding: 24px 6%;
		border-left: none;
	}
	.sidebar.left {
		display: none;
	}
	.sidebar .widget:last-child {
		margin-bottom: 12px;
	}
	.container form input[type='url'],
	.container form input[type='tel'],
	.container form input[type='email'],
	.container form input[type='text'],
	.container form input[type='password'],
	.container form input[type='number'],
	.container form textarea {
		width: 94%;
		padding: 8px 2%;
	}
	.footer-widgets {
		width: 100%;
		margin: 0px;
		padding: 0px;
	}
	.footer-widgets .widget {
		width: 100% !important;
		margin: 0px;
		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, .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;
	}
}