/******* Do not edit this file *******/
/*
My Custom CSS - by Salvatore Noschese
aka L'AltroWeb - https://laltroweb.it/
/*
Saved: Dec 03 2018 | 01:14:39 (pm)
/*
/******* Do not edit this file *******/

/* Used to tidy up the Store Notice as defined in the WooCommerce settings - this may need to be commented out when the notice is diabled */
#wrap_all { margin-top: 41px; }
p.demo_store { margin-top: 2px; } /* Not overqualified actually */
p.demo_store { position: absolute; }
/* End tidy up of store notice */

body div .avia-testimonial { /* Increase the font-size of the testimonials */
    font-size: 18px;
    line-height: 1.2em;
}

/* Limit the size of bottle images for the 2015 home collection */
#top.page-id-176 .thumbnail_container img {
    max-width: 300px;
}

/* Hide a "sold out" label displayed in the product grid that spoiled the layout a little */
.inner_product > a > .soldout {
    display:none;
}

/* Apply a few px of extra padding to the menu item to prevent the popup sub-menu from closing as the user moves the mouse cursor down onto it */
#header_meta .sub_menu .menu-item a {
    padding-bottom: 10px;
}

.phone-info .avia-button.avia-size-small {
    padding-top: 5px;
    padding-bottom: 5px;
    margin:0;
}

/*=======================PRINT===========================*/

@media print {
body { background:white; color:black; margin:0; }
  #header {display:none;}
  #footer {display:none;}
  #socket {display:none;}
  .sidebar {display:none;}
  .a11y-toolbar {display:none;}
}

/*=======================RESPONSIVE===========================*/

/*------------------PHONE ONLY------------------------*/

@media only screen 
and (max-width : 480px) {
  
  .responsive .mobile_slide_out .logo img, .logo img {
    width:0px !important;
    height:0px !important;
    background:url('/wp-content/uploads/2014/07/Pyramid-Valley-Vineyards-Logo-vshortHD.png') top center;
	padding: 20px 100px;
	background-size: 200px 40px;
	background-repeat: no-repeat;
	margin-top: 20px !important;
  }
}

/*-----------------------IPAD / TABLET ONLY---------------------------*/

@media only screen 
and (max-width : 767px)
and (min-width : 481px) {
    
  .responsive .mobile_slide_out .logo img, .logo img {
    width:0px !important;
    height:0px !important;
    background:url('/wp-content/uploads/2014/07/Pyramid-Valley-Vineyards-Logo-vshortHD.png') top center;
	padding: 20px 100px;
	background-size: 200px 40px;
	background-repeat: no-repeat;
	margin-top: 20px !important;
  }
}

/*----------------------DESKTOP ONLY-----------------------------*/

@media only screen 
and (max-width : 990px) {
  
  div#header_main_alternate.container_wrap {
    height:70px;
    border-bottom: 1px solid #ccc; 
  }
}

@media only screen 
and (min-width : 991px) {
  
    div#header_main_alternate.container_wrap {
    border-bottom: 1px solid #ccc; 
  }
}

/*===========================HEADER==============================*/

/*----------- Appearance----------*/

/*-----------Top------------*/

/*-----------Logo-----------*/

/*----------- Social----------*/

#top .social_bookmarks li {
  width: 37px;
  height: 37px;
  margin-left:10px;
}

#top .social_bookmarks li a {
  width: 37px;
  color: transparent;
}

#top .social_bookmarks li a:hover {
  /*background: rgba(255,255,255,0.3) !important; /*for some reason this cant block out the original hover effect
  border-radius: 2px;*/
  background: none !important;
  color: transparent !important;
}

#top #wrap_all .social_bookmarks li.av-social-link-facebook {
  background: url('http://www.pyramidvalley.co.nz/wp-content/uploads/2015/05/fb.jpg');
}

#top #wrap_all .social_bookmarks li.av-social-link-facebook:hover a, #top #wrap_all .social_bookmarks li.av-social-link-twitter:hover a, #top #wrap_all .social_bookmarks li.av-social-link-instagram:hover a {
  background: none !important;
}

#top #wrap_all .social_bookmarks li.av-social-link-twitter {
  background: url('http://www.pyramidvalley.co.nz/wp-content/uploads/2015/05/twit.jpg');
}

#top #wrap_all .social_bookmarks li.av-social-link-instagram {
  background: url('http://www.pyramidvalley.co.nz/wp-content/uploads/2015/05/inst.jpg');
}

#top #wrap_all .social_bookmarks li.av-social-link-youtube {
  background: url('http://www.pyramidvalley.co.nz/wp-content/uploads/2015/10/youtube-icon.png');
}

/*----------- Other----------*/

/*===========================MENU=========================*/

/*----------- Appearance----------*/
/*
#header_main_alternate, #header_main_alternate .container {
height:35px;
}*/

/*----------- Search----------*/

/*----------- Nav----------*/

/*============================BODY==================================*/

/*----------- Appearance----------*/

/* --lessen the space above and below HR --  */
.hr-full, .hr-big {
    margin: 12px 0;
}
/*change colour of breadcrumb box and main contnet background*/
.main_color, .main_color .site-background, .main_color .first-quote, .main_color .related_image_wrap, .main_color .gravatar img .main_color .hr_content, .main_color .news-thumb, .main_color .post-format-icon, .main_color .ajax_controlls a, .main_color .tweet-text.avatar_no, .main_color .big-preview, .main_color .toggler, .main_color .toggler.activeTitle:hover, .main_color #js_sort_items, .main_color.inner-entry, .main_color .grid-entry-title, .main_color .related-format-icon, .grid-entry .main_color .avia-arrow, .main_color .avia-gallery-big, .main_color .avia-gallery-big, .main_color .avia-gallery img, .main_color .grid-content {
    background-color: #fffff9;
    color: #666666;
}
.alternate_color, .alternate_color .site-background, .alternate_color .first-quote, .alternate_color .related_image_wrap, .alternate_color .gravatar img .alternate_color .hr_content, .alternate_color .news-thumb, .alternate_color .post-format-icon, .alternate_color .ajax_controlls a, .alternate_color .tweet-text.avatar_no, .alternate_color .big-preview, .alternate_color .toggler, .alternate_color .toggler.activeTitle:hover, .alternate_color #js_sort_items, .alternate_color.inner-entry, .alternate_color .grid-entry-title, .alternate_color .related-format-icon, .grid-entry .alternate_color .avia-arrow, .alternate_color .avia-gallery-big, .alternate_color .avia-gallery-big, .alternate_color .avia-gallery img, .alternate_color .grid-content {
    background-color: #FFFFED;
    color: #666666;
}

.main_color tr:nth-child(2n+1) {
    background: none repeat scroll 0 0 #fff;
}

/*----------- Images --------------*/

/*----------- Typography----------*/

h1 {
 font-family: 'CastellarMT',Georgia,Serif;
}

h2 {
 font-family: 'CastellarMT',Georgia,Serif;
}

/*----------- Elements----------*/

.content {
    padding-bottom: 5px;
}

/*----------- Forms----------*/

/* MAKE FORM FIELDS DARKER INCLUDING TEXT IN THE FORMS */
#top .main_color .input-text, #top .main_color input[type="text"], #top .main_color input[type="input"], #top .main_color input[type="password"], #top .main_color input[type="email"], #top .main_color input[type="number"], #top .main_color input[type="url"], #top .main_color input[type="tel"], #top .main_color input[type="search"], #top .main_color textarea, #top .main_color select {
    background-color: #DDD;
    border-color: #ccc;
    color: #555;

/* ALERT WARNING ERROR BUG HELP - THERE IS A CLOSING BRACE MISSING FROM HERE! */
    
    /* CHANGE TEXT ON PASSWORD PROTECTION PAGES -----------------*/
.post-password-form p:first-child {
    visibility: hidden;
}
.post-password-form p:first-child:before {
    content: "Please enter your mailing list membership token here:";
    visibility: visible;
}
.post-password-form label:first-child   {
    visibility: hidden;
}
.post-password-form label:before {
    content: "Membership Token:";
    visibility: visible;
}
form.post-password-form p label input {
      visibility: visible;
}

#top form {
  margin-bottom: 400px;
}
/* END CHANGE TEXT ON PASSWORD PROTECTION PAGES -----------------*/

/*----------- Buttons----------*/
/*----------- Other----------*/

ul.tabs {
    display: none; 
}

#download-link {
  float: left;
  color: #999;
  font-family: Georgia;
  font-size: 11px;
  font-style: italic;
  line-height: 35px;
  margin: 0;
  padding: 0 0 0 10px;
  height:35px;
}

/*============================SIDEBAR==================================*/

/*----------- Appearance----------*/

/*----------- Images --------------*/

/*----------- Typography----------*/

/*----------- Elements----------*/

/*----------- Forms----------*/

/*----------- Buttons----------*/

/*----------- Other----------*/

/*=============================WIDGETS=============================*/

/* widget area product search increase bottom padding  (  )*(  ) by 22px  */
#top .widget_product_search.widget {
    padding: 0 0 40px;
}

/*=============================PLUGINS=============================*/

/*-----------BING TRANSLATOR-------*/
/* ---- Managing the appearance of the translate button -----*/
div#WidgetLauncher div#LauncherTranslatePhrase.WidgetEnabled {
    height: 20px;
    padding: 2px 0 2px 0;
}
div#WidgetLauncher div#LauncherLogo.WithPhraseAfter {
  display: none;
}
div#WidgetLauncher div#LauncherTranslatePhrase.WidgetEnabled span#TranslateSpan {
    font-size: 13px;
}
 div#MicrosoftTranslatorWidget.bing-translator-widget.Dark div#WidgetLauncher {
    display: block !important;
    margin: 5px 0 0 0;
    width: 95px;
} 

html.html_stretched.responsive.responsive_large.html_header_top.html_logo_left.html_bottom_nav_header.html_menu_left.html_slim.html_header_sticky_disabled.html_header_shrinking_disabled.html_header_topbar_active.html_mobile_menu_phone.html_disabled.html_entry_id_943.avia_desktop.js_active.avia_transform.avia_transform3d.avia-mozilla.avia-mozilla-30.avia-mac body#top.page.page-id-943oPanel span#WidgetTranslateWithSpan,
html.html_stretched.responsive.responsive_large.html_header_top.html_logo_left.html_bottom_nav_header.html_menu_left.html_slim.html_header_sticky_disabled.html_header_shrinking_disabled.html_header_topbar_active.html_mobile_menu_phone.html_disabled.html_entry_id_943.avia_desktop.js_active.avia_transform.avia_transform3d.avia-mozilla.avia-mozilla-30.avia-mac body#top.page.page-id-943.page-template-default.stretched.antic.arimo div#wrap_all div#main div#after_section_1.main_color.container_wrap.sidebar_right div.container div.template-page.content.nine.alpha.units div.post-entry.post-entry-type-page.post-entry-943 div.entry-content-wrapper.clearfix div.avia-builder-widget-area.clearfix.avia-builder-el-2.el_after_av_section.el_before_av_section.avia-builder-el-no-sibling div#bing-translator-2.widget.clearfix.widget_bing_translator div#MicrosoftTranslatorWidget.bing-translator-widget.Dark div#WidgetLauncher div#LauncherLogo.WithPhraseAfter {
  display: none;
}
/* --- end translate button ----*/


/*-------------WOO-----------------*/


/* make link in Ts and Cs at bottom of checkout red */
div.form-row.place-order p.form-row.terms label.checkbox a {
 color: #F00 !important;
  text-decoration: blink;
}

/*move terms and conditions checkbox to the left and down a bit */
#top #payment .terms {
    padding: 1em 0;
    text-align: left;
}

/* ---- colour of coupon code input box */
#top .main_color .shop_table.cart .input-text{
    background-color: #e6f5e1 
}
/* -END colour of coupon code input box */


.onsale {display:none;}

html.html_stretched body#top.single div#wrap_all div#main div.container_wrap div.container div#product-140.post-140 div.eight div.woocommerce-tabs div#tab-description.panel{
    background-color: #FFFFF9;

}

div.inner_product {
    background-color: #FFFFED;
    /*position:relative;*/
}

.inner_product > .avia_cart_buttons {
    /* Override the default opacity of 0.2 */
    opacity: 0.5;
}

/*
.soldout {
    float: right;
    position: absolute;
    z-index: 9;
    font-weight: bold;
    transform: rotate(-45deg);
    top: 22%;
    right: 10%;
    color: red;
    font-size: 200%;
}*/

div.inner_product a div.thumbnail_container {
    background-color: #FFF;
}
/* Give the box containing variations on product page a white background */
#top .variations_form {
    background-color: #FFFFFF
}
/* Make quantity selector on Product page smaller */
#top div .quantity input.plus, 
#top div .quantity input.minus,
#top div .quantity input.qty{
    height: 33px;
    line-height: 31px;
    width: 33px;
}
/*
    
    div .widget_shopping_cart .button.checkout {
    float:none;
    }
*/
.single_variation_wrap {
    margin: 0px 0 20px 170px;
}

p.stock {
    margin: 0.15em 0 0.65em 0;
}
#top .variations_form > table {
    margin: 15px 0 15px 0;
}

/* Make space for "Bottle or Case" on one line - Product Page and align text below */
#top .variations td.label {
    width: 160px;
}

/* remove breadcrumb and sku below price box on product page*/
span.sku_wrapper,
span.posted_in,
a.reset_variations{
 display: none; 
}
/* Remove border and bg from long description on Product Page*/
div.woocommerce-tabs div#tab-description.panel {
  border-color: white;
  background-color: white;
}
/* Remove padding from long description on Product Page*/
#top div div.product .woocommerce-tabs .panel {
    padding: 0;
}
#top div.product .woocommerce-tabs {
    padding: 5px 0 0;
}

/* Remove the reviews and description tabs on the product page*/
li.reviews_tab,
li.description_tab {
  display: none; 
}

div#tab-description.panel h2 {
  display: none; 

}

/* make the product page images smaller */
#top .thumbnail_container img {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    display: block;
    height: auto;
    margin: 10px 0 10px 35px;
    width: 60%;
}

/* remove the boarder around the products on the prod page */
.post_delimiter {
    border-color: #FFFFFF;
}

/* ------- Age varification box popup ----*/
#itro_popup {
    border: 1px solid #8BBA34;
}
#ageEnterButton,
#ageLeaveButton {
    border: medium none;
    border-radius: 2px 2px 2px 2px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    line-height: 1em;
    margin: 4px 2px 0 0;
    min-width: 110px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
}

/*======================FOOTER========================*/

/*----------- Appearance----------*/

/*----------- Nav----------*/

/*======================SOCKET========================*/

/*----------- Appearance----------*/

/*----------- Copyright----------*/

/*----------- Nav----------*/