/**
  * File: style.css
  * Author: Robert Eshleman
  * Email: cre9g@virginia.edu
  * Copyright 2010 First Year Players. All Rights Reserved.
  * Rev: 11 May 2010
  * Desc: Stylesheet for the FYP website
  *
  **/


html, div, h1, h2, h3, h4, h5, h6, a, img, form, fieldset, tr, td {
	border:0;
	font-size:100%;
	font-weight:normal;
	margin:0;
	padding:0;
	text-decoration:none;
}

p {
	margin-top: 12px;
	margin-bottom: 12px;
}

img {
	vertical-align:middle; /* prevents extra space under menu images */
}

body {
	background:#666666; /*url(../images/bg_repeat.gif) repeat-x scroll 0 0*/
	font-family:Arial,Helvetica,sans-serif;
	font-size:16px;
	line-height:20px;
	/*
	margin:0;
	padding:0 0 20px;
	text-align:center;*/
}

/* General style declarations for the whole page table */

table#main{
	margin-left:auto;
	margin-right:auto;
	width:1000px;
	border-width:0;
	border-spacing:0;
	border-collapse: collapse; /* This keeps IE7 happy... */
}

/* Header and footer style declarations */

td#header{
	height: 215px;
	width: 1000px;
	background-image: url(images/layout/header.gif);
	background-repeat: no-repeat;
	background-position: bottom;
}

td#header a, a:hover{
	width:100%;
	height:100%;
	display:block;
}

td#footer{
	height: 140px;
	width: 1000px;
	background-image: url(images/layout/footer.gif);
	background-repeat: no-repeat;
	background-position: top;
}

td#footer a, a:hover{
	width:100%;
	height:100%;
	display:block;
}

/* Background images to left and right of menu */

td#left_bg_menu{
	height: 47px;
	width: 23px;
	background-image: url(images/layout/left_bg_repeat.gif);
	background-repeat: no-repeat;
	background-position: right;
}

td#right_bg_menu{
	height: 47px;
	width: 29px;
	background-image: url(images/layout/right_bg_repeat.gif);
	background-repeat: no-repeat;
	background-position: left;
}

/* Menu Item Style Declarations*/

td.menu {
	/*background-image: url(images/home_deselected.gif);*/
	padding-left:1px; /* keeps the spacing right */
	background:#cccccc;
	height: 47px;
	width:124px; /* = [(width of body - width of right button) / number buttons] ~= (948-72)/7 */
	font-size:24pt;
	text-align:center;
	}
	
td.menu:hover {
	/*background-image: url(images/menu_active.gif);*/
	background:#999999;
	}
	
td.menu#menu_active {
	/*background-image: url(images/menu_active.gif);*/
	background: #999999;
	}

td.menu a, a:visited, a:active a:hover{
	color: #000000;
	text-decoration:none;
}

td.menu#share{
	height: 47px;
	width: 72px;
	overflow: hidden;
	background: #cccccc;
	/*background-image: url(images/layout/share_this.gif);*/
	background-repeat: no-repeat;
	background-position: right;
}


td.menu#share:hover{
	/*background-image: url(images/layout/share_this.gif);*/ /* no BG change on hover! */
}

td.menu#share a, a:hover{
	width:100%;
	height:100%;
	display:block;
}

/* CSS Overrides for Share This Button */

a.stbutton {
	padding:0 !important;
}

a.stico_default{
	background: url(images/layout/share_this.gif) !important;
	background-position:right !important;
	background-repeat: no-repeat !important;
	width: 72px !important;
	height: 47px !important;
	display:block;
}

/* Background images to left and right of main body section */

td#left_bg_body{
	background-image: url(images/layout/left_bg_repeat.gif);
	background-repeat: repeat-y;
}

td#right_bg_body{
	background-image: url(images/layout/right_bg_repeat.gif);
	background-repeat: repeat-y;
}

/* Main body section */

td#body{
	width: 924px;
	padding: 12px;
	padding-top: 16px;
	padding-bottom: 16px;
	background-color:#999999;
	margin-left:auto;
	margin-right:auto;
	text-align:center;
}

/* Content Boxes */

/* 50% Width Div Boxes */

div.content50{
	padding: 0px;
	width: 456px;
	display: inline-block;
	margin-left: 1.5px;
	margin-right:1.5px;
	border-spacing: 0px;
	vertical-align: top;
	position:relative;
	padding-top: 6px;
	padding-bottom: 6px;
}

div.content50_header_gradient, div.content50_footer_gradient{
	font-size: 24pt;
	font-weight:bold;
	text-align:center;
	line-height: 36px; /* Aligns text vertically in the header and footer */
	border: 0px;
	padding: 0px;
	color: #cccccc;
	height:39px;
	width:456px;
	border-width: 0px;
}

div.content50_header_gradient{
	background-image: url(images/layout/content50_top_gradient.gif);
	background-position: bottom;
}

div.content50_footer_gradient{
	background-image: url(images/layout/content50_bot_gradient.gif);
	background-position: top;
}

/* 75% Width Div Boxes */

div.content75{
	padding: 0px;
	width: 684px;
	display: inline-block;
	margin-left: 1.5px;
	margin-right:1.5px;
	border-spacing: 0px;
	vertical-align: top;
	position:relative;
	padding-top: 6px;
	padding-bottom: 6px;
}

div.content75_header_gradient, div.content75_footer_gradient{
	font-size: 24pt;
	font-weight: bold;
	text-align:center;
	line-height: 36px; /* Aligns text vertically in the header and footer */
	border: 0px;
	padding: 0px;
	color: #cccccc;
	height:39px;
	width:684px;
	border-width: 0px;
}

div.content75_header_gradient{
	background-image: url(images/layout/content75_top_gradient.gif);
	background-position: bottom;
}

div.content75_footer_gradient{
	background-image: url(images/layout/content75_bot_gradient.gif);
	background-position: top;
}


/* 25% Width Div Boxes */

div.content25{
	padding: 0px;
	width: 228px;
	display: inline-block;
	margin-left: 1.5px;
	margin-right:1.5px;
	border-spacing: 0px;
	vertical-align: top;
	position:relative;
	padding-top: 6px;
	padding-bottom: 6px;
}

div.content25_header_gradient, div.content25_footer_gradient{
	font-size: 24pt;
	font-weight:bold;
	text-align:center;
	line-height: 36px; /* Aligns text vertically in the header and footer */
	border: 0px;
	padding: 0px;
	color: #cccccc;
	height:39px;
	width:228px;
	border-width: 0px;
}

div.content25_header_gradient{
	background-image: url(images/layout/content25_top_gradient.gif);
	background-position: bottom;
}

div.content25_footer_gradient{
	background-image: url(images/layout/content25_bot_gradient.gif);
	background-position: top;
}


/* 100% Width Div Boxes */

div.content100{
	width: 924px;
	display: inline-block;
	margin-left: 0px;
	margin-right:0px;
	border-spacing: 0px;
	vertical-align: top;
	position:relative;
	padding-top: 6px;
	padding-bottom: 6px;
}

div.content100_header_gradient, div.content100_footer_gradient, div.content100_header_gradient_red, div.content100_footer_gradient_red{
	font-size: 24pt;
	font-weight: bold;
	text-align:center;
	line-height: 36px; /* Aligns text vertically in the header and footer */
	border: 0px;
	padding: 0px;
	color: #cccccc;
	height:39px;
	width:924px;
	border-width: 0px;
}

div.content100_header_gradient{
	background-image: url(images/layout/content100_top_gradient.gif);
	background-position: bottom;
}

div.content100_footer_gradient{
	background-image: url(images/layout/content100_bot_gradient.gif);
	background-position: top;
}

div.content100_header_gradient_red{
	background-image: url(images/layout/content100_top_gradient_red.gif);
	background-position: bottom;
}

div.content100_footer_gradient_red{
	background-image: url(images/layout/content100_bot_gradient_red.gif);
	background-position: top;
}


/* Content Section for All Content Div Boxes */

div.content_body{
	/*text-align: left;*/
	overflow: auto; /* Lets us put items of variable height (i.e. the Twitter widget) in content boxes */
	height: auto;
	width: auto;
	padding: 12px;
	background-color: #cccccc;
	border-left: 2px solid #0066cc;
	border-right: 2px solid #0066cc;
	padding-top: 1px;
	padding-bottom: 1px;
	/*background-image: url(images/content50_spacer.gif);
	background-repeat: repeat-y;*/
	/*width:456px;*/
	/*border-width: 0px;*/
	/*border: 3px;
	border-style: solid;
	border-color: #000000;*/
}

div.content_body_red{
	overflow: auto;
	height:auto;
	width: auto;
	padding: 12px;
	background-color: #cccccc;
	border-left: 2px solid #cc0000;
	border-right: 2px solid #cc0000;
	padding-top: 1px;
	padding-bottom: 1px;
}

div.content_body p, div.content_body_red p{
	text-align: left;
}

/* Left and Right Floating Boxes */
/* (These declarations allow boxes to float vertically when heights are different...) */

div.left{
	float: left;
	clear: left;
}

div.right{
	float: right;
	clear: right;
}

/* Image Formatting */

.padded {
	padding: 12px 12px 12px 12px;
}

img.left {
	float:left;
	padding: 6px 6px 6px 6px;
}

img.right{
	float:right;
	padding: 6px 6px 6px 6px
}

/* This prevents images from floating into the paragraph where they aren't located */

p.clear{
	clear:both
}

/* Link Formatting */

a, a:visited {
	color:#0022ff;
	font-family:Arial,Helvetica,sans-serif;
	font-weight:inherit;
	text-decoration:none;
	display:inline;
}

a:hover, a:active {
	/*color:#006699;*/
	text-decoration:underline;
	display:inline;
}

/* General text formatting */


div.content_body .center, div.content_body_red .center{
	text-align:center;
}

div.content_body .left, div.content_body_red .left{
	text-align:left;
}

div.content_body .right, div.content_body_red .right{
	text-align:right;
}

div.content_body .justify, div.content_body_red .justify{
	text-align:justify;
}

.plain, .normal{
	font-weight: normal;
	font-style: normal;
	text-decoration: none;
	font-size: medium;
}

.bold, .b{
	font-weight: bold;
}

.italic, .italics, .ital, .i{
	font-style: italic;
}

.underline, .ul, .u{
	text-decoration:underline;
}

.bigger, .big, .larger, .large{
	font-size: larger;
}

.smaller, .small{
	font-size: smaller;
}

/* List items */

li {
	text-align: left;
}

li.plain{
	list-style-type:none;
}

/* Non-layout table declarations */

table.non-layout{
	border-collapse: collapse;
}

table.non-layout, table.non-layout td{
	text-align: left;
	vertical-align: top;
	border:0px solid #000000;
	font-size:100%;
	margin-bottom:12px;
	padding:0;
}

table.non-layout td.dark_bg{
	background: #999999;
}

/* History page table declarations */

tr.odd td{
	padding: 1px 4px;
	background: #999999;
}

tr.even td{
	padding: 1px 4px;
	background: #BBBBBB;
}

/*
h1 {
	font-size:14px;
	font-weight:bold;
	margin:0 0 5px;
}

h2 {
	color:#C1612F;
	font-size:12px;
	font-weight:bold;
}

*/
