@font-face { font-family: "Droid Custom"; src: url(../fonts/DroidSerif-Regular.ttf) format("truetype"); }  
@font-face { font-family: "Droid Custom"; src: url(../fonts/DroidSerif-Bold.ttf) format("truetype"); font-weight: bold; }  

/* Optional Background "bg-opt.jpg" */
body { background: #000 url(../images/template/bg.jpg) repeat-x; color: #646464; font: 13px Helvetica, Arial, sans-serif; line-height: 17px; }

/* ============= LAYOUT ============= */
#wrapper { width: 734px; margin: 50px auto 0; position: relative; }
#bg-top { height: 31px; background: url(../images/template/container-top-bg.png) no-repeat; }
#bg-bottom { height: 31px; background: url(../images/template/container-bottom-bg.png) no-repeat; }
#contentWrap { background: url(../images/template/container-bg-repeat.png) repeat-y; padding: 14px 0; }
#content { width: 700px; background: url(../images/template/content-gradient-bg.png) no-repeat; margin-bottom: -56px; position: relative; top: -28px; left: 17px; }

#leftColumn { width: 240px; background: url(../images/template/divider-shadow.png) no-repeat right 0; position: relative; z-index: 1; }
#rightColumn { width: 321px; background: url(../images/template/divider.gif) repeat-y; margin-left: -1px; }
#leftColumn, #rightColumn { height: 380px; float: left; padding: 35px; }

#logo { margin: 0 auto; margin-top: -9px; display: block; }

/* ============= MISC ELEMENTS ============= */
#nav { margin: 20px 0 0 20px; }
#nav ul { list-style: none; font-weight: normal; padding: 15px 0 10px 25px; margin-left: 65px; background: url(../images/template/menu-divider.png) no-repeat; }
#nav li { height: 34px; padding-left: 35px; opacity: .5; cursor: pointer; }
#nav li:hover { opacity: 1; }
#nav li a { font-size: 16px; text-decoration: none; color: #666; line-height: 26px; }
#nav li:hover a { color: #a62e2e; }

#nav li.home { background: url(../images/template/icons/home-icon.png) no-repeat; }
#nav li.about { background: url(../images/template/icons/about-icon.png) no-repeat; }
#nav li.contact { background: url(../images/template/icons/contact-icon.png) no-repeat; }

#nav span { display: block; height: 50px; float: left; padding-top: 50px; font: 16px  "Droid Custom", Georgia, Garamond, serif; text-align: right; font-weight: normal; }

form { width: 210px; margin: 25px auto 0; }
input { float: left; }
input[type='text'] { 
	width: 158px;
	height: 17px;
	border: 0;
	padding: 8px 11px 5px;
	color: #666;
	background: url(../images/template/search-input-bg.png) no-repeat;
}
input[type='submit'] {
	width: 28px;
	height: 29px;
	border: 0;
	cursor: pointer;
	}
input[type='submit']:hover { background-position: 0 -30px; }

/* CLOSE BUTTON - USED WITH JAVASCRIPT POPUP VERSION */
#close {
	width: 60px;
	height: 24px;
	display: block;
	position: absolute;
	bottom: 18px;
	right: 20px;
	background: url(../images/template/close-btn.png) no-repeat right 0;
	line-height: 26px;
	text-decoration: none;
	color: #999;
	cursor: pointer;
}
#close:hover { background-position: right -24px; color: #666; }
/* END CLOSE BUTTON */

.clear { clear: both; }

/* ============= FONTS ============= */
/* === Headings === */
h1,h2,h3,h4,h5,h6 { font-family: "Droid Custom", Georgia, Garamond, serif; font-weight: normal; color: #2d2d2d; }

/* BEGIN STYLES FOR THE LARGE ERROR MESSAGE */
h1 {
	font-size: 128px;
	line-height: 128px;
	letter-spacing: -5px;
	color: #990000;
	width: 240px;
	position: absolute;
	top: 265px;
	}
h1:hover {
	color: #666666;
}
h1 span {
	font-size: 28px;
	line-height: 28px;	
	font-weight: bold;
	text-align: right;
	text-transform: uppercase;
	letter-spacing: -1px;
	display: block;
	margin-top: -20px;
}
/* END STYLES FOR THE LARGE ERROR MESSAGE */

h2 { font-size: 27px; margin: 7px 0 20px; line-height: 31px; color: #454545; letter-spacing: -1px; }
h3 { font-size: 18px; line-height: 1; margin-bottom: 1em; color: #616161; }
h4 { font-size: 14px; line-height: 17px; margin-bottom: 1em; color: #616161; }
h3.regular,
h4.regular { font-family: Helvetica, Arial, sans-serif; }

/* === Text elements === */
p           { margin: 0 0 1.5em; }
a:focus, 
a:hover     { color: #3b4761; text-decoration: none; }
a           { color: #a62e2e; text-decoration: underline; }
strong      { font-weight: bold; }
em		    { font-style: italic; }

/* === Lists === */
ul, ol      { margin: 0 20px 20px 40px; font-weight: bold; color: #a62e2e; line-height: 20px; }
ol span		{ font-weight: normal; color: #646464; }

ul          { list-style-type: disc; }
ol          { list-style-type: decimal; }
.cse .gsc-control-cse,
.gsc-control-cse {
  padding: 10px;
  width: 50%;
}
.cse .gsc-branding,
.gsc-branding {
  display: none;
}
.cse .gsc-control-cse div,
.gsc-control-cse div {
  position: normal;
}
/* Selector for entire element. */
.cse .gsc-control-cse,
.gsc-control-cse {
  background-color: #ffffff;
  border: 1px solid;
  border-color: #ffffff;
}
.cse .gsc-control-cse:after,
.gsc-control-cse:after {
  content:".";
  display:block;
  width:70px;
  clear:both;
  visibility:hidden;
}
.cse .gsc-resultsHeader,
.gsc-resultsHeader {
  border:none;
}
/* Search button */
.cse input.gsc-search-button,
input.gsc-search-button {
	font-family: inherit;
	color: #ffffff;
	text-shadow: 0 1px 2px #FFFFFF;
	background-color: #990000;
	width:50px;
	border: 1px outset;
	border-color: #666666;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
}
/* Inactive tab */
.cse .gsc-tabHeader.gsc-tabhInactive,
.gsc-tabHeader.gsc-tabhInactive {
  border-bottom: none;
  color: #666666;
  background-color: #e9e9e9;
  border: 1px solid;
  border-color: #e9e9e9;
  border-bottom: none;
}
/* Active tab */
.cse .gsc-tabHeader.gsc-tabhActive,
.gsc-tabHeader.gsc-tabhActive {
  background-color: #FFFFFF;
  border: 1px solid;
  border-top: 2px solid;
  border-color: #e9e9e9;
  border-top-color: #FF9900;
  border-bottom: none;
}
/* This is the tab bar bottom border. */
.cse .gsc-tabsArea,
.gsc-tabsArea {
  margin-top: 1em;
  border-bottom: 1px solid #e9e9e9;
}
/* Inner wrapper for a result */
.cse .gsc-webResult.gsc-result,
.gsc-webResult.gsc-result {
  padding: .25em;
  border: 1px solid;
  border-color: #ffffff;
  margin-bottom: 1em;
}
/* Result hover event styling */
.cse .gsc-webResult.gsc-result:hover,
.gsc-webResult.gsc-result:hover {
  border: 1px solid;
  border-color: #FFFFFF;
}
/*Promotion Settings*/
/* The entire promo */
.cse .gs-promotion.gs-result,
.gs-promotion.gs-result {
  background-color: #FFFFFF;
  border: 1px solid;
  border-color: #336699;
}
/* Promotion image */
.cse .gs-promotion.gs-result .gs-promotion-image,
.gs-promotion.gs-result .gs-promotion-image {
z-index:15;}
/* Promotion title */
.cse .gs-promotion.gs-result a.gs-title:link,
.gs-promotion.gs-result a.gs-title:link {
  color: #0000CC;
}
.cse .gs-promotion.gs-result a.gs-title:visited,
.gs-promotion.gs-result a.gs-title:visited {
  color: #0000CC;
}
.cse .gs-promotion.gs-result a.gs-title:hover,
.gs-promotion.gs-result a.gs-title:hover {
  color: #0000CC;
}
.cse .gs-promotion.gs-result a.gs-title:active,
.gs-promotion.gs-result a.gs-title:active {
  color: #0000CC;
}
/* Promotion snippet */
.cse .gs-promotion.gs-result .gs-snippet,
.gs-promotion.gs-result .gs-snippet {
  color: #000000;
}
/* Promotion url */
.cse .gs-promotion.gs-result ..gs-visibleUrl,
.gs-promotion.gs-result .gs-visibleUrl {
  color: #008000;
}

