/* STYLE.CSS

	Theme Name: Polytropia
	 Theme URI: http://polytropia.com
	   Version: 1.1
	    Author: Jochen Wolters (Sadish Bala; David Uliana)
 
	WordPress theme for polytropia.com
 
 	This is a modified version of "Intense" by Sadish Bala (http://wpthemepark.com/);
 	which is based on "Intense Simplicity" by David Uliana (http://saltedsugar.com).
	
	Feel free to use parts of this CSS file to your liking; plagiarizing the
	complete design, however, is bad for your karma and will do serious damage 
	to your creative abilities.

	Outline
	
	Page Basics
	Font Fundamentals
	IDs:
		Header
		Navigation Bar
		Content
	.article
		Comments
		Sidebar
		Footer
		
	Usage of headers:
		h1 - Site Name
		h2 - Post Title
		h3 - Section header
		h4 - Section Sub-Header
		h5 - N/A
		h6 - N/A

	Colors:
	
		Main text: #222

		Navigation bar,
		footer:						#bbb;
			- link:hover			#fff;
			- link:hover background	#ccc;
		
		Content						#222;
			- link:hover			#
			
		Headers (incl. a)			#af2639;
			
		Page title,
		sidebar sections			#0a294f;
*/



/* Page Basics ----------------------------------------------------------------------- */

body {
	margin: 0px;
	padding: 0px;
	background: #222 url(images/background.png) repeat-x fixed top center;
	text-align: center;
	font: 14px 'Georgia', 'Times New Roman', serif;
}


#page {
	width: 700px;
	margin: auto;
	background: #fff;
	border: 2px solid #222;
}


/* Font Fundamentals------------------------------------------------------------------ */

h1, h2, h3, h4, h5, h6 {
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-weight: bold;
	color: #af2639;
}

h1 {
	font-size: 36px;
}

h2 {
	font-size: 22px;
	margin-bottom: 2px;
}

h3 {
	font-size: 16px;
	color: #222;
	margin-top: 20px;
	margin-bottom: 0px;
}

h4 {
	font-size: 14px;
	color: #222;
	margin-top: 0px;
	margin-bottom: 0px;
}

h5, h6 {
	/* h5 and h6 are not supposed to be used. Make sure we notice if they are. */
	font-size: 14px;
	color: #fff;
	background-color: #f00;
	font-style: italic;
}

del {
	color: #999;
}

acronym {
	/*border-bottom: 1px dotted #222;*/
	border: none;
	background: url(images/dottedborder_dark.gif) repeat-x bottom center;
	padding-bottom: 1px;
	cursor: help;
}

hr {
	width: 100%;
	border: 0;
	margin: 5px 0px !important;
	margin: 2px 0px 5px 0px;
	height: 1px;
	color: #777;
	background-color: #777;
}

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

a:hover,
a:active {
	color: #de2c49;
}

p {
	line-height: 1.5em;
	margin: 5px 0px 15px 0px;
	/*text-align: justify;*/
}

.noborder {
	border: 0;
}


a:hover img.floatright,
a:hover img.floatleft,
.article a:hover img {
	border: 1px solid #af2639;
}


/* floats, positioning, and widths */
.alignleft {
	text-align: left;
}

.alignright {
	text-align: right;
}

.floatleft {
	float: left;
}

.floatright {
	float: right;
}

.w50 {
	width: 50%;
}

.floatleft p {
	padding: 0px 10px 0px 0px;
}

.floatright p {
	padding: 0px 0px 0px 10px;
}

img.floatleft,
img.floatright a{
	padding: 0px 12px 8px 0px;
}

img.floatright
img.floatright a{
	padding: 0px 0px 8px 12px;
}

/* blockquotes and code*/

blockquote {
	margin-right: 30px;
	padding: 0px 5px 0px 8px;
	border-left: 3px solid #777;
	background-color: #eee;
	line-height: 1.5em;
}

blockquote.excerpt {
	font-style: italic;
}

code {
	display: block;
	width: 92%;
	margin: 0px auto 15px auto;
	font: 11px "Monaco", "Courier New", Courier, sans-serif;
	line-height: 1em;
}

code .red {
	color: #af454a;
}


/* forms */
form select,
form input,
form textarea {
	font: 11px Verdana,Arial,Helvetica,sans-serif;
	border: 1px solid #888;
}

form input:hover,
form input:focus,
form textarea:hover,
form textarea:focus,
form select:hover,
form select:focus {
	background-color: #f9f9f9;
	/*border: 1px dotted #888;  optional thought */
	border: 1px solid #444;
}

form select {
	padding: 1px;
}

form input {
	padding: 1px;
}

form label {
	display: block;
	color: #777
}

form textarea {
	padding: 1px;
}

form p {
	margin: 10px 0px;
}


/* Header ---------------------------------------------------------------------------- */

#header {
	font: 40px 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-weight: bold;
	text-shadow: black 3px 3px 3px;
	width: 680px;
	height: 175px;
	margin: auto;
	text-align: left;
}

.header1 
{
	background:url(images/headers/h1.jpg) no-repeat top center;
}

.header2 
{
	background:url(images/headers/h2.jpg) no-repeat top center;
}

.header3 
{
	background:url(images/headers/h3.jpg) no-repeat top center;
}

.header4 
{
	background:url(images/headers/h4.jpg) no-repeat top center;
}

.header5
{
	background:url(images/headers/h5.jpg) no-repeat top center;
}

#title {
	margin-top: 125px;
	margin-left: 13px;
	position: absolute;
	color: #fff;
	background-color: transparent;
}



/* Navigation Bar -------------------------------------------------------------------- */

#navbar {
	height: 40px;
	background-color: #222;
	color: #fff;
	width: 680px;
	margin: auto;
	text-align: left;
	font: 14px 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-weight: bold;
}

.nav2 {
	height: 40px;
}

#page-header {
	position: absolute;
	margin: 15px 0px 0px 15px;
	color: #eee;
}

#navdiv {
	text-align: right;
}

#navlist {
	list-style-type: none;
	margin: 0px;
	padding: 13px 8px 0px 0px;
}

#navlist li {
	display: inline;
}

#navlist li a {
	color: #bbb;
	text-decoration: none;
	height: 40px;
	padding: 8px 6px 9px 6px;
}

#navlist li a:hover {
	color: #fff;
}

/* Rounded corners */
.br {background: transparent url(images/corner_br.gif) no-repeat bottom right;}
.bl {background: transparent url(images/corner_bl.gif) no-repeat bottom left;}


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

#content {
	width: 680px;
	margin: 20px 10px 30px 10px;
	color: #222;
	position: relative;
}

#articlecolumn {
	width: 475px;
	padding: 10px 10px 0px 10px;
}

#fullpagearticlecolumn {
	width: 560px;
	padding: 10px 60px 10px 60px;
}

h2.pagetitle {	
	text-align: left;
	color: #0a294f;
	font-size: 20px;
	margin-bottom: 36px;
}


/*.article --------------------------------------------------------------------------- */

.article {
	text-align: justify;
}

.article li {
	padding-right: 30px;
	padding-bottom: 15px;
	line-height: 1.5em;
}

.article h2 {
	padding-top: 0px;
}

.article a {
	color: #222;
	text-decoration: underline;
}

.article a:hover,
.article a:active,
.article .meta a:hover,
.article .meta a:active {
	color: #000;
	background-color: #ccc;
	text-decoration: underline;
}

.article p img.floatleft,
.article p img.floatleft a {
	padding: 0px 12px 8px 0px;
	border: none;
}

.article p img.floatright,
.article p img.floatright a {
	padding: 0px 0px 8px 12px;
	border: none;
}

li.intrapagenav {
	list-style-type: none;
	padding: 2px;
}

.byline {
	color:#777;
	text-align:left;
	margin-top: 0px;
	font: 11px 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
}

.meta a,
.byline a {
	color: #444;
	text-decoration: none;
	font-weight: bold;
}

.meta {
	color:#777;
	text-align:right;
	background:url(images/dottedborder.gif) repeat-x top;
	padding-top: 3px;
	margin-bottom: 30px;
	font: 11px 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
}

.meta .metaleft
{
	font-style:normal;
	float:left;
	margin:0 5px 0 0;	
}

/* XXX FIX THIS SOMEHOW
   I can't get <pre> to display inline very well so just use <span class="pre"> */
.article .pre {
	font: 11px "Monaco", "Courier New", Courier, sans-serif;
	color: #af454a;
}

#content .article p img {
	position: relative;
	display: block;
	margin: 5px auto 5px auto
}

.article h2 a {
	color:#af2639;
	text-align:left;
	font: 22px 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-decoration: none;
	font-weight: bold;
}

.article h2 a:hover,
.article h2 a:active {
	color:#af2639;
	background-color: #ccc;
	text-decoration: none;
	border-bottom: 2px solid #af2639;
}



.readitall, 
.readitall a,
a.returntotop,
li.intrapagenav a {
	color:#af2639;
	text-align:left;
	font: 12px 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-decoration: none;
	font-weight: bold;
}


.readitall a:hover,
.readitall a:active,
a.returntotop:hover,
a.returntotop:active,
li.intrapagenav a:hover,
li.intrapagenav a:active {
	color:#af2639;
	text-decoration: underline;
	background-color: #ccc;
}

.pagenavigation, 
.pagenavigation a {
	color:#0a294f;
	text-align:left;
	font: 14px 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-weight: bold;
}

.pagenavigation .nextpage {
	font: inherited;
	font-style:normal;
	float:right;
}

.pagenavigation a:hover,
.pagenavigation a:active {
	color:#0a294f;
	text-decoration: underline;
	background-color: #ccc;
}

blockquote.xjwarning {
	border: 2px solid red;
	background-color: yellow;
	font: 14px 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
}



blockquote.xjwarning b
{
	color: red;
}

blockquote.xjwarning em {
	font-weight: bold;
	font-style: italics;
}


/* Article - Home Page Specials ------------------------------------------------------ */

#minortopics {
	margin-top: 42px;
}

h2.homepagetitle a {
	font-size: 32px;
}

h2.homepagesubtitle a {
	font-size: 14px;
}

h2.homepagetitle a,
h2.homepagesubtitle a {
	color:#af2639;
	text-decoration: none;
}

h2.homepagetitle a:hover,
h2.homepagetitle a:active,
h2.homepagesubtitle a:hover,
h2.homepagesubtitle a:active
{
	color:#af2639;
	background-color: #ccc;
	text-decoration: none;
	border-bottom: 2px solid #af2639;
}



/* Comments -------------------------------------------------------------------------- */

#commentsbox {
	text-align: left;
	margin: 0px 0px 20px 0px;
	padding: 0px 10px 0px 10px;
	border: 1px solid #ccc;
}

#commentsbox h3 {
	color: #0a294f;
	font-size: 14px;
}

.commentlist {
	padding: 0;
}

.commentlist li {
	margin-top: 15px;
	padding: 5px 5px 5px 5px;
	list-style: none;
	outline: 1px solid #ccc;
}
 
.commentlist p {
	margin: 10px;
	text-align: justify;
}

.commentinfo {
	margin-left: 20px;
	margin-right: 20px;
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-weight: bold;
	background: #fff url(images/dottedborder.gif) repeat-x bottom center;
}

.alt .commentinfo {
	background: #eee url(images/dottedborder_dark.gif) repeat-x bottom center;
}

.commentinfo small {
	float: right;
}

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

#commentform {
	background-color: transparent;
	font: 12px 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
}

#commentform small {
	font-size: 9px;
}

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

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

p.submitbutton {
	margin-top: 0px;
	padding-top: 0px;
	padding-right: 0px;
	text-align: right;
}

.alt {
	background-color: #eee; 
}



/* Sidebar --------------------------------------------------------------------------- */

#sidebar {
	float: right;
	width: 160px;
	padding: 10px 10px 10px 10px;
	font: 12px 'Georgia', 'Times New Roman', serif;
	text-align: left;
}

#sidebar .sideitem {
	margin-bottom: 28px;
}

#sidebar .sideitem h2,
.linkcat h2 {
	color: #0a294f;
	width: 100%;
	background: #fff url(images/dottedborder.gif) repeat-x bottom center;
	padding-bottom: 3px;
	margin-bottom: 13px;
	font-size: 14px;
}

#sidebar .sideitem b {
	/*display: block;*/
}

#sidebar .sideitem p {
	padding: 0px 5px;
}

#sidebar .linkcat {
	list-style-type: none;
}

#sidebar .sideitem ul {
	list-style-type: none;
	padding: 0px 1px 0px 1px;
	/* margin-left: -6px; */
}

#sidebar .sideitem * li {
	margin: 2px 2px 5px 12px;
}

#sidebar .sideitem ul li.current_page_item {
	/* background:#fff; url(images/arrow.gif) no-repeat fixed top left; */
}

#sidebar .sideitem * a:hover {
	color:#af2639;
	text-decoration: underline;
	background-color: #ccc;
}

#sidebar .sideitem ul a {
	font: 13px 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;;
	font-weight: bold;
}

#sidebar .sideitem ul ul {
	margin: 1px 1px 1px 1px;
}

#searchform {
	margin: 2px 8px 2px 8px;
}


/* Footer ---------------------------------------------------------------------------- */

#footer {
	height: 30px;
	width: 680px;
	margin: auto;
	color: #bbb;
	text-align: left;
	font: 12px 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	clear: both;
}

#copyright {
	text-align: left;
	float: left;
	padding: 9px;
	margin-top: 0px !important;
	margin-bottom: -16px;
}

#legal {
	float: right;
	text-align: right;
	padding: 9px;
	margin-bottom: -16px;
}

#copyright a,
#legal a {
	color: #bbb;
	font-weight: bold;
}

#copyright a:hover,
#legal a:hover
{
	color: #fff;
	text-decoration: none;
}

/* Rounded corners */
.tl {background: #222 url(images/corner_tl.gif) no-repeat top left;}
.tr {background: transparent url(images/corner_tr.gif) no-repeat top right;}


/* FLICKK BADGE */

#flickr_badge_source_txt {padding:0; font: 11px Arial, Helvetica, Sans serif; color:#666666;}
#flickr_badge_icon {display:block !important; margin:0 !important; border: 1px solid rgb(0, 0, 0) !important;}
#flickr_icon_td {padding:0 5px 0 0 !important;}
.flickr_badge_image {text-align:center !important;}
.flickr_badge_image img {border: 1px solid black !important;}
.flickr_badge_image img a {border: 1px solid 
#flickr_www {display:block; padding:0 10px 0 10px !important; font: 11px Arial, Helvetica, Sans serif !important; color:#3993ff !important;}
#flickr_badge_uber_wrapper a:hover,
#flickr_badge_uber_wrapper a:link,
#flickr_badge_uber_wrapper a:active,
#flickr_badge_uber_wrapper a:visited {text-decoration:none !important; background:inherit !important;color:#3993ff;}
#flickr_badge_wrapper {background-color:#ffffff;border: solid 1px #000000}
#flickr_badge_source {padding:0 !important; font: 11px Arial, Helvetica, Sans serif !important; color:#666666 !important;}
