﻿@import url(https://fonts.googleapis.com/css?family=Roboto:300,400,100);

body {
	font-family:Roboto;
	color:#646464;
	padding:0;
	margin:0;
}

/* Main layout is a table with 3 columns */

#container {
	width:100%;
	height:100%;
	display:table;
	margin-bottom:200px;
}
#row {
	display:table-row;
}
#left, 
#right, 
#middle {
	display:table-cell;
	vertical-align:top;
}

/* Left and right columns have background images, middle column contains content */

#left .bg-img, 
#right .bg-img {
	margin-top:120px;
	height:338px;
	background-color:#484848;
	background-repeat:no-repeat;
}
#left .bg-img {
	background-image:url('./img/bg/default-left.jpg');
	background-position: right top;
}
#right .bg-img {
	background-image:url('./img/bg/default-right.jpg');
	background-position: left top;
}
#middle {
	width:1000px;
}

/* #main contains navigation and content */

#main {
	position:relative;
}

/* Navigation styling, #nav scrolls down with javascript */

#nav {
	position:absolute;
	top:120px;
	left:50px;
	width:150px;
	background-color:#748963;
	padding:14px 25px;
	border-radius:4px;
}
#nav {
	/* Gradients */
	background: #6e815d; /* Old browsers */
	background: -moz-linear-gradient(top, #92ac7c 0%, #6e815d 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#92ac7c), color-stop(100%,#6e815d)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #92ac7c 0%,#6e815d 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #92ac7c 0%,#6e815d 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #92ac7c 0%,#6e815d 100%); /* IE10+ */
	background: linear-gradient(to bottom, #92ac7c 0%,#6e815d 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#92ac7c', endColorstr='#6e815d',GradientType=0 ); /* IE6-9 */
}
#nav ul {
	list-style:none;
	padding:0;
	margin:0;
	line-height:24px;
	font-weight:300;
}
#nav a {
	color:white;
	text-decoration:none;
}
#nav a:hover {
	padding-left:6px;
}

/* Content styling */

#content {
	position:relative;
	width:650px;
	margin-left:300px;
	margin-right:50px;
}

#content h1, 
#content h2, 
#content h3,
#content h4,
#content p,
#content ul {
	margin:0;
	padding:0;
}

#content h1 {
	font-weight:100;
	font-size:48px;
	height: 113px;
	line-height:113px;
}
#content h2 {
	font-size:18px;
	font-weight:400;
	color:#748963;
	text-transform:uppercase;
	margin-bottom:26px;
	line-height:26px;
}
#content h3 {
	font-size:16px;
	font-weight:400;
}
#content p,
#content ul {
	font-weight:300;
	margin-bottom:24px;
	line-height:24px;
	font-size:14px;
	text-align:justify;
}
#content a {
	color:#748963;
}
#content a:hover {
	color:black;
}
#content ul {
	list-style-position:inside;
	list-style-type:none;
	padding:0;
	margin:0;
}
/* TODO: margin 0*/

/* Content is usually divided into two columns: text left, and links right */

#content .two-col-block {
	display:block;
}
#content .two-col-block .left {
	float:left;
	width:400px;
}
#content .two-col-block .right {
	float:right;
	width:200px;
}
#content .two-col-block .full-width {
	width:100%;
}

/* Left part of content (text) styling */

#content  .left {
	
}

/* Right part of content (links) styling */

#content .right {
	font-weight:300;
	line-height:24px;
	font-size:14px;
}
#content .right h2 {
	font-weight:400;
	color:#858585;
}

#content .right .link-group {
	margin-bottom:24px;
}
#content .right .link-group h4 {
	font-weight:400;
	color:#858585;
}
#content .right .link {
	position:relative;
}
#content .right .link a {
	text-decoration:none;
}
#content .right .link:hover a:after {
	content:" →";
}
#content .right .link:hover .description {
	display:block;
}
#content .right .link .description {
	display:none;
	position:absolute;
	color:white;
	left:-310px;
	top:0;
	border-radius:4px;
	width:250px;
	padding:10px 20px;
	background-color:#646464;
	/*background-color:rgba(100,100,100,0.9);*/
}

#content .credits {
	font-size:11px; 
	color:#B0B0B0;
	position:fixed;
	bottom:10px;
	z-index:-1;
	margin-right:10px;
}
