/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/*--------------------------------------------------*/

body {
	font-family: 'Roboto', sans-serif;
	font-weight: 300;
	font-size: 14px;
	line-height: 20px;
	color: #999999;
	background: #fafafa /*url('images/gridbg.gif')*/;
	-webkit-text-size-adjust: 100%;
}

#wrapper {
	max-width: 978px;
	margin-right: auto;
	margin-left: auto;
	padding: 0px 40px;
}

#top-bar {
	float: left;
	width: 100%;
	height: 100px;
	background-color: #2b2b2b;
}

#top-bar-bg {
	position: absolute;
	z-index: -1;
	width: 100%;
	height: 100px;
	background-color: #2b2b2b;
}

#logo {
	margin-top: 35px;
}

#header {
	float: left;
	width: 100%;
	padding-top: 40px;
}

.span1 {
	float: left;
	width: 31.33%;
	margin-right: 3%;
}

.span1right {
	float: right;
	width: 31.33%;
}

.span2right {
	float: right;
	width: 65.65%;
}

.span3 {
	float: left;
	width: 100%;
}

.small-spacer {
	height: 100px;
}

.big-spacer {
	height: 200px;
}

.project {
	float: left;
	width: 100%;
}

.line {
	height: 2px;
	width: 100%;
	margin-bottom: -2px;
	background-color: #2b2b2b;
}

.line2 {
	height: 2px;
	width: 65.66%;
	margin-bottom: -2px;
	background-color: #2b2b2b;
}

.line3 {
	height: 2px;
	width: 100%;
	margin-bottom: -2px;
	background-color: #555555;
}

.project-img {
	display: block;
	width: 100%;
}

#grey-bg {
	width: 100%;
	background-color: #e5e5e5;
}

#about-me {
	max-width: 978px;
	margin-right: auto;
	margin-left: auto;
	padding: 100px 40px 0px 40px;
}

#about-col1 {
	padding-top: 20px;
}

#about-col2 {
	padding-top: 60px;
}

.about-spacer {
	height: 100px;
}

#bottom-bar {
	float: left;
	width: 100%;
	height: 200px;
	padding-top: 100px;
	background-color: #2b2b2b;
}

#footer {
	max-width: 978px;
	margin-right: auto;
	margin-left: auto;
	padding: 0px 40px;
}

#back-to-top {
	position: fixed;
	top: -20px;
	left: 50%;
	width: 40px;
	margin-left: -20px;
	-webkit-transition:all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
	-moz-transition:all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
	-o-transition:all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
	-ms-transition:all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
	transition:all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#back-to-top.hiding {
	top: -100px;
}

#back-to-top2 {
	display: none;
}

.clear {
    clear: both;
}

.style1 {
	font-weight: 400;
	color: #2b2b2b;
}

.style2 {
	color: #cccccc;
}

.style3 {
	color: #555555;
	font-size: 12px;
}

a:link, a:visited, a:active{
	color: #999999;
	text-decoration: none;
	outline: none;
}

a:hover {
	color: #999999;
	text-decoration: none;
	outline: none;
}

#about-me a:link, #about-me a:visited, #about-me a:active {
	color: #777777;
	text-decoration: none;
	outline: none;
}

#about-me a:hover {
	color: #2b2b2b;
	text-decoration: none;
	outline: none;
}

#footer a:link, #footer a:visited, #footer a:active, #footer a:hover {
	color: #777777;
	text-decoration: none;
	outline: none;
}

@media only screen and (min-width: 698px) and (max-width: 900px) {
	body {
		font-size: 12px;
		line-height: 16px;
	}

	#wrapper {
		padding: 0px 30px;
	}

	#about-me {
		padding: 100px 30px 0px 30px;
	}

	#about-col1 {
		padding-top: 16px;
	}

	#about-col2 {
		padding-top: 48px;
	}

	#footer {
		padding: 0px 30px;
	}
}

@media only screen and (max-width: 697px) {
	body {
	    font-size: 14px;
	    line-height: 20px;
	}

	#wrapper {
		padding: 0px 20px;
	}

	.span1 {
		float: none;
		width: 100%;
		margin-right: 0px;
	}

	.span1right {
		float: none;
		width: 100%;
	}

	.span2right {
		float: none;
		width: 100%;
	}

	.span3 {
		float: left;
		width: 100%;
	}

	.small-spacer {
		height: 60px;
	}

	.big-spacer {
		height: 100px;
	}

	.description {
		padding-bottom: 20px;
	}

	.project-img {
		max-width: 642px;
	}

	#logos1 {
		float: left;
		width: 47%;
	}

	#logos2 {
		float: right;
		width: 47%;
	}

	#about-me {
		padding: 60px 20px 0px 20px;
	}

	.line2 {
		width: 100%;
	}

	#about-col2 {
		padding-top: 20px;
		padding-bottom: 20px;
	}

	.about-spacer {
		height: 60px;
	}

	#bottom-bar {
		height: 140px;
		padding-top: 60px;
	}

	#footer {
		padding: 0px 20px;
	}

	#footer-col2 {
		display: none;
	}

	#footer-col3 {
		display: none;
	}

	#back-to-top {
		display: none;
	}

	#back-to-top.hiding {
		display: none;
	}

	#back-to-top2 {
		display: block;
	}
}
