/*
 * BZ Studio v1.0 - Layout Stylesheet
 *
 * This file is part of BZ Studio, a HTML template build for sale at ThemeForest.
 * For questions, suggestions or support request, please mail me at maimairel@yahoo.com
 *
 * Development Started:
 * February 13, 2013
 *
 */

/* #General
================================================== */

html, 
body {
	height: 100%;
}

body {
	font: 18px/1.6 Georgia, "Times New Roman", Times, serif;
	background-color: #333;
	min-width: 320px;
}

/* #Typography
================================================== */

h1, h2, h3, h4, h5, h6 {
	line-height: 1.2;
	margin: 0 0 .8em;
	text-transform: uppercase;
	text-rendering: optimizelegibility;
	font-weight: normal;
	font-family: 'Bebas Neue', Arial, Helvetica, sans-serif;
}

h1 {
	font-size: 68px;
}

h2 {
	font-size: 52px;
}

h3 {
	font-size: 36px;
}

h4 {
	font-size: 28px;
}

h5 {
	font-size: 24px;
}

h6 {
	font-size: 20px;
}

p {
	margin: 0 0 36px;
}

em {
	font-style: italic;
}

cite {
	font-style: normal;
}

ul, ol {
	padding: 0;
	margin: 0 0 36px 25px;
}

ul ul,
ul ol,
ol ol,
ol ul {
	margin-bottom: 0;
}

a {
	text-decoration: none;
}

.amp {
	font-family: Baskerville, 'Goudy Old Style', Palatino, 'Book Antiqua', serif;
	font-style: italic;
	font-weight: lighter;
}

.text-slab {
	font-family: 'Bebas Neue', Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	font-weight: normal;
}

.word-break {
	white-space: -moz-pre-wrap; /* Mozilla */ 
	white-space: -o-pre-wrap; /* Opera 7 */ 
	word-wrap: break-word; /* IE */ 
	white-space: pre-wrap; /* CSS 2.1 */ 
	white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
}

.fit-vids-style {
	width: 0; height: 0;
	position: absolute;
	overflow: hidden;
}

img {
	width: auto;
	height: auto;
	vertical-align: middle;
	border: 0;
	display: block;
	-ms-interpolation-mode: bicubic;
}

blockquote {
	font-family: 'Bebas Neue', Arial, Helvetica, sans-serif;
}

blockquote p {
	margin-bottom: 0;
}

blockquote small {
	display: block;
	font-size: 75%;
	font-family: 'Lobster', cursive;
}

blockquote small:before {
	content: '\2014 \00A0';
}

/* #Page Header
================================================== */

.page-header {
	position: relative;
	background-size: cover;
	background-position: 50% 0;
	background-attachment: fixed;
}

.handheld .page-header {
	background-attachment: scroll;
	background-position: 50% 50% !important;
}

.page-header-content {
	padding: 175px 0;
	background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAQAAADYv8WvAAAADUlEQVR42mNgKGaAAAADogB0NMA4ZwAAAABJRU5ErkJggg==');
}

.page-header .page-header-title {
	text-align: center;
	position: relative;
}

.page-header .page-header-title .title-text {
	margin: 0;
	color: #fff;
	position: relative;
	text-transform: uppercase;
	display: inline-block;
	*zoom: 1;
	*display: inline;
	border: 3px solid #000;
	padding: 1px;
}

.page-header .page-header-title .title-text span {
	padding: 9px 50px;
	display: block;
	background-color: #000;
}

.window-loaded .page-header .page-header-title .title-text span {
	background-image: url(../img/grunge/wg100.png);
}

.mask-loaded .page-header .page-header-title .title-text span {
	-webkit-mask: url(../img/grunge/mask.png);
}

/* #Home
================================================== */

.home-container {
	width: 100%;
	height: 100%;
	z-index: 997;
	position: relative;
	text-align: center;
}

.home-content {
	position: relative;
	width: 860px;
	margin: auto;
	padding: 150px 0;
	z-index: 299;
}

.home-content .logo {
	text-align: center;
	margin-bottom: 46px;
}

.home-content .logo img {
	margin: auto;
	max-width: 100%;
}

/* #Slider Caption
================================================== */

.home-content .slide-caption {
	color: #fff;
	overflow: hidden;
	-webkit-transform: translate3d(0, 0, 0);
}

.home-content .slide-caption p {
	font-family: Arial, Helvetica, sans-serif;
}

.home-content .slide-caption h3 {
	font-size: 56px;
	line-height: 1;
	text-transform: none;
	display: inline-block;
	*zoom: 1;
	*display: inline;
	position: relative;
	margin-bottom: 20px;
}

.home-content .slide-caption h3:before, 
.home-content .slide-caption h3:after {
	content: '';
	height: 2px;
	top: 50%;
	margin-top: -1px;
	background-color: #fff;
	left: -100%;
	right: 100%;
	margin: 0 10px;
	position: absolute;
}

.home-content .slide-caption h3:after {
	left: 100%;
	right: -100%;
}

.home-content .slide-caption p {
	display: block;
	font-size: 24px;
	margin: 0 0 1em;
	position: relative;
}

.home-content .slide-caption .btn {
	display: none;
	margin: 0;
	background-color: #444;
	color: #fff;
}

.home-content .slide-caption .btn.visible {
	display: inline-block;
	*zoom: 1;
	*display: inline;
}

/* #Slider
================================================== */

.home-container .cycle-slider-container {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.cycle-slider-container .cycle-slider, 
.cycle-slider-container .cycle-slider .slide {
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
}

.cycle-slider-container .cycle-slider .slide {
	display: none;
}

.cycle-slider-container .slide .slide-img {
	top: -50%; 
	left: -50%; 
	width: 200%; 
	height: 200%;
	position: relative;
}

.cycle-slider-container .slide .slide-img img {
	position: absolute; 
	top: 0; 
	left: 0; 
	right: 0; 
	bottom: 0; 
	margin: auto; 
	min-width: 50%;
	min-height: 50%;
}

/* #Slider Progress
================================================== */

.cycle-slider .slide-progress {
	background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP47wMAAk0BTO7dblgAAAAASUVORK5CYII=');
	background: rgba(255, 255, 255, 0.3);
	height: 5px;
	position: absolute;
	z-index: 298;
	top: 0; left: 0;
}

/* #Slider Overlay
================================================== */

.cycle-slider .slide-overlay {
	position: absolute;
	left: 0; top: 0;
	width: 100%;
	height: 100%;
	z-index: 297;
	background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAABCAYAAAD0In+KAAAAD0lEQVR42mNmYGBYBsS/AARcAaSKXta1AAAAAElFTkSuQmCC');
}

.cycle-slider .spinner {
	top: 50%;
	left: 50%;
}

/* #Slider Navigation
================================================== */

.cycle-slider .slide-nav-wrap {
	position: absolute;
	z-index: 298;
	top: 0; bottom: 0;
	left: 0; opacity: 0;
	-webkit-transition: opacity 600ms ease-in-out;
	-moz-transition: opacity 600ms ease-in-out;
	transition: opacity 600ms ease-in-out;
	-webkit-transform-style: preserve-3d;
	-webkit-perspective: 1000px;
}

.cycle-slider .slide-nav-wrap.next {
	left: auto;
	right: 0;
}

.cycle-slider .slide-nav-wrap .slide-nav {
	width: 40px;
	height: 60px;
	text-align: center;
	line-height: 60px;
	position: absolute;
	left: 0; top: 50%;
	margin-top: -30px;
	cursor: pointer;
	font-size: 20px;
	background-color: #fff;
	-webkit-backface-visibility: hidden;
	-webkit-transition: -webkit-transform 400ms ease-in-out;
}

.cycle-slider .slide-nav-wrap.prev .slide-nav {
	border-radius: 0 8px 8px 0;
	-webkit-transform-origin: left top;
	-webkit-transform: rotateY(90deg);
}

.cycle-slider .slide-nav-wrap.next .slide-nav {
	left: auto;
	right: 0;
	border-radius: 8px 0 0 8px;
	-webkit-transform-origin: right top;
	-webkit-transform: rotateY(-90deg);
}

.home-container:hover .slide-nav-wrap {
	opacity: 1;
}

.home-container:hover .slide-nav-wrap .slide-nav {
	-webkit-transform: rotateY(0deg);
}

/* #Navigation
================================================== */

.main-header {
	width: 100%;
	bottom: 0;
	position: absolute;
	z-index: 999;
	background-color: rgba(44, 49, 59, 0.5);
	padding-top: 5px;
}

.main-header.unfix {
	position: relative;
}

.main-header .header-container {
	width: 100%;
	background-color: #0A4362;
	position: relative;
}

.window-loaded .main-header .header-container {
	background-image: url(../img/grunge/wg25.png);
}

.main-header .header-container.affix {
	position: fixed;
	top: 0;
}

.main-nav {
	width: 100%;
}

.main-nav ul, 
.main-nav ul li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav ul {
	font-size: 0;
	text-align: center;
	white-space: nowrap;
}

.main-nav ul li {
	font-family: 'Bebas Neue', Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	padding: 28px 18px;
	display: inline-block;
	*zoom: 1;
	*display: inline;
}

.main-nav ul li a {
	color: #fff;
	font-size: 24px;
	display: block;
	outline: none;
	line-height: 1;
	text-decoration: none;
}

.main-nav ul li.active a {
	border-bottom: 2px solid #fff;
	margin-bottom: -2px;
}

.main-nav .tinynav {
	display: none;
	width: 100%;
	padding: 0;
	margin: 0;
	height: 30px;
	font-size: 14px;
	background-color: #fff;
	border: 1px solid #fff;
}

/* #Section Container
================================================== */

.section-wrap {
	position: relative;
	z-index: 997;
	background-color: #fff;
}

.section-inner {
	padding: 100px 0;
}

.section-inner .separator {
	width: 100%;
	padding-top: 24px;
	margin-bottom: 60px;
	border-bottom: 1px dashed transparent;
}

.section-wrap.pat1 {
	background-image: url('../img/pat/scratches.png');
}

.section-wrap.pat2 {
	background-image: url('../img/pat/speckles.png');
}

.section-wrap.pat3 {
	background-image: url('../img/pat/fabric.png');
}

.section-wrap.pat4 {
	background-image: url('../img/pat/noise.png');
}

/* #Section Story
================================================== */

.section-story {
	text-align: center;
	margin-bottom: 36px;
}

.section-story h2 {
	font-size: 96px;
	line-height: 0.9;
	margin: 0;
}

.mask-loaded .section-story h2 {
	-webkit-mask: url(../img/grunge/mask.png);
}

/* #Section Headline
================================================== */

.section-headline {
	text-align: center;
	padding: 16px 0;
	margin-bottom: 60px;
}

.section-headline .headline-ribbon {
	display: inline-block;
	*zoom: 1;
	*display: inline;
	position: relative;
}

.section-headline .headline-ribbon:after, 
.section-headline .headline-ribbon:before {
	content: '';
	position: absolute;
}

.section-headline .headline-ribbon:before {
	right: 100%;
	top: -16px;
	margin-right: -24px;
	border: 48px solid transparent;
	border-left-color: transparent !important;
}

.section-headline .headline-ribbon:after {
	bottom: -16px;
	left: 100%;
	margin-left: -24px;
	border: 48px solid transparent;
	border-right-color: transparent !important;
}

.section-headline .headline-ribbon h1 {
	margin: 0;
	font-size: 52px;
	line-height: 1;
	text-transform: none;
	font-family: 'Lobster', cursive;
}

.section-headline .headline-ribbon h1 {
	display: block;
	position: relative;
	z-index: 1;
}

.section-headline .headline-ribbon h1:after, 
.section-headline .headline-ribbon h1:before {
	content: '';
	position: absolute;
	border: solid transparent;
	border-width: 8px 12px;
}

.section-headline .headline-ribbon h1:after {
	right: 0;
	bottom: -16px;
}

.section-headline .headline-ribbon h1:before {
	left: 0;
	top: -16px;
}

.section-headline .headline-ribbon h1 span {
	display: inline-block;
	*zoom: 1;
	*display: inline;
	padding: 25px 45px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 0) {
	.section-headline .headline-ribbon h1 span {
		margin: 0 -6px -6px 0;
		-webkit-text-fill-color: transparent;
		-webkit-background-clip: text;
		background-image: -webkit-linear-gradient(45deg, 
			transparent 25%, rgba(0, 0, 0, 0.5) 25%, 
			rgba(0, 0, 0, 0.5) 50%, transparent 50%, 
			transparent 75%, rgba(0, 0, 0, 0.5) 75%, #444);
		background-size: 4px 4px;
	}
}

.section-headline .headline-ribbon h1 span:after, 
.section-headline .headline-ribbon h1 span:before {
	vertical-align: middle;
	line-height: 24px;
	font-size: 24px;
	font-family: 'icomoon';
}

.section-headline .headline-ribbon h1 span:before {
	content: "\e15a\00A0\00A0";
}

.section-headline .headline-ribbon h1 span:after {
	content: "\00A0\00A0\e15a";
}

.section-headline .headline-separator {
	text-align: center;
	border: none;
	padding: 0;
	margin-top: 35px;
	margin-bottom: -41px;
	position: relative;
	overflow: hidden;
}

.mask-loaded .section-headline .headline-separator {
	-webkit-mask: url(../img/grunge/mask.png);
}

.section-headline .headline-separator:after, 
.section-headline .headline-separator:before {
	height: 2px;
	width: 100%;
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	margin-left: 37px;
	margin-top: -2px;
	border-style: dotted;
	border-width: 1px 0;
}

.section-headline .headline-separator:before {
	left: auto;
	right: 50%;
	margin-left: auto;
	margin-right: 37px;
}

.section-headline .headline-separator .decoration {
	display: inline-block;
	*zoom: 1;
	*display: inline;
    vertical-align: middle;
    line-height: 1;
    width: 54px; height: 54px;
    font-size: 54px;
}

.section-headline .headline-separator .decoration:before {
    font-family: 'icomoon';
	content: "\e01c";
	-webkit-font-smoothing: antialiased;
}

/* #Section Subheadline
================================================== */

.section-subheadline {
	text-align: center;
	margin-bottom: 48px;
}

.section-subheadline.double-margin {
	margin-top: 24px;
}

.section-subheadline.low-margin {
	margin-bottom: 12px;
}

.section-subheadline .headline-text {
	font-family: 'Lobster', cursive;
	position: relative;
	margin: 0;
	text-transform: none;
	display: inline-block;
	*zoom: 1;
	*display: inline;
}

.mask-loaded .section-subheadline .headline-text span, 
.mask-loaded .section-subheadline .headline-text-small {
	-webkit-mask: url(../img/grunge/mask.png);
	-webkit-mask-position: left center;
}

.section-subheadline .headline-text-small {
	margin-top: 20px;
	text-transform: uppercase;
}

.section-subheadline .headline-text:after, 
.section-subheadline .headline-text:before {
	content: '';
	position: absolute;
	height: 2px;
	width: 40px;
	top: 50%;
	right: 100%;
	margin-top: -1px;
	margin-right: 10px;
}

.section-subheadline .headline-text:before {
	margin-right: auto;
	margin-left: 10px;
	right: auto;
	left: 100%;
}

/* #Subsection
================================================== */

.subsection {
	background-position: 50% 50%;
	background-repeat: repeat-y;
	background-attachment: fixed;
	background-size: cover;
	position: relative;
	-moz-box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.75);
	box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.75);
}

.handheld .subsection {
	background-attachment: scroll;
	background-position: 50% 50% !important;
}

.subsection .loading {
	position: absolute;
	color: #fff;
	left: 10px;
	bottom: 10px;
	font-family: 'Bebas Neue', Arial, Helvetica, sans-serif;
	-webkit-animation: blink alternate 2s linear infinite;
	-moz-animation: blink alternate 2s linear infinite;
	animation: blink alternate 2s linear infinite;
}

@-webkit-keyframes blink {
	0% {
		opacity: 1;
	}

	100% {
		opacity: 0.1;
	}
}

@-moz-keyframes blink {
	0% {
		opacity: 1;
	}

	100% {
		opacity: 0.1;
	}
}

@keyframes blink {
	0% {
		opacity: 1;
	}

	100% {
		opacity: 0.1;
	}
}

.subsection .subsection-wrap {
	width: 100%;
	height: 450px;
	padding: 50px 0;
	display: table;
	background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAQAAADYv8WvAAAADUlEQVR42mNgKGaAAAADogB0NMA4ZwAAAABJRU5ErkJggg==');
}

.subsection .subsection-inner {
	display: table-cell;
	vertical-align: middle;
	position: relative;
}

.subsection .subsection-title {
	text-align: center;
	position: relative;
	margin-bottom: 40px;
}

.subsection .subsection-title .title-text {
	font-size: 40px;
	margin: 0;
	color: #fff;
	position: relative;
	text-transform: uppercase;
	display: inline-block;
	*zoom: 1;
	*display: inline;
	border: 3px solid #000;
	padding: 1px;
}

.subsection .subsection-title .title-text span {
	padding: 9px 50px;
	display: block;
	background-color: #000;
}

.window-loaded .subsection .subsection-title .title-text span {
	background-image: url(../img/grunge/wg100.png);
}

.mask-loaded .subsection .subsection-title .title-text span {
	-webkit-mask: url(../img/grunge/mask.png);
}

.mask-loaded .subsection:nth-of-type(2n) .subsection-title .title-text span {
	-webkit-mask-position: left center;
}

/* #Subsection Blockquote
================================================== */

.subsection blockquote, 
.subsection .quote-author {
	display: block;
	text-align: center;
	color: #fff;
	text-shadow: #666 2px 2px 0, #111 4px 4px 4px;
}

.subsection blockquote {
	font-size: 36px;
	line-height: 1;
	position: relative;
	text-transform: uppercase;
	margin: 0;
	padding: 0;
}

.subsection .quote-author {
	margin-top: 24px;
	font-size: 36px;
	font-family: 'Lobster', cursive;
}

.subsection .quote-author:before {
	content: '\2014 \00A0';
}

.subsection .quote-author:after {
	content: '\00A0 \2014';
}

/* #Contact Page
================================================== */

.contact-heading {
	text-align: center;
	line-height: 1;
	margin-bottom: 40px;
}

.mask-loaded .contact-heading {
	-webkit-mask: url(../img/grunge/mask.png);
	-webkit-mask-position: center center;
}

.contact-heading .line {
	display: inline-block;
	*zoom: 1;
	*display: inline;
	font-size: 84px;
	margin: 0;
	line-height: 1;
}

.contact-heading .subheading {
	padding: 2px 0;
	text-transform: uppercase;
	border-style: solid;
	border-width: 2px 0;
	margin: 48px 0 0;
}

.contact-heading .subheading span {
	padding: 10px 0;
	display: block;
	font-size: 28px;
	border-style: solid;
	border-width: 1px 0;
}

/* .Footer
================================================== */

.footer {
	padding: 10px 0 0;
	margin-top: -10px;
	position: relative;
	z-index: 998;
	background-image: url(../img/footer.png);
	background-repeat: repeat-x;
	background-position: left top;
}

.footer-inner {
	padding-top: 36px;
	background-color: #292929;
}

.window-loaded .footer-inner {
	background-image: url(../img/grunge/wg50.png);
}

.footer .footer-top .title {
	position: relative;
	font-family: 'Lobster', cursive;
	font-size: 18px;
	color: #eee9d8;
	overflow: hidden;
	margin-bottom: 20px;
}

.footer .footer-top .title:after {
	height: 1px;
	content: '';
	position: absolute;
	background-color: #878787;
	top: 50%;
	width: 100%;
	margin-left: 10px;
}

.footer .footer-top .spectitle{
	color: white;
	-webkit-mask: url(../img/grunge/mask.png);
}

.footer .separator {
	border-bottom: 1px solid #878787;
}

.footer .footer-bottom {
	color: #878787;
	padding: 30px 0;
	text-align: center;
	font-size: 16px;
}


/* #Blog Page
================================================== */

.blog-sidebar .block {
	margin-bottom: 36px;
	font-size: 0.9em;
}

.blog-sidebar .block .block-title {
	margin-bottom: 0.5em;
	border-bottom: 1px dotted #000;
}

.blog-sidebar .block .block-list, 
.blog-sidebar .block .block-list li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.blog-sidebar .blog-search {
	width: 100%;
	border-style: dotted;
}

.blog-posts {
	padding-right: 10px;
}

.blog-posts .post {
	margin-bottom: 90px;
}

.blog-posts .post .head .main {
	margin-left: 98px;
}

.blog-posts .post .head .title {
	margin: 0;
}

.blog-posts .post .head {
	margin-bottom: 1em;
	font-family: 'Bebas Neue', Arial, Helvetica, sans-serif;
}

.blog-posts .post .head .date-box {
	float: left;
	width: 70px;
	font-size: 24px;
	line-height: 1;
	text-align: center;
	display: inline-block;
	*zoom: 1;
	*display: inline;
	border: 3px solid #000;
	padding: 1px;
	color: #fff;
}

.blog-posts .post .head .date-box .date {
	padding: 12px 0;
	background-color: #000;
}

.window-loaded .blog-posts .post .head .date-box .date {
	background-image: url(../img/grunge/wg100.png);
}

.blog-posts .post .head .date-box span {
	display: block;
	font-size: 1.5em;
}

.blog-posts .post .head .post-meta, 
.blog-posts .post .head .post-meta li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.blog-posts .post .head .post-meta li {
	display: inline-block;
	*zoom: 1;
	*display: inline;
	margin-right: 15px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 16px;
}

.blog-posts .post .head .post-meta li a {
	-webkit-transition: color .15s ease-in-out;
	-moz-transition: color .15s ease-in-out;
	transition: color .15s ease-in-out;
}

.blog-posts .post .foot {
	text-align: right;
	position: relative;
	overflow: hidden;
	font-family: 'Bebas Neue', Arial, Helvetica, sans-serif;
}

.blog-posts .post .foot .read-more {
	position: relative;
	display: inline-block;
	*zoom: 1;
	*display: inline;
	border: 3px solid #000;
	padding: 1px;
}

.blog-posts .post .foot .read-more:before {
	position: absolute;
	content: '';
	border-bottom: 1px dotted #000;
	width: 940px;
	top: 50%;
	right: 100%;
	margin-right: 13px;
}

.blog-posts .post .foot .read-more a {
	text-decoration: none;
	display: inline-block;
	*zoom: 1;
	*display: inline;
	padding: 2px 10px;
	position: relative;
	color: #fff;
	background-color: #000;
	-moz-transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}

.window-loaded .blog-posts .post .foot .read-more a {
	background-image: url(../img/grunge/wg100.png);
}

.blog-posts .post .foot .read-more a:hover {
	background-color: transparent;
}

.blog-posts .post .foot .read-more a [class*="icon-"] {
	margin-right: 4px;
}

.blog-posts .post .media {
	padding: 10px;
	margin-bottom: 1em;
	background-color: #fff;
	-moz-box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
	box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.blog-posts .post blockquote {
	padding: 16px 32px;
	margin: 0 0 18px;
	font-size: 1.5em;
	background: rgba(0, 0, 0, 0.1);
	border-radius: 4px;
	box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.2);
}


/* #Media Queries
================================================== */

/* Tablet Portrait: Between 768px and 959px */
@media only screen and (min-width: 768px) and (max-width: 959px)
{
	.home-content {
		width: 648px;
	}

	.home-content .slide-caption p {
		font-size: 20px;
	}

	.section-headline .headline-ribbon h1 {
		font-size: 48px;
	}

	.section-headline .headline-ribbon:before {
		margin-right: -23px;
		border: 46px solid transparent;
	}

	.section-headline .headline-ribbon:after {
		margin-left: -23px;
		border: 46px solid transparent;
	}

	.section-headline .headline-ribbon h1:after, 
	.section-headline .headline-ribbon h1:before {
		border-width: 8px 11px;
	}

	.section-story h2 {
		font-size: 72px;
	}

	.subsection blockquote {
		font-size: 30px;
	}

	.testimonial {
		width: 708px;
	}
}

/* All Mobile Sizes: Less than 767px */
@media only screen and (max-width: 767px)
{
	.home-content {
		width: 300px;
	}

	.home-container {
		height: auto;
	}

	.home-content .logo {
		margin-bottom: 0;
	}

	.home-content .slide-caption {
		display: none !important;
	}

	.main-header {
		position: relative;
	}

	.main-nav ul {
		display: none;
	}

	.main-nav {
		padding: 15px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		-o-box-sizing: border-box;
		box-sizing: border-box;
	}

	.main-nav .tinynav {
    	display: block;
    }

	.section-headline .headline-ribbon h1 span:before, 
	.section-headline .headline-ribbon h1 span:after {
		content: none;
	}

	.section-wrap .section-subheadline .headline-text:after, 
	.section-wrap .section-subheadline .headline-text:before {
		display: none;
	}

	.contact-heading .subheading span {
		font-size: 21px;
	}

	.blog-posts .post .head .main {
		margin: 0;
	} 

	.blog-posts .post .head .date {
		margin: 0;
		float: none;
		display: block;
		width: auto;
		margin-bottom: .5em;
	}

	.blog-posts .post .head .date span {
		display: inline-block;
		*zoom: 1;
		*display: inline;
		margin: 0 4px;
	}
}

/* Just Mobile Landscape: Between 480px and 767px */
@media only screen and (min-width: 480px) and (max-width: 767px)
{
	.home-content {
		width: 320px;
	}

	.section-headline .headline-ribbon h1 {
		font-size: 48px;
	}

	.section-headline .headline-ribbon:before {
		margin-right: -21px;
		border: 42px solid transparent;
	}

	.section-headline .headline-ribbon:after {
		margin-left: -21px;
		border: 42px solid transparent;
	}

	.section-headline .headline-ribbon h1:after, 
	.section-headline .headline-ribbon h1:before {
		border-width: 8px 10px;
	}

	.section-story h2 {
		font-size: 64px;
	}

	.section-subheadline .headline-text {
		font-size: 48px;
	}

	.section-inner {
		padding: 70px 0;
	}

	.contact-heading .line {
		font-size: 52px;
	}

	.subsection blockquote {
		font-size: 26px;
	}
}

/* Just Mobile Portrait: Less than 479px */
@media only screen and (max-width: 479px)
{

	.cycle-slider .slide-nav-wrap {
		display: none;
	}

	.page-header .page-header-title .title-text span {
		font-size: .75em;
	}

	.section-headline {
		margin-bottom: 24px;
		padding: 0;
	}

	.section-headline .headline-ribbon {
		margin-bottom: 24px;
		display: block;
	}

	.section-headline .headline-ribbon h1 {
		font-size: 40px;
	}

	.section-headline .headline-separator {
		margin-top: 0;
		margin-bottom: 0;
	}

	.section-headline .headline-separator:after {
		margin-left: 28px;
	}

	.section-headline .headline-separator:before {
		margin-right: 28px;
	}

	.section-headline .headline-separator .decoration {
		font-size: 36px;
		width: 36px;
		height: 36px;
	}

	.section-headline .headline-ribbon:before, 
	.section-headline .headline-ribbon:after, 
	.section-headline .headline-ribbon h1:after, 
	.section-headline .headline-ribbon h1:before {
		display: none;
	}

	.section-subheadline {
		margin-bottom: 32px;
	}

	.section-story {
		margin-bottom: 16px;
	}

	.section-story h2 {
		font-size: 54px;
	}

	.section-subheadline .headline-text {
		font-size: 40px;
	}

	.section-inner {
		padding: 40px 0;
	}

	.section-inner .separator {
		margin-bottom: 40px;
	}

	.contact-heading .line {
		font-size: 40px;
	}

	.contact-heading .subheading {
		margin-top: 40px;
	}

	.subsection blockquote {
		font-size: 21px;
	}
}

/* Retina Devices */
@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx)
{
	
	.window-loaded .main-header .header-container {
		background-image: url(../img/grunge/@2x/wg25.png);
		background-size: 400px 300px;
	}

	.window-loaded .subsection .subsection-title .title-text span, 
	.window-loaded .blog-posts .post .head .date, 
	.window-loaded .blog-posts .post .read a {
		background-image: url(../img/grunge/@2x/wg100.png);
		background-size: 400px 300px;
	}

	.footer {
		background-image: url(../img/footer_2x.png);
		background-size: 290px 10px;
	}

	.window-loaded .footer-inner {
		background-image: url(../img/grunge/@2x/wg50.png);
		background-size: 400px 300px;
	}

	.mask-loaded .page-header .page-header-title .title-text span, 
	.mask-loaded .section-story h2, 
	.mask-loaded .section-headline .headline-separator, 
	.mask-loaded .section-subheadline .headline-text span, 
	.mask-loaded .section-subheadline .headline-text-small, 
	.mask-loaded .subsection .subsection-title .title-text span, 
	.mask-loaded .contact-heading {
		-webkit-mask: url(../img/grunge/@2x/mask.png);
		-webkit-mask-size: 325px 325px;
	}
}
