/* 
  style.css contains a reset, font normalization and some base styles.
  
  credit is left where credit is due.
  additionally, much inspiration was taken from these projects:
    yui.yahooapis.com/2.8.1/build/base/base.css
    camendesign.com/design/
    praegnanz.de/weblog/htmlcssjs-kickstart
*/

/* 
  html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
  v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark
  html5doctor.com/html-5-reset-stylesheet/
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, figure, footer, header, 
hgroup, menu, nav, section, menu,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}                  

article, aside, figure, footer, header, 
hgroup, nav, section { display:block; }

nav ul { list-style:none; }

blockquote, q { quotes:none; }

blockquote:before, blockquote:after,
q:before, q:after { content:''; content:none; }

a { margin:0; padding:0; border:0; font-size:100%; vertical-align:baseline; background:transparent; }

ins { background-color:#ff9; color:#000; text-decoration:none; }

mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }

del { text-decoration: line-through; }

abbr[title], dfn[title] { border-bottom:1px dotted #000; cursor:help; }

/* tables still need cellspacing="0" in the markup */
table { border-collapse:collapse; border-spacing:0; }

hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }

input, select { vertical-align:middle; }
/* END RESET CSS */


/* 
 * minimal base styles 
 */


/* Headers (h1,h2,etc) have no default font-size or margin,
   you'll want to define those yourself. */ 
 
/* www.aestheticallyloyal.com/public/optimize-legibility/ */ 
h1,h2,h3,h4,h5,h6 { font-weight: bold; text-rendering: optimizeLegibility; }

/* maxvoltar.com/archive/-webkit-font-smoothing */
html { -webkit-font-smoothing: antialiased; }

 
/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:active { outline: none; }
a:focus { outline: none; }

a, a:active, a:visited { color:black; }
a:hover { color:#ef3d42; }

small { font-size:85%; }
strong, th { font-weight: bold; }

td, td img { vertical-align:top; } 

sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }

pre { 
  padding: 15px; 
  
  /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
  white-space: pre; /* CSS2 */
  white-space: pre-wrap; /* CSS 2.1 */
  white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
  word-wrap: break-word; /* IE */
}

/* align checkboxes, radios, text inputs with their label
   by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; *vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }

/* hand cursor on clickable input elements */
label, input[type=button], input[type=submit], button { cursor: pointer; }


/* These selection declarations have to be separate.
   No text-shadow: twitter.com/miketaylr/status/12228805301 
   Also: hot pink. */
::-moz-selection{ background: grey; color:#fff; text-shadow: none; }
::selection { background:grey; color:#fff; text-shadow: none; } 

/*  j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #FF5E99; } 


/* make buttons play nice in IE:    
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }
 
 
/* bicubic resizing for non-native sized IMG: 
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img { -ms-interpolation-mode: bicubic; }


/* 
 * Non-semantic helper classes 
 */

/* for image replacement */
.ir { display:block; text-indent:-999px; overflow:hidden; background-repeat: none; }

/* Hide for both screenreaders and browsers
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display:none; visibility:hidden; } 

/* Hide only visually, but have it available for screenreaders 
   www.webaim.org/techniques/css/invisiblecontent/ 
   Solution from: j.mp/visuallyhidden - Thanks Jonathan Neal! */
.visuallyhidden { position:absolute !important;    
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px); }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* >> The Magnificent CLEARFIX << */
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.clearfix { display: inline-block; }
* html .clearfix { height: 1%; } /* Hides from IE-mac \*/
.clearfix { display: block; }


 /* Primary Styles
    Author: moi
 */

body { background: #2e77ac url('/img/pavers.png') repeat top left;}
#center {
  margin:82px auto;
  width:890px;
  padding-left:140px;
}
#content { 
  width:890px; 
  min-height:643px; 
  background-color:white; 
  border:3px solid black;
  box-shadow: 5px 4px 6px rgba(0,0,0,0.3);
  -moz-box-shadow: 5px 5px 4px 6px rgba(0,0,0,0.3);
  -webkit-box-shadow: 5px 4px 6px rgba(0,0,0,0.3);
  position:relative;
}
.frontpage #content {
  min-height:688px;
}
#topnav {
  width:896px;
  height:60px;
  background:black url('/img/shiny-black-bar.png') no-repeat top center;
  position:relative;
  top:-3px; left:-3px; 
  z-index:5;
  box-shadow: 0px 5px 6px rgba(0,0,0,0.6);
  -moz-box-shadow: 0px 5px 5px 6px rgba(0,0,0,0.6);
  -webkit-box-shadow: 0px 5px 6px rgba(0,0,0,0.6);
}
h1 {
  position:absolute;
  top:-59px;
  left:333px;
  z-index:6;
}
h1 a {
  position:relative;
  display:block;
  text-indent:-9999px;
  width:241px; height:124px;
  background:url('/img/logo.png') no-repeat top left;
}
#topnav ul li {
  float:left;
  display:block;
}
#topnav ul li a {
  background-repeat:no-repeat;
  background-position:top left;
  position:relative;
  top:28px;
  display:block;
  text-indent:-9999px;
  height:17px;
}
#topnav ul li a:hover {
  background-position:bottom left;
}
#topnav ul li a#home {
  background-image:url('/img/home.png');
  width:46px;
  left:36px;
}
#topnav ul li a#profile {
  background-image:url('/img/aboutus.png');
  width:73px;
  left:55px;
}
#topnav ul li a#installation {
  background-image:url('/img/installation.png');
  width:102px;
  left:78px;
}
#topnav ul li a#architects {
  background-image:url('/img/architects.png');
  width:92px;
  left:374px;
}
#topnav ul li a#distribution {
  background-image:url('/img/distribution.png');
  width:103px;
  left:386px;
}
#topnav ul li a#contact {
  background-image:url('/img/contact.png');
  width:66px;
  left:398px;
}


/* HOME PAGE */

.frontpage {
  position: relative;
}
.frontpage #badge {
  position: absolute;
  z-index: 1000;
  right: -65px;
  top: 100px;
}
.frontpage #content {
  padding-bottom: 60px;
}

#home-top, #home-left, #home-center, #home-right, #home-copy {
  border:3px solid #0d5780;
  background-color:white;
  position:relative;
  z-index:5;
  overflow:hidden;
}
#home-left, #home-center, #home-right {
  height:215px;
  width:273px;
  float:left;
  margin:5px;
  top:30px;
  left:10px;
}
#home-top {
  height:345px;
  width:851px;
  margin-left:15px;
  top:20px;
}
#home-left {
  left:10px;
}
#home-right {
  width: 272px;
}

#home-copy {
  width: 851px;
  left: 15px;
  top: 40px;
  padding: 30px 0;
}
#home-copy p {
  padding: 5px 60px;
}
#home-copy p.butt {
  text-align: center;
  font-style: italic;
}


/* SIDEBAR */

#sidenav {
  width:131px;
  position:absolute;
  left:-176px;
  top:70px;
  z-index: 10;
}
#sidenav ul.menu li.menuli {
  margin:0;
  padding-bottom:7px;
}
body.ie7 #sidenav ul.menu li.menuli {
    float: left;
}
#sidenav ul.menu li.menuli a.tab {
  display:block;
  width:173px;
  height:51px;
  padding-bottom:0px;
  -moz-box-shadow: -2px 3px 6px rgba(0,0,0,0.7);
  -webkit-box-shadow: -2px 3px 6px rgba(0,0,0,0.7);
  position:relative;
  z-index:10;
}
body.ie7 #sidenav ul.menu li.menuli a.tab {
    padding-bottom: 0;
    margin: 0;
}
#sidenav a.tab:hover {
    text-decoration:none;
}
#sidenav ul.menu li.menuli ul.acitem {
  width:156px;
  padding:12px 8px 10px 8px;
/*  background-color:#606060;*/
  background-image:url('/img/submenu-bg.png');
  background-repeat:repeat;
  background-position:top left;
  border:1px solid black;
  -moz-box-shadow: 0px 5px 4px 6px rgba(0,0,0,0.5);
  -webkit-box-shadow: 0px 4px 6px rgba(0,0,0,0.5);
  display:none;
  position:relative;
  z-index:9;
}
#sidenav ul.menu li.menuli:hover ul.acitem {
  display:block;
}
#sidenav ul.menu ul.acitem ul {
  padding-left:10px;
}
#sidenav ul.acitem li { border-top:1px solid #ef3d42; padding:2px 0 1px;}
/*.last { border-bottom:1px solid #ef3d42;}*/
body #center #content #sidenav .menu .acitem a, .category span {
  position:relative;
  height:15px;
  margin:1px 0 0 0;
  text-transform:uppercase;
  font-size:12px;
  font-family: Arial;
  color: white;
  text-decoration:none;
}
body #center #content #sidenav .menu .acitem p {
  line-height: 0.8em !important;
  padding:2px 0 2px;
}
body #center #content #sidenav .menu .acitem a:hover { color:#ef3e42; }
.category span {
  color: #000 !important;
  font-weight:bold;
  display:block;
  padding:2px 0;
}
/* CONTENT PAGE */
.pagecontent {
  padding:45px;
  font-family:Verdana, sans-serif;
  font-size:12px;
  color:black;
  line-height:1.5em;
}
.pagecontent ul {
  list-style-position:inside;
  list-style-image:url(/img/bullet.png);
  margin-bottom:10px;
  margin-left:15px;
}
.pagecontent ul li {
  line-height:1.8em;
}
.pagecontent p {
  margin-bottom:10px;
}
.pagecontent h2 {
  width:100%;
  border-top:1px solid #ef3d42;
  border-bottom:1px solid #ef3d42;
  margin-bottom:30px;
  padding-top:3px;
  margin-left:-2px;
  font-size: 19px;
  color: #ef3d42;
  line-height: 24px;
  font-weight: normal;
}
.pagecontent h2 span {
  margin-left: 1em;
}
.pagecontent h3 {
  text-transform:uppercase;
  margin-bottom:15px;
  font-size:1.1em;
  margin-top:20px;
  color:#2770a8;
}
.pagecontent h4 {
  margin-bottom:15px;
  font-size:1em;
  margin-top:20px;
  color:#505050;
}
.pagecontent .product {
  display:block;
  padding-bottom:30px;
  border-bottom:1px solid #d4d4d4;
}
.sub-product {
  margin-top:40px;
  border-top:1px dashed #d4d4d4;
}
.sub-product.firstchild {
  border-top:none; 
}
.pagecontent table {
  margin-bottom:10px;
}
.pagecontent table td, .pagecontent table th {
  border:1px solid grey;
  padding:3px 20px 3px 10px;
}
.bold {
  font-weight:bold;
}
.blue {
  color:#2770a8;
}
.center {
  text-align:center;
  margin-top:20px; margin-bottom:25px !important;
}
.left, .right { float:left; }
.reallyright {float:right;}
.right { margin-left:55px !important; }
.pagecontent .logo {
  position:absolute;
}
.pagecontent .photo {
  border:3px solid #0d5780;
  margin-bottom:10px;
}
.pagecontent .illo {
  margin-bottom:20px;
}
.recycled {
  margin:20px 0 20px !important;
}
.pagecontent .contains-pictures {
  margin-top:25px;
  margin-bottom:15px;
}
.fltrt {
  clear:both;
  float:right;
  margin:0 15px 15px 25px;
  text-align:center;
}
.caption {
  font-size:0.8em;
  margin-top:-10px;
}
.small-product {
  width:30%;
  padding:10px;
  float:left;
  text-align:left;
  margin-top:30px;
}
.small-product .reallyright {
  margin-right:30px!important;
}
.small-product.middle {
  border-left:1px dashed #d4d4d4;
  border-right:1px dashed #d4d4d4;
}
.firstsmall {
  margin-top:0px !important;
}

#sidenav .new {
  color: yellow;
  font-weight: bold;
}

a.pdf {
  font-size: larger;
  font-weight: bold;
  color: green;
}
