@import url('https://fonts.googleapis.com/css?family=Roboto:300,500');
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:700,900');

body {
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	font-size: 1.125rem;
	line-height: 1.8;
}

a:hover{
	text-decoration: none;
}

.hideme {
    opacity:0;
}

#home_bg {
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
	position: relative;
	height: 100vh;
}

#home_bg .video-background {
	position: fixed;
	right: 0; 
	bottom: 0;
	min-width: 100%; 
	min-height: 100%;
	width: auto; 
	height: auto;
	z-index: -100;
	background: url(../images/dummy_preload.png) no-repeat;
	background-size: 100% auto;
}

#home_bg .video-background img {
	width: 100%;
}

#contentWrap {
	position: absolute;
	top: 0;
	width: 100%;
	color: #fff;
}

#contentWrap #introWrap {
	background: -moz-linear-gradient(top, rgba(0,0,0,0.2) 0%, rgba(11,28,58,1) 100%);
	background: -webkit-linear-gradient(top, rgba(0,0,0,0.2) 0%,rgba(11,28,58,1) 100%);
	background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%,rgba(11,28,58,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#33000000', endColorstr='#0b1c3a',GradientType=0 );
	padding-bottom: 30px;
}

#contentWrap .hero {
	position: relative;
	height: 90vh;
	padding-top: 45%;
}

#contentWrap .tagline {
	position: absolute;
	top: 65%;
	text-align: right;
	width: 100%;
  padding-right: 15px;
	letter-spacing: 5px;
}

#contentWrap .tagline h1 {
	font-weight: 300;
	font-size: 16px; 
}

nav#stickyNav {
	width: 100%;
  background-color: transparent;
  text-align: center;
  transition: background-color 0.5s ease;
	position: relative;
}

nav#stickyNav.stick {
	width: 100%;
  margin-top: 0;
  position: fixed;
  top: 0;
  z-index: 9999;
}

nav#stickyNav:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  height: 100%;
  -webkit-transition-property: right;
  transition-property: right;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}

nav#stickyNav.stick:before {
  right:0
}

nav ul{
	width: 100%;
	margin: 0 auto;
	padding: 0;
	transition: all 0.5s ease;
}

nav#stickyNav.stick ul{
	padding-top: 60px;
}

nav li {
	display: inline-block;
	list-style: none;
}

nav li a{
	color: #fff;
	padding: 12px 20px;
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	letter-spacing: 3px;
}

nav li a:hover{
	color: #fff;
	text-decoration: none;
}

.home_name {
	position: absolute;
	top: 5px;
	left: 26%;
	width: 45%;
	max-width: 250px;
	opacity: 0;
}

nav.stick .home_name {
	opacity: 1;
	transition: all 0.5s ease;
  transition-delay: 0.2s;
}

.home_name a:hover img {
	transition: all 0.5s ease;
	-webkit-transform: translateY(10px);
          transform: translateY(10px);
}

/* Underline From Left */
.hvr-underline-from-left {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow: hidden;
}
.hvr-underline-from-left:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  bottom: 0;
  background: #C33764;
  height: 2px;
  -webkit-transition-property: right;
  transition-property: right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-underline-from-left:hover:before, .hvr-underline-from-left:focus:before, .hvr-underline-from-left:active:before, .hvr-underline-from-left.active:before {
  right: 0;
}

#contentWrap .intro {
	padding: 50px 10px 0 10px;
}

#contentWrap h2 {
	font-family: 'Playfair Display', serif;
	font-weight: 900;
	font-size: 50px;
	letter-spacing: 8px;
	text-align: center;
	margin-bottom: 20px;
}

#caseStudies {
	background-color: rgba(11,28,58,1);
}

#caseStudies .case_home {
	padding: 0;
}

.case {
	height: 260px;
	overflow: hidden;
	display: flex;
	align-items: center;
	position: relative;
	background: #0b1c3a;
	background: -moz-linear-gradient(-45deg, #0b1c3a 0%, #000000 100%);
	background: -webkit-linear-gradient(-45deg, #0b1c3a 0%,#000000 100%);
	background: linear-gradient(135deg, #0b1c3a 0%,#000000 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0b1c3a', endColorstr='#000000',GradientType=1 );
	margin-top: 40px;
}

.case .caseWrap {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 100%;
	cursor: pointer;
	display: flex;
	align-items: flex-start;
}

.case .caseWrap img {
	position: relative;
	display: block;
	height: auto;
	width: 100%;
	opacity: 0.6;
	-webkit-transition: all 0.45s;
	transition: all 0.45s;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.case .caseWrap .caption {
	color: #fff;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.case .caseWrap .caption::before,
.case .caseWrap .caption::after {
	pointer-events: none;
}

.case .caseWrap h4 {
	-webkit-transition: -webkit-transform 0.35s;
	transition: transform 0.35s;
	text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6);
	position: absolute;
	bottom: 45%;
	text-align: center;
	width: 100%;
	font-family: 'Playfair Display', serif;
	letter-spacing: 3px;
}

.case .caseWrap h4,
.case .caseWrap p {
	margin: 0;
}

.case .caseWrap p {
	opacity: 0;
	-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	transition: opacity 0.35s, transform 0.35s;
	-webkit-transform: translate3d(0,50px,0);
	transform: translate3d(0,50px,0);
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 0 20px 20px 0;
	color: #0b1c3a;
	text-align: right;
	font-weight: 500;
}

.case .caseWrap .caption::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 140%;
	height: 100%;
	background: url(../images/triangle.svg) no-repeat center center;
	background-size: 100% 100%;
	content: '';
	-webkit-transition: opacity 0.45s, -webkit-transform 0.45s;
	transition: opacity 0.45s, transform 0.45s;
	-webkit-transform: rotate3d(0,0,1,45deg);
	transform: rotate3d(0,0,1,45deg);
	-webkit-transform-origin: 0 100%;
	transform-origin: 0 100%;
}

.case .caseWrap:hover img {
	opacity: 1;
	transform: scale(1.1);
}

.case .caseWrap:hover .caption::before {
	opacity: 0.8;
	-webkit-transform: rotate3d(0,0,1,5deg);
	transform: rotate3d(0,0,1,5deg);
}

.case .caseWrap:hover p {
	opacity: 1;
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.case .caseWrap a.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	color: transparent;
	font-size: 0;
}

#bottom {
	background: -moz-linear-gradient(top, rgba(11,28,58,1) 20%, rgba(0,0,0,0.5) 100%);
	background: -webkit-linear-gradient(top, rgba(11,28,58,1) 20%,rgba(0,0,0,0.5) 100%);
	background: linear-gradient(to bottom, rgba(11,28,58,1) 20%,rgba(0,0,0,0.5) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0b1c3a', endColorstr='#80000000',GradientType=0 );
	padding-top: 60px;
}

.clients {
	width: 100%;
	margin-bottom: 50px;
}

#bottom h3 {
	font-family: 'Playfair Display', serif;
	font-weight: 900;
	font-size: 25px;
	letter-spacing: 8px;
	text-align: center;
	margin-bottom: 40px;
}

.clients_loop .client{
	height: auto;
	padding: 0 20px;
	outline: none;
}

.clients_loop .client .client_logo {
	width: 50%;
	padding: 10px;
	display: flex;
	align-items: center;
	max-height: 100px;
}

.clients_loop .client .client_logo img{
	width: 100%;
	height: auto;
}

.clients_loop .client .client_logo img.portrait{
	width: auto;
	height: 100%;
	margin: auto;
}

.home_contact {
	width: 100%;
	margin: 30px 0;
}

.input {
	position: relative;
	z-index: 1;
	display: inline-block;
	width: 100%;
	vertical-align: top;
	overflow: hidden;
}

.input__field {
	position: relative;
	display: block;
	margin-top: 20px;
	padding: 20px 8px 25px 8px;
	width: 100%;
	background: transparent;
	color: #fff;
	border: none;
	border-radius: 0;
	-webkit-appearance: none; /* for box shadows to show on iOS */
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
}

.input__field:focus {
	outline: none;
}

.input__label {
	display: inline-block;
	color: #fff;
	-webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 0;
	width: 100%;
	height: calc(100% - 1em);
	text-align: left;
	pointer-events: none;
}

.input__label-content {
	position: absolute;
	display: block;
	padding: 30px 8px;
	width: 100%;
}

.input__label::before,
.input__label::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: calc(100% - 10px);
	border-bottom: 1px solid #999;
}

.input__label::after {
	border-bottom: 2px solid #C33764;
	-webkit-transform: translate3d(-100%, 0, 0);
	transform: translate3d(-100%, 0, 0);
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
}

.input__field:focus + .input__label::after,
.input--filled .input__label::after {
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}

.input__field:focus + .input__label .input__label-content,
.input--filled .input__label-content {
	-webkit-animation: anim-1 0.3s forwards;
	animation: anim-1 0.3s forwards;
	font-size: 80%;
}

@-webkit-keyframes anim-1 {
	50% {
		opacity: 0;
		-webkit-transform: translate3d(1em, 0, 0);
		transform: translate3d(1em, 0, 0);
	}
	51% {
		opacity: 0;
		-webkit-transform: translate3d(-1em, -40%, 0);
		transform: translate3d(-1em, -40%, 0);
	}
	100% {
		opacity: 1;
		-webkit-transform: translate3d(0, -40%, 0);
		transform: translate3d(0, -40%, 0);
	}
}

@keyframes anim-1 {
	50% {
		opacity: 0;
		-webkit-transform: translate3d(1em, 0, 0);
		transform: translate3d(1em, 0, 0);
	}
	51% {
		opacity: 0;
		-webkit-transform: translate3d(-1em, -40%, 0);
		transform: translate3d(-1em, -40%, 0);
	}
	100% {
		opacity: 1;
		-webkit-transform: translate3d(0, -40%, 0);
		transform: translate3d(0, -40%, 0);
	}
}

.btn_submit {
	background: transparent;
	border: 1px solid #999;
	color: #fff;
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	padding: 10px 30px;
	margin-top: 20px;
}

.form-group {
	margin-bottom: 10px;
}

.help-block ul{
	margin-bottom: 0;
}

.help-block ul li{
	color: #f48a00;
	font-size: 12px;
	padding-left: 10px;
}

.hvr-sweep-to-right {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.hvr-sweep-to-right:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #C33764;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-sweep-to-right:hover, .hvr-sweep-to-right:focus, .hvr-sweep-to-right:active {
 border: 1px solid #C33764;
}
.hvr-sweep-to-right:hover:before, .hvr-sweep-to-right:focus:before, .hvr-sweep-to-right:active:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

footer {
	text-align: center;
	margin-top: 50px;
	padding: 20px 0;
	color: #ccc;
	font-size: 13px;	
}

/***** Portfolio *****/
body.inner {
    opacity: 1;
    transition: 1s opacity;
		background: rgba(11,28,58,1);
}

body.inner.fade-out {
    opacity: 0;
    transition: none;
}

.inner header {
	height: 350px;
	background: url('../images/barracudas.jpg') no-repeat fixed center;
	background-size: auto 100%;
	text-align: center;
}

.inner header .headerWrap {
	height: 100%;
	background: -moz-linear-gradient(top, rgba(0,0,0,0.2) 0%, rgba(11,28,58,1) 90%);
	background: -webkit-linear-gradient(top, rgba(0,0,0,0.2) 0%,rgba(11,28,58,1) 90%);
	background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%,rgba(11,28,58,1) 90%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#33000000', endColorstr='#0b1c3a',GradientType=0 );
}

.inner header .headerWrap img.pagetitle {
	width: 100%;
	margin-top: 30px;
}

#portfolio-listing {
	height: 2000px;
}

#portfolio-listing .portfolioWrap {
	padding: 0 10px;
}

.portfolio_col {
	display: flex;
	height: 400px;
	flex-direction: column;
	justify-content: space-between;
}

/***** Ocean ******/

.inner.ocean header {
	background: url('../images/turtle.jpg') no-repeat fixed top right;
 	background-size: auto 60%;
}

#portfolio-listing .underwater {
	overflow: hidden;
	display: flex;
	align-items: center;
	position: relative;
	background: rgb(11,28,58);
}

.inner.ocean video {
	margin-bottom: 20px;
}

#image_gallery {
	margin-top: 40px;
}

#imageGallery .col-12 {
	padding: 0 8px;
}

#imageGallery .ocean_img {
	overflow: hidden;
	margin-bottom: 16px;
}

#imageGallery img {
	width: 100%;
}

#imageGallery img.landscape {
	width: 100%;
	height: auto;
}

/****** Portfolio details *******/
.inner.portfolio_details header {
	height: auto;
	background: #0b1c3a;
}

.caseDetails {
	margin-top: 50px;
}

.caseDetails h1, .caseDetails h2{
	color: #fff;
	text-align: center;
	font-family: 'Playfair Display', serif;
	letter-spacing: 3px;
}

.caseDetails h1 {
	font-size: 2.125rem;
	margin-bottom: 15px;
}

.caseDetails h2 {
	font-size: 16px;
	margin-bottom: 15px;
}

.caseDetails p {
	color: #fff;
	text-align: center;
	/* font-size: 12px; */
	/* padding-top: 4px; */
}

.caseDetails .visit_site {
	text-align: center;
}

.portfolio_details .banner {
	width: 100%;
	height: auto;
	overflow: hidden;
	margin: 30px 0 50px;
}

.portfolio_details .banner img, .caseimages img{
	width: 100%;
}

.portfolio_details .back_btn {
	transition: all 0.5s ease;
	color: #ccc;
	font-size: 12px;
	letter-spacing: 1px;
}

.portfolio_details .back_btn:hover {
	color: #fff;
}

.portfolio_details .original-size {
	background: #fff;
}

.caseimages .canvas {
	background: rgba(0,0,0,0.6);
	padding: 30px;
}

.caseimages .canvas .imageWrap {
	width: 100%;
	margin: auto;
}

.portfolio_details .original-size img{
	max-width: 100%;
	margin: auto;
}

.caseimages .portfolio_nav {
	margin-top: 30px;
}

.caseimages h2 {
	color: #fff;
	font-family: 'Playfair Display', serif;
	margin-bottom: 20px;
	font-size: 1.25rem;
}

.caseimages p {
	color: #fff;
}

.caseimages .stepWrap {
	margin-bottom: 30px;
}

.comic .comic-middle {
	background: url("../projects/images/roll-paper.png") repeat-y;
	background-size: 100% auto;
}

.portfolio_details .text {
	width:80%;
	margin:auto;
}


.inner.contact header {
	background: url('../images/nudie.jpg') no-repeat fixed;
 	background-size: auto 100%;
 	background-position: 25%;
}

.inner.contact header .headerWrap img.pagetitle {
	margin-top: 60px;
}


.inner.contact .home_contact {
    margin: 0 0 30px 0;
}

#contactpage .contactWrap{
	color:#fff;
	text-align: center;
	margin-top: 70px;
}

#contactpage .contactWrap a{
	color: #C33764;
	text-decoration: none;
	transition:  0.3s ease all;
}

#contactpage .contactWrap a:hover{
	color: #fff;
}

.projectDes p{
	text-align: left;
}

.details-table {
	color: #fff;
	width: 100%;
	margin-bottom: 30px;
}

.details-table .item {
	padding: 10px 0;
	border-bottom: 1px #394961 solid;
}

.details-table .item:last-child{
	border-bottom: 0;
}

.details-table .subject {
	color: #ccc;
}

.details-table .value ul {
	padding-left: 20px;
	margin-bottom: 0;
}