/* Start of CMSMS style sheet 'BacchusHill : Page Layout' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   background: #cccccc url(uploads/BacchusHill/bg.jpg) fixed; 
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #002080; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #002080;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: underline;
   background-color: inherit;
   color: #920202;
}

/*****************
basic layout 
*****************/
body {
   background-color: #ccc;
   color: #333;
   margin: 0 1em 1em 1em;    /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */

div#pagewrapper {
   border: 0;
   margin: 0 auto;     /* this centers wrapper */
   max-width: 80em; /* IE wont understand these, so we will use javascript magick */
   min-width: 67em;
   background: #f0ebdb url(uploads/BacchusHill/page-bg.jpg);
   color: black;
}

div#pagewrapper-homepage {
   border: 0;
   margin: 0 auto;       
   width: 780px;   
   background: #f0ebdb url(uploads/BacchusHill/page-bg.jpg);
   color: black;
}

div#acknowledgement {
   background: #f0ebdb url(uploads/BacchusHill/page-bg.jpg);
}

/*** header ***/

div#header {
   height: 150px;
   margin: 0;
   background: #a80030 url(uploads/BacchusHill/header-bg.jpg);
}

div#header-logo h1 a {
   float: left;
   display: inline; 
   width: 394px;
   height: 150px;  
   background: #a80030 url(uploads/BacchusHill/header-logo.jpg);           
   text-indent: -999em; 
   text-decoration:none;
}

div#header-image {
   float: right;
   width: 410px;
   display: inline;
   height: 150px;
   background: #a80030 url(uploads/BacchusHill/header-image.jpg) no-repeat;
   text-indent: -999em;
   text-decoration:none;
}

div#header-homepage {
   height: 193px;
   margin: 0;
   background: #a80030 url(uploads/BacchusHill/header.gif);
}

div#header-homepage h1 {
   float: left;
   display: inline;
   text-indent: -999em;
   text-decoration:none;
}

div#header-homepage p {
   float: left;
   display: inline;
   text-indent: -999em;
   text-decoration:none;
}

div#search {
   float: right;
   width: 18em;     /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

div.breadcrumbs {
   padding: 1em 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;             /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0 1em;              /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px dotted #000;
}

 div.breadcrumbs span.lastitem {
   font-weight:bold;
}

 div#content {
   margin: 2px auto 0 0;   /* some air above and under menu and content */
}

div#main {
   margin-left: 250px; 
   margin-top: 15px;
   margin-right: 20px; 
}

div#main-wide {
   margin-top: 15px;
   margin-left: 20px; 
   margin-right: 20px; 
}

div#main-narrow {
   margin-left: 340px; 
   margin-top: 15px;
   margin-right: 20px; 
}

div#main-wine {
   margin-left: 20px; 
   margin-right: 20px; 
   background: url(uploads/BacchusHill/temple-bg.jpg) 110px -30px no-repeat;
}

div#main-wine-list {
   margin-left: 178px; 
   margin-right: 20px; 
   background: url(uploads/BacchusHill/temple-bg.jpg) 110px -30px no-repeat;
}

div#message-box {
   background: url(uploads/BacchusHill/message-box.gif);
   height: 210px;
   padding: 35px 65px 40px 95px;
}

div#message-box p {
   font-size: 1.0em;
   margin: 0 0 1.1em 0; /* some air around p elements */
   line-height: 1.1em;
   padding: 0;
} 

div#message-box ul {
   font-size: 1.0em;
   line-height: 1.3em;
   margin: 0 0 1.4em 0;
}

div#message-box ul li {
   margin: 0 0 0.25em 1.5em;
}

div#bottom-boxes p {
   font-size: 0.9em;
   margin: 0 0 1.1em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}   

div#sidebar {
   float: left;        
   width: 230px;     
   display: inline; 
   margin-left: 12px;
}

div#sidebar-wide {
   float: left;        
   width: 290px;     
   display: inline; 
   margin-left: 12px;
}

td#sidebar-wine { 
   width: 190px;     
   background: url(uploads/BacchusHill/tasting-notes-bg.jpg);
}

div#tasting-notes {
   float: left;        
   width: 158px;    
   height: 861px; 
   display: inline;  
   background: url(uploads/BacchusHill/tasting-notes.jpg);
   margin: 0;
}

div#wine-notes {
   width: 450px;
   margin: 0 auto;
}

div#bottom-image {
   width: 780px;
   height: 180px;
   background: url(uploads/BacchusHill/bacchus-hill-winery.jpg); 
}  

div#footer {
   clear: both;       /* keep footer below content and menu */
   color: #fff;
   background: #7d0703 url(uploads/BacchusHill/footer-bg.gif);
}

div#footer p {
   font-size: 0.9em;
   padding: 1.0em;       /* some air for footer */
   text-align: center;  /* centered text */
   margin: 0;
}

div#footer p a {
   color: #fff; 
}

div#wd4u p {
   width: 770px;
   margin: 0 auto;
   padding: 0.8em;
   font-size: 0.8em;
   color: #804030;
}

div#wd4u a {
   color: #804030;
   text-decoration: none;
}

div#wd4u a:hover {
   color: #801000;
   text-decoration: underline;
}

div#bottom-box {
   width: 770px;
   margin: 0 auto;
   padding: 1.5em;
   border: 1px solid #f08010 ;
   background-color: #fff2bf ;
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}

/* relational links under content */
div.left79 {
  width: 79%; 
}

div.right19 {
  float: right;
  width: 19%;
  text-align: right;
}



/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 1.6em; 
   line-height: 1.6em;
   color: #801000; 
   height: 55px;
   background: url(uploads/BacchusHill/page-title-bg.gif); 
   padding-left: 90px;
   margin: 0;
}
div#content h2 {
   color: #202020; 
   font-size: 1.5em;
   line-height: 1.5em;
   margin: 0.5em 0 0.5em 0;
}
div#content h3,
div#bottom-box h3 {
   color: #801000; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0.5em 0 0.5em 0;
}
div#content h4 {
   color: #801000; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #294B5F; 
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #294B5F; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

table.table-layout {
   border: solid 1px #f08010;
   background-color: #fff2bf;
   padding: 0.5em;
}

div#table-style table {
   border: solid 1px #f08010;
   width: 90%;
   margin-left: auto;
   margin-right: auto;
}

div#table-style thead td {
   padding: 0.3em 0 0.3em 1.0em;
   background-color: #fff8b0;
   border: 0;
}

div#table-style tbody td {
   padding: 0.5em 0 0.5em 1.0em;
   background-color: #fff2bf;
   line-height: 1.3em;
   border: 0;
}

div#awards table {
   width: 90%;
   margin-left: auto;
   margin-right: auto;
   border: solid 2px #f08010;
}

div#awards td {
   border: solid 1px #f8c040;
   padding: 0.5em;
   background-color: #fff2bf;
   line-height: 1.5em;
}



/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;


}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#sidebar ul,
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

div#main ul li,
div#sidebar ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}


/* END LISTS */
/* End of 'BacchusHill : Page Layout' */

