/* portions Copyright 2006-2013 WineWeb Enterprises, Inc. */
/* default stylesheet for wineweb and client websites */

/*! fancyBox v2.1.4 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 8020;
}

.fancybox-skin {
	position: relative;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	        border-radius: 4px;
}

.fancybox-opened {
	z-index: 8030;
}

.fancybox-opened .fancybox-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
	position: relative;
}

.fancybox-inner {
	overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
	-webkit-overflow-scrolling: touch;
}

.fancybox-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancybox-image {
	max-width: 100%;
	max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
	background-image: url('/scripts/includes/fancybox2/fancybox_sprite.png');
}

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 8060;
}

#fancybox-loading div {
	width: 44px;
	height: 44px;
	background: url('/scripts/includes/fancybox2/fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
	position: absolute;
	top: -18px;
	right: -18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 8040;
}

.fancybox-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('/scripts/includes/fancybox2/blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 8040;
}

.fancybox-prev {
	left: 0;
}

.fancybox-next {
	right: 0;
}

.fancybox-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 8040;
	visibility: hidden;
}

.fancybox-prev span {
	left: 10px;
	background-position: 0 -36px;
}

.fancybox-next span {
	right: 10px;
	background-position: 0 -72px;
}

.fancybox-nav:hover span {
	visibility: visible;
}

.fancybox-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
	overflow: hidden;
}

.fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 8010;
	background: url('/scripts/includes/fancybox2/fancybox_overlay.png');
}

.fancybox-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancybox-lock .fancybox-overlay {
	overflow: auto;
	overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 8050;
}

.fancybox-opened .fancybox-title {
	visibility: visible;
}

.fancybox-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 8050;
	text-align: center;
}

.fancybox-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	   -moz-border-radius: 15px;
	        border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.fancybox-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancybox-title-inside-wrap {
	padding-top: 10px;
}

.fancybox-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}

/*! http://responsiveslides.com v1.54 by @viljamis */
.rslides {
  position: relative;
  list-style: none;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin: 0;
  }
.rslides li {
  -webkit-backface-visibility: hidden;
  position: absolute;
  display: none;
  width: 100%;
  left: 0;
  top: 0;
  }
.rslides li:first-child {
  position: relative;
  display: block;
  float: left;
  }
.rslides img {
  display: block;
  height: auto;
  float: left;
  width: 100%;
  border: 0;
  }
.rslides_container {
  margin-bottom: 50px;
  position: relative;
  float: left;
  width: 100%;
  }
.rslides1_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 50%;
  left: 0;
  z-index: 99;
  opacity: 0.7;
  text-indent: -9999px;
  overflow: hidden;
  text-decoration: none;
  height: 61px;
  width: 38px;
  background: transparent url("/images/responsive_slides_themes.gif") no-repeat left top;
  margin-top: -45px;
  }
.rslides1_nav:active {
  opacity: 1.0;
  }
.rslides1_nav.next {
  left: auto;
  background-position: right top;
  right: 0;
  }
.rslides2_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  top: 0;
  left: 0;
  display: block;
  background: #fff; /* Fix for IE6-9 */
  opacity: 0;
  filter: alpha(opacity=1);
  width: 48%;
  text-indent: -9999px;
  overflow: hidden;
  height: 91%;
  }
.rslides2_nav.next {
  left: auto;
  right: 0;
  }
.rslides3_nav {
  position: absolute;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  opacity: 0.6;
  text-indent: -9999px;
  overflow: hidden;
  top: 0;
  bottom: 0;
  left: 0;
  background: #000 url("/images/responsive_slides_themes.gif") no-repeat left 50%;
  width: 38px;
  }
.rslides3_nav:active {
  opacity: 1.0;
  }
.rslides3_nav.next {
  left: auto;
  background-position: right 50%;
  right: 0;
  }
.rslides1_nav:focus,
.rslides2_nav:focus,
.rslides3_nav:focus {
  outline: none;
  }
.rslides_tabs {
  margin-top: 10px;
  text-align: center;
  }
.rslides_tabs li {
  display: inline;
  float: none;
  _float: left;
  *float: left;
  margin-right: 5px;
  }
.rslides_tabs a {
  text-indent: -9999px;
  overflow: hidden;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  background: #ccc;
  background: rgba(0,0,0, .2);
  display: inline-block;
  _display: block;
  *display: block;
  -webkit-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  -moz-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
  width: 9px;
  height: 9px;
  }
.rslides_tabs .rslides_here a {
  background: #222;
  background: rgba(0,0,0, .8);
  }
.rslides .caption {
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px;
  text-align: center;
  background: #000;
  background: rgba(0,0,0, .8);
  color: #fff;
}

/* remaining content is Copyright 2006-2013 WineWeb Enterprises, Inc. */
/* 5 star rating */
.webwidget_rating{
    padding: 0px;
    margin: 0px;
    float: left;
}
.webwidget_rating li{
    line-height: 0px;
    width: 28px;
    height: 28px;
    padding: 0px;
    margin: 0px;
    margin-left: 2px;
    list-style: none;
    float: left;
    cursor: pointer;
}
.webwidget_rating li span{
    display: none;
}
#ordersummary #discount_amount {
	color:red;
}
#contactwinery #email_wrapper {
	display:none;
}
/*voting style */
.voting_wrapper {display:inline-block;float:right;}
.voting_wrapper .down_button {background: url(/images/thumbs.png) no-repeat;float: left;height: 14px;width: 16px;cursor:pointer;margin-top: 3px;}
.voting_wrapper .down_button:hover {background: url(/images/thumbs.png) no-repeat 0px -16px;}
.voting_wrapper .up_button {background: url(/images/thumbs.png) no-repeat -16px 0px;float: left;height: 14px;width: 16px;cursor:pointer;}
.voting_wrapper .up_button:hover{background: url(/images/thumbs.png) no-repeat -16px -16px;;}
.voting_text{float:left;margin-right:10px;}
.voting_btn{float:left;margin-right:5px;}
.voting_btn span{font-size: 11px;float: left;margin-left: 3px;}

/* Fixes for various versions of IE */
.ie6 #navleft li a, .ie6 #navleft li ul li a, .ie6 #navtop li ul li a {
height: 1%;	
margin-left: -16px;
ma\rgin-left: 0px;
}
.ie6 #navleft li, .ie6 #navleft li ul li, .ie6 #navtop li ul li {
margin-bottom: 0;
margin-bottom:/**/ -4px; 
ma\rgin-bottom: 0;
}

/* responsive design defaults */
/*a.navtop-toggle { display: none; }*/
.selectnav { display: none; }

@media only screen and (max-width: 800px) {
	body, #container, #container1, #container2, #container3, #top, #footer {
		max-width:100%;
	}
	.pod, .podarea2, .podarea3, .podarea4 {
		display:none;
	}
}
@media only screen and (max-width: 700px) {
	/*a.navtop-toggle { display: block; }
	#navtop { 
		float: left;
		left:-999px;
	}
	a.navtop-toggle:hover ul#navtop, a.navtop-toggle.sfhover ul#navtop { 
		left: 0px;
	}*/
	.js #navtop { display: none; }
  	.js .selectnav { display: block; }
}
@media only screen and (max-width: 479px) {
	#left {
		display:none;
	}
	#content {
		width:95%;
		min-width:280px;
		padding-left: 5px;
		padding-right: 5px;
	}
	/*ul#navtop { display: none; }
  	#top select { 
		display: inline-block; 
	}*/
}

@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
  -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
  a, a:visited { color: #444 !important; text-decoration: underline; }
  /*a[href]:after { content: " (" attr(href) ")"; }*/
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
.container, #container {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 7.5in;
	height:auto;
	margin: 0 5%;
    float: none;
}
#container1, #container2, #container3, #content {
	margin:0;
	border:0;
}
#content {
	padding-top:0;
}
#orderpackinglist #container, #orderinvoice #container, #wineclubpackinglist .container, #wineclubinvoice .container,
#reportsalestax #container, #reportcustomer #container, #reportorder #container, #reportordersummary #container, #reportwineclub #container, 
#reportwineclubsales #container, #reportcustomertask #container  {
	position: relative;
	left:0;
}
.ad1, .ad2, .ad3, .adtop, #nav, #line1 {
	display: none;
	}
.tablehead {
	padding:4px;
	background-color:#993333;
}
#top, #left {
	width:1px;
	height:1px;
}
#navleft, #navtop, .pod {
	display:none;
}
#reportorder .tablehead, #reportordersummary .tablehead, #reportsalestax .tablehead, #reportcustomer .tablehead, #reportwineclub .tablehead, #reportwineclubsales .tablehead, #reportpos .tablehead, #reportcustomertask .tablehead, #customerdetailreport .tablehead {
	background:#993333;
}
h1, .head1 { color:#000; }
h2, .head2 { color:#333; }
h3, .head3 { color:#000; }

/* print coupon page */
#coupongen .couponcontainer {
	width:6in;
	border:1px solid #666;
	margin-bottom:0.25in;
	padding:8px;
}
#coupongen h1 {
	text-align:center;
}
#coupongen .couponnote {
}
#coupongen .couponcode {
}
#executivestats {
	font:11px Arial, Helvetica, sans-serif;
}
#executivestats h1 {
	font-size:18px;
}
#executivestats h2, #executivestats .head2 {
	font-size:14px;
}
#executivestats .tablehead {
	background-color:#999999;
	color:#000;
}
#wineclubwelcomeletter .content {
	padding-top:1.5in;
}
}
