/********************************** reset ********/

* {
	list-style:none;
	border:0;
	text-decoration:none;
	margin:0;
	padding:0;
	outline:0;
	}
	
/********************************** set body and font face ********/

html {
	font-size:62.5%;
	}

body {
	font-family:Arial, Helvetica, sans-serif;
	font-size:1.4rem;
	font-variant:normal;
	font-style:normal;
	color:#141414;
	background:#222 url(../im/bg.jpg) repeat top left;
	text-align:left;
	}
	
/*::selection {
	background: #2585C7;
	color: white;
	text-shadow: none;
	}*/

h1, h2, h3, h4, h5 {
	position:relative;
	text-align:left;
	background:transparent;
	}
	
h1 {
	width:100%;
	float:left;
	font-size:1.8em;
	font-size:1.8rem;
	font-weight:normal;
	color:silver;
	display:inline-block;
	}

h2 {
	width:100%;
	font-size:2.2em;
	font-size:2.2rem;
	font-weight:normal;
	line-height:45px;
	text-transform:none;
	clear:left;
	margin-bottom:18px;
	overflow:hidden;
	border-bottom:1px solid #222;
	color:silver;
	}

h3 {
	font-size:1.4em;
	font-size:1.4rem;
	font-weight:normal;
	margin-bottom:15px;
	color:silver;
	}
	
h4 {
	font-size:1em;
	font-size:1rem;
	text-transform:uppercase;
	font-weight:500;
	color:silver;
	letter-spacing:0.09em;
	font-weight:bold;
	text-align:center;
	margin-bottom:0;
	background-color:transparent;
	padding:8px 0 5px 0;
	line-height:1.9em;
	}

a {
	font-weight:300;
	text-decoration:none;
	border:none;
	text-align:left;
	color:#eee;
	cursor:pointer;
	}

a:hover {
	text-decoration:underline;
	cursor:pointer;
	border:none;
	}

p {
	width:100%;
	color:#999;
	line-height:1.6em;
	font-size:1.3em;
	font-size:1.3rem;
	margin:0 0 17px 0;
	text-align:left;
	display:inline-block;
	}
	
sections, .section, tabs, tab, pages, page, pager {
	position:relative;
    display: inline-block;
	width:960px;
	margin:0 auto 0 auto;
	padding-top:50px;
	}

.page {
	position:relative;
	width:100%;
	margin:0 auto;
	}
	
.article {
	position:relative;
	float:left;
	width:225px;
	margin:20px 20px 0 0px;
	}

#wrap, #head {
	background:transparent;
	}

#wrap {
	position:relative;
	margin:auto;
	width:980px;
	text-align:center;
	padding:0 0 0 0;
	}

#head {
	position:relative;
	margin:0 auto;
	width:960px;
	padding:60px 10px 0 10px;
	overflow:hidden;
	}
	
#head h1 a {
	display:inline-block;
	font-weight:bold;
	}
	
.left {
	width:48%;
	float:left;
	}

.right {
	width:48%;
	float:right;
	}

#featured {
	padding-top:0 !important;
	}

#contact {
	position:relative;
	}

/********************************** Main Global Nav ********/

#main-nav {
	position:relative;
	width:30%;
	float:right;
	padding:30px 0 0 0;
	}

#main-nav li {
	position: relative;
	display:block;
	font-weight: bold;
	float: left;
	padding: 0;
	margin-right: 5%;
	width: 21%;
	}

#main-nav li a {
	position:relative;
	display:block;
	width:84%;
	float:left;
	padding:0 8% 0 8%;
	text-align:center;
	font-size: 1.2em;
	font-size: 1.2rem;
	font-weight:bold;
	line-height: 2.4em;
	line-height: 2.4rem;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	}
	
#main-nav li:last-child {
	margin-right:0 !important;
	}

#main-nav a {
	color:silver;
	color:#eee;
	background-color:#141414;
	opacity:0.6;
	}

#main-nav a:hover {
	text-decoration:none;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;
	opacity:1.0;
	}

/********************************** Flickr thumbnails ********/

#images { 
	width: 100%; 
	padding:0; 
	margin:auto; 
	display:inline-block;
	}
	
#images a { 
	float:left;
	display:inline-block; 
	margin:0 10px 10px 0; 
	}

#images a:hover {
	text-decoration:none;
	}
	
#images a img { 
	border:1px solid #141414; 
	}
	
#images a:hover img { 
	border:1px solid #eee; 
	}

/********************************** Scrollable thumbnail nav ********/

#scrollable-nav {
	width:100%;
	display:inline-block;
	}
	
#scrollable-nav .thmb {
	position:relative;
	width:75px;
	height:75px;
	margin:0 10px 10px 0;
	display:inline-block;
	float:left;
	text-align:center;
	vertical-align:top;
	overflow:hidden;
	}

#scrollable-nav a:hover.thmb {
	}

#scrollable-nav a:hover.active, #scrollable-nav a.active {
	}

/********************************** Work Samples ********/

.work-page {
	position:relative;
	width:inherit;
	margin:auto;
	padding-bottom:10px;
	background-color:transparent;
	border:1px solid #222222;
	text-align:center;
	}

.work-page a {
	position:relative;
	display:inline-block;
	width:200px;
	height:133px;
	}
	
#one {
	background:transparent url(../im/sprites.png) no-repeat -60px 0px;
	}

#two {
	background:transparent url(../im/sprites.png) no-repeat -260px 0px;
	}

#three {
	background:transparent url(../im/sprites.png) no-repeat -60px -133px;
	}
	
#four {
		background:transparent url(../im/sprites.png) no-repeat -260px -133px;
		}

.curr {
	border:1px solid #000000;
	}

/********************************** Inputs ********/

textarea, input, .submit {
	color:#999;
	border:1px solid #222;
	font-size:medium;
	font-family:"Helvetica", Times New Roman;
	background-color:transparent;
	}

fieldset#questions-form {
	position:relative;
	width:100%;
	background:none; 
	padding:0 0 0 0;
	margin-bottom:15px;
	vertical-align:top;
	}

input {
	position:relative;
	width:40%;
	display:inline-block;
	line-height:normal;
	margin-bottom:20px;
	padding:8px;
	float:left;
	clear:both;
	}

textarea {
	position:absolute;
	width:50%;
	height:55.5%;
	padding:10px;
	right:0;
	top:0;
	resize:none;
	}

.submit {
	position:relative;
	font-size:2em;
	font-size:2rem;
	height:3em;
	width:42%;
	padding:0 35px 0 35px;
	margin:auto;
	display:inline-block;
	text-align:center;
	text-transform:lowercase;
	cursor:pointer;
	float:left;
	border:1px solid #222;
	}

.submit:hover {
	background:#222;
	text-decoration:none;
	}

button {
	border:none;
	}

#formerrors {
	font-size:inherit;
	width:100%;
	margin-bottom:20px;
	background-color:#222;
	display:none;
	}

#formsuccess {
	font-size:inherit;
	width:100%;
	background-color:#8db138;
	margin-bottom:20px;
	display:none;
	}

#formsuccess p, #formerrors p {
	padding:25px 0 25px 0 !important;
	margin:0 !important;
	color:#fff;
	width:98%;
	}

#formerrors p {
	color:tomato;
	}

.pass {
	background-repeat:no-repeat;
	background-position:top right;
	}

.fail {
	
	background-repeat:no-repeat;
	background-position:top right;
	border:1px solid tomato;
	color:tomato;
	}

	
/********************************** Footer ********/

#foot {
	margin-bottom:36px;
	margin-top:85px;
	padding:0 !important;
	border-top:1px solid #222;
	color:#fff;
	clear:both;
	}

#foot p {
	font-size:1.0em;
	font-size:1.0rem;
	letter-spacing:.025em;
	padding:25px 0 10px 0;
	text-align:right;
	margin:0;
	}

#foot a:hover {
	text-decoration:none;
	}

a.panel_link {
	position:absolute;
	width:230px;
	height:68px;
	display:block;
	z-index:500;
	}

a#html5 {
	position:relative;
	display:block;
	width:32px;
	height:32px;
	float:right;
	background:transparent url(../im/sprites.png) no-repeat -12px -10px;
	}

a#css3 {
	position:relative;
	display:block;
	width:34px;
	height:34px;
	float:right;
	background:transparent url(../im/sprites.png) no-repeat -12px -49px;
	}

a#ajax {
	position:relative;
	display:block;
	width:32px;
	height:32px;
	float:right;
	background:transparent url(../im/sprites.png) no-repeat -15px -89px;
	}
	
/********************************** Plugins / Scrollable ********/

#window {
	position:relative;
	width:960px;
	margin:0 auto 5px auto;
	float:left;
	}

.scrollable {
	overflow:hidden;
	position:relative;
	width:960px;
	height:300px;
	float:left;
	}
		.thumbs{
			position:absolute;
			left:0;
			width:2000em;
		}
			
		.thumbs .frontImage{
			position:relative;
			width:960px;
			float:left;
			top:0;
			z-index:9;
			text-align:left;
		}
		
		.frontImage img{
			text-align:left;
		}
		
		a.prev{
			height:18px;
			width:18px;
			float:left;
			display:block;
			overflow:hidden;
			background:transparent url(../im/scrollable/arrow/left.png) no-repeat;
		}
		
		a.next{
			height:18px;
			width:18px;
			float:right;
			display:block;
			overflow:hidden;
			background:transparent url(../im/scrollable/arrow/right.png) no-repeat;
		}
		
		.navi{
			position:relative;
			cursor: default;
			text-align: center;
			width: 960px;
			z-index: 500;
			background: #222;
			padding: 10px 0 10px 0;
			margin: 5px auto 0px auto;
			float:left;
		}
		
		.navi a{
			width:8px;
			display:block;
			height:8px;
			overflow:hidden;
			padding-right:2px;
			display:inline-block;
			background:transparent url(../im/scrollable/arrow/navigator.png) no-repeat 0px -16px;
		}
		
		.navi a:hover{
			background-position:0 -8px;
		}
		
		.navi a.active{
			background-position:0 0px;
		}

/********************************** Utility ********/

.to-top {
	position:absolute;
	font-size:10px;
	font-size:1.0rem;
	font-weight:bold;
	color:silver;
	display:inline;
	margin:0 0 0 0;
	vertical-align:center;
	padding:0;
	top:0;
	right:0;
	}

.last{
	margin-right:0 !important;
	margin-bottom:0 !important;
	padding-right:0 !important;
	}

.hide {
	display:none !important;
	}

.clear {
	clear:both !important;
	}

.absolute {
	position:absolute !important;
	left:-10000px;
	}

.none {
	border:none !important;
	list-style:none !important;
	background:none !important;
	text-decoration:none;
	margin:0;
	padding:0;
	}

.underline {
	border-bottom:1px solid #222;
	padding-bottom:3px;
	color:#eee;
	}

.link {
	color:#eee !important;
	}
	
.overline {
	border-top:1px solid #222;
	}
.no-margin {
	margin:0px;
	}

.no-margin-btm {
	margin-bottom:0;
	}

.flt_rt {
	float:right !important;
	}

.flt_lft {
	float:left !important;
	}

.txt_rt {
	text-align:right!important;
	}

.txt_lft {
	text-align:left!important;
	}

.highlight {
	color:#9ED3D3;
	font-weight:200;
	}

.no-border{
	border:none;
	padding-top:0;
	}

.white {
	color:silver;
	}

/********************************** Media Query ********/

/* Apple iOS */
@media only screen and (max-width : 32em){ 
	body {
		width:300px;
	}
	
	h4 {
		padding:0;
		display:none;
		white-space:nowrap;
	}
	
	.section, #head, #wrap, .submit, #window, .scrollable, .navi {
		width:250px;
	}
	
	.section {
		padding-top:40px;
	}

	#head {
		padding-top:25px;
	}
	
	.left {
		width:100%;
		float:none;
		margin-bottom:20px;
	}

	.right {
		width:100%;
		float:none;
	}
	
	.article {
		float:none;
		margin-left:auto;
		margin-right:auto;
		margin-bottom:20px;
		margin-top:10px;
		display:inline-block;
	}
	
	#main-nav {
		width:100%;
		margin-bottom:30px;
	}
	
	.scrollable {
		height:77px;
	}
	
	.thumbs .frontImage {
		width:250px;
	}
	
	.frontImage img {
		width:250px;
	}

	.navi {
		text-align:center;
	}
	
	.article {
		width:50px;
		float:left;
		margin-right:16px;
		margin-bottom:20px;
		border:none;
	}
	
	.work-page {
		overflow:hidden;
		padding:0;
	}
	
	.work-page a {
		height:50px;
		display:block;
		overflow:hidden;
	}
	
	.work-page a img {
		width:77px;
	}
	
	#images a {
		margin:0 5px 5px 0;
	}

	fieldset#questions-form {
		width:100%;
		float:none;
		margin:auto;
	}
	
	input{
		width:234px;
	}
	
	textarea {
		position:relative;
		float:left;
		width:228px;
		height:100px;
	}
	
	.submit {
		margin-top:15px;
	}
	
	#formerrors p {
		text-align:center;
		width:90%;
	}

}

/********************************** END MEDIA QUERY ********/


