/* This CSS file is part of the HTML5 / CSS3 tutorial on http://www.lingulo.com */

/* GLOBAL */
body {
	background:white;
	font-family: 'Roboto', sans-serif;
	color:#333333;
}

.clearfix {
	clear:both;
}

.hidden {
	position:absolute;
	clip: rect(1px 1px 1px 1px); /* IE6 & 7 */
	clip: rect(1px, 1px, 1px, 1px);
}

#content {
	width:80%;
	margin:0 auto;
}

p {
	margin:5px 0;
	line-height:25px;
}

a {
	text-decoration:none;
	color:inherit;
	transition: color .5s ease;
}

strong {
	font-weight:bold;
}

figcaption strong {
	border-bottom: 1px solid #D6D0C1;
	padding-bottom:10px;
	margin: 10px 0;
	display:block;
}

figcaption {
	font-size:14px;
	width:200px;
}



/* HEADER */

header {
	position:relative;
	width:auto;
	max-width:900px;
	margin: 0 auto 20px auto;
	border-bottom:1px solid #ddd;
	padding-bottom:5px;
}

header h1 {
	margin:35px 0 0 0;
	font-size:32px;
	color:#726565;
	font-family: "Courier New","Courier","monospace";
	letter-spacing: 5px;
	line-height:32px;
}

header p {
	font-family: 'Roboto', sans-serif;
	font-size:14px;
	color: #726565;
	text-align:right;
	margin-right:5px;
}

nav {
	position:absolute;
	right:0;
	bottom:10px;
}

nav ul {
	list-style:none;
}

nav ul li {
	display:block;
	float:left;
	padding:3px 15px;
}

nav ul li a {
	font-family: 'Roboto', sans-serif;
	text-transform:uppercase;
	transition: all .25s ease;
	font-size:13px;
}

nav ul li a:hover {
	color:#aaa;
}

#mobileMenu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	display: none;
}

#mobileMenu ul li {
	display:block;
	background-color: #ddd;
	color: #333;
	padding: 12px 0;
	letter-spacing: 0.1em;
	text-align: center;
	text-transform: uppercase;
	border-bottom: 1px solid #CC5836;
}

.toggleMobile {
	display: none;
}

#subtitle {
	float:left;
	margin-top:-3px;
}


/* portfolio page */

.portfolio {
	float:left; 
	width:252px;
	margin-right:14px; 
	height:280px; 
	background:transparent url(/images/lcd2.jpg) no-repeat scroll center top;\
}
.portfolio a {
	text-decoration:none; 
	font-family:"Courier New","Courier","monospace"; 
	font-size:13px; 
	color:#726565;
}
.portfolio a:hover {
	text-decoration:underline;
}
.site {
	width:226px; 
	height:132px; 
	margin:11px 11px 60px; 
	border:none;
}
.maintenanceonly {
	font-size:10px; 
	font-style:italic; 
	font-family:"Courier New","Courier","monospace"; 
	color:#726565;
}

/* FOOTER */

footer {
	position:relative;
	clear:both;
	width:auto;
	height:280px;
	background:white;
	border-top:1px solid #ddd;
	margin-top:30px;
}

footer .wrapper {
	line-height:25px;
	margin: 0 auto;
	padding-top:20px;
	width:auto;
	max-width:900px;
	font-size:14px;
}

footer ul li {
	display:block;
	float:right;
	padding:0 0 10px 25px;
}
footer ul li a {
	font-family: 'Roboto', sans-serif;
}

footer ul li a:hover {
	color:#aaa;
}

footer .wrapper .column h4 {
	font-size: 16px;
	color: #fff;
	border-bottom: 1px solid #444444;
	padding: 0 0 10px 0;
	margin-bottom: 10px;
}

#copyright {
	text-align:center;
}

#profile {
	float:left;
	text-align:center;
}
#profile h4 {
	font-size:18px;
	color:#726565;
	font-family: "Courier New","Courier","monospace";
	letter-spacing: 3px;
}
#profile h5 {
	font-size:13px;
	color:#726565;
	font-family: 'Roboto', sans-serif;
	margin-top:-6px;
}

#copyright {
	background: white;
	height:70px;
	width:100%;
	position:absolute;
	bottom:0px;
	left:0px;
}
#copyright .wrapper {
	padding-top:25px;
	position:relative;
}
#copyright span {
	font-family: 'Roboto', sans-serif;
	color: #333;
	font-size:13px;
}
#copyright .wrapper .social {
	position:absolute;
	right:0;
	top:25px;
}
#copyright .wrapper .social a {
	transition: opacity .25s ease;
	opacity: 0.3;
	margin-left: 12px;
	display:block;
	float:left;
}
#copyright .wrapper .social a:hover {
	opacity: 0.7;
}
#copyright .wrapper a {
	color: #ccc;
}

#copyright .wrapper a:hover {
	color: #333;
}


/* Resume page */
#resumeframe {
	width:90%; 
	height:3500px; 
	background:#f2f2f2;
	border:1px solid #ddd;
	padding:30px;
	border-radius:4px;
}
#printlink {
	float:right;
	text-align:right; 
	line-height:20px;
	margin:0 2% 5px 0;
	
}
#printlink a {
	font-family: 'Roboto', sans-serif;
	font-size:13px; 
	color:rgb(51, 51, 51);
	margin-left:3px;
	transition: all .30s ease;
}
#printlink a:hover {
	color:#aaa;
}

/* Contact page */
#contactsection {
	margin-top:20px;
	padding:0px 2%;
}
#contactheader {
	font-family:'Roboto', sans-serif;
	font-size:20px;
	margin-bottom:20px;
	color:#726565;
}
#contactform {
	float:left; 
	width:40%;
	min-width:200px;
}
#addresscolumn {
	float:left; 
	width:45%;
	margin-left:10%;
}
.columnheader {
	height:100px;
}
.asterisk {
	font-size:12px; 
	vertical-align:super; 
	margin-right:3px; 
	color:white;
}
#submitmessage {
	font-size:11px; 
	font-family: 'Roboto', sans-serif;
	width:300px; 
	margin-top:4px; 
	text-align:left; 
	height:40px; 
	float:left; 
	margin-left:10px;
}
#messagesend {
	float:left;
	font-family:"Courier New", "Courier", "monospace"; 
}
#contactus {
	font-size:24px; 
	font-family: 'Roboto', sans-serif;
}
#qandf {
	font-size:14px; 
	font-family: 'Roboto', sans-serif;
	margin:0px 0px 30px 50px;
}
#controls {
	width:400px;
}
#controls img {
	float:right; 
	margin-left:3px;
}
#messagebox {
	background:transparent url(images/messagebox.jpg) no-repeat scroll left center; 
	width:100%; 
	height:160px; 
	border:1px solid #6E6E6E; 
	margin-bottom:4px; 
	overflow:hidden;
}
#messagebox textarea {
	width:345px; 
	height:130px; 
	background:none; 
	border:none; 
	margin:0px 0px 0px 4px; 
	padding:0; 
	overflow:hidden;
	outline: 0;
}
.inputbox {
	background:transparent url(images/msg-box-long1.jpg) no-repeat scroll left center; 
	border:1px solid #726565; 
	width:100%; 
	margin-bottom:4px;
}
.miniinput {
	float:left; 
	line-height:26px;
	min-width:200px;
}
.miniinput input {
	height:24px; 
	background:none; 
	font-size:14px; 
	border:none;
	font-family:"Courier New", "Courier", "monospace";
	padding-left:5px;
	outline: 0;
	
}
.minilabel {
	float:left; 
	width:60px; 
	font-family:"Courier New", "Courier", "monospace"; 
	color:#444; 
	font-size:12px; 
	line-height:30px; 
	padding-left:2px;
	margin:0;
	background:#f7f7f7;
}
address span, address a {
	font-family:"Courier New", "Courier", "monospace"; 
}
#contact_social img {
	transition: opacity .25s ease;
	opacity: 0.5;
}
#contact_social img:hover {
	opacity: 1.0;
}

/* MEDIA QUERIES FOR A RESPONSIVE LAYOUT */

/* IPAD in portrait & landscape */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px)  { /* STYLES GO HERE */}

/* IPAD in portrait */
@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) { 
	#portfolios {margin-left:50px;}
	#testwidget:before {
		content: "(min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait)";
	}
}

*/ Iphone */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) { /* STYLES GO HERE */}


*/ Itouch */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
	#portfolios {margin-left:0px;}
	#testwidget:before {
		content: "(min-device-width : 320px) 
and (max-device-width : 480px))";
	}
	.miniinput {
		width:150px;
	}
}

@media only screen 
and (max-width: 1280px) {
	.portfolio {
		width:220px;
	}
	.portfolio img {
		width:200px;
	}
}

@media only screen 
and (max-width: 765px) {
	header
	{
		height:120px;
	}
	header nav
	{
		right: auto;
		bottom: auto;
		left: 50%;
		top:100px;
		margin-left: -184px;
	}
	footer
	{
		padding-bottom:70px;
		height: auto;
	}
	footer .wrapper
	{
		width: 350px;
		margin: 0 auto;
	}
	footer .wrapper .column
	{
		margin-top:30px;
		float:none;
		font-size: 14px;
		width: auto;
	}
	footer .wrapper .social
	{
		display:none;
	}
	#portfoliowrap {
		width:220px;
		margin:0 auto;
	}
	#testwidget:before {
		content: "(max-width: 765px)";
	}
	#resumeframe {
		margin-left:-5%;
	}
	#contactform {
		width:100%;
	}
	#contactsection {
		width:90%;
		margin-left:5%;
	}
	#addresscolumn {
		width:90%;
		margin-left:5%;
	}
}

@media only screen
and (max-width: 500px) {
	header
	{
		margin-top: 80px;
		text-align: center;
	}
	footer .wrapper
	{
		width:auto;
	}
	footer .wrapper .column
	{
		margin: 0 auto 15px auto;
		max-width:300px;
	}
	#mobileMenu
	{
		display: block;
		z-index: 99;
	}
	.toggleMobile
	{
		position: fixed;
		top: 10px;
		left: 10px;
		display: block;
		width: 40px;
		height: 36px;
		cursor: pointer;
		z-index: 999;
	}
	.toggleMobile span.menu1, .toggleMobile span.menu2, .toggleMobile span.menu3
	{
		display: block;
		position: absolute;
		width: 40px;
		height: 6px;
		left: 0;
		background: #666;
		-webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
		transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
	}
	.toggleMobile span.menu1
	{
		top: 0;
	}
	.toggleMobile span.menu2
	{
		top: 10px;
	}
	.toggleMobile span.menu3
	{
		top: 20px;
	}
	.toggleMobile.active span.menu1
	{
		top: 10px;
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		-o-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(45deg);
		-webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
		transition: all 0.5s cubic-bezier(0.75, 0.25, 0.10, 0.95);
	}
	.toggleMobile.active span.menu2
	{
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		-o-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		transform: rotate(-45deg);
		-webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
		transition: all 0.5s cubic-bezier(0.75, 0.25, 0.10, 0.95);
	}
	.toggleMobile.active span.menu3
	{
		opacity: 0;
		-webkit-transition: opacity 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
		transition: opacity 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
	}
	header nav
	{
		display:none;
	}
	header h1
	{
		font-size:40px;
	}
	header p
	{
		margin-left: 60px;
		font-size:14px;
	}
	#subtitle {
		display:none;
	}
	#testwidget:before {
		content: "(max-width: 500px)";
	}
	#portfoliowrap {
		width:220px;
		margin:0 auto;
	}
	#resumeframe {
		margin-left:-5%;
	}
	#contactform {
		width:100%;
	}
	#contactsection {
		width:90%;
		margin-left:5%;
	}
	#addresscolumn {
		width:90%;
		margin-left:5%;
	}
}