@import url(https://fonts.googleapis.com/css?family=Josefin+Sans:400,600,300);

html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
  font-size: 100%;
  font-family: 'Josefin Sans', sans-serif;
/*  font-family: "Ubuntu", sans-serif;*/
  background-color: #2e2d32;
}

body, html {
  /* important */
	height: 100%;
	font-size: 16px;
	line-height: 1.5em;
}

a:link, a:visited {
	color: #fff;
	text-decoration: none;
}
a:hover {
	color: #a9c056; /* legacy yellow: FBAF0C */
}
::-moz-selection {
	 color:#fff;
    background: #a9c056;
    text-shadow: none;
}
::selection {
	 color:#fff;
    background: #a9c056;
    text-shadow: none;
}
img, svg {max-width: 100%;}
strong {font-weight:600;}

.nobr {
	white-space:nowrap;
}

/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */
.cd-container {
  /* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
  width: 90%;
  max-width: 768px;
  margin: 0 auto;
}
.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}

/* -------------------------------- 

Main components 

-------------------------------- */
#cd-main-content {
  position: relative;
  height: 100%;
  overflow: hidden;
  background-color: #3a393f;
  /* slightly visible only when we resize this element */
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
  z-index: 1;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  transition-duration: 0.5s;
}
#cd-main-content.move-out {
  -webkit-transform: scale(0.6);
  -moz-transform: scale(0.6);
  -ms-transform: scale(0.6);
  -o-transform: scale(0.6);
  transform: scale(0.6);
}
.no-js #cd-main-content {
  height: auto;
  overflow-x: auto;
  overflow-y: auto;
}

#cd-intro {
  position: relative;
  height: 100%;
  background-size: cover;
  background-repeat:no-repeat;
}
#cd-intro h1 {
  position: absolute;
  display:block;
  width: auto;
 		height:auto;
  max-width:90%;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  text-align: center;
  font-size: 1.25em;
  line-height: 1.5em;
  font-weight: 600;
  font-family: 'Josefin Sans', sans-serif;
  color: white;
}
#cd-intro h1.shadow-screen {
	padding:.15em .25em;
	background: rgba(0,0,0, 0.5);
}
		#cd-intro h1 .text-container {
 		height:92%;
		margin-bottom:5%;	
  		overflow:auto;
		}
		#cd-intro h1 p {  		
  		text-align: left;
  		font-size: .875em;
  		line-height: 1.125em;
  		font-weight: 400;
		padding:.5em;
  		color: white;
		}
		
		
	#cd-intro h1 p a, #cd-intro h1 p a:visited {
		display:inline-block;
		position:relative;
		text-decoration:none;
		line-height:inherit;
		padding:0 3px;
		z-index:4;
    	color: #fff;
		border-bottom:#fff 1px solid;
	}
	
	#cd-intro h1 p a:hover	 {
		color: #91a740;
		background-color:#fff;
	}

	
/* --------------------------------------------------------------- */
@media only screen and (min-width: 768px) {
	#cd-intro h1 p a, #cd-intro h1 p a:visited {
		-webkit-transition: all 0.3s;
		-moz-transition: all 0.3s;
		transition: all 0.3s;
		display:inline-block;
		position:relative;
		text-decoration:none;
		line-height:inherit;
		padding:0 3px;
		z-index:4;
    	color: #fff;
		border-bottom:#fff 1px solid;
	}
	
	#cd-intro h1 p a:after  {
		content: '';
		position: absolute;
		z-index: -1;
		-webkit-transition: all 0.3s;
		-moz-transition: all 0.3s;
		transition: all 0.3s;
	
		width: 100%;
		height: 0;
		bottom: 0;
		left: 0;
		background-color: #fff; /* f0f0f0 */
	}
	#cd-intro h1 p a:hover	 {
		color: #91a740;
		font-weight:400;
		-webkit-transition: all 0.3s;
		-moz-transition: all 0.3s;
		transition: all 0.3s;
	}
	#cd-intro h1 p a:hover:after	 {
		height: 100%;
	}
}
/* --------------------------------------------------------------- */
	

		
/* -------- HOME page -------- */		
		#cd-intro.home h1 {
			max-width:98%;
			top:2%;
			left:8%;
			right:8%;
			bottom: auto;
			text-align:center;
			padding:1em;
			-webkit-transform: none;
			-moz-transform:  none;
			-ms-transform: none;
			-o-transform: none;
			transform: none;
		}
		
@media only screen and (min-width: 768px) {
/*		#cd-intro.home h1 {
			top:16%;
			left:12%;
			right:12%;
		}*/
		#cd-intro.home h1 {
			top:28%;
			left:24%;
			right:24%;
		}
}
		
@media only screen and (min-width: 1260px) {
		#cd-intro.home h1 {
			top:18%;
			left:28%;
			right:28%;
		}
}
		
/* -------- PORTFOLIO page -------- */		
		#cd-intro.portfolio h1 {
  		top:2%;
  		left:0;
  		right: 0;
  		bottom: auto;
  		text-align:center;
  		padding:1em 1.5em;
  		-webkit-transform: none;
  		-moz-transform:  none;
  		-ms-transform: none;
  		-o-transform: none;
  		transform: none;
		background: #444;
		background: rgba(34,34,34, 0.7);
		}
		
		
		
/* -------- ABOUT page -------- */		
		#cd-intro.about h1 {
  		width:100%;
  		max-width:100%;
  		height:96%;
  		left:0;
  		bottom:20%;
  		top:0;
  		right:0;
  		text-align:right;
  		padding:.75em 1em 0 .5em;
  		-webkit-transform: none;
  		-moz-transform:  none;
  		-ms-transform: none;
  		-o-transform: none;
  		transform: none;
		background: #444;
		background: rgba(34,34,34, 0.9);
		}
		#cd-intro.about h1 .about-title {
		padding:8px 3px;		
		background: #444;
		background: rgba(34,34,34, 0.4);
		}
		#cd-intro.about h1 .text-container {
 		/*height:50%;*/
		}
		#cd-intro.about img.about-anya-zolotusky {
 		width:auto;
 		max-width:100%;
 		margin:0 0 .25em 0;
		}
		
		.about-text-shorter {
		display:block;
		}
		.about-text {
		display:none;
		}

		#cd-intro.about h1 .text-container {
 		height:auto;
		}
		#cd-intro.about h1 p {
  		font-size: 1em;
  		line-height:1.25em;
		}

/* --------------------------------------------------------------- */
@media only screen and (min-width: 768px) {

		#cd-intro.about img.about-anya-zolotusky {
 		display:none;
		}
  		#cd-intro.about h1 {  
  		width:48%;
  		left:auto;
  		/*bottom:10%;*/
  		top:4%;
  		right:2%;
		background: rgba(0,0,0, 0.6);
		}
		#cd-intro.about h1 .text-container {
 		height:auto;
		}
		#cd-intro h1 p {
  		font-size: 1em;
  		line-height: 1.5em;
		}
		#cd-intro.about h1 p {
  		font-size: 1em;
  		line-height: 1.5em;
		}
		
		
		#cd-intro.portfolio h1 {
  		top:5%;
  		left:20%;
  		right: 20%;
		}
}
/* --------------------------------------------------------------- */
@media only screen and (min-width: 1024px) {
  		#cd-intro.about h1 {  
  		width:46%;
 		height:auto;
  		bottom:10%;
  		top:10%;
  		right:2%;
		}
		#cd-intro.about h1 .text-container {
 		height:100%;
		}		
		#cd-intro.about h1 p {
  		font-size: 1.15em;
  		line-height: 1.5em;
		}
		#cd-intro.portfolio h1 {
  		top:10%;
		}
		.about-text {
		display:block;
		}
		.about-text-shorter {
		display:none;
		}
}
/* --------------------------------------------------------------- */

.no-js #cd-intro {
  height: 640px;
}


	h1.ghost-text-main  {	 
    font-weight: normal;
    font-weight: 400;
	}
	
  .ghost-button {
  display: inline-block;
  width: auto;
  padding: 10px;
  margin:6px 8px 4px 0;
  color: #fff;
  border: 1px solid;
  border-color: rgba(255, 255, 255, 0.5);
  text-align: center;
  outline: none;
  text-decoration: none;
  text-shadow: none;
  background-color: #bbb; /* fallback */
  background-color: rgba(0,0,0, 0.2);
  transition: background-color 0.2s ease-out,
              border-color 0.2s ease-out;
  	
  	text-decoration:none;
    font-size: .8125em;
    font-weight: normal;
    line-height: 1em;
	}	
	.ghost-button:hover,
	.ghost-button:active {
  	color: #91a740;
  	background-color: #fff; /* fallback */
  /*	background-color: rgba(255, 255, 255, 0.8);*/
  	border-color: #fff; /* fallback */
  	transition: background-color 0.3s ease-in,
              	border-color 0.3s ease-in;
	}
	.arrow:after {
    	content: "\25B6";
    	padding-left:.375em;
	}
	.arrow-down:after {
    	content: "\25BC";
    	padding-left:.375em;
	}
	
.cd-header {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  z-index: 2;
  background: rgba(58, 57, 63, 0.6);
  -webkit-transition: background 0.2s;
  -moz-transition: background 0.2s;
  transition: background 0.2s;
}
@media only screen and (min-width: 768px) {
  .cd-header {
    height: 80px;
  }
}

.cd-blurred-bg {
  /* we use jQuery to apply a mask to this element - CSS clip property */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  -webkit-filter: blur(4px);
  filter: blur(4px);
}
.no-js .cd-blurred-bg {
  display: none;
}

#cd-logo {

  display: block;
/*  height: 32px;*/
}
#cd-logo img {
  position: absolute;
  left: 10px;
  bottom: 8px;
  width: 100%;
  max-width: 80px;
  z-index:30;
}
@media only screen and (min-width: 768px) {
  		#cd-logo {
  		}
		#cd-logo img {
    		left: 20px;
  			max-width: 110px;
		}
}
@media only screen and (min-width: 1170px) {

		#cd-logo img {
    		left: 60px;
  			max-width: 140px;
		}
}

.cd-menu-trigger {
  display: inline-block;
  position: absolute;
  right: 0;
  top: 0;
  height: 50px;
  line-height: 50px;
  padding: 0 .8em;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  font-size: 0.875rem;
}
.cd-menu-trigger span {
  /* hamburger icon */
  position: relative;
  display: inline-block;
  width: 18px;
  height: 2px;
  background-color: white;
  vertical-align: middle;
  margin-left: 10px;
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
  transform: translateY(-2px);
}
.cd-menu-trigger span::before, .cd-menu-trigger span::after {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: inherit;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}
.cd-menu-trigger span::before {
  top: -6px;
}
.cd-menu-trigger span::after {
  bottom: -6px;
}
.no-touch .cd-menu-trigger:hover span::before {
  top: -8px;
}
.no-touch .cd-menu-trigger:hover span::after {
  bottom: -8px;
}

a.cd-menu-trigger {
  color: #ddd;
  text-decoration: none;
}
a.cd-menu-trigger:hover {
  color: #fff;
}

@media only screen and (min-width: 768px) {
  .cd-menu-trigger {
    top: 16px;
    right: 10px;
    font-size: 16px;
    font-size: 1rem;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-menu-trigger {
    right: 60px;
  }
}



#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 /* background: #eeecf5;*/
  background:#dbfafa;
/*
  		background-image: url("img/boulder-river-trail1.jpg");
		background-position: center center;
*/		
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  /* we move this element off the canvas */
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  transition-duration: 0.5s;
  z-index: 3;
}
#main-nav ul {
  height: 100%;
}
#main-nav li {
  height: 20%;
}
#main-nav li a {
  position: relative;
  display: block;
  padding: 0 10%;
  height: 100%;
  border-bottom: 1px solid #dfdbec;
  color: #3a393f;
  font-size: 20px;
  font-size: 1.25rem;
  font-weight: bold;
}
#main-nav li a span {
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}
.no-touch #main-nav li a:hover {
	color:#a9c056;
	background-color: #fff;
}
#main-nav li:last-child a {
  border-bottom: none;
}
#main-nav .cd-close-menu {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: #a9c056;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
}
#main-nav .cd-close-menu::before, #main-nav .cd-close-menu::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 18px;
  left: 10px;
  width: 20px;
  height: 3px;
  background-color: #FFF;
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
#main-nav .cd-close-menu::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
#main-nav .cd-close-menu::after {
  -webkit-transform: rotate(135deg);
  -moz-transform: rotate(135deg);
  -ms-transform: rotate(135deg);
  -o-transform: rotate(135deg);
  transform: rotate(135deg);
}
.no-touch #main-nav .cd-close-menu:hover::before {
  -webkit-transform: rotate(225deg);
  -moz-transform: rotate(225deg);
  -ms-transform: rotate(225deg);
  -o-transform: rotate(225deg);
  transform: rotate(225deg);
}
.no-touch #main-nav .cd-close-menu:hover::after {
  -webkit-transform: rotate(315deg);
  -moz-transform: rotate(315deg);
  -ms-transform: rotate(315deg);
  -o-transform: rotate(315deg);
  transform: rotate(315deg);
}
#main-nav.is-visible {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}
.no-js #main-nav {
  position: static;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}
.no-js #main-nav .cd-close-menu {
  display: none;
}

.cd-shadow-layer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: visibility 0s 0.5s, opacity 0.5s 0s;
  -moz-transition: visibility 0s 0.5s, opacity 0.5s 0s;
  transition: visibility 0s 0.5s, opacity 0.5s 0s;
}
.cd-shadow-layer.is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transition-delay: 0s;
  -moz-transition-delay: 0s;
  transition-delay: 0s;
}


.spacer {  
	clear: both;
	float: none;
	height: 1px;
	margin:0;
	padding:0;
	overflow:hidden;
}
.icon {
	vertical-align:middle;
	margin-top:-6px;
	padding: 0 5px 0 0;
}
.icon a:link, .icon a:hover, .icon a:active, .icon a:visited {
	display:block; border:none; border-bottom:none; text-decoration:none;
}