*{margin:0;padding:0;}
.clr{clear:both;}
pre{text-align:left;}

body {font-family : Arial;font-size:12px; color:#797979;}
a{text-decoration:none; }
a:hover{text-decoration:underline; }
a img{border:none;}

body{text-align:center;}
.container{width:787px;margin:0 auto; text-align:left; }

/*    Header */
.top{background: url('../img/header_top.gif') top left no-repeat; height:60px;}
.bottom{background: url('../img/header_bottom.gif') top left no-repeat; height:172px;}
.menu{background: url('../img/menu_bg.gif') top left no-repeat; height:42px;}


/*     Menu     */
.menu{padding-left:43px;}

.menu a {display:block;float:left; height:42px;background-repeat:no-repeat; }
.menu a.home:hover,
.menu a.latestsubmissions:hover,
.menu a.topten:hover,
.menu a.submityourmanboobs:hover ,
.menu a.tellafriend:hover {background-position:0 -84px;}

.menu a.active {background-position:0 -42px; } 

.menu a.home {width:62px;background-image: url('../img/menu_home.gif');}
.menu a.latestsubmissions {width:147px; background-image: url('../img/menu_latestsubmissions.gif'); }
.menu a.topten {width:69px; background-image: url('../img/menu_topten.gif')}
.menu a.submityourmanboobs {width:172px; background-image: url('../img/menu_submityourmamboots.gif')}
.menu a.tellafriend {width:104px; background-image: url('../img/menu_tellafriend.gif');}

/*     SIDEBAR    */
.sidebar{float:left;width:231px;background: url('../img/sidebar_top.gif') top left no-repeat;padding-top:40px; }
.links{background: url('../img/sidebar_links.gif') left repeat-y;}
.links ul li{list-style:none;}
.links li{padding:2px 20px;}
.links li a{padding:3px;text-decoration:none; color:#37C3DF;}
.links li a:hover{text-decoration:underline; color:white; background-color:#A2DDE9;}
.featured_manboobs{background: url('../img/sidebar_manboobs_middle.gif') left repeat-y; }
.featured_manboobs-inner{
	padding:30px 16px 0 10px;
	text-align:center; 
	background: url('../img/sidebar_manboobs_top.gif') left top no-repeat; 
	min-height:100px;
	height:auto;
}
*html .featured_manboobs-inner{height:100px;}
.sidebar .ad{padding: 20px 20px 0 20px; background: url('../img/sidebar_manboobs_middle.gif') left repeat-y; text-align:center;}

/*     CONTENT      */
.content{float:right;width:555px;padding-top:10px; overflow:hidden;}
.banner{text-align:center;}

h1{color:#A2DDE9;font-size:24px;padding:8px 0 2px 0; text-align:center;}
h2{color:#37C3DF;font-size:15px;padding:8px 0 2px 0;}
.news p {padding:2px 0 10px 0;}
.news a {color:#1793bF;}
.news img {padding:3px; margin: 3px; border: 1px solid #eee;}
.article_separator{border-bottom:1px dashed #858585;}





/*           SUBMIT           */
.submit{
	background: url('../img/submit_bg.jpg') left top no-repeat;
	padding:40px;
	min-height:380px;
	height:auto;
	text-align:center;
}
*html .submit{height:380px;}
.submit dt ,.submit dd {float:left; margin:2px;}
.submit dt {width:180px; color:#333; text-align:right;}
.submit dd {width:250px; text-align:left;}
.reqfield {color:red;}
.submit input, .submit textarea{width:210px;}
.submitbutton{width:100px!important;}


/*           LATEST SUBMISSIONS       */
.submission{	
	background: url('../img/topten_bg.gif') left top no-repeat;
	min-height:160px; 
	height:auto;
	padding:40px 40px 0 40px; 
}
*html .submission{height:160px;}
.submission .scontent img{	
	margin:2px 10px 0 2px;
	padding:3px;
	border:1px solid #ccc;
	float:left;	
}
.voting{float:left; margin:10px 5px; padding:10px; width:450px;}
.rating{float:left;width:220px;}
.rating img {padding:0 1px;}
.vote{float:left;width:220px;}

/*             TOP TEN         */
.toptenpair{
	width:450px;	
	float:left;
	background: url('../img/topten_bg.gif') left top no-repeat;
	padding:40px; 
	min-height:180px; 
}
.toptenpair p{
	width:215px;	
	text-align:center;
}
.toptenpair p img{
	display:block;
	margin:0 auto;
	padding:3px;
	border:1px solid #ccc;
}
.toptenpair p.left{float:left;}
.toptenpair p.right{float:right;}
.topnumber{font-size:24px;}

/* TELL A FRIEND */
.content .tellafriend{margin-left:50px;}
.content .tellafriend td{padding:5px;}
.content .tellafriend textarea{margin:5px 0;}



/*      PAGINATION     */
.pagination{text-align:center;background: url('../img/pages_bg.gif') #52CAE2 left top no-repeat;padding:20px; margin-left:6px; width:487px;}
.pagination{color:red;font-weight:bold;}
.pagination a{color:white; padding:0 2px;}

/*      FOOTER      */
.footer{text-align:center;}
.footer, .footer a{ color:white;}

.footer .block{float:left; background: url('../img/footer_middle.gif') top right repeat-x;}
.footer .block div{ background: url('../img/footer_right.gif') top right no-repeat; }
.footer .block div div{ height:75px;  background: url('../img/footer_left.gif') top left no-repeat;  }

.footer .block div div p{padding:15px 30px;}

.footer .wide{width:550px;}
.footer .narrow{width:225px;}

/*DEBUG*/
#cakeSqlLog td,#cakeSqlLog th {
text-align: left;
padding: 4px 8px;
background: #fff;
color: #333;
border-top: 1px solid #666;
border-right: 1px solid #666;

} 
.submission .linkBackTime {
	text-align: right;
	font-style: italic;
	margin-top: 1em;
	font-size: smaller;
	float: right;
}
.submissionSet a{
	color:#1793bF;
}