@import url(luna_core.css);
@import url(jquery-ui-1.7.2.custom.css);
@import url(reset-fonts-grids.css);

/*
This file inherits from luna_core.css, so styles in this file will override
styles defined in it.  Changes to this file will NOT be overwritten during
upgrades.

Here's a quick tutorial on overriding styles.  Say you want to change the
background colour of the body.  Looking at luna_core.css, the colour is
defined in the rule:

    body {
      margin: 0px;
      padding: 0px;
      color: #33332e;
      background: #ffffff;
      font: normal 11px tahoma, geneva, verdana, sans-serif;
      text-align: center;
    }

To change the background colour of white (#ffffff) to gray (#dddddd), you would
add the following to this file:

    body {
      background: #dddddd;
    }

If you also wanted to change the font as well as the background, then you could
use:

    body {
      background: #dddddd;
      font: normal 12px times new roman;
    }

Also note that every template's body id is assigned the template name (without
the .html extension).  So if you want to change the h2 heading in the
category.html template, you can do this by:

    #category h2 { 
      color: red; 
      font-weight: bold; 
    }

To start you off, some sample overriding styles have been provided below.  Note
that you will have to uncomment the rules for them to work.
*/

/* don't want bg to always be white */
body {
  background: none;
}


/* If the height of your logo changes from the original, then you will probably
want to also change the vertical position of the login link */
/*
#loginbar a {
  margin-top: 25px;
}
*/

/* Show the left sidebar */
/*
#ocwrapper {
  border-left-width: 200px;
}
#leftsidebar {
  display: block;
}
#contentheader .error, #contentheader .message {
  margin: 0px 200px 0px 200px;
}
*/

/* Hide the right sidebar */
#ocwrapper {
  border-right-width: 0px;
}
#rightsidebar {
  display: none;
}
#contentheader .error, #contentheader .message {
  margin: 0px;
}

/* Change the right sidebar width.  Note that the sidebars have a 10px left or
right padding (left sidebar has a left padding and right sidebar has a right
padding), hence the 150px - 10px = 140px width */
/*
#ocwrapper {
  border-right-width: 150px;
}
#rightsidebar {
  margin-right: -150px;
  width: 140px;
}
#contentheader .error, #contentheader .message {
  margin: 0px 150px 0px 0px;
}
*/

/* Change width of document */

#wrapper {
width:61.54em; min-width:800px; margin: 1em auto; text-align: left; background: #ffffff; position: relative; padding: 0.35em; font-size: 90%; line-height: 1.6em;
}

/* Don't want the shadows? */

.shadowtop, .shadowbottom, .shadowleft, .shadowright {
  background: none;
}
.shadowtopleft, .shadowtopright, .shadowbottomleft, .shadowbottomright {
  width: auto;
  height: auto;
  float: none;
  background: none;
}


/* If you change the globals category_cols or home_category_cols, then you will
need to change the width of the columns themselves.  Note that IE sometimes has
problems if this value adds up to 100%, so keep the width a little under 100%.
For example, if you changed category_cols to 3, then this example would set
the width of the columns to 33% (99% total).  If you want to change the columns
on the home page as well, then remember to set a rule for "#home dl" as well. */
/*
#category dl {
  width: 33%;
}
*/

/* removing background swirl */
#header {
  background: #FFFFFF;
}

/* reset h3 */
#content h3 {
  border-bottom: 0 none;
  padding: 0.5em 1em;
  margin: 0;
}

/* getting rid of grey bg */
#ocwrapper {
  background: none;
}

/* fix h4 (no margin @ top, font is bold) */
#home #content h4 {
  margin-top: 0px;
  font-weight: bold;
}

/* need an h4 like header without the line break */
.header-inline {
  font-weight: bold;
  font-size: 12px;
}

/* fix featured wine area (dl) */
#category dl, #home dl {
  margin: 1em;
  width: 23.0769em;
  float: none;
}

/* override font color */
body {
  color: #444444;
}

/* override form submit */
.formsubmit {
  text-align:center;
}

#contentheader .message {
  background:#D3DB6E;
  color:#444444;
}
#contentheader {
  padding: 0;
}

html { background: #c9cd80; color: #444; }
#main-menu a { text-decoration: none; color: #4A3929; }
#main-menu a:visited { color: #4A3929; }
#main-menu a:hover { color: #4A3929; }
a { text-decoration: none; color: #395968; }
a:visited { color: #395968; }
a:hover { color: #395968; }

p { margin: 0 0 1em; }
h2 { font-size: 180%; margin: 1em 0; }
h3 { font-size: 140%; margin: 0.5em 0 1.5em; }
h4 { font-weight: bold; }
dt { margin-bottom: 0.5em; }
dd { margin-bottom: 1em; }
table td { vertical-align: top; }
table td { padding: 1em 0 0 1em; }
table td:first-child { padding-left: 0; }
table tr:first-child td { padding-top: 0; }

img.opening-image { width: 100%; }

#main-menu { margin-bottom: 0.25em; padding: 0 0 0 8.5em; border: none; border-bottom: 0.5em solid #f4df76;  }
#main-menu a { border-bottom: 0; padding: 0.5em 1.5em; position: relative; bottom: 1px; }

#winefooter { margin: 2em 5em 1em; text-align: center; font-size: 80%; }
#winefooter ul { list-style-type: none; margin-bottom: 0.5em; }
#winefooter li { display: inline; margin: 0 1em; }


#page { padding: 0; position: relative; }

#hd { margin-bottom: 0.25em; }

p.flush { margin: 0 !important; padding: 0 !important; background-color:#FFFFFF; text-align:center; }
.flush img { height:30em; }

.wine-box h3 { text-transform: uppercase; padding: 0.5em 1em; margin: 0; color: #735636; font-size: 120%; }
.wine-box p { padding: 0 1em 1em; }
.wine-box dl { margin: 1em; }
.wine-box dt { text-transform: uppercase; font-weight: bold; }
#wrapper .discover { background: #446375; color: #FFFFFF; padding: 0.25em 0.5em; }
#wrapper .unavail { background: #4A3929; color: #FFFFFF; padding: 0.25em 0.5em; text-transform:uppercase; }
.wine-box-white { background: #f4df76; }
.wine-box-red { background: #9f0e1f; }
.wine-box-pink { background: #f3c3bd; }
.wine-box-red h3 { color: #FFFFFF; }
.wine-box-green { background: #d3db6e; }
.winery-box { width:23.5em; text-align:left; margin-left:1em; padding-top:2em; }
.winery-anchor a { background: transparent url(images/plus.gif) no-repeat scroll left 4px; padding: 0 0 5px 15px; cursor:pointer; }
.winery-anchor h2 { font-size:140%; }
.winery-anchor { background: #d3db6e none repeat scroll 0 0; }
.wine-box-title h3 { margin: 0; padding: 0.5em; }
.wine-thumbnail { text-align: center; }
.wine-preview { vertical-align: middle; }

.winery-nav { text-align:center; }
.yui-t3 .winery-b { width:12em; margin-top:4em; }
.yui-t3 #yui-main .bnb { margin-left:25em; } 

.widgets { margin: 1.5em; }

.varietal { text-transform: uppercase; padding-bottom: 1em; }
.summary { text-transform: uppercase; }
.cart { float: right; }
.detail-heading { padding: 1.5em 0 1.5em 0; font-size:medium; }
.detail-title { margin-right: 2em; }
.details { padding: 0 0 10em; }
.detail-table td { padding: 0 0.5em; }
.winery-details { padding: 1em 0 }
.winery-image { text-align:center; padding-top:1em; }
.winery-image-map { padding:0.5em; }
.winery-image-map img { width: 88px; }
.bnb-image { text-align:center;  }
.bnb-image img { width:100%; }
.bnb-box { width:22.5em; text-align:left; margin-left:0.5em; padding-top:1em; }
.bnb-logo { text-align:center; padding-bottom:2em; }
.bnb-logo img { width:15em; }
.bnb-desc { padding: 0 1em 0 0; }
.bnb-samples img { width:14em; padding: 1em 0; }
.bnb-samples td { vertical-align:middle; text-align:center; }

.contact_blurb { margin: 1em 0 0 2em; }
.wine-list { margin: 1em 2em 4em; border-collapse:separate; border-spacing:0.75em;}
.divider, .address { text-align:center; }
.wines-by-type { margin: 0 1em 1em; }
.avail-sm { text-align:right; }

.more { padding-top:1em; }

.about img { height:20em; padding:0 2em 2em 1em; }
.about .laurent { width:30em; /*height:auto;*/ }
.about {
  margin:2em 5em;
  padding:2em;
  border: 2px solid #4A3929;
}

h1, h2, h3, h4, h5 { font-family: Times, "Times New Roman", Georgia, serif; }
dl { margin-bottom: 2em; }
.yui-t3 #yui-main .winery-info { margin-left: 24.5em; }
.winery-info h3 { margin: 0.5em 0 0.5em; }
.awards-table { border-collapse:collapse; }
.awards-table, .awards-table td {
  vertical-align:middle;
  text-align:center;
  padding: 0 0 0 1em;
}
.awards-table .awards-desc { text-align: left; }
.awards-title { width: 5em; }
.awards-icon img { height: 25px; }
.awards-table .awards-wine { padding: 1em 0; text-align: left; }
.awards-wine h3 { margin: 0.5em 0; }
.awards-b { margin-left: 14em; }
.awards td { padding: 1em 0.5em; }
.awards-winery { width: 30em; border:3px double #d3db6e; text-align:center; }
.awards-sum { text-align:center; width:10.5em; }
.awards-sum img { padding: 0 0.25em; }
.awards-header { color:#949a44; font-weight:bold; font-family:Times,"Times New Roman",Georgia,serif; padding-bottom:0.5em; }

.hide { display: none; padding: 0 1em; }

.tell-header { margin-left:2em; }

.shopping { padding: 2em; }
.continue { float:right; margin-top:-5em; text-align:right; }

#contact-area {
  width: 700px;
  margin-top: 1.5em;
  text-align: center;
}

#contact-area input, #contact-area textarea {
  padding: 0.25em;
  width: 30em;
  margin: 0px 0px 10px 0px;
}

#contact-area textarea { height: 10em;}

#contact-area input.submit-button {
  width: 100px;
  float: right;
}

label { 
  float: left;
  text-align: right;
  width: 15em;
  padding-top: 0.25em;
}
pre {
    background-color:#e9ecb9;
    line-height:3em;
    margin-left:3em;
    padding:1em;
    width:87%;
}



/* Shopping cart */
.cart-header {
    font-size:170%;
}
.tabcart {
    width: 100%;
}
.tabcart td {
    padding: 2px 2px;
}
.tabcart th {
    font-weight: bold;
    padding: 0 2px 0 0;
}
.tabcart th.quantity, .tabcart th.delete {
    width: 40px;
}
.tabcart .number {
    width: 100px;
    text-align: right;
}
.tabcart th.title {}
.tabcart input.shorttext {
    width: 50px;
}
.cart-summary {
    margin: 30px 0 10px 50%;
}
.cart-summary .row, #cart_confirm .row {
    padding: 2px 0;
}
.cart-summary label.name {
    width: 250px;
    padding: 0px 5px;
    font-weight: bold;
}

#cart_checkout h3, #cart_confirm h3 {
    font-size: 15px;
    font-weight: bold;
    border-bottom: 1px solid #a4a4a4;
    padding-bottom: 2px;
}
#cart_checkout h3, #cart_checkout h3 input {
  vertical-align: middle;
}
#cart_checkout label.name {
  width: 115px;
}
#cart_checkout .column, #cart_confirm .column {
    float: left;
}
#cart_checkout .billing, #cart_confirm .billing {
    width: 52%;
}
#cart_checkout .shipping, #cart_confirm .shipping {
    width: 47%;
    margin-left: 1%;
}
#cart_checkout .value .error {
    color: red;
}
#cart .buttons, #cart_checkout .buttons, #cart_confirm .buttons {
    text-align: right;
    padding: 10px;
}
#cart_checkout .rowtext .value {
    padding-top: 4px;
}
#cart_confirm label.name {
    padding: 0px 5px;
    width: 150px;
}
