/*  
Theme Name: David Bobzien
Theme URI: http://www.davidbobzien.com/
Description: WordPress theme for the David Bobzien Nevada Assembly.
Version: 1.0
Author: David Bobzien
Author URI: http://www.davidbobzien.com/

	David Bobzien
	 http://www.davidbobzien.com/
	 
	*** REGARDING IMAGES ***
	All CSS that involves the use of images, can be found in the 'index.php' file.
	This is to ease installation insidebar subdirectories of a server.

*/



/*Advanced styles*/
body {
	background-color: #fff;
	background-repeat: repeat-x;
	background-position: 0% 0%;
	margin: 0;
	padding: 0;
	text-align: center;
	}
	
body, td, th, p, li, label, input, code { /* redundant rules for bad browsers  */
	color: #000;
	font-size: x-small;
	line-height: 1.4em;
	voice-family: "\"}\"";
	voice-family: inherit;
	font-size: small;
	}
html>body, html>body td, html>body th, html>body p, html>body li, html>body label, html>body input, html>body code  {font-size: small;}	
	
h1, h2, h3, h4 {
	font-family: Garamond, "Times New Roman", Times, serif;
	color: #003;
	margin: .5em 0;
	font-weight: bold;
	}
	
h1 {
	margin-top: 4px;
	font-size: 1.8em;
	line-height: 1.2em;
	border-bottom: 1px solid #336;
	background-color: #eee;
	background-repeat: no-repeat;
	background-position: center right; 
	}	
	
h2 {
	margin-top: 1.6em;
	font-size: 1.6em;
	line-height: 1.2em;
	background-color: #eee;
	}
	
h3 {
	margin-top: 1.4em;
	font-size: 1.5em;
	line-height: 1.1em;
	}	
	
h4 {
	margin-top: 1.4em;
	font-size: 1.2em;
	line-height: 1.1em;
	}		
	
	
td, p, li, blockquote, label, small {
	font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
	}
	
div.navigation {font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;}	

blockquote {
	background-repeat: no-repeat;
	border: 1px solid #99c;
	font-size: 1em; 
	line-height: 1.4em; 
	margin: 1em 30px;
	padding: 14px 10px 14px 26px;
	}

p {
	margin: 1em 0 1.6em 0;
	line-height: 1.5em;
	}	

blockquote p {
	margin: 0 0 1em 0;
	line-height: 1.5em;
	}

label, input {line-height: 20px;}

a:link, a:hover, a:active {color: #900;}
a:visited {color: #336;}
a:hover, a:hover {text-decoration: none;}

h1 a:link, h1 a:visited, h2 a:active, h1 a:hover {text-decoration: none;}
h1 a:link, h2 a:hover, h1 a:active, h1 a:visited {color: #336;}
h1 a:hover {font-style: italic;}

h2 a:link, h2 a:visited, h2 a:active, h2 a:hover {text-decoration: none;}
h2 a:link, h2 a:hover, h2 a:active, h2 a:visited {color: #336;}
h2 a:hover {font-style: italic;}


div#page {
	width: 772px;
	margin: 10px auto 0 auto;
	text-align: left;
	}
div#header {
	width: 772px;
	height: 184px;
	background-repeat: no-repeat;
	background-position: top right;
	}	
	
div#header img {
	margin: 11px 0 0 0;
	}
	
ul#nav {
	margin: -5px 0 0 0;
	height: 26px;
	background-repeat: repeat-x;
	text-align: right;
	border-right: 1px solid #900;
	border-left: 1px solid #900;
	}	
	
html>body ul#nav {	
	margin: 0;	
	}
	
ul#nav li {
	margin: 0;
	display: inline;
	list-style-type: none;
	padding: 0 17px 0 0;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 15px;
	line-height: 24px;
	}	
	
ul#nav li a:link, ul#nav li a:hover, ul#nav li a:active, ul#nav li a:visited{color: #fff; text-decoration: none;}
ul#nav li a:hover, a:hover, ul#nav a#current {text-decoration: underline;}

div#flag {
	margin: 0;
	height: 20px;
	border-right: 1px solid #900;
	border-left: 1px solid #900;
	background-repeat: no-repeat;
	background-position: 0% 0%;
	width: 772px; /*For IE5Win: width + border + padding*/
	voice-family: "\"}\""; 
	voice-family:inherit;
	width:770px;
	}	
	
div#contentwrap {
	margin: 0;
	border-right: 1px solid #900;
	border-bottom: 1px solid #900;
	border-left: 1px solid #900;
	background-color: #fff;
	padding: 20px 0 0 0;
	width: 772px; /*For IE5Win: width + border + padding*/
	voice-family: "\"}\""; 
	voice-family:inherit;
	width:770px;
	background-repeat: repeat-y;
	background-position: top left;	
	}	
	
div#sidebar {
	float: right;
	width: 186px;
	margin: 0;
	padding: 2px;
	}	

div#sidebar h2 {
	color: #ccc;
	margin: 1.8em 0 0 0;
	padding-right: 10px;
	font-size: 1.4em;
	border-bottom: none;
	background-color: #900;
	background-repeat: no-repeat;
	background-position: 100% 100%;
	}
	
div#sidebar h2.first {
	margin-top: 0em;
	}
	
div#sidebar li h2 {
	font-size: 1.6em;	
	margin: 1.8em 0 0 0;
	}
	
div#sidebar form {
	margin: 10px;
	}	
	
div#sidebar input {
	margin: 5px 0 2px 0;
	font-size: .8em;
	line-height: 1.2em;
	}	
	
div#sidebar label, div#sidebar p, div#sidebar li {
	color: #fff;
	font-size: .8em;
	}		
	
img.banner {margin: 10px 0;}	

div#side ul {
	margin: .8em 0 .8em 16px;
	padding: 0;
	}	

div#side li {
	margin: .8em 0;
	}

div#sidebar li li {
	margin: 0;
	}	
html>body div#sidebar li li {margin-left: 0;}
	
div#sidebar a:link, div#sidebar a:hover, div#sidebar a:active {color: #fff;}
div#sidebar a:visited {color: #ccc;}
div#sidebar a:hover, a:hover {text-decoration: none;}		

ul#linkslist {
	list-style-type: none;
	margin-left: -10px;
	padding-left: 0;
	padding-right: 10px;
	}
	
ul#linkslist li{
	font-size: .9em;	
	}	
	
ul#linkslist li h2{
	font-size: 1.4em;	
	margin-left: 20px;
	}	



div#content {
	margin: 0 210px 10px 10px;
	background-color: #fff;
	padding: 0;
	}	
	
/*div#content img {
	float: right;
	clear: left;
	margin: 6px 0px 10px 10px;
	border: 1px solid #900; 
	padding: 2px;
	}*/

div.entrytext small {font-size: .8em;}	
	
p.postdateauthor {font-size: 1em; color: #666;}	
p.postmetadata, p.postmetadata small {font-size: .8em;}
	
div.entrytext img {
	margin: 10px auto;
	border: 1px solid #900; 
	padding: 2px;
	}
	
img.photo {
	float: right;
	margin: 0 10px 10px 0;
	border: 1px solid #900; 
	padding: 2px;
	}	

div.photo {
	float: right;
	clear: left;
	margin: 6px 0px 10px 10px;
	border: 1px solid #900; 
	padding: 2px;
	}
	
div.photo img{
	float: none;
	clear: none;
	margin: 0;
	border: none; 
	padding: 0;
	}	

div.photo p {
	font-size: 10px;
	line-height: 12px;
	margin: 4px 0;
	}			

div#footer {
	margin: 0;
	clear: both;
	color: #fff;
	background-color: #003;
	padding: 5px;
	}

div#footer p {
	margin: 0;
	color: #fff;	
	font-size: 10px;
	line-height: 12px;
	}
	
div#footer a:link, div#footer a:hover, div#footer a:active {color: #fff;}
div#footer a:visited {color: #fff;}
	
#flickr {
   width:154px;
   height:154px;
   padding:0;
   margin:10px 0 0 10px;
   }
   
#flickr img {
   float: left;
   margin:0 0 8px 8px;
   background:#990000;
   border: 1px solid #ffffff;
   padding: 1px;
   width:62px;
   height:62px;
   }	
	
	
/*repeat*/
a:link, a:hover, a:active {color: #900;}
a:visited {color: #336;}
a:hover, a:hover {text-decoration: none;}