﻿header,
.mainContainer{
	width:100%;
	left:0;	
}
.filterWrap{
	left:-50%;
	width:50%;	
}
div#main-content{
	overflow:visible;	
	height:auto;
	min-height:100%;
}
.onepage-pagination {
	position: absolute;
	right: 17px;
	top: 200px;
	z-index: 5;
	list-style: none;
	margin: 0;
	padding: 0;
}
.onepage-pagination li {
  padding: 0;
  text-align: center;
}
.onepage-pagination li a{
  padding: 10px 0;
  width: 10px;
  height: 10px;
  display: block;
  margin: 0 auto;
  float: none;
  left: inherit;
  right: inherit;
  position: static;
}
.onepage-pagination li a:before{
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  background: white;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  right: 5px;
  box-shadow:0 0 1px black;
}

.onepage-pagination li a.active:before{
  width: 15px;
  height: 15px;
  background: red;
  border: 0px solid transparent;
  margin-top: 0;
  left: inherit;
}

.footer{
	display:none;	
}

#our-story{
	background-image: url('/images/ourstory/our-story.jpg');	
	background-position:center bottom;
}

.bodyCopy .container {
    background-color: transparent;
}
.intro {
	background-size: cover;
	background-repeat: no-repeat;
	background-color: #ffffff;
	height: 400px;
	padding: 0;
	margin: 0 0 0 0;
}
.intro h1 {
	padding-top: 0;
	text-align: center;
	color: white;
	text-shadow: 0 0 5px black;
	position: absolute;
	top: 0;
	margin: auto;
	bottom: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 4;
	height: 50px;
	width: 500px;
	max-width:100%;
	font-size: 60px;
}
.copy {
	width: 100%;
	max-width:1000px;
	margin: 10px auto;
	padding: 0;
	display:table;
	text-align:left;
}
.container .copy h2, .container .copy h2:first-child {
	font-size: 36px;
	margin: 20px auto;
	line-height: 24px;
}

.current { color:red !important;}
div#main-content{
	float:left;	
}

label, 
a {
	cursor: pointer;
	text-decoration: none;
}

label, 
#active, 
img { 
	-moz-user-select:none;
	-webkit-user-select:none; 
}
.catch { 
	display: block; 
	height: 0; 
	overflow: hidden; 
}

.modal .close {
	cursor: pointer;
	position: absolute;
	top: -4px;
	right: -4px;
	width: auto;
	height: auto;
	z-index: 2;
}

.page_container .fauxh1, .page_container h1 {
	padding: 0;
	margin: 16px auto;
	border-bottom: 1px dashed #ccc;
	text-align: center;
	width: 100%;
	height: 0;
	line-height: inherit;
	font-size:18px;
	max-width:97%;
}
.page_container h2, .page_container .fauxh2 {
	font-size: 32px;
	font-size:2rem;
	line-height:32px;
	line-height:2rem;
	margin: 16px auto;
	text-align: left;
	max-width:97%;
	color:#222222;
}
.page_container h2 span, .page_container h1 span,
.page_container .fauxh1 span, .page_container .fauxh2 span{
	margin: 0px auto 0;
	text-align: center;
	color: #333;
	font-size: 18px;
	width: auto;
	font-style: normal;
	background-color: white;
	display: inline-block;
	padding: 0 5px;
	position:relative;
	top:-10px;
	line-height:20px;
	
}
.homeNav{
	position:fixed;
	top:64px;
	right:0;
	z-index:9999;
	width:60px;
	height:120px;
		
}

.info,
.page_container
{
	background-color:white;
	max-width:320px;
	width:100%;
	text-align:center;
	padding:16px;
}	

.page_container p{
	max-width: 97%;
	text-align:left;
	color:#5a5a5a;
	margin:0 auto 16px;	
}

article .page_container p{
	border-bottom:1px dashed #cccccc;
	padding-bottom:16px;
	
}
article .page_container a{
	width:100%;	
	max-width:85%;
	margin:0 auto;
}

.copy .left{
	float:left;
	width:70%;
	padding:0 2%;
}
.copy .right{
	float:right;
	width:30%;
	padding:0 3%;
}

ul#pillars {
	width:100%;	
	margin-top: 3em;
	display: inline-block;
	max-width: 100%;
	text-align:center;
}
#pillars li {
		height: auto;
		width: 100%;
		text-align: center;
		min-height: 300px;
		position: relative;
		background-position:center;
		display:inline-block;
		margin-bottom:1rem;
	}

#pillars li a {
    text-decoration: none;
    color: gray;
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
}

#pillars li:first-child {
    top: 0;
    left: 0;
}

#pillars li:first-child {
    border-top: 0px none transparent;
}
#pillars li:first-child {
    background-image: url('/images/ourstory/fabric-close.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

#pillars h1 {
    font-size: 48px;
    text-align: left;
    max-width: 100%;
    margin: 16px auto;
}
#pillars li p {
	font-size: 16px;
	max-width: 80%;
	margin-top: 0;
	line-height: 20px;
	border-bottom: 1px dashed white;
	padding-bottom: .5em;
	min-height: auto;
	margin: 0 auto;
	border-top: 1px dashed white;
	padding-top: .5em;
	min-height: 175px;
	color:white;
	text-align:left;
}

div.info a:hover {
    color: white !important;
}

#pillars li:last-child {
    background-image: url('/images/ourstory/fabric-close.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}
#pillars h2, #pillars p, #pillars a {
    color: white;
	text-shadow: 0 -1px 0 #000;
}
#pillars li:nth-child(2) {
    background-image: url('/images/ourstory/jump.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

#pillars li:last-child {
    background-image: url('/images/ourstory/workshop.jpg');
    background-size: cover;
    background-repeat: no-repeat;
}

#pillars li a {
    background-color: rgba(0,0,0,.5);
    text-shadow: none;
    text-align: center;
    position: relative;
    min-height: 250px;
    display: inline-block;
}

	 #pillars li a:hover,
 #pillars li a:active {
	background-color: rgba(0,0,0,.5);
	background:rgba(0,0,0,.5);
}

#pillars li a.cta {
    bottom: 0;
    height: auto;
    background-color: rgba(0,0,0,.5);
    color: white !important;
    border-radius: 0;
    line-height: 50px;
    display: block;
    margin: 0;
    float: none;
    width: 100%;
    font-size: 16px;
    text-align: center;
    text-shadow: 0 -1px 0 #000;
    border: none;
    padding: 0;
    clear: none;
    position: relative;
    min-height: 50px;
    height: auto;
	max-width:100%;
}

#pillars h2 {
    text-align: center;
    height: auto;
    font-size: 24px;
	margin:16px auto;
}


article{
	background-repeat: no-repeat;
  	background-size: cover;	
	background-position:center top;
}
article.page1 {
  background-image: url("/Images/ourstory/workshop.jpg");
}
article.page2 {
  background-image: url("/Images/ourstory/pocket.jpg");
}
article.page3 {
  background-image: url("/Images/ourstory/spools.jpg");
}
article.page4 {
  background-image: url("/Images/ourstory/tees.jpg");
}
article.page5 {
  background-image: url("/Images/ourstory/fabric-isle.jpg");
}
article.page6 {
  background-image: url("/Images/ourstory/oldguy.jpg");
}
article.page7 {
  background-image: url("/Images/ourstory/fabric-close.jpg");
}
article.page8 {
  background-image: url("/Images/ourstory/fabric-table.jpg");
}
article.page9 {
  background-image: url("/Images/ourstory/dance.jpg");
}
article.page10 {
  background-image: url("/Images/ourstory/fabric-tile.jpg");
}
article.page11 {
  background-image: url("/Images/ourstory/stillLife2.jpg");
}
article.page12 {
  background-image: url("/Images/ourstory/jump.jpg");
}

article .page_container{
  position: absolute;
  margin-left: -160px;
  left: 28%;
  top: 200px;
  max-width: 320px;
}

.caret .button .cta.scroll {
opacity: 0;
-webkit-transition: opacity .25s ease-in-out;
-moz-transition: opacity .25s ease-in-out;
transition: opacity .25s ease-in-out;
}

.caret .button:hover .cta.scroll {
opacity: 1;
}

.cta {
	max-width: 300px;
	text-align: center;
	margin: 0 0 0 -80px;
	position: absolute;
	bottom: 2%;
	left: 50%;
	cursor:pointer;
}
.scrollCta {
	width: 100%;
	font-size:24px;
	color: white;
	text-shadow: 0 0 5px black;
	text-align: center;
	display: block;
	margin: 5px auto;
	opacity:0;
	-webkit-transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	transition: opacity .25s ease-in-out;
}
.cta:hover .scrollCta{
	opacity:1;	
}
@-webkit-keyframes arrow { 
	0% { -webkit-transform: translate3d(0, 0, 10px) rotateX(37deg); opacity: 0; }
	20% { -webkit-transform: translate3d(0, 0, 10px) rotateX(0); opacity: 1; }
	60% { -webkit-transform: translate3d(0, 0, 10px) rotateX(0); opacity: 1; }
	80% { -webkit-transform: translate3d(0, 0, 10px) rotateX(0); opacity: 1; }
	100% { -webkit-transform: translate3d(0, 0, 10px) rotateX(-45deg); opacity: 0; } }

@keyframes arrow { 
	0% { transform: translate3d(0, 0, 10px) rotateX(37deg); opacity: 0; }
	20% { transform: translate3d(0, 0, 10px) rotateX(0); opacity: 1; }
	60% { transform: translate3d(0, 0, 10px) rotateX(0); opacity: 1; }
	80% { transform: translate3d(0, 0, 10px) rotateX(0); opacity: 1; }
	100% { transform: translate3d(0, 0, 10px) rotateX(-45deg);}
}
.downArrow {
width: 100%;
height: auto;
max-width: 90px;
opacity:0;
-webkit-animation-timing-function: cubic-bezier(0.5, 0.2, 0.3, 1.0);
animation-timing-function: cubic-bezier(0.5, 0.2, 0.3, 1.0);
-webkit-transform-origin: 0 0 -12px;
transform-origin: 0 0 -12px;
cursor:pointer;
}
.downArrow {
opacity: 1;
-webkit-animation-name: arrow;
animation-name: arrow;
-webkit-animation-duration: 5s;
animation-duration: 5s;
-webkit-animation-iteration-count: infinite;
animation-iteration-count: infinite;
}

#contentsWrap {
	position: fixed;
	top: 209px;
	right: 60px;
	width: 300px;
	z-index: 1;
}
.contents {
	text-align: right;
	color: white;
	text-shadow: 0 0 2px black;
	font-size: 18px;
	display: block;
	width: 100%;
	line-height: 18px;
	height: 30px;
}
.contents:hover{
	color:red;
	text-shadow:none;
	cursor:pointer;	
}
li.contents.active{
	color:red;
	text-shadow:none;	
}

.onepage-pagination li{
	margin-bottom:10px;	
}
@media screen and (max-width:960px) {
	p{
		max-width: 97%;
	}
	#our-story{
		background-position:-180px center;	
	}
	.container .copy h2{
		text-align:center;	
	}
	#contentsWrap,
	.homeNav,
	.cta,
	.onepage-pagination{
		display:none;	
	}
	
	body, html {
		  overflow: visible !important;
		}
		
		body,
		html,
		.onepage-wrapper,
		.onepage-wrapper .section,
		article .page_container {
		  position: static !important;
		  display:block;
		  width:100%;
		  margin:0 auto;
		  text-align:center;	
		  height:auto !important;
		}
	article.onepage-wrapper {
		background-size:100% auto;
		padding-top:50%;	
	}
	
	div.onepage-wrapper{
		-webkit-transform: none !important;
		-webkit-transition: inherit;
		transition: inherit;	
	}
	.OurStoryController #pillars li{
		max-width: 97%;
		margin:16px auto;	
		float:none;
	}
	.copy .left,
	.copy .right{
		width:100%;
		padding:0;	
	}
}

@media screen and (min-width:768px){
	.filterWrap{
		left:-25%;
		width:25%;	
	}	
}

@media screen and (min-width:1025px){
	.filterWrap{
		left:-15%;
		width:15%;	
	}	
}