/* Debugger styles - used to show the effect
  --------------------------------------------- */

  .debug {
    position: fixed;
    top: 0;
    left: .5em;
    z-index: 1150;
    background: rgba(0,0,0,.85);
    color: #fff;
    padding: .5em;
    border-radius: 0 0 5px 5px;
  }
  .debug-on .parallax__group {
    -webkit-transform: translate3d(800px, 0, -400px) rotateY(30deg);
    transform: translate3d(700px, 0, -800px) rotateY(30deg);
 }
  .debug-on .parallax__layer {
    box-shadow: 0 0 0 2px #000;
    opacity: 0.9;
  }
  .parallax__group {
    -webkit-transition: -webkit-transform .5s;
    transition: transform 0.5s;
  }

/* ==========================================================================
   Main styles
   ========================================================================== */

body {
	transform: translateZ(0)
}

/* ==========================================================================
   Browse happy
   ========================================================================== */

.browsehappy {
	display:block;
	width:100%;
	height:100px;
	background-color:#f2dede;
	margin: 0 0 10px;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: 22px;
	line-height: 1.4;
	color: #333;
	vertical-align:middle;
}
.browsehappy span{
	vertical-align:middle;
	margin:20px 20px 20px 20px;
	background:url("https://cdn.rawgit.com/alrra/browser-logos/master/internet-explorer/internet-explorer_64x64.png") no-repeat;
	height:64px;
	width:64px;
	display:inline-block;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

nav {
	text-align: center;
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 70px;
	background: #372D3B;
	border-bottom: 2px solid #403743;
	z-index: 900;
}

nav li {
	display: inline-block;
	font-family: Raleway, sans-serif;
	font-size: 24px;
	margin: 24px 35px;
}

nav li a {
	text-decoration: none;
	color:#fff4de;
	transition: 0.2s;
}

nav a:hover {
	color: #C4415D;
	transition: 0.4s;
}

.navfixed {
	position:fixed;
	top:0;
	height: 70px; 
	z-index: 999;
}

.navhide {
	display:none;
	z-index: 0;
}

.nav-logo {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	width: 100px;
	height: 30px;
	color: #fff4de;
	font-family: lato, sans-serif;
	font-size: 26px;
	margin-top:25px;
	margin-left:40px;
}

.nav-logo {
	max-width:100%;
	max-height:100%;
}

.anchor{
    display: block;
    position: relative;
    top: -50px;
    visibility: hidden;
}


/* Responsive Nav Hamburger
  --------------------------------------------- */

.menu {
	position: absolute;
	top: 23px;
	right: 23px;
	height: 50px;
	width: 50px;
}

.menu-link {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 1002;
}

.menu-icon {
	position: absolute;
	width: 20px;
	height: 17px;
	margin: auto;
	left: 0;
	top: 0;
	right: 0;
	bottom: 1px;
}

.menu-circle {
	background-color: #372D3B;
	width: 100%;
	height: 100%;
	position: absolute;
	border-radius: 50%;
	transform: scale(1);
	z-index: 1000;
	transition: all 0.3s ease-in-out;
}

.menu-overlay {
	visibility: hidden;
	background-color: #372D3B;
	height: 100%;
	width: 100%;
	position: fixed;
	text-align: center;
	transition: opacity 0.2s ease-in-out;
	opacity: 0;
	z-index: 1001;
}

.menu-center {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.menu-overlay a {
	color: white;
	font-family: 'Raleway', sans-serif;
	font-weight: 600;
	font-size: 24px;
	margin-bottom: 5vh;
	padding-bottom: 20px;
	display: block;
}

.menu-line {
	background-color: white;
	height: 3px;
	width: 100%;
	border-radius: 2px;
	position: absolute;
	left: 0;
	transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.menu-line-1 { top: 0; }

.menu-line-2 {
	top: 0;
	bottom: 0;
	margin: auto;
}

.menu-line-3 { bottom: 0; }

.menu:hover .menu-circle { transform: scale(1.4); }

.menu-overlay.open {
	opacity: 1;
	visibility: visible;
}

.menu.open .menu-circle { transform: scale(50); }

.menu.open .menu-line-2 { opacity: 0; }

.menu.open .menu-line-1 { transform: translateY(8px) translateY(-35%) rotate(-45deg); }

.menu.open .menu-line-3 { transform: translateY(-8px) translateY(35%) rotate(45deg); }

/* Mobile navigation - media queries
  --------------------------------------------- */

@media screen and (min-width: 680px) {
	.menu {display: none;}
}

@media screen and (max-width: 680px) {
	nav {border:none;}
	nav a {display: none;}
	.navi {display: none;}
}

/* ==========================================================================
   PARALLAX BASE STYLES - PURE CSS PARALLAX
   ========================================================================== */
.parallax {
	-webkit-perspective: 300px;
	perspective: 300px;
	height: 100vh;
	width: 100vw;
	overflow-x: hidden;
	overflow-y: auto;
}

.parallax__group {
	position: relative;
	height: 100vh;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
}

.parallax__layer {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.img_scale img {
	object-fit: cover;
	height:100vh;
	width:100%;
}

.img_scale-water img{
	width:101%; 
	object-fit: cover;
}



/*------------------------------------------------------// PARALLAX GROUPS //---------------------------------------------------------- */

/* SPLASH PARALLAX */

#group-1 {
	z-index: 3; /* slide under group 2 */
	height: 100vh;
}

/* ABOUT SECTION */

#group-2 {
	z-index: 4; 
	width: 100%;
	height:2060px;
}

#group-2 .parallax__layer--base {
	background-color:#372D3B;
}

@media only screen and (max-width: 890px) {

	#group-2 {
		height:3100px;	
	}
}

@media only screen and (max-width: 680px) {

	#group-2 {
		height:3300px;	
	}
}

/* WATER PARALLAX AND MAP SECTION */ 

#group-3 {
	z-index:3;
	height:1000px;
}

#group-3 .parallax__layer--base {
	background: linear-gradient(bottom, #C4415D 40%, transparent 40%);
	background:-webkit-linear-gradient(bottom, #C4415D 40%, transparent 40%);
	background:-moz-linear-gradient(bottom, #C4415D 40%, transparent 40%);
	background:-o-linear-gradient(bottom, #C4415D 40%, transparent 40%);
}

@media only screen and (max-width: 1000px) {#group-3 {height: 1300px;} }
@media only screen and (max-width: 800px) {#group-3 {height: 1200px;} }
@media only screen and (max-width: 750px) {#group-3 {height: 1140px;} }

@media only screen and (min-width: 1245px) {#group-3 {height: 1100px;} }
@media only screen and (min-width: 1400px) {#group-3 {height: 1170px;} }
@media only screen and (min-width: 1500px) {#group-3 {height: 1270px;} }

@media only screen and (max-width : 700px) {#group-3 {height: 1750px;} }
@media only screen and (max-width : 550px) {#group-3 {height: 1600px;} }

/* CAVE PARALLAX */ 

#group-4 {
	z-index:1; 
	height:100vh;
	width:100%; 
}

#group-4 .parallax__layer--background2 {
	background:#FFDBC5;
	width:100%;
	height:100%;
}

/* CONTACTS SECTION */

#group-5 {
	z-index:5;
	height:1000px;
}

#group-5 .parallax__layer--base {
	background-color:#372D3B;
}

@media only screen and (max-width: 700px) {
	
	#group-5 {
		z-index:5;
		height:1150px;
	}
}

/*------------------------------------------------------// PARALLAX LAYERS //---------------------------------------------------------- */
/* @supports ((perspective: 1px) and (not (-webkit-overflow-scrolling: touch))) { */
/* Parallax Layers Header
  --------------------------------------------- */

	.parallax__layer--base {
		 -webkit-transform:translateZ(0);
		transform: translateZ(0);
		z-index: 8;
	}

	.parallax__layer--layer2 {
		-webkit-transform: translateZ(-60px) scale(1.2);
		transform: translateZ(-60px) scale(1.2);
		z-index: 7;

	}

	.parallax__layer--logo {
		-webkit-transform: translateZ(-330px) scale(2.1);
		transform: translateZ(-330px) scale(2.1);
		z-index: 6;

	}

	.parallax__layer--layer4 {
		-webkit-transform: translateZ(-160px) scale(1.54);
		transform: translateZ(-160px) scale(1.54);
		z-index: 5;

	}

	.parallax__layer--layer5 {
		-webkit-transform: translateZ(-240px) scale(1.8);
		transform: translateZ(-240px) scale(1.8);
		z-index: 4;

	}

	.parallax__layer--layer6 {
		-webkit-transform: translateZ(-300px) scale(2);
		transform: translateZ(-300px) scale(2);
		z-index: 3;

	}

	.parallax__layer--layer7 {
		-webkit-transform: translateZ(-510px) scale(2.7);
		transform: translateZ(-510px) scale(2.7);
		z-index: 2;

	}

	.parallax__layer--layer8 {
		-webkit-transform: translateZ(-690px) scale(3.3);
		transform: translateZ(-690px) scale(3.3);
		background-color:#FFDBC5;
		z-index: 1;
	}

	/* Parallax Layers Water
	  --------------------------------------------- */

	.parallax__layer--water2 {
		transform: translateZ(-30px) scale(1.1);
		background-color:#C4415D; 
		height: 70%;
	}

	/* Parallax Layers Cave
	  --------------------------------------------- */
	.parallax__layer--base2 {
		-webkit-transform:translateZ(0);
		transform: translateZ(0);
	}

	.parallax__layer--cave2 {
		transform: translateZ(-30px) scale(1.1);
		z-index:9;

	}

	.parallax__layer--cave3 {
		transform: translateZ(-60px) scale(1.2);
		z-index:8;
	}

	.parallax__layer--cave4 {
		transform: translateZ(-120px) scale(1.4);
		z-index:7;
	}

	.parallax__layer--cave5 {
		transform: translateZ(-180px) scale(1.6);
		z-index:6;
	}

	.parallax__layer--cave7 {
		transform: translateZ(-270px) scale(1.9);
		z-index:4;
	}

	.parallax__layer--cave8 {
		transform: translateZ(-360px) scale(2.2);
		z-index:3;
		background: #FFDBC5;
	}

/* } /* /* feature detection */ 


.parallax__layer--layer8 {
	background-color:#FFDBC5;
}

.parallax__layer--water2 {
	background-color:#C4415D; 
}

.parallax__layer--cave8 {
	background: #FFDBC5;
}

/* ==========================================================================
   ABOUT SECION
   ========================================================================== */

.about-header {
	text-align: center;
	width: 100%;
	margin-bottom: 50px;
	margin-top:50px;
	color:#C4415D;
	font-size: 80px;
	font-family:"Lato", sans-serif;
}

.about-padding {
	height: 45px;
	width: 100%;
}

.line-blocking {
	width: 580px;
	margin: 0 auto;
	display: block;
	margin-bottom: 50px;
	margin-top: 50px;
}

.about-text p{
	margin: 0 auto;
	width:80%;
	max-width: 600px;
	text-align:center;
	font-family:"Raleway", sans-serif;
	font-size: 22px;
	color:#fff4de;
	line-height: 1.5;
	padding-bottom: 35px;
}

/* UN ICONS
  --------------------------------------------- */

.un-goals {
	text-align: center;
	padding-bottom: 10px;
}

.un-icons {
	margin-left: 11px;
	margin-right: 11px;
	display:inline-block;
	position: relative;
	width: 75px;
	height: 75px;
	background-color:#C4415D;
	border-radius: 50px;
	transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.un-icons img{
	width: 75px;
	height: 75px;	
}

.un-icons:hover {
	transform: scale(1.35, 1.35);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.icon-content {
	position: absolute;
	top:0;
	height: 75px;
	width: 75px;
	border-radius: 100px;
	background: rgba(29, 106, 154, 0.72);
	opacity: 0;
	transition: opacity 0.4s;
}

.un-icons:hover .icon-content{
	opacity: 1;
}

.icon-text {
	position: relative;
	top:60%;
	transform: translateY(-60%);
	font-family:Raleway;
	font-size: 13px;
	text-align: center;
	margin: 0 auto;
	height:40px;
	width: 70px;
	color:#FFF0E5;
}

.project {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.5s ease-out;
}

.icons-mobile {
	display: none;
}

/* ABOUT US MEDIA QUERIES
  --------------------------------------------- */

@media only screen and (max-width: 840px) {

	.line-blocking {
		width: 70%;
	}
}

@media only screen and (max-width: 680px) {

	.icons-mobile {
		display: block;
		height: 22px;
	}

	.about-header {
		font-size: 70px;
		padding-top: 0px;
	}

	.what-we-do-header {
		font-size: 50px;
	}

	.what-we-do {
		font-size:50px;
	}
}

@media only screen and (max-width: 1025px) {
	.un-icons a {
		pointer-events: none;
	}
}

@media only screen and (max-width: 450px) {

	.about-text {
		font-size: 18px;
	}
}

/* What we do section
  --------------------------------------------- */

.what-we-do-header {
	text-align: center;
	width: 100%;
	color:blue;
	margin-bottom: 120px;
	margin-top:90px;
	color:#C4415D;
	font-size: 65px;
	font-family: 'Lato', sans-serif;
	font-weight: 300;
}

.about-center {
 	text-align: center;
}

.svg-block {
 	margin-bottom: 110px;
}

.inline-icon {
	display: inline-block;
	height: 290px;
	width: 370px;
	vertical-align: middle;
	margin:0px 60px;
	color: blue;
}

.inline-icon svg {
	width: 100%;
}

.inline-content {
	display: inline-block;
	height: 200px;
	width: 350px;
	vertical-align: middle;
}

.inline-content h2 {
	font-family: 'Lato', sans-serif;
	color: #C43D5B;
	font-size:48px;
	margin-bottom:20px;
}

.inline-content p {
	color:#FFF0E5;
	font-size: 24px;
	font-family: 'Raleway', sans-serif;
	line-height: 1.3em;
}

.service-content-left{
	text-align: left;
}

.service-content-right{
	text-align: right;
}

/* WHAT WE DO - MEDIA QUIERES
  --------------------------------------------- */

@media screen and (max-width:890px){
    .svg-parent{
        display:flex;
        flex-flow: column;
        align-items: center;
    }

    #a {
    	order:1;
    	padding-bottom: 30px;
    }

    #b {
    	order:2;
    	padding-bottom: 30px;
    } 

    .inline-content p, .inline-content h2 {
    	text-align: center;
    }  
}

/* ==========================================================================
   WATER PARALLAX AND PROJECTS SECION
   ========================================================================== */

   .projects-header{
	color:#FFDBC5;
	padding-top:45px;
	margin-bottom:50px;
	font-size: 80px;
	font-family: Lato;
	font-weight: bolder;
	text-align:center;
}

.center-projects {
	text-align: center;
}

.project-content {
	display: inline-block;
	font-family:"Raleway", sans-serif;
	width: 300px;
	text-align: right;
	margin-right: 55px;
	vertical-align: middle;
	color: #FFDBC5;
}

.project-content h2 {
	font-family:"Lato", sans-serif;
	font-size: 48px;
	margin-bottom: 30px;
}

.project-content p {
	font-size: 18px;
	margin-bottom: 15px;
	line-height: 1.2em;
	color: #FFDBC5;
}

.projects-button {
	display: inline-block;
	text-align: center;
	text-decoration: none;
	font-family: Raleway;
	margin-top: 20px;
	color: #ffffde;
	border: 2px solid #ffffde;
	border-radius: 7px;
	line-height: 70px;
	width: 295px;
	height: 70px;
	transition: 0.3s ease-in-out;
}

.projects-button:hover {
	background-color: #ffffde;
	color:#C4415D;
	border: 2px solid #ffffde;
	border-radius: 50px;
	transition: 0.3s ease-in-out;
}

.projects-button:active {
	box-shadow: inset 0 5px 30px #a5a59a;
	background-color: #ffffde;
	transition: 0.1s;
}

.projects-button-mobile {
	display: none;
}

/* PROJECTS SVG MAP
  --------------------------------------------- */

.projects-map {
	display: inline-block;
	position: relative;
	width: 50%;
	max-width: 750px;
	vertical-align: middle;
	z-index: 6;
}

.projects-map:after {
	padding-top: 74%;
	display: block;
	content:'';
}

.map-position {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
}

.map {
	width:100%;
}

.content {
	text-align:center;
	position:absolute;
	opacity: 0;
	color: #59444c;
	font-family:'bree' serif;
	overflow: hidden;
	height:100%;
	width:90%;
	left:5%;
	margin: 0 auto;
	transition: opacity 0.25s ease-in-out;
}

.content h2 {
	font-family:'lato', sans-serif;
	font-weight: bold;
	line-height: 1.1em;
	font-size:24px;
	margin-top:20px;
	padding-bottom: 10px;
}

.content p {
	font-family: Raleway;
	font-size:15px;
	line-height: 1.3em;
	padding-bottom: 8px;
}

.more-info {
	font-family: Raleway;
	border: 2px solid #5b484f;
	border-radius:6px;
	display:inline-block;
	cursor:pointer;
	color:#5b484f;
	font-size:15px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	margin-top:10px;
	transition: 0.4s ease-in-out;
}

.more-info:hover {
	background-color:#5b484f;
	color:#f2e6de;
	border: 2px solid #5b484f;
	border-radius: 50px;
	transition: border-radius .5s ease-in-out;
}

.more-info:active {
	position:relative;
	top:1px;
}

.map-point {
	width:40px;
	height:40px;
	border-radius:15px;
	opacity:0;
	cursor:default;

	background-color:#ffe7d9;

	position:absolute;
	z-index:4;
	transform: translate(-50%, -50%);
	transition: opacity 0.25s ease-in-out 0.25s, width 0.25s ease-in-out 0.25s, 
	height 0.25s ease-in-out 0.25s, z-index 0.25s ease-in-out 0.25s;
}

.map-point:hover, .map-point:focus {
	opacity:1;
	width:300px;
	height:240px;
	z-index:5;
	-webkit-transition: opacity 0.25s ease-in-out, width 0.25s ease-in-out, height 0.25s ease-in-out;
	transition: opacity 0.25s ease-in-out, width 0.25s ease-in-out, height 0.25s ease-in-out;
}

.map-point:hover .content, .map-point:focus .content {
	opacity:1;
	overflow:hidden;
	transition: opacity 0.25s ease-in-out 0.25s, height 0.25s ease-in-out, overflow 0.25s ease-in-out;
}

.pin {
	text-align: left;
	width:40px;
	height:40px;
	border-radius:20px;
	box-shadow: 1px 5px 17px rgba(0, 0, 0, 0.5);
	transform: translate(-50%, -50%);

	-webkit-border-radius: 50% 50% 50% 0;
	border-radius: 50% 50% 50% 0;

	background-color: #FFDBC5;

	position:absolute;

	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
	margin: -20px 0 0 -20px;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-duration: 1s;
	animation-duration: 1s;

	z-index:2;
}

.pin:after {
	content: '';
	width: 20px;
	height: 20px;
	margin: 10px 0 0 10px;
	background: #372D3B;
	position: absolute;
	-webkit-border-radius: 50%;
	border-radius: 50%;
}

.pulse {
	text-align: left;
	background: rgba(0,0,0,0.4);
	-webkit-border-radius: 50%;
	border-radius: 50%;
	height: 14px;
	width: 14px;
	position: absolute;
	margin: 23px 0px 0px -7px;
	-webkit-transform: rotateX(55deg);
	-moz-transform: rotateX(55deg);
	-o-transform: rotateX(55deg);
	-ms-transform: rotateX(55deg);
	transform: rotateX(55deg);
	z-index: 1;
}

.pulse:after {
	content: "";
	-webkit-border-radius: 50%;
	border-radius: 50%;
	height: 40px;
	width: 40px;
	position: absolute;
	margin: -13px 0 0 -13px;
	-webkit-animation: pulsate 1s ease-out;
	-moz-animation: pulsate 1s ease-out;
	-o-animation: pulsate 1s ease-out;
	-ms-animation: pulsate 1s ease-out;
	animation: pulsate 1s ease-out;
	-webkit-animation-iteration-count: infinite;
	-moz-animation-iteration-count: infinite;
	-o-animation-iteration-count: infinite;
	-ms-animation-iteration-count: infinite;
	animation-iteration-count: infinite;
	opacity: 0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);

	-webkit-box-shadow: 0 0 1px 2px #efa2b3;
	box-shadow: 0 0 1px 2px #efa2b3;

	-webkit-animation-delay: 1.1s;
	-moz-animation-delay: 1.1s;
	-o-animation-delay: 1.1s;
	-ms-animation-delay: 1.1s;
	animation-delay: 1.1s;

		z-index:1;
}

@-webkit-keyframes pulsate {
  0% {
	-webkit-transform: scale(0.1, 0.1);
	-moz-transform: scale(0.1, 0.1);
	-o-transform: scale(0.1, 0.1);
	-ms-transform: scale(0.1, 0.1);
	transform: scale(0.1, 0.1);
	opacity: 0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
  }
  50% {
    opacity: 1;
    -ms-filter: none;
    filter: none;
  }
  100% {
	-webkit-transform: scale(1.2, 1.2);
	-moz-transform: scale(1.2, 1.2);
	-o-transform: scale(1.2, 1.2);
	-ms-transform: scale(1.2, 1.2);
	transform: scale(1.2, 1.2);
	opacity: 0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity=0);
  }
}

@media screen and (min-width:1025px) {  .project-content p span:after{content:'Hover over'}}
@media screen and (max-width:1025px) {  .project-content p span:after{content:'Press'}}


/* PROJECTS @MEDIA QUERIES
  --------------------------------------------- */

@media only screen and (max-width: 840px) {

	.line-blocking {
		width: 70%;
	}
}

@media only screen and (max-width: 1000px) {

	.line-blocking {
		margin-bottom: 50px;
	}

	.project-content h2{
		display: none;
	}
	
	.projects-map {
		display: block;
		margin: 0 auto;
		width: 75%;
		min-width: 100px;
		max-width: 700px;
		margin-top: 30px;
		margin-bottom: 50px;
		/* whatever width you want */
	}

	.project-content {
		width: 300px;
		margin: 0;
		text-align: center;
	}

	.projects-button-mobile {
		display:block;
		margin: 0 auto;
	}

	.project-mobile {
		display: none;
	}
}

@media only screen and (max-width : 755px) {

	.projects-map {
		width: 70%;
	}
}

@media only screen and (max-width : 700px) {

	.project-content, .projects-map{
		display: none;
	}

	.projects-header:after {
		content:'Clients'
	}

}

@media screen and (min-width:700px) {  

	.projects-header:after {
		content:'Projects'
	}
}

/* MODAL BOX OVERLAY
  --------------------------------------------- */

.modal {
	opacity: 0;
	visibility: hidden;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	text-align: left;
	background: rgba(0,0,0, .6);
	transition: opacity .25s ease;
	z-index: 1100;
}

.modal__bg {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	cursor: pointer;
}

.modal-state {
	display: none;
}

.modal-state:checked + .modal {
	opacity: 1;
	visibility: visible;

}

.modal-state:checked + .modal .modal__inner {
	top: 0;
}

.checked {
	overflow: hidden;
}

.modal__inner {
	transition: top .25s ease;
	position: absolute;
	top: -20%;
	right: 0;
	bottom: 0;
	left: 0;
	width: 50%;
	margin: auto;
	overflow: auto;
	background: #fff;
	border-radius: 5px;
	padding: 1em 2em;
	height: 80%;
	z-index: auto;
}

.modal__close {
	position: absolute;
	right: 1em;
	top: 1em;
	width: 2.5em;
	height: 2.5em;
	cursor: pointer;
}

.modal__close:after,
.modal__close:before {
	content: '';
	position: absolute;
	width: 5px;
	height: 2.5em;
	background: #ccc;
	display: block;
	transform: rotate(45deg);
	left: 50%;
	margin: -3px 0 0 -1px;
	top: 0;
}

.modal__close:hover:after,
.modal__close:hover:before {
	background: #aaa;
}

.modal__close:before {
	transform: rotate(-45deg);
}

@media screen and (max-width: 1025px) {
	
	.modal__inner {
		width: 90%;
		height: 90%;
		box-sizing: border-box;
	}
}

/* MODAL BOX PROJECT CONTENT
  --------------------------------------------- */

.project-list {
	text-align: center;
}

.project-list ul {
	list-style-type: none;
	width: 80%;
	margin:0 auto;
}

.project-list h2 {
	text-align: center;
	padding: 15px;
	font: bold 26px/1.5 "Lato", Verdana, sans-serif;
}

.project-list h3 {
	font: bold 20px/1.5 "Lato", Verdana, sans-serif;
}

.project-list li p {
	font: 200 12px/1.5 "Raleway", Times New Roman, serif;
}

.project-list li {
	padding: 10px;
	overflow: auto;
}

.modal-img {
	border-radius: 12px;
	background-color: blue;
	width: 100px;
	height: 100px;
	float: left;
	margin: 0 15px 0 0;
}

.project-list li:hover {
	background: #eee;
	cursor: pointer;
}

/* CLIENTS 
  --------------------------------------------- */

.clients {
	margin-bottom: 90px;
}

.clients ul li {
	margin-bottom: 55px;
}

.clients ul li img{
	width: 35vw;
	max-width: 210px;
}

@media screen and (min-width:700px) {  

	.clients {
		display: none;
	}
}

/* ==========================================================================
   CONTACTS SECTION
   ========================================================================== */

.line-blocking {
	width: 550px;
	margin: 0 auto;
	display: block;
	margin-bottom: 50px;
	margin-top:50px;
}

.contact-header {
	text-align: center;
	width: 100%;
	margin-bottom: 50px;
	margin-top:50px;
	color:#C4415D;
	font-size: 80px;
	font-family: Lato;
	font-weight: bolder;
}

.contact-intro {
	margin: 0 auto;
	width:300px;
	text-align:center;
	font-family:Raleway;
	font-size: 14px;
	line-height: 1.4;
}

.contact-intro p {
		color:#ffffde;
}

.center-contacts {
	margin: 0 auto;
	width:660px;
	padding-bottom: 10px;
}

.contact-info {
	padding-top: 10px;
	width: 245px;
	display: inline-block;
	color:#ffffde;
	margin-right: 110px;
	font-family: Nimbus;
	font-weight: normal;
	font-style: italic;
	font-size: 18px;
	line-height: 1.6;
}

.contact-info p {
	line-height: 1.4;
	font-family: Nimbus;
	color:#ffffde;
}

.contact-info a {
	line-height: 2em;
	color:#ffffde;
	text-decoration: none;
	font-size: 18px;
	transition: 0.3s;
}

.contact-info a:hover {
	color: #C4415D;
	transition: 0.3s ease-in-out;
}

.sign-off p {
	color:#ffffde;
}

/* CONTACT FORM
  --------------------------------------------- */

.form-wrapper {
	vertical-align: top;
	width: 300px;
	display: inline-block;
}

.form {
	font-family: raleway;
	font-weight: lighter;
	font-size: 14px;
	color:#ffffde;
	padding: 12px 0 12px 0;
	width: 300px;
	border:none;
	outline: none;
	background-color: transparent;
	border-bottom: solid 1px #ffffde;
	transition: 0.4s;
}

.form input {
	height:30px;
}

.form:focus {
	transition: 0.4s;
	border-bottom-color: #C4415D;
}

textarea {
	overflow: auto;
	resize: none;
	height: 110px;
}

::placeholder {
	color: #ffffde;
	transition: 0.4s;
}

:hover::-webkit-input-placeholder {
	transform: translateY(-10px);
	opacity: 0.25;
}

:focus::-webkit-input-placeholder {
	transform: translateY(-10px);
	transition: opacity 0.3s;
	opacity: 0;
}

.contact-button {
	position: relative;
	font-family: Raleway;
	font-weight: bolder;
	font-size: 20px;
	display: inline-block;
	background-color: transparent;
	text-decoration: none;
	margin-top: 40px; 
	color: #ffffde;
	border: 2px solid #ffffde;
	border-radius: 7px;
	line-height: 70px;
	width: 300px;
	height: 70px;
	transition: 0.3s;
	outline:none;
}

.contact-button:hover {
	cursor: pointer;
	background-color: #ffffde;
	color:#C4415D;
	border-radius: 50px;
	transition: 0.4s;
}

.contact-button:active {
	box-shadow: inset 0 5px 30px #a5a59a;
	background-color: #ffffde;
	transition: 0.3s;
}

.linksL:before {
	top: 0;
	left: 50%;
	transform: translate(-50%, -2px);
	position: absolute;
	content: 'Send';
	transition: opacity 0.7s;
}

.linksL:after {
	top: 0;
	width: 300px;
	left: 50%;
	transform: translate(-50%, -2px);
	position: absolute;
	content: 'kduggan@griffin-nrm.com.au';
	opacity: 0;
}

.linksL:hover:before {
	opacity:0;
	text-decoration: none;
	transition: opacity 0.5s;
}

.linksL:hover:after {
	opacity:1;
	text-decoration: none;
	transition: opacity 0.5s;
}

.sign-off {
	font-size: 14px;
	font-family:"Raleway", sans-serif;
	line-height:1.4;
	text-align: center;
	color:#C4415D;
	margin: 0 auto;
	width:350px;
}

/* CONTACT MEDIA QUERIES
  --------------------------------------------- */
@media only screen and (max-width: 800px) {

	.contact-info {
		margin-right:80px;
	}

	.center-contacts {
		width:630px;
	}
}

@media only screen and (max-width: 700px) {

	.contact-header {
		font-size: 60px;
	}
    
    .line-blocking {
    	width: 70%;
    }

    .center-contacts {
    	width: 100%;
    }

	.contact-info {
		text-align: center;
		display: block;
		width: 100%;
		margin-bottom: 45px;
	}

    .form-wrapper {
    	text-align: center;
    	display:block;
    	width: 100%;
    }

    .form {
    	width:70%;
    }
}