html, body {
	height: 100% !important;
	margin: 0;
	padding: 0;
	background-color: #f6f6f6;
	font-family: 'Open Sans', Arial, serif;
	font-size: 14px;	
	line-height: 18px;
	color: #364040;
}
a, br, img, form {
	margin: 0;
	padding: 0;
	outline: none;
	border: 0;
}
a:link, a:active, a:visited {
	text-decoration: none;
	color: #0085d2;
}
a:hover {
	text-decoration: underline;
}
.left {
	float: left;
}
.right {
	float: right;
}
.clear {
	clear: both;
}
.test {
	outline: 1px solid red;	
}

/* Header */
.header {
	position: fixed;
	width: 100%;
	height: 63px;
	background: none;
	background-color: #fff;
	border-bottom: 1px solid #99a0a4;
	-webkit-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.2);
	box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.2);
	text-align: center;
	z-index: 20;
}
.logo {
	width: calc(100% - 20px);
	max-width: 784px;
	margin: 11px auto 5px;
}
.patrick {
	width: 216px;
	margin: 0 24px;
}
.spike {
	max-width: 260px;
	margin-top: 20px;
}
.flip-h {
	transform: scaleX(-1);
}
.nav {
	position: relative;
	width: 190px;
	height: 52px;
	margin: 4px auto;
	background: url('/assets/images/bg_nav.png') center bottom no-repeat;
	background-size: 190px 28px;
	text-align: left;
}
.nav a {
	position: absolute;
	display: inline-block;
	top: 7px;
	width: 35px;
	height: 35px;
	background-size: 23px 23px;
	background-color: #80878d;
	border-radius: 50%;  
	transition: background-color 1s;
	-webkit-transition: background-color 1s;    
	-moz-transition: background-color 1s;
}
.nav a:hover, .nav a.active {
	background-color: #0085d2;          
	transition: background-color .5s; 
	-webkit-transition: background-color .5s;  
	-moz-transition: background-color .5s;
}
.nav a.active {
	cursor: default;
}
.web {
	left: 10px;
	background: url('/assets/images/icon_web.svg') center center no-repeat;
}
.logos {
	left: 55px;
	background: url('/assets/images/icon_logos.svg') center center no-repeat;
}
.print {
	left: 100px;
	background: url('/assets/images/icon_print.svg') center center no-repeat;
}
.info {
	left: 145px;
	background: url('/assets/images/icon_info.svg') center center no-repeat;
}
.tooltip { 
	position: absolute;
	visibility: hidden;
	width: 51px;  
	margin: 50px 0 0 -9px;
	padding: 3px 0;
	background-color: #fff;
	border: 1px solid #9ba2a6;
	border-radius: 3px;
	box-shadow: 0 0 5px rgba(0,0,0,0.2);    
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 0 5px rgba(0,0,0,0.2);
	opacity: 0;
	color: #333;     
	text-align: center;
	transition: all .5s; 
	-webkit-transition: all .5s;  
	-moz-transition: all .5s;
}
.tooltip-arrow {
	position: absolute;
	width: 19px;
	height: 10px;
	margin: -13px 0 0 16px;
	background: url('/assets/images/tooltip_arrow.png') no-repeat;
}
.nav a:hover .tooltip {
	visibility: visible;
	margin: 45px 0 0 -9px;
	opacity: 1;
	transition: all .5s .3s; 
	-webkit-transition: all .5s .3s;  
	-moz-transition: all .5s .3s;
}
.nav a.active .tooltip {
	opacity: 0;
	transition: all .5s .3s; 
	-webkit-transition: all .5s .3s;  
	-moz-transition: all .5s .3s;
}

/* Content */
.content {
	min-width: 320px;
	padding: 50px 30px;
}
.main-content {
	padding-top: 105px;
}
.content.gray-bg { 
	background-color: #e9e9e9;
}
.title {
	width: 100%;
	margin: 15px 0 46px 0;
	font-size: 20px;
	line-height: 32px;
	font-weight: 400;
	color: #80878d;
	text-align: center;
}
.title span {
	padding: 0 20px;
	background-color: #f6f6f6;
	z-index: 10;
}
.title .divider {
	width: 100%;
	height: 1px;
	margin-top: -16px;
	background-color: #e3e3e3;
	z-index: 1;
}
.gray-bg .title span {
	background-color: #e9e9e9;
}
.gray-bg .title .divider {
	background-color: #d4d4d4;
}

/* Masonry */
.masonry-container {
	min-height: 100vh;
}
.masonry {
	display: none;
	margin: 8px 10px;
	-webkit-column-count: 3;
	-webkit-column-gap: 20px;
	-moz-column-count: 3;
	-moz-column-gap: 20px;
	column-count: 3;
	column-gap: 20px;
	line-height: 0;
}
.masonry img {
	width: 100%;
	margin: 20px 0;
	outline: 5px solid #fff;
	box-shadow: 0 0 5px 5px rgba(0,0,0,0.4);    
	-webkit-box-shadow: 0 0 5px 5px rgba(0,0,0,0.4);
	-moz-box-shadow: 0 0 5px 5px rgba(0,0,0,0.4);
	z-index: 0;
}

/* Web content */
.web-overlay-container {
	position: relative;
	padding: 0 3%;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { /* ie10, ie11+ */
	.web-overlay-container {
		overflow: hidden;
	}
}
.web-overlay-container:hover .web-overlay {
	visibility: visible;
	height: 98px;
	transition: all .3s .5s;
	-webkit-transition: all .3s .5s;    
	-moz-transition: all .3s .5s;
}
.web-overlay {
	position: absolute;
	visibility: hidden;
	width: 94%;
	height: 1px;
	margin-top: 20px;
	background: url('/assets/images/bg_overlay.png');
	color: #fff;
	line-height: 18px;
	overflow: hidden;
	z-index: 10;
	transition: all .5s;
	-webkit-transition: all .5s;    
	-moz-transition: all .5s;
}
.web-overlay-content {
	height: 48px;
	padding: 0 4%;
	line-height: 48px;
	text-align: center;
	overflow: hidden;
}
.web-overlay-button-container {
 	width: 100%;
 	border-top: 1px solid #555;
}
.web-overlay-button-container .fa {
	margin-right: 6px;
	font-wise: 14px;	
}
.web-overlay-button {
	padding: 15px 4%;
	color: #c9c9c9;
	text-align: center;
	float: left;
}
.web-overlay-button:hover {
	color: #fff;
}
.web-overlay-button-text {
	width: 96px;
	margin: 0 auto;	
}
.enlarge {
	width: 41%;
	border-right: 1px solid #555;
}
.launch{
	width: 42%;
}
.inactive .web-overlay-button:hover {
	color: #c9c9c9 !important;
	cursor: default;
}
.touch-link {
	display: none;
	position: absolute;
	top: 20px;
	right: 3%;
	bottom: 20px;
	left: 3%;
	cursor: default;
}

/* Logos content */
.logos-content {
	width: 18%;
	height: 250px;
	margin: 50px 3%;
	color: #aaa;
	text-align: center;
	float: left;
}
.logos-img {
	height: 214px;
	text-align: center;
}
.logos-content img {
	max-width: 98%;
	max-height: 200px;
	margin-bottom: 10px;
}

/*Print content */
.print-content {
	color: #aaa;
	text-align: center;
}
.print-img {
	box-shadow: 0 0 5px rgba(0,0,0,0.4);    
	-webkit-box-shadow: 0 0 5px rgba(0,0,0,0.4);
	-moz-box-shadow: 0 0 5px rgba(0,0,0,0.4);	
}

/* Info content */
.info-container {
	min-height: 90vh;
	background-color: #fff;
}
.info-content {
	width: 94%;
	max-width: 800px;
	margin: 23px auto;
	padding: 2%;
	background-color: #fff;
	font-size: 16px;
    line-height: 26px;
    color: #767d84;
}
.info-title {
	border-bottom: 1px solid #efefef;	
	font-size: 26px;
	line-height: 30px;
	font-weight: 300;
	color: #c9c9c9;
}
.me {
	max-width: 160px;
	margin: 20px 25px 10px 0;
	border: 1px solid #efefef;
	float: left;
}
.skill-content {
	max-width: 500px;
}
.skill-content div {
	width: calc(50% - 35px);
	padding: 20px 30px 20px 5px;
	line-height: 34px;
	float: left;
}
.info-content td:first-child {
	width: 240px;
}
.fa.fa-linkedin, .fa.fa-paper-plane {
	display: inline-block;
	width: 34px;
	height: 34px;
	margin-right: 4px;
	border: 1px solid #767d84;
	border-radius: 50%;
	font-size: 19px;
	line-height: 34px;
	color: #767d84;
	text-align: center;
	transition: all .3s ease-in;
}
.fa.fa-paper-plane {
	font-size: 16px;
}
a.email-link:hover .fa {
	border-color: #0085d2;
	text-decoration: none !important;
	color: #0085d2;
	transition: all .3s ease-in;
}
a.email-link:hover {
	text-decoration: none;
}

/* Media queries */
@media (max-width: 1300px) {
	.masonry {
		-moz-column-count: 3;
		-webkit-column-count: 3;
		column-count: 3;
	}
	.logos-content {
		width: 23%;
	}
	.info-content {
		width: 90%;
		padding: 4%;
	}
}
@media (max-width: 1100px) {
	.masonry {
		-moz-column-count: 2;
		-webkit-column-count:2;
		column-count: 2;
	}
	.logos-content {
		width: 31.33%;
	}
}
@media (max-width: 900px) {
	.masonry {
		-moz-column-count: 2;
		-webkit-column-count: 2;
		column-count: 2;
	}
	.logos-content {
		width: 48%;
	}
}
@media (max-width: 820px) {
	.spike {
		display: none;
	}	
}
@media (max-width: 700px) {
	.masonry {
		margin: 6px;
		-moz-column-count: 1;
		-webkit-column-count: 1;
		column-count: 1;
	}
	.logos-content {
		width: 88%;
		margin: 20px 6%;
	}
	.info-content {
		width: 82%;
		padding: 8%;
	}
}