/*
Theme Name: Occlink V.1
Theme URI: http://elementwebmedia.com/
Description: The default theme for Occlink
Version: 1.0
Author: Justin Gable
Author URI: http://elementwebmedia.com
*/

* {
  margin: 0;
  padding: 0;
}

fieldset, img {
  border: 0;
}

body {
  font: 12px Arial;
  color: #445572;
}

/***
HEADER -----------------------------------------------------------------------*/
#hdrwrap {
  width: 100%;
  background: #fff url(images/bg_main.gif) top center repeat-x;  
}

#hdrwraph {
  width: 100%;
  background: #fff url(images/bg_main_rp.gif) top center repeat-x;  
}

#bghdr {
  width: 100%;
  height: 178px;
  background: url(images/bg_hdr_common.jpg) top center no-repeat;
}

#bghdrh {
  width: 100%;
  height: 288px;
  background: url(images/bg_main_home.jpg) top center no-repeat;
}

#hdr {
  position: relative;
  width: 905px;
  margin: 0 auto;
}

#hdr h1 a {
  position: absolute;
  display: block;
  width: 300px;
  height: 80px;
  text-indent: -9000px;
}

#hdr ul {
  float: right;
  height: 36px;
  list-style: none;
}

#hdr ul li {
  float: left;
}

#hdr li a {
  float: left;
  display: block;
  height: 23px;
  padding: 24px 20px 0 19px;
  background: url(images/bg_nav.gif) top right no-repeat;
  font: bold 12px Arial, Verdana;
  color: #071f48;
  text-decoration: none;
}

#hdr li a:hover {
  background-position: bottom right;
}

#btn_hdr {
  position: absolute;
  top: 208px;
  left: 540px;
}

#btn_hdr a {
  display: block;
  height: 40px;
  width: 350px;
  background: transparent;
  text-indent: -9000px;
  overflow: hidden;
}

#btn_hdr a:hover {
  background: transparent url(images/btn_hdr_hover.gif) no-repeat 312px 8px;
}

/***
CONTENT ----------------------------------------------------------------------*/
#bgmain {
  width: 100%;
  background: url(images/bg_main_content.jpg) top center no-repeat;
}

#con {
  width: 863px;
  margin: 0 auto;
  padding: 18px 21px;
  background: url(images/bg_content_btm.jpg) bottom center no-repeat;
}

/* MAIN ----------------------------------------------------------------------*/
#main {
  display: inline;
  margin-left: 5px;
  position: relative;
  float: left;
  width: 632px;
}

#homebody #main {
  margin-left: 0;
  width: 637px;
}

#flashbox {
  width: 637px;
  height: 232px;
  margin: 2px 0 22px;
  background: url(images/flashbox.jpg) top center no-repeat;
}

#subnav_holder {
  height: 47px !important;
  width: 30px;
  position: relative;
}

ul#subnav {
  position: absolute;
  width: 639px;
  height: 37px;
  top: -1px;
  left: -6px;
  margin: 0 0 10px 0px;
  background: url(images/bg_subnav.gif) top center no-repeat;
  list-style: none;
}

#subnav li {
  float: left;
}

#subnav li a {
  float: left;
  display: block;
  height: 30px;
  margin-top: 2px;
  padding: 0 13px 0 12px;
  background: url(images/divider_subnav.gif) bottom right no-repeat;
  font: bold 12px Arial, Verdana;
  color: #676767;
  color: #071f48;
  color: #1A5B8F;
  letter-spacing: 0;
  line-height: 30px;
  text-decoration: none;
}

html>body #subnav li a {
  line-height: 34px;
  height: 32px;
  margin: 0;
}

#subnav li a:hover, #subnav li.current_page_item a:hover {
 color: #1A5B8F;
 color: #071f48;
}

#subnav li.current_page_item a {
  color: #071f48;
}

#main p a, #main ul li a {
  color: #23313e;
  color: #3B6186;
}

#main h2 {
  margin: 0 8px 16px 0px;
  padding: 0 0 13px;
  border-bottom: 2px solid #e3e3e3;
  font: normal 25px Times New Roman, Georgia;
  text-decoration: none;
  letter-spacing: 0px;
  clear: left;
  color: #344056;
  color: #071F48;
  height: 26px;
}

html>body #main h2, html>body #main h2 a {
  height: auto;
}

#main #homecontent h2, #main #homecontent h2 a {
  margin: 0 0 7px 0;
  padding: 0 0 7px 0;
  border-bottom: 1px solid #e9e9e9;
  font: 20px Georgia;
  text-decoration: none;
  clear: left;
  color: #344056;
}

#main h3, #main h3 a {
  margin: 2px 8px 10px 0;
  font: 17px Georgia;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0px;
  font-style: italic;
  color: #1A5B8F;
}

#main #sidebar h3 {
  font-weight: normal !important;
}

#main h4, #main h4 a {
  margin: 0 8px 12px 0;
  font: bold 17px/17px Times New Roman, Georgia;
  letter-spacing: 0px;
  text-decoration: none;
  padding-bottom: 7px;
  border-bottom: 1px solid #ccc;
  text-transform: uppercase;
}

#main h5, #main h5 a {
  margin: 0 8px 8px 0;
  font: bold 14px/18px Aria, Helvetica, sans-serif;
  letter-spacing: 0px;
  text-decoration: none;
  text-transform: uppercase;
}

#main p {
  margin: 0 7px 18px 0px;
  line-height: 20px;
}

#main div.post ul {
  list-style: none;
  margin-bottom: 16px;
}

#main div.post li {
  margin: 0 0 5px 8px;
  padding: 0 0 4px 24px;
  background: url(images/icon_goldcheck.gif) top left no-repeat;
  line-height: 20px;
  height: 20px;
}

html>body #main div.post li {
  height: auto;
} 

#main #homecontent {
  float: left;
  width: 410px;
}

#main #homecontent p {
  margin-left: 0px;
  margin-right: 0px;
}

div.greybox {
  position: relative;
  float: right;
  width: 168px;
  padding: 14px 17px;
  background: url(images/bg_greybox.gif) top center no-repeat;
}

#main .greybox h2 {
  margin: 0 0 10px;
  font: 20px Georgia;
  padding: 0;
  border: 0;
  color: #344056;
}

.greybox ul {
  list-style: none;
}

.greybox li {
  margin: 0 0 5px;
  padding: 0 0 0 20px;
  background: url(images/icon_goldcheck.gif) top left no-repeat;
  line-height: 20px;
  height: 20px;
}

html>body .greybox li {
  height: auto;
}

.greybox .btm {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 202px;
  height: 8px;
  background: url(images/bg_greybox_btm.gif) top center no-repeat;
}

#breadcrumb {
  position: absolute;
  top: -42px;
  width: 500px;
  height: 30px;
  font: 11px Verdana;
  color: #737982;
}

#breadcrumb a {
  font: bold 11px Verdana;
  color: #737982;
}

.post img.alignright{
  float: right;
  margin: 0 0 10px 15px;
  padding: 5px;
  border: 1px solid #e1e1e1;
}

.post img.alignleft {
  float: left;
  margin: 0 10px 10px 0;
  padding: 5px;
  border: 1px solid #e1e1e1;  
}

/* SIDEBAR -------------------------------------------------------------------*/
#sidebar {
  float: right;
  width: 210px;
}

#clogin {
  position: relative;
  width: 210px;
  height: 140px;
  margin: 0 0 18px;
  background: url(images/bg_clogin.gif) top center no-repeat;
}

#cusername {
  position: absolute;
  top: 40px;
  left: 22px;
}

#cpass {
  position: absolute;
  top: 74px;
  left: 22px;
}

#cloginbtn {
  position: absolute;
  display: block;
  top: 105px;
  left: 139px;
  width: 54px;
  padding-top: 2px;
  padding-bottom: 6px;
  background: url(images/btn_clogin.gif) top center no-repeat;
  border: 0;
  font: bold 11px/14px Arial;
  text-transform: uppercase;
  color: #efefef;
  cursor: pointer;
}

#clogin .itf {
  width: 170px;
  border: 0;
  color: #777;
}

#loginbutton {
  background: url(images/bg_loginbutton.gif) no-repeat top left;
  height: 57px;
}

#loginbutton a {
  background: none;
  display: block;
  overflow: hidden;
  height: 45px;
  text-indent: -9000px;
}

a#ccreateaccount {
  position: absolute;
  top: 106px;
  left: 20px;
  color: #676767;
}

#newsbox {
  position: relative;
  width: 178px;
  margin: 0 0 10px 2px;
  padding: 12px 15px 16px;
  background: #f7f7f7 url(images/bg_newsbox.gif) top center no-repeat;
}

#newsbox h3 {
  margin: 0 0 7px;
  background: url(images/icon_document.gif) 0 1px no-repeat !important;
  background: none;  
  text-indent: 20px !important;
  text-indent: 0;
  font: normal 15px Georgia;
  color: #23313e;
  height: 18px;
}

#newsbox h3 a {
  margin: 0 0 15px;
  padding: 0 !important;
  padding: 1px 0 0 20px;
  background: none !important;
  background: url(images/icon_document.gif) 0 1px no-repeat;
  font: bold 16px "Times New Roman", Georgia;
  color: #23313e;
  color: #522f0d;
  color: #485B7B;
  text-decoration: none;
}

#newsbox h3 a:hover {
  color: #522f0d;
  color: #23313e;
}

#newsbox ul {
  list-style: none;
}

#newsbox li {
  margin: 0 0 9px;
  padding: 0 0 11px;  
  border-bottom: 1px dotted #ababab;
}

#newsbox p {
  color: #6a83a3;
  color: #507194;
  font-size: 12px;
  line-height: 16px;
}

#newsbox li.last {
  margin: 0;
  padding: 0;
  border: 0;
}

#newsbox .btm {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 208px;
  height: 10px;
  background: url(images/bg_newsbox_btm.gif) bottom center no-repeat;
}

/* CONTACT -------------------------------------------------------------------*/
#contactform {
  float: left;
  width: 365px;
  margin: 0 20px 0 0;
}

#contactcontent {
  float: right;
  width: 247px;
}

#cf input.itf, #cf textarea {
  width: 350px;
  padding: 3px;
  background: #fff;
  border: 1px solid #D9D9D9;
  font: 12px Arial;
  color: #555;  
}

#cf textarea {
  width: 350px;
  overflow: auto;
}

#main #cf p {
  margin: 0 0 5px;
  font-weight: bold;
}

#cf div.msg {
  width: 350px;
  margin: 0 0 15px;
  padding: 4px;
  background: #ffffdf;
  border-top: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
  font-style: italic;
  font-weight: bold;  
  color: #555;
  text-align: center;
}


/***
FOOTER -----------------------------------------------------------------------*/
#ftr {
  width: 905px;
  height: 100px;
  margin: 0 auto;
  background: url(images/bg_ftr.jpg) top center no-repeat;
}

#ftr ul {
  padding: 0 0 0 20px;
  list-style: none;
}

#ftr li {
  float: left;
}

#ftr li a {
  float: left;
  display: block;
  height: 39px;
  padding: 0 20px 0 0;
  font: bold 11px Verdana;
  color: #9097a3;
  line-height: 39px;  
  text-decoration: none;
}

#ftr li a:hover {
  color: #efefef;
}

br.clear {
  clear: both;
}
