/*------------------------------------------
// MAIN LAYOUT
// MANDATORY CSS FOR ALL CPOY.ORG
// RYAN GIBBONS (AUGUST 2008)
// PHOTO AT RYANGIBBONS DOT NET
------------------------------------------*/

/* Universal selector.  Corrects various browser bugs. */
* { 
	margin: 0;
	padding: 0;
}

html {
	padding-top: 2em;
	background: #d2d2d2;
}

body {
	margin: 0 auto; /* Necessary to center the site content. */
	font-size: 10px;
	position: relative; /* Corrects an IE redrawing bug. */
	font-family: Arial,Helvetica,Verdana,sans-serif;
}

#wrap {
	width: 92em;
	background: white url(http://media.cpoy.org/images/sidebar-bg.png) repeat-y;
	border: solid 1px black;
	margin: 0 auto; /* Necessary to center the site content. */
	text-align: center; /* Also necessary to center the site content. */
	position: relative; /* Corrects an IE redrawing bug. */
}

p {
	text-align: left;
}

h1 {
	font-size: 2.4em;
	font-weight: bold;
	color: #990000;
	margin: 1em auto;
	text-transform: uppercase;
}

h2 {
	font-size: 2.5em;
	text-align: left;
	margin: 0em 0em 0em 0.5em;
}

a {
	text-decoration: none;
	color: #990000;
	padding: 0.2em;
	margin: -0.2em;
}

a:visited {

}

a:hover {
	background: #990000;
	color: white;
}

a:hover h3 {
	background: #990000;
	color: white;
}

a:active {

}

a.no-bg img {
	border: none;
	text-decoration: none;
	background-color: none;
}

a.no-bg:hover {
	border: none;
	text-decoration: none;
	background: transparent;
}

hr {
	border: none;
	border-top: 0.1em solid gray;
	margin: 1em 2em;
	text-align: center;
}

.headline {
	font-size: 1.25em;
	font-style: normal;
	font-weight: bolder;
	margin: 1em 0em 1em 1em;
	text-align: left;
}

.red {
	color: #990000;
}

.byline {
	font-style: italic;
	text-align: left;
}

#byline {
	font-style: italic;
	text-align: left;
}

/*------------------------------------------
// REDLINE
------------------------------------------*/
#redline {
	height: 0.6em;
	margin-top: -4.5em;
	margin-bottom: 4em;
	background: #990000;
}

/*------------------------------------------
// TOP MENU
------------------------------------------*/
#top {
	height: 14.5em;
	clear: both;
	position: relative;
}

#top #logo {
	width: 22em;
	padding-top: 0.8em;
	float: left;
	clear: none;
	overflow: display;
}

#top #links {	
	width: 70em;
	margin-top: 8.7em;
	text-align: right;
	text-transform: uppercase;
	float: right;
	clear: none;
}

#top #links a {	
	padding: 0.2em;
	color: #000000;
	font-size: 1.1em;
}

#top #links a:visited {
}

#top #links a:hover {
	text-decoration: none;
	padding: 0.2em;
	color: #ffffff;
	background: #990000;
}

#top #links a:active {
}


#top #links ul {
        margin-right: -0.1em;
        padding-bottom: 0.3em;
}

#top #links li {
        display: inline;
        padding-left: 0.5em;
        padding-right: 0.9em;
        border-right: 0.1em solid black;
}

/*------------------------------------------
// LEFT SIDEBAR
------------------------------------------*/
#left {
	width: 22em;
	float: left;
	clear: none;
	position: relative; /* Corrects an IE redrawing bug. */
}

#left ul{
}

#left li{
	list-style-type: none;
}

#left .sideBox {
	text-align: left;
	font-size: 1.1em;
	margin: 1em 1em 2em 1em;
	padding: 0.5em 0.3em 0.5em 0.3em;
	background: #d2d2d2;
	position: relative;
}

#left .sideBox .sideBox_Title {
	background: #990000;
	color: #e2e2e2;
	font-weight: bold;
	letter-spacing: 0.1em;
	padding: 0.3em;
	margin: -0.5em -0.3em 0.5em -0.3em;
	position: relative;
}

#left .sideBox .sideBox_Title a {
	color: #e2e2e2;
}

#left .sideBox ul.catWinners {
	margin: 0.2em 0.2em 0.2em 2em;
}

/* style for This Year's Categories ul in the sidebar*/
#left .sideBox ul.sideCats {
	margin: 0em 0em 0.5em 0em;
	font-weight: bold;
}

#left .sideBox ul.sideCats li {
	margin: 0em 0em 0.2em 1em;
	font-weight: normal;
}

#left .sideBox ul.catWinners a {
	color: black;
}

#left .sideBox ul.catWinners a:hover {
	color: white;
}

/*------------------------------------------
// RIGHT SIDE CONTENT SECTION
------------------------------------------*/
#right {
	width: 67em;
	margin-top: -1.5em;
	float: right;
	clear: none;
	padding: 0em 1.5em;
	text-align: center;
}

#right ul {
	font-size: 1.0em;
	margin: 0 2em 0 2em;
}

#right ol {
	font-size: 1.0em;
	margin-left: 2em;
}

#right .pagetitle {
	text-align: right;
	font-size: 2em;
	font-weight: bold;
	margin: -0.8em 0.4em 1em 0em;
	color: black;
}

#right p {
	font-size: 1.3em;
	margin: 1em;
}

/*------------------------------------------
// CLEAR DIV
------------------------------------------*/
.clear {
	height: 0em;
	clear: both;
}

#clear {
	height: 2em;
	clear: both;
}

/*------------------------------------------
// FOOTER LOGO DIV
------------------------------------------*/
#footer {
	border: none;
	clear:both;
	width: 92em;
	margin: 1em auto 2em auto;
	padding: 1em 0 0.5em 0;
	background: #e2e2e2;
	border: 0.1em solid black;
	text-align: center;
}

#footer ul {
	width: 100%;
}

#footer li {
	display: inline;
	list-style-type: none;
	padding: 0 2em 0 2em;
}

#footer ul a:hover {
	margin: 0;
	border: 0;
	background-color: #e2e2e2;
}

#footer li img {
	border: none;
}

/*------------------------------------------
// HIDE ME GOOGLE
------------------------------------------*/
#googleAnalytics {
	display: none;
}

.twtr-hd {
	margin-top: -2.1em;
}

img.twtr-profile-img {
	margin: 1.1em 1em 0 0;
}

.twtr-hd h3 {
	height: 1.4em;
	margin: 0;
}

.twtr-hd h4 a {
	margin-top: 0;
	font-size: 12px;
}

.subscribe-title {
	font-size: 1.4em;
	font-weight: bold;
	color: #666;
}

.subscribe-button {
	width:5em;
	background-color: #666;
	border: solid 1px #333;
	height: 2.2em;
	font-size: 1em;
	padding: 0.2em;
	color: #FFF;
	margin-top: 0.5em;
	margin-bottom: 1em;
}

.subscribe-button:hover {
	background-color: #333;
	border: solid 1px #000;
	color: #CCC;
}

.box-title {
	font-size: 1.4em;
	font-weight: bold;
	color: #666;
	margin: 0 0.6em 0.5em 0.6em;
	padding-bottom: 0.3em;
	border-bottom: solid 1px #BBB;
}