#bd {margin:10px;}

#masthead {
    background-color:#3180c2;
	background: url(/site_media/graphics/site_assets/masthead.png);
	height: 202px;
    border-bottom: 0px solid white;
  }
#masthead-ad {
    padding-top: 135px;
    padding-right: 0px;
}

#masthead img {
    padding-top: 16px;
    padding-left: 10px;
    margin-bottom:-3px;
}

#page-content {
/* padding: 14px; */
}
#bd p, h1, caption, #page-content p, h1, caption, #ft p {
    padding-bottom:1em;
  }


#bd dt, caption, #page-content dt, caption {
    font-weight:bold;
  }


#bd dd, #page-content dd {
    padding-left:20px;
  }


#bd h1, #page-content h1 {
    font-family : Arial, Helvetica, sans-serif;
    font-size: 1.2em;
    font-weight: bold;
  }

.company-list {
    padding-bottom : 14px;
    padding-left : 14px;
    padding-right : 14px;
    padding-top : 14px;
  }


.company-list caption {
    font-size : x-large;
  }


.company-list th {
    font-size: large;
  }


.company-list th, td {
    padding-bottom: 4px;
    padding-right: 14px;
  }


body {
    background : #333333;
    height: 100%;
  }

/*body {
    background: url("/site_media/graphics/site_assets/bg.jpg") top left repeat;

}*/


#scott-thomson {
    background: url("/site_media/graphics/staff_photos/scott.jpg");
  }


#don-thomson {
    background: url("/site_media/graphics/staff_photos/don.jpg");
  }

#simon-moyle {
    background: url("/site_media/graphics/staff_photos/simon.jpg");
  }

#dane-roe {
    background: url("/site_media/graphics/staff_photos/dane.jpg");
  }

#daniel-hill {
    background: url("/site_media/graphics/staff_photos/daniel.jpg");
  }

#greg-lawson {
    background: url("/site_media/graphics/staff_photos/greg.jpg");
  }

#karlee-thomson {
    background: url("/site_media/graphics/staff_photos/karlee.jpg");
  }


#doc2, #doc4 {
    background : #ffffff;
    min-height: 100%;
    height: 100%;
    width: 974px;
    position: relative;
  }


h1 {
    color : #000000;
    font-family : Arial, Helvetica, sans-serif;
    font-size : xx-large;
  }


h2 {
    color : #000000;
    font-family : Arial, Helvetica, sans-serif;
    font-size : large;
  }


a {
    color : #ff9000;
    text-decoration : none;
  }


a:hover {
    color: #327fc3;
    text-decoration: underline;
  }


em {
    font-weight: bold;
  }

#featured-links {
    background : #ccffcc;
    padding : 10px;
  }


#featured-links h1 {
    background-color : #99ff99;
  }


#left_column {
    background-color : yellow;
    margin-top : 10px;
    margin-right : 5px;
    margin-left : 10px;
    margin-bottom : 10px;
    padding : 10px;
    text-align: justify;
  }


#right_column {
    background-color : yellow;
    margin-top : 10px;
    margin-right : 5px;
    margin-left : 10px;
    margin-bottom : 10px;
    padding : 10px;
    text-align: justify;
  }


.featured_company {
    background : #D3F2FF;
    padding : 3px;
  }


.featured_company a {
    font-weight: bold;
}


#login-button {
    width: 54px;
  }


#login-button:hover {
    background-image: url("/site_media/graphics/site_assets/login2.jpg");
    background-position: top left;
    background-repeat: none;
  }


#top-header {
    display: block;
    float: none;
    background-color : #868686;
    padding: 5px;
    color : #ffffff;
    font-family : Arial, Helvetica, sans-serif;
    font-size : 12px;
    font-weight : bold;
    text-align : right;
  }


#top-header ul {
    display: block;
    list-style-type: none;
    height: 30px;
  }


#top-header ul li {
    display: inline;
    vertical-align: middle;
  }


#top-header ul li a img {
    vertical-align: middle;
  }


#top-header ul li a img.normal {
    display: inline;
  }


#top-header ul li a img.rollover {
    display: none;
  }


#top-header ul li a:hover img.normal {
    display: none;
  }


#top-header ul li a:hover img.rollover {
    display: inline;
  }

/* Forms */


form dt, form ul label {
    margin-left: 10px;
    float: left;
    padding-top: 10px;
  }

form ul label {
    padding: 0; width: 140px;
    margin-top: 20px;
    font-weight: bold;
}



form dd, form ul input {
    margin-left: 150px;
    padding-top: 10px;
    vertical-align: middle;
    clear: right;
  }
  
form ul input {
    margin-left: 0px;
    margin-top: 20px;
    padding: 0px;
    width: 230px;
}

form select {
    vertical-align: baseline;
  }


form button {
    background-image: none;
    background-color: #327fc3;
    color: #ffffff;
    background-repeat: no-repeat;
    text-align: center;
    padding: 5px;
    padding-left: 16px;
    padding-right: 16px;
    /* margin-left: 140px;
    */ border: solid 1px #000000;
  }

form ul button {
    margin-left: 150px;
    margin-top: 20px;
    clear: left;
}

/* For a series of checkboxes - cart/simple_order.html */
form dd.checkboxes {
    margin-left: 0px;
}

form dd.checkboxes .heading {
    padding-bottom: 5px;
    font-weight: bold;
}

form dd.checkboxes .item {
    padding-left: 5px;
}

form dd.checkboxes .item-checkbox {
    vertical-align: baseline;
}

form dd.checkboxes .item-name {
    padding-left: 5px;
}


form .error {
    color: red;
}

form .note {
    font-style: italic;
}


form .help {
    margin-top: 10px;
    padding: 5px;
    font-size: small;
    background-color: #D3F2FF;
    border: solid 2px #327fc3;

  }


form .error-message {
    margin-top: 10px;
    padding: 5px;
    font-size: small;
    background-color: #FCD4B8;
    border: solid 2px #fc771a;

  }


form textarea {
    height: 100px;
  }

/* Ads formatting */

.ad {
    z-index: 1;
}

#flash-banner {
    width: 728px;
    height: 90px;
    text-align: left;
    padding-top: 5px;
    padding-bottom: 5px;
}

#vert-ads-left .ad, #vert-ads-right .ad {
    text-align: center;
}

#vert-ads-left h1, #vert-ads-right h1 {
    font-size: 10px;
}

/*.ad-125-125 {
    width: 125px;
    height: 125px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.ad-120-90 {
    width: 120px;
    height: 90px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.ad-300-250 {
    width: 300px;
    height: 250px;
    padding-top: 5px;
    padding-bottom: 5px;
}*/

#ft {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-right: 10px;
    margin-left: 10px;
    border-top: 1px solid #327fc3;
}


#js-detect {
    position:absolute;
    left: 317px;
    top: 50%;
    width: 300px;
    padding: 20px;
    background-color:white;
    border: 1px solid #327fc3;
    font-size: 16px;
    text-align: center;
}

#js-detect p {
    padding: 0;
}