html, .custom {
 height: 100%;
}
.custom .menu li.book a { font-weight: bold; background-color: #e2f2f9; }
.custom .menu li.book a:hover { font-weight: bold; background-color: #dddddd; }

body.custom {
  background: #1e3347 url('/images/bg4.jpg');
  background-position:center top;
  background-repeat:no-repeat;
}
.custom #footer_area, .custom .push {
  height: 500px;
}
.custom .wrapper {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -500px; /* the bottom margin is the negative value of the footer's height */
}
.custom #container {
  width: 97.5em;
  margin-top: 2em;
  margin-bottom: 2em;
  border-top: 1px solid #3e3e3a;
  border-right: 1px solid #3e3e3a;
  border-left: 1px solid #3e3e3a;
  border-bottom: 0px; 
}

.custom #page {
  background: #fff;
  padding: .8em;
}
.footer1 {
	background-image: url('/images/footer1.png');
	background-position: center top;
	height: 100px;
	background-repeat: no-repeat;
	margin-left:-11px;	
}
.bottom {
	background:url('/images/bottomback1.gif');
	height:540px;
	width:100%;
	font-size: 10px;
        font: 90%/1.2 Verdana, Arial, Helvetica, sans-serif;
	text-align: center;
}
.custom #footer {
border-top: 0;
height: 335px;
margin: 0 auto;
width: 890px;
}
/* This line sets up our clickable background image based on the site title's link */
/* DIY: Adjust the height & width attributes to reflect the actual size of your image */
/* DIY: Change the filename of your image to reflect the actual header's file name */
.custom #header #logo a { display: block; height: 202px; width: 960px; background: url('/wp-content/themes/thesis_18/custom/images/header.jpg') no-repeat; outline: none; }
/* This line gets rid of the site title & tagline by casting them out to far left field */
.custom #header #logo, .custom #header #tagline { text-indent: -9999px; }
/* This line collapses the vertical space of the tagline so that there isn't unnecessary white space after the header image */
/* This is a bit of a kludge, but it seems to work. */
.custom #header #tagline { height: 0; margin-top: -6px; }
/* This line removes the padding from the header so that the background image sits close to the nav menu, the bottom border of the header, and the sides of the content */
.custom #header { padding: 0px; }
/*    WordPress image captioning */
.custom .format_text .floatleft { margin: 0 1.571em 1.571em 0; float: left; clear: left; }
.custom .format_text .floatright { margin: 0 0 1.571em 1.571em; float: right; clear: right; }
.custom .format_text .aligncenter { display: block; margin: 0 auto 1.571em auto; float: none; clear: both; }
.custom .format_text .wp-caption { background-color:#F3F3F3; border:1px solid #DDD; text-align:center; padding: 1em; }
.custom .format_text .wp-caption p { font-size: 0.786em; margin-bottom: 0; }
.custom .format_text { font-size: 1.4em; line-height: 1.571em; text-align:justify;}

div.padded {
  min-height: 10em;
  width:75%;
  border: 2px dashed;
  margin-left: auto;
  margin-right: auto;
  padding-top: 15px;
  padding-bottom: 15px;  
  padding-left: 30px;
  padding-right: 30px;
  font-family: verdana, helvetica, arial, sans-serif;
  font-size: 12px;
  text-align: justify;
  background: #FFFFDD url('/images/refiadvisor.gif') no-repeat;
  background-position: 50% 50%;
}

div.johnsonbox {
  background-color: #FFFFDD;
  width: 85%;
  margin: 15px 15px 15px 15px;
  padding: 15px;
  border: 1px solid #dddddd;
  text-align: justify;
}
.submit {
  border: 1px solid #000000;
  background-color: #FFFFFF;
  padding: 2px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 12px;
  cursor: default;
 
}
#submitpad {
  padding: 5px;
  background-color: #ff0000;
  margin: 0px;
  border-width: 3px;
  border-color: #ff0000;
  border-spacing: 0;
}
#content, .sidebar { overflow: hidden; }
#content { overflow: hidden; }
/* Width */
	.gsc-control {
	  	width: 290px;
		overflow: hidden
	}
	.gs-result .gs-title,
	.gs-result .gs-title * {
		font-size: em;
	  	color: #;
	}
	.gsc-results .gsc-trailing-more-results,
	.gsc-results .gsc-trailing-more-results * {
	  	color: #;
	}
	.gs-result a.gs-visibleUrl,
	.gs-result .gs-visibleUrl {
	  	color: #;
	}
	.gs-result a.gs-clusterUrl,
	.gs-result .gs-clusterUrl {
	  	color: #;
	}
	.gsc-resultsbox-visible {
		display: table;
		width: 100%;
		overflow: hidden
	}
	img.gsc-branding-img {
	display: none;
	}
	td.gsc-branding-text div.gsc-branding-text {
	display: none;
	}	
.custom #footer {
height: 335px;
}
.footer-item {
float: left;
text-align: left;
width: 31%;
}
.footer-item2 {
float: left;
text-align: left;
width: 31%;
padding: 0px 30px 0px 30px;
}
#footer h3  {
-x-system-font:none;
color:#000000;
font-family:Trebuchet MS;
font-size:16px;
font-size-adjust:none;
font-stretch:normal;
font-style:normal;
font-variant:normal;
font-weight:bold;
line-height:50px;
margin:0;
padding:0 0 0 10px;
text-transform:uppercase;
}
.popular p img {
float:left;
padding-right:5px;
padding-bottom: 0px;
}
.popular  {
 font-size: 10px;
 margin: 0px;
 padding: 0px;
}
#footer a img {
  border: 0 none;
}
#footer a:link img{
text-decoration: none;
border-bottom:0px;
}
#footer a:visited img{
text-decoration: none;
border-bottom:0px;
}
#footer a {
text-decoration: none;
color: #2361A1;
border-bottom:0px;
}
.cb {
  clear:both;
}
p.cw {
  width: 100%;
  font-size: 10px;
  text-align: center;
}
.prev_next{border:none;}
.wp-pagenavi a, .wp-pagenavi span{padding:5px;margin-right:10px;font-size:10px;color:#03719c;text-decoration:none;border:3px solid #ccc;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;}
.wp-pagenavi a:hover, .wp-pagenavi span.current{background:#03719c;color:#fff;border:3px solid #AFAFAF;}
.wp-pagenavi span.current{font-weight:bold;}
.wp-pagenavi{padding-top:10px;}
