/* Start of CMSMS style sheet 'koStyles' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   background-color: #f2f2f2;
   text-align: left;
   font-family: Tahoma, Geneva, sans-serif;
   font-size: 79%;
   line-height: 1.5em;
   background-repeat: repeat-x;
   background-position: top left;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #000000; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #000000;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   color: #666666;
}

li {
  list-style-type: square;
  margin-left:30px;
}

h1{
  color:#000000;
  margin: 0 0 0 0;
  padding: 0 0 15px 0;
  font-size: 14pt;
  font-family: Tahoma, Geneva, sans-serif;
  font-weight:normal;
  line-height: 1.2;
}

h2{
  color:#000000;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  font-size: 12pt;
  font-family: Tahoma, Geneva, sans-serif;
  font-weight:normal;
}

h3{
  color:#000000;
  margin: 8px 0 8px 0;
  padding: 0 0 0 0;
  font-family: Tahoma, Geneva, sans-serif;
  font-size:12pt;
  font-weight:normal;
}

h5{
  color:#b2882a;
  margin: 8px 0 8px 0;
  padding: 0 0 0 0;
  font-family: Tahoma, Geneva, sans-serif;
  font-size:12pt;
  font-weight:normal;
}

h4{
 color:#08253B;
  margin: 0 0 0 0;
  padding: 0 0 15px 0;
  font-size: 16pt;
  font-family: arial;
  font-weight:normal;
}

div#menu{
  display:inline;
  position:absolute;
  line-height:2;
  height:56px; 
  top:10px;
  left:50%;
  width:920px;
  margin-left:-460px; 
  font-size:11pt !important;  
  z-index:999;
}


div#menuwrapper{

}

div#footerContainer{
  text-align:center;
  float:left;
}

div#homeHeader{
  background-image:url('images/headerImage.gif');
  height: 322px;
  width: 920px;
  position:relative;
  top:55px;
  float:left;
}

div#container{  
  margin: 0 auto;
  width: 920px;  
}

div#lower{
display:block;
top:65px;
position:relative;
}


/* IE7 Only */
*:first-child+html div#lower{
  top:58px;
}

div#lowerHome{
top:-48px;
position:relative;
}

/* IE7 Only */
*:first-child+html div#lowerHome{
top:-49px;
}

/* Safari Only */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  div#lowerHome{
    top:-46px;
  }
}



div#contentHolder{
  color:#666666;
  background-color: #f2f2f2;
  margin-right:0px;
  padding: 30px 30px 50px 28px;
  width:240px;
  float:left;
  min-height:300px;
  border-width:1px;
  border-style: solid;
  border-color: #b3b3b2;
  font-family: Tahoma, Geneva, sans-serif;
  font-size:10pt;
  position:relative;
  left:10px;
}

/* IE7 Only */
*:first-child+html div#contentHolder{
  margin-top:30px;
}

div.randomContent{
  line-height: 1.5em;
  font-family: arial;
  width: 150px;
  margin: 0px;
  padding-top:28px;
  padding-right:20px;
  font-family: Tahoma, Geneva, sans-serif;
  font-size:0.9em;
  color:#666666;
}

div.rcHome {
  float:left;
}

div.rcInside {

}

div.randomContent a{
  font-size:0.9em
  color:#000000;
}

div.spacer {
  clear: both;
}

div#innerHeader{
  background-image:url('images/innerTop.gif');
  height: 229px;
  width: 874px;
}

div#bigTitle{
  font-size: 36pt;
  color: #e5b351;
  float:left;
  position:relative;
  left:40px;
  top:105px;
  font-family:times;
}

/* IE7 Only */
*:first-child+html #bigTitle{
  top:60px;
  line-height:2;
}

div#middleBarTextInner{
  background-color: #d5d5d5;
  margin-left:38px;
  padding: 8px 33px 8px 20px;
  width:453px;
}

li.smallSep{
  margin-top:-10px;
  background-color:none;

}

img#topCorner{
  left:912px;
  margin-left:-6px;
  margin-top:-11px;
  position:relative;
  top:10px;
}

/* IE7 Only */
*:first-child+html #topCorner{
  margin-top:-15px
}

img#bottomCorner{
  display:inline;
  position:relative;
  top:-7px;
}

/* Safari Only */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  img#bottomCorner{
    top:-6px;
  }
}


img#middleCorner{
  left:883px;
  position:relative;
  top:-8px;
}

/* Safari Only */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  img#middleCorner{
    top:-6px;
  }
}

div#lower a:hover{
  background-color: #C3D4DF;
}

.smallSep{
  width:1px;
  height:56px;
  background-image(images/sepBar.gif);
  background-position:center top;
  background-repeat: no-repeat;
}

img#randomHomeImage{
left:310px;
position:relative;
top:52px;
}

div#whatsNew{
top:31px;
left:30px;
margin:30px;
position:relative;
}

div.rcSpacer{
  width: 1px;
  margin-top:28px;
  margin-right:30px;
  height:75px;
  float:left;
  background-image:url(images/rcSpacer.gif);
  background-position:right top;
  background-repeat: no-repeat;
}

div.homeLink{
  width:200px;
  position:relative;
  font-size:13pt;
  color:#FFFFFF;
  z-index:2;
  line-height:1.6em;
}

div.homeLink a{
  color:#FFFFFF;
  text-decoration:none;
}

div.homeLink a:hover{
  color:#FFFFFF;
  text-decoration:underline;
}

div.homeLink a:visited{
  color:#FFFFFF;
  text-decoration:none;
}


div#homeLink1{
left:710px;
top:-185px;
}

div#homeLink2{
left:710px;
top:-125px;
}

div#homeLink3{
left:710px;
top:-60px;
}

body.home{
   background-image: url(/images/background.gif);
}

body.internal{
   background-image: url(/images/bgInternal.gif);
}

div#intHeader{
  background-image: url(/images/headerInternal.gif);
  height: 180px;
  width: 920px;
  position:relative;
  top:55px;
}

img#intSplash{
left:255px;
position:relative;
top:52px;
}

img#intRandom{
left:252px;
position:relative;
top:52px;
}

div#contentInternal{

}

div#intBlurbs{
background-color:#F2F2F2;
border:1px solid #B3B3B2;
color:#555555;
float:right;
margin-right:10px;
padding-left:25px;
padding-bottom:25px;
padding-top:25px;
width:175px;
}

/* IE7 Only */
*:first-child+html div#intBlurbs{
margin-top:4px;
}

div#contentHolderInner{
  color:#555555;
  left:22px;
  position:relative;
  margin-top:30px;
  padding: 30px 0px 50px 20px;
  float:left;
  min-height:300px;
  width:600px;
}

/* IE7 Only */
*:first-child+html div#contentHolderInner{
  padding-left:30px;
}

div#headerTitle{
color:#FFFFFF;
font-size:24pt;
left:38px;
position:relative;
top:12px;
}

div#menuwrapper{
  line-height:2;
  height:56px; 
  margin-top:10px;
  clear:both;
  text-align:center;
}

ul#primary-nav li{
  float:none;
  display:inline;
  vertical-align:top;
  margin:0 10px;
  position:relative;
}

a.menuactive{
  color:#b2882a !important;
}

div.rcSpacerH{
padding-bottom:28px;
position:relative;
top:28px;
}

div#footer {
  font-family: Arial, Helvetica, sans-serif;
  font-size:.9em;
  color:#777777;
  margin: 20px auto 20px auto;
  text-align:center;
  width:920px;
  padding-bottom:100px;
}

div#footer a {
  color:#777777;
  text-decoration: none;
}

div#footer a:hover {
  color:#b2882a;
  text-decoration: underline;
  background-color: #FFFFFF;
}

.error{
  border-style:solid;
  boder-width:3px;
  border-color:red;
}


img.hover {
position:relative;
top:30px;
}

img.sepBar{
  position:relative;
  top:30px;  
}

img.sepBar.hover {
  position:relative;
  top:30px;
}

/* IE7 Only */
*:first-child+html img.sepBar{
  position:relative;
  top:-10px;
}

/* IE7 Only */
*:first-child+html img.hover{
  position:relative;
  top:-10px;
}

/* Safari Only */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  img.hover {
    position:relative !important;
    top:30px !important;    
  }

  li.hover img{
    position:relative !important;
    top:30px !important;    
  }

  #menu {
/*  using for debug */
/*  border:1px dotted black; */
  } 

  #primary-nav li ul {
    top:60px !important; 
    position:relative;
  }

  

}

.noBorderFS {
  border-width:0px;
  border:none;
}

/*clearing recaptcha */
.recaptcha_r1_c1, .recaptcha_r2_c1, .recaptcha_r2_c2, .recaptcha_r3_c1, .recaptcha_r3_c2, .recaptcha_r3_c3, .recaptcha_r4_c1, .recaptcha_r4_c2, .recaptcha_r4_c3, .recaptcha_r4_c4, .recaptcha_r7_c1, .recaptcha_r8_c1   {
  background-image:none !important;
}

.recaptcha_theme_red #recaptcha_response_field {
  border: #C0C0C0 2px inset !important;
}

#recaptcha_image {
  border: #C0C0C0 2px inset !important;
}

#primary-nav li ul li a{
  display:block;
  padding:10px 20px;
  background-color:#F1F1F1;
  z-index:10021;
  position:relative;
}

#primary-nav li ul {
  background-color:#F1F1F1;
  left:-21px;
  position:absolute;
  width:190px;
  z-index:10010;
  margin-top:0;
  float:left;
}

ul#primary-nav {
position:relative;
z-index:10000;
}

ul#primary-nav ul li {
clear:left;
display:block;
float:left;
margin-bottom:0 !important;
width:170px;
position:relative !important;
z-index:10020;
  top:0 !important;
  left:0;
}
/* End of 'koStyles' */

