body { 
  text-align: center; 
  background-image: url(/wp-content/themes/chineseRiceWine/images/woodBG.jpg);
  color: #4d4c47;
  font-size: 12px;
  line-height: 16px;
  font-family: Arial,Helvetica,sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  color: #812727;
}

h1 {
  font-size: 2em;
  margin-bottom: .5em;
}


p {
  padding-bottom: .75em;
}

br {
  height: 1em;
}

div.hide {
  display:none;
  border: 3px solid green;
}

/*
.dashedOutline {
  outline: 1px dashed red;
}
*/

div.floatLeft {
  float: left;
  display:inline;
  vertical-align:middle;
}

div.middleFloater { 
  width: 930px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

div.clear {
  clear: both;
}
p.edit_post_link {
  margin:2em !important;
  /*position:relative;*/
  /*left:2em;*/
  clear:both;
  text-align:center;
  opacity:0.2;
}
p.edit_post_link:hover {
  opacity:1.0;
}

div#paperBG {
  /*display:table;*/
  display: block;
  width: 100%;
  padding-bottom: 45px;
  background-image: url(/wp-content/themes/chineseRiceWine/images/paperBG.jpg);
  padding-top: 0;
}

div#headerBG {
  display: block;
  height: 100px;
  width: 100%;
  text-align: center;
  background-image: url(/wp-content/themes/chineseRiceWine/images/woodBG.jpg);
}

div#header {
  display: block;
  width: 100%;
  text-align: center;
}

div#logoContainer {
  padding-top: 28px;
}

div#pageWrapper {
  padding-top: 15px;
}

#contentAreaWrapper {
  background-image: url(/wp-content/themes/chineseRiceWine/images/flowerHairlineBG.gif);
  background-repeat: repeat-y;
  background-position: -1px 0px;
}

div#content 
{
  display: block;
  float: left;
  min-height: 300px;
  width: 890px;
  margin-top: -16px;
  margin-bottom: -16px;
  padding-left: 20px;
  padding-right: 20px;
  
  position:relative;
}

#content a {
  color:#812727;
}
#content a:hover {
  color:black;
}

#content .post a {
  color:#4D4C47;
}
#content .post a:hover {
  color:#812727;
}
a.go {
  background-image:url(images/go-arrow.gif);
  background-position:right center;
  padding-right:10px;
  text-transform:uppercase;
  text-decoration:none;
  background-repeat:no-repeat;
  font-size:11px;
  font-weight:bold;
}

div#footer {
  display: block;
  position: relative;
  width: 100%;
  font-size: 9px;
  background-image: url(/wp-content/themes/chineseRiceWine/images/paperBGdark.jpg);
  height: 60px;
  color: #877522;
  font-weight:bold;
}

div#footer a {
  text-decoration: none;
  color: #877522;
}
div#footer a:hover {
  text-decoration:underline;
}

div#footerInnerWrapper {
  height: 24px;
  margin-top: 8px;
  width:900px;
}


div#copyright {
  margin-left: 0;
}

div#bottomNav {
  margin-left: 15px;
  text-transform:uppercase;
  font-size:10px;
}

div#newsletterSignup {
  margin-left: 20px;
  /*margin-top: -9px;*/
  /*height: 22px;*/
}
div#newsletterSignup label {
  text-transform:uppercase;
}

div#newsletterSignup input#newsletterSignupEmail 
{
  display:inline;
  font-size: 9px;
  vertical-align:middle;
  background-color:#e4ddc9;
  border-width:1px;
  margin-left:4px;
}

div#newsletterSignup input#newsletterSignupSubmit 
{
  display:inline;
  margin: 0;
  padding: 0;
  width:48px;
  height:18px;
  vertical-align:middle;
}

div#facebookBadge,
div#twitterBadge{
  margin-left: 7px;
  margin-top: -4px;
  vertical-align:middle;
  display:inline;
}
div#twitterBadge {
  margin-left:15px;
}

div#facebookBadge,
div#facebookBadge img,
div#twitterBadge img,
div#twitterBadge{
  vertical-align:middle;
}
          
div#tornPaperTop {
  display:block;
  width: 100%;
  height: 21px;
  background-image: url(/wp-content/themes/chineseRiceWine/images/tornEdgeTop.png);
}

div#tornPaperBottom {
  display:block;
  width: 100%;
  height: 22px;
  background-image: url(/wp-content/themes/chineseRiceWine/images/tornEdgeBottom.png);
}


div#bottomFooter {
  width: 100%;
  height: 120px;
  background-image: url(/wp-content/themes/chineseRiceWine/images/woodBG.jpg);
}

/**************************************************************************/
#nav {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

div#navBG {
  display: block;
  height: 26px;
  width: 100%;
  background-image: url(/wp-content/themes/chineseRiceWine/images/navBG.gif);
  background-repeat: repeat-x;
}

div#nav {
  display: block;
  /*width: 100%;*/
  vertical-align: middle;
  color: #fff;
  text-transform: uppercase;
  font-size: 11px;
  line-height: 12px;
  letter-spacing: 0.05em;
  text-align: left;
  /*padding-top: 7px;*/
  /* outline: 2px solid red; */
  padding-left: 290px;
}

div#nav a {
  color: #fff;            
  text-decoration: none;
  padding-left: 10px;
  padding-right: 10px;
  padding-top:7px;
  padding-bottom:7px;
  display:block;
}

div#nav ul 
{
  display: inline;
}

div#nav ul li
{
  display: inline;
}

div#navBGFade {
  display: block;
  height: 9px;
  width: 100%;
  padding: 0;
}

div#navBGFade img {
  width: 100%;
  padding: 0;
  margin: 0;
  display:block;
  height:6px;
}

#nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
  
#nav li {
  float: left;
  position: relative;
  /*outline: 1px solid green; */
  z-index:10;
  
  /*width: 10em;*/
}

#nav .submenu {
  display: none;
  position: absolute;
  
  left: -10px;
  text-align: left;
  /*background-color: #e8e4cd;*/
  color: #7a6b1b;
  top:26px;
  /*background-color: #eeedd9;*/
  /*padding:2px;*/
  padding-top:0;
  /*border:solid 1px #CCC;*/
  border-top:0;
  /*border-top:solid 1px #666;*/
  width: 124px;
  /*-moz-box-shadow:
	0 6px 6px -6px black,
	-6px 0 6px -6px black,
	0 6px 6px -6px black;*/
  
  background-image:url(/wp-content/themes/chineseRiceWine/images/submenu-background.png);
  background-repeat:no-repeat;
  background-position:left bottom;
  padding-bottom:40px;
  padding-left:4px;
  padding-right:6px;
}

#nav .submenu ul {
  background-image: url(/wp-content/themes/chineseRiceWine/images/fadeBottom.png);
  /*background-position:left -2px;*/
  background-repeat: repeat-x;
  padding-top: 6px;
  
  /*border: 1px solid #B0B0AC;*/
  border-top:0;
  
  /* outline: 1px solid red; */
  text-align:center;
  display:block;
  /*padding-bottom:15px;*/
  width:114px;
}
  

#nav li:hover a,
#nav li.hover a,
#nav li.current_page_item a {
  color:#f9e36c;
}

#nav ul ul a {
  color:#7a6b1b !important;
  padding-left:0;
  padding-right:0;
  display:block;
  width:100%;
  text-transform: none;
  padding-top:5px;
  padding-bottom:5px;
  display: block;
}

#nav ul ul a:hover,
#nav ul ul li.current_page_item a {
  color:#722716 !important;
}

#nav li:hover .submenu, 
#nav li.hover .submenu {
  display:block;
}

#nav li ul li, 
#nav li ul li {
  display: block;
  /*float: left;*/
  clear: both;
  float:none;
  padding-top:0;
  padding-bottom:0;

  display:block;
  margin-top:1px;
  margin-bottom:1px;
  padding-left:5px;
  padding-right:5px;
}


/** FAQ ***/
#post-toc {
  margin-top:2em;
  /*margin-bottom:2em;*/
  margin-left:0 !important;
  padding-bottom:50px;
  
  background-image:url(images/hr.gif);
  background-repeat:no-repeat;
  background-position:center bottom;
}
#post-toc li {
  margin-left:10px !important;
  list-style:disc;
  margin-bottom:0.25em;
}

#post-list dd {
  /*margin-left:1em;*/
  margin-bottom:2em;
}
.faq-back-to-top {
  font-size:10.5px;
  text-align:center;
}
.faq-back-to-top a {
  text-decoration:none;
  text-transform:uppercase;
  color:#812727 !important;
}

/*#post-toc a {*/
/*  color:#4D4C47;*/
/*}*/
/*#post-toc a:hover {*/
/*  color:#812727;*/
/*}*/

/******************* sidebar **/


div#content div.post {
  display: block;
  float: right;
  width: 870px;
  min-height: 300px;
  text-align: left;
  /*outline: 3px dashed green;*/
}

div#content.sidebar-left div#sidebar-left
{
  display: block;
  float: left;
  /*outline: 3px dashed red;*/
  width: 162px;
  height: 100%;
  padding-right: 21px;
  margin-right: -1px;
  border-right: 1px solid #9d9d9d;
}
div#content.sidebar-right div#sidebar-right
{
  display: block;
  float: right;
  /*outline: 3px dashed red;*/
  width: 162px;
  height: 100%;
  padding-left: 21px;
  margin-left: -1px;
  border-left: 1px solid #9d9d9d;
}

body.page-happenings-template div#sidebar-right {
  width:182px !important;
}
body.page-happenings-template #content.sidebar-both .post {
  width:462px !important
}

div#sidebar-left .edit_post_link {
  float:left;
  margin-top:-40px !important;
  margin-left:-50px !important;
}
#content.events div#sidebar-right .edit_post_link {
  float:right;
  margin:0 !important;
  margin-top:-40px !important;
  margin-right:-100px !important;
}
div#content.sidebar-left div.post,
div#content.sidebar-right div.post {
  display: block;     
  float: left;
}

div#content.sidebar-left div.post {
  width: 686px;
  border-left: 1px solid #9d9d9d;
  padding-left: 20px;
}
div#content.sidebar-right div.post {
  width: 686px;
  border-right: 1px solid #9d9d9d;
  padding-right: 20px;
}

#content.sidebar-both div.post {
  width: 482px !important;
}

.sidebar p {
  color:#464342;
}

.tout h3,
.widget h3 {
  text-align:center;
}
.sidebar .widget {
  margin-bottom:1.5em;
}
.widget img.before-header {
  display:block;
  margin-left:auto;
  margin-right:auto;
}

.sidebar .bottom-widget {
  bottom:0;
  left:20px;
  position:absolute;
  width:162px;
}

.widget .event-list,
.widget .event-list li{
  margin:0; padding:0;
}
.widget .event-list li {
  margin-top:1em;
  margin-bottom:1em;
  display:block;
  list-style:none;
}
.widget .event-list li .date {
  font-weight:bold;
}

#widget_event_highlight .event h3 {
  background:none !important;
  text-transform:none !important;
  margin-bottom:0 !important;
  padding-bottom:0 !important;
}
#widget_event_highlight .event .when,
#widget_event_highlight .event .location {
  text-align:center;
}

#content .event-section h3 {
  background-image:url(images/hr.gif);
  background-repeat:no-repeat;
  padding-bottom:7px;
  background-position:-213px 11px;
}

#content.events .event-section .event p.edit_post_link {
  margin:5px !important;
  margin-top:-20px !important;
  float:right !important;
  
}

#content .event-section h4,
#content .event-section h4 a {
  color:black;
}
#content .event-section h4 a:hover {
  color:#812727;
}

#content .post .upcoming-events {
  width:230px;
  float:left;
}
#content .post .chinese-events,
#content .post .upcoming-tastings {
  float:right;
  width:230px;
}
#content .post .event-section {
  margin-bottom:15px;
}

#content .post .past-events {
  clear:both;
  padding-top:20px;
  background-image:url(images/hr.gif);
  background-position:center top;
  background-repeat:no-repeat;
}

#content .tout h3,
#content .sidebar .widget h3 {
  text-transform:uppercase;
  background-image:url("images/heading-underscore.gif");
  background-position:center bottom;
  background-repeat:no-repeat;
  padding-bottom:8px;
  margin-bottom:8px;
}


/**/

/* sidebar titles that get background images */
#content .sidebar .faq-widget h3,
#content .sidebar .rice-wine-tips-widget h3,
#content .sidebar .find-wines-widget h3,
#content .sidebar .our-story-widget h3,
#content .sidebar .mixology-widget h3,
#content .sidebar .recipes-widget h3,
#content .sidebar .gam-bei-widget h3,
#content .sidebar .upcoming-tastings-widget h3,
#content .sidebar .happenings-widget h3,
#content .sidebar .food-pairings-widget h3,
#content .sidebar .partners-widget h3
{
  background-image:url("images/sidebar-widget-title-sprite.gif") !important;
  background-repeat:no-repeat;
  height:55px;
  white-space:nowrap; font-size:0; overflow:hidden; text-indent:-500px;
}

#content .sidebar .faq-widget h3 { background-position:center -528px; }
#content .sidebar .rice-wine-tips-widget h3 { background-position:center -429px; }
#content .sidebar .find-wines-widget h3 { background-position:center -128px; }
#content .sidebar .our-story-widget h3 { background-position:center -233px; }
#content .sidebar .recipes-widget h3 { background-position:center -328px; }
#content .sidebar .gam-bei-widget h3 { background-position:center -599px; }
#content .sidebar .mixology-widget h3 { background-position:center -27px; }
#content .sidebar .upcoming-tastings-widget h3 { background-position:center -665px; height:75px; }
#content .sidebar .happenings-widget h3 { background-position:center -770px; }
#content .sidebar .food-pairings-widget h3 { background-position:center -840px; }
#content .sidebar .partners-widget h3 { background-position:center -911px; }

.sidebar .gam-bei-widget .wp-image-487 {
  margin-left:-12px;
}

/*.gam-bei-widget {*/
/*  background-image:url(/wp-content/uploads/2009/06/rice-wine-women.gif);*/
/*  background-repeat:no-repeat;*/
/*}*/
/*.gam-bei-widget h3 + p {*/
/*  margin-bottom:200px;*/
/*}*/

/******************** touts **/

div.tout {
  width: 311px;
  margin-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
  border-left: 1px solid #9d9d9d;
  display:block;
  float: left;
}

div.rightBorder {
  border-left: 0;
  border-right: 1px solid #9d9d9d;
  margin-right: -1px;
  padding-left: 0;
}

/********************** sidebar **/

div.sidebar hr {
  width: 70px;
  text-align: center;
  padding-top: 0;
  margin-top: 0;
  background-color: transparent;
  border: 0;
  border-top: 1px solid #9d9d9d;
  height:1px;
}

div.sidebar img.aligncenter {
  text-align:center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
#content .sidebar .widget h3 {
  text-transform:uppercase;
  font-size:13px;
}


/************************* store **/
div.std {
  width: 400px;
}

/*** General content ****/
#content {
  font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
}
div#homePageAnimation {
  height:386px;
  text-align:center;
}

html.has-scripting div#homePageAnimation {
  visibility:hidden;
}
html.dom-loaded div#homePageAnimation {
  visibility:visible;
}

#content .post .alignright {
  float:right;
  margin:20px;
  margin-right:0;
}
#content .post .alignleft {
  float:left;
  margin:20px;
  margin-left:0;
}
#content .post .alignright:first-child,
#content .post .alignleft:first-child {
  margin-top:0;
}


#content h1,
#content h2 {
  font-size: 1.5em;
  margin-top:1em;
  margin-bottom: .5em;
}
#content h3 {
  font-size: 1.2em;
  margin-top:.5em;
  margin-bottom: .25em;
}
#content .post p {
  padding-bottom:0;
  margin-top:1.5em;
  margin-bottom:1.5em;
}
#content .post hr {
  background-color:transparent;
  background:none;
  border-color:#9D9D9D;
  border-style:solid none none;
  border-width:0;
  border-top-width:1px;
  margin-top:0;
  padding-top:0;
  text-align:center;
  height:1px;
}
#content .post h3 + ul,
#content .post h3 + ol,
#content .post h3 + p{
  margin-top:0.75em;
}
#content .post h4 + ul,
#content .post h4 + ol{
  margin-top:0;
}
#content .post li {
  margin-left:0;
  padding-left:0;
}
#content .post ol,
#content .post ul {
  margin-left:20px;
  padding-left:0;
  margin-top:1.5em;
  margin-bottom:1.5em;
}

/************************* events pages **/
#content.events .event {
  margin-top:1em;
  margin-bottom:1em;
}
#content.events .event h3 {
  margin-top:0;
  font-size:1em;
  margin-bottom:0;
}
#content.events .event h3,
#content.events .event h3 a {
  color:black;
}
#content.events .event h3 a:active {
  color:#812727;
}
#content.events .event h4.cat {
  color:#666;
}
#content.events .event p {
  font-size:.9em;
  margin-left:0;
  margin-bottom:0.8em;
  margin-top:0.3em;
  
}
#content.events h2.past {
  border-bottom:solid 1px #CCC;
}
#content.events .event p.edit_post_link {
  float:left;
  clear:none;
  margin-left:-100px !important;
  margin-top:-10px !important;
}

/********************* recipes and mixology **/

#recipe-category-toc {
  padding-bottom:30px;
  
  background-image:url(images/hr.gif);
  background-repeat:no-repeat;
  background-position:center bottom;
}
#recipe-category-toc div.category {
  float:left;
  margin-right:30px;
  margin-left:0px;
}
#recipe-category-toc div.category h3 {
  background-image:url(images/hr.gif);
  background-repeat:no-repeat;
  padding-bottom:7px;
  background-position:-213px 11px;
  margin-left:10px;
}

#recipe-category-toc div.category ul,
#recipe-category-toc div.category li {
  margin-left:0;
  padding-left:0;
}
#recipe-category-toc div.category li  {
  margin-left:20px;
}
html.has-scripting #recipe-category-toc div.category li {
  list-style-type:none;
  color:#812727;
  display:list-item;
}
html.has-scripting #recipe-category-toc div.category li a {
  color:#2b2a2a;
}
html.has-scripting #recipe-category-toc div.category li.target {
  list-style-type:disc !important;
}
html.has-scripting #recipe-category-toc div.category li.target a {
  color:#812727;
}

#recipe-category-toc div.category ul {
  
}
#recipe-category-toc .clear {
  clear:both;
}

#recipes-list img.recipe-photo {
  float:right;
  margin-left:10px;
  margin-bottom:10px;
  margin-top:-50px;
}
#recipes-list div.recipe {
  clear:both;
}
html.has-scripting #recipes-list div.recipe {
  display:none;
}
html.has-scripting #recipes-list div.recipe .edit_post_link {
  text-align:left;
  margin:0 !important;
}
html.has-scripting #recipes-list div.target { display:block; }
html.has-scripting #recipes-list div:target { display:block; }

#recipes-list div.recipe h3 {
  font-size:1.5em;
  margin-bottom:0.5em;
}

#recipes-list div.recipe div.section h4 + p,
#recipes-list div.recipe div.section h4 + ul,
#recipes-list div.recipe div.section h4 + ol {
  margin-top:0.1em;
}

/*
html.has-scripting body.page-recipes-mixology-template #content .post div.recipe {
  display:none;
}

html.has-scripting body.page-recipes-mixology-template ul.recipe-list li {
  list-style:none;
  color:#812727;
}
html.has-scripting body.page-recipes-mixology-template ul.recipe-list li.target {
  list-style:disc;
}

body.page-recipes-mixology-template #content .post div.target,
body.page-recipes-mixology-template #content .post div:target{
  display:block !important;
}
body.page-recipes-mixology-template #content div.cat {
  padding-left:245px;
}
body.page-recipes-mixology-template #content .post p {
  padding:0;
  margin-top:1em;
  margin-bottom:1em;
}
body.page-recipes-mixology-template #content div.cat img.cat {
  float:left;
  margin-left:-245px;
  margin-bottom:10px;
}
.between-recipe-cats {
  clear:both;
  
}
body.page-recipes-mixology-template #content div.cat div.section h3 + p,
body.page-recipes-mixology-template #content div.cat div.section h3 + ul,
body.page-recipes-mixology-template #content div.cat div.section h3 + ol,
body.page-recipes-mixology-template #content div.cat div.section h4 + p,
body.page-recipes-mixology-template #content div.cat div.section h5 + ul,
body.page-recipes-mixology-template #content div.cat div.section h4 + ol {
  margin-top:0.1em;
}

body.page-recipes-mixology-template #content div.cat .glass,
body.page-recipes-mixology-template #content div.cat .garnish {
  width:50%;
  float:left;
}
.recipe-list {
  margin-bottom:1em;
}
.recipe-list,
.recipe-list li {
  margin-left:0;
  padding-left:0;
}
*/

/** Form ***/
form .form_error_message {
  color:red;
  font-weight:bold;
}
#crw_contact_form input, #crw_contact_form textarea { border:solid 1px #999; width:300px; font-family:"Trebuchet MS", "Arial", Helvetica, sans-serif; font-size:12px; }
#crw_contact_form textarea { border:solid 1px #999; width:300px; height:6em; }
form input.invalid,
form textarea.invalid{ background-color:#FFCCCC !important; border:solid 1px red !important; }
#crw_contact_form input:invalid,
#crw_contact_form textarea:invalid { background-color:#FFCCCC; border:solid 1px red; }


#crw_contact_form label {
  float:left;
  text-align:right;
  padding-right:5px;
  width:100px;
}
#crw_contact_form p.submit {
  padding-left:105px;
}
#crw_contact_form p.submit button {
  background-color:transparent;
  background-image:url(/wp-content/themes/chineseRiceWine/images/submitButton2.gif);
  background-position:center center;
  border:none;
  width:48px;
  height:18px;
  
  overflow:hidden;
  text-indent:-100px;
  cursor:pointer;
}

/** Partners page ****************/
#post-641 div.partners {
  background-image:url(images/hr.gif);
  background-position:center top;
  background-repeat:no-repeat;
  padding-top:30px;
}

#post-641 div.partners h3
{
  background-image:url(images/hr.gif);
  background-repeat:no-repeat;
  padding-bottom:7px;
  background-position:-213px 11px;
}
#post-641 div.partners ul {
  margin-left:0;
}
#post-641 div.partners li {
  list-style:none;
}

/***************** Find our Wines page ***/
#content .post .retailers .state {
  /*margin-left:10px;*/
  color:black;
  /*margin-left:20px;*/
}
#content .post .retailers h3.cat {
  margin-top:1.2em;
  margin-bottom:0;
}
#content .post .retailers ul {
  margin-top:0;
  margin-left:0;
}
#content .post .retailers li {
  list-style:none;
}
#content .post .retailers li a {
  color:#2f2e2d;
}
#content .post .retailers li a:hover,
#content .post .retailers li a:active {
  color:#812727;
}
#post-26 img.wp-image-456 {
  margin-top:150px !important;
  margin-right:-11px !important;
}


/** Sitemap **/
#sitemap {
  line-height:1.4em;
}
#sitemap ul ul {
  margin-top:0 !important;
  margin-bottom:0 !important;
}
