/*
Theme Name: Tiki
Theme URI: http://www.tmwright.com
Description: WordPress Theme for my website
Version: 1.0
Author: Travis M. Wright
Author URI: http://www.tmwright.com/
*/

/* ************** STRUCTURE ************** */

body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	background-color: #454C67;
	color: #61636A;
	text-align: left;
	margin: 0;
	padding: 0;
	background: url(./images/bg.jpg) repeat-x top center fixed; border: none;
}

#header {
	margin: 0;
	padding: 0;
	height: 300px;
	background: url(./images/header.jpg) no-repeat bottom center; border: none;

}

#header h1 { display: none; }
#header .description { display: none }

#logo {
  	position: relative;
  	margin: 0;
	z-index: 1;
	font-size: 0;
}


#page {
	background-color: white;
	margin: 0 auto;
	padding: 0;
	width: 700px;
}

#content {
	float: left;
	background-color: white;
	margin: 0;
	padding: 20px 0 0 25px;
	width: 450px;
}

#sidebar {
	margin: 0 0 0 500px;
	padding: 10px 0 10px 15px;
	width: 170px;
	background: url(./images/sidebar.gif) no-repeat top left; border: none;

}

#footer {
	text-align: right;
	clear: both;
	margin: 0;
	padding: 20px 15px 0 0;
	height: 50px;
}

/* navigation
--------------------------------------------------*/
#navigation {
  height:2.7em;
  line-height:2.7em;
  padding: 2px 0px 2px 0px;
  color: #FFFFFF;
  background-color: #000000;
}

#navigation ul {
  margin:0;
  padding:0;
  color: #FFFFFF;
  background-color: #61636A;
}

#navigation li {
  float:left;
  margin:0;
  padding:0;
  list-style-type:none;
  border-right:1px solid;
  white-space:nowrap;
  color: #FFFFFF;
  background-color: #000000;
}

#navigation li a:link, #navigation li a:visited {
  display:block;
  padding:0 18px;
  font-size:0.8em;
  text-transform:uppercase;
  letter-spacing:1px;
  color: #FFFFFF;
  background-color: #000000;
}

#navigation li a:hover, #navigation li a:active {
  display:block;
  padding:0 18px;
  font-size:0.8em;
  text-transform:uppercase;
  letter-spacing:1px;
  color: #FFFFFF;
  background-color: #990000;
}

* html #navigation a {width:1%;} /* see http://www.positioniseverything.net/explorer/escape-floats.html */

#navigation form {
  float:right;
  height:100%;
  width:170px;
  padding:0 15px;
  border-left:1px solid;
  line-height:0;
  background-color: #61636A;
}

#navigation form fieldset {
  /* centering the search form could've
  been done way more elegant but IEWin
  and Opera refused to follow the rules */
  margin-top:0px;
  border:0 solid; /* Opera */
}

* html #navigation form fieldset {margin-top:0px;}

#navigation #s {
  height:1.5em;
  width:110px;
  margin:0;
  padding:0;
  border:1px solid;
  font-size:9px;
}

#navigation #searchbutton {
  height:2em;
  width:auto;
  margin:0;
  padding:0;
  border:1px solid;
  font-size:9px;
}

/* **************** LINKS **************** */

a {
	color: #660000;
	text-decoration: none;
}

a:hover {
	color: #990000;
	text-decoration: none;
}

/* *************** HEADERS *************** */

h1, h2, h3 {
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-weight: bold;
	font-size: 1.8em;
	color: #660000;
}

/*h2 {
	background: url(./images/h2.gif) no-repeat left; border: none;
}
*/

h2.pagetitle {
	text-align: right;
	border-bottom: 1px solid #454C67;
	color: #454C67;
	margin-top: 0;
	padding-bottom: 5px;
	margin-bottom: 30px;
}

img {
	border:0;
}

/* Next's that image before the post title */

img.lefth2img {
	margin: 0;
	padding: 0 5px 0 0;
}

/* And next's that image under the titles in sidebar */

img.righth2img {
	margin: 0 0 -12px 0;
	padding: 0;
}

#sidebar h2 {
	color: #660000;
	font-family: 'Lucida Grande', Verdana, Sans-Serif;
}

.post h2 {
	display: inline;
	padding-bottom: 5px;
	margin-bottom: 5px;
}

.post small { display: block; }

.post h3 {
	font-size: 1.5em;
	padding: 0;
	margin: 15px 0 0 0;
}

/* Content
----------------------------------------------*/

#content ul li:before { content: "\00BB \0020"; }

#content ul, #content li {
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-image: none;
}

#content ul li {
	list-style-type: none;
	list-style-image: none;
}

/* ****************** POST ****************** */

.post {
	font-size: 1.1em;
	text-align: justify;
}

.postmetadata {
	text-align: right;
	padding-bottom: 20px;
	margin-top: 5px;
	padding-top: 5px;
	border-top: 1px solid #454C67;
}

blockquote {
	margin: 15px 30px 0 0;
	padding-left: 15px;
	border-left: 4px solid #454C67;
}

blockquote cite {
	margin: 5px 0 0;
	display: block;
}

code {
	display: block;
	margin: 5px;
	padding: 5px;
	border: 1px solid black;
	font: 1.1em 'Courier New', Courier, Fixed;
	background-color: #eeeeee;
	color: black;
}

.navigation { margin-bottom: 15px; }

/* ************* SIDEBAR LISTS ************** */

/* That next line puts ' » ' front of the list-items
   in the sidebar, with moder browsers only :| */

#sidebar ul ul li:before { content: "\00BB \0020"; }

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
}

#sidebar ul p, #sidebar ul select { margin: 5px 0 8px; }

#sidebar ul ul, #sidebar ul ol { margin: 5px 0 0 10px; }

#sidebar ul ul ul, #sidebar ul ol { margin: 0 0 0 10px; }

ol li, #sidebar ul ol li { list-style: decimal outside; }

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
}

/* *************** SEARCHFORM *************** */

#searchform {
	margin: auto 0;
	padding: 5px 3px; 
	text-align: left;
}

form#searchform input:focus {
	border: 2px solid #454C67;
	margin: 1px;
}

#searchform input { 
	font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	border: 1px solid #990000;
	margin: 2px;
}

#searchform #s {
	width: 115px;
	padding: 2px;
}

#searchsubmit { display: none; }

/* **************** COMMENTS **************** */

/* Form */

#respond { margin-top: 30px; }

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
}

#commentform textarea {
	width: 100%;
	padding: 2px;
}

#commentform #submit {
	margin: 0;
	float: right;
}

#commentform p { margin: 5px 0; }

/* Comments */

.alt {
	background-color: #EEEEEE;
	border-top: 1px solid #136284;
	border-bottom: 1px solid #136284;
}

.commentlist {
	padding: 0;
	margin: 0 0 20px 0;
	text-align: justify;
}

.commentlist li {
	margin: 5px 0 3px 0;
	padding: 5px 10px 3px 10px;
	list-style: none;
}

.commentlist p { margin: 0 0 15px 0; }

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
}

.commentmetadata {
	margin: 0;
	display: block;
}

/* calendar
--------------------------------------------------*/
#wp-calendar {
  display:inline-table;
  border-collapse:collapse;
  width:170px;
  margin:0;
  text-align:center;
}

#subcontent table caption {
  margin:0px 10px 0 10px;
  padding-bottom:5px;
  border-bottom:2px solid;
  letter-spacing:0.1em;
}

#subcontent table thead tr {
	border-bottom:2px solid;
	border-bottom-color:#61636A;	
}

#subcontent table th {
	border-bottom:2px solid;
	border-bottom-color:#61636A;
}

#subcontent table td {
  width:170px; /* maximaize width; honestly, I don't know much about tables... */
  padding:1px;
  font-size:0.9em;
}

#subcontent table td #today {
  padding:0;
  border:1px solid;
  border-color:#61636A;
  font-size:1em;
  font-weight:bold;
}

#subcontent table td a {
  display:block;
  border-bottom:1px solid;
  font-weight:bold;
  font-size:1.15em;
}

#subcontent table tfoot {
	border-top:1px solid;
	border-top-color:#61636A;	
}

#subcontent table tfoot a {
  border:none;
  font-weight:bold;
}

#subcontent table tfoot #prev a {text-align:left;}
#subcontent table tfoot #next a {text-align:right;}