
/* Document Body */
body, html{
	margin:0px;
	padding:0px;
	height:100%;
	width:100%;
}
body, input, textarea {
	font: 13px/1.5 "lucida sans", Verdana, Arial, Helvetica, sans-serif;
}

#canvas{
	position:fixed;
	top:0px;
	left:0px;
	z-index:0;
	background:url(/images/bg_body.png) 0px -62px repeat-x;
}

/* Font Styles */
.serif { font-family: Georgia, "Times New Roman", Times, serif; }
.sans-serif { font-family: "lucida sans", Verdana, Arial, Helvetica, sans-serif; }

/* Vertical  */
.entry-meta { margin-bottom: 10px; }
p, pre, ul, ol, dl, dd, blockquote, address, table, fieldset, form, .gallery-row, .comment-list ul, .comment-list ol { margin-bottom: 20px; }
.hentry, .comment, .navigation-links { margin-bottom: 40px; }

/* Horizontal  */
#twocol-r.container, #twocol-l.container, #onecol.container{
	margin:0px 0px 25px 0px;
	padding:62px 0px 0px 0px;
}
#twocol-r .hfeed { width: 600px; float: left; }
#twocol-r .aside { width: 300px; float: right; }

#twocol-l .hfeed { width: 600px; float: right; }
#twocol-l .aside { width: 300px; float: left; }

#onecol{
	padding:0px 20px;
}
#onecol .hfeed { float: left; }
#onecol .aside { float: left; }


#content{
	width: 960px;
	margin: 0px auto;
	padding: 10px 0px;
	position:relative;
}

/* Logo */
#logo{
	position:absolute;
	right:0px;
	top:2px;
}

/* Toolbar */
#toolbar{
	position:absolute;
	right:55px;
	top:28px;
	color:#777777;
	font-size:11px;
	cursor:pointer;
}


/* Header */
#header{
	position:fixed;
	top:0px;
	left:0px;
	width:100%;
	height:68px;
	background:url(/images/bg_head-foot.png) 0px 0px repeat-x;
	z-index:2;
}
.header-inner{
	width: 960px;
	margin: 0px auto;
	position:relative;
}

#footer{
	position:fixed;
	bottom:0px;
	left:0px;
	width:100%;
	height:31px;
	background:url(/images/bg_head-foot.png) 0px -68px repeat-x;
	font-size:11px;
	color:#777;
}

#copyright{
	margin:0px auto;
	padding:10px 0px 0px 0px;
	width:960px;
}


/* Menu */

#menu table, #menu td, #sb, #sb td{
	border:0px none;
	margin:0px;
	padding:0px;
}


#menu-home{background-image:url(/images/menu_home.png);}
#menu-projects{background-image:url(/images/menu_projects.png);}
#menu-blog{background-image:url(/images/menu_blog.png);}

#menu a img.off{background-position:0px 0px;}
#menu a img.over{background-position:0px -62px;}
#menu a img.on{background-position:0px -124px;}
#menu a img{border:0px none;}


/* Side Bar */
#sb{width:300px;}
#sb td.tl{background:url(/images/side-corners.png) 0px 0px;}
#sb td.tr{background:url(/images/side-corners.png) -14px 0px;}
#sb td.br{background:url(/images/side-corners.png) -14px -14px;}
#sb td.bl{background:url(/images/side-corners.png) 0px -14px;}
#sb td.t{background:url(/images/side-tb.png) 0px 0px repeat-x;}
#sb td.b{background:url(/images/side-tb.png) 0px -14px repeat-x;}
#sb td.l{background:url(/images/side-lr.png) 0px 0px repeat-y;}
#sb td.r{background:url(/images/side-lr.png) -14px 0px repeat-y;}
#sb td.c{background:#f4f4f4;}

#sb h3{
	margin:0px 15px 5px 15px;
}

#sb ul{list-style:none;}

#sb ul, #sb div.widget div{
	margin:0px 0px 15px 15px;
	padding:0px 0px 0px 15px;
}

#sb .widget{
	margin:10px 15px;
}

#sb .widget_search{
	text-align:center;
	margin:10px 0px;
}


/* Projects */
img.project-thumb{
	margin:10px;
	float:left;
	border:0px none;
}


/* Links */
a { color: #2361a1; text-decoration: none; }
a:hover { text-decoration: underline; }
.entry-content a:link, .entry-content a:active, .entry-content a:visited { color: #2361a1; text-decoration: underline; }
.entry-content a:hover { text-decoration: none; }

/* Headings */
h1, h2, h3, h4, h5, h6 { font-weight: normal; font-family:Helvetica, Arial, sans-serif; border-bottom:2px dashed #CCC; margin:10px 0px 5px 0px;}
h1 { font-size: 160%; line-height: 28px; padding: 5px 0px; }
h2 { font-size: 160%; line-height: 22px; padding: 5px 0px; }
h3 { font-size: 130%; line-height: 20px; padding: 5px 0px; }
h4 { font-size: 110%; line-height: 18px; padding: 5px 0px; }
h5 { font-size: 12px; line-height: 18px; padding: 5px 0px; }
h6 { font-size: 10px; line-height: 16px; }

/* Content */
.page-title { font-size: 14px; font-weight: bold; }
.page-title span { font-style: italic; font-weight: normal; }
.entry-title, .entry-title a { color: #000;}
.entry-title a:hover { color: #2361a1; text-decoration: none; }
.entry-meta{font-size:11px; color:#777;}
/* Text Elements */
address { font-style: italic; }
abbr[title], acronym[title], dfn[title] { cursor: help; border-bottom: 1px dotted #666; }

blockquote { color: #666; font-style: italic; border-left: 1px solid #ddd; margin-left: 15px; padding-left: 10px; }

strong { font-weight: bold; }
em, dfn, cite { font-style: italic; }
dfn { font-weight: bold; }

sup { bottom: 1ex; }
sub { top: .5ex; }
small { font-size: 12px; }

del { text-decoration: line-through; }
ins { text-decoration: underline; }

code, pre { line-height: 15px; }
var, kbd, samp, code, pre {
	font: 12px/1.4 Consolas, "Andale Mono", Courier, "Courier New", monospace;
/*
	background: #fafafa;
	border:1px solid #CCC;
	margin:10px 35px;
	padding:5px;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 7px;
	display:block;
*/
}
kbd { font-weight: bold; }
samp, var { font-style: italic; }
/*pre { white-space: pre; overflow: auto; padding: 10px; border: 1px solid #ddd; clear: both; }*/
code { padding: 0px 3px; }

/* Lists: (ul, ol, dl) */
ul, ol, dl { margin-left: 15px; }
.nav { margin-left: 0px; }
.entry-content ul, .entry-content ol, #search-query { margin-left: 25px; }

li ul, li ol { margin-bottom: 0; }
ul ul, ol ol, ul ol, ol ul { margin-bottom: 0; }

ol { list-style-type: decimal; }

ul { list-style-type: disc; }
ul ul { list-style-type: circle; }
ul ul ul { list-style-type: square; }

dt { font-weight: bold; }

.fat li { margin-bottom: 10px; }

/* Tables */
/*
table { border: 1px solid #ccc; border-width: 1px; line-height: 18px; margin: 0 0 22px 0; text-align: left; padding: 0 5px; }
table .even { background: #ddd; }
caption { text-align: left; }
tr { border-bottom: 1px solid #ccc; }
th, td { padding: 5px 3px; }
*/
/* Forms */
input, textarea, button { background: #fafafa; border-color: #aaa #ddd #ddd #aaa; border-style: solid; border-width: 1px; color: #444; font-size: 14px; }
input, textarea, button { font-family: Cambria, Georgia, "Times New Roman", Times, serif; padding: 3px; }
button { font: 12px; padding: 2px 10px; cursor: pointer; }
input:focus, textarea:focus, button:hover { background: #fff; border-color: #777 #ccc #ccc #777; }

/* bugfix */
.safari input { padding: 0px 3px; }
.chrome input { padding: 1px 3px; }

/* Comments */
.comment-list, .comment-list .children { list-style: none; }
.comment-list { margin-left: 10px; }
.comment { margin-bottom: 40px; }
.comment-list .children { margin-top: 40px; }
.comment-meta { margin-bottom: 10px; }
.commenter { font-size: 16px; }
.avatar { float: right; margin: 0px 0px 10px 20px; border: 1px #ddd solid; padding: 1px; }

/* Comment Reply */
#comment-form .form-section input { margin-right: 10px; }
.form-section { margin-bottom: 10px; }
.form-section label { cursor: pointer; }
#commenter-details input { margin-right: 10px; }
#allowed-tags { font: 11px Verdana, Arial, Helvetica, sans-serif; padding: 5px 10px; background: #fff; border: 1px #ddd dotted; border-top: none; width: 573px; }

/* Images */
img.alignleft { float: left; margin-right: 20px; margin-top: 5px; }
img.alignright { display: block; float: right; margin-left: 20px; margin-top: 5px; }
img.aligncenter { margin-left: auto; margin-right: auto; display: block; clear: both; margin-top: 5px; }

.wp-caption { text-align: center; }
.wp-caption img { margin: 0; padding: 0; border: 0 none; }
.wp-caption .wp-caption-text { margin: 0; padding: 5px; }

.wp-smiley { max-height: 13px; margin: 0 !important; } /* Prevent the smileys from breaking line-height */

/* [gallery] */
.gallery { margin: auto; }
.gallery-image { border: 2px solid #cfcfcf; margin-left: 0; }
.gallery-caption { margin-left: 0; }
.gallery-item { float: left; text-align: center; margin-left: 0; }

.gallery-columns-2 { width: 50%; }
.gallery-columns-3 { width: 33%; }
.gallery-columns-4 { width: 25%; }
.gallery-columns-5 { width: 20%; }
.gallery-columns-6 { width: 16%; }
.gallery-columns-7 { width: 14%; }
.gallery-columns-8 { width: 12%; }
.gallery-columns-9 { width: 11%; }

/* Navigation */
.page-navigation .nav-next { float: left; }
.page-navigation .nav-previous { float: right; }
.single-page-navigation .nav-next { float: right; }
.single-page-navigation .nav-previous { float: left; }

/* [gallery] + navigation clearfix */
.gallery-row:after, .navigation-links:after, .container:after, .menu:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.gallery-row, .navigation-links, .container, .menu { display: block; }

/* Basic Alignments */
.alignleft { float: left; }
.alignright { float: right; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; clear: both; }


/* icons */
.icon{
	cursor:pointer;
	height:20px;
	margin:0 2px;
	width:20px;	
}

span.icon{
	display:inline-block;
	vertical-align:middle;
}

.i-off{background:transparent url(/images/icons.png) 0px 0px no-repeat;}
.i-on{background:transparent url(/images/icons.png) -20px 0px no-repeat;}
.i-fire{background:transparent url(/images/icons.png) -40px 0px no-repeat;}
.i-rss{background:transparent url(/images/icons.png) -60px 0px no-repeat;}
.i-font-plus{background:transparent url(/images/icons.png) -80px 0px no-repeat;}
.i-font-minus{background:transparent url(/images/icons.png) -100px 0px no-repeat;}
.i-color-wheel{background:transparent url(/images/icons.png) -120px 0px no-repeat;}

input.color{
	border:0px none;
	height:20px;
	width:20px;
	background:transparent !important;
	color:transparent !important;
	cursor:pointer !important;
	z-index:2;
}

/* Modular */

.m0{ margin:0px;}
.m10{ margin:10px;}

.mtb5{ margin:5px 0px;}
.mtb10{ margin:10px 0px;}
.mtb20{ margin:20px 0px;}

.mlr5{ margin:0px 5px;}
.mlr10{ margin:0px 10px;}
.mlr20{ margin:0px 20px;}

.mt10{ margin-top:10px;}
.mb10{ margin-bottom:10px;}
.ml10{ margin-left:10px;}
.mr10{ margin-right:10px;}

.m5{ margin:5px;}

.mtb5{ margin:5px 0px;}

.mt5{ margin-top:5px;}
.mb5{ margin-bottom:5px;}
.ml5{ margin-left:5px;}
.mr5{ margin-right:5px;}

.mt20{ margin-top:20px;}
.ml20{ margin-left:20px;}
.mb20{ margin-bottom:20px;}
.mr20{ margin-right:20px;}

.p10{ padding:10px;}
.p20{ padding:20px;}
.p3{ padding:3px;}

.pt10{ padding-top:10px;}
.pt20{ padding-top:20px;}

.pb10{ padding-bottom:10px;}
.pb20{ padding-bottom:20px;}

.pl5{ padding-left:5px;}
.pl10{ padding-left:10px;}
.pl20{ padding-left:20px;}

.pr5{ padding-right:5px;}
.pr10{ padding-right:10px;}
.pr20{ padding-right:20px;}

.p5{ padding:5px;}
.pt5{ padding-top:5px;}
.pb5{ padding-bottom:5px;}

.h1{ height:1px;}

.fl{ float:left;}
.fr{ float:right;}
.clear{ clear:both;}

.click{ cursor:pointer;}

.s9{ font-size:9px;}
.s10{ font-size:10px;}
.s11{ font-size:11px;}
.s12{ font-size:12px;}
.s13{ font-size:13px;}
.s14{ font-size:14px;}
.s15{ font-size:15px;}
.s16{ font-size:16px;}
.s18{ font-size:18px;}
.s22{ font-size:22px;}
.s45{ font-size:45px;}

.al{ text-align:left; }
.ar{ text-align:right; }
.ac{ text-align:center; }


.b{ font-weight:bold;}
.n{ font-weight:normal;}
.caps{text-transform:uppercase;}

.ltgrey{ color:#AEAEAE;}
.grey{ color:#999;}
.dkgrey{ color:#555;}
.black{ color:#000;}

.red{ color:#ff0000;}
.green{ color:#006600;}

.quote{font-family:Georgia;}

.centered{margin-left:auto;margin-right:auto;}

.shadowed{box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);}

/* WP Menu */
.nav { float: left; line-height: 1; width: 100%; }
.nav, .nav * { list-style: none; margin-left: 0; }
.nav li { float: left; padding: 0; position: relative; }
.nav ul li { width: 100%; }

.nav a { display: block; position: relative; padding: 8px 10px; }

/* Hides items under top menu */
.nav ul { position: absolute; top: -9999em; width: 20em; /* left offset of submenus need to match (see below) */ }

/* Shows submenus */
.nav li:hover ul,
.nav li.nav-hover ul { left: -1px; top: 29px; /* match top ul list item height */ z-index: 99; }

/* Hides all sub items (4 levels deep) */
.nav li:hover li ul,
.nav li.nav-hover li ul,
.nav li li:hover li ul,
.nav li li.nav-hover li ul,
.nav li li li:hover li ul,
.nav li li li.nav-hover li ul { top: -999em; }

/* On :hover, displays all sub items (4 levels deep) */
.nav li li:hover ul,
.nav li li.nav-hover ul,
.nav li li li:hover ul,
.nav li li li.nav-hover ul,
.nav li li li li:hover ul,
.nav li li li li.nav-hover ul { left: 20em; /* match .nav ul width */ top: -1px; }

/* Default Skin */
.nav {}
.nav ul {}
.nav ul li a {}
.nav li:hover ul,
.nav li.nav-hover ul {}

.nav a { color: #666; }
.nav a:hover { text-decoration: none; }
.nav ul a { border-right: none; }
.nav li:hover, .nav li.nav-hover,
.nav a:focus { }

/* Menu bugfix */
.ie7 .nav:hover { visibility: inherit; /* fixes IE7 'sticky bug' */ }
