@import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,400,600,900);

* { padding: 0px; margin: 0px; }
body { background: #2D3138 url('/files/images/stripe.png'); margin: 0px; padding: 0px; text-align: center; font: 11px/12px 'Source Sans Pro', helvetica, arial, sans-serif; color: #71736b; }
a { color: #71736b; text-decoration: none; }
a:hover { color: #9cc07c; }
a .appstore { opacity: 0.25; }

body.tabify { background: #f3fff2 url('/files/images/background.png') center top repeat-y; }
#wrapper { background: #f3fff2 url('/files/images/background.png') center top repeat-y; }
body.tabify #wrapper { background: none; }
#wrapper .content { width: 960px; margin: 0px auto; text-align: left; height: auto !important; min-height: 520px; padding: 72px 0 48px 0; }

#header { width: 100%; position: fixed; z-index: 1; background: rgba(0, 0, 0, 0.05); -webkit-box-shadow: 0 0 7px rgba(0,0,0,.3); -moz-box-shadow: 0 0 7px rgba(0,0,0,.3); -ms-box-shadow: 0 0 7px rgba(0,0,0,.3); -o-box-shadow: 0 0 7px rgba(0,0,0,.3); box-shadow: 0 0 7px rgba(0,0,0,.3); min-height: 48px; }
#header .content { width: 960px; margin: 0px auto; text-align: left; }
#header h1 { text-transform: uppercase; font-weight: 400; font-size: 18px; letter-spacing: 1px; margin: 18px 0; text-align: left; }
#header .name { float: left; }
#header .nav { float: right; }
#header ul { list-style: none; padding: 18px 0; }
#header ul li { display: inline-block; text-transform: uppercase; letter-spacing: 2px; font-size: 10px; font-weight: 900; margin: 0 0 0 12px; }
#header.top { background: rgba(0, 0, 0, 0.15); }
#header a.top { color: #f3fff2; }
#header .nav > a { display: none; }
#header a { color: #2D3138; }
#header a:hover { color: #ef3d23; }
#header a, #thumbnails a { border: none; }

#sidebar { margin: 0px 12px 0px 0px; padding: 0px; width: 144px; float: left; }
#maincol { margin: 0; padding: 0px; width: 960px; position: relative; }
#maincol h2 { color: #5e646a; font-weight: normal; letter-spacing: 1px; font-weight: 200; font-size: 24px; line-height: 145%; padding: 0px; margin: 0px 0px 12px 0px; }
#maincol h3 { color: #5e646a; font-weight: normal; letter-spacing: 1px; font-weight: 400; font-size: 16px; line-height: 145%; padding: 0px; margin: 0px 0px 6px 0px; }
#maincol .col2 { width: 240px; float: left; }
#maincol .col3 { float: left; width: 33.33333%; }
#maincol .col3 .col { margin: 5px; background-color: rgba(255,238,231,0.5); height: 310px; }
#maincol .col3:nth-child(n+8) { display: none; }
#maincol .text { width: 320px; z-index: 1; position: absolute; }
#maincol .text p { font-size: 20px; padding: 10px; line-height: 28px; -webkit-hyphens: auto; -moz-hyphens:auto; -ms-hyphens:auto; hyphens:auto; }
#maincol .text a { color: #71736b; }
#text { width: 480px; margin: 0px auto 48px auto; }
#text p { font-size: 125%; line-height: 150%; margin: 0px 0px 12px 0px; -webkit-hyphens: auto; -moz-hyphens:auto; -ms-hyphens:auto; hyphens:auto; }
#text ul { font-size: 125%; list-style: none; line-height: 150%; }
#text li { padding-bottom: 1px; }
#text p.msg { display: none; margin: 24px 0px 12px 0px; background-color: rgba(0,0,0,0.05); padding: 12px 6px; text-align: center; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }
#text a.external { font-weight: 600; }

.series .holder { float: left; width: 640px; }
.series .piece { width: 640px; height: 480px; margin: 0px auto; -webkit-box-shadow: 0 0 7px rgba(0,0,0,.15); -moz-box-shadow: 0 0 7px rgba(0,0,0,.15); -ms-box-shadow: 0 0 7px rgba(0,0,0,.15); -o-box-shadow: 0 0 7px rgba(0,0,0,.15); box-shadow: 0 0 7px rgba(0,0,0,.15); }
.series { list-style: none; }
.series li { margin: 0px 0 18px 0; border-top: 1px solid #f3fff2; padding: 18px 0 0 0; }
.series .title { display: block; float: left; width: 136px; font-weight: 400; font-size: 14px; line-height: 18px; margin: 12px 24px 12px 0; }

.portfolio .series { width: 320px; height: 240px; float: left; -webkit-box-shadow: 0 0 7px rgba(0,0,0,.15); -moz-box-shadow: 0 0 7px rgba(0,0,0,.15); -ms-box-shadow: 0 0 7px rgba(0,0,0,.15); -o-box-shadow: 0 0 7px rgba(0,0,0,.15); box-shadow: 0 0 7px rgba(0,0,0,.15); }
.portfolio .series.second { display: none; }

.portfolio li { margin: 0px 0 18px 0; border-top: 1px solid #f3fff2; padding: 18px 0 0 0; }
.portfolio .title { display: block; float: left; width: 136px; font-weight: 400; font-size: 14px; margin: 12px 24px 12px 0; }

.contact-form { margin: 36px 0 0 0; }
.contact-form input, .contact-form textarea { -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; width: 100%; display: block; background: rgba(255,255,255,.5); margin: 12px 0 12px 0; padding: 12px; border: 1px solid #f3fff2; font: 14px 'Source Sans Pro', helvetica, arial, sans-serif; box-sizing: border-box; -moz-box-sizing: border-box; outline: none; -webkit-appearance:none; }
.contact-form textarea { resize: none; }
input.button { opacity: 0.25; width: auto; color: #f3fff2; background: rgba(0,0,0,1.0); -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; border: none; cursor: pointer; }

.contact-form textarea:focus, .contact-form input:focus { background: rgba(255,255,255,.75); -webkit-box-shadow: 0 0 7px rgba(0,0,0,.15); -moz-box-shadow: 0 0 7px rgba(0,0,0,.15); -ms-box-shadow: 0 0 7px rgba(0,0,0,.15); -o-box-shadow: 0 0 7px rgba(0,0,0,.15); box-shadow: 0 0 7px rgba(0,0,0,.15); }

input[type="text"], textarea[type="text"] { font-family: 'Source Sans Pro', helvetica, arial, sans-serif; }

#stripebar { background: #f3fff2 url('/files/images/background.png') center top repeat-y; }
#stripebar .content { background: url('/files/images/stripe.png'); min-height: 36px; }

#footer { color: #5e646a; min-height: 200px; }
#footer .content { width: 960px; margin: 12px auto; text-align: left; }
#footer p { font-size: 13px; line-height: 18px; margin: 0 0 2px 0; }
#footer h3 { color: #7c8088; text-transform: uppercase; letter-spacing: 2px; font-size: 10px; margin: 0 0 6px 0; font-weight: 900; }
#footer .col4 { width: 228px; margin: 12px 6px; float: left; }
#footer a, #footer .tel { color: #5e646a; font-weight: 600; }
#footer a:hover { color: #f3fff2; }
#footer .copy { text-align: right; text-transform: uppercase; font-size: 10px; font-weight: 600; margin: 48px 0 0; }


body.new { background: #fff; }
body.new #wrapper { background: none; }
body.new #wrapper .content, body.new #maincol { width: 480px; }
body.new p { font-size: 18px; font-weight: 200; line-height: 28px; }
body.new #maincol h2 { font-weight: 400; font-size: 32px; }
body.new .contact { font-size: 14px; line-height: 18px; margin: 15px 0 0 0; }
body.new .contact ul { list-style: none; }
body.new .contact ul li { display: inline-block; margin-right: 10px; }

@media screen and (max-width: 1000px) {
	#footer, #wrapper { padding: 0 20px; }
	#header .content, #footer .content, #wrapper .content, #maincol { width: 100%; }
	#header h1 { padding-left: 20px; }
	#header ul { padding-right: 20px; }
	#footer .col4 { width: 25%; margin: 12px 0px; }
	#footer .col4 .col { margin: 0 6px; }
	#maincol ul.series { margin: 0px auto; width: 640px; }
	#maincol ul.series .holder, #maincol ul.series .title { float: none; }
	#maincol ul.series .title { width: 100%; text-align: center; }
	#maincol .col3:nth-child(n+8) { display: block; }

}

@media screen and (max-width: 740px) {
	#header ul li { margin: 0 0 0 6px; letter-spacing: 1px; }
}

@media screen and (max-width: 680px) {
	#header .nav { text-align: center; width: 100%; }
	
	#maincol ul.series .holder, #maincol ul.series, #maincol ul.series .piece.larger { width: 100% !important; }
	#header ul.hidden { display: none; }
	#header ul { padding: 4px 20px; background-color: rgba(0,0,0,0.05); border-top: 1px solid rgba(255,255,255,0.5); }
	#header ul li { margin: 4px 3px; }
	#header .nav > a { width: 24px; height: 24px; text-align: center; background-color: rgba(0,0,0,0.05); color: rgba(255,255,255,0.5); position: absolute;right: 20px; top: 12px; display: block; }
	#header .nav > a span { font-size: 24px; font-weight: 400; margin: 3px 0 0 0; line-height: 24px; }
	#header .nav > a.active { background-color: rgba(0,0,0,0.5); }
}

@media screen and (max-width: 600px) {
	#footer .col4 { width: 50%; margin: 12px 0px; }
}

@media screen and (max-width: 520px) {
	#text, #maincol .col2 { width: 100%; }
	.portfolio .title, .portfolio .series { float: none; }
	.portfolio .title { margin: 12px auto; width: 100%; text-align: center; }
	.portfolio .series { margin: 0px auto; }
	
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
	#text p, #text ul { font-size: 160%; }
	.portfolio .title, #maincol ul.series .title { font-size: 22px; margin: 12px 0; }
}

@media screen and (max-width: 320px) {
	#text, #maincol .col2 { width: 100%; }
	#maincol .text { width: 100%; }
	#footer .col4 { width: 50%; margin: 12px 0px; }
	#footer, #wrapper { padding: 0 20px; }
	#footer .content, #wrapper .content, #maincol { width: 280px; }
	#footer .col4 .col { margin: 0 6px; }
	.portfolio .series { width: 280px; height: 210px; background-size: 280px 280px; }
	.portfolio .title, #maincol ul.series .title { width: 280px; }
	#maincol ul.series .holder, #maincol ul.series, #maincol ul.series .piece { width: 280px !important; }
}