* {
padding: 0;
margin: 0;
border: 0;
}

html, body {
background: #fff; /* url(images/keenbrossplash.jpg) no-repeat fixed top righ */
font-size: 1em;
font-family: Arial, verdana, sans-serif;
}

/* general styling */
a:link, a:visited {
color: #000;
}

a:hover {
color: #66669A;
text-decoration: underline;
}

p {
padding: 8px 0;
line-height: 1.3em;
}

ul, ol {
list-style-type: none;
}

/* main building blocks */ 

#header {
background: url(images/mainnavbg2.jpg) repeat-x; /* change to mainnavbg.jpg if not like */
width: 1000px;
height: 204px;
border-bottom: #66669A 4px solid;
}

#body { /* licence pages */
width: 1000px;
}
*:first-child+html #body { /* ie hack */
font-size: 0.9em;
}

#body2 { /* home page for index.html - no left col */
width: 1000px;
padding-left: 1.4em;
}
*:first-child+html #body2 { /* ie hack */
font-size: 0.9em;
}

#body3 { /* other pages */
width: 1000px;
min-height: 380px;
background: url(images/keenbros.jpg) no-repeat;
}
*:first-child+html #body3 { /* ie hack */
font-size: 0.9em;
}

#footer {
clear: both;
background: #fff;
width: 1000px;
height: 100px;
border-top: #66669A 4px solid;
padding-top: 0.5em;
font-size: 0.8em;
margin: 0;
}
*:first-child+html #footer { /* ie hack */
font-size: 0.8em;
}

/* navigation */
#mainnav {
height: 40px;
margin-left: 400px;
padding-top: 110px;
}
 #mainnav li {
 float: left;
 }
 #mainnav li a {
  display: block;
  width: 120px;
  height: 30px;
  font: 1.15em Arial;
  text-decoration: none;
  color: #fff;
  text-align: center;
  }   
  #mainnav li a:hover { /* #mainnav li a.selected {  selected is when its currently on that page */
  background: url(images/navbg3.gif) no-repeat;
  margin-top: -40px; 
  padding-top: 40px;
  
  }
  *:first-child+html #mainnav li a{
  font: bold 1em Arial;
  }
  
#courses {
clear: both;
overflow: hidden;
}
 #courses h3 { 
 height: 28px;
 margin: 0px 10px 10px 171px;
 width: 197px;
 float: left;
 background: url(images/licences.jpg) no-repeat;
 }
  #courses h3 span {
  display: none;
  }
 #courses ul {
 background: url(images/licencenav.jpg) no-repeat;
 width: 527px;
 height: 64px;
 float: left;
 margin: -1.6em 0 0 1em;
 }
  *:first-child+html #courses ul{
 margin-top: -1.4em;
  }
 #courses span {
 display: none;
 }
 #courses li, #courses a {
 height:50px;
 display:block;
 }
 #courses li {
 float:left;
 display:inline;
 }
 #rigid {width: 110px; }
 #articulated {width: 150px;}
 #pilot {width: 145px;}
 #rigid a:hover {background:url(images/licencenav.jpg) 0px -64px no-repeat; }
 #articulated a:hover {background:url(images/licencenav.jpg) -110px -64px no-repeat; }
 #pilot a:hover {background:url(images/licencenav.jpg) -260px -64px no-repeat; }
  

  
  


/* secondary building blocks */

#logo {
width: 376px;
height: 162px;;
/*background: url(images/KeenBrosLogo.jpg) no-repeat;*/
float: left;
}
 #logo h1, #logo h2 {
 position: absolute;
 left: -999px;
 }

#contact {
float: right;
width: 624px;
}
 #contact a {
 color: #fff;
 font-weight: bold;
 text-decoration: none;
 padding-left: 35px;
 position: absolute;
 top: 15px; 
 }
 #contact a:hover {
 color: #fceb5d;
 }
 #contact span { 
 background: url(images/contact.jpg) no-repeat;
 width: 153px;
 height: 51px;
 display: block;
 position: absolute;
 left: 725px;
 top: 10px;
 }

#images {
float: left;
width: 340px;
padding-bottom: 2em;
}

#text {
float: right;
width: 650px;
min-height: 220px;
margin-left: 10px;
padding: 1em 0 2em 0;
}
 #text img {
 padding-top: 1em;
 }

#credits {
width: 170px;
float: left;
padding-right: 10px;
text-align: right;
}
 #footer a {
 color: #000;
 text-decoration: none;
 }
 #footer a:hover {
 color: #66669A;
 text-decoration: underline;
 }

#details {
border-left: #66669A 4px solid;
float: left;
padding-left: 10px;
width: 800px;
}

#details p {
padding: 0 0 4px 0;
}

/* extra styling */


#text h2, #text h3, #body2 h2 {
color: #66669A;
}

#text h1 {
padding-top: 0.5em;
font-size: 1.7em;
}

#text h2, #body2 h2 {
font-size: 1.5em;
padding-top: 0.5em;
}

#images p {
padding: 1.5em 0 0 1.5em;
}

#images img {
padding: 1em 0 0 1em;
}

#images span {
display: block;
padding: 0.3em 0 0 1em;
}


.office {
background: url(images/office.gif) no-repeat;
height: 35px;
padding: 7px 17px 0 28px;
display: block;
float: left;
}
.phone {
background: url(images/phone.gif) no-repeat;
height: 35px;
padding: 7px 17px 0 30px;
display: block;
float: left;
}
.fax {
background: url(images/fax.jpg) no-repeat;
height: 35px;
padding: 7px 17px 0 34px;
display: block;
float: left;
}
.email {
background: url(images/email.gif) no-repeat;
height: 35px;
padding: 7px 10px 0 34px;
display: block;
float: left;
}


/* faq section */
a.faqtitle {
text-decoration: none!important;
color: #66669A;
font-size: 1.2em;
font-weight: bold;
}

a:hover.faqtitle {
text-decoration: underline;
color: #000;
}

.faqdesc {
padding: 0 0 0 12px;
}

/* form styling */

input, textarea {
border: 1px solid #66669a;
padding: 0.1em;
}

form p {
clear: left;
margin: 0;
padding: 0;
padding-top: 5px;
}

form p label {
float: left;
width: 115px;
}

fieldset {
border: 0;
margin-top: 16px;
}

input.btn {
background-color: #66669a;
color: #fff;
width: 60px;
}

span.required {
color:red;
}

/* table style */
#body2 table {
padding-top: 1em;
width: 950px;
font-size: 0.85em;
}

tr {
text-align: left;
}

/* home page splash */

#body2 img {
margin: 10px 0 0 -20px;
}

#body2 {
border-bottom: #66669A 4px solid;
}

/* contact page */

dl {
line-height: 1.2em;
padding-top: 0.5em;
}

dt {
font-size: 1.3em;
padding-bottom: 10px;
}

dt small {
font-size: 0.65em;
}

dd {
float: none!important;
margin-top: -8px!important;
}
