#page
{
	margin: auto; 
	width: 950px;
	background: url(../images/background.jpg) top center no-repeat; 
	color: white;
	text-transform: uppercase;
	font-size: 90%;
}

/*
 * Header style Definitions
 */
#header
{
	height: 179px;
}
#headernav
{
	float: left;
	padding-left: 29px;
}
#headernav ul
{
	float: left;
	list-style: none;
	padding: 0;
	margin: 0;
}
#headernav ul li
{
	float: left;
	padding: 14px 12px;
}
#headernav ul li a
{
	display: block;
	float: left;
	padding: 5px 10px;
	line-height: 1em;
	font-weight: bold;
	color: white;
	text-decoration: none;
	background: url(../images/nav_bg.png) top left repeat;
	-moz-border-radius: 4px;	
	-webkit-border-radius: 4px;
}
#headernav ul li a:hover
{
	background-image: url(../images/nav_bg_hover.png);
}
#headerbody
{
	clear: both;
	position: relative;
	padding-left: 28px;
}
#headerbody #logo
{
  background: transparent url(../images/agency_smackdown.png) no-repeat top left;
  height: 90px;
  padding-top: 40px;
}
#headerbody #logo a
{
  display: block;
  height: 60px;
  width: 710px;
}
div#rss,
div#twitter
{
  float: left;
  width: 34px;
  height: 34px;
}
div#rss
{
  margin-left: 3px;
  background: transparent url(../images/rss.png) no-repeat top left;
}
div#twitter
{
  background: transparent url(../images/twitter.png) no-repeat top left;
}
div#rss a,
div#twitter a
{
  display: block;
  text-indent: -9999px;
  overflow: hidden;
  width: 34px;
  height: 34px;
}
#headerbody img
{
	display: block;
}
#headerbody #gloves
{
  position: absolute;
  top: -51px;
  right: -27px;
  background: transparent url(../images/gloves.png) no-repeat top left;
  width: 154px;
  height: 245px;
}

/*
 * Body style Definitions
 */
#body
{
	clear: both;
	padding: 0 32px 0 30px;
}
#right_column
{
	float: right; 
	width: 139px; 
	text-align: center;
	padding-top: 26px;
}
#right_column #give_smack
{
  padding-bottom: 48px;
  background: transparent url(../images/smackdown_btn.png) no-repeat top left;
  width: 139px;
  height: 140px;
  margin-top: 6px;
}
#right_column #give_smack a
{
  display: block;
  text-indent: -9999px;
  overflow: hidden;
  width: 139px;
  height: 115px;
}
#right_columne img
{
	display: block;
}
#right_column .advertisement
{
  margin: 0 auto 20px;
  width: 125px;
}
#right_column .advertisement a
{
  text-decoration: none;
  text-transform: none;
}

#container
{
	margin-right: 172px; 
        min-height: 600px;
}
#container #tabs
{
	height: 32px;
	overflow: hidden;
}
#container #tabs ul
{
	list-style: none;
	float: left;
	padding: 0;
	margin: 0;
	padding-top: 3px;
}
#container #tabs ul li
{
	float: left;
	padding-right: 6px;
}
#container #tabs ul li.third
{
	padding-right: 2px;
}
#container #tabs ul li a
{
	float: left;
	display: block;
	width: 162px;
	text-align: center;
	background: url(../images/tab_bg.png) top left repeat;
	-moz-border-radius-topleft: 4px;	
	-moz-border-radius-topright: 4px;	
	-webkit-border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	line-height: 1em;
	font-weight: bold;
	text-decoration: none;
	color: white;
	padding: 9px 0;
}
#container #tabs ul li.first a:hover,
#container #tabs ul li.first.selected a
{
	background: url(../images/selected_1.jpg) top left no-repeat;
}
#container #tabs ul li.second a:hover,
#container #tabs ul li.second.selected a
{
	background: url(../images/selected_2.jpg) top left no-repeat;
}
#container #tabs ul li.third a:hover,
#container #tabs ul li.third.selected a
{
	background: url(../images/selected_3.jpg) top left no-repeat;
}
#container .content_wrapper
{
	clear: left;
	padding: 21px;
	background: url(../images/content_bg.jpg) top left repeat-y;
	-moz-border-radius: 10px;	
	-moz-border-radius-topleft: 10px;
	-webkit-border-radius: 10px;
	-webkit-border-top-left-radius: 10px;
}
#container #index
{
	-moz-border-radius-topleft: 0px;
	-webkit-border-top-left-radius: 0px;
}
#container .content_wrapper div.smackdown
{
	padding: 21px;
	background: url(../images/smack_bg.png) top left repeat;
	-moz-border-radius: 4px;	
	-webkit-border-radius: 4px;
	margin-bottom: 22px;
}
ul#smackdowns
{
	list-style-type: none;
	margin: 0px;
}
p.category
{
	text-transform: none;
        padding-top: 2px;
        color: #ddd;
}
p.category a
{
  color: #ddd;
}
p.category .date
{
  margin-right: 2px;
}

p.smackdown
{
  margin: 5px 0px;
  max-width: 800px;
  overflow: hidden;
}
p.metadata
{
	font-weight: bold;
	font-size: 95%;
        height: 10px;
}
p.metadata span
{
  margin-right: 20px;
  float: left;
  padding-top: 5px;
  padding-bottom: 5px;
}
span.votes
{
  background: transparent url(../images/arrow.png) no-repeat 0px 3px;
  padding-left: 18px;
}
span.comments
{
  background: url(../images/comment_box.png) no-repeat  0px 4px;
  padding-left: 20px;
}
span.votes img,
span.comments img
{
	float: left;
	padding-right: 5px;
}
p.metadata span.share_label
{
  margin-right: 10px;
}
span.buttons
{
	display: block;
	background-color: white;
	padding: 3px 7px;
	-moz-border-radius: 8px;	
	-webkit-border-radius: 8px;
}
span.buttons img
{
	float: left;
	padding: 0 3px;
}

div.pagination
{
	text-align: center;
}
div.pagination .pages
{
	text-transform: none;
}

/*
*  Content style Definitions
*/
#content
{

	padding: 20px;
	font-size: 120%;
}
#content h1
{

}
#content p
{
	padding-bottom: 1em;
        text-transform: none;
}
#content li
{
  text-transform: none;
}
#content div.smackdown_form
{
  float: left;
  width: 300px;
}
div.smackdown_form p.first
{
  margin-top: 30px;
}
#content div.smackdown_tips
{
  float: right;
  margin-top: 30px;
  width: 300px;
}
#content div.smackdown_tips h2
{
  font-size: 130%;
  font-weight: normal;
  margin-bottom: 7px;
}
div.smackdown_tips p.download,
p.download img,
p.download a
{
  float: left;
}
p.download a
{
  display: block;
  padding: 6px 0px 0px 10px;
}
#content .clear
{
  clear: both;
}
form
{
	width: 245px;
	padding: 30px 0;
}
form#new_smackdown
{
  width: 248px;
}
form#new_comment,
form.edit_user
{
  width: 510px;
}


input#user_submit,
input#user_session_submit,
input#comment_submit,
input#smackdown_submit,
a.button
{
	float: right;
	width: auto;
	padding: 4px 10px;
	border: 3px solid #a71617;
	-moz-border-radius: 6px;	
	-webkit-border-radius: 6px;
	background-color: white;
	color: black;
	text-decoration: none;
	font-weight: bold;
}
a.button { float: none; font-size: 90%;}
select#user_role_id
{
	width: 245px;
}
form#new_comment label#url_label,
form#new_comment input#url,
form#new_comment p.url,
form#new_user label#url_label,
form#new_user input#url,
form#new_user p.url
{
  display: none;
  height: 0;
  background: none;

}

/*
 * Comments
 */
div#comments
{
  margin-top: 40px;
}
div#comments label,
div#comments input,
div#comments textarea
{
  text-transform: none;
  font-size: 130%;
}
div.comment p
{
  padding-left: 5px;
  text-transform: none;
}
div.comment p.attribution
{
	background-color: #333;
        background: transparent url(../images/smack_bg.png) repeat scroll left top;
	padding: 5px;
        margin-bottom: 10px;
        text-transform: uppercase;
}
p.attribution span.date
{
	font-style: italic;
	padding-left: 15px;
}

	

/*
 * Footer style Definitions
 */
#footer
{
	padding: 30px 89px;
	color: #fff;
	text-align: center;
	text-transform:none;
	line-height: 1.5em;
}
#footer a
{
  color: #fff;
}
#footer a.text
{
  text-decoration: none;
}

/*
 * Flash messages
 */
div#flash_messages
{
	border: 1px solid #ccc;
	width: 600px;
	margin: 10px 0px;
}
div#flash_messages p
{
	margin: 0;
	padding: 5px;
}
div#flash_messages p.notice
{
	color: #29771C;
	background-color: #DCEBC0;
}
div#flash_messages p.error
{
	color: #990000;
	background-color: #eeeecc;
}
div#flash_messages p.message
{
	color: #990000;
	background-color: #eeeecc;
}
div#form_error p.error
{
	color: #990000;
	background-color: #eeeecc;
	padding: 5px;
	border: 1px solid #ccc;
}

.clear_float
{
  float: none;
}

/*
 * Error messages
 */
.fieldWithErrors {
  padding: 2px;
  background-color: #a71617;
  display: table;
}

#errorExplanation {
  width: 500px;
  padding: 7px;
  padding-bottom: 12px;
  margin-bottom: 20px;
}

#errorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 110%;
  background-color: #a71617;
  color: #fff;
}

#errorExplanation p {
  color: #fff;
  margin-bottom: 0;
  padding: 5px;
}

#errorExplanation ul li {
  list-style: disc;
  text-transform: none;
}
