﻿@charset "utf-8";

html, body
{
	height: 100%;
	margin: 0px;
	font-size: 15px;
	background-color: #fff;
	background-image: url(images/bg.jpg);
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
}

a
{
	color: #0071BC;
	text-decoration: none;
}

a:hover
{
	text-decoration: underline;
}

p
{
	padding: 0px;
	margin: 0px;
	margin-bottom: 12px;
}

/*
	Header
*/

.header
{
	position: fixed;
	width: 100%;
	height: 80px;
	z-index: 500;
	background-image: url(images/header_repeat.png);
}

.header-center
{
	display: table;
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
}

.title
{
	margin: 0px;
	padding: 0px 0px 0px 20px;
	display: table-cell;
	vertical-align: middle;

	color: #fff;

	height: 80px;
}

.title .name
{
	margin: -4px;

	font-size: 28px;
	font-weight: bold;
	font-family: 'Times New Roman', Times, serif;

	text-shadow: 0px 2px 1px rgba(0, 0, 0, 0.75);
}

.title .position
{
	font-size: 14px;
	font-style: italic;

	text-shadow: 0px 2px 1px rgba(0, 0, 0, 0.75);
}

.contact
{
	color: #fff;
	display: table-cell;
	vertical-align: middle;
	padding-bottom: 10px;
	text-align: right;
	padding-right: 14px;

	user-select: none;
	-o-user-select: none;
	-ms-user-select: none;
	-moz-user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
	-webkit-tap-highlight-color: transparent;
}

.contact img
{
	padding-left: 10px;
}

/*
	Page
*/

.page
{
	position: relative;
	width: 100%;
	min-height: calc(100% - 80px);
	margin: 0 auto;
	max-width: 1000px;
	background-color: #fff;
	border-bottom-left-radius: 7px;
	border-bottom-right-radius: 7px;
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
	-o-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
	-ms-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
	padding-top: 80px;
}

/*
	Navigation
*/

#nav-button
{
	display: none;
}

.mobile-nav
{
	display: none;

	position: fixed;
	top: -100%;
	left: 0px;
	width: 100%;
	max-height: calc(100% - 100px);

	padding: 10px 0px 10px 0px;

	overflow: scroll;
	background-color: #111;

	transition: top 0.3s;
}

.mobile-nav.opened
{
	top: 80px;
}

.mobile-nav ul
{
	margin: 0px;
	padding: 0px;
	list-style: none;
}

.mobile-nav ul div
{
	position: relative;
	padding: 10px 20px 10px 20px;

	transition: padding 0.3s, background 0.3s;
}

.mobile-nav ul div:after
{
	content: " ";
	position: absolute;
	top: 30%;
	left: 10px;

	width: calc(100% - 20px);
	height: 40%;

	border-left: 2px solid #222;

	transition: border 0.2s;
}

.mobile-nav ul a
{
	color: #eee;
	font-weight: bold;
}

.mobile-nav ul a:hover
{
	text-decoration: none;
}

.mobile-nav ul a:hover div, .mobile-nav ul li.active a div
{
	padding-left: 30px;
	background-color: #0071bc;
}

.mobile-nav ul a:hover div:after, .mobile-nav ul li.active div:after
{
	border-color: #eee;
}

.navigation
{
	width: 100%;
	max-width: 1000px;
	position: fixed;
	z-index: 500;
	background-color: #fff;
	padding-bottom: 7px;
	box-shadow: 0px 5px 5px rgba(255, 255, 255, 1);
	-o-box-shadow: 0px 5px 5px rgba(255, 255, 255, 1);
	-ms-box-shadow: 0px 5px 5px rgba(255, 255, 255, 1);
	-moz-box-shadow: 0px 5px 5px rgba(255, 255, 255, 1);
	-webkit-box-shadow: 0px 5px 5px rgba(255, 255, 255, 1);
}

.navigation ul
{
	width: 100%;
	list-style: none;
	padding: 0px;
	margin: 0px;
}

.navigation ul li
{
	float: left;
	margin-left: 10px;
}

.navigation ul li a
{
	color: #000;
	display: table;
	text-decoration: none;
}

.navigation ul li a div
{
	display: table-cell;
	width: 96px;
	height: 32px;
	font-size: 13px;
	text-align: center;
	vertical-align: middle;
	background-color: #cbcbcb;
	border-bottom-left-radius: 7px;
	border-bottom-right-radius: 7px;
	box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.3);
	-o-box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.3);
	-ms-box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow: 0px 2px 0px rgba(0, 0, 0, 0.3);
	text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.75);
	-o-text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.75);
	-ms-text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.75);
	-moz-text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.75);
	-webkit-text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.75);
	transition: color 0.3s, background 0.3s, text-shadow 0.3s, height 0.2s;
}

.navigation ul li a:hover
{
	color: #fff;
}

.navigation ul li a:hover div
{
	height: 38px;

	background-color: #0071bc;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.75);
	-o-text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.75);
	-ms-text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.75);
	-moz-text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.75);
	-webkit-text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.75);
}

.navigation ul li.active a
{
	color: #fff !important;
}

.navigation ul li.active a div
{
	height: 38px;

	background-color: #0071bc !important;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.75) !important;
	-o-text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.75) !important;
	-ms-text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.75) !important;
	-moz-text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.75) !important;
	-webkit-text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.75) !important;
}

/*
	Content
*/
.content
{
	clear: both;
	padding: 7px;
	padding-top: 54px;
	padding-bottom: 100px;
	min-height: inherit;
}

/*
	Footer
*/

.footer
{
	position: absolute;
	bottom: 0px;

	clear: both;
	font-size: 11px;
	padding: 7px;
	text-align: center;

	width: calc(100% - 28px);
}

/*
	Project Box
*/

.project
{
	clear: both;
}

.project .project-title
{
	font-weight: bold;
	font-size: 22px;
	padding-left: 4px;
}

.project .project-subtitle
{
	font-size: 12px;
	padding-left: 4px;
	padding-bottom: 7px;
	background-repeat: no-repeat;
}

.project-box
{
	width: 100%;
	margin-top: 10px;
}

.project-video
{
	width: 50%;
}

.project-video iframe
{
	width: 100%;
}

.project-video img
{
	width: 100%;
}

.project-description
{
	width: 50%;
	box-sizing: border-box;
	border: 10px solid transparent;
	border-top-width: 0px;
	border-bottom-width: 0px;
}

.project-spacer
{
	clear: both;
	height: 10px;
}

.page-banner
{
	position: relative;
	display: block;

	width: calc(100% - 4vw);
	height: 95px;

	padding: 0px 2vw 0px 2vw;
	margin-bottom: 40px;

	color: #111;
	font-size: 20px;
	line-height: 75px;
	font-weight: bold;
	font-family: 'Times New Roman', Times, serif;

	border-top-left-radius: 7px;
	border-top-right-radius: 7px;
	border-bottom-left-radius: 7px;
	border-bottom-right-radius: 7px;

	transition: color 0.3s, background 0.3s, font-size 0.3s;
}
.page-banner:hover
{
	text-decoration: none;
}

.page-banner:before
{
	content: "";
	display: block;

	position: absolute;
	left: 0px;
	bottom: 0px;

	width: 100%;
	height: 20px;

	border-bottom-left-radius: 7px;
	border-bottom-right-radius: 7px;
}

.page-banner:after
{
	content: "";
	display: block;

	position: absolute;
	left: 0px;
	bottom: 20px;

	width: 100%;
	height: 1px;
}

.page-banner.right
{
	text-align: right;
}

.page-banner.left
{
	background: linear-gradient(to right, #cbcbcb, #cbcbcb, transparent);
}

.page-banner.right
{
	background: linear-gradient(to left, #cbcbcb, #cbcbcb, transparent);
}

.page-banner.left:hover
{
	color: #fff;
	font-size: 24px;
	background: linear-gradient(to right, #0071bc , #0071bc , transparent);
}

.page-banner.right:hover
{
	color: #fff;
	font-size: 24px;
	background: linear-gradient(to left, #0071bc , #0071bc , transparent);
}

.page-banner.left:after
{
	background: linear-gradient(to right, #eee, #eee, transparent);
}

.page-banner.right:after
{
	background: linear-gradient(to left, #eee, #eee, transparent);
}

.page-banner.left:before
{
	background: linear-gradient(to right, #222, #222, transparent);
}

.page-banner.right:before
{
	background: linear-gradient(to left, #222, #222, transparent);
}

/*
	Project LEFT
*/

.left .project-title
{
	text-align: left;
}

.left .project-subtitle
{
	text-align: left;
	background-position: left bottom;
	background-image: url(images/seperator_left.png);
}

.left .project-video
{
	float: left;
}

.left .project-description
{
	float: left;
}

/*
	Project RIGHT
*/

.right .project-title
{
	text-align: right;
}

.right .project-subtitle
{
	text-align: right;
	background-position: right bottom;
	background-image: url(images/seperator_right.png);
}

.right .project-video
{
	float: right;
}

.right .project-description
{
	float: right;
}

.resume
{
	width: 70%;
	margin: 0 auto;
}

/*
	Mobile Device
*/
@media screen and (max-width: 752px)
{
	.header
	{
		position: fixed;
	}
	
	.navigation
	{
		display: none;
	}

	#nav-button
	{
		display: inline;
	}

	.mobile-nav
	{
		display: block;
	}

	.content
	{
		padding-top: 10px;
	}
	
	.project-video
	{
		width: 100%;
	}
	
	.project-description
	{
		width: 100%;
		border: 0px solid transparent;
	}
	
	.project-title
	{
		text-align: left !important;
	}
	
	.project-subtitle
	{
		text-align: left !important;
		background-position: left bottom !important;
		background-image: url(images/seperator_left.png) !important;
	}
	
	.project-video
	{
		float: none;
	}
	
	.project-description
	{
		float: none;
	}
}

@media screen and (max-width: 500px)
{
	.title .name
	{
		font-size: 5.6vw;
	}

	.title .position
	{
		font-size: 2.8vw;
	}
}