/*   
Theme Name: Yaletown
Theme URI: http://www.shupe.ca/articles/wordpress/themes/yaletown/
Description: Yaletown is a theme I created with my neighbourhood as the insperation.  The theme supports Sidebar Widgets and two different Bread Crumb Plugins. Once installed and activated several customizations can be set from the <a href="http://rshupe.homeip.net/wordpress/wp-admin/themes.php?page=yaletown.php">Options</a> page.
Author: Rodney Shupe
Author URI: http://www.shupe.ca/
Version: 1.6

Revision History
   version 1.0 -  Original Release
   version 1.1 -  Added table related tags to stylesheet.  Fixed mising ';'
                  on search results page.  Added identifier functions simular
				  to those universal for all my plugins.  Fixed missing
				  Category name display on Category Archive.
   version 1.2 -  I.E. Hack fix for <BLOCKQUOTE>.  Note you are unable to have
                  a left border and bottom padding in IE as it causes a strange
				  creeping effect to occur. 
   version 1.3 -  Removed adsense.php and will now rely on content filter
                  plugin Adsense-Deluxe Add ons
   version 1.4 -  Fixed missing __CLASS__ constant for versions of PHP older
                  than 4.3.0
   version 1.5 -  Added options to control page height and width.  Fixed issue
                  with PHP5 installs. Fixed issue with lists wrapping around
				  date block.
   version 1.6 -  Added optional compatible badges to footer.  Ensured the
                  theme is XHTML 1.0 Strict Compliant.  Improved <title> tag
				  content.  Added optional default font size. Added option to
				  display execution statisics. Fixed issue with favicon.

Usage Notes:


The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php

*/


/* ------------------ HTML Defaults ------------------ */
html {
	background: #708090;
}
body {
	background-color: #708090;
	color: #4D5863;
	cursor: default;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 10px;
	margin: 0;
	padding: 0;
	text-align: center;
}
a, a:visited, a:link {
	text-decoration: none;
	color: #336699;
}
a:hover {
	text-decoration: none;
	color: #000000;
	background-color: #E5ECF7;
}
a:active {
	color: #000000;
	background-color: #E5ECF7;
}
input, textarea {
	background-color: #F3F3F3;
	border: solid 1px #336699;
}
input:focus, textarea:focus {
	background-color: #FFFFFF;
}
cite {
	font: normal 12px verdana, Verdana, Geneva, Arial, Helvetica, sans-serif;
}
H1 {
	font-size: 2.4em;
	font-weight: normal;
	color: #336699;
}
H2 {
	font-size: 1.6em;
	font-weight: normal;
	color: #336699;
}
H3 {
	font-size: 1.2em;
	font-weight: normal;
	color: #336699;
}
H4 {
	font-weight: bold;
	color: #336699;
}
H5 {
	font-size: 1em;
	font-weight: normal;
	color: #336699;
}
H6 {
	font-size: 1em;
	font-weight: bold;
}
pre.code, code {
	font-family: 'Courier New', Courier, Fixed, monospace;
	font-size: 12px;
	line-height: 17px;
	display: block;
	color: #000;
	background : #fff url('images/codeback.gif') repeat-y top left;
	width : 90.5%;
	overflow : auto;
	height : 100px;
	border : 1px solid #336699;
	padding-left:30px; padding-right:20px; padding-top:0; padding-bottom:0
}
TABLE, TR, TH, TD {
	border: 0px;
	padding: 0px;
	margin: 0;
	vertical-align: text-top;	
}
TABLE {
	border: 1px solid #E5ECF7;
}
TH, TD {
	padding: 3px;
}
TH {
	background-color: #E5ECF7;
	color: #336699;
}

#wrapper {
	background: #FFFFFF url('images/sidebar.gif') repeat-y top left;
	width: 750px; /* Adjusted in alternate stylesheets */
	margin: 5px auto;
	text-align: left
}

/* ------------------ Header ------------------ */
#head {
	width: 750px;  /* Adjusted in alternate stylesheets */
	height: 225px; /* Adjusted in alternate stylesheets */
	float: none;
}
#head div#title {
	background-image: url('images/home/title.jpg');/* Adjusted in alternate stylesheets */
	height: 225px; /* Adjusted in alternate stylesheets */
	width: 250px;
	float: left;
	color: #FFFFFF;
	overflow:hidden
}
#head div#title H1, #head div#title H2 {
	font-size: 2.4em;
	font-weight: 900;
	margin: 15px 0px 0px 20px;
	padding: 0;
	line-height: 1em;
	color: #FFFFFF;
}
#head div#title H2 {
	font-size: 1.6em;
	font-weight: normal;
	margin: 10px 0px 0px 20px;
}
#head div#title IMG {
	padding: 0;
	border: 0px none;; margin-left:20px; margin-right:0px; margin-top:15px; margin-bottom:0px
}
#head div#banner {
	background-image: url('images/home/banner.jpg');/* Adjusted in alternate stylesheets */
	width: 500px;  /* Adjusted in alternate stylesheets */
	height: 225px; /* Adjusted in alternate stylesheets */
	float: right
}
#headbar {
	width: 750px; /* Adjusted in alternate stylesheets */
	height: 25px;
	float: none;
	margin: 0;
	padding: 0;
}
#headbar div#search {
	background-image: url('images/home/search.jpg');/* Adjusted in alternate stylesheets */
	background-color: transparent;
	background-repeat: no-repeat;
	width: 250px;
	height: 25px;
	line-height: 25px;
	margin: 0;
	float: left;
}
#headbar div#search input#s {
	border: 1px solid #666666;
	width: 200px;
	height: 16px;
	font-size: 10px;
	background-color: #FFFFFF;
	color: #666666;
	vertical-align:middle;
	margin-left: 20px;
}
#headbar div#search input#s:focus {
	color: #000000;
}
#headbar div#search button#searchsubmit {
	background: url('images/search.gif') no-repeat;
	border: 0px none;
	font-size: 0px;
	width: 20px;
	height: 16px;
	text-indent: -1000em;
	vertical-align:middle;
	cursor: pointer;
}
#headbar div#topmenu {
	background-image: url('images/home/topmenu.jpg');/* Adjusted in alternate stylesheets */
	width: 500px; /* Adjusted in alternate stylesheets */
	height: 25px;
	text-align: right;
	float: right
}
#headbar div#topmenu UL {
	padding: 0;
	margin: 2px 5px auto 0px;
	list-style-type:none;
}
#headbar div#topmenu LI {
	display: inline;
	background-image: url('/images/li_topmenu.gif');
	background-position: 0 4px;
	background-repeat: no-repeat;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 100;
	padding-left:.5em;
	padding-right:0px;
	padding-top:0px;
	padding-bottom:0px
}
#headbar div#topmenu LI.first {
	background-image: url('none');
}
#headbar div#topmenu LI A {
	text-decoration: none;
	color: #FFFFFF;
	background-color: transparent;
	padding: 0px 0px 0px 0px;
}
#headbar DIV#topmenu LI A:hover {
	text-decoration: underline;
}

/* ------------------ Sidebar ------------------ */
#sidebar {
	background: #336699 url('images/sidebar.gif') repeat-y top left;
	color: #FFFFFF;
	width: 250px;
	float: left;
	margin: 0;
	padding: 0;
}
#sidebar H1, #sidebar H2, #sidebar H3, #sidebar H4, #sidebar H5, #sidebar A, #sidebar A:visited, #sidebar A:link {
	background-color: #336699;
	color: #000000;
}
#sidebar UL {
	list-style: none;
	margin: 0;
	padding: 0;
}
#sidebar UL LI {
	padding: 5px 0px 5px 15px;
	overflow: hidden;
}
#sidebar UL LI H4 {
	margin: 0;
	font-size: 14px;
	font-weight: normal;
}
#sidebar UL LI UL {
	padding: 0;
	color: #FFFFFF;
	font-size: 12px;
	list-style: none;
}
#sidebar UL LI UL LI {
	padding: 0px 0px 0px 15px;
}
#sidebar UL LI UL LI A, #sidebar UL LI UL LI A:visited, #sidebar UL LI UL LI A:link {
	text-decoration: none;
	background-color: transparent;
	color: #FFFFFF;
}
#sidebar UL LI UL LI A:hover {
	text-decoration: underline;
	background-color: transparent;
	color: #FFFFFF;
}
#sidebar UL LI div.adsense {
	padding: 0 0 0px 25px;
}

/* ------------------ Main - Post/Page Content ------------------ */
div#breadcrumb {
	color: #990000;
	font-size: 12px;
	margin: 0;
	padding: 0;
}
div#breadcrumb a {
	color: #990000;
	text-decoration: none;
}

div#breadcrumb a:hover {
	background-color: transparent;
}
#breadcrumb UL {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#breadcrumb LI {
	display: inline;
	margin: 0;
	padding: 0px .5em 0px 0px;
}
#breadcrumb LI.current {
	display: none;
}
#breadcrumb LI A:hover {
	text-decoration: underline;
}


/* ------------------ Main - Post/Page Content ------------------ */
#main {
	width: 480px; /* Adjusted in alternate stylesheets */
	overflow: hidden;
	float: right;
	margin: 0;
	padding: 5px 10px 5px 10px;
	color:#000000;
}
#main H1 {
	font-size: 18px;
	font-weight: normal;
	color: #336699;
}
#main BLOCKQUOTE {
	clear: right;
	background-color: #E5ECF7;
	padding: 5px 10px 5px 5px !important;
	border-left: 5px solid #336699;
	padding-bottom: 0px; /* IE Hack: Since we are using a left border we can not use bottom padding */
}
#main DIV.navigation {
	clear: both;
	display: block;
	font-size: 12px;
}
.left {
	clear: none;
	text-align: left;
	float: left;
}
.right {
	clear: none;
	text-align: right;
	float: right;
}

/* ------ Date Bolock ------ */
.date {
	font-size: 11px;
	line-height: 1.1em;
	float: left;
	clear: left;
	height: 70px;
	width: 70px;
	margin: 0 5px 5px 0px;
	background: #FFFFFF;
	color: #336699;
	border: 1px solid #336699;
	border-top: 10px solid #336699;
}
.date span.day, .date span.month, .date span.year {
	display: block;
	margin: 0 auto 0 auto;
	text-align: center;
}
.date span.day {
	font-size: 30px;
	font-weight: normal;
	line-height: 1.1em;
}
.date span.month {
	margin-top: -10px;
	font-weight: bold;
}
.date span.year {
	margin-top: -10px;
	font-weight: bold;
}

.post_info {
	clear: both;
	border-top: solid 1px #ccc;
	margin-top: 5px;
	padding-top: 5px;
	padding-bottom: 20px;
	font-size: 9px;
	text-align: left;
	color: #999;
}
.entry UL, .entry OL {
	display:table;
}
.post_info UL {
	list-style: none;
	margin: 0;
	padding: 0;
}
.post_info LI {
	display: inline;
	padding-right: 10px;
}
.post_info a, .post_info a:link, .post_info a:active, .post_info a:visited {
	font-size: 9px;
	color: #999;
}

/* ------------------ Comments ------------------ */
#comments h2 {
	font-size: 12px;
}
#comments ol.commentlist {
	margin: 10px 0 0 0px;
	padding: 0;
	list-style-type: none;
}
#comments ol.commentlist li {
	width: 465px; /* Adjusted in alternate stylesheets */
	margin: 0 0 15px 0px;
	padding: 5px;
	list-style-type: none;
}
#comments ol.commentlist li cite {
	font: normal 12px verdana, Verdana, Geneva, Arial, Helvetica, sans-serif;
}
#comments ol.commentlist li.alt {
	background-color: #E5ECF7;
	border: solid 1px #ddd;
}

#comments ol.commentlist li.normal p, #comments ol.commentlist li.alt p {
	margin: 3px 10px 10px 10px;
}
textarea#comment {
	width: 475px;
}

/* ------------------ Footer ------------------ */
#footerbar {
	width: 750px; /* Adjusted in alternate stylesheets */
	height: 10px;
	overflow: hidden;
	background-color: #FFFFFF;
	clear: both;
}

#footer {
	width: 750px; /* Adjusted in alternate stylesheets */
	background-color: #708090;
	clear: both;
	color: #4D5863;
	border: 0px;
	margin: 0;
	padding: 0;
	font-size: 10px;
	text-align: right;
}
#footer div.footnote {
	padding: 2px 0 0 0;
}
#footer div.adsense {
	text-align: right;
}
#footer p {
	padding: 0;
	margin: 0;
}
#footer a, #footer a:link, #footer a:visited, #footer a:hover, #footer a:active {
	color: #333333;
	background: transparent;
}
#footer a:hover, #footer a:active {
	text-decoration: underline;
}
#footerbadges { 
	font-size: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}
#footer .w3cbadge, #footer .s508badge {
	position: relative;
	margin: 5px 5px 5px 0;
	width: 10em;
	border: 0;
	font-family: helvetica,arial,sans-serif;
	font-size: 10px;
	font-weight: bold;
	float: left;
}
#footer .w3cbadge a, #footer .s508badge a {
	border: 1px solid #4D5863;
	display: block;
	width: 100%;
}
#footer .w3cbadge a:link, #footer .w3cbadge a:visited, #footer .w3cbadge a:hover,
#footer .s508badge a:link, #footer .s508badge a:visited, #footer .s508badge a:hover {
	text-decoration: none;
}
#footer .w3cbadge a:link, #footer .w3cbadge a:visited, #footer .s508badge a:link, #footer .s508badge a:visited {
	background-color: #708090;
	color: #4D5863;
}
#footer .w3cbadge a:hover, #footer .s508badge a:hover {
	border: 1px solid #fc6;
	background-color: #fc6;
	color: #000;
}
#footer .w3cbadge span.w3c, #footer .s508badge span.s508 {
	padding: 0;
	background-color: #4D5863;
	color: #708090;
	width: 3em;
	overflow: hidden;
	text-align: center;
	position: absolute;
	left: 1px;
}
#footer .s508badge span.spec {
	font-weight: normal;
}
#footer .w3cbadge a:hover span.w3c {
	background-color: #fff;
	color: #0c479d;
}
#footer .w3cbadge span.spec, #footer .s508badge span.spec {
	padding: 0;
	width: 60px;
	overflow: hidden;
	text-align: center;
}
#footer .s508badge a:hover {
	border: 1px solid #E5ECF7;
	background-color: #E5ECF7;
	color: #000;
}
#footer .s508badge a:hover span.s508 {
	background-color: #336699;
	color: #fff;
}
