/*
Theme Name: Gluttony
Description: Update and reskin of original Gluttony theme.
Version: 1
Author: Apogee Technology (original by small potato)
*/

body, h1, h2, h3, h4, h5, h6, address, blockquote, dd, dl, hr, p, form, input{ margin: 0; padding: 0; }

body{
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 10px;
	text-align: center;
	vertical-align: top;
	background: #5172B3;
	color: #002368;
}

form, input, textarea, table{ font-family: verdana, arial, helvetica, sans-serif; font-size: 12px; }

h1, h2, h3, h4, h5, h6{ font-family: arial, helvetica, sans-serif; }
h1, h2, h3{ font-size: 16px; }

a{ text-decoration: none; color: #555; }
a:hover{ text-decoration: underline;color: #002368; }
a img{ border: 0; }

address, dl, p{ padding: 10px 0 5px; }

blockquote{
	margin: 10px 0 0;
	background: #f5f5f5;
}
blockquote p{ padding: 10px; }
blockquote blockquote{
	margin: 0 10px;
	background: #fff;
}

img.centered{ display: block; margin-left: auto; margin-right: auto; }
img.alignleft{ margin: 3px 10px 2px 0;}
img.alignright{ margin: 3px 0 2px 10px;}

img.alignleft, img.alignright{
	padding: 9px;
	border: 1px solid #eee;
	display: inline;
}
.wp-caption {
	background:#F7F7F7;
	border:1px solid #CCC;
	padding:5px 0;
	margin-bottom:5px;
	text-align:center;
}
.wp-caption img {
	margin:0 5px;
}
.wp-caption-text {
	text-align:center;
	padding:0 5px !important;
	padding:3px 5px 0;
}
*+html .wp-caption-text {
	padding:3px 5px 0 !important;
}
.post .content .wp-caption p {
	margin:0;
}

.alignleft {
	float:left;
	text-align:left;
	margin-right:10px;
}
.alignright {
	float:right;
	text-align:right;
	margin-left:10px;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

p img{max-width: 100%;width: expression(this.width > 570 ? 570: true);}

.small{ font-size: 11px; }

.bold { font-weight: bold;
color:#002368}

.alignleft{float: left;}
.alignright{float: right;}

.clear{margin: 0; padding: 0; clear: both;}

.tl, .tr, .bl, .br{
	width: 10px;
	height: 10px;
	overflow: hidden;
}

.tl, .bl{float: left; clear: left;}
.tr, .br{float: right; clear: right;}

#wrapper{margin: 0 auto; width: 830px;}

#container{
	float: left;
	width: 850px;
	margin: 10px 0 0;
	text-align: left;
	background: #E1E4EC url(/wp-content/themes/gluttony/images/bg_container.gif) repeat-x;
}

.maincolumn{
	float: left;
	width: 620px;
	margin: 10px 0 0 10px;
	background: url(/wp-content/themes/gluttony/images/bg_maincolumn.gif) no-repeat left bottom;
	display: inline;
	overflow:hidden;
}

#menu{
	float: left;
	width: 620px;
	font-family: arial, helvetica, sans-serif;
	font-size: 1.4em;
	font-weight: bold;
	text-transform: uppercase;
}

#menu ul{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#menu ul li{
	float: left;
	margin: 0 1px 0 0;
	height: 29px;
	overflow: hidden;
	background: url(/wp-content/themes/gluttony/images/bg_tab_right.gif) no-repeat right top;
	display: inline;
}

#menu ul li a{
 color: #fff;
	display: block;
	padding: 8px 10px 10px;
	text-decoration: none;
	background: url(/wp-content/themes/gluttony/images/bg_tab_left.gif) no-repeat;
}

#menu ul li a:hover{
	text-decoration: underline;
}

#menu ul li span.feed{
	padding: 0 17px 0 0;
	background: url(/wp-content/themes/gluttony/images/feed.gif) no-repeat right top;
}

#menu ul li.current_page_item{
	background: #fff url(/wp-content/themes/gluttony/images/bg_tab_current_right.gif) no-repeat right top;
}

#menu ul li.current_page_item a{
	background: url(/wp-content/themes/gluttony/images/bg_tab_current_left.gif) no-repeat;
	color: #fff;
}

#content{
font-size:1.3em;
	float: left;
	width: 620px;
	margin: 0 0 10px;
	background: #002368 url(/wp-content/themes/gluttony/images/bg_content.gif) no-repeat right top;
	color: #333;
	overflow:hidden;
}

#banner{
	float: left;
	width: 600px;
	height: 190px;
	overflow: hidden;
	margin: 10px 10px 9px;
	display: inline;
	background: #666;
	color: #fff;

	background: #002368 url(/wp-content/themes/gluttony/banners/banner1.jpg) no-repeat right top;
}

.post{
	margin: 0 10px;
width:600px;
}

.entry-head{
	margin: 0px 0 0px 0;
}

.entry-wrap{
	margin: 0px 0 8px 0;
	background: url(/wp-content/themes/gluttony/images/bg_entry_wrap.gif);
	color:#333;
	overflow:hidden;
}

.narrow {
margin: 0 0 0 10px;
font-size:.8em;
width:295px;
float:left;
display:inline;
overflow:hidden;
}

.narrow img {
width:40%;
height:40%;}

.narrow .entry-content {
height:200px;
width:265px;
overflow:hidden;}

.entry-head{
	background: #5172B3;
	color: #fff;
}

.entry-head h1{
font-size:1.4em;
font-weight:bold;
padding: 5px 10px 3px 10px;
background: url(/wp-content/themes/gluttony/images/bg_entry_title.gif) no-repeat
}

.narrow .entry-head h1{
background: url(/wp-content/themes/gluttony/images/bg_entry_title_narrow.gif) no-repeat
}

.entry-head h1 a{text-decoration: none;color: #fff;}
.entry-head h1 a:hover{text-decoration: underline; color: #D9EBF5;}

.entry-date{
	padding: 0 0 0 10px;
	font-family: arial, helvetica, sans-serif;
	font-size: 1.6em;
	font-weight: bold;
	position: relative;
}

.narrow .entry-wrap{
	background: url(/wp-content/themes/gluttony/images/bg_entry_wrap_narrow.gif);
}

.entry-wrap .rc{
	height: 15px;
	overflow: hidden;
	background: url(/wp-content/themes/gluttony/images/bg_entry_rc_bottom.gif) left bottom;
}

html>body .entry-wrap .rc{
	height: 8px;
}

.narrow .entry-wrap .rc{
	background: url(/wp-content/themes/gluttony/images/bg_entry_rc_bottom_narrow.gif) left bottom;
}

.entry-content{
overflow:hidden;
width:570px;
padding: 10px 15px 3px 15px;
line-height: 1.3em;
margin:0;
background: url(/wp-content/themes/gluttony/images/bg_entry_rc_top.gif) no-repeat;
}

.narrow .entry-content{
background: url(/wp-content/themes/gluttony/images/bg_entry_rc_top_narrow.gif) no-repeat;
}

.entry-content a{
	color: #000;
}

.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6{
	padding: 10px 0 0;
	font-size: 14px;
}
.entry-content h5{font-size: 11px;}
.entry-content h6{font-size: 10px;}

.entry-meta{
	padding: 10px 0 0;
	font-family: arial, helvetica, sans-serif;
}

.entry-meta a{
	font-weight: bold;
}

.navigation{
	padding: 15px 20px 5px;
	font-family: arial, helvetica, sans-serif;
	font-size: 1em;
	font-weight: bold;
	line-height: 18px;
color:#fff;
}

.navigation a{color: #fff;padding:0px 3px;}
.navigation a:hover{color: #E6D7AC;}

.sidebar{
	float: right;
	width: 200px;
	margin: 10px 10px 0 0;
	font-family: arial, helvetica, sans-serif;
	font-weight:bold;
	display:inline;
}

#logo {
width: 180px;
margin: 0px 10px 25px 10px;
overflow:hidden;
font-family: arial, helvetica, sans-serif;
font-size:2.3em;
color:#fff;
}

#logo a:hover {
color:#fff;
text-decoration:none;}

.sidebar ul{
	list-style-type: none;
	margin: 0;
	padding: 0;
	font-size: 1.1em;
}

.sidebar ul a{
	font-weight: bold;
}

.sidebar ul li{
	margin: 0px 0 10px;
}

.sidebar ul li#search form{
	height: 29px;
	overflow: hidden;
	background: url(/wp-content/themes/gluttony/images/bg_searchform.png) ;
}

.sidebar ul li#search form input#s{
	margin: 7px 10px 0 30px;
	border: 0;
	font-family: arial, helvetica, sans-serif;
	background-color: transparent;
	color: #fff;
}

.sidebar ul li h3{
	padding: 5px 10px;
	font-size: 1.2em;
	/*text-transform: uppercase;*/
	color: #fff;
	background: #003B8C url(/wp-content/themes/gluttony/images/bg_sidebar_title.gif) no-repeat;	
}

#categoryposts-4 h3 {
	background: #003B8C url(/wp-content/themes/gluttony/images/bg_sidebar_title_community.gif) no-repeat;	
}
#categoryposts-5 h3 {
	background: #003B8C url(/wp-content/themes/gluttony/images/bg_sidebar_title_mercury.gif) no-repeat;	
}
#categoryposts-6 h3 {
	background: #003B8C url(/wp-content/themes/gluttony/images/bg_sidebar_title_qcare.gif) no-repeat;	
}
#categoryposts-7 h3 {
	background: #003B8C url(/wp-content/themes/gluttony/images/bg_sidebar_title_dynamic.gif) no-repeat;	
}
#categoryposts-8 h3 {
	background: #003B8C url(/wp-content/themes/gluttony/images/bg_sidebar_title_bespoke.gif) no-repeat;	
}

.sidebar a {
color:#C9D7F3;}

.sidebar h3 a {
color:#fff;}

.sidebar a:hover {
color:#fff;
}

.sidebar a.current {
color:#fff;
text-decoration:underline;
}

.sidebar ul ul{
	padding: 0 10px 5px;
	background: #5172B3 url(/wp-content/themes/gluttony/images/bg_sidebar_block.gif) no-repeat left bottom;
}

.sidebar ul ul li{
margin: 0;
padding: 3px 0 0px;
font-weight:normal;

}

.sidebar ul ul ul{
	padding: 0 10px 0;
	background-color: transparent;
	background-image: none;
}

/* Sidebar Widgets */

ul li .textwidget {
	padding: 10px 10px;
	line-height: 18px;
	font-size: 1.1em;
color:#fff;
	background: #5172B3 url(/wp-content/themes/gluttony/images/bg_sidebar_block.gif) no-repeat left bottom;
}

#calendar_wrap{
	padding: 10px;
	background: #463D37 url(/wp-content/themes/gluttony/images/bg_sidebar_block.gif) no-repeat left bottom;
}

#calendar_wrap table{
	width: 100%;
}

#calendar_wrap th, #calendar_wrap table td{
	padding: 3px 0;
}

/* End Sidebar Widgets */

#comments {display:none}

#comments h3{
	margin: 10px 0 0;
	padding: 7px 10px;
	background: #f5f5f5;
}

ol.commentlist{
	list-style-type: none;
	margin: 0;
	padding: 0;
}

ol.commentlist li .comment-entry{
	margin: 10px 0 0;
	border: 1px solid #eee;
	padding: 3px 10px 0;
	line-height: 24px;
}


#commentform{
	margin: 0 0 7px;
	padding: 0 10px 6px;
	border-top: 1px solid #fff;
	background: #eee;
}

#footer{
	float: left;
	width: 850px;
	font-size: 1em;
	text-align: center;
	background: url(/wp-content/themes/gluttony/images/bg_footer.gif) no-repeat;
}

#footer p{
	line-height: 18px;
	padding: 20px 20px;
}

#footer a{ text-decoration: none; }
#footer a:hover{ text-decoration: underline; }



#sidetabs img {
margin:5px 0;}