/**
 * Add any custom CSS here.
 *
 * This file will be loaded after all other theme stylesheets.
 */

 /** Variables */
:root {
    --mt-black: #333333;
}

 .wine-year-text {
     font-size: ms(0.5);
 }

 .top_bar-container {
     border-bottom: 1px solid #f0f0f0;
 }

 @media (max-width: 768px) {
    .top_bar-container {
        display: none;
    }
 }

 .top_bar_cart-container {
     
 }

 .top_bar_cart-container .cart-contents {
    padding: 0.5rem 0; 
}

.col-full.top_bar-wrapper {
    display: flex;
    justify-content: space-between;
    
    max-width: unset;
}

@media (min-width: 768px){
    .site-header-cart:hover .widget_shopping_cart, .site-header-cart.focus .widget_shopping_cart {
        
        left: -175px;
        display: block;
    }
}

@media (min-width: 768px){
    .site-header-cart .widget_shopping_cart {
        position: absolute;
        top: 100%;
        width: 300px;
        z-index: 999999;
        font-size: 0.875em;
        left: -999em;
        display: block;
    }
}

@media (min-width: 768px){
    .site-header-cart .cart-contents .count {
        margin-right: 0.327em;
        font-weight: 400;
        opacity: 0.5;
        font-size: 0.875em;
    }
}

.shop-small-banner {
    width: 100%;
    display: flex;
    justify-content: center;
}

.shop-small-banner a {
    margin: 0;
    color: var(--mt-black);
    text-decoration: underline;
}

.header-widget-region {
    /* margin-top: -4.235801032em; */
    background: #EDECE8;
    margin-bottom: 4.235801032em;
}

.center-align-menu {
    text-align: center;
}

/** Top Bar styling*/
.contact-top-bar {
    display: none;
}

@media (min-width: 768px){
    .contact-top-bar {
        display: block;
        align-self: center;
    }
    .contact-top-bar a {
        color: var(--mt-black);
    }
}


@media (min-width: 768px) {
    .top_bar-wrapper.col-full::before, .top_bar-wrapper.col-full::after {
        content: "";
        display: none;
    }
}

.right-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.right-container a {
    text-decoration: none;

    color: var(--mt-black);
    padding-right: 1rem;
}

/** Success VIEW CART MESSAGE*/
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button, .woocommerce-noreviews .button, p.no-comments .button {
	border: 1px solid white !important;
    padding: 5px;
}


/** Custom Modal*/

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999998; /* Sit on top */
    padding-top: 300px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
  }
  
  /* The Close Button */
  .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }

  
/** END Custom Modal*/

/* Navigation styling */

.home.blog .site-header, .home.page:not(.page-template-template-homepage) .site-header, .home.post-type-archive-product .site-header {
    margin-bottom: 0;
}
.site-branding {
    width: calc(100% - 220px);
}

@media(min-width: 768px) {
    .site-branding {
        width: calc(100% - 120px);
    }
}
/* End Navigation Styling  */