/*
Theme Name: Unsleepable - Widget friendly
Base Theme URI: http://www.openswitch.org
Base Theme Author: Ben Gray
Base Theme Author URI: http://www.openswitch.org
Description: A simple two-column theme that appeals to the monochrome amongst us.

- This theme has been slightly modified from the base theme, K2 by Michael Heilemann http://binarybonsai.com/
- This theme has been modified by Michael Sync "http://michaelsync.net" for widget support.
- Header code base gleaned from Foogaming.com http://www.foogaming.com with full permission.
- A big thanks to Adam (http://www.archgfx.net/blog) for helping me clean up the code and squash some bugs.

This theme has then been heavily modified by myself http://hugoking.com/

Tags: two columns, fixed width
*/

a img {
	border: none;
}

.footer_image {
	vertical-align: middle !important;
	margin-left: 10px;
}

.editlink {
	background: url('images/pencil.png') no-repeat left;
}

.category {
	background: url('images/page_white.png') no-repeat left;
	padding: 2px 0 2px 18px;
}

#menu {
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-image: none;
	text-transform: lowercase;
}

#menu li {
	float: left;
	width: 7em;
	border-right: 1px solid #aaa;
}

#menu a {
	display: block;
	height: 50px;
	width: 7em;
	line-height: 50px;
	padding: 50px 0 0;
	text-align: center;
	color: #fff;
	-webkit-transition: background-color .15s ease-in-out;
}

#menu a:hover,
#menu .current_page_item a {
	background-color: #0D78B6;
	color: #fff;
}

#menu li#title {
	width: auto;
}
#menu li#title a {
	font-size: 20px;
	-webkit-transition: background-color .15s ease-in-out;
}

#menu li#title a:hover {
	background-color: #000;
}

#menu li#title strong {
	color: #0D78B6;
}

body {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-size: 11px !important;
	background: #ddd url('images/top-bg.gif') repeat-x top left;
	text-align: center;
	margin: 0px;
}

#page {
	background: #fff;
	background-position: right !important;
	text-align: left;
	margin: 0px auto 0px;
	padding: 0;
	position: relative;
	width: 800px;
}

#header {
	height: 100px;
	width: 100%;
	color: #fff;
	background: #022330;
	border-left: 1px solid #aaa;
	margin: 0;
}

*:first-child+html .primary {
	width: 480px;
}
* html .primary {
	width: 480px;
}
html:first-child .primary {
	width: 480px;
}

.primary {
	overflow: hidden;
	float: left;
	padding: 20px 15px 15px 15px;
	margin: 0;
	display: inline;
	width: 500px;
}

ul.secondary {
	font: 12px Trebuchet MS /*'Lucida Grande', Verdana, Arial, Sans-Serif*/;
	padding: 5px 15px 20px 5px;
	float: right;
	color: #666;
	position: relative;
	line-height: 1.3em !important;
	list-style: none !important;
	width: 240px;
}

*:first-child+html ul.secondary {
	width: 220px;
}
* html ul.secondary {
	width: 220px;
}
html:first-child ul.secondary {
	width: 220px;
}

ul.secondary a {
	color: #333;
}

ul.secondary a:hover {
	text-decoration: underline !important;
}

.comments {
	text-align: left;
	padding: 30px 0 0;
	position: relative;
}

.admintab {
	display: none !important;
}

a img,:link img,:visited img {
	border: none;
}

/*- Sidebar Subpages Menu */

.sb-pagemenu ul {
	margin-left: 10px;
}

.sb-pagemenu ul ul {
	margin-top: 2px;
}

.sb-pagemenu ul ul .page_item {
	margin-left: 10px;
	padding: 0;
}

/*- Headings -*/

h1,
h2,
h3,
h4 {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
}

h1 {
	padding-top: 10px;
}

h1 {
	font-size: 1.6em;
}

h2 {
	font-size: 1.4em;
}

h3 {
	font-size: 1.2em;
}

.pagetitle {/* Used on static pages and archives */
	text-align: center;
	margin: 15px 0 20px;
}

.pagetitle h2 {/* H2 is what kind of page you are on. Eg. 'Monthly Archive'. */
	font-size: 23px;
	font-weight: bold;
	letter-spacing: -1px;
	text-align: center;
	display: inline;
	font-family: Helvetica, Arial, Sans-Serif !important;
	color: #555 !important;
	text-transform: lowercase;
}

.secondary h2,
.secondary h2 a {/* Secondary H2 is sidebar headlines */
	font-family: Helvetica, Arial, Sans-Serif !important;
	font-size: 16px;
	font-weight: bold;
	display: block;
	color: #555;
	margin: 0 0 10px 0 !important;
	padding: 0;
	letter-spacing: -1px;
	text-transform: lowercase;
}
.secondary h2 a:hover {/* Secondary H2 is sidebar headlines */
	font-family: Helvetica, Arial, Sans-Serif !important;
	font-size: 16px;
	font-weight: bold;
	display: inline;
	color: #0D78B6 !important;
	padding: 0;
	letter-spacing: -1px;
	text-transform: lowercase;
	text-decoration: none !important;
}

.secondary li#text-523418371 div,
.secondary li#text-524384151 div,
.secondary li#twitter-3 div ul {
	padding-left: 70px;
	min-height: 70px;
}

.secondary li#text-523418371 div {
	background: url('images/practika/64x64/user.png') left top no-repeat;
}

.secondary li#text-524384151 div,
.secondary li#twitter-3 div ul {
	background: url('images/practika/64x64/twitter.png') left top no-repeat;
}
.secondary li.widget_text a,
.secondary li#twitter-3 div ul a {
	color: #0D78B6;
}

.secondary li#twitter-3 div ul span.from-meta {
	display: none;
}

.primary h3,
.primary h4,
.permalink .primary .aside h3 {/* H3 is entry headlines. H4 is comments and replyform headlines */
	font-size: 2.2em;
	font-weight: normal;
	letter-spacing: -1px;
	display: inline;
}

.primary .aside h3 {
	font-size: 1.6em;
	font-weight: normal;
}

.itemhead {
	margin-top: 10px;
}

.itemtext h3 {/* For use on Pages */
	font-size: 1.7em;
	display: block;
	padding: 15px 0 0;
}

.itemtext h4 {/* For use on Pages */
	font-size: 1.5em;
	display: block;
	padding: 15px 0 0;
}

.secondary div,
li.widget {
	margin: 20px 0 0;
	padding: 0;
}

.secondary div div div {
	margin: 0;
}

.primary .metalink a, .primary .metalink a:visited, /* The Metalink class takes care of the comments, edit, rss and trackback links next to the titles */
.secondary .metalink a, .secondary .metalink a:visited,
.secondary span a, .secondary span a:visited {
	color: #999;
	font-weight: normal;
}

.primary .item .itemhead .metalink,
.comments .primary .metalink {
	font-size: 1.8em;
	letter-spacing: -1px;
	text-transform: lowercase;
	margin-left: 15px;
}

.primary .aside .itemhead .metalink {
	font-size: 1.4em;
}

.permalink .primary .aside .itemtext {
	font-size: 1.4em;
	color: #999;
}

.comments .primary .metalink {
	margin: 0 15px 0 0;
	float: none;
}

.feedicon {/* Next to Comment Section Headline */
	border: 0 !important;
	padding: 0 !important;
}

.feedlink img {/* On the sidebar */
	display: none !important;
}

.primary .aside {
	padding: 8px;
	margin: 0 4%;
}

.secondary .aside {
	margin: 0;
	padding: 0 0 10px;
	word-spacing: -1px;
}

.secondary .aside .metalink {
	padding-left: 0px;
}

.secondary span a {
	margin-left: 10px;
}

.editlink img {
	width: 16px;
	height: 16px;
	border: none !important;
	padding: 0 !important;
	margin: 4px 0 0 !important;
	position: absolute;
	right: 0;
}

.aside .editlink img {
	top: 9px;
}

.commentseditlink {
	border: none;
	padding: 2px;
	padding-left: 10px;
}

.metalink a span {
	display: none;
}

.metalink a:hover span {
	display: inline;
}

h2, h2 a, h2 a:visited,
h3, h3 a, h3 a:visited,
h4, h4 a, h4 a:visited {
	color: #444;
}

h2, h2 a, h2 a:hover, h2 a:visited,
h3, h3 a, h3 a:hover, h3 a:visited,
h4, h4 a, h4 a:hover, h4 a:visited {
	text-decoration: none;
}

.metadata {
	font-size: 1em;
	display: inline;
	padding-top: 2px !important;
	color: #bbb;
}

.metadata a, .metadata a:visited {
	color: #0D78B6;
	font-weight: normal;
}

.metadata a:hover {
	color: #0D78B6 !important;
	text-decoration: underline !important;
}

.commentslink {
	padding: 2px 0 2px 20px;
	background: url('images/comment.png') left center no-repeat;
	margin-right: 10px;
}

.chronodata {
	margin-left: 3px !important;
	padding: 0;
	color: #ccc !important;
	font-family: Helvetica, Arial, Sans-Serif !important;
	letter-spacing: -1px;
	font-weight: bold;
	font-size: 23px;
	text-transform: lowercase;
	display: inline;
}

.tagdata {
	display: inline;
	padding: 2px 0 2px 20px;
	background: url('images/tag_blue.png') left center no-repeat;
}

.tagdata a {
	color: #666 !important;
}

/*- Primary Contents */


.primary .item {
	margin: 0;
	padding: 0px 0 15px;
	position: relative;
}

.primary .item .itemtext {
	font: 1.2em Trebuchet MS ;
	text-align: left;
	color: #333;
	padding-bottom: 1px;
	background: url('images/break.gif') bottom left repeat-x;
	line-height: 150% !important;
	margin-bottom: 2px;
}

.primary .item .itemtext p,
.primary .item .itemtext ul,
.primary .item .itemtext ol,
.primary .item .itemtext div,
.primary .item .itemtext blockquote {
	margin: 13px 0;
}

.primary .aside .itemtext p,
.primary .aside .itemtext ul,
.primary .aside .itemtext ol,
.primary .aside .itemtext div,
.primary .aside .itemtext blockquote {
	margin: 5px 0;
}

.permalink .primary .aside .itemtext p,
.permalink .primary .aside .itemtext ul,
.permalink .primary .aside .itemtext ol,
.permalink .primary .aside .itemtext div,
.permalink .primary .aside .itemtext blockquote {
	margin: 13px 0;
}

.metalinks {
	margin-top: 3px;
}

.commentsrsslink {
	background: url('images/feed.png') left top no-repeat;
	padding: 2px 0 2px 20px;
	margin-right: 10px;
	height: 16px;
}

.trackbacklink {
	background: url('images/arrow_refresh.png') left top no-repeat;
	padding: 2px 0 2px 20px;
	height: 16px;
}

.commentsrsslink a,
.trackbacklink a {
	color: #999;
	padding: 2px;
}

.comments .commentlist {
	margin: 0;
	padding: 20px 0;
	position: relative;
}

.comments .commentlist li {
	margin: 10px 0;
	padding: 10px 10px 5px;
	list-style: none;
}

.comments .commentlist {
	padding: 2px 0 2px 0px;
	display: block;
}

.commentmetadata {
	font-size: 12px;
	display: inline;
}

.comments .commentlist li img {
	padding: 0;
	border: none;
}

.comments .commentlist li img.avatar {
	float: right;
	margin: 0;
	background: #fff;
	padding: 2px;
	border: 1px solid #ccc;
}

.comments .commentlist li .commentauthor {
	font-size: 1.4em;
	font-weight: normal;
	letter-spacing: -1px;
}

.comments .commentlist li .counter {
	font: normal 1.5em Helvetica, Sans-Serif;
	color: #999;
	float: left;
	width: 35px;
}

.comments .commentlist li.authorcomment {
	background: #f6f7f8;
}

.comments .pinglist {
	font-size: 1.2em;
	padding: 0;
	margin: 0;
}

.comments .pinglist li {
	margin-left: 40px;
	padding: 7px 0;
	list-style: none;
}

.comments .pinglist li .commentauthor {
	font-weight: bold;
	display: block;
}

.comments .pinglist li small {
	font: .8em Arial, Sans-Serif;
	display: block;
}

.comments .pinglist li .counter {
	display: none;
}

.comments .pinglist li span.favatar img {
	margin-left: -25px;
	border: none;
	padding: 0;
	float: left;
}

.comments .pinglist li img {
	padding: 0;
	border: none;
}

.comments #leavecomment {
	text-align: center;
	margin-bottom: 40px;
	color: #ddd;
	font-size: 2em;
	letter-spacing: -2px;
}

.comments #loading {
	text-align: center;
	margin-bottom: 40px;
	margin-top: 40px;
	color: #ddd;
	font-size: 2em;
	letter-spacing: -1px;
}

.comments form {
	clear: both;
	padding: 1px 0 30px;
	margin: 0;
}

input[type=text],
textarea {
	font: 1.1em Trebuchet MS;
	padding: 3px;
	color: #777;
}

input[type=text]:focus,
textarea:focus {
	background: #fff;
	color: #333;
	border-color: #666;
}

.comments form input[type=text] {
	width: 45%;
	margin: 5px 5px 1px 0;
}

.comments form textarea {
	height: 250px;
	padding: 2px;
	width: 99%;
}

.comments form #submit {
	margin: 0;
	float: right;
}

#footer {
	background: #022330;
	color: #fff;
	padding: 10px 0 5px 0;
	position: relative;
	text-align: center;
	margin: 0 auto 0;
	line-height: 150%;
}

#footer img {
	vertical-align: top;
}

#footer a {
	color: #fff;
	font-weight: bold;
	text-decoration: underline;
}

#footer a:hover,
#footer .current_page_item a {
	border: none;
	text-decoration: none;
	color: #0D78B6;
}

#footer_menu {
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-image: none;
	text-transform: lowercase;
}

#footer_menu li {
	display: inline;
}

#footer_menu li:before {
	content: ' / ';
}

#footer_menu li.first:before {
	content: '';
}

/*- Links */

.primary a:hover, .primary a:visited:hover,
.secondary a:hover, .secondary a:visited:hover {
	text-decoration: underline !important;
}

h2 a:hover,
h2 span a:hover {
	color: #990B4F!important;
	text-decoration: none !important;
}

a {
	color: #0D78B6;
	border-bottom: none;
	text-decoration: none !important;
}

.itemtext a {
	color: #0D78B6;
	text-decoration: none !important;
	font-weight: normal;
}

.itemtext a:hover {
	color: #0D78B6!important;
	text-decoration: underline!important;
	font-weight: normal;
}

/*- Various Tags and Classes */

.clear {
	clear: both;
	margin: 0;
	padding: 0;
}

.center {
	text-align: center;
}

img.socialbkmark {
	vertical-align: middle;
	border: 0px;
	margin-bottom: 4px;
}

small {
	font-size: .9em;
	line-height: 1.5em;
	color: #777;
}

strike {
	color: #777;
}

p.code,
code {
	font: 1em 'Courier New', Courier, Fixed;
	padding: .5em 30px .5em .5em;
	display: block;
	overflow: auto;
	text-align: left;
	background: #efefef url('images/code.png') 99% .6ex no-repeat;
	border-top: 1px dotted #ccc;
	border-bottom: 1px dotted #ccc;
}

acronym,
abbr {
	font-size: 0.9em;
	letter-spacing: .07em;
	border-bottom: 0px dashed #999;
	cursor: help;
}

blockquote {
	font: italic 1em Georgia, Garamond, serif;
	margin: 20px 0;
	padding: 0 30px 0 50px;
	background: #efefef url('images/speechbubble.png') 99% .6ex no-repeat;
	border-top: 1px dotted #ccc;
	border-bottom: 1px dotted #ccc;
}

hr {
	display: none;
}

.navigation {
	text-align: center;
	margin: 10px 0 10px;
	padding: 0;
	width: 100%;
}

.navigation .left {
	float: left;
	width: 50%;
	text-align: left;
}

.navigation .right {
	float: right;
	width: 50%;
	text-align: right;
}

.navigation p {
	margin: 0;
	padding: 0;
}

.navigation a {
	color: #999;
}

img.wp-smiley {
	border: none !important;
	padding: 0 0 0 5px !important;
}

/*- Begin Lists */

.itemtext ol {
	padding: 0 0 0 35px;
	margin: 0;
}

.itemtext ol li {
	margin: 0 0 3px;
	padding: 0;
}

.secondary ul,
.secondary ol {
	margin: 5px 0 0;
	padding-left: 0;
}

.secondary ol {
	margin-left: 15px;
}

.secondary ul li,
.secondary ol li {
	margin: 0;
	padding: 1px 0;
}

.secondary ul li {
	list-style-type: none;
}

ol li {
	list-style: decimal outside;
}

input[type=text],
textarea {
	color: #444;
	padding: 2px 0 2px 2px;
	margin: 0;
}

input#s {
	width: 75%;
}

textarea#comment {
	background: transparent url('images/comment-textarea.png') no-repeat center;
}

.item2 {
	padding: 0px 0 60px;
	font: 1.2em Trebuchet MS;
	text-align: left;
	color: #333;
	padding-bottom: 1px;
	line-height: 150% !important;
}

.comments h4 a {
	font-family: Trebuchet MS !important;
	font-size: 22px !important;
}

.comments h4 {
	font-family: Trebuchet MS !important;
	font-size: 22px !important;
}

ul#contact_list {
	list-style-type: none;
	padding: 0px;
	margin: 0px;
}

ul#contact_list li {
	padding: 0px;
	margin: 5px 0;
}

ul#contact_list li img {
	border: none;
	vertical-align: middle;
}

p.image_center {
	text-align: center;
	font-size: .8em;
	color: #777;
}

p.image_center img,
p.image_center object {
	padding: 5px;
}

img.image_right,
.alignRight {
	float: right;
	padding-left: 5px;
}

img.image_left,
.alignLeft {
	float: left;
	padding-right: 5px;
}

ul.downloads {
	padding: 1ex 30px 1ex 1em;
	margin: 2ex 0;
	background: #efefef url('images/downarrow.png') 99% .6ex no-repeat;
	border-top: 1px dotted #ccc;
	border-bottom: 1px dotted #ccc;
	list-style: none;
	list-style-image: none;
}

ul.downloads a.doc,
ul.downloads a.rtf {
	padding: 2px 0 0 18px;
	background: transparent url('images/link_icons/icon_doc.gif') no-repeat center left;
}

ul.downloads a.txt {
	padding: 2px 0 0 18px;
	background: transparent url('images/link_icons/icon_txt.gif') no-repeat center left;
}

ul.downloads a.xls {
	padding: 2px 0 0 18px;
	background: transparent url('images/link_icons/icon_xls.gif') no-repeat center left;
}

ul.downloads a.rss,
ul.downloads a.atom {
	padding: 2px 0 0 18px;
	background: transparent url('images/link_icons/icon_feed.gif') no-repeat center left;
}

ul.downloads a.pps {
	padding: 2px 0 0 18px;
	background: transparent url('images/link_icons/icon_pps.gif') no-repeat center left;
}

ul.downloads a.fla,
ul.downloads a.swf {
	padding: 2px 0 0 18px;
	background: transparent url('images/link_icons/icon_flash.gif') no-repeat center left;
}

ul.downloads a.pdf {
	padding: 2px 0 0 18px;
	background: transparent url('images/link_icons/icon_pdf.gif') no-repeat center left;
}

ul.downloads a.zip,
ul.downloads a.rar,
ul.downloads a.gzip,
ul.downloads a.bzip,
ul.downloads a.ace {
	padding: 2px 0 0 18px;
	background: transparent url('images/link_icons/icon_archive.gif') no-repeat center left;
}

ul.downloads a.jpg,
ul.downloads a.gif,
ul.downloads a.png,
ul.downloads a.bmp,
ul.downloads a.jpeg,
ul.downloads a.svg,
ul.downloads a.eps {
	padding: 2px 0 0 18px;
	background: transparent url('images/link_icons/icon_pic.gif') no-repeat center left;
}

ul.downloads a.mov,
ul.downloads a.wmv,
ul.downloads a.mp4,
ul.downloads a.avi,
ul.downloads a.mpg {
	padding: 2px 0 0 18px;
	background: transparent url('images/link_icons/icon_film.gif') no-repeat center left;
}

ul.downloads a.mp3,
ul.downloads a.wav,
ul.downloads a.ogg,
ul.downloads a.wma,
ul.downloads a.m4a {
	padding: 2px 0 0 18px;
	background: transparent url('images/link_icons/icon_music.gif') no-repeat center left;
}