/* CSS Document */
body,td,th {margin:0; padding: 0; background: #fff;}
html {height: 100%;}
body {width: 100%; }

/*type*/
p{font:400 1em/1.75em "Raleway", sans-serif; padding:0;  color:#333;}
h1{font:600 2.25em/1.25em 'Josefin Slab', sans-serif; margin:0; padding:0;}
h2{font:600 1.75em/1.5em 'Josefin Slab', sans-serif; margin:0; padding:0;}
h3{font:300 4em/1.5em 'Josefin Slab', sans-serif; margin:1.5em 0; padding:0; color: #d22c00;}
h5{font:400 1.125em/1em "Raleway", sans-serif; padding:0; margin: 0;  color:#333; text-transform: uppercase;}
h4{font:700 .75em/1em "Raleway", sans-serif; padding:0; margin: 0;  color:#666; text-transform: uppercase;}
h4 span{font:400 1em/1em "Raleway", sans-serif; padding:0; margin: 0;  color:#333; text-transform: capitalize;}


/*gloabl*/
.floatRight{float:right;}
.floatLeft{float:left;}
.reset{clear:both;}
.oort{padding: 0; margin: 0; width: 100%; background: none;}

figcaption{
	font:400 .75em/1.5em "Raleway", sans-serif; 
	padding:0 30px; 
	margin: 3em auto 0;
	display: block;
	text-align: center;
	max-width: 500px
}
figure{margin: 0;}
img{
	max-width: 100%;
  	height: auto;
}

#navbar {
	background: none; 
	position: fixed; 
	top: 0; 
	width: 100%; 
	height: 40px;
	padding: 30px 0;
	transition: top 500ms cubic-bezier(0.680, -0.550, 0.265, 1.550); /* easeInOutBack */ 
	display: block;
	z-index: 9000;
}
#navbar .logo{
	float: left;
	margin-left: 30px;	
}
.blend{
	mix-blend-mode: exclusion;
	opacity: .7;
	transition: 0.2s;
}
#logo, .menu {
	fill:#000;
	
}
#logo:hover, .menu:hover{
	fill:#d22c00;
}
#navbar .menu{	
	float: right;
	width:30px;
	margin-right: 30px;
	cursor: pointer;
}
@media only screen and (max-width: 800px) {
	#logo {
		fill:#000;
		mix-blend-mode: normal;
		opacity: 1;
		transition: 0.2s;
		z-index: 999;
	}
	.topmenu {
		fill:#000;
		mix-blend-mode: normal;
		opacity: .5;
	}
	#navbar {
	background: rgba(255,255,255,.5); 
	}
	#home #navbar{
		background: none;
	}
}
.panel {
    position: fixed;
    right: 0; 
    width: 20%;
	height: 100%;
	min-width: 230px;
	padding-right: 30px;
	background: #fff;
	box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.3);
	display:none;
	z-index: 600;
}


#menu{
	margin: 5em 0 0;
	padding: 0;
	width: 100%;
}
#menu li{
	list-style:none;
	height:2em;
	width: auto;
	min-width: 180px;
	margin:0 0 0 20px;
	padding: 1em;
	border-bottom: 1px solid #999;
		
}
#menu li:last-child{
	border: none;
}
#social{
	margin: 0;
	padding: 0;
	bottom: 0;
	right:0;
	position: absolute;
}
#social li{
	list-style:none;
	float: right;
	height:30px;
	width: 30px;
	min-width: 30px;
	margin:2em 0;
	padding: 0 1.5em 0 0;
	border: none;
	fill:#666;	
}
.subhead{
	font:400 .75em/2em "Raleway", sans-serif; 
	text-transform: capitalize;
	color: #666;
}
#menu a{
	color: #333;
	text-decoration: none;
	font:400 1em/2em "Raleway", sans-serif; 
	width: 100%;
	height: 2em;
	display: inline-block;
}
#social a{
	fill:#666;
	transition: .25s;
}
#menu a:hover,#social a:hover{
	color: #d22c00;
	fill: #d22c00;
}

.story{
	background: #fff;
	width: auto;
	padding: 50px 0 0;
	margin: 0;
}
.cover{
	background: none;
	width: 100%;
	max-height: 500px;
	display: block;
	overflow: hidden;
}

.cover h1{
	background: rgba(255,255,255,0.8);
	padding: 1em;
	margin: 3em auto;
	max-width: 650px;
	display: block;
	border-radius: 40px;
}
.story p{
	max-width: 500px;
	margin:0 auto 1.5em;
	padding: 0 30px;
	text-align: justify;
}
.story ul{
	max-width: 500px;
	margin:0 auto 1.5em;
	padding: 0 30px;
	text-align: left;
	border-radius:20px;
	padding: 20px;
	margin: 4em auto;
	max-width: 540px;
}
.story ul li{
	list-style-type: square;
	list-style-position: outside;
	padding: 0;
	margin: 10px 20px 10px 40px;
	}
.story h2, .story h5{
	max-width: 500px;
	margin:1em auto 1em;
	padding: 0 30px;
	text-align: left;
}
.story h4{
	max-width: 500px;
	margin:0 auto 2em;
	padding: 0 30px;
	text-align: left;
}
#storynav{
	background: rgba(255,255,255,0.85); 
	position: fixed; 
	bottom: 0; 
	width: 100%; 
	padding: 2em 0;
	transition: bottom 1s ease; 
	display: block;
	z-index: 7000;
}
#storynav #previous,#storynav #next{
	max-width:	450px;
	padding: 0 1em;
	display: inline-block;
}
#storynav #previous{
	float: left;
	text-align: left;
	margin: 0 0 0 30px;
}
#storynav #previous:before {
    content: "";
    display: block;
    background: url("../images/Left.svg") no-repeat;
    width: 20px;
    height: 20px;
    float: left;
    margin: 1em 0 0 -20px;
}
#storynav #next{
	float: right;
	text-align: right;
	margin: 0 30px 0 0;
}
#storynav #next:before {
    content: "";
    display: block;
    background: url("../images/Right.svg") no-repeat;
    width: 20px;
    height: 20px;
    float: right;
    margin: 1em -30px 0 0;
}
#storynav a{
	display: inline-block;
	text-decoration: none; 
	transform: perspective(1px) translateZ(0);
}
#storynav a h5:hover{
	color: #d22c00;
}
#storynav a:hover, #storynav a:focus, #storynav a:active {
  -webkit-animation-name: hvr-wobble-horizontal;
  animation-name: hvr-wobble-horizontal;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}
#storynav p{
	font-size: .825em;
	line-height: 1.25em;
	padding: 0; 
	margin: 0;
}

ul{
	font:400 1em/1.75em "Raleway", sans-serif; 
	color:#333;
	margin: 0;
	padding: 0;
}
ul li{
	list-style:none;
	margin: 0;
	padding: 0 30px .5em 30px;
}

@media only screen and (max-width: 1280px) {
	#storynav #previous,#storynav #next{
		max-width: 30%;
	}
}


@keyframes hvr-wobble-horizontal {
  16.65% {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
  }
  33.3% {
    -webkit-transform: translateX(-6px);
    transform: translateX(-6px);
  }
  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }
  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }
  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}


#clients{
	background: url('../images/clients-cover.jpg') no-repeat fixed;
	background-size: 100%;
	
}
#clients h1,h2{
	color: #d22c00;
}
#clients .story{
	text-align: center;
	vertical-align: top;
}
#clients .story div{
	width:30%;
	min-width: 300px;
	margin: 0 0 2em;
	display: inline-block;
    vertical-align: top;
	text-align: left;
}
@media only screen and (max-width: 1280px) {
	#clients{
	background: url('../images/clients-cover.jpg') no-repeat top center fixed;
	background-size: auto 500px;
	}
}

/*index*/

.clouds{
	width: 100%;
	height: 100vh;
	background: url("../images/bg-clouds.jpg") top no-repeat fixed;
	background-size: cover;
	z-index: 1;
}
.iam{
	width: 100%;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
}
.iam ul{
	margin: -9.5em 0 0 65%;
	float: left;
	width: 200px;
}
.iam ul li{
	list-style: none; 
	font:600 2.5em/1.15em "Raleway", sans-serif;
	color:#bfdaf5;
	padding: 0;
	width: 400px;
	float: left;
}
.myname{
	color: #5a728f !important;
	float: right !important;
	text-align: right;
	margin: 0 213px 0 0;
	width:900px !important;
	font-weight: 400 !important;
}
.this{
	color: #d22c00 !important;
	margin: -1.15em 0 0;
}
.shred{
	width: 100%;
	height: 100vh;
	background: url("../images/sugarbush-hero.png") right bottom no-repeat ;
	background-size: cover;
	position: absolute;
	top: 0;
	left: 0;
}
@media only screen and (max-width: 1280px) {
	.iam ul{
	margin: -7.5em 0 0 65%;
	float: left;
	width: 200px;
}
	.iam ul li{
	list-style: none; 
	font:600 2em/1.15em "Raleway", sans-serif;
	color:#bfdaf5;
	padding: 0;
	width: 300px;
	float: left;
}
	.this{
	color: #d22c00 !important;
	margin: -1.15em 0 0;
}
	.myname{
	color: #5a728f !important;
	float: right !important;
	text-align: right;
	margin: 0 210px 0 0;
	width:800px !important;
	font-weight: 400 !important;
	padding: 0 0 1px 0 !important;
}
}
@media only screen and (max-width: 1000px) {
	.iam ul{
	margin: -8em 0 0 50%;
	float: left;
	width: 200px;
	}
	.iam ul li{
	list-style: none; 
	font:600 2em/1.15em "Raleway", sans-serif;
	color:#bfdaf5;
	padding: 0;
	width: 250px;
	float: left;
	}
	.this{
	color: #d22c00 !important;
	margin: -1.15em 0 0;
	}
	.myname{
	color: #5a728f !important;
	float: right !important;
	text-align: right;
	margin: -1.15em 210px 0 0;
	width:400px !important;
	font-weight: 400 !important;
	padding: 0 0 1px 0 !important;
	}
	.about{
		text-align: center;
		overflow: visible;
		z-index: 999;
	}
	.about p{
		max-width:80%!important;
		text-align: center!important;
		margin-top: -5%;
	}
	button{
		float: none!important;
		margin: 2em auto!important;
	}
}
@media only screen and (max-width: 650px) {
	.shred{
	width: 100%;
	background: url("../images/sugarbush-mobile.png") right bottom no-repeat;
	background-size: contain;
	}
	.clouds{
	width: 100%;
	background: url("../images/bg-clouds-mobile.jpg") top no-repeat fixed;
	background-size: cover;
	z-index: 1;
	}
	.iam ul{
	margin: -2em 0 0 50%;
	float: left;
	width: 200px;
	}
	.iam ul li{
	list-style: none; 
	font:600 1.5em/1.15em "Raleway", sans-serif;
	color:#bfdaf5;
	padding: 0;
	width: 150px;
	float: left;
	}
	.this{
	color: #d22c00 !important;
	margin: -1.15em 0 0;
	}
	.myname{
	color: #5a728f !important;
	float: right !important;
	text-align: right;
	margin: -3.45em 210px 0 0;
	width:180px !important;
	font-weight: 400 !important;
	padding: 0 0 1px 0 !important;
	}
	button{
		float: none!important;
		margin: 2em auto!important;
	}
	.about{
		text-align: center;
		overflow: visible;
		z-index: 999;
	}
	.about p{
		max-width:80%!important;
		text-align: center!important;
		margin-top: -5%;
	}

	#menu li{
	list-style:none;
	height:2em !important;
	width: auto;
	min-width: 180px;
	margin:0 0 0 20px;
	padding: .75em 1em;
	border-bottom: 1px solid #999;
	}
}
	
.about{
	background: #ebf4f8;
	width: 100%;
	padding: 0 0 4em 0;
	min-height: 200px;
	float: left;
	overflow: visible;
	z-index: 999;
}
.about p{
	color: #5a728f;
	font-size: 1.5em;
	text-align: left;
	max-width:50%;
	padding: 0;
	margin: -5% 0 10px 10%;
	float: left;
	position: relative;
}
button{
	font:700 1em/1.15em "Raleway", sans-serif;
	color: #d22c00;
	background: none;
	padding: 1em 1.5em;
	margin: 2.5% 10% 0 0;
	border-radius: 8px;
	border: 1px solid #d22c00;
	text-transform: capitalize;
	float: right;
	transition: 0.2s;
}
button:hover{
	color:#fff;
	background: #d22c00;
	cursor: pointer;
}
#casestudies{
	width: 100%;
	padding: 3em 0 6em;
	float: left;
	text-align: center;
	
}
.storycard{
	background: #fff;
	margin: 1em;
	box-shadow: 1px 3px 5px rgba(0,0,0,0.2);
	border-radius: 20px;
	min-width: 250px;
	max-width: 350px;
	text-align: left;
	display: inline-block;
	vertical-align: top;
	transition-duration: 0.2s;
 	transition-property: transform;
	overflow: hidden;
}
.storycard:hover{
	transform: scale(1.05);
}
.storycard img{
	width: 100%;
}
.role{
	font:700 .75em/1.25em "Raleway", sans-serif; 
	padding:20px; 
	margin: 0;  
	color:#666; 
	text-transform: uppercase; 
	width:210px;
	display: inline-block;
}
.storyclient{
	font:400 1.25em/1.25em "Raleway", sans-serif; 
	padding:0 20px; 
	margin: 0;  
	color:#d22c00; 
	width:210px;
	display: inline-block;
}
.storytitle{
	font:400 1.25em/1.25em "Raleway", sans-serif; 
	padding:0 20px 40px; 
	margin: 0;  
	color:#142530; 
	width:210px;
	display: inline-block;
}
.abstract{
	background: #d7eaf8;
	padding: 40px 20px 20px;
	margin: 4em auto;
	max-width: 540px;
	border-radius: 40px;
}