/*////////////////////////////////////////////////////////////////////
 
	Title: Global Styles
	Media: Screen
	Date Modified: 2010-04-09 
	Author: Ken Soliva
	Author URI: http://kensoliva.com/
	License: Copyright (c) 2000-2010 Ken Soliva. All Rights Reserved.

////////////////////////////////////////////////////////////////////*/


body {
	font: .625em/1.4 "Helvetica Neue", Helvetica, sans-serif;
	color: #999;
	background-color: #f2f2f2;
	}
	
a {
	cursor: pointer;
	text-decoration: none;
	}

a img {
	border: none;
	}
	
img {
	display: block;
	}
	
hr {
	height: 1px;
	margin: 0;
	border: none;
	color: #e5e5e5;
	background-color: #e5e5e5;
	}
	
em {
	font-style: italic;
	}
	
strong {
	font-weight: bold;
	}
	
.hide {
	display: none;
	}
	

/*////////////////////////////////////////////////////////////////////
	Typography
////////////////////////////////////////////////////////////////////*/

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	line-height: 1.2em;
	}
	

/*////////////////////////////////////////////////////////////////////
	8 Column Grid: 100px Column + 15px Gutter = 905px
////////////////////////////////////////////////////////////////////*/

.grid_01 { width: 100px; }
.grid_02 { width: 215px; }
.grid_03 { width: 330px; }
.grid_04 { width: 445px; }
.grid_05 { width: 560px; }
.grid_06 { width: 675px; }
.grid_07 { width: 790px; }
.grid_08 { width: 905px; }

.column	{
	float: left;
	display: inline;
	margin: 0 15px 15px 0;
	}


/*////////////////////////////////////////////////////////////////////
	Layout Defaults
////////////////////////////////////////////////////////////////////*/

#container {
	min-width: 445px;
	/*max-width: 925px;*/
	margin: 0 20px;
	padding-top: 115px;
	border-top: 10px solid #666;
	}
	
#container.show_grid {
	background: url("/images/background/grid_tile.png");
	}
	
#header {
	}
	
#header #branding {
	float: left;
	display: inline;
	font-size: 3.6em;
	font-weight: bold;
	line-height: 1.333;
	color: #000;
	}
	
#header #avatar {
	float: right;
	display: inline;
	width: 100px;
	height: 100px;
	text-align: center;
	font-size: 1.5em;
	font-weight: bold;
	line-height: 100px;
	background-color: #e5e5e5;
	}
	
#header h1 {
	font-size: 2.1em;
	line-height: 1.333;
	}
	
#header h1 a {
	color: #666;
	font-weight: bold;
	border-bottom: 2px solid #ccc;
	}
	
#header h1 a:hover {
	color: #333;
	}
	
#header p {
	font-size: 1.8em;
	line-height: 1.333;
	margin-top: .5em;
	}
	
#header p a {
	color: #666;
	font-weight: bold;
	border-bottom: 2px solid #ccc;
	}
	
#header p a:hover {
	color: #333;
	}
	
#header .column {
	height: 100px;
	margin-bottom: 15px;
	}
	
#content {
	}
	
#content .preloader {
	display: block;
	width: 70px;
	height: 70px;
	background: transparent url("/images/background/loading.gif") 1em center no-repeat;
	}
	
#content .column {
	margin-top: 115px;
	padding-top: 15px;
	border-top: 1px solid #ccc;
	overflow: hidden;
	}
	
#content .column h2 {
	font-size: 1.8em;
	line-height: 1;
	font-weight: bold;
	color: #666;
	height: 84px;
	}
	
#content .column h2 a {
	color: #666;
	border-bottom: 2px solid #ccc;
	}
	
#content .column h2 a:hover {
	color: #333;
	}
	
#footer {
	margin-top: 115px;
	padding: 1em;
	font-size: 1.1em;
	background-color: #e5e5e5;
	}
	
/*////////////////////////////////////////////////////////////////////
	Buttons
////////////////////////////////////////////////////////////////////*/

.button {
	margin-bottom: 15px;
	}
	
.button a {
	display: inline-block;
	width: 195px;
	padding: 5px 10px;
	font-size: 1.2em;
	font-weight: bold;
	color: #fff;
	background-color: #999;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	}
	
.button a:hover {
	color: #fff;
	background-color: #333;
	}
	
.qtip .button a {
	background-color: #666;
	}
	
.qtip .button a:hover {
	background-color: #4d4d4d;
	}
	
.button span {
	display: block;
	background-position: right center;
	background-repeat: no-repeat;
	}
	
.button span.link {
	background-image: url("/images/background/icon_link.png");
	}
	
.button span.link_external {
	background-image: url("/images/background/icon_link_external.png");
	}
	
.button span.grid {
	background-image: url("/images/background/icon_grid.png");
	}
	
.button span.layout {
	background-image: url("/images/background/icon_layout.png");
	}
	
.button span.submit {
	background-image: url("/images/background/icon_submit.png");
	}
	
/*////////////////////////////////////////////////////////////////////
	Tooltips
////////////////////////////////////////////////////////////////////*/

.qtip .qtip-content {
	padding: 15px !important;
	}
	
.qtip .qtip-content .button {
	margin-bottom: 0;
	}
	
.qtip .qtip-content .button + .button {
	margin-top: 15px;
	}
	
.qtip .qtip-content .button a {
	display: block;
	width: auto;
	}
	
.qtip.links .qtip-content {
	min-height: 70px;
	}
	
.qtip.tooltip .qtip-content {
	font-size: 1.5em;
	border-top: 5px solid #f2f2f2;
	border-right: 3px solid #f2f2f2;
	border-left: 3px solid #f2f2f2;
	}

/*////////////////////////////////////////////////////////////////////
	Twitter
////////////////////////////////////////////////////////////////////*/

#twitter h2 {
	padding-left: 30px;
	background: url("/images/background/icon_twitter.png") no-repeat left top;
	}
	
.tweets {
	padding-top: 15px;
	border-top: 1px solid #ccc;
	}

.tweets #twitter_update_list {
	margin-bottom: 15px;
	}

.tweets #twitter_update_list li {
	padding: 15px 15px 0 0;
	border-top: 1px solid #ccc;
	margin-bottom: 15px;
	min-height: 85px;
	}

.tweets #twitter_update_list li span {
	/* tweet content */
	display: block;
	font-size: 1.8em;
	font-weight: normal;
	line-height: 1.333;
	margin-bottom: .5em;
	}

.tweets #twitter_update_list li span a {
	/* links in tweet content */
	font-size: 1em !important;
	color: #666;
	border-bottom: 2px solid #ccc;
	background: none;
	padding: 0;
	}
	
.tweets #twitter_update_list li span a:hover {
	/* links in tweet content */
	color: #666;
	border-bottom: 2px solid #ccc;
	}

.tweets #twitter_update_list li a {
	/* timestamp link */
	font-size: 1.2em !important;
	color: #999;
	background: url("/images/background/icon_clock.png") no-repeat left center;
	padding: 2px 0 2px 18px;
	}
	
.tweets #twitter_update_list li a:hover {
	/* timestamp link */
	color: #666;
	border-bottom: 1px solid #ccc;
	}

.tweets #twitter_update_list li.first {
	padding-top: 0;
	border: none;
	}

.tweets #twitter_update_list li.last {
	}
	
#twitter .button {
	}
	

/*////////////////////////////////////////////////////////////////////
	Flickr
////////////////////////////////////////////////////////////////////*/
	
#flickr h2 {
	padding-left: 30px;
	background: url("/images/background/icon_flickr.png") no-repeat left top;
	}
		
#flickr #flickr_feed {
	padding-top: 15px;
	border-top: 1px solid #ccc;
	}
	
#flickr ul li {
	float: left;
	display: inline;
	width: 90px;
	height: 90px;
	overflow: hidden;
	margin: 0 15px 15px 0;
	border: 5px solid #e5e5e5;
	background: #fff url("/images/background/loading_small.gif") center center no-repeat;
	}
	
#flickr ul li.last {
	margin-right: 0;
	}
	
#flickr ul li a {
	color: #fff;
	}
	
#flickr ul li a:hover {
	color: #fff;
	border-color: #999;
	}
	
#flickr .photo {
	position: relative;
	left: -55px;
	top: -55px;
	color: #fff;
	}
	
#flickr .photo.portrait {
	left: -45px;
	top: -75px;
	color: #fff;
	}
	
#flickr .photo.landscape {
	left: -75px;
	top: -45px;
	color: #fff;
	}
	
#flickr .button {
	margin-top: 10px;
	}
	
.qtip.flickr_preview .qtip-content {
	border-top: 5px solid #f2f2f2;
	border-right: 3px solid #f2f2f2;
	border-left: 3px solid #f2f2f2;
	}
	
.qtip.flickr_preview .qtip-content .preview img {
	float: left;
	display: inline;
	}
	
.qtip.flickr_preview .qtip-content .preview .details {
	float: left;
	display: inline;
	width: 105px;
	margin-left: 15px;
	color: #ccc;
	}
	
.qtip.flickr_preview .qtip-content .preview .details h4 {
	font-size: 1.3em;
	line-height: 1.333;
	color: #ccc;
	margin-bottom: 1em;
	}
	

/*////////////////////////////////////////////////////////////////////
	Contact
////////////////////////////////////////////////////////////////////*/
	
#blog h2 {
	padding-left: 30px;
	background: url("/images/background/icon_blog.png") no-repeat left top;
	}
	
#blog h3 {
	border-top: 1px solid #ccc;
	padding: 15px 15px 0 0;
	font-size: 1.8em;
	font-weight: normal;
	line-height: 1.333;
	margin-bottom: 2em;
	}
	
#blog h4 {
	font-size: 1.8em;
	}
	

/*////////////////////////////////////////////////////////////////////
	Contact
////////////////////////////////////////////////////////////////////*/

#contact h2 {
	padding-left: 30px;
	background: url("/images/background/icon_contact.png") no-repeat left top;
	}
	
/*
#contact h3 {
	border-top: 1px solid #ccc;
	padding: 15px 15px 0 0;
	font-size: 1.8em;
	font-weight: normal;
	line-height: 1.333;
	margin-bottom: 2em;
	}
	
#contact h3 a {
	color: #666;
	border-bottom: 2px solid #ccc;
	}
	
#contact h3 a:hover {
	color: #333;
	}
*/

#contact form {	
	border-top: 1px solid #ccc;
	padding: 15px 15px 0 0;
	}
	
#contact fieldset label {
	display: block;
	font-size: 1.5em;
	font-weight: bold;
	margin-bottom: .5em;
	}
	
#contact fieldset input {
	display: block;
	width: 205px;
	padding: 5px;
	font-size: 1.3em;
	line-height: 1;
	color: #666;
	background-color: #e5e5e5;
	border: none;
	margin-bottom: 1.5em;
	}
	
#contact fieldset input:focus {
	background-color: #fff;
	}

#contact fieldset textarea {
	display: block;
	width: 320px;
	padding: 5px;
	font-size: 1.3em;
	line-height: 1;
	color: #666;
	background-color: #e5e5e5;
	border: none;
	margin-bottom: 25px;
	}
	
#contact fieldset textarea:focus {
	background-color: #fff;
	}
	
#contact fieldset input.button {
	margin: 0;
	width: auto;
	font-size: 1.2em;
	font-weight: bold;
	color: #fff;
	background-color: #999;
	padding: .375em .625em;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	cursor: pointer;
	}
	
#contact fieldset input.button:hover	{
	color: #fff;
	background-color: #333;
	}


/*////////////////////////////////////////////////////////////////////
	Float Fix
////////////////////////////////////////////////////////////////////*/

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
	}

.clearfix { display: inline-block; }

/* Hides from IE-mac \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* End hide from IE-mac */