/*** PAGE HEADER HOVER  ***/
.header .nav-items ul li > a, .header .nav-breadcrumb ul li > a {
  position: relative;
  text-decoration: none;
}

.header .nav-items ul li > a:before, .header .nav-breadcrumb ul li > a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -33px;
  left: 0;
  background-color: #fff;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.header .nav-items ul li > a:hover:before, .header .nav-breadcrumb ul li > a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

.header.stick .nav-items ul li > a:before, .header.stick .nav-breadcrumb ul li > a:before {
  bottom: -21px;
}


/*** PAGE HEADER BUILD UP ***/

.header .logo svg, .header .nav-items ul li, .header .nav-breadcrumb ul li, .header .nav-breadcrumb {
	opacity:0;
	transform: translate(0,200px);
	-webkit-transform: translate(0,200px);
	-moz-transform: translate(0,200px);

    -webkit-animation: slideup .7s cubic-bezier(0.23, 1, 0.38, 0.98);
    -moz-animation: slideup .7s cubic-bezier(0.23, 1, 0.38, 0.98);
    animation: slideup .7s cubic-bezier(0.23, 1, 0.38, 0.98);
    -webkit-animation-fill-mode:forwards;	
	-moz-animation-fill-mode:forwards;
}

@-webkit-keyframes slideup {
    0% {
        transform: translate(0,200px);
        -webkit-transform: translate(0,200px);
        -moz-transform: translate(0,200px);
        opacity: 0;

    }
    100% {
        transform: translate(0,0);
        -webkit-transform: translate(0,0);
        -moz-transform: translate(0,0);
        opacity:1;
        
    }
}
@-moz-keyframes slideup {
    0% {
        transform: translate(0,200px);
        -webkit-transform: translate(0,200px);
        -moz-transform: translate(0,200px);
        opacity: 0;

    }
    100% {
        transform: translate(0,0);
        -webkit-transform: translate(0,0);
        -moz-transform: translate(0,0);
        opacity:1;
        
    }
}
@keyframes slideup {
    0% {
        transform: translate(0,200px);
        -webkit-transform: translate(0,200px);
        -moz-transform: translate(0,200px);
        opacity: 0;

    }
    100% {
        transform: translate(0,0);
        -webkit-transform: translate(0,0);
        -moz-transform: translate(0,0);
        opacity:1;
        
    }
}

.header .logo svg {
    -webkit-animation-delay: 1.3s;
    -moz-animation-delay: 1.3s;
    animation-delay: 1.3s;
}
.header .nav-breadcrumb {
    -webkit-animation-delay: 0.8s;
    -moz-animation-delay: 0.8s;
    animation-delay: 0.8s;
}
.header .nav-breadcrumb ul li:nth-child(1){
    -webkit-animation-delay: 0.9s;
    -moz-animation-delay: 0.9s;
    animation-delay: 0.9s;
}
.header .nav-breadcrumb ul li:nth-child(2){
    -webkit-animation-delay: 1.2s;
    -moz-animation-delay: 1.2s;
    animation-delay: 1.2s;
}
.header .nav-breadcrumb ul li:nth-child(3){
    -webkit-animation-delay: 1.5s;
    -moz-animation-delay: 1.5s;
    animation-delay: 1.5s;
}
.header .nav-items ul li:nth-child(1){
    -webkit-animation-delay: 1.2s;
    -moz-animation-delay: 1.2s;
    animation-delay: 1.2s;
}
.header .nav-items ul li:nth-child(2){
      -webkit-animation-delay: 1.5s;
    -moz-animation-delay: 1.5s;
    animation-delay: 1.5s;}
.header .nav-items ul li:nth-child(3){
    -webkit-animation-delay: 1.8s;
    -moz-animation-delay: 1.8s;
    animation-delay: 1.8s;
}

/*** JUMPNAV HOVER ***/

.jumpnav ul li > a {
  position: relative;
  text-decoration: none;
}

.jumpnav ul li > a:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -21px;
  left: 0;
  background-color: #fff;
  visibility: hidden;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transition: all 0.3s ease-in-out 0s;
  transition: all 0.3s ease-in-out 0s;
}

.jumpnav ul li > a:hover:before {
  visibility: visible;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}


/*** JUMPNAV SLIDEUP/DOWN ***/

.jumpnav {
    -webkit-animation: slideup 1s cubic-bezier(0.23, 1, 0.38, 0.98);
    -moz-animation: slideup 1s cubic-bezier(0.23, 1, 0.38, 0.98);
    animation: slideup 1s cubic-bezier(0.23, 1, 0.38, 0.98);
    -webkit-animation-fill-mode:forwards;	
	-moz-animation-fill-mode:forwards;
}

.jumpnav.hidden {
    -webkit-animation: slidedown 1s cubic-bezier(0.23, 1, 0.38, 0.98);
    -moz-animation: slidedown 1s cubic-bezier(0.23, 1, 0.38, 0.98);
    animation: slidedown 1s cubic-bezier(0.23, 1, 0.38, 0.98);
    -webkit-animation-fill-mode:forwards;	
	-moz-animation-fill-mode:forwards;
}


@-webkit-keyframes slidedown {
    0% {
        transform: translate(0,0);
        -webkit-transform: translate(0,0);
        -moz-transform: translate(0,0);
        opacity:1;
    }
    100% {
        transform: translate(0,200px);
        -webkit-transform: translate(0,200px);
        -moz-transform: translate(0,200px);
        opacity:0;       
    }
}
@-moz-keyframes slidedown {
    0% {
        transform: translate(0,0);
        -webkit-transform: translate(0,0);
        -moz-transform: translate(0,0);
        opacity:1;
    }
    100% {
        transform: translate(0,200px);
        -webkit-transform: translate(0,200px);
        -moz-transform: translate(0,200px);
        opacity:0;       
    }
}
@keyframes slidedown {
    0% {
        transform: translate(0,0);
        -webkit-transform: translate(0,0);
        -moz-transform: translate(0,0);
        opacity:1;
    }
    100% {
        transform: translate(0,200px);
        -webkit-transform: translate(0,200px);
        -moz-transform: translate(0,200px);
        opacity:0;       
    }
}


/*** PROJECT HEADER  ***/

.project-header-hero {
	 animation: hero 20s ease-in-out;
    -webkit-animation: hero 20s ease-in-out;
    -moz-animation: hero 20s ease-in-out;
    -webkit-animation-fill-mode:forwards;	
	-moz-animation-fill-mode:forwards;
	animation-fill-mode:forwards;
	
	-webkit-transition: all 1s ease-in-out; /*reverses the blur*/
    -moz-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;

}

@-webkit-keyframes hero {
    0% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
    100% {
        transform: scale(1.2);
        -webkit-transform: scale(1.2);
    }
}
@-moz-keyframes hero {
    0% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
    100% {
        transform: scale(1.2);
        -webkit-transform: scale(1.2);
    }
}
@keyframes hero {
    0% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
    100% {
        transform: scale(1.2);
        -webkit-transform: scale(1.2);
    }
}

.project-header-hero.blurred {
	-webkit-transition: all 1s ease-in-out; /*blurs on scroll*/
    -moz-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
	-webkit-filter: blur(50px); 
    filter: blur(50px);
}

/*** SCROLL ARROW BOUNCE ***/

.scroll {
	-webkit-animation: bounce 10s infinite ease-in-out;
    -moz-animation: bounce 10s infinite ease-in-out;
    animation: bounce 10s infinite ease-in-out;
    }

@-webkit-keyframes bounce {
  0%, 50%, 100% {
    transform: translate(0,0);
    -webkit-transform: translate(0,0);
    -moz-transform: translate(0,0);
  }
  51% {
    transform: translate(0,5px);
    -webkit-transform: translate(0,5px);
    -moz-transform: translate(0,5px);
  }
  
  52%, 54% {
    transform: translate(0,-10px);
    -webkit-transform: translate(0,-10px);
    -moz-transform: translate(0,-10px);
  }
  53% {
    transform: translate(0,-20px);
    -webkit-transform: translate(0,-20px);
    -moz-transform: translate(0,-20px);
  }
  55% {
    transform: translate(0,0);
    -webkit-transform: translate(0,0);
    -moz-transform: translate(0,0);
  }
}
.scroll {
    -webkit-animation-delay: 7s;
    -moz-animation-delay: 7s;
    animation-delay: 7s;
}
.scroll:hover {
	 -webkit-animation-play-state: paused;
    -moz-animation-play-state: paused;
    -o-animation-play-state: paused;
    animation-play-state: paused;
}


/***  PROJECT TEXT ANIMATIONS  ***/

.project-header-copy h1, .project-header-copy h2, .project-header-copy p,  .project-header-copy .tags, .project-header-copy .date, .project-header-copy .dottie, .project-header-copy .divider-light, .project-header-copy .divider-dark, .project img {
	opacity:0;
	transform: translate(-100px,0);
	-webkit-transform: translate(-100px,0);
	-moz-transform: translate(-100px,0);
	
    -webkit-animation: slideup 1s cubic-bezier(0.23, 1, 0.38, 0.98);
    -moz-animation: slideup 1s cubic-bezier(0.23, 1, 0.38, 0.98);
    animation: slideup 1s cubic-bezier(0.23, 1, 0.38, 0.98);
    -webkit-animation-fill-mode:forwards;	
	-moz-animation-fill-mode:forwards;

}

.project-header-copy .date {
    -webkit-animation-delay: 0.7s;
    -moz-animation-delay: 0.7s;
    animation-delay: 0.7s;
}
.project-header-copy h1 {
    -webkit-animation-delay: 0.8s;
    -moz-animation-delay: 0.8s;
    animation-delay: 0.8s;
}
.project-header-copy .divider-light, .project-header-copy .divider-dark {
    -webkit-animation-delay: 0.9s;
    -moz-animation-delay: 0.9s;
    animation-delay: 0.9s;
}

.project-header-copy h2, .project-header-copy .tags {
    -webkit-animation-delay: 1.1s;
    -moz-animation-delay: 1.1s;
    animation-delay: 1.1s;
}
.project-header-copy p {
	-webkit-animation-delay: 1.4s;
    -moz-animation-delay: 1.4s;
    animation-delay: 1.4s;
}


.button-scroll {
	opacity:0;
	transform: translate(0,200px);
	-webkit-transform: translate(0,200px);
	-moz-transform: translate(0,200px);
	
    -webkit-animation: slideup 1s ease-in-out;
    -moz-animation: slideup 1s ease-in-out;
    animation: slideup 1s ease-in-out;
    -webkit-animation-fill-mode:forwards;	
	-moz-animation-fill-mode:forwards; 
}

.button-scroll {
	-webkit-animation-delay: 2s;
    -moz-animation-delay: 2s;
    animation-delay: 2s;
}

/*** PROJECT THUMBS  ***/

.project-thumbs, 
.thumbs-overlay {
	text-align:center;
	height: 400px;
	overflow: hidden;
	background:#f4f4f4;
	}


.thumbs-meta {
	margin: -260px 0 0 0;
	z-index:100;
	position:relative;
	transition-property: opacity;
    transition-duration: 1s, 1s;
    transition-delay: 0s, 1s;
    opacity:1;
    color:#30373b;
}

.thumbs-meta p, .thumbs-meta h2, .thumbs-meta h2 a {
	color:#f4f4f4;
	text-decoration:none;
	border-bottom:none;
	text-align:center;
	padding:0;
	opacity:1;
}

.thumbs-meta h2 a:hover {
	opacity: .7;
}

.thumbs-meta p {
	line-height:.3px;
	margin:30px 0;
}

.thumbs-overlay {
	background:#3bcd2f;
	opacity:.7;
	-webkit-transition: all .5s ease-in-out;
	position:relative;
	z-index:1;
	
}

.thumbs-bg {
	width:100%;
	margin-top:-400px;
	height: 400px;
    position:relative;
    z-index:0;  
    -moz-transition: all 8s ease-in-out;
    -webkit-transition: all 8s ease-in-out;
    transition: all 8s ease-in-out;
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    transform: scale(1);  
}

.project-thumbs:hover .thumbs-bg {
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    opacity:.2;
  /*  -webkit-filter: blur(50px); 
    filter: blur(50px); */
}


.project-thumbs:hover .thumbs-overlay {
	display:block;
	-webkit-transition: all 0.7s ease-in-out;
	opacity:.8;
}

/*** CAROUSEL  ***/

.carousel {
    overflow:hidden;
    width:100%;
}
.panes {
    list-style:none;
    position:relative;
    width:500%; /* Number of panes * 100% */
    overflow:hidden; /* This is used solely to clear floats, it does not add functionality. */
        
    -moz-animation:carousel 30s cubic-bezier(0.23, 1, 0.38, 0.98) infinite;
    -webkit-animation:carousel 30s cubic-bezier(0.23, 1, 0.38, 0.98) infinite;
    animation:carousel 30s cubic-bezier(0.23, 1, 0.38, 0.98) infinite;
}
.panes > li {
    position:relative;
    float:left;
    width:20%; /* 100 / number of panes */
}
.carousel .project-image {
    display:block;
    width:100%;
    max-width:100%;
}

@-webkit-keyframes carousel{
    0%    { left:0; }
    11%   { left:0; }
    12.5% { left:-100%; }
    23.5% { left:-100%; }
    25%   { left:-200%; }
    36%   { left:-200%; }
    37.5% { left:-300%; }
    48.5% { left:-300%; }
    50%   { left:-400%; }
    61%   { left:-400%; }
    62.5% { left:-300%; }
    73.5% { left:-300%; }
    75%   { left:-200%; }
    86%   { left:-200%; }
    87.5% { left:-100%; }
    98.5% { left:-100%; }
    100%  { left:0; }
}

@-moz-keyframes carousel{
    0%    { left:0; }
    11%   { left:0; }
    12.5% { left:-100%; }
    23.5% { left:-100%; }
    25%   { left:-200%; }
    36%   { left:-200%; }
    37.5% { left:-300%; }
    48.5% { left:-300%; }
    50%   { left:-400%; }
    61%   { left:-400%; }
    62.5% { left:-300%; }
    73.5% { left:-300%; }
    75%   { left:-200%; }
    86%   { left:-200%; }
    87.5% { left:-100%; }
    98.5% { left:-100%; }
    100%  { left:0; }
}

@keyframes carousel{
    0%    { left:0; }
    11%   { left:0; }
    12.5% { left:-100%; }
    23.5% { left:-100%; }
    25%   { left:-200%; }
    36%   { left:-200%; }
    37.5% { left:-300%; }
    48.5% { left:-300%; }
    50%   { left:-400%; }
    61%   { left:-400%; }
    62.5% { left:-300%; }
    73.5% { left:-300%; }
    75%   { left:-200%; }
    86%   { left:-200%; }
    87.5% { left:-100%; }
    98.5% { left:-100%; }
    100%  { left:0; }
}