/* CSS Document */
/* © 2012-* Thomas Van Veen. All Rights Reserved */

@media only screen and (min-width: 1024px) {
	#pic {
		/*filter: blur(50px);*/
		width:66%;
		background-size: 66% auto;
		background-position: left center;
	}
	#content {
		/*background-color: rgba(255,255,255,0.75);*/
		width:34%;
		max-height: calc(100% - 45px);
	}
	.text {
		width:78%;
		top: 50%;
		-moz-transform: translateY(-50%);
		-ms-transform: translateY(-50%);
		-webkit-transform: translateY(-50%);
		transform: translateY(-50%);
	}
}

@media only screen and (max-width: 1023px) {
	#pic {
		width:100%!important;
		background-size: cover!important;
		background-position: center center!important;
		-webkit-filter: grayscale(100%);
		filter: grayscale(100%);
	}
	#content {
		background-color: rgba(255,255,255,0.75);
		width:100%;
		text-align: center;
	}
	.text {
		width: 90%;
		bottom: 5%;
	}
	.blurb, .qualifications, .details, .social {
		display: none;
	}
	#footer {
		display: none;
	}
}

/* Chrome */
@media all and (-webkit-min-device-pixel-ratio: 0) {

}

/* IE */
@media all and (-ms-high-contrast: none) { 

}

/* Firefox */
@-moz-document url-prefix() {

}
/*
@font-face {
    font-family: 'Proxima Nova';
    src: url('../fonts/proximanova-regular-webfont.ttf');
}
*/
@font-face {
    font-family: 'Avenir Next';
    src: url('../fonts/AvenirNextLTPro-Cn.otf');
}

*:not(.static), *:not(.static):hover {
	-o-transition-duration: 0.75s;
	-webkit-transition-duration: 0.75s;
	-moz-transition-duration: 0.75s;
	transition-duration: 0.75s;
}

/*
#contact,#portfolio,#pic,#content,#footer,.loading {
	-o-transition-duration: 0s;
	-webkit-transition-duration: 0s;
	-moz-transition-duration: 0s;
	transition-duration: 0s;
}
*/

html, body {
	margin:0;
	padding:0;
	height:100%;
	overflow: hidden;
}

body {
	color:#000000;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 16px;
}

strong {
	font-weight: bold;
}

a {
	text-decoration: none;
	color: #fff;
}

a:hover {
	color: #7F7F7F;
}

h1, h2, h3, h4 {
	margin: 0;
	padding: 0;
}

p {
/*	margin:0;
	padding:0;*/
}

.clear {
	clear: both;
}

.fl {float: left;}
.fr {float: right;}

.hidden {
	display: none;
}

#wrapper {
	min-height:100%;
	position:relative;
}

#content, /*#footer,*/ #portfolio, #contact {
	display: none;
}

#pic {
	/*background-image:url(../images/Paris-35.jpg);*/
	background-repeat: no-repeat;
	background-attachment: fixed;	
	height:100%;
	position:absolute;
	top:0;
	left:0;
	overflow:hidden;
	/*z-index: 100;*/
}

#content {
	height:100%;
	position:absolute;
	top:0;
	right:0;
	overflow: hidden;
	/*overflow-x:hidden;
	overflow-y:auto;*/
	/*z-index: 101;*/
}

.text {
	margin: 0 auto;
	position:absolute;
	left:0;
	right:0;
}

.title {
	font-size:20px;
	text-transform:uppercase;
	letter-spacing:2px;
	font-weight:bold;
	margin: 0 0 20px 0;
}

.subtitle {
	font-size: 16px;
	font-weight: bold;
	margin: 0 0 15px 0;
}

.hashtag {
	font-size:14px;
    border: none;
	margin: 5px 10px 5px 0;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}
/*
.hashtag:last-of-type {
	margin: 5px 0;
}
*/
.hashtag a {
	color:#9f9f9f;
}

.resume {
	display: inline-block;
	vertical-align: top;
	margin: 20px 50px 0 0;
}

.resume:last-of-type {
	margin: 20px 0 0 0;
}

.qualifications {
	font-size:12px;
	text-transform:uppercase;
	font-weight:bold;
	margin: 0;
	padding: 0;
}

.details {
	font-size:12px;	
	margin: 0;
	padding: 0;
}

.details:before {
     content: '\2713';
     text-align: left;
     display: inline-block;
     padding: 0;
     margin: 0 0 0 -1.2em;
     width: 1.2em;	
}

/* social */


.social {
	margin-top: 50px;
	width: 100%;
	/*border-top: 1px solid #ccc;*/
}


.social .social-icon {
	box-sizing: border-box;
	width: 30px;
	height: 30px;
	border-radius: 15px;
	background-color: #727e83;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 18px 18px;	
	/*background-size: contain;*/
}

.social .social-icon.fb {
	background-image: url(../images/fb.svg);
}
.social .social-icon.twitter {
	background-image: url(../images/twitter.svg);
}
.social .social-icon.insta {
	background-image: url(../images/insta.svg);
}
.social .social-icon.linked {
	background-image: url(../images/linked.svg);
}
.social .social-icon.fb:hover {
	background-color:#3b5997;
}
.social .social-icon.twitter:hover {
	background-color: #00aced;
}
.social .social-icon.insta:hover {
	background-color: #d6249f;
	background-image: url(../images/insta.svg), -webkit-radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
	background-image: url(../images/insta.svg), -moz-radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
	background-image: url(../images/insta.svg), -o-radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
	background-image: url(../images/insta.svg), radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285AEB 90%);
}
.social .social-icon.linked:hover {
	background-color: #0077b5;
}
.social .link-wrapper {
	float: left;
    margin: 0 30px 0 0;
}
.social .link-wrapper:last-of-type {
	margin: 0;
}

/* social end */


/* footer */
#footer {
	background: rgb(0, 0, 0); /* Fall-back */
    background: rgba(0, 0, 0, .5);
	width:100%;
	height:45px;
	position:fixed;
	bottom:0;
	left:0;
	overflow:hidden;
	font-family: 'Avenir Next', sans-serif;
	font-size: 16px;
	color: #FFFFFF;
}

#form #footer {
	position:absolute;
}

.trademark {
	float: left;
	margin-top: 15px;
	margin-left: 15px;
}

.contact {
	float:right;
	direction: rtl;
	margin-right: 15px;
	margin-top: 15px;
}

hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}
/* footer end */


/* Contact form */

#contact {
	color: #000;
	background: rgb(0, 0, 0); /* Fall-back */
    background: rgba(0, 0, 0, .5);
	width:100%;
	height:100%;
	position:fixed;
	top:0;
	left:0;
	overflow:hidden;
	z-index: 1;
}

#form {
	background-color: #ffffff;
	width:90%;
	height:90%;
	max-width: 550px;
	min-width: 300px;
	max-height: 550px;
	min-height: 500px;
	margin:auto;
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	overflow-x:hidden;
	overflow-y:auto;
	box-shadow:3px 9px 9px rgba(0, 0, 0, .75);
	/*border-radius: 8px;*/
}

#contact #form .exit {
	color: rgb(0, 0, 0);
	color: rgba(0, 0, 0, .25);
	text-align: center;
    text-decoration: none;
	display: block;
	padding: 10px 16px;
	font-size: 32px;
	position:absolute;
	top:0;
	right:0;
	overflow:hidden;
	cursor: pointer;
	z-index: 1;
}
#contact #form .exit:hover {
	color: rgb(0, 0, 0);
	color: rgba(0, 0, 0, .75);
}

/*
#contact #form .exit {
	background-color: #F00;
	color: #FFFFFF;
	text-align: center;
    text-decoration: none;
	display: block;
	padding: 10px 16px;
	font-size: 14px;
	position:absolute;
	top:0;
	right:0;
	overflow:hidden;
	cursor: pointer;
}
*/

.contact-text {
	margin: 10%;
}

.contact-text .title {
	font-size:20px;
	text-transform:uppercase;
	letter-spacing:2px;
	font-weight:bold;
	margin-bottom: 25px;
}

div[class^="button"], input[type="submit"] {
	/*font-family: inherit;*/
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: bold;
	font-size: 14px;
	letter-spacing: 0.5px;
	background-color: #305B90;
    border: none;
    color: #fff;
    padding: 12px 10%;
	margin: 15px 0;
    text-align: center;
    text-decoration: none;
    display: inline-block;
	cursor: pointer;
	border-radius: 4px;
	text-transform: uppercase;
	/*letter-spacing: 0.75px;*/
}

div[class^="button"]:first-of-type {
	margin: 15px 10px 15px 0;	
}

div[class^="button"]:hover, input[type="submit"]:hover {
	color: #fff;
	background-color:#727e83;	
}

form textarea {
	color: #999;
	font-family: inherit;
	/*font-size: 12px;*/
	font-size: 14px;
	line-height: 25px;
	width: 90%;
	height: 25px;
	overflow: auto;
    resize: none;
	border: 1px solid #999;
	
	display: block;
	margin-bottom: 15px;

}
form textarea:last-of-type {
	margin-bottom: 25px;	
}
form textarea.comment {
	height: 75px;
	line-height: 15px;
}
form textarea:focus {
	outline: none!important;
	border: 1px solid #305B90;
}

form textarea.required-box, form textarea.required-box:focus {
	outline: none!important;
	border: 1px solid #FF0000;
}

form span.required {
	color: #FF0000;
	float: right;
	margin-right: 10%;
}

form p {
	margin: 0;
	padding: 0;
}

.blur {
	-webkit-filter: blur(12px) grayscale(100%)!important;
	filter: blur(12px) grayscale(100%)!important;
	-o-transition-duration: 0.75s!important;
	-webkit-transition-duration: 0.75s!important;
	-moz-transition-duration: 0.75s!important;
	transition-duration: 0.75s!important;
}

/* Contact form end */


/* portfolio cards start */

#portfolio {
	color: #000;
	background: rgb(0, 0, 0); /* Fall-back */
    background: rgba(0, 0, 0, .5);
	width:100%;
	height:100%;
	position:fixed;
	top:0;
	left:0;
	overflow:hidden;
	z-index: 1;
}

#cards {
	background-color: #ffffff;
	width:90%;
	height:90%;
	max-width: 750px;
	min-width: 300px;
	max-height: 750px;
	min-height: 550px;
	margin:auto;
	position:absolute;
	top:0;
	bottom:0;
	left:0;
	right:0;
	overflow-x:hidden;
	overflow-y:auto;
	box-shadow:3px 9px 9px rgba(0, 0, 0, .75);
	/*border-radius: 8px;*/
}

#portfolio #cards .exit {
	color: rgb(0, 0, 0);
	color: rgba(0, 0, 0, .25);
	text-align: center;
    text-decoration: none;
	display: block;
	padding: 10px 16px;
	font-size: 32px;
	position:absolute;
	top:0;
	right:0;
	overflow:hidden;
	cursor: pointer;
	z-index: 1;
}

#portfolio #cards .exit:hover {
	color: rgb(0, 0, 0);
	color: rgba(0, 0, 0, .75);
}

/*
#portfolio #cards .exit {
	background-color: #F00;
	color: #FFFFFF;
	text-align: center;
    text-decoration: none;
	display: block;
	padding: 10px 16px;
	font-size: 14px;
	position:absolute;
	top:0;
	right:0;
	overflow:hidden;
	cursor: pointer;
}
*/

.cards-text {
	font-size: 32px;
	line-height: 160px;
	text-align: center;
}

.cards-index {
	position: absolute;
	bottom: 100px;
	left: 0;
	right: 0;
	text-align: center;
}
.cards-index a {
	text-decoration: underline;
	color: #000;
}
/*
.loading {
	background-image: url(../images/spinner03.gif);
	background-position: center center;
	background-repeat: no-repeat;
	height: 100%;
	width: 100%;
	position:absolute;
	top: 0;
	left: 0;
}
*/




/* portfolio cards end */


/* cube folding start */

.cube-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.cube-folding {
  width: 44px;
  height: 44px;
  display: inline-block;
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  font-size: 0;
}
.cube-folding span {
  position: relative;
  width: 22px;
  height: 22px;
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  display: inline-block;
}
.cube-folding span::before {
  content: '';
  background-color: #305B90;
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 22px;
  height: 22px;
  -moz-transform-origin: 100% 100%;
  -ms-transform-origin: 100% 100%;
  -webkit-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
  -moz-animation: folding 2.5s infinite linear both;
  -webkit-animation: folding 2.5s infinite linear both;
  animation: folding 2.5s infinite linear both;
}
.cube-folding .leaf2 {
  -moz-transform: rotateZ(90deg) scale(1.1);
  -ms-transform: rotateZ(90deg) scale(1.1);
  -webkit-transform: rotateZ(90deg) scale(1.1);
  transform: rotateZ(90deg) scale(1.1);
}
.cube-folding .leaf2::before {
  -moz-animation-delay: 0.3s;
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
  background-color: #2a4f7d;
}
.cube-folding .leaf3 {
  -moz-transform: rotateZ(270deg) scale(1.1);
  -ms-transform: rotateZ(270deg) scale(1.1);
  -webkit-transform: rotateZ(270deg) scale(1.1);
  transform: rotateZ(270deg) scale(1.1);
}
.cube-folding .leaf3::before {
  -moz-animation-delay: 0.9s;
  -webkit-animation-delay: 0.9s;
  animation-delay: 0.9s;
  background-color: #2a4f7d;
}
.cube-folding .leaf4 {
  -moz-transform: rotateZ(180deg) scale(1.1);
  -ms-transform: rotateZ(180deg) scale(1.1);
  -webkit-transform: rotateZ(180deg) scale(1.1);
  transform: rotateZ(180deg) scale(1.1);
}
.cube-folding .leaf4::before {
  -moz-animation-delay: 0.6s;
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
  background-color: #23436a;
}

@-moz-keyframes folding {
  0%, 10% {
    -moz-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    opacity: 0;
  }
  25%, 75% {
    -moz-transform: perspective(140px) rotateX(0deg);
    transform: perspective(140px) rotateX(0deg);
    opacity: 1;
  }
  90%, 100% {
    -moz-transform: perspective(140px) rotateY(180deg);
    transform: perspective(140px) rotateY(180deg);
    opacity: 0;
  }
}
@-webkit-keyframes folding {
  0%, 10% {
    -webkit-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    opacity: 0;
  }
  25%, 75% {
    -webkit-transform: perspective(140px) rotateX(0deg);
    transform: perspective(140px) rotateX(0deg);
    opacity: 1;
  }
  90%, 100% {
    -webkit-transform: perspective(140px) rotateY(180deg);
    transform: perspective(140px) rotateY(180deg);
    opacity: 0;
  }
}
@keyframes folding {
  0%, 10% {
    -moz-transform: perspective(140px) rotateX(-180deg);
    -ms-transform: perspective(140px) rotateX(-180deg);
    -webkit-transform: perspective(140px) rotateX(-180deg);
    transform: perspective(140px) rotateX(-180deg);
    opacity: 0;
  }
  25%, 75% {
    -moz-transform: perspective(140px) rotateX(0deg);
    -ms-transform: perspective(140px) rotateX(0deg);
    -webkit-transform: perspective(140px) rotateX(0deg);
    transform: perspective(140px) rotateX(0deg);
    opacity: 1;
  }
  90%, 100% {
    -moz-transform: perspective(140px) rotateY(180deg);
    -ms-transform: perspective(140px) rotateY(180deg);
    -webkit-transform: perspective(140px) rotateY(180deg);
    transform: perspective(140px) rotateY(180deg);
    opacity: 0;
  }
}

/* cube folding end */