/* HTML TAG OVERRIDES */
*::selection {
	color: #ffffff;
	background: #415a68;
}

*::-moz-selection {
	color: #ffffff;
	background: #415a68;
}

html,
body {
	background-color: #ffffff;
}

html,
html a {
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
	-webkit-font-smoothing: antialiased;
}

body {
	font-family: 'Source Sans Pro', sans-serif;	
	font-size: 14px;
	font-weight: 400;
	color: #6b6c70;
	padding: 35px 0 0 0;
}

h1 {
	font-size: 24px;
	font-weight: 600;
	color: #415a68;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin: 0;
	padding: 0;	
}

#page-title h1 {
	color: #ffffff;
	margin: 0 0 10px 0;
}

h2 {
	font-size: 24px;
	font-weight: 400;
	color: #6b6c70;
	margin: 0 0 20px 0;
}

table tr td {
	text-align: left;
	vertical-align: top;	
}
/*--------------------*/

/* LINKS */
a.logo {
	display: block;
	float: left;	
}

#content-container a {
	color: #202020;	
}

#content-container a:hover {
	text-decoration: none;	
}

#footer-container a {
	color: #454545;	
}

#footer-container a[href$=".html"] {
	color: #454545;
	text-decoration: none;	
}

#footer-container a:hover {
	text-decoration: none;	
}
/*-------*/

/* CONTAINER DEFINITIONS */
#top-container nav {
	float: right;	
}

#layout-container {
	padding: 20px 0 10px 0;	
}

#page-title-container {
	padding: 0 0 10px 0;	
}

#page-title {
	width: 430px;
	height: 180px;
	float: left;
	display: table;
	background-color: #415a68;	
}

#page-title div {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	padding: 0 10px;
}

#page-image {
	width: 510px;
	height: 180px;
	float: right;
	background-color: #b0b0b0;	
}

#content-container {
	padding: 20px 25px 10px;
	background-color: #e7e7e8;
}

#content-container p {
	line-height: 1.2em;
	margin: 0 0 15px 0;	
}

#content-container p:last-child {
	margin-bottom: 0;	
}

#footer-container {
	font-size: 12px;
	font-weight: 600;
	color: #7f7f7f;
	line-height: 1.2em;
	padding: 10px 0 40px 0;
}
/*-----------------------*/

/* PAGE DEFINITIONS */
#home #content-container {
	padding: 0;
	background-color: #ffffff;	
}

#projects-detail #content-container {
	font-size: 16px;
	min-height: 202px;
}

#projects-detail #content-container p img {
	display: block;
    margin-left: auto;
    margin-right: auto;
}
/*--------------------*/

/* CUSTOM DEFINITIONS */
table h3 {
	color: #000000;
	margin: 0 0 7px 0;
}

table ul {
	list-style: none;
	margin: 0;
	padding: 0;	
}

table ul li a {
	font-size: 14px;
	font-weight: 400;
	color: #6b6c70;
	text-decoration: none;
	display: block;
	padding: 6px 10px;	
	-webkit-transition: background-color .75s cubic-bezier(0.190, 1.000, 0.220, 1.000);
	   -moz-transition: background-color .75s cubic-bezier(0.190, 1.000, 0.220, 1.000);
	     -o-transition: background-color .75s cubic-bezier(0.190, 1.000, 0.220, 1.000);
	        transition: background-color .75s cubic-bezier(0.190, 1.000, 0.220, 1.000);	
}

table ul li a:before {
	content: "\276F";
	padding: 0 5px 0 10px;	
}

table ul li a:hover {
	color: #ffffff !important;
	background-color: #415a68;	
}

#project-image-main {
	width: 511px;
	height: 299px;
	padding: 0 0 10px 0;	
}

#project-image-thumbs {
	width: 510px;
	height: 112px;
	overflow: hidden;
	white-space: nowrap;
	position: relative;
}

#project-image-thumbs-container {
	height: 112px;
	left: 0;
	position: absolute;
	-webkit-transition: left 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000); 
	   -moz-transition: left 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000); 
	     -o-transition: left 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000); 
	        transition: left 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

.project-image-thumb-column {
	display: inline-block;
	width: 78px;
	margin: 0 7px 0 0;
}

.project-image-thumb {
	display: block;
	width: 74px;
	height: 43px;
	border: 2px solid #ffffff;
	box-sizing: content-box;
	background-color: #cccccc;
	-webkit-transition: border-color 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000); 
	   -moz-transition: border-color 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000); 
	     -o-transition: border-color 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000); 
	        transition: border-color 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
}

.project-image-thumb.top {
	margin: 0 0 9px 0;	
}

.project-image-thumb:hover,
.project-image-thumb.active {
	border-color: #f41818;	
}

.project-arrow-left,
.project-arrow-right {
	position: absolute;
	height: 103px;
	width: 40px;
	top: 0;
	display: table;
	opacity: 0;
	cursor: pointer;
	-webkit-transition: opacity 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000); 
	   -moz-transition: opacity 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000); 
	     -o-transition: opacity 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000); 
	        transition: opacity 500ms cubic-bezier(0.190, 1.000, 0.220, 1.000);
	z-index: 3;
}

.project-arrow-left:hover,
.project-arrow-right:hover {
	opacity: 1;	
}

.project-arrow-left {
	left: 0;
	background: -moz-linear-gradient(left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0)));
	background: -webkit-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
	background: -o-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
	background: -ms-linear-gradient(left, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
	background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
}

.project-arrow-right {
	right: 0;
	background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,1)));
	background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
	background: -o-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
	background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
	background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
}

.project-arrow-left:after {
	content: "\276E";
}

.project-arrow-right:after {
	content: "\276F";
}

.project-arrow-left:after,
.project-arrow-right:after {
	color: #f41818;
	font-size: 26px;
	font-weight: 700;
	display: table-cell;
	vertical-align: middle;
	text-align: center;	
}
/*--------------------*/

/* MENU DEFINITIONS */
nav {
	text-align: right;
	white-space: nowrap;
}

nav ul {
	margin: 0;
	list-style: none;	
}

.menu-item {
	display: inline-block;
	padding: 25px 1.4em 0;
	text-align: center;
	white-space: nowrap;
}

.menu-item:last-child {
	padding-right: 0;
}

.menu-item a {
	font-size: 16px;
	font-weight: 600;
	color: #000000;
	letter-spacing: 3px;
	text-decoration: none;
	text-transform: uppercase;
	-webkit-transition: color .75s cubic-bezier(0.190, 1.000, 0.220, 1.000);
	   -moz-transition: color .75s cubic-bezier(0.190, 1.000, 0.220, 1.000);
	     -o-transition: color .75s cubic-bezier(0.190, 1.000, 0.220, 1.000);
	        transition: color .75s cubic-bezier(0.190, 1.000, 0.220, 1.000);	
}

.menu-item a:hover,
.menu-item.active a {
	color: #9a9a9a;	
}

.menu {
	display: none;
	background-color: #ececec;
	z-index: 20000;
	position: fixed;
}

.menu h3 {
	font-size: 14px;
	font-weight: 700;
	color: #818285;
	text-align: center;
	text-transform: uppercase;
	margin: 0;	
	padding: 10px 20px;
	border-right: 1px solid #dedddd;
	border-bottom: 1px solid #d3d0d1;
	border-left: 1px solid #d6d5d5;
	background: #efefef;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VmZWZlZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNjN2M2YzYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top, #efefef 0%, #c7c6c6 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #efefef), color-stop(100%, #c7c6c6));
	background: -webkit-linear-gradient(top, #efefef 0%, #c7c6c6 100%);
	background: -o-linear-gradient(top, #efefef 0%, #c7c6c6 100%);
	background: -ms-linear-gradient(top, #efefef 0%, #c7c6c6 100%);
	background: linear-gradient(to bottom, #efefef 0%, #c7c6c6 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#efefef', endColorstr='#c7c6c6', GradientType=0);
}

.menu ul {
	list-style: none;
	margin: 0;
	padding: 0;	
}

.menu ul li a {
	font-size: 12px;
	font-weight: 400;
	color: #6b6c70;
	text-decoration: none;
	display: block;
	padding: 6px 10px;	
	-webkit-transition: background-color .75s cubic-bezier(0.190, 1.000, 0.220, 1.000);
	   -moz-transition: background-color .75s cubic-bezier(0.190, 1.000, 0.220, 1.000);
	     -o-transition: background-color .75s cubic-bezier(0.190, 1.000, 0.220, 1.000);
	        transition: background-color .75s cubic-bezier(0.190, 1.000, 0.220, 1.000);	
}

.menu ul li a:before {
	content: "\276F";
	padding: 0 5px 0 10px;	
}

.menu ul li a:hover,
.menu ul li.active a {
	color: #ffffff;
	background-color: #415a68;	
}
/*-----------------------*/