/*
Theme Name:   BarthHaas
Author:       Pink Fish Associates
Template:     storefront
Version: 1.00
*/

/*
* === Fonts ===
*/
@font-face {
    font-family: HopOneRegular;
    src: url('fonts/HopOne-Regular.woff2');
  }
  @font-face {
    font-family: HopOneBold;
    src: url('fonts/HopOne-Bold.woff2');
  }
  @font-face {
    font-family: HopOneBoldItalic;
    src: url('fonts/HopOne-BoldItalic.woff');
  }

/* Global */

div#primary {
    width: 100%!important;
    margin-right: 0!important;
    margin-left: 0!important;
}

img {
    border-radius: 0;
}

a:focus, input:focus, textarea:focus, button:focus {
    outline: none;
}

body {
    font-family: HopOneRegular, sans-serif;
}

h1,h2,h3,h4 {
    font-family: HopOneBold, sans-serif;
    text-transform: uppercase;
    color: #555195;
}

/* Heaader Shop*/

div#header-shop {
    background-color: #000;
    padding: 0.5em 0;
    text-align: right;
    font-size: 14px;
}

div#header-shop p,
div#header-shop a {
    color: #fff;  
}

div#header-shop a:hover {
    text-decoration: underline;
}

div#header-shop p {
    margin-bottom: 0;    
}

div#header-shop .cart-contents {
    padding-top: 0;
    padding-bottom: 0;
}

div#header-shop div.header-shop-inner {
    display: flex;
    justify-content: end;
}

div#header-shop div.header-shop-inner div.header-shop-item:first-of-type {
    margin-right: 30px;
}

/* Header */

#header-home {
    background-image: url('images/hop-vines.jpg');
    background-repeat: no-repeat;
    background-size: cover; 
    background-position: top center;
    position: relative;
}

body.home div.header-top {
    background-color: rgba(42, 83, 0, 0.8);
}

body.home .content-area {
    margin-bottom: 0;
}

div.header-top {  
    background-color: #2A5300;
    padding: 0.75em 0;   
    position: relative;
}

div.header-top div.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

div.header-top div#navigation-main ul {
    margin: 0;
    padding: 0;
}

div.header-top div#navigation-main ul.sub-menu {
    display: none;
}

div.header-top div#navigation-main ul li {
    list-style-type: none;
    float: left;
    text-transform: uppercase;
    margin-left: 50px;
}

div.header-top div#navigation-main ul li:first-of-type {
    margin-left: 0;
}

div.header-top div#navigation-main ul li a {
    color: #fff;
}

div.header-top div#navigation-main ul li a:hover {
    text-decoration: underline;
}

body.woocommerce div.header-top div#navigation-main ul li#menu-item-142 a,
div.header-top div#navigation-main ul li.current_page_item a {
    font-weight: bold;
}

div.header-top img.hamburger,
div.header-top img.hamburger-close {
    display: none;
}

header div.logo {
    display: flex;
}

header div.logo div.logo-left {
    margin-right: 15px;
}

header div.logo div.logo-left h1,
header div.logo div.logo-left h2 {
    color: #fff;  
}

header div.logo div.logo-left h1 {
    font-size: 24px;
    margin-bottom: 0;
    text-transform: none;
}

header div.logo div.logo-left h2 {
    font-size: 29px;
    text-transform: uppercase;
    margin-bottom: 0;
    line-height: 1;
}

header div.logo div.logo-right img {
    max-width: 30px;
}

#header-home div.banner-home {  
    position: relative;
}

#header-home div.banner-home div.tint {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;   
    z-index: 1; 
}

#header-home div.banner-home div.banner-home-inner {
    z-index: 2;
    position: relative;
    padding: 7em 0; 
    max-width: 650px;
}

#header-home div.banner-home h1,
#header-home div.banner-home h2,
#header-home div.banner-home p {
    color: #fff;
}

#header-home div.banner-home h1 {
    font-size: 60px;
}

#header-home div.banner-home h2 {
    font-size: 75px;
}

#header-home div.banner-home p {
    margin-bottom: 0;
    font-size: 20px;
}

#header-home div.banner-home div.logo {
    margin-bottom: 30px;
}

#header-home div.banner-home div.logo div.logo-right img {
    max-width: 80px;
}

/* Breadcrumb */

div.storefront-breadcrumb {
    background-color: #E5E5E5;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

/* Shop page */

body.woocommerce-shop h1.page-title,
body.woocommerce-shop div.storefront-sorting {
    display: none;
}

/* Basket */

body.woocommerce-cart th.product-thumbnail,
body.woocommerce-cart td.product-thumbnail {
    display: none;
}

table.cart th, table.cart td {
    padding: 1em!important;
}

/* Product Archive */

.woocommerce-message {
    background-color: #2A5300;
}

ul.products span.price {
    font-size: 1.2em;
    line-height: 1.2;
}

/* Product Single */

li.button-variable-item-1-x-1000g {
	display: none!important;
}

body.single-product p.in-stock {
    display: none;    
}

body.single-product a.reset_variations {
    display: none!important;
}

body.single-product div.product .woocommerce-product-rating a {
    font-weight: normal;
}

body.single-product div.woocommerce-variation-price {
    display: flex;
    flex-wrap: wrap;
}

body.single-product div.woocommerce-variation-price span.price {
    width: 100%;
    order: 1;
    margin-bottom: 0!important;
}

body.single-product div.woocommerce-variation-price div.woocommerce_msrp {
    font-weight: bold;
    order: 2;
    width: 100%; 
}

body.single-product p.stock.out-of-stock {
    padding-top: 1em;
}

.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item .variable-item-span {
    padding: 8px 25px;
}

body.single-product table.variations li.variable-item {
    border: 1px solid #2A5300;
    border-radius: 7px!important;
    height: auto!important;
}

body.single-product table.variations li.variable-item.selected {
    background-color: #2A5300!important;
    color: #fff!important;
}

body.single-product input[type=number] {
    background-color: #fff;
    box-shadow: none;
    border: 2px solid #2A5300;
    border-radius: 7px;
    color: #2A5300;
}

.woocommerce-tabs ul.tabs li a {
    color: #212529;
}

body.single-product div.summary span.soldout {
    color: red;
    font-weight: bold;
    margin-bottom: 1.5em;
    display: block;
}

body.single-product button.single_add_to_cart_button {
    border: 2px solid #2A5300;
    background-color: #2A5300!important;
    border-radius: 7px;
}

body.single-product button.single_add_to_cart_button:hover {
    color: #2A5300!important;
    background-color: #fff!important;
}

body.single-product button.single_add_to_cart_button.disabled:hover {
    background-color: #2A5300!important;
    color: #fff!important;
}

body.single-product div.summary p.price {
    margin-top: 0;
    color: #555195;
    font-size: 26px;  
    margin-bottom: 0;
}

body.single-product div.woocommerce-product-details__short-description {
    padding-top: 1.5em;
}

body.single-product div.out-of-stock p {
    color: red;
    font-weight: bold;
    margin-bottom: 0;
}

body.single-product p.more-info img {
    display: inline-block;
    margin-right: 5px;
    position: relative;
    top: 4px;
}

body.single-product div.entry-summary span.soldout {
    display: none;
}

body.single-product div.product form.cart {
    padding-top: 0;
}

body.single-product div.summary p.price bdi {
    color: #555195;
}

body.single-product div.summary h1.product_title {
    margin-bottom: 0;
    color: #2A5300;
    text-transform: capitalize;
}

body.single-product div.summary h2 {
    text-transform: capitalize;
    margin-bottom: 5px;
    color: #2A5300;
    font-weight: normal;
}

body.single-product div.summary h2.origin {
    font-family: HopOneRegular;
}

.star-rating span:before, .quantity .plus, .quantity .minus, p.stars a:hover:after, p.stars a:after, .star-rating span:before, #payment .payment_methods li input[type=radio]:first-child:checked+label:before {
    color: gold;
}

body.single-product div.product .woocommerce-product-rating {
    margin-top: 0;
    margin-bottom: 1em;
}

body.single-product table.variations label {
    font-weight: bold;
    color: #555195;
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.single-product div.product .single_variation .price bdi,
.single-product div.product .single_variation .price {
    color: #555195;
    font-size: 18px;
}

a.reset_variations {
    margin-left: 0;
    padding-top: 0.5em;
}

div.image-downloads-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.5em;
}

div.image-downloads-wrapper img {
    margin-right: 5px;
}

div.image-downloads-wrapper a {
    width: 23%;
    margin-bottom: 2.5%;   
}

div.image-downloads-wrapper a img {
    width: 100%;
}

div.image-downloads-wrapper a:nth-of-type(4n+4) {
    margin-left: auto;
}

div.image-downloads-wrapper a:nth-of-type(4n+2) { 
    margin-left: 2.75%;
    margin-right: 2.75%;
}

ul.document-list {
    margin: 0 0 0 20px;
    padding: 0;
}

/* Woocommerce */

ul.products {
    display: flex;
    flex-wrap: wrap;
}

ul.products li {
    position: relative;
    padding-bottom: 60px;
}

ul.products li a.button {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

ul.products li span.soldout {
    color: red;
    font-weight: bold;
}

button.alt, input[type="button"].alt, input[type="reset"].alt, input[type="submit"].alt, .button.alt, .widget-area .widget a.button.alt {
    background-color: #555195;
    outline: 1px solid #555195;
    transition: 0.5s;
}

button.alt:hover, input[type="button"].alt:hover, input[type="reset"].alt:hover, input[type="submit"].alt:hover, .button.alt:hover, .widget-area .widget a.button.alt:hover {
    background-color: #fff;
    color: #555195;
    outline: 1px solid #555195;
    transition: 0.5s;
}

body.woocommerce #primary,
body.woocommerce-checkout #primary {
	width: 100%;
}

.woocommerce-info, .woocommerce-noreviews, p.no-comments {
    background-color: #2A5300;
}

button, input[type="button"], input[type="reset"], input[type="submit"], .button, .widget a.button {
    background-color: #555195!important;
    color: #fff!important;
    outline: 1px solid #555195;
    transition: 0.5s;
    font-weight: normal;
}

button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .button:hover, .widget a.button:hover {
    background-color: #fff!important;
    color: #555195!important;
    outline: 1px solid #555195;
    transition: 0.5s;
}

.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button, .woocommerce-noreviews .button, p.no-comments .button {
    padding-right: 1em;
}

.site-header-cart .widget_shopping_cart .woocommerce-mini-cart__empty-message {
    margin: 0;
    padding: 10px;
}

div#header-shop div.widget_shopping_cart {
    display: none!important;
}

div#header-shop a.cart-contents:hover {
    text-decoration: none;
}

div#header-shop a.cart-contents:hover span {
    text-decoration: underline;
}

/* Contact */

div.contact {
    display: flex;
}

div.contact div.contact-left {
    width: 47%;
}

div.contact div.contact-right {
    width: 47%;
    margin-left: auto;
    padding-top: 15px;
    text-align: right;
}

div.contact div.contact-right p:last-of-type {
    margin-bottom: 0;
}

div.contact div.contact-right iframe {
    display: block;
    margin-bottom: 1.5em;
    height: 300px;
}

/* Forms default */

div.nf-before-form-content {
    display: none;
}

.nf-form-content {
    padding: 0!important;
    max-width: 100%!important;
}

.nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit] {
    background-color: #555195!important;
    outline: 1px solid #555195!important;
    transition: 0.5s;
    padding-left: 50px;
    padding-right: 50px;
}

.nf-form-content button:hover, .nf-form-content input[type=button]:hover, .nf-form-content input[type=submit]:hover  {
    background-color: #fff!important;
    outline: 1px solid #555195;
    color: #555195!important;
    transition: 0.5s;
}

/*FAQs*/

div.faqs {
    overflow: hidden;
    margin-bottom: 1em;
}

body.page-template-faqs h2 {
    text-transform: none; 
}

div.faqs {
    margin-bottom: 2em;
    border-bottom: 1px solid #ccc;
    padding-bottom: 2em;
}

div.faqs:last-of-type {
    border-bottom: none;
}

div.faqs div.item {
    clear: both;
    float: left;
    position: relative;  
}

div.faqs div.item h3 {
    cursor: pointer;
    display: inline-block;    
    padding-left: 38px;
    text-transform: none;
    margin-bottom: 0;
}

div.faqs div.item div.answer {
    display: none;
    padding-left: 40px;
}

div.faqs div.item img.read-more {
    max-width: 28px;
    display: inline-block;
    position: absolute;
    top: 7px;
    left: 0px;
}

div.faqs div.item img.read-more-active {
    max-width: 28px;       
    transform: rotate(90deg);
    position: absolute;
    top: 7px;
    left: 0px;
    display: none;
}

/* Homepage */

div.shop-by-format ul.products li.product.product-category img {
    margin-bottom: 15px;
}

div.shop-by-variety ul.products li,
div.shop-by-format ul.products li {
    padding-bottom: 0;
}

div.shop-by-format ul.products li a:hover h2 {
    background-color: #2A5300;
    color: #fff;
    transition: 0.5s;
}

div.shop-by-format ul.products h2 {
    color: #2A5300;
    border: 2px solid #2A5300;
    border-radius: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: 0.5s;
}

div.shop-by-variety ul.products h2 mark,
div.shop-by-format ul.products h2 mark {
    display: none;
}

div.shop-by-variety ul.products li.product .woocommerce-loop-category__title {
    font-size: 20px;
    font-weight: normal;
}

div.shop-by-variety ul.products h3 {
    color: #212529;
    border-top: none;
    padding-top: 0;
    font-size: 16px;
    text-transform: capitalize;
}

/* News */

body.category h2.alpha {
    font-size: 2em;
} 

body.single-post section#comments {
    display: none;
}

body.blog span.post-author,
body.blog span.post-comments,
body.category span.post-author,
body.category span.post-comments,
body.single-post span.post-author,
body.single-post span.post-comments {
    display: none;
}

body.blog header.entry-header,
body.single-post header.entry-header,
body.category header.entry-header {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.5em;
}

body.blog header.entry-header h2.entry-title,
body.category header.entry-header h1.entry-title,
body.single-post header.entry-header h1.entry-title {
    order: 1;
    margin-bottom: 10px;
    width: 100%;
}

body.blog header.entry-header span.posted-on,
body.category header.entry-header span.posted-on,
body.single-post header.entry-header span.posted-on {
    order: 2;
    margin-bottom: 15px;
    width: 100%;
}

body.blog header.entry-header div.excerpt {
    order: 3;
    width: 100%;
}

/* Footer */

div.newsletter {
    background-color: #555195;
    padding: 2em 0;
}

div.newsletter h2,
div.newsletter p {
    color: #fff;
}

div.newsletter div.nf-before-form-content,
div.newsletter div.nf-after-form-content {
    display: none;
}

div.newsletter div.nf-form-content {
    max-width: 100%;
    padding: 0;
}

div.newsletter div.submit-container {
    margin-left: 5px;
}

div.newsletter .nf-form-content button, div.newsletter .nf-form-content input[type=button], div.newsletter .nf-form-content input[type=submit] {
    padding-left: 50px;
    padding-right: 50px;
    background-color: #555195;
    outline: 1px solid #fff!important;
}

div.newsletter .nf-form-content button:hover, div.newsletter .nf-form-content input[type=button]:hover, div.newsletter .nf-form-content input[type=submit]:hover {
    color: #555195;
    background-color: #fff;
}

div.newsletter input {
    text-align: center;
}

div.newsletter form {
    margin-bottom: 0;
}

div.newsletter .nf-field-container {
    margin-bottom: 0;
}

footer.site-footer {
    background-color: #000;
    padding: 2em 0;
}

footer.site-footer p:last-of-type {
    margin-bottom: 0;
}

footer.site-footer p,
footer.site-footer a,
footer.site-footer a:not(.button):not(.components-button) {
    color: #fff;
}

footer.site-footer a.credit:not(.button):not(.components-button) {
    color: #B6B6B6;
}

footer.site-footer a:not(.button):not(.components-button) {
    text-decoration: none;
}

footer.site-footer a:not(.button):not(.components-button):hover {
    text-decoration: underline;
}

footer.site-footer div.footer-inner {
    display: flex;
    justify-content: space-between;
}

footer.site-footer div.footer-inner div.footer-left ul {
    margin: 0 0 1.5em 0;
    padding: 0;
}

footer.site-footer div.footer-inner div.footer-left ul li {
    list-style-type: none;
}

footer.site-footer div.footer-inner div.footer-right {
    text-align: right;
}

footer.site-footer div.footer-inner div.footer-right br.show-mobile {
    display: none;
}

/* Media queries */

@media screen and (max-width: 1023px) {

    /* Tabs */

    .woocommerce-tabs ul.tabs li a {
        padding-left: 10px!important;
        padding-right: 10px!important;
    }

    /* Header */

    #header-home div.banner-home div.banner-home-inner {
        padding: 5em 0;
    }

    div.header-top div.header-top-inner {
        flex-wrap: wrap;
    }

    div#navigation-main {
        display: none;
        width: 100%;
        text-align: right;
        padding: 15px 0;
    }

    div.header-top img.hamburger, div.header-top img.hamburger-close {
        position: absolute;
        top: 30px;
        right: 30px;
        height: 25px;
        cursor: pointer;
    }

    div.header-top img.hamburger {
        display: block;
    }

    div.header-top div#navigation-main ul li {
        margin-left: 0;
        width: 100%;
        float: right;
        padding-bottom: 15px;
    }

    div.header-top div#navigation-main ul li:last-of-type {
        padding-bottom: 0;
    }

    /* Footer */

    footer.site-footer div.footer-inner {
        flex-wrap: wrap;
        text-align: center;
    }

    footer.site-footer div.footer-inner div.footer-left {
        width: 100%;        
        order: 2;
    }

    footer.site-footer div.footer-inner div.footer-right {
        width: 100%;
        text-align: center;
        order: 1;
        margin-bottom: 1.5em;
    }
}

@media screen and (max-width: 800px) {

    div.newsletter .nf-form-content button, div.newsletter .nf-form-content input[type=button], div.newsletter .nf-form-content input[type=submit] {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    div.newsletter div.submit-container {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    .site-header-cart .cart-contents::after {
        margin-left: 10px;
    }
    .site-header-cart .widget_shopping_cart {
        background-color: #000;
    }
    .site-header {
        border-bottom: none;
    }
    .col-full {
        max-width: 1180px;
        margin: 0 auto;
        padding-left: 30px;
        padding-right: 30px;
    }
    .single-product div.product .woocommerce-product-gallery {
        float: right;
        margin-right: 0;
        margin-left: 5.8%;
    }
    .woocommerce-tabs ul.tabs,
    .woocommerce-tabs .panel {
        width: 100%;
    }
    .woocommerce-tabs ul.tabs {
        display: flex;
        justify-content: center;
    }
    .woocommerce-tabs ul.tabs li {
        float: left;
        border: 2px solid #909294;
        margin: 0 15px;
        position: relative;
        top: -25px;
        background-color: #fff;
    }
    .woocommerce-tabs ul.tabs li.active::after {
        display: none;
    }
    .woocommerce-tabs ul.tabs li a {
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
    }
    .woocommerce-tabs ul.tabs li.active a {
        background-color: #000;
        color: #fff;        
    }
    .woocommerce-tabs ul.tabs li.active {
        border-color: #555195;
    }
    .woocommerce-tabs ul.tabs {
        border-top: 1px solid #212529;
    }
}

@media screen and (max-width: 767px) {

    ul.products li.product {
        width: 47%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 2em;
    }

    ul.products li.product:nth-of-type(even) {
        margin-left: auto;
    }

    div.contact {
        flex-wrap: wrap;
    }

    div.contact div.contact-left {
        width: 100%;
        margin-bottom: 1.5em;
    }

    div.contact div.contact-right {
        width: 100%;
        padding-top: 0;
        text-align: left;
    }
}

@media screen and (max-width: 639px) {

    /* Downloads */

    div.image-downloads-wrapper a {
        margin-left: 0!important;
        margin-right: 0!important;
        width: 47%;
        margin-bottom: 2em;
    }

    div.image-downloads-wrapper a:nth-of-type(even) {
        margin-left: auto!important;
    }

    /* Global */

    .page-template-template-homepage:not(.has-post-thumbnail) .site-main {
        padding-top: 3em;
    }

    /* Header */

    #header-home div.banner-home div.banner-home-inner {
        padding: 3em 0;
    }

    #header-home div.banner-home h1 {
        font-size: 40px;
    }

    #header-home div.banner-home h2 {
        font-size: 50px;
    }

    #header-home div.banner-home div.logo div.logo-right img {
        max-width: 60px;
    }

    #header-home div.banner-home p {
        font-size: 18px;
    }

    /* Footer */

    footer.site-footer div.footer-inner div.footer-right span.divide {
        display: none;
    }

    footer.site-footer div.footer-inner div.footer-right br.show-mobile  {
        display: block;
    }
}

@media screen and (max-width: 374px) {

    /* Header */

    #header-home div.banner-home h1 {
        font-size: 30px;
    }

    #header-home div.banner-home h2 {
        font-size: 36px;
    }

    #header-home div.banner-home div.logo div.logo-right img {
        font-size: 40px;
    }
}

@media (max-width: 66.4989378333em){
    .col-full {
        margin-left: 30px;
        margin-right: 30px;
        padding: 0;
    }
}

/*
* === Nav toggle fix  ===
*/
@media screen and (min-width: 1024px) {
    
    div#navigation-main {
      display: block!important;
    }

    img.hamburger-close {
      display: none!important;
    }

  }