/*
Theme Name: REI Boilers
Theme URI: http://reiboilers.com/
Description: Theme for reiboilers.com
Version: 0.1b
Author: Michael Kolesar <michael@viastudio.com>
Author URI: http://www.viastudio.com/

*/

/*
CSS for reiboilers.com redesign
project started on 06.04.07
new revisions 06.28.07
last update 07.10.07
Michael Kolesar - michael@viastudio.com
*/



/*
****************
whole page layout
****************
*/

body {
    padding:0;
    height:100%;
    background: url(images/bgd.gif) repeat-x;
}

#wrapper {
    width: 902px;
    position: relative;
    top: 8px;
    overflow: hidden; /* This hides the excess padding in non-IE browsers */
    border-bottom: 5px solid #5FA1B9;
    border-left: 5px solid #5FA1B9;
    border-right: 5px solid #5FA1B9;
    margin: 0px auto; /* centers the entire layout on the page, even in later IE! */
    background-color: #FFFFFF;
}

/*
************
header layout
************
*/

#header {
    position: relative;
    background: url("images/hdr-bgd.gif") repeat-x;
    background-color: #FFFFFF;
    top: 0px;
    height: 100px;
    z-index: 10000;
    margin: -8px auto;
    border-left: 5px solid #5FA1B9;
    border-right: 5px solid #5FA1B9;

}

#header_top_right { /* right-side logo image */
    position: absolute;
    top: 0;
    right: 0;
    height:98px;
    width:291px;
    background:url(images/logo_topright1.png) no-repeat scroll;
    z-index: 10001;
}

/*
***********
middle layout
***********
*/

#block_1 /* center */ {
    float: left;
    position: relative;
    width: 449px;
    margin-left: 164px;
    background-color: #FFFFFF;
    border-top: 2px solid #5FA1B9;
    overflow: visible;

}

#content {
    position: relative;
    width: 429px;
    margin-left: 20px;
    margin-right: 10px;
    margin-top: 15px;
}


#block_2 /* left */ {
    float: left;
    position: relative;
    width: 164px;
    margin-left: -613px;
    padding-top: 5px;
    background: url("images/bg-leftnav.png") repeat-y;
    border-top: 2px solid #5FA1B9;

}

#block_3 /* right */ {
    float: left;
    position: relative;
    width: 289px;
    background-color: #FFFFFF;
    border-top: 2px solid #5FA1B9;

}

/*
************
footer layout
************
*/

#footer { /* bottom of the page containing copyright information, etc */
    position:relative;
    left: 0px;
    height: 70px;
    background-color: #38768B;
    border-top-width: 2px;
    border-top-color: #1C3B45;
    border-top-style: ridge;
    clear: both;

}

/*
********************
CONTENT STYLING
********************
*/

/* center content */

td#inventory {
 font-size: 8pt;

}

p, td, th, li, #content_text { /* center content for the whole shebang */
    font: 10pt arial, sans-serif;
    font-weight: normal;
    line-height: 16pt;

}

table.eq_want {
    width: 420px;
    border-width: 3px;
    border-style: ridge;
    border-collapse: separate;
    /*height: 190px; cellpadding="8" cellspacing="2" height="198" width="390"  border="1" */
}

td.eq {
    vertical-align: top;
    border-spacing: 3px;
    border-width: 1px;
    border-style: solid;
    padding: 2px 4px 2px 4px;
}

th.eqh {
    vertical-align: bottom;
    text-align: center;
    border-spacing: 3px;
    font-weight: bold;
    padding: 3px;
}

.customers_head {
    font-weight: bold;
    font: 10pt arial, sans-serif;
    list-style-image: none;
}

ul {
    list-style-type: circle;
}

li {
    margin-left: 20px;
}

p {
    margin-bottom: 15px
}

h1, h2, h3, h4, h5, h6, #content_big { /* <h*> tags */
    font: 15pt arial, sans-serif;
    font-weight: normal;
    margin-top: 10px;
    margin-bottom: 10px;
}

hr.one { /* horizontal line */
    border: none;
    color: #D799D6;
    background-color: #5FA1B9;
    width: 96%;
    height: 3px;
}

table {
    margin-bottom: 10px;
}

table.name { /* table at bottom of center content containing boiler brand names */
    text-align: center;
    vertical-align: middle;
    font-family: arial, helvetica, sans-serif;
    font-weight: bold;
    font-style: italic;
}

td.name { /* image in background of each table cell */
    width: 109px;
    height: 70px;
    background:url(images/cell_background.png) no-repeat scroll;

    font-size: 12pt;
    font-weight: bold;

    font-style: italic;
}

div.product {
    margin: 0 0 30px 0;
    padding: 0;
}

div.product img {
    float: left;
    margin: 0 20px 10px 0;
}

div.product p.manufacturer {
    font-size: 18px;
    margin-bottom: 0;
    font-weight: bold;
}

div.product p.hp {
    margin:0;
}

div.product p.lbsperhour {
    margin:0;
}

div.product p.price {
    font-size: 115%;
    margin-bottom: 0;
}

div.product p.fuel {
    margin:0;
}

div.product p.pressure {
    margin:0;
}

div.product p.year {
    margin:0;
}

img.picture1 {
    float: left;
    margin:5px;
    width:200px;
    height:200px;
    overflow: hidden;
}

img.picture2 {
    float: left;
    margin:5px;
    width:200px;
    height:200px;
    overflow: hidden;
}

img.picture3 {
    float: left;
    margin:5px;
    width:200px;
    height:200px;
    overflow: hidden;
}

img.picture4 {
    float: left;
    margin:5px;
    width:200px;
    height:200px;
    overflow: hidden;
}

div.product p.moreinfo {
    clear: both;
    background-color: #eee;
    border: 1px dotted gray;
    font-size: 125%;
    margin: 10px 10px 10px 0;
    padding: 5px;
}

div.product p.moreinfo a {
    display: block;
    color: black;
}

div.product p.moreinfo a:hover {
    display: block;
    color: white;
    background-color: #38768B;
}


/* left-hand nav */
ul.menu, ul.sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.menu li, ul.sub-menu li {
    margin: 0;
}

.menu-item a {
    display:block;
    width: 164px;
    height: 23px;
    text-indent: 22px;
    background:url(images/navitem.png) no-repeat scroll;
    font: 10pt arial, sans-serif;
    font-weight: bold;
    color: #000000;
    padding-top:3px;
    margin-bottom: 2px;
    text-decoration: none;
}

.current_page_item a {
    color: #630a80;
}

ul.sub-menu li.menu-item a {
    background: none;
    display:block;
    text-indent: 22px;
    font: 9pt arial, sans-serif;
    font-weight: normal;
    color: #000000;
    text-decoration: none;
    line-height: 150%;
}

ul.sub-menu li.current-menu-item a {
    background: none;
    display:block;
    text-indent: 22px;
    font: 9pt arial, sans-serif;
    font-weight: bold;
    color: #630a80;
    text-decoration: none;
    line-height: 150%;
}

a.nav_item { /* "top-level" page navigation */
    display:block;
    width: 164px;
    height: 23px;
    text-indent: 22px;
    background:url(images/navitem.png) no-repeat scroll;
    font: 10pt arial, sans-serif;
    font-weight: bold;
    color: #000000;
    padding-top:3px;
    margin-bottom: 2px;
    text-decoration: none;
}

a.nav_item2 { /* "top-level" page navigation */
    display:block;
    text-indent: 22px;
    font: 9pt arial, sans-serif;
    font-weight: normal;
    color: #000000;
    text-decoration: none;
    line-height: 150%;
}

a.nav_item3 { /* "top-level" page navigation */
    display:block;
    text-indent: 22px;
    font: 9pt arial, sans-serif;
    font-weight: normal;
    color: #000000;
    text-decoration: none;
    line-height: 150%;
    margin-bottom: 10px;
}

p.nav {
    font: 9pt arial, sans-serif;
    margin: 10px 0 0 23px;
}


#nav_item_category, #nav_item_contact { /* contact information and boiler categories in the nav bar */
    width: 164px;
    height: 16px;
    text-indent: 22px;
    background-color: transparent;
    font: 9pt arial, sans-serif;
    font-weight: normal;
    color: #000000;
    /* notice that the bolded text is handled in-line */
}

#nav_item_category { /* the categories required a smidgen more space in between them */
    padding-bottom: 2px;
}
#nav_item_contact {
    padding-bottom: 0px;
}
#nav_item_spacer { /* little spaces to seperate items or add length at the end of the navbar */
    width: 164px;
    height: 8px;
    background-color: transparent;
}
#nav_middle { /* for some reason, this attribute doesn't affect the <li> tag and had to be placed in a <span> */
    vertical-align: middle;
}

/* right-side content */

#featured_product {
    background:transparent url(images/featured_background.png) no-repeat scroll 0% 50%;
    height:260px;
    position:absolute;
    right:0px;
    top:0px;
    width:289px;
    clear: both;
}

#featured_product_title {
    position: relative;
    top: 10px;
    left: 15px;
    font: 15pt arial, sans-serif;
    font-weight: normal;

}

#featured_product_image {

    position: relative;
    left: 15px;
    margin-top: 10px;

}

#featured_product_info {
    position: relative;
    left: 15px;
    font: 10pt arial, sans-serif;
    font-weight: normal;
    margin-top: 5px;
}

#boilermovie {
    position: relative;
    background: url(images/boiler.png) no-repeat;
    width: 219px;
    height: 207px;
    margin: 30px 25px;
}

/* footer content */

span.footer-left-top, span.footer-left-bottom, span.footer-right-top, span.footer-right-bottom {
    position:absolute;
    margin:0;
    padding:0;
    font:7pt verdana, sans-serif;
    color:#ffffff;
}

span.footer-left-top {top: 20px; left: 10px;}
span.footer-left-bottom { top: 35px; left: 10px; }
span.footer-right-top { top: 20px; right: 10px; text-align:right; }
span.footer-right-bottom { top: 35px; right: 10px; text-align: right; font-size: 9pt; }
span.footer-center {
    text-align: center;
    font:14pt verdana, sans-serif;
    font-weight: bold;
    color:#ffffff;
    display: block;
    padding: 20px;
}

a.footer:link { color: #FFFFFF; text-decoration: none; }
a.footer:visited {  color: #FFFFFF; text-decoration: none; }
a.footer:hover { color: #FFFFFF; text-decoration: underline; }
a.footer:focus { color: #FFFFFF; text-decoration: underline; }
a.footer:active {   color: #FFFFFF; text-decoration: none; }

/*
*******************
Control Tabs Styling
*******************
*/

        .tabbed_images {
            list-style:none;
            margin:0;
            padding:0;
            clear:both;
        }

        .tabbed_images li {
            list-style:none;
            float:left;
            margin:0;
            padding:0;
            margin-bottom: 10px;
        }

        .tabbed_images li a {
            border:1px solid #ccc;
            display:block;
            float:left;
            margin:0 10px 0 0;
        }

        .tabbed_images li a.active,
        .tabbed_images li a:hover {
            /* border:1px solid #333; */
        }

        .tabbed_images li a img {
            border:none;
            padding:2px;
            margin:0;
        }

        #image_1,
        #image_2,
        #image_3,
        #image_4,
        #image_5 {
            padding:0px 0px 400px;
            height: 56px;
            clear: both;
        }

.ctrl_img div {
border-top:2px solid #5FA1B9;

}

/*
**************************************************
  BROWSER-SPECIFIC HACKS BELOW THIS POINT!
**************************************************
*/

/* Start Mac IE5 filter \*/
#block_1, #block_2, #block_3
    {
    padding-bottom: 32767px !important;
    margin-bottom: -32767px !important;
    }
/* End Mac IE5 filter */
/* IE Win can be a bit out - you might need to adjust
bottom value by -1px or as required */
.verticalalign
    {
    position: absolute;
    bottom: -1px;
    }
#block_1 .verticalalign
    {
    width: 449px;
    }
#block_2 .verticalalign
    {
    width: 164px;
    }
#block_3 .verticalalign
    {
    width: 289px;
    }
/* hack for Opera 7+ */
@media all and (min-width: 0px){
.verticalalign
    {
    width: 100% !important;
    }
/* But Opera 9 does it right, so CSS3 hax to the max */
div[id^="wrapper"] #block_1 .verticalalign
    {
    width: 449px !important;
    }
div[id^="wrapper"] #block_2 .verticalalign
    {
    width: 164px !important;
    }
div[id^="wrapper"] #block_3 .verticalalign
    {
    width: 289px !important;
    }
}
/* hack for IEs of all persuasions before IE7 */
* html .verticalalign
    {
    width: 100% !important;
    }
.verticalalign p
    {
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 0;
    padding: 0;
    background: #996666;
    }

/* we need this for IE 5.01 - otherwise the wrapper does not expand to the
necessary height (unless fixed, this problem becomes even more acute
weirdness as the method is enhanced */
#wrapper
    {
/* Normally a Holly-style hack height: 1% would suffice but that causes
IE 5.01 to completely collapse the wrapper - instead we float it */
    float: left;
/* NB. possibly only IE 5.01 needs to get this float value - otherwise 5.5 sometimes
(I saw it happen many moons ago) makes the width of wrapper too small
the float: none with the comment is ignored by 5.01,
5.5 and above see it and carry on about their business
It's probably fine to just remove it, but it's left here
just in case that many moons ago problem rears its head again */
    float/**/: none;
    }
/* easy clearing */
#wrapper:after
    {
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
    }
#wrapper
    {
    display: inline-block;
    }
/*\*/
#wrapper
    {
    display: block;
    }
/* end easy clearing */
#footer
    {
    clear: both;
    }
#header, #footer
    {
    width: 902px;
    }
/* Safari needs this - otherwise the ghost overflow, though painted
correctly obscures links and form elements that by rights should be above it.
An unintended side-effect is that it cause such elements to vanish in IE 5.01
and 5.5, hence the child selector hack */
* > #footer, * > form, * > #notes, * > .output
    {
    position: relative;
    z-index: 1000;
    }

/*
**************
IE 6 hax follow
**************
*/

* html #block_1
    {
    display: inline;
    }

* html #wrapper {
    width: 912px;
}

* html #header {
    width: 912px;
}

* html #block_1 {
    /* padding-left: 10px; */
}
