/* 
  Title: Sontex. Standard Valid Markup Version [FF 2.x, Opera 9.x, IE7.x]
  Version: 1.0
  
  Created: 04. April 2007
  Last Modified: 17. April 2007
  
  Author: Andrew Mason
  Contact: info@oakbaseinteractive.co.uk
  
  Content:
    1. Remove Browser Styles
    2. Core Styles
    3. Core Layout
    4. Homepage Specific
    5. Product Page
    6. Application Guide
    7. Contact Page
    8. Sitemap
    9. Misc. Classes
  
  -------------------------------------------------------------
  Change log:
    04. April 2007
      * Initial creation
      * create core layout
      * box-up core content 
    11. April 2007
      * Fleshed out the CSS from final Photoshop design
      * fliped homepage elements around
      * took header out of main container to bleed to edge
    12. April 2007
      * Added content
      * Introduced the page content styles
      * cleaned up the code
      * added additional comments       
    13. April 2007
      * Added contact page                                                  
      * Completed product pages
      * Tweaked homepage howto & products          
    16. April 2007
      * Added PSP Competition styles
      * Finished Application Guide Styles
    17. April 2007
      * Added form error handling
      * Added sitemap styles                               
*/

/*  1. Remove browser styles
------------------------------------------------------------- */
body {
    margin: 0;
  padding: 0;
  font-family: verdana, helvetica, san-serif;
  font-size: 0.9em;
}

p, ul, h1, h2, h3, h4 {
  margin: 0;
  padding: 0;
}

img {
  border: none;
}

a:link { color: #C50101; }
a:visited { color: #222; }

/*  2. Core Styles
------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-weight: lighter;
  color: #B81111;
}

/*  3. Core Layout
------------------------------------------------------------- */
#container {
  margin: 0 auto;
  width: 770px;
}

#header {
  margin: 0 auto;
  background: #AD0000 url(../images/header_checker.gif) left top repeat-x;
}

  #header h1 {
    background: transparent url(../images/sontex_logo.gif) left top no-repeat;
    height: 107px;
    width: 159px;
    margin: 0 auto;
    text-indent: -5000px;
    overflow: hidden;
  }

#navigation {
  /*padding: 0.4em 0;*/
  margin: 0 auto;
  height: 2em;
  font-size: 0.9em;
  list-style-type: none;
  width: 770px;
  position: relative; /* ensure navigation is on top of H1 logo */
  margin-bottom: 20px;
}

  #navigation li {
    background: #980000 url(../images/tabs/tab_left.png) left top no-repeat;
    margin: 0 0.3em 0 0;
    float: left;
  }
  
  #navigation li a span {
      display: block;
      padding: 0.38em 10px;
  }
  
    #navigation li a:link, #navigation li a:visited {
      background: transparent url(../images/tabs/tab_right.png) right top no-repeat;
      color: white;
      text-decoration: none;
      display: block;
    }
    
    #navigation li a:hover, #navigation li a:active {
      background: #5D0000 url(../images/tabs/hover_left.png) left top no-repeat; /* #5D0000 */
    }
    
    #navigation li a:hover span {
      background: transparent url(../images/tabs/hover_right.png) right top no-repeat;
    }
    
    
    .active a, .active a:hover {
      background: white url(../images/tabs/active_right.gif) right top no-repeat !important;
      color: #222 !important;
    }
    
    .active a span, .active a:hover span {
      background: transparent url(../images/tabs/active_left.gif) left top no-repeat !important;
    }
  
  #cats {
    margin-left: 25px !important;
  }

#footer {
  border-top: #CB0000 8px solid;
  font-size: 0.73em;
  margin-top: 3em;
  padding: 1em 0;
  text-align: right;
  line-height: 1.6em;
}

/*  4. Homepage Specific
------------------------------------------------------------- */
#hero {
  background: transparent url(../images/hero.jpg) left top no-repeat;
  color: white;
  height: 225px;
  margin: 3px 0 0.9em 0;
  position: relative;
  
}

  #hero p {
    height: 100%;
    position: absolute;
    width: 230px;
    bottom: 0;
    right:0;
    text-align: center;
  }
  
    #hero p a:link, #hero p a:visited {
      color: white;
      display: block;
      width: 230px;
      height: 205px;
      text-decoration: none;
      padding: 20px 0 0 0;
    }
    
    #hero p a:hover, #hero p a:active {
      text-decoration: underline;
    }


#products {
  /* background: #CCC; */
  float: left;
  width: 67%;
  border-right: 1px solid #CCC;
  padding-right: 1em
}

  #products a:link, #products a:visited {
    display: block;
    width: 100px;
    float: left;
    text-align: center;
    margin: 1em 6.5%;
    text-decoration: none;
  }
  
  #products a:hover, #products a:active {
  }

  #products h2 {
    font-size: 1.3em;
    margin-bottom: 0.5em;
  }
  
  #products p {
    font-size: 0.83em;
    line-height: 1.6em;
  }

#howto {
  /* background: #EEE; */
  float: right;
  width:29%;
}

  #howto h2 {
    font-size: 1.3em;
    margin-bottom: 0.5em;
  }
  
  #howto p {
    font-size: 0.8em;
    line-height: 1.6em;
    margin-bottom: 1em;
  }

/*  5. Product Page
------------------------------------------------------------- */
#sidebar {
  border-right: 1px dashed #CCC;
  width: 180px;
  float: left;
}
  #sidebar ul {
  
    list-style-type: none;
    font-size: 0.85em;
    margin-bottom: 30px;
  }
    #sidebar ul li {
      font-weight: bold;
    }
  
    #sidebar ul li ul {
      border: none;
      margin: 5px 0 10px 20px;
      list-style-type: disc;
    }
    
      #sidebar ul li ul li {
        margin-bottom: 0.8em;
        font-weight: normal;
        font-size: 1.2em;
      }
  

#content {
  float: right;
  width: 580px;
}

#content h2 {
  margin-bottom: 0.5em;
}

  
#content div {
  float: left;
  margin: 0 0 20px 10px;
  width: 278px;
}

#content div h2 {
  line-height: 0.9em;
  margin-bottom: 0.5em;
  font-size: 1.1em;
  clear: none;
}

#content div h2 small {
  color: #222;
  font-size: 0.8em;
}

#content p {
  font-size: 0.75em;
  line-height: 1.3em;
  margin-bottom: 1.4em;
}

#content div table {
  width: 100%;
  clear: left;
}

#content div img {
  float: left;
}

#content div ul {
  clear: left;
  margin-left: 1.4em;
  list-style-type: disc;
  margin-bottom: 1em;
  font-size: 0.75em;
}

  #content div ul li {
    line-height: 1.3em;
  }
  
#content div table td {
  font-size: 0.75em;
  padding: 0.2em 0.3em;
}

#content div table th {
  font-size: 0.75em;
  background-color: #990000;
  color: white;
}


/*  6. Guide
------------------------------------------------------------- */
#guide {
  float: right;
  width: 580px;
}

  #guide img {
    float: left; 
    margin-right: 10px;
  }
  
  #guide h3, #guide h2 {
    clear: left;
  }
  
  #guide h3 {
    border-bottom: 1px solid #CC0000;
    margin-bottom: 0.3em;
  }
  
  #guide p {
    /* margin-left: 200px; */
    margin: 1em 0;
    font-size: 0.73em;
    line-height: 1.4em;
    
  }

/* 7. Contact Page
------------------------------------------------------------- */
#contact {
  margin-top: 25px;
}

  #contact div h2 {
    margin-bottom: 0.5em;
  }

  #contact div {
    float: left;
    width: 358px;
  }
  
    #contact div p {
      font-size: 0.83em;
      margin-bottom: 1.5em;
      line-height: 1.3em;
    }
    
    #contact div address {
      font-size: 1.2em;
      margin-bottom: 1em;
    }

#emailform {
  background-color: #EEE;
  border: 1px solid #999;
  float: right !important;
  padding: 1.2em 1.2em 0.4em 1.2em;
}

  #emailform form input {
    margin-right: 10px;
  }
  
  #emailform p {
    margin-bottom: 0.3em !important;
  }

  #submitbutton {
   /* background-color: #CCC;
    border-top: 2px solid #666;
    padding: 1.2em 0 1.2em 1.2em;*/
  }
    #submitbutton input {
      font-size: 1.3em;
      width: 100%;
      height: 2.5em;
    }

/*  8. Sitemap
------------------------------------------------------------- */
#sitemap p {
  margin: 1em 0;
  font-size: 0.8em;
  line-height: 1.4em;
}

#sitemap ul {
  margin: 0.1em 0 0 3em;
}

  #sitemap ul li {
    margin: 0.1em 0;
    font-size: 0.9em;
  }
  
  #sitemap ul li ul {
    margin-left: 2em;
  }

/*  9. Classes
------------------------------------------------------------- */
.hide {
  clear: both;
  visibility: hidden;
}


.remove {
  display: none;
}

.right {
  float: right !important;
}

.center {
  text-align: center;
}

.zebra {
  background-color: #FFCCCC;
}

.top {
  text-align: right;
  /*font-size: 1em !important;*/
}

.top a:link, .top a:visited {
  background-color: #990000;
  color: white;
  padding: 0.3em 1em;
  text-decoration: none;
}

.top a:hover, .top a:active {
  background-color: black;
}

.pdf {
  background: transparent url(/images/pdf_icon.png) left center no-repeat;
  margin-top: 0.4em;
  padding-left: 30px;
}

.unhidden { display: block !important; }

