/*
Theme Name:   	Storefront Child Theme
Theme URI:    	https://github.com/stuartduff/storefront-child-theme
Author:       	Stuart Duff
Author URI:     http://stuartduff.com
Template:     	storefront
Description:  	This is a blank child theme for WooThemes StoreFront theme
Version:      	1.0.0
License:      	GNU General Public License v2 or later
License URI:  	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  	storefront
Tags:         	black, white, light, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
Storefront is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.
Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
FontAwesome License: SIL Open Font License - http://scripts.sil.org/OFL
Images License: GNU General Public License v2 or later
*/
/*
 * Add your own custom css below this text.
 */

@font-face {
  font-family: MostraOneBold;
  src: url('https://www.tasi.wine/wp-content/themes/storefront-child-theme-master/assets/fonts/MostraOneBold.woff');
}

@font-face {
  font-family: 'Inter';
  src: url('/wp-content/themes/storefront-child-theme-master/assets/fonts/Inter-VariableFont_opsz_wght.woff') format('woff');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('/wp-content/themes/storefront-child-theme-master/assets/fonts/Inter-Italic-VariableFont_opsz_wght.woff') format('woff');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

body {
  /* font-family: 'Josefin Sans', sans-serif; */
  font-family: 'Inter', sans-serif;
  color: #4d4e57;
}

@media (min-width: 768px){
  .col-full {
    max-width: 100%;
    padding: 0;
  }
}

@media (min-width: 768px){
  .site-branding {
    width: 100% !important;
    float: none !important;
    margin-right: 0% !important;
  }
}

.ts-section-padding {
  padding-top: 90px;
  padding-bottom: 90px;
}

.ts-section-padding-bottom-0 {
  padding-bottom: 0;
}

a:focus, input:focus, textarea:focus, button:focus {
  outline: 0 solid #96588a;
}

a:link {
  color: #4E4E57;
}

a:visited {
  color: #4E4E57;
}

a:hover {
  color: #4E4E57;
}

a:active {
  color: #4E4E57;
}

a.added_to_cart:visited,
a.added_to_cart:hover {
  color: #fff !important;
}

img {
  border-radius: 0 !important;
}

h1.st-title-elegant,
h2.st-title-elegant {
  /* font-family: MostraOneBold; */
  text-transform: uppercase;
  font-size: 3rem;
  letter-spacing: 2px;
  margin-bottom: 60px;
}

.site-header {
  padding-top: 20px;
  margin-bottom: 0 !important;
}

.site-branding {
  position: absolute;
  width: auto !important;
  top: 6px;
  left: 50%;
  margin-left: -33px !important;
}

.custom-logo {
  height: auto !important;
  width: 66px !important;
  margin: 0 auto;
}

#menu-menu-principle {
  font-weight: 400;
}

.main-navigation ul.nav-menu > li > a {
  padding: 1.618em 1em;
  padding-right: 15px !important;
  padding-left: 0 !important;
}

#ts-switcher {
  /* Per homepage vedi file header.php */
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9999;
}

#ts-switcher p {
  display: inline-block;
  text-transform: uppercase;
  vertical-align: middle;
  font-size: .85rem;
  margin-left: 5px;
  margin-bottom: 0;
}

#ts-switcher i {
  display: inline-block;
}

.ts-slide {
  /* width: 100%; */
  height: 700px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-top: 250px;
  padding-left: 300px;
  padding-right: 300px;
}

h1.ts-slide-title {
  /* font-family: MostraOneBold; */
  letter-spacing: 2px;
  color: #fff;
  font-size: 4.75rem;
  margin-bottom: 15px;
}

p.ts-slide-text {
  color: #fff;
  font-weight: 300;
  line-height: 1.3;
  font-size: 1.9rem;
}

a.ts-cta {
  display: inline-block;
  background: #fff;
  border: 1px solid #fff;
  height: 36px;
  color: #4d4e57;
  font-weight: 400 !important;
  font-size: .9rem !important;
  line-height: 38px;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  padding: 0 50px;
  transition: 0.5s;
}

a.ts-cta:hover {
  background: #4d4e57;
  color: #fff;
  text-decoration: none;
}

a.ts-cta-black {
  display: inline-block;
  background: transparent;
  border: 1px solid #4E4E57;
  height: 36px;
  color: #4E4E57;
  font-weight: 400 !important;
  font-size: .9rem !important;
  line-height: 40px;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  padding: 0 50px;
  transition: 0.5s;
}

a.ts-cta-black:hover {
  background: #4E4E57;
  color: #fff;
  text-decoration: none;
}

a.ts-cta-dark {
  display: inline-block;
  background: #4E4E57;
  border: 1px solid #4E4E57;
  height: 36px;
  color: #fff;
  font-weight: 400 !important;
  font-size: .9rem !important;
  line-height: 40px;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  padding: 0 50px;
  transition: 0.5s;
}

a.ts-cta-dark:hover {
  background: #44444c;
  color: #fff;
  text-decoration: none;
}

ul.products li.product .button,
.ts-cta-catalogue a {
  display: inline-block;
  background: transparent;
  border: 1px solid #4E4E57;
  height: 36px;
  color: #4E4E57;
  font-weight: 400 !important;
  font-size: .9rem !important;
  line-height: 40px;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  padding: 0 50px;
  transition: 0.5s;
}

ul.products li.product .button:hover,
.ts-cta-catalogue a:hover{
  background: #4E4E57;
  color: #fff;
  text-decoration: none;
}



/* 4 prodotti */


/* News homepage */
.ts-news-hp {
  float: left;
  width: 33.3333% !important;
  padding: 0 7.5px;
}

.ts-news-archive {
  padding: 0 15px;
}

.ts-news-hp-img {
  height: 250px;
  width: 100%;
  background-size: cover;
  background-position: center;
}

.ts-news-hp h3 {
  margin: 10px 0 0 0;
}

/* SINGLE */
.ts-img-single {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

/* Filosofia */
.st-section-filosofia {
  position: relative;
  text-align: center;
  color: #000;
  padding-bottom: 120px;
}

.st-section-filosofia h2 {
  text-transform: uppercase;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.st-square-bg {
  position: absolute;
  top: -100px;
  right: 50%;
  width: 350px;
  height: 350px;
  background: #F5F2F0;
  margin-right: -175px;
  z-index: -1;
}

/* Wine club */
.ts-hp-wine-club {
  background-repeat:no-repeat;
  background-attachment: fixed;
  background-size:cover;
  background-position: center;
  color: #fff;
  margin-bottom: 15px;
}

.ts-hp-wine-club h2 {
  color: #fff;
  margin-bottom: 20px;
}

.ts-hp-wine-club p {
  font-size: 1.35rem;
  font-weight: 300;
}

/* Le Cave */


/* Fasoli */


/* Subscribe */
.ts-subscribe {
  background: #E5E5E5;
}

input.ts-email,
input.ts-nome {
  width: 100%;
  height: 36px;
  color: grey;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  margin-top: 15px;
}

input.ts-nome {
  margin-top: 0;
}

select.ts-country {
  width: 100%;
  margin-top: 15px;
}

input.ts-sub-newsletter {
  display: inline-block;
  width: 100%;
  background: #4E4E57;
  border: 1px solid #4E4E57;
  height: 36px;
  color: #fff;
  font-weight: 400 !important;
  font-size: .9rem !important;
  line-height: 34px;
  -webkit-border-radius: 7px;
  -moz-border-radius: 7px;
  border-radius: 7px;
  padding: 0 50px;
  margin-top: 15px;
  transition: 0.5s;
}

input.ts-sub-newsletter:hover {
  background: #44444c;
  color: #fff;
  text-decoration: none;
}

/* Parallax  */
.st-parallax-1 {
  height: 500px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Singole pagine */
.ts-page-text-title {
  font-size: 1.8rem;
  font-weight: 400;
}

.type-page p {
  font-size: 1.15rem;
  font-weight: 300;
}

/* 404 */
.container-404 {
  padding-top: 30px;
  padding-bottom: 90px;
}

/* Shop */
h2.woocommerce-loop-product__title {
  min-height: 40px;
}

/* Pagina singolo prodotto */
.stock.in-stock {
  display: none;
}

/* Catalogo */
.ts-img-catalog-mobile img {
  display: none;
}

.woocommerce-product-details__short-description p {
  font-size: 1rem;
  margin-bottom: 15px;
}

.storefront-full-width-content.single-product div.product .woocommerce-tabs {
  display: none !important;
}

img.ts-grapes {
  display: inline-block;
  height: 15px;
  vertical-align: baseline;
  margin-right: 3.5px;
}

/* Checkout - Stripe */
.stripe-card-group,
.wc-stripe-elements-field {
  width: 100%;
}

.woocommerce-checkout-review-order .product-name {
  line-height: 1.3;
}

/* Footer */
.site-footer {
  padding: 0;
}

.st-footer {
  background: #fff;
  color: #333333;
  padding-top: 60px;
  padding-left: 60px;
  padding-right: 60px;
  padding-bottom: 40px;
}

.st-footer a {
  text-decoration: none !important;
  color: #333333 !important;
}

h2.ts-title-footer {
  color: #333333;
}

.st-footer p {
  font-size: .95rem;
  font-weight: 300;
}

img.ts-organic-footer {
  position: absolute;
  top: 25px;
  right: 0;
  width: 200px;
  border-radius: 0 !important;
}

img.ts-logo-footer {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  border-radius: 0 !important;
}

/* Form Mailchimp */
#mc_embed_signup form {
  padding: 0;
}

#mc-embedded-subscribe-form {
  padding: 0 !important;
}

#mc_embed_signup h2 {
  font-family: 'Josefin Sans', sans-serif;
  color: #4d4e57;
  font-weight: 300 !important;
  margin: 0 0 15px 0 !important;
}

#mc_embed_signup .mc-field-group {
  width: 100% !important;
  padding-bottom: 10px !important;
}

#mc_embed_signup input {
  border: 0 !important;
}

#mc_embed_signup .mc-field-group select {
  width: 100% !important;
  height: 40px;
  border: 1px solid #dedede !important;
  padding: 5px 0;
}

.mc-field-group label {
  font-family: 'Josefin Sans', sans-serif;
}

#mc_embed_signup .button {
  clear: both;
  background-color: #4E4E57 !important;
  border: 1px solid #4E4E57 !important;
  border-radius: 7px !important;
  transition: all 0.23s ease-in-out 0s;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  font-size: .9rem !important;
  text-align: center !important;
  text-transform: uppercase;
  font-weight: normal;
  height: 36px !important;
  line-height: 35px !important;
  margin: 15px 0 15px 0 !important;
  padding: 0 !important;
  text-align: center;
  text-decoration: none;
  vertical-align: top;
  white-space: nowrap;
  width: 100% !important;
}

.st-copy {
  background: #4E4E57;
  color: #fff;
  font-size: .85rem;
  padding: 10px 0;
  padding-left: 60px;
  padding-right: 60px;
}

.st-copy a {
  text-decoration: none !important;
  color: #fff !important;
  margin-right: 30px;
}

@media (max-width: 991px){
  .col-full {
    margin-left: 0;
    margin-right: 0;
  }

  .custom-logo {
    width: 57px !important;
  }

  .ts-slide {
    height: 450px;
    padding-top: 100px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 30px;
  }

  h1.ts-slide-title {
    font-size: 4rem;
    margin-bottom: 10px;
  }

  p.ts-slide-text {
    font-size: 1.6rem;
  }

  .ts-news-hp {
    float: none;
    width: 100% !important;
    padding: 0;
    margin-bottom: 45px;
  }

  .carousel-control-prev {
    position: absolute;
    display: inline;
    height: auto;
    width: auto;
    bottom: 30px;
    left: 15px;
    top: auto;
  }

  .carousel-control-next {
    position: absolute;
    display: inline;
    height: auto;
    width: auto;
    bottom: 30px;
    right: 15px;
    top: auto;
  }

  .st-copy {
    height: auto;
  }

  .st-margin-mobile {
    margin-top: 45px;
  }

  img.ts-logo-footer {
    position: relative;
    top: auto;
    right: auto;
    width: 60px;
    border-radius: 0 !important;
  }

  /* Shop */
  li.product {
    width: 50% !important;
    margin-right: 0 !important;
  }

  /* checkout */
  .col2-set .col-1,
  .col2-set .col-2 {
    padding-left: 0;
    padding-right: 0;
  }

}

@media (max-width: 767px){

  .site-header {
    height: 68px;
    padding-bottom: 0;
  }

   #ts-switcher {
    /* Per homepage vedi file header.php */
    position: absolute;
    left: auto;
    right: 15px;
    top: 24px;
  }

  button.menu-toggle {
    position: absolute !important;
    top: 14px;
    cursor: pointer;
    text-align: left;
    float: left;
    position: relative;
    border: none;
    box-shadow: none;
    border-radius: 0;
    background-image: none;
    background: transparent;
    font-size: 0;
    padding: 0;
    height: 42px;
  }

  button.menu-toggle span {
    width: 15px;
  }

  button.menu-toggle::before {
    width: 20px;
  }

  button.menu-toggle span::before {
    width: 20px;
  }

  button.menu-toggle::after {
    width: 20px;
  }

  .main-navigation ul li a {
    padding: 7.5px 0;
    display: block;
  }

  /* Shop */
  li.product {
    width: 100% !important;
  }

  /* Wine ID */
  .ts-btn-wine-id {
    width: 100% !important;
  }
}


@media (max-width: 575px){

  /* Catalogo */
  .ts-img-catalog-mobile img {
    display: block;
  }
}