/**
 * Site CSS
 * @author Daniel Friesen
 * 
 * @todo: More sidebar styles
 * @todo: Throw in more clips from the svg and vary offset and scroll vs. fixed
 * @todo: CSS Menu
 * @todo: js
 * @todo: twitter feed? other extras...
 */

/** Coloring **/
body.style-wise { background-color: #94cc5c }
body.style-brave { background-color: #729fcf }
body.style-wine { background-color: #da3f3f }
body.style-human { background-color: #fcaf3e }

#underlayer .top { background-color: #3c3c3c; }
.bottom {
  background-color: #3c3c3c;
  background-color: rgba(60,60,60,.85);
}

/** Generics **/
#underlayer, #page {
  font-size: .8em;
  line-height: 1.25;
  min-width: 900px;
}
p {
  padding: 3px 0px 7px 0px;
}
#page .pagecontent h1 {
  font-size: 1.75em;
  font-weight: bold;
}
#page .pagecontent h2 {
  font-size: 1.5em;
  font-weight: bold;
}
#page .pagecontent h1 {
  font-size: 1.75em;
  font-weight: bold;
}
#page .pagecontent h3 {
  font-size: 1.25em;
  font-weight: bold;
}
#page .pagecontent ul {
  list-style: disc;
}
#page .pagecontent ul li {
  margin-left: 15px;
}
#page .pagecontent .missing,
#page .pagecontent .missing a { font-weight: normal !important; font-style: italic !important; color: red !important; }
#page .pagecontent .missing a { text-decoration: underline !important; }
a.thumb {
  display: inline-block;
  padding: 7px;
  color: #fff;
  background-color: #444;
  background-color: rgba(68,68,68,.80);
  -moz-border-radius: 7px; -webkit-border-radius: 7px; -khtml-border-radius: 7px; border-radius: 7px;
}
a.thumb img {
	margin: 0; padding: 0;
	background-color: #fff;
}
.blogpost, .allposts, #comments {
  background: #eb4f4f;
  border: 1px solid #c92e2e;
  -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; border-radius: 10px;
  margin-bottom: 25px;
  padding: 5px;
}
#comments #dsq-content {
	margin-bottom: 5px;
}
.blogpost .title { font-size: 1.1em; }
.blogpost .author {
  font-style: italic; 
  border-bottom: 1px dotted #c92e2e;
  font-size: .9em;
  padding: 0;
  margin-bottom: 10px;
}
.blogpost.short {
  margin-bottom: 5px;
}
.blogpost.short .author {
  border-bottom: none;
  margin-bottom: 0;
}
#page .pagecontent .blogpost .readmore {
	text-align: right;
}
#page .pagecontent .allposts a { display: block; text-align: center; }
#page .pagecontent .blogpost .meta {
  margin-top: 15px;
  border-top: 1px dotted #c92e2e;
  list-style: none;
}
#page .pagecontent .blogpost .meta li { margin-left: 0; }
.permalink {
  margin-left: 4px;
  font-size: .5em;
  vertical-align: middle;
}
.comment, .author_comment {
  margin: 2px 0px 3px;
  border-bottom: 1px dotted #c92e2e;
  clear: left;
}
.break { clear: both; }
body.style-wise #page .pagecontent a,
body.style-wise #page .pagecontent a:link,
body.style-wise #page .pagecontent a:visited {
  color: #5580C3;
  font-weight: bold;
  text-decoration: none;
}

body.style-wise #page .pagecontent a:active,
body.style-wise #page .pagecontent a:hover {
  color: #da3f3f;
}

body.style-wise #page .pagecontent .tagcloud .tag a:active,
body.style-wise #page .pagecontent .tagcloud .tag a:hover {
	color: #5580C3;
	text-shadow: 0.1em 0.1em 3px #5580C3;
}
body.style-brave #page .pagecontent a,
body.style-brave #page .pagecontent a:link,
body.style-brave #page .pagecontent a:visited {
  color: #fcaf3e;
  font-weight: bold;
  text-decoration: none;
}

body.style-brave #page .pagecontent a:active,
body.style-brave #page .pagecontent a:hover {
  color: #da3f3f;
}

body.style-brave #page .pagecontent .tagcloud .tag a:active,
body.style-brave #page .pagecontent .tagcloud .tag a:hover {
	color: #fcaf3e;
	text-shadow: 0.1em 0.1em 3px #fcaf3e;
}
body.style-wine #page .pagecontent a,
body.style-wine #page .pagecontent a:link,
body.style-wine #page .pagecontent a:visited {
  color: #fcaf3e;
  font-weight: bold;
  text-decoration: none;
}

body.style-wine #page .pagecontent a:active,
body.style-wine #page .pagecontent a:hover {
  color: #da8d1c;
}

body.style-wine #page .pagecontent .tagcloud .tag a:active,
body.style-wine #page .pagecontent .tagcloud .tag a:hover {
	color: #fcaf3e;
	text-shadow: 0.1em 0.1em 3px #fcaf3e;
}
body.style-human #page .pagecontent a,
body.style-human #page .pagecontent a:link,
body.style-human #page .pagecontent a:visited {
  color: #ff2515;
  font-weight: bold;
  text-decoration: none;
}

body.style-human #page .pagecontent a:active,
body.style-human #page .pagecontent a:hover {
  color: #f27800;
}

body.style-human #page .pagecontent .tagcloud .tag a:active,
body.style-human #page .pagecontent .tagcloud .tag a:hover {
	color: #ff2515;
	text-shadow: 0.1em 0.1em 3px #ff2515;
}
.bottom {
  line-height: 35px;
  padding: 0 15px;
  color: #fff;
}
#page .bottom .tail {
  position: absolute;
  right: 5px;
  border-left: none !important;
  background: url(rss.png) center right no-repeat;
  padding-right: 30px;
}

/** Area positioning **/

body {
  position: absolute;
  width: 100%;
}

.top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 135px;
}

#page .pagecontent {
  position: absolute;
  top: 175px; left: 50px;
  width: 575px;
  padding-bottom: 45px;
  font-size: .9em;
}

#page .pagecontent.wide {
  right: 200px;
  width: auto;
}

.bottom {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 35px;
}

.all {
  position: absolute;
  width: 100%; height: 100%;
  top: 0; right: 0; bottom: 0; left: 0;
}

/** Sidebar **/
.sidebar {
  font-family: 'Baskerville', 'Times New Roman', 'Times', serif;
  
  position: absolute;
  top: 175px; right: 0px;
  width: 150px;
  padding-bottom: 45px;
}

.sidebar .sidebox.links {
	margin-bottom: 10px;
}

.sidebar .sidebox.links h4 {
  display: block;
  margin-bottom: 2px;
  margin-left: 7px;
  
  color: #fff;
  background-color: #444;
  background-color: rgba(68,68,68,.80);
  -moz-border-radius-topleft: .75em; -webkit-border-top-left-radius: .75em; -khtml-border-top-left-radius: .75em; border-top-left-radius: .75em; border-top-left-radius: .75em;
  -moz-border-radius-bottomleft: 2px; -webkit-border-bottom-left-radius: 2px; -khtml-border-bottom-left-radius: 2px; border-bottom-left-radius: 2px; border-bottom-left-radius: 2px;
  padding-left: 9px;
  
  height: 20px;
  line-height: 20px;
}

.sidebar .sidebox.links li {
  display: block;
  font-weight: bold;
  margin-bottom: 3px;
  
  color: #fff;
  
  /*background: url(left-link.png) left center no-repeat;*/
  background-color: #444;
  background-color: rgba(68,68,68,.70);
  -moz-border-radius-topleft: .75em; -webkit-border-top-left-radius: .75em; -khtml-border-top-left-radius: .75em; border-top-left-radius: .75em; border-top-left-radius: .75em;
  -moz-border-radius-bottomleft: .75em; -webkit-border-bottom-left-radius: .75em; -khtml-border-bottom-left-radius: .75em; border-bottom-left-radius: .75em; border-bottom-left-radius: .75em;
  padding-left: 9px;
  
  height: 22px;
  line-height: 22px;
}
.sidebar .sidebox.links li a,
.sidebar .sidebox.links li a:active,
.sidebar .sidebox.links li a:visited {
  display: block;
  text-decoration: none;
  /*background-color: #444;*/
  color: #fff;
  
  padding: 0 7px 0 0;
  height: 22px;
  line-height: 22px;
}
body.style-wise .sidebar .sidebox.links li a:active,
body.style-wise .sidebar .sidebox.links li a:hover { color: #94cc5c; }
body.style-brave .sidebar .sidebox.links li a:active,
body.style-brave .sidebar .sidebox.links li a:hover { color: #729fcf; }
body.style-wine .sidebar .sidebox.links li a:active,
body.style-wine .sidebar .sidebox.links li a:hover { color: #da3f3f; }
body.style-human .sidebar .sidebox.links li a:active,
body.style-human .sidebar .sidebox.links li a:hover { color: #fcaf3e; }
/*.sidebar .sidebox.links li a:active,
.sidebar .sidebox.links li a:hover { color: #729fcf; }*/

.sidebar a[href$=".rss"],
.sidebar a[href$=".atom"] {
  background: url(rss-small.png) center right no-repeat;
  padding-right: 20px;
}


/** Layering **/

#page, #underlayer {
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
  width: 100%; height: 100%;
}

#page { z-index: 2; }
#underlayer { z-index: 1; }

/** Graft images **/
.graft { position: absolute; width: 100%; height: 100%; top: 0; right: 0; bottom: 0; left: 0; }
.all .graft { position: fixed; }
.graft.a { background-image: url(a.png); background-position: 190px 316px/*20% 20%*/; }
.graft.b { background-image: url(ellipse3353.png); background-position: 0px 0px/*0% 0%*/; }
.graft.c { background-image: url(ellipse3353.png); background-position: 312px 350px/*78% 23%*/; }
.graft.d { background-image: url(path3513.png); background-position: -125px 775px/*-50% -10%*/; }
/*.graft.e { background-image: url(); }*/
body.zone-me #underlayer .rightimage {
	position: absolute; top: 0; right: 5px; 
	width: 135px; height: 135px;
	background: url(umbrellow-sprite.png) no-repeat;
}

/** Header **/
#page .top {
  border-bottom: 1px solid #000;
}
#identity {
  color: #729fcf;
  text-align: center;
  margin-top: 1.5em;
  text-shadow: 2px 3px 2px #5F86AD;
}
#identity .name { font-size: 1.75em; }
#identity .nick { font-size: 1.25em; }
#identity .tagline { font-size: .9em; }

/** Menu **/
ul#menu {
  font-family: Verdana, Arial, sans-serif;
  position: absolute;
  bottom: -1px; left: 5px;
  white-space: nowrap;
}
ul#menu ul { display: none; }
ul#menu > li {
  display: block;
  float: left;
  background-color: #444;
  color: #fff;
  text-shadow: 2px 2px 5px #fff;
  border: 0px solid #000;
  border-width: 1px 1px 0px;
  
  margin-right: 5px;
  
  padding: 0 5px;
  height: 2.5em;
  line-height: 2.5em;
  
  -moz-opacity: .5; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; filter: alpha(opacity=50); zoom: 1; opacity: .5;
  border-bottom: 1px solid #000;
  -moz-border-radius-topleft: 2px; -webkit-border-top-left-radius: 2px; -khtml-border-top-left-radius: 2px; border-top-left-radius: 2px; border-top-left-radius: 2px;
  -moz-border-radius-topright: 2px; -webkit-border-top-right-radius: 2px; -khtml-border-top-right-radius: 2px; border-top-right-radius: 2px; border-top-right-radius: 2px;
}
ul#menu > li.back { padding: 0 }

ul#menu li, ul#menu li a { color: #fff; }

ul#menu > li.active:active > a,
ul#menu > li.active:hover > a { text-decoration: underline; }
ul#menu > li.active, ul#menu > li:hover {
  -moz-opacity: 1; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=100); zoom: 1; opacity: 1;
  text-shadow: 2px 2px 3px #fff;
  border-bottom-color: transparent;
}
body.style-wise ul#menu > li.active { background-color: #94cc5c }
body.style-brave ul#menu > li.active { background-color: #729fcf }
body.style-wine ul#menu > li.active { background-color: #da3f3f }
body.style-human ul#menu > li.active { background-color: #fcaf3e }

ul#menu > li > a {
  display: block;
  height: 2.5em;
  line-height: 2.5em;
  font-weight: bold;
  text-decoration: none;
  padding: 0 5px;
}
ul#menu > li a:hover {
  /*background-color: #777;*/
}

ul#menu .back,
ul#menu .sitesep {
  background-image: url(sep.png);
  background-color: #222;
  -moz-opacity: 1; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=100); zoom: 1; opacity: 1;
}

/** Footer **/
#page .bottom {
  display: block;
}
#page .bottom li {
  display: inline;
  border-left: 1px dotted #fff;
  padding-left: 3px;
}
#page .bottom li#copyright {
  border-left: none;
  padding-left: 0;
}

#page .bottom a,
#page .bottom a:link,
#page .bottom a:visited {
  color: #fcaf3e;
  font-weight: bold;
  text-decoration: none;
}

#page .bottom a:active,
#page .bottom a:hover {
  color: #da3f3f;
}

/** Content **/
.annotate {
  font-style: italic;
  color: #ccc;
}

.tagcloud {
  display: block;
}
.tagcloud li {
  display: block;
  float: left;
  height: 4em;
  line-height: 4em;
}

.syntaxhighlighter {
  -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;
}

#tweets {
  position: absolute;
  top: 175px;
  right: 200px;
  width: 250px;
  background-color: #222;
  background-color: rgba(34,34,34,.80);
  padding: 5px;
  -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px;
  color: white;
}
#tweets .date {
  display: block;
  text-align: right;
  color: #ccc;
}
#tweets .avatar {
  float: left;
  margin-right: 5px;
}
#tweets header,
#tweets footer {
  display: block;
  clear: both;
  background-color: #222;
  padding: 5px;
}
#tweets header a,
#tweets footer a { color: white }
#tweets .tweet a { color: #ccc }
#tweets header {
  height: 50px;
  -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; -khtml-border-top-left-radius: 5px; border-top-left-radius: 5px; border-top-left-radius: 5px;
  -moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px; -khtml-border-top-right-radius: 5px; border-top-right-radius: 5px; border-top-right-radius: 5px;
}
#tweets footer {
  -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; -khtml-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; border-bottom-left-radius: 5px;
  -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; -khtml-border-bottom-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-right-radius: 5px;
  margin-top: 10px;
}
#tweets .tweet {
  clear: both;
  font-size: .8em;
  padding: 5px;
}
#tweets .follow,
#tweets .follow img { display: block; margin: 0 0 0 auto; }
#tweets .tweet {}

/* Disqus */
.dsq-widget ul.dsq-widget-list { padding: 0; margin: 0; text-align: left; }
img.dsq-widget-avatar { width: 32px; height: 32px; border: 0px; margin: 0px; padding: 0px 3px 3px 0px; float: left; }
a.dsq-widget-user { font-weight: bold; }
a.dsq-widget-thread { font-weight: bold; }
p.dsq-widget-meta { clear: both; font-size: 80%; padding: 0; margin: 0; }
li.dsq-widget-item { margin: 15px 0; list-style-type: none; clear: both; }
span.dsq-widget-clout { padding: 0 2px; background-color: #ff7300; color: #fff; }
table.dsq-widget-horiz td { padding-right: 15px; } 

