.grid {
	max-width: 69em;
	list-style: none;
/*        background-color: red;*/
	margin: 240px auto;
	padding: 0px;
}

/*
.grid ul {
	display: block;
    background-color: red;

}
*/

.grid li {
    background-color:white; 
	display: block;
	float: left;
	padding: 7px;
/*          height: 100%;*/
	width: 25%;
	opacity: 0;
}

.grid li.w2 {
    background-color:white; 
	display: block;
	float: left;
	width: 50%;
	opacity: 0;
    padding: 7px;

}
.grid li.h2 {
    background-color:white; 
	display: block;
	float: left;
    padding: 7px;
    max-height: 22em;
	opacity: 0;
}
.grid li.shown,
.no-js .grid li,
.no-cssanimations .grid li {
	opacity: 1;
}

.grid li a,
.grid li img {
	outline: none;
	border: none;
	display: block;
	max-width: 100%;
}

/* Effect 1: opacity */
.grid.effect-1 li.animate {
	-webkit-animation: fadeIn 0.65s ease forwards;
	animation: fadeIn 0.65s ease forwards;
}

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

@keyframes fadeIn {
	0% { }
	100% { opacity: 1; }
}

/* Effect 2: Move Up */
.grid.effect-2 li.animate {
	-webkit-transform: translateY(200px);
	transform: translateY(200px);
	-webkit-animation: moveUp 0.65s ease forwards;
	animation: moveUp 0.65s ease forwards;
}

@-webkit-keyframes moveUp {
	0% { }
	100% { -webkit-transform: translateY(0); opacity: 1; }
}

@keyframes moveUp {
	0% { }
	100% { -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; }
}

/* Effect 3: Scale up */
.grid.effect-3 li.animate {
	-webkit-transform: scale(0.6);
	transform: scale(0.6);
	-webkit-animation: scaleUp 0.65s ease-in-out forwards;
	animation: scaleUp 0.65s ease-in-out forwards;
}

@-webkit-keyframes scaleUp {
	0% { }
	100% { -webkit-transform: scale(1); opacity: 1; }
}

@keyframes scaleUp {
	0% { }
	100% { -webkit-transform: scale(1); transform: scale(1); opacity: 1; }
}

/* Effect 4: fall perspective */
.grid.effect-4 {
	-webkit-perspective: 1300px;
	perspective: 1300px;
}

.grid.effect-4 li.animate {
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-transform: translateZ(400px) translateY(300px) rotateX(-90deg);
	transform: translateZ(400px) translateY(300px) rotateX(-90deg);
	-webkit-animation: fallPerspective .8s ease-in-out forwards;
	animation: fallPerspective .8s ease-in-out forwards;
}

@-webkit-keyframes fallPerspective {
	0% { }
	100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; }
}

@keyframes fallPerspective {
	0% { }
	100% { -webkit-transform: translateZ(0px) translateY(0px) rotateX(0deg); transform: translateZ(0px) translateY(0px) rotateX(0deg); opacity: 1; }
}


@media screen and (max-width: 900px) {
         .grid {
             margin-left: 20px;
             margin-right: 20px;
             
         }
	.grid li {
		width: 50%;
	}
}

@media screen and (max-width: 400px) {
	.grid li {
		width: 100%;
	}
    .grid li.w2 {
		width: 100%;
	}
}


.menucc {
    height: auto;
    width: auto;
    position: relative;
}

.menucc_des {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
/*  background: rgba(0, 128, 128, 0.72);*/
  text-align: left;
  color: white;
  padding-top: 10px;
  padding-left: 15px;
  font-family: "Helvetica Neue" Arial, Helvetica, sans-serif;
/*  text-transform: uppercase;*/
  font-weight: normal;
  font-size: 13px;
    height: auto;
    margin: 7px;
/*  top: 50%;*/
/*  transform: translateY(-50%);*/
    
  visibility: visible;
  opacity: 1;
 -webkit-transition: visibility opacity 0.9s;
/*  cursor: pointer;*/
  
}

.menucc:hover .menucc_des {
  visibility: hidden;
  opacity: 0;  
    
} 

.color1 {
  background: rgba(0, 73, 83, 0.7);
    background: rgba(0, 49, 83, 0.72);
 -webkit-transition: all 0.2s ease-in;
-moz-transition: all 0.2s ease-in;
-ms-transition: all 0.2s ease-in;
-o-transition: all 0.2s ease-in;
transition: all 0.2s ease-in;

} 

.on {
	color: #2F847C;
	font-weight:600;
	

} 

.color2 {
  background: rgba(0, 51, 102, 0.72);
    background: rgba(0, 49, 83, 0.72);
      /*background: rgba(0, 128, 128, 0.72);*/
 -webkit-transition: all 0.2s ease-in;
-moz-transition: all 0.2s ease-in;
-ms-transition: all 0.2s ease-in;
-o-transition: all 0.2s ease-in;
transition: all 0.2s ease-in;

} 

.color3 {
  background: rgba(0, 35, 102, 0.65);
    background: rgba(0, 49, 83, 0.72);
     /* background: rgba(0, 128, 128, 0.72);*/
 -webkit-transition: all 0.2s ease-in;
-moz-transition: all 0.2s ease-in;
-ms-transition: all 0.2s ease-in;
-o-transition: all 0.2s ease-in;
transition: all 0.2s ease-in;

} 

.color4 {
  background: rgba(0, 49, 83, 0.72);
 -webkit-transition: all 0.2s ease-in;
-moz-transition: all 0.2s ease-in;
-ms-transition: all 0.2s ease-in;
-o-transition: all 0.2s ease-in;
transition: all 0.2s ease-in;

} 


.color5 {
      background: rgba(0, 128, 128, 0.72);
	    background: rgba(0, 49, 83, 0.72);
 -webkit-transition: all 0.2s ease-in;
-moz-transition: all 0.2s ease-in;
-ms-transition: all 0.2s ease-in;
-o-transition: all 0.2s ease-in;
transition: all 0.2s ease-in;

} 

.color6 {
      background: rgba(18, 97, 128, 0.75);
	    background: rgba(0, 49, 83, 0.72);
 -webkit-transition: all 0.2s ease-in;
-moz-transition: all 0.2s ease-in;
-ms-transition: all 0.2s ease-in;
-o-transition: all 0.2s ease-in;
transition: all 0.2s ease-in;

} 





/* BORDERS */

.borders {
	position: fixed;
    z-index: 3000;
}

#border-top, #border-bottom {
	width: 100%;
	height: 10px;
}

#border-right, #border-left {
	top: 0; bottom: 0;
	width: 10px;
	height: 100%;
}

#border-top {top: 0;}
#border-right {right: 0;}
#border-bottom {bottom: 0;}
#border-left {left: 0;}


/* header */

#logo {
	position: fixed;
	z-index:100;
	top: 50px;
	left: 50px;
}

@-moz-document url-prefix() { 
	
#logo {
     left: 50px;
    z-index: 3001;
  }
}

#logo a {
	font-size: 1.65em;
	text-decoration: none;
	text-transform: uppercase;
}

#logo a:hover{
	text-decoration: none;
}
#logo img {
	width: 100%;
	height: 100px;
	overflow: hidden;
}

/* Nav */

nav {
	position: fixed;
	top: 46px;
    z-index: 3002;
	right: 60px;
}

nav ul {
	list-style: none;
	text-align: right;
  
}

nav li {
	line-height: 1.25em;
	color:rgba(47,79,79,0.9);
	
}

nav a {
	text-decoration: none;
	letter-spacing: 1px;
	float: right;
/*	text-transform: uppercase;*/
	font-size: 0.67em;
/*

	border-bottom: 1px;
	border-bottom-style: solid;
	border-bottom-color:  rgba(255,255,255,0);
*/
	height: 15px;
	margin-bottom: 6px;
    width: 100px;
}

nav a:hover, .current-menu-item a,
.single-projects #menu-item-316 a {
color:rgba(47,79,79,0.9);

/*
	border-bottom: 1px;
	border-bottom-style: solid;
	border-bottom-color: #222;
*/

}



/* Nav Mobile Devices */

#trigger-overlay {
	border: medium none;
	cursor: pointer;
	height: 31px;
	position: fixed;
	right: 35px;
	top: 30px;
	width: 41px;
	display: none;
}

#trigger-overlay span {
    background: none repeat scroll 0 0 #000;
    border-radius: 1px;
    display: block;
    height: 5px;
    margin: 5px 0 0;
    width: 35px;
    z-index: inherit;
}

/* Overlay style */
.overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(253,221,203,.92);
	z-index: 1;
}

/* Overlay closing cross */
.overlay .overlay-close {
	width: 35px;
	height: 35px;
	position: absolute;
	right: 26px;
	top: 30px;
	overflow: hidden;
	border: none;
	background: url(img/cross.svg) no-repeat center center;
	text-indent: 200%;
	color: transparent;
	outline: none;
	z-index: 100;
}

/* Menu style */

.menu-main-container {
	height: 100%;
}

.overlay nav {
	text-align: center;
	position: relative;
	top: 57%;
	right: 0;
	height: 70%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}

.overlay ul {
	list-style: none;
	padding: 0;
	margin: 0 auto;
	display: inline-block;
	height: 100%;
	position: relative;
	text-align: center !important;
}

.overlay ul li {
	display: block;
	height: 20%;
	height: calc(100% / 5);
	min-height: 94px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	line-height: normal;
}

.overlay ul li a {
	font-size: 16px;
	display: block;
	color: #000;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
	border: none !important;
	float: none !important;
	text-transform: uppercase;
}

a {
	color: #000;
	text-decoration: none;
	outline: none;
	
}

a:hover, a:focus {
	outline: none;

}

a:active, a:hover {
	outline:0;
}

