/*
Theme Name: Prostate
Description: Prostate is a WordPress theme with 3 columns.
Copyright (C) 2005 Mister W.
Distributed under the terms of the GNU General Public License v2
.
*/

/*	Let's start with zeroing out any browser default margins and paddings */

* {
	margin: 0;
	padding: 0;
	}

/*	Next we set the page height, to position the footer at the bottom of the window
 *	when page is short, and at the bottom of the page when page is longer */

html, body {
	height: 100%;
	background: #323277;
	background: transparent url(back.gif) repeat-y;
	background-position:center;
	}

body {
	font-family: georgia, Trebuchet MS, arial, helvetica, sans-serif;
	font-size: 16px;
	}

small {
	font-size: 13px;
	font-style:oblique;
	font-weight:bold;
	color:#a8b7e3;
	}

a {
	text-decoration: underline;
	color: #92DC0B;
	}
	
a:visited {
	text-decoration: underline;
	color: #323277;
	}
	
a:hover {
	text-decoration: underline;
	color: #a8b7e3;
	}

#wrap {
	position: relative; /* to keep the header inside */
	height: 100%; /* to fill the window */
	width: 760px;
	margin: 0 auto; /* auto centers the div */
	text-align: left; /* after centering #wrap above we return to normal alignment */
	}

#middle {
	position: relative;
	height: auto; /* pushing the footer below content when longer then window */
	min-height: 100%; /* for modern browsers, to push the footer down to the bottom of the window */
	margin-bottom: -100px; /* height of footer */
	width: 760px;
	background: transparent url(intro.gif) no-repeat;
	background-position:top;
	}


#middle2 {
	position: relative;
	height: auto; /* pushing the footer below content when longer then window */
	min-height: 100%; /* for modern browsers, to push the footer down to the bottom of the window */
	margin-bottom: -100px; /* height of footer */
	width: 760px;
	}

#middle:after { /* this will keep the floats contained, for modern browsers */
    content: ".";
    display: block;
    height: 0;
    overflow: hidden;
    clear: both;
    visibility: hidden;
    }

#middle2:after { /* this will keep the floats contained, for modern browsers */
    content: ".";
    display: block;
    height: 0;
    overflow: hidden;
    clear: both;
    visibility: hidden;
    }

* html #wrap, * html #middle, * html #middle2 {
	height: 100%; /* for IE because it doesn't do min-height */
	}

/*	Now we set the header, footer and columns...	 */

#header {
	position: absolute;
	top: 0;
	left: 0;
	height: 31px;
	width: 760px;
	overflow: hidden;
	z-index: 3; /* to show it on top */
	background: transparent url(top.jpg) no-repeat;
	}

#footer {
	position: relative;
	width: 760px;
	height: 120px;
	background: transparent url(footer.jpg) no-repeat;
	}

#content, #left, #right { /* so that the content will not overlap with the header or footer */
	padding-top: 31px; /* height of header + a little eright */
	padding-bottom: 140px; /* height of footer + a little eright */
	}

#main {
	position: relative; /* IE float bug workaround */
	float: left;
	width: 480px; /* width of #content + #left + shadow-margin */
	}

#content {
	position: relative;
	float: right;
	width: 336px;
	}

#left {
	position: relative;
	float: left;
	width: 120px;
	background: transparent url(logob.jpg) no-repeat;
	}

#right {
	position: relative;
	float: right;
	width: 250px;
	background: transparent url(right.gif) no-repeat;
	background-position:top;
	}

#rect {
	width:inherit;
	height:250px;
	margin-top: 0px;
	}
	
#adright {
	width:inherit;
	height:250px;
	}

* html #left, * html #content {
	overflow: hidden; /* this way IE shouldn't mess with our sizes */
	padding-top: 51px; /* for some mysterious reason IE needs a bit more */
	}

#footer p {
	position: absolute; /* otherwise it gets pushed aside */
	top: 7px;
	left: 125px;
	width: 620px;
	text-align: center;
	}

#header p {
	position: absolute; /* otherwise it gets pushed aside */
	top: -11px;
	left: 125px;
	width: 620px;
	text-align: left;
	color:#FFFFFF;
	}

/*	Header image and link	 */



h1 a:link, h1 a:visited, h1 a:hover, h1 a:active {
	text-decoration: none;
	}

/*	Giving block elements inside the columns a default margin.
 *	This prevents the need for a box model hack on all the columns.	 */

h2, h3, h4, h5, h6, p, ol, dl, pre, small, fieldset, address, table {
	margin: 15px 0px;
	}
	
#right input {
	margin: 0px 0px;
	}

/* 	General styling		*/


address {
	font-style: italic;
	}

blockquote {
	margin: 0;
	padding: 1px 0 1px 20px;
	background: url(quote.png) 15px 0 no-repeat;
	}
blockquote p {
	margin: .7em 15px;
	}

dt {
	margin: 1em 0 .5em 0;
	font-weight: bold;
	}

code, pre, var {
	font-family: georgia, Trebuchet MS, arial, helvetica, sans-serif;
	}

dd {
	margin: .5em 0 1em 1.5em;
	}

img {
	border: none;
	}

ol {
	margin-left: 3.7em;
	}

textarea {
	width: 320px;
	}

#content h2 {
	margin: 25px 15px 4px 15px;
	font-size: 2em;
	line-height: 120%;
	text-align: left;
	}

#left h2 {
	display: none; /* because it is for unstyled version */
	}

#left h3, #right h3, #left caption {
	font-size: 1.2em;
	font-weight: normal;
	text-transform: uppercase;
	text-align: left;
	margin: 1.5em 15px .5em;
	}
#left ul {
	margin-top: .5em;
	}

#left, #right, #footer,#header {
	color: white;
	}

#left a:link, #right a:link, #footer a:link, #header a:link {
	text-decoration: underline;
	font-weight:bold;
	color: white;
	}
#left a:visited, #right a:visited, #footer a:visited, #header a:visited {
	text-decoration: underline;
	font-weight:bold;
	color: white;
	}

#left a:hover, #right a:hover {
	text-decoration: underline;
	font-weight:bold;
	color: #000045;
	}

#footer a:hover, #header a:hover {
	text-decoration: underline;
	font-weight:bold;
	color: #a8b7e3;
	}
	
#adright {
	color: #000045;
	margin-top: 0px;
	}

#adright a:link {
	text-decoration: underline;
	font-weight:bold;
	color: #000045;
	
	}
#adright a:visited {
	text-decoration: underline;
	font-weight:bold;
	color: #000045;
	}

#adright a:hover {
	text-decoration: underline;
	font-weight:bold;
	color: #a8b7e3;
	}

#searchform input {
	width: 145px;
}

.commentlink {
	text-align: right;
	}

ol.commentlist {
	list-style: none;
	margin-left: 15px;
	}

.comno {
	/* hack needed because pure CSS solution only works in Firefox */
	position: absolute;
	right: 0;
	margin: -.3em -5px 0 0;
	text-align: right;
	font-size: 4em;
	font-style: italic;
	line-height: 100%;
	color: #fff;
	z-index: 10;
	}
* html .comno { margin: -1.5em -14px 0 0; } /* IE wants other values */

.commentlist li {
	color: #444;
	font-style: normal;
	margin: 2em 0;
	}

.commentlist p {
	margin: .6em 0;
	}

.hilite {
	background: #f93;
	}

.more {
	margin-top: -1em;
	text-align: right;
	}

.posted {
	position: relative;
	font-size: .9em;
	background: #def;
	border-top: 1px solid #3F4247;
	padding: 4px 0 4px 7px;
	}
* html .posted { float: left; width: 344px; margin: .8em 8px; } /* IE bug fix */

.posted cite {
	font-size: 1.1em;
	font-weight: bold;
	font-style: normal;
	display: block;
	}

.author .posted {
	background: #edf;
	border-color: #759;
	}

#content {
	text-align: left;
	}

#postcomment {
	text-align: left;
	}

input#submitComment {
	padding: 2px 4px;
	}

input#submitComment:hover {
	cursor: pointer;
	}


/*	leftigation links		*/

.prev {
	display: block;
	float: left;
	text-align: right;
	width: 48%;
	}

.next {
	display: block;
	float: right;
	text-align: left;
	width: 48%;
	}

.left:after {
    content: ".";
    display: block;
    height: 0;
    overflow: hidden;
    clear: both;
    visibility: hidden;
}
* html .left { height: 1%; }

object.support {
	margin: 15px;
}

/*	Calendar styling		*/

#left table {
	width: 145px;
	margin: 0 15px;
	}

#left th, #left td {
	text-align: center;
	}

#left tbody a:link {
	display: block;
	background: #9bf;
	color: #444;
	}
#left tbody a:visited {
	display: block;
	background: #b9f;
	color: #444;
	}
#left tbody a:hover, #left table a:active {
	display: block;
	background: #def;
	color: #444;
	}

#menu ul {
	list-style-type: square;
	margin-left: 28px;
}

#menu {
	margin-top: 30px;
}