/**
 * Theme Name:        deGustate plus
 * Theme URI:         https://www.degustate.it
 * Description:       a custom theme developed by Alessio Baccarini @communicanda for the awesome wine distributor deGustate
 * Version:           1.0.0
 * Author:            Alessio Baccarini	
 * Author URI:        https://www.communicanda.com	
 * Tags:              block-patterns, full-site-editing with a pinch of salt for agile, everyday magazine publishing 
 * Text Domain:       parallel-fifths
 * Domain Path:       /assets/lang
 * Tested up to:      6.4
 * Requires at least: 6.2
 * Requires PHP:      7.4
 * License:           GNU General Public License v2.0 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 */

/* 
 font-family: "adobe-garamond-pro", serif;
 font-weight: 400, 700;
 font-style: normal, italic;
  */
:root {
  --primary-text-color: #060606;
  --primary-link-color: #0a2b5c;
  --primary-logo-color: #db083c;
  --secondary-logo-color: #0c6798;
  --payoff-logo-color: #3d4898;
  /* --footer-faux-black: #060615; */
  
  --footer-faux-black: #3e0805;
  --primary-font-family: "minion-pro", serif;
  --headlines-ff: "Playfair Display", serif;
  --interstitial-hl-ff: "Lato", sans-serif;
  --column-hl-ff: "Libre Franklin", sans-serif;
  --logo-hl: "rockwell", sans-serif;
  

}

*,
::after,
::before {
  box-sizing: inherit;
}
.wp-block-separator {
  width: 100%;
  color: transparent;
}


@font-face {
    font-family: 'degustate_iconfont';
    src: url('../../../../assets/iconfont/degustate_icon-webfont.woff2') format('woff2'),
         url('../../../../assets/iconfont/degustate_icon-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

body {
  /* margin: 0 auto; */
  padding: 0;
  background: #fff;
  font-family: var(--primary-font-family);
  color: var(--primary-text-color);
  text-align: center;
}
.thumbnail img {
    width: auto !important;
    height: auto !important;
}

.thumbnail-container {
  height: 46vh;
}
article.wine-main-layout .thumbnail-container, .wine-main-layout .thumbnail-container {
  height: 60vh;
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  /*! display: flex; */
  justify-content: center;
  /*! padding: 2rem; */
}
.thumbnail-container.bp-gallery a {
  cursor: zoom-in;
  display: inline-block;
  height: 100%;
}
.thumbnail-container img {
  height: 100% !important;
}
ul.wine-specs {
  list-style-type: none;
  padding: 0;
  font-family: var(--interstitial-hl-ff);
  font-size: 1rem !important;
  text-align: left;
}
ul.wine-specs li {
  /*! padding: 3px 0; */
  padding: 12px 0 6px 3rem;
position: relative;
}

ul.wine-specs li:before {
    font-family: 'degustate_iconfont' !important;
    margin-right: 12px;
    width: 25px;
    display: inline-block;
    text-align: center;
    color: var(--secondary-logo-color);
    list-style-type: none;
position: absolute;
left: 2px;
    
}
.fixed .site-logo h2 {
  display: none;
}
li.dosage:before           { content: "G"; font-size: 1.8rem; }
li.vineyardage:before      { content: "E"; }
li.vineyardsize:before     { content: "F"; }
li.enology:before          { content: "A"; }
li.numberofbottles:before  { content: "B"; }
li.trivia:before           { content: "D"; }
li.terreno:before          { content: "C"; } /* Icona aggiuntiva per il terreno */
.has-drop-cap:not(:focus)::first-letter {
  font-size: 4.6em;
  font-family: var(--logo-hl);
  color: var(--secondary-logo-color);
}
body>h1 {
  display: none;
}
article.modal {
  text-align: left;
  
}
article.modal figure img{
  height: 100%;
  
}

.row {

  padding: 1px 0;
}

p, ul {
  line-height: 140%;
  font-size: 1.25rem;
}
.footer p {

  font-size: 1rem;
}
.sib_signup_form div p, .sib_signup_box_inside_2 p, .signup p {
  line-height: 100%;
  font-size: 1rem;
  margin: 4px auto 12px auto;
}
.socialz {
  position: absolute;
  /*! top: 1.4%; */
  right: .9%;
  display: none;
}
.footer .socialz {
   position: relative;
  width: 100%;
  clear: both;
  padding: 0px 6px;
  display: flex;
  flex-direction:row;
  }
.footer .socialz ul{
  display: flex;
  flex-direction:row;
  }
.active .socialz {
  /* display: inherit;
  z-index: 1;
  bottom: 14%;
  right: 12%;
  bottom: -200%; */
  display: inherit;
  z-index: 1;
  bottom: 14%;
  right: 2%;
  bottom: -330px;
  margin: 0 4px 0 0;
}

.card p {
  font-size: 1em;
  text-shadow: 1px 1px #fff;
}
.card h2, .card h3, .card h4, .card h5, .card h6 {

  text-shadow: 1px 1px #fff;
}

header.topheader {
  /*! background: #fcc; */
  margin: 0 auto 12px;
  padding: 0 0 71px 0;

  width: 100%;
  position: fixed;

  top: 0;
  z-index: 121;
  background: aliceblue;
  border-bottom: 1px solid #ddd;
}



.updatechecker {
  display: none;
}
.topheader nav.primarynav {

  line-height: 1.4;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  background: #181818;
  position: fixed;
  z-index: 1;
  min-width: 100%;
  min-height: 100vh;
  display: none;
  opacity: 1;
  transition: opacity .25s ease-in-out;
  -moz-transition: opacity .25s ease-in-out;
  -webkit-transition: opacity .25s ease-in-out;
}

.topheader.active nav.primarynav {
  display: flex;
  text-align: center;
}

.topheader.active nav.primarynav h1.site-logo {
    display: block;
    padding: 140px 0 0;
    background: transparent url('https://www.degustate.it/wordpress/wp-content/themes/degustate_plus/theme_images/dg_logo.svg') top center no-repeat;
    margin: 30px auto;
    width: 144px;
}
.topheader.active nav.primarynav li a {
  display: block;

  color: var(--secondary-logo-color);
}
.topheader.active nav.primarynav li a:hover {
  display: block;

  color: var(--primary-logo-color);
}


figcaption.story_grid_photo_caption {
  /* color: red !important; */
  display: block;
  margin: 8px 0 0;
}

nav a,
nav a:visited {
  color: #fff;
}

nav ul {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  padding: 0;
}

.topnav_r {
  justify-content: flex-end;
}
/* ==========================================================================
   WordPress Theme / Footer Block: Responsive Layout & Positioning
   - Aligns left edge (.footer__addr) with topnav_l and right edge (.footer__nav) with topnav_r.
   ========================================================================== */
.footer {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 0 24px 0;
  background-color: var(--footer-faux-black);
  border-top: 10px solid var(--primary-logo-color);
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}

.footer > * {
  flex: 1 100%;
}

.footer__addr {
  margin-left: 30px;
  margin-bottom: 2em;
}

.footer__logo {
  font-family: var(--logo-hl), serif;
  font-weight: 400;
  font-size: 1.5rem;
}

.footer__addr h2 {
  margin-top: 1.3em;
  font-size: 15px;
  font-weight: 400;
}

.nav__title {
  font-weight: 400;
  font-size: 1.3rem;
}

.footer address {
  font-style: normal;
  color: rgba(255,255,255, .76);
  line-height: 1.6em;
}

.footer address hr {
  height: 1px;
  background: var(--footer-faux-black);
  border: 0;
  margin: 8px 0; 
}

.footer h1 {
   background: transparent url('https://www.degustate.it/wordpress/wp-content/themes/degustate_plus/theme_images/dg_logo.svg') 0px 2px no-repeat;
   display: block;
   padding: 82px 0 0;
   background-size: 84px;
   font-size: 1.2rem;
   color: var(--primary-logo-color);
}

.footer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  max-width: max-content;
  background-color: var(--secondary-logo-color);
  border-radius: 100px;
  transition: all .4s ease;
  line-height: 1;
  margin: 1.4em 0 6px 0;
  font-size: 0.95rem;
  padding: 0 1.3em;
}
.footer__btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--primary-link-color);
}

.footer ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer li {
  line-height: 2em;
}

.footer a, .footer a:visited {
  text-decoration: none;
  color: rgba(255,255,255, .76);
  transition: color 0.2s ease;
}
.footer a:hover {
  text-decoration: none;
  color: rgba(255,255,255, 1);
}

.footer__nav {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  margin-right: 30px;
  gap: 1.5rem;
}

.footer__nav > * {
  flex: 1 1 180px;
}

.nav__ul--extra {
  column-count: 1;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 2.5rem;
  padding: 1.25rem 30px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255,255,255, .76);
  font-size: 0.9rem;
  box-sizing: border-box;
}
  
.legal__links {
  display: flex;
  align-items: center;
}

.heart {
  color: rgba(255,0,0, 1);
}
/* end of footer styling */



nav ol,
nav ul,
nav ul>ul {
  list-style: none;
  flex-direction: column;
}

nav ul {
  /* flex-direction: row; */
}
nav.utilities ul {
  list-style: none;
  flex-direction: row;
  margin: 0;
}
nav ul li {
  margin: 5px 6px;
  text-transform: uppercase;
  font-weight: 600;
}
nav ul li span{

  
  
}


.primarynav ul li {
  margin: 0;
  padding: 12px 6px;
}
.active .primarynav ul li {
    margin: 0;
    padding: 4px 6px;
}
.topheader ul.topnav_l li:first-of-type {
  display: none;
}
.topheader.active ul.topnav_l li:first-of-type {
    display: block;
}

.primarynav ul li span {
  /* font-family: var(--primary-font-family); */
  /* text-transform: initial; */
  text-transform: none;
  /* font-size: 120%; */
  /* font-weight: normal; */
  /* font-style: italic; */
  line-height: 100%;
}
.fixed .utilities {

  position: fixed;
  z-index: inherit;
  /* top: 66px;
  right: 1%; */
}
.searchicon, .shareicon {
border-radius: 50%;
height: 36px;
/*! background: teal; */
width: 36px;
}
.utilities a {
  display: block;
  width: 100%;
  height: 100%;
}
main,
nav {
  padding: 0;
  line-height: 1.4;
}

main {

  margin: 88px 0;
}

h1,
h2,
h3 {
  font-family: var(--headlines-ff), serif;
  font-weight: 400;
  color: var(--secondary-logo-color);
}
h1.site-logo {font-family: var(--logo-hl), serif !important;color: #db083c !important;}
.site-logo h2 {
    height: 24px;
    position: absolute;
    top: 174px;
    left: 50%;
    margin-left: -118px;
    font-family: var(--primary-font-family);
    color: var(--primary-link-color);
    font-variant: all-small-caps;
    font-weight: 700;
    letter-spacing: 0px;
    font-size: 21px;
}
.active .site-logo h2 {

margin-top: 36px;
}
h2.resp-accordion:hover {
  cursor: pointer;
}

header h3#navicon {
  height: 36px;
  width: 36px;
  z-index: 998 !important;
  position: fixed;
  border-radius: 50%;
  background: var(--primary-logo-color);
  top: 18px;
  right: 2%;
  margin: 0;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  border: 3px double var(--secondary-logo-color);
}

#navicon span {
  top: 17px;
  left: 7px;
}

#navicon span,
#navicon span::before,
#navicon span::after {
  display: block;
  cursor: pointer;
  height: 2px;
  width: 22px;
  background: #fff;
  position: absolute;
  display: block;
  content: "";
  box-shadow: 0px 11px 8px -10px #fff;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
  border-radius: 2px;
  -webkit-transition: all 140ms ease-in-out;
  -moz-transition: all 140ms ease-in-out;
  -o-transition: all 140ms ease-in-out;
  transition: all 140ms ease-in-out;
}

#navicon span::after {
  bottom: -6px;
}

#navicon span::before {
  top: -6px;
}
.active #navicon span::before, .active #navicon.mobile-scroll span::before
{
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 0;
  left: 0;
  background: #fff;
}
.active #navicon span::after, .active #navicon.mobile-scroll span::after
{
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  bottom: 0;
  left: 0;
  background: #fff;
}
.active #navicon span {
  background: transparent;
}
#navicon a {
  display: block;
  margin: 14px 0 0 10px;
  width: 24px;
  height: 16px;
  border-top-left-radius: 6px;
  padding: 2px 0px 0;
  z-index: 1000 !important;
  text-indent: 1001%;
  overflow: hidden;
  text-decoration: none;
}

.toread_rightcol {
  padding: 8px;
  background: #eee;
  border-radius: 6px;
  border-radius-top-right: none;
}

.toread_rightcol h2,
.toread_rightcol h3,
.toread_rightcol h4 {
  font-family: var(--column-hl-ff), sans-serif;
  font-size: .85rem;
  font-weight: 600;
  margin: 0 auto 2rem;
  line-height: 1.26rem;
  color: #3e3e3e;
  /* text-transform: uppercase;  */
}

.toread_rightcol h4:first-of-type {
  text-transform: uppercase;
  text-shadow: 1px 1px 0px #fff;
  text-align: right;
  padding: 0;
}

.hero,
.is-style-hero {
  font-size: 150%;
}

.hero2,
.is-style-hero2 {
  font-size: 125%;
}

.card h4,
.card h5,
.card h6 {
  font-family: var(--interstitial-hl-ff);
  font-weight: 400;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}




.alignfull {
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  left: 50%;
  float: inherit;
  clear: both;
  position: relative;
  right: 50%;
}

.contentwrap, .acf-innerblocks-container {
  position: relative;
  width: 96%;
  margin: 12px 2%;
  text-align: left;
}

.cd-timeline__content .acf-innerblocks-container {
  position: relative;
  width: 100%;
  text-align: left;
  margin: 0;
  padding: 0;
}
.cd-timeline__content .acf-innerblocks-container figure {
  width: 100%;

}

.cd-timeline__content .acf-innerblocks-container figure img, .cd-timeline__content figure img {
  min-width: 100%;
max-width: 100%;

}

.contentwrap img, .acf-innerblocks-container img{
  max-width: 100%;
  height: auto;
}


h4, h5, h6 {
 font-family: var(--interstitial-hl-ff), serif;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--secondary-logo-color);
}
h4 {
  font-size: 13px;
  letter-spacing: 1px;
}
h5 {
  font-size: 12px;
  letter-spacing: 1.2px;
}
.cards,
.cards_to_slide {
  display: flex;
  flex-wrap: wrap;
}

.cards_to_slide.cx {
  justify-content: space-evenly;

}

.spotify_embed .card {
  padding: 0px;
  background: transparent;
  overflow-y: hidden;
}


.card {
  flex: 1 0 280px;
  box-sizing: border-box;
  margin: 1rem auto;
  padding-bottom: 86px;
  max-width: 300px;
  background: #fff;
  margin-bottom: 2em;
  position: relative;
}
.card.brandbox {
  padding-bottom: 0;
  flex: 0 0 136px;
  /*! background-color: whitesmoke !important; */
  background-size: 80%; 
  background-repeat: no-repeat; 
  background-position: center center;
  filter: grayscale(100%) opacity(70%);
}
.card.brandbox:hover {
  filter: grayscale(0%) opacity(100%);
  cursor: pointer;
}
.card.brandbox a {
display: block;
width: 100%;
height: 100%;
}

.card.brandbox {
  text-indent: -10000px;
}
.brandbox:before {
      content:'';
      float:left;
      padding-top:100%;
    }

.card.circle {
  background: transparent;
}
.card.circle h2, .card.circle h4 {
text-align: center;
}

.card .thumbnail {
  display: block;
  /*! border-bottom: 1px solid #eee; */
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-color: #eee;
  background-size: cover;
  width: 100%;
  height: 200px;
  transition: all 1s ease-in-out;
}

.card.circle .thumbnail {

  width: 80%;
  height: auto;
  transition: all 1s ease-in-out;
  border-radius: 50%;
  border: 0px;
  padding-top: 80%;
  margin: 0 auto;
}

.card .thumbnail a {
  display: block;
  min-width: 100%;
  min-height: 100%;
}

.card h2,
.card h3,
.card h4,
.card h5,
.card h6,
.card p {
  margin: 20px;
}
h3.artdate {
   position: absolute;
   top: 184px;
   font-size: 11px;
   font-family: 'Lato', sans-serif;
   font-weight: 400;
   text-transform: uppercase;
   padding: 4px 4px;
   background: #eee;
   right: 18px;
   letter-spacing: 2px;
   border: 1px solid #ccc;
   margin: 0;
}
.hilite {
  background: #f4f4f4;
}
.news .row.clearfix.alignfull {
  background: #f4f4f4;
  /* border-bottom: 3px double #ddd; */

}
.news hr{
  width: 100%;
  visibility: hidden;
}

.news .row.clearfix.alignfull:nth-of-type(2n), .no_hilitehilite {
  background: #fff;

}
.news .row.clearfix.alignfull:nth-of-type(2n) .card, .no_hilite .card {
  background: #f6f6f6;

}
.news .row.clearfix.alignfull:nth-of-type(1n) p.catresume, .no_hilite p.catresume{
  background: #fff;

}
.news .row.clearfix.alignfull:nth-of-type(2n) p.catresume, .no_hilite p.catresume{
  background: #f6f6f6;

}
.card.brandbox {
  padding-bottom: 0;
  flex: 0 0 136px;
  /*! background-color: whitesmoke !important; */
  background-size: 80%; 
  background-repeat: no-repeat; 
  background-position: center center;
  background-color: transparent;
  filter: grayscale(100%) opacity(70%);
}
.card.brandbox:hover {
  filter: grayscale(0%) opacity(100%);
  cursor: pointer;
}
.card.brandbox a {
display: block;
width: 100%;
height: 100%;
}

.card.brandbox {
  text-indent: -10000px;
}
.brandbox:before {
      content:'';
      float:left;
      padding-top:100%;
    }
.clearfix {
  clear: both;
}

.clearfix:before {
  content: " ";
  display: table;
  clear: both;
}

.card .learnmore {
  position: absolute;
  bottom: -8px;
  right: 0;
  font-size: .95rem;
  font-style: italic;
}

a,
a:visited {
  text-decoration: none;
  color: #0a2b5cff;
}

/* top grid styles*/

.spotlightgrid {
  display: grid;
  grid-column-gap: 32px;
  grid-row-gap: 40px;
  -webkit-grid-column-gap: 32px;
  -webkit-grid-row-gap: 40px;
  justify-content: space-evenly;
  position: relative;
  margin-bottom: 20px;
  grid-template-columns: 1fr;
  -webkit-grid-template-columns: 1fr;
}

.grid_center {
 grid-row: 1;
 grid-column: auto; 
 -webkit-grid-row: 1;
 -webkit-grid-column: auto;
  position: relative;
}

.grid_center::after {
  content: " ";
  position: absolute;
  background-color: rgba(0, 0, 0, .15);
  display: block;
  left: 0;
  bottom: -20px;
  right: auto;
  top: auto;
  height: 1px;
  width: 100%;
}

.spotlight_story {
  text-align: center;
}

.spotlight_story_figure {
  margin: 0;
}

.coverstory_title {
  /* font-family: AGaramondPro,Adobe Garamond Pro,garamond,Times,serif; */
  font-size: 32px;
  line-height: 40px;
  font-weight: 400;
  margin: 20px 0 8px;
}

.coverstory_body {
  /* font-family: AGaramondPro,Adobe Garamond Pro,garamond,Times,serif; */
  font-size: 20px;
  line-height: 28px;
  margin: 0 0 12px;
}

.spotlight_metadata {
  font-family: "Lato", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .5px;
  line-height: 13px;
  margin-top: 12px;
  text-transform: uppercase;
}

.HomepageMetadata_byline__DeBnW {
  margin-right: 8px;
}

.toread_rightcol {
  position: relative;
  grid-row: 2;
  -webkit-grid-row: 2;
  grid-column: auto;
  -webkit-grid-column: auto;
}

.toread_rightcol:after {
  content: " ";
  position: absolute;
  background-color: rgba(0, 0, 0, .15);
  display: block;
  left: 0;
  bottom: -20px;
  right: auto;
  top: auto;
  height: 1px;
  width: 100%;
}


.toread_list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.toread_list li {
  margin-bottom: 40px;
  position: relative;
}
.toread_list li:last-child {
margin: 28px 0 0 0;
  position: relative;
}

.toread_list li:after {
  content: " ";
  position: absolute;
  background-color: rgba(0, 0, 0, .15);
  display: block;
  left: 0;
  bottom: -20px;
  right: auto;
  top: auto;
  height: 1px;
  width: 100%;
}

.toread_list li:nth-child(4) {
  margin-bottom: 0;
}

.toread_list li:last-child::after {
  display: none;
}



.TopStack_native__01H49 .ad-loaded {
  margin-top: 16px;

}

.toread_article_right {
  display: grid;
  grid-template-columns: auto 80px;
  grid-gap: 20px;
  -webkit-grid-template-columns: auto 80px;
  -webkit-grid-gap: 20px;
}

.spotlight_metadata, .authorincard {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.75px;
  line-height: 13px;
  margin-top: 12px;
  text-transform: uppercase;
}/*
.authorincard{position:absolute;bottom: 32px; text-indent: 42px;}

.authorincard:before {
  display: block;
  width: 44px;
  height: 44px;
  border: 1px solid #bdb;
  content: '';
  margin: -22px 0;
  position: absolute;
  bottom: 10px;
  left: -12px;
  border-radius: 50%;
}*/
.SmallPromoItem_title__0zOZ0 {
  margin: 0;
  font-family: var(--primary-font-family), serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
}

.figure_link_rightcol {
  display: block;
  color: inherit;
  text-decoration: none;
}


.toread_leftcol {
  position: relative;
  grid-row: 3;
  grid-column: auto;
  -webkit-grid-row: 3;
  -webkit-grid-column: auto;
}


.toreadlist_left {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: grid;
  grid-row-gap: 40px;
  row-gap: 40px;
  -webkit-grid-row-gap: 40px;
  -webkit-row-gap: 40px;
}

.toreadlist_left li::after {
  left: 0;
  bottom: -20px;
  right: auto;
  top: auto;
  height: 1px;
  width: 100%;
}

.toreadlist_left li::after {
  content: " ";
  position: absolute;
  background-color: rgba(0, 0, 0, .15);
  display: block;
}

.toreadlist_left li:last-child::after {
  background-color: transparent;
}

.toreadlist_left li {
  position: relative;
}

.Offlede_article__TQmMG {
  display: block;
}

.Offlede_figure__VELA7 {
  margin: 0;
}

.Offlede_info__HfJJH {
  grid-row: 1;
  grid-column: 1;
  -webkit-grid-row: 1;
  -webkit-grid-column: 1;
}

picture {
  max-width: 100%;
  width: 100%;
  display: block;
  overflow: auto;

}

picture img {
  max-width: 100%;
  /*! width: 100%; */
  display: block;
  overflow: hidden;

}
.spotlight_story picture {
  max-height: 480px;
  overflow:hidden;
}

.yt_content {
  background-color: #f9f9f9;
  width: 100%;
  height: 100%;
  padding: 15px 15px;
  border-top: 1px solid #ddd;
  overflow-y: scroll;
}

.yt_videos, .wine_items {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;

  margin: 12px auto;
}

.yt_video, .wine_item {
  width: 100%;
  margin-bottom: 30px;
  /*! margin: 12px 12px 24px; */
  flex: 1 0 280px;
  box-sizing: border-box;
  margin: 1rem auto;
  margin-bottom: 1rem;
  /* padding-bottom: 48px; */
  /*! max-width: 300px; */
  /*! background: #fff; */
  /* margin-bottom: 2em; */
  position: relative;
  /*! min-width: 280px; */
}

.yt_thumbnail, .wine_item_thumbnail {
  /*! width: 100%; */
  height: 0;
  padding-bottom: 56.25%;
  background-size: contain;
  /* background: url('https://www.degustate.it/wordpress/wp-content/themes/degustate_plus/theme_images/dg_logo.svg')center left no-repeat; */
  background-position: center center;
  background-size: cover !important;
  cursor: pointer;

}
.thumbnail_wrap .yt_thumbnail, .thumbnail_wrap .wine_item_thumbnail {

  cursor: default;

}
.yt_thumbnail.header_thumbnail {
  /*! margin-left: 12.5%; */ 
  /*! margin-right: 12.5%; */
}

.yt_thumbnail img, .wine_item_thumbnail img {
  /*! object-fit: cover; */
  /*! height: 94%; */
  /*! width: 100%; */
}

.yt_author img {
  object-fit: cover;
  border-radius: 50%;
  height: 40px;
  width: 40px;
  margin-right: 10px;
}

.yt_details {
  display: flex;
}

.yt_title, .wine_item_title {
  display: flex;
  flex-direction: column;
}

.yt_title h3, .wine_item_title h3 {
  /*! color: rgb(3, 3, 3); */
  /*! line-height: 18px; */
  /*! font-size: 14px; */
  margin-bottom: 4px;
  font-size: 1.4rem;
}

.yt_title a, .wine_item_title a,
.yt_title span, .wine_item_title span {
  text-decoration: none;
  color: rgb(96, 96, 96);
  /*! font-size: 12px; */
}
.wine_item_thumbnail {
  background-repeat: no-repeat;
  background-size: contain !important;
  background-position: 50% 100%;
  /* border: 1px solid #eee; */
  /* background-color: #fefefe; */
  padding-bottom: 100%;
  border-radius: 6px;
}
ul.resp-tabs-list {
  display: none;
}

ul.resp-tabs-list::after {
  content: "";
  display: table;
  clear: both;
}

ul.resp-tabs-list li {
  display: block;
  /* text-decoration: none; */
  padding: 12px 12px 15px 12px;
  /* background: rgba(0,143,188,0.92); */
  font-size: 14px;
  float: left;
  text-align: left;
  cursor: pointer;
  /* border-radius: 16px; */
  /* border-bottom-right-radius: 0px; */
  margin: 14px 14px 0px 0;
  text-transform: uppercase;
  letter-spacing: .6px;
  /* background: transparent; */
  color: #6a6a6a;
  font-family: var(--interstitial-hl-ff),inherit sans-serif;
  border-radius: 0px;
  margin-bottom: 0;
  font-weight: 400;
}
.pills ul.resp-tabs-list li {
  border: 1px solid teal; 
  border-radius: 12px;
  margin-bottom: 14px;
}
ul.resp-tabs-list li:hover {
  color: rgba(0, 143, 188, .7) !important;
  border-bottom: 3px solid rgba(0, 143, 188, .7);
  border-bottom-color: rgba(0, 143, 188, 0.7);
  padding: 12px;
}

.resp-tab-item.resp-tab-active {
  display: block;
  text-decoration: none;
  padding: 12px 12px 12px 12px;
  color: rgba(0, 143, 188, 1);
  font-size: 14px;
  float: left;
  text-align: left;
  cursor: pointer;
  margin: 14px 14px 0 0;
  margin-bottom: 0px;
  text-transform: uppercase;
  border-bottom: 3px solid rgba(0, 143, 188, 1);
}
.resp-tab-item span {
  text-transform: none;
  font-weight: 800;
  
}
li.resp-tab-active:hover {
  color: rgba(0, 143, 188, 1);
  border-color: rgba(0, 143, 188, 1);
}

ul.resp-tabs-list li.resp-tab-active:first-child {
  /* border-bottom-left-radius: 16px;
   border-bottom-right-radius: 0px; */
}

.group::before,
.group::after {
  content: "";
  display: table;
  clear: both;
}
.contentwrap.group::before {
  margin-top: -22px;
}

.row header.group {
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
}

.resp-tab-content {
  display: none;
  padding: 15px;
}

.resp-tab-content-active blockquote {
  background: #fff;
  box-shadow: 12px 12px 24px rgba(120,120,120,.09)
}
blockquote {
  background: #eee;
  /*linear-gradient(-45deg, rgba(238, 119, 82, .2), rgba(231, 60, 126, .2), rgba(35, 166, 213, .2), rgba(35, 213, 171, .2)); */
  background-size: auto;
  background-size: 300% 300%;
  padding: 1em;
  text-shadow: 1px 1px 0px #fff;
  color: #333;
  margin: 0 0 14px 0;
  margin-left: 0px;
  width: 100%;
  border-radius: 22px 0px;
  /* webkit-animation: gradients 11s ease infinite; */
  background-blend-mode: darken;
  /* animation: gradients 11s ease infinite; */
}

blockquote p::before, p.quoted::before {
  content: "\201C";
  font-size: 800%;
  font-style: normal;
  font-family: var(--headlines-ff), serif;
  color: var(--secondary-logo-color);
  vertical-align: -0.48em;
  line-height: 0.1em;
  margin-right: 8px;
  margin-top: 120px;
}
p.quoted {
  margin: 0px 8px 0 0;
}
p.quoted::before {

  font-size: 300px;
  margin: 12px;
  height: 54px;
  margin-bottom: -20px;
  display: block;
  margin: 20px 8px -4px 0;
  line-height: 142px;
  padding-top: 0px;
  float: left;
  /*! border: 1px solid red; */
  overflow: visible;
}

blockquote p {
  font-size: 1.3em;
  color: #333;
  font-style: italic;
  font-size: 1.5em;
  line-height: 1.65em;
}

.alignfull {
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  left: 50%;
  float: inherit;
  clear: both;
  position: relative;
  right: 50%;
}

ul.row_grid {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  padding: 0;
}

ul.row_grid {
  list-style-type: none;
}

ul.row_grid li {
  height: 40vh;
  flex-grow: 1;
  margin: 0.09vmin;
  max-height: 300px;
}

ul.row_grid li img {
  max-height: 100%;
  min-width: 100%;
  object-fit: cover;
  vertical-align: bottom;
}

.hero,
.is-style-hero {
  font-size: 180%;
}

.hero2,
.is-style-hero2 {
  font-size: 150%;
}

.hero3,
.is-style-hero3 {
  font-size: 130%;
}

.filetto-catenaccio,
.is-style-filetto-catenaccio {
  font-size: 122%;
  font-style: italic;
  /*! font-family: "Crimson Pro", Georgia, serif; */
  border-bottom: 4px double #008fbc;
  color: #008fbc;
}

.is-style-rx {
  float: right;
  margin-left: 20px;
}

blockquote.is-style-sx {
  float: left;
  margin-left: 0;
  margin-right: 14px;

}
section.is-style-sx, section.is-style-rx {
   float: left;
  margin-left: 0;
  margin-right: 14px;
  max-width: 46%;
  
}
section.is-style-rx {
   float: right;
  
}

blockquote em {
  font-style: normal;

}

.scrim {
  background: rgba(0, 0, 0, .9) !important;
}

.close-button svg {
  fill: rgb(245, 245, 245) !important;
  border-radius: 50px;
  padding: 5px;
  background: var(--secondary-logo-color);
  width: 100%;
  height: 100%;
}

.close-button:hover svg {
  background: var(--primary-logo-color);
}

.bp-x svg {
  fill: rgb(245, 245, 245) !important;
  border-radius: 50px;
  padding: 5px;
  background: var(--secondary-logo-color);
  width: 100%;
  height: 100%;
}

.bp-wrap {
  z-index: 9999 !important;
}

.bp-wrap > div:first-child {
  background: rgba(0, 0, 0, 0.85) !important;
}

/* Automatically propagate dynamic slide background colors down to inner container on mobile */
.bp-wrap[class*="dg-slide-"] .bp-img {
  background-color: inherit;
}

.quint-dopo-il-contenuto {
  width: 100%;
  max-width: 100%;
  text-align: center;
  margin: 12px auto;
}

.quint-dopo-il-contenuto img {
  max-width: 100%;
  height: 100%
}

.topheader>a.site-logo {
    position: absolute;
    width: 248px;
    text-indent: 88px;
    background: transparent url('https://www.degustate.it/wordpress/wp-content/themes/degustate_plus/theme_images/dg_logo.svg') top left no-repeat;
    top: 0;
    left: 2%;
    text-shadow: 1px 1px 0px #fff;
    background-size: 70px;
}
.sib_signup_form > div, .sib_signup_box_inside_2, .signup {
  
  /*! width: 300px; */
  padding: 10px 0 18px 0;
  background-color: white;
  text-align: center;
  border-radius: 8px;
  /*! bottom: 0px; */
  margin: 40px 0 0;
  box-shadow: 4px 1px 40px #ddd;
}

[type=text],
[type=email],
[type=tel] {
  display: block;
  margin: 0 auto;
  width: 80%;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, .2);
  height: 22px;
  line-height: 22px;
  margin-bottom: 8px;
  font-size: .75rem;
  color: rgba(0, 0, 0, .4);
  font-family: var(--headlines-ff);
}

[type=submit] {
  margin: 12px 0 -6px;
  width: 80%;
  border: 0;
  background-color: var(--primary-logo-color);
  border-radius: 5px;
  height: 32px;
  color: white;
  font-weight: 400;
  font-size: .75rem;
  /*! color: rgba(0, 0, 0, .4); */
  font-family: var(--headlines-ff);
  cursor: pointer;
}

[type='text']:focus {
  outline: none;
  border-color: #53CACE;
}
.spotlight_story h3:first-of-type {
  position: absolute;
  text-align: right;
  display: block;
  /*! width: 97%; */
  background: rgba(13, 103, 153, 0.6);
  top: 0;
  margin: 0;
  padding: 0 2%;
  /*! border-bottom-left-radius: 14px; */
  right: 0;
  color: #fff;
  /*! margin: 2px -2px; */
  padding: 6px 8px 3px 35px;
  /*! height: auto; */
  font-size: 11px;
  font-family: var(--interstitial-hl-ff);
  letter-spacing: 6px;
  text-transform: uppercase;
  text-shadow: 1px 1px 0px #000;
  line-height: 20px;
}
.catresume {


  padding: 8px 24px ;
  border-radius: 24px;
background: #f4f4f4;
  float: left;
  display: block;
  clear: both;
  flex-grow: unset;
}
.news section > h1, .news section > h2, .news section > h3, .news section > h4, .news section > h5, .news section > h6{
  width: 100%;
}
.thumbnail_wrapper {
  text-align: center;
  /*! max-width: 400px; */
  height: auto;
}
.thumbnail_wrapper img{
  margin: 0 auto;
  max-width: 80%;

}
.thumbnail_wrap {


  margin: 0 6%;
}
#breadcrumbs {
  height: 42px;
  text-align: left;
  /*! border-bottom: 1px solid #e0e0e0; */
  box-shadow: 0px 20px 10px -15px rgba(240,240,240,0.7);
}
ul#crumbs, ol#crumbs {
  list-style: none;
  margin: -12px 0 0 0%;
  overflow: hidden;
  padding: 0px 0 0 0;
  border: none;
  position: absolute;
  z-index: 1;
  text-transform: lowercase;
}
ul#crumbs li, ol#crumbs li {
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
  font-size: 14px;
}
ul#crumbs li::before, ol#crumbs li::before {
  content: " :: ";
}
ul#crumbs li::after, ol#crumbs li::after {
  content: " ";
}
ul#crumbs li:first-of-type:before, ol#crumbs li::before {
  content: "";
}
#search-box {
  visibility: hidden;
  position: absolute;
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
#search-box .container {
  display: table;
  width: 100%;
  height: 100%;
}
#search-box .container .close {
  position: absolute;
  right: 32px;
  top: 32px;
  width: 32px;
  height: 32px;
  opacity: 0.3;
}
#search-box .container .close:hover {
  opacity: 1;
}
#search-box .container .close:before,
#search-box .container .close:after {
  position: absolute;
  left: 15px;
  content: " ";
  height: 33px;
  width: 2px;
  background-color: white;
}
#search-box .container .close:before {
  transform: rotate(45deg);
}
#search-box .container .close:after {
  transform: rotate(-45deg);
}
#search-box .container .search-main {
  display: table-cell;
  vertical-align: middle;
}
#search-box .container .search-main .search-inner {
  width: 80%;
  margin: 0 auto;
}
#search-box .container .search-main input {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 12px 74px 12px 0;
  font-size: 21px;
  height: 13px;
  border-bottom: 2px solid white;
  display: block;
  color: white;
  margin-bottom: 0;
  width: 100%;
  transform: scale3d(0, 1, 1);
  transform-origin: 0% 50%;
  transition: transform 3s;
}
#search-box .container .search-main input:focus {
  outline: none;
}
#search-box .container .search-main button {
  border: 0;
  left: auto;
  outline: none;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0.3em;
  bottom: 0.3em;
  background: transparent;
  font-size: 43px;
}
#search-box .container .search-main .search-info {
  display: block;
  color: white;
  text-align: right;
  float: right;
  margin-top: 4px;
  font-size: 1.15rem;
}
#search-box.-open {
  background: rgba(10, 42, 92, .968);
  visibility: visible;
  animation: fadein 0.8s;
}
#search-box.-open .container .search-main input {
  transform: scale3d(1, 1, 1);
  transition-duration: 1s;
}

.search-main.searchform input {
  font-size: 24px;
  margin: 24px 0;
  color: var(--primary-logo-color);
}
@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.utilities {
  position: fixed;
  right: 0%;
  padding: 0 12px;
  margin: -18px 0 0 0;
  top: 72px;
  /*! border: 1px solid var(--footer-faux-black); */
  height: 36px;
  border-top: none;
  background: #fff;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  box-shadow: 0px 4px 10px -4px rgba(0,0,0,0.7);
}
.utilities ul {
  padding: 0;
  overflow: hidden;
}
.utilities ul li{
  padding: 0;
  position: relative;
}
.utilities ul li a{
width: 24px;
height: 24px;
overflow: hidden;
  text-indent: 0;
  font-size: 0px;
  color: var(--primary-logo-color);
  
}
.utilities ul li a:hover{
  color: var(--secondary-logo-color);
  
}
.utilities ul li a:before {
content: "\f179";
font: normal 26px/1 dashicons !important;
/*! position: absolute; */
/*! top: 0; */
/*! left: 0; */

  
text-align: left;
}
media (max-width: 976px)
/* 480px */
  {
  .wp-block-social-links li {
    background: var(--primary-logo-color) !important;
  }
}
.aligncenter {
  margin: 0 auto;
}
  #breadcrumbs, body#home #breadcrumbs {

  margin-bottom: 34px;
}
.authormeta {
    padding: 0 0 0 12px;
      overflow: auto;  
}

.authormeta p, .authormeta p.is-style-hero, .authormeta p.is-style-hero2, .authormeta p.is-style-hero3 {
  font-size: 1.2rem;  
}
nav.utilities {
  top: 90px;
  right: 1%;
}
.wp-block-social-links li {
  background: var(--primary-logo-color) !important;
}





/*timeline defaults*/

.cd-timeline {
  overflow: hidden;
  margin: 2em auto;
}
.cd-timeline__container {
  position: relative;
  width: 96%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2em 0;
}
.cd-timeline__container::before {
  /* this is the vertical line */
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  height: 100%;
  width: 4px;
  background: #ddd;
}
.cd-timeline__block {
  position: relative;
  margin: 2em 0;
}
.cd-timeline__block:after {
  /* clearfix */
  content: "";
  display: table;
  clear: both;
}
.cd-timeline__block:first-child {
  margin-top: 0;
}
.cd-timeline__block:last-child {
  margin-bottom: 0;
}
.cd-timeline__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  /*! border-radius: 50%; */
  /*! -webkit-box-shadow: 0 0 0 4px white, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05); */
          /*! box-shadow: 0 0 0 4px white, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05); */
}
.cd-timeline__img img {
  display: block;
  width: 36px;
  height: 36px;
  position: relative;
  left: 50%;
  top: 50%;
  margin-left: -18px;
  margin-top: -18px;
}
.cd-timeline__img.cd-timeline__img--picture {
  /*! background: #226080; */
}
.cd-timeline__img.cd-timeline__img--movie {
  background: #226080;
}

.cd-timeline__img.cd-timeline__img--location {
  background: #226080;
}



@-webkit-keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
@keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
  }
  60% {
    opacity: 1;
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}
.cd-timeline__content {
  position: relative;
  margin-left: 60px;
  background: white;
  border-radius: 0.25em;
  padding: 1em;
  -webkit-box-shadow: 0 3px 0 #ddd;
          box-shadow: 0 3px 0 #ddd;
}
.cd-timeline__content:after {
  /* clearfix */
  content: "";
  display: table;
  clear: both;
}
.cd-timeline__content::before {
  /* triangle next to content block */
  content: '';
  position: absolute;
  top: 16px;
  right: 100%;
  height: 0;
  width: 0;
  border: 7px solid transparent;
  border-right: 7px solid white;
}
.cd-timeline__content h2 {
  text-align: left;
}
.cd-timeline__content p,
.cd-timeline__read-more,
.cd-timeline__date {
  font-size: 1.1em;
}
.cd-timeline__content p {
  margin: 1em 0;
  line-height: 1.6;
  text-align: left;
}
.cd-timeline__read-more,
.cd-timeline__date {
  display: inline-block;
}
.cd-timeline__read-more {
  float: right;
  padding: .8em 1em;
  background: #acb7c0;
  color: white;
  border-radius: 0.25em;
}
.cd-timeline__read-more:hover {
  background-color: #bac4cb;
}
.cd-timeline__date {
  float: left;
  padding: 0;
  opacity: .7;
  position: absolute;
  top: 10px;
  width: 100%;
  text-align: right;
  right: 4%;
}
@-webkit-keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
            transform: translateX(-100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(20px);
            transform: translateX(20px);
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
@keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100px);
            transform: translateX(-100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(20px);
            transform: translateX(20px);
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
@-webkit-keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100px);
            transform: translateX(100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(-20px);
            transform: translateX(-20px);
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
@keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100px);
            transform: translateX(100px);
  }
  60% {
    opacity: 1;
    -webkit-transform: translateX(-20px);
            transform: translateX(-20px);
  }
  100% {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
}
.standard_hor {
    text-align: center;
}

.standard_hor img {
    margin: 0 auto;
    width: 800px;
}



/* Header a tutta larghezza sopra */
article.wine-main-layout .entry-header {
    flex: 0 0 100%;
    /*! margin-bottom: 2rem; */
}

/* Elementi impilati su mobile */

/*end of timeline defaults*/
.wine-main-layout, article.wine-main-layout {
  display: grid; grid-template-columns: 1fr; max-width: 90%;
}
.wine-main-layout .thumbnail-container, article.wine-main-layout .thumbnail-container{
  
  height: 60vh;
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fff;
  /*! display: flex; */
  justify-content: center;
  /*! padding: 2rem; commented*/
}
.thumbnail-container img {
  width: auto;
  height: 100%;
  /* display: block; */
  object-fit: contain;
}

/* Smooth fade-out during BiggerPicture outro transition */
.bp-img-wrap.bp-close {
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.wine-specs {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  /*! display: grid; */
  /*! grid-template-columns: 1fr; */ /* Una colonna di icone su mobile */
  /*! gap: 1.5rem; */
}
/* 1. SELETTORE AGNOSTICO: Colpisce il div che contiene un iframe che NON è un video YouTube/Vimeo */
/* (BigPicture inietta gli iframe dei blob/pagine esterne direttamente nel body) */

/* body > div:has(> iframe):not([id]) {
    width: 90vw !important;
    height: 85vh !important;
    top: 7.5vh !important;
    left: 5vw !important;
    position: fixed !important;
    transform: none !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    z-index: 999999 !important;
}

/* 2. IL FIGLIO (IFRAME) */
/* body > div:has(> iframe) iframe {
    width: 100% !important;
    height: 100% !important;
    position: relative !important; 
 }  */
#bp_sv { height: 100vh !important;}

.entry-content {
  text-align: left;
  font-size: 1.8rem;
}
.entry-content ul li {
  margin-left: 0px;
  border-bottom: 1px solid #333;
  line-height: 1.8rem;
  font-size: 1.2rem;
}
@media (min-width: 30rem)
/* 480px */
  {
  .yt_video, .wine_item
{
  width: 43%;
  margin-bottom: 30px;
  /*! margin: 12px 12px 24px; */
  /*! min-width: 280px; */
}


    .card.brandbox {
       margin: .4rem;
    }
}

@media (min-width: 36rem)
/* 576px */
  {

  .card, .yt_video, .wine_item {
  max-width: calc(49% - 1em);
  margin: 1rem 3.4% 1rem auto;
  /*! min-width: 280px; */
  }
    .card.brandbox {
      flex: 1 0 80px;
    }
  /* top grid styles */
  .spotlightgrid {
  grid-template-columns: 5fr 3fr;
  -webkit-grid-template-columns: 5fr 3fr;
  }
  .grid_center {
  grid-row: 1;
    -webkit-grid-column: 1;
    -webkit-grid-row: 1;
    -webkit-grid-column: 1;
  }
  .grid_center::after {
  content: " ";
  position: absolute;
  background-color: rgba(0, 0, 0, .15);
  display: block;
  top: 0;
  right: -16px;
  left: auto;
  bottom: auto;
  width: 1px;
  height: 100%;
  }
  .coverstory_title {
  font-size: 38px;
  line-height: 44px;
  margin: 32px 0 12px;
  }
  .toread_rightcol {
    grid-row: 1;
    grid-column: 2;
    -webkit-grid-row: 1;
    -webkit-grid-column: 2;
  }
  .toread_rightcol:after {
  content: " ";
  position: absolute;
  background-color: rgba(0, 0, 0, .15);
  display: block;
  display: none;
  }
  .toread_leftcol::after {
  content: " ";
  position: absolute;
  background-color: rgba(0, 0, 0, .15);
  display: block;
  left: 0;
  top: -20px;
  bottom: auto;
  right: auto;
  height: 1px;
  width: 100%;
  }
  .toread_leftcol {
  grid-row: 2;
    grid-column: 1/span 2;
    -webkit-grid-row: 2;
    -webkit-grid-column: 1/span 2;
  }
  .toreadlist_left {
  grid-template-columns: repeat(2, 1fr);
  -webkit-column-gap: 32px;
  column-gap: 32px;
  }
  .toreadlist_left li:nth-child(2n+1)::after {
  content: " ";
  position: absolute;
  background-color: rgba(0, 0, 0, .15);
  display: block;
  top: 0;
  right: -16px;
  left: auto;
  bottom: auto;
  width: 1px;
  height: 100%;
  }
  .alignright {
    float: right;
    margin:8px 12px 8px;
  }
    .alignleft {
    float: left;
    margin:8px 16px 8px 0;
  }
  .wine-specs {
    grid-template-columns: 1fr 1fr;
  }
    
}
@media screen and (max-height: 500px){
  .topheader.active nav.primarynav {
  flex-direction: row;
}
  .topheader.active nav.primarynav ul {
  justify-content: flex-start;
  max-width: 240px;
}
  .topheader.active nav.primarynav h1.site-logo
{
  margin: 0 12px;
}
.active .socialz {
  bottom: -280%;
}
.active .socialz ul {
  flex-direction: row;
  bottom: -200%;
  padding: 0;
  margin: 0;
}
}
@media (min-width: 40.5rem){
article.wine-main-layout {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

/* Immagine a sinistra al 50% */
article.wine-main-layout aside.thumbnail-container {
    flex: 0 0 50%;
}

/* Specifiche a destra al 50% */
article.wine-main-layout .wine-specs {
    flex: 0 0 50%;
    margin-top: 0;
    /* Padding interno per non far toccare i testi all'immagine */
    padding-left: 2.5rem; 
    box-sizing: border-box;
}
.footer__addr {
  flex: 0 0 280px;
  margin-bottom: 0;
}

.footer__nav {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2rem;
}

.footer__nav > * {
  flex: 1;
}

.footer > .legal {
  flex: 0 0 100%;
  width: 100%;
}

.nav__item--extra {
  flex: 1;
}
  
}
/* 786px */
@media (min-width: 49.125rem)
/* 786px */
  {

  .card.brandbox {
    flex: 1 0 110px;
    
  }
  .wine-main-layout, article.wine-main-layout {
    display: grid;
    grid-template-columns: 35% 65%;
    align-items: start;
    column-gap: 0;
  }
  
  /* Immagine al 95% viewport height */
  .wine-main-layout .thumbnail-container, 
  article.wine-main-layout .thumbnail-container {
    height: 95vh !important;
    position: sticky;
    top: 2.5vh;
  }
  
  .entry-content {
    /*! padding: 4rem 2rem; */
  }
  
  .entry-header {
    position: relative;
    top: auto; /* Disattiva lo sticky del mobile in desktop */
  }
  
}
    @media (min-width: 56.25rem)
/* 900px */
  {
  .thumbnail_wrap {
  float: right;
  width: 32%;
  margin: 12px 0 6px 12px;
}
  h2.resp-accordion {
  display: none;
  }
#search-box .container .search-main input {
  font-size: 36px;
  height: 54px;
}

  .contentwrap, .acf-innerblocks-container {
  margin: 12px 1%;
  width: 98%;
  }

.cd-timeline__block .acf-innerblocks-container {
  margin: 0 1%;
  width: 98%;
  }

  .card, .yt_video, .wine_item {
  max-width: calc(29.5% - 1em);
  margin: 1rem 2.6% 1rem 2.4%;
  /*! min-width: 280px; */
  }
    
      .card.brandbox {
    flex: 1 0 110px;
  }

  ul.resp-tabs-list {
  display: inline-block;
  list-style: none;
  padding: 0;
  margin: 0 2% -4px 2%;
  margin-bottom: -7px;
  width: 96%;
  position: relative;
  float: none;
  }

  blockquote {
  width: 28%;
  float: right;
  margin-left: 14px;
  }
  .updatechecker {
    display: none;
  }
}
@media (min-width: 61rem)
/* 976px */
  {
    .card.brandbox {
    flex: 1 0 64px;
  }
  #breadcrumbs, body#home #breadcrumbs {
  position: relative;
  top: 0;
  padding-top: 1px;
  margin-top: -32px;
  width: 100%;
  height: 36px;
  margin-bottom: 34px;
  }
  .updatechecker {
    display: inherit;
    background: #efefef;
    position: absolute;
    font-family: var(--column-hl-ff);
    font-weight: 600;
    text-shadow: 1px 1px #fff;
    top: 52px;
    font-size: .9rem;
    margin-left: 1%;
    padding: 2px 12px;
    color: #555;
  }
  .updatechecker p{
    font-size: .9rem;
    line-height: 1.3rem;
    padding: 0;
    margin: 0;
  }
  .updatechecker span{
    clear: both;
    /*! background: #efefef; */
    display: block;
    color: #333;
  }
  .thumbnail_wrapper {
  height: auto;
  float: right;
  max-width: 34%;
  margin: 0px 0 0 12px;
}
.thumbnail_wrapper img{
  margin: 0;
width: 100%;

  width: fit-content;
}
  .wp-block-social-links li {
    background: var(--primary-logo-color) !important;
  }
  header.topheader {
  padding: 144px 0 1px 0;
  background: transparent url('theme_images/triangle.svg') top center no-repeat;
  background-size: 258px;
  position: inherit;
  border: none;

  }
.socialz {
  display: block;
  right: 1%;
  top: 78px;
}
 nav.utilities {
  /*! display: block; */
 right: 1%;
  top: 18px;
  position: absolute;
}
.fixed .utilities {

 top: 66px;
  right: 1%;
}
.footer .socialz {
  position: relative;
  clear: none;
  top: auto;
  margin: -12px 12px 24px;
  right: auto;
  }
  .footer .socialz ul {
  justify-content: flex-end;
  }
  .topheader>a h1.site-logo {
  display: none;
  }
  header h3#navicon {
  display: none;
  }
  .topheader nav.primarynav {
  flex-direction: row;
  margin: -12px 4px 27px;
  background-color: #eee;
  /*! border-top: 1px solid #656; */
  /*! border-bottom: 1px solid #656; */
  position: inherit;
  min-height: inherit;
  display: flex;
  min-width: inherit;
  }
  nav ol,
  nav ul,
  nav ul>ul {
  list-style: none;
  flex-direction: row;
  }
  nav ul {
  margin: 0;
  padding: 0;
  }
  nav a,
  nav a:visited {
  color: var(--primary-link-color);
  font-family: var(--headlines-ff);
  }
  nav a:hover {
    color: var(--primary-logo-color);
  }
  .primarynav h1.site-logo {
  align-self: center;
  margin: -2px 0 0;
  text-align: center;
  text-indent: 0px;
  padding-top: 138px;
  width: 166px;
  height: 24px;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -94px;
  background: transparent url('https://www.degustate.it/wordpress/wp-content/themes/degustate_plus/theme_images/dg_logo.svg') 25px 10px no-repeat;
  font-family: "Playfair Display", serif;
  font-size: 40px;
  border-bottom: none;
  /*! font-weight: 600; */
  text-shadow: 1px 1px #fff;
  background-size: 86%;
  }
  .primarynav ul li.current-menu-item {
    background: #eee;
    text-shadow: 1px 1px #fff;
    padding: 12px 6px 2px !important;
    border-bottom: 2px solid var(--primary-logo-color);
  }
  /* ==========================================================================
     WordPress Theme / Header Block: Fixed Navigation & Logo Styling
     - Prevents top clipping of the wine glass/heart icon shape.
     - Extends the wine glass stem to visibly overflow below the bottom border.
     - Vertically centers the 'deGustate' text logotype inside the 48px menubar.
     ========================================================================== */
  .topheader.fixed .primarynav {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: #fff;
    border-top: 0;
    border-bottom: 1px solid #ccc;
    margin: 0;
    z-index: 999;
    height: 48px;
    overflow: visible;
  }
  .topheader.fixed .primarynav:after {
    content: '';
    display: block;
    position: absolute;
    top: 47px;
    left: 0;
    width: 100%;
    height: 64px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.85) 25%, rgba(255, 255, 255, 0) 100%);
    border-top: 1px solid #ccc;
    pointer-events: none;
    z-index: 1;
  }
  .topheader.fixed .primarynav a.site-logo {
    position: absolute;
    top: 0;
    left: 50%;
    width: 253px;
    height: 74px;
    margin-left: -126px;
    z-index: 10;
    display: block;
  }
  .topheader.fixed .primarynav .site-logo h1 {
    z-index: 10;
    width: 253px;
    /* Height extended to 74px (+15%) so the enlarged background stem overflows cleanly */
    height: 74px;
    /* line-height kept at 48px to keep the 'deGustate' text centered in the 48px menubar */
    line-height: 48px;
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -126px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    overflow: visible;
    /* Y-position at 2px ensures the top loop of the heart/glass shape is fully visible */
    background-position: 4px 2px;
    /* 69px height (+15%) for the SVG logo allows the stem to extend further past the bottom border */
    background-size: auto 69px;
    background-repeat: no-repeat;
    /* Indent (+15%) pushes 'deGustate' text logotype proportionately (87px) */
    text-indent: 87px;
    font-size: 37px;
  }
  .topheader.fixed ul.topnav_l li:first-of-type {
    display: none;
  }
  .topheader.fixed .primarynav .site-logo h1:before {
  }
  /* top grid styles */
  .spotlightgrid {
  grid-template-columns: repeat(4, 1fr);
  }
  .grid_center {
  grid-column: 2/span 2;
  grid-row: 1;
  }
  .toread_rightcol {
  grid-row: 1;
  grid-column: 4;
  }
  .toread_article_right {
  grid-template-columns: auto;
  }
  .figure_link_rightcol {
  display: none;
  }
  .toread_leftcol::after {
  content: " ";
  position: absolute;
  background-color: rgba(0, 0, 0, .15);
  display: block;
  top: 0;
  right: -16px;
  left: auto;
  bottom: auto;
  width: 1px;
  height: 100%;
  }
  .toread_leftcol {
  grid-row: 1;
  grid-column: 1;
  }
  .toreadlist_left {
  grid-template-columns: 1fr;
  }
  .toreadlist_left li:nth-last-child(2)::after {
  content: " ";
  position: absolute;
  background-color: rgba(0, 0, 0, .15);
  display: block;
  left: 0;
  bottom: -20px;
  right: auto;
  top: auto;
  height: 1px;
  width: 100%;
  }
  main {
  margin-top: inherit;
  }
/*.toread_list li:last-child {
position: absolute;
bottom: 14px;
min-width: 94%;
display: block;
}*/
ul.resp-tabs-list {
  width: 96%;
}
  .cd-timeline__content {
    margin-left: 0;
    padding: 1.6em;
    width: 41%;
    /* Force Hardware Acceleration */
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
  }
  .cd-timeline__content::before {
    top: 24px;
    left: 100%;
    border-color: transparent;
    border-left-color: white;
  }
  .cd-timeline__read-more {
    float: left;
  }
  .cd-timeline__date {
    position: absolute;
    width: 100%;
    left: 122%;
    top: 6px;
    font-size: 1.6rem;
    text-align: left;
  }
  
  .cd-timeline__block:nth-child(even) .cd-timeline__content {
    float: right;
  }
  .cd-timeline__block:nth-child(even) .cd-timeline__content::before {
    top: 24px;
    left: auto;
    right: 100%;
    border-color: transparent;
    border-right-color: white;
  }
  .cd-timeline__block:nth-child(even) .cd-timeline__read-more {
    float: right;
  }
  .cd-timeline__block:nth-child(even) .cd-timeline__date {
    left: auto;
    right: 122%;
    text-align: right;
  }
  .cd-timeline__content.cd-timeline__content--bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-2 0.6s;
            animation: cd-bounce-2 0.6s;
  }
   .cd-is-hidden {
    visibility: hidden;
  }
    .cd-timeline__block {
    margin: 4em 0;
  }
    .cd-timeline__img {
    width: 50px;
    height: 50px;
    left: 50.44%;
    margin-left: -30px;
    /* Force Hardware Acceleration */
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
  }
  .cd-timeline__img.cd-timeline__img--bounce-in {
    visibility: visible;
    -webkit-animation: cd-bounce-1 0.6s;
            animation: cd-bounce-1 0.6s;
  }
  /* inverse bounce effect on even content blocks */
  .cd-timeline__block:nth-child(even) .cd-timeline__content.cd-timeline__content--bounce-in {
    -webkit-animation: cd-bounce-2-inverse 0.6s;
            animation: cd-bounce-2-inverse 0.6s;
  }
    .cd-timeline {
    margin-top: 3em;
    margin-bottom: 3em;
  }
  .cd-timeline__container::before {
    left: 50%;
    margin-left: -2px;
  }
}
@media (min-width: 68.75rem)
/* 1100px */
  {     .card.brandbox {
    /*! flex: 1 0 48px; */
    max-width: 10.65%;
    margin: 1rem 2rem;
  }
    .thumbnail_wrap {
  width: 24%;
}
  /* top grid styles */
  .toread_article_right {
  grid-template-columns: auto 80px;
  }
  .figure_link_rightcol {
  display: block;
  }
  .topheader ul.topnav_l li:first-of-type {
  display: inherit;
  }
}
@media (min-width: 72.5 rem)
/* 1160px */
  {
  .card {
  max-width: calc(23.8% - 1em);
  margin: 1rem 1.4% 1rem .6%;
  }
    cards_to_slide .card.cx {
max-width: inherit;

  margin: inherit;
}
.wine-main-layout, article.wine-main-layout {
  max-width: 1200px;
  margin: 0 auto;
  column-gap: 7rem;
}

}
@media (min-width: 80rem)
/* 1280px */
{
  .card, .yt_video, .wine_item {
  max-width: calc(23.8% - 1em);
  margin: 1rem 1.4% 1rem .6%;
  /*! min-width: 280px; */
  }
  .yt_video, .wine_item {
  min-width: 280px;
}
  .row {
  padding: 0px 0 10px;
  }  
}
@media (min-width: 87.5rem)
/* 1400px */
  {
  body {
  /*! background: #fefef1; */
  }
.row {
  padding: 0px 0 10px;
    }
  .contentwrap, .acf-innerblocks-container {
  margin: 12px auto;
  max-width: 1280px;
  width: 1280px;
  }

.cd-timeline__content .acf-innerblocks-container {
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  }

  .topnav_l, .updatechecker, .footer__addr {
  margin-left: 5%;
  }

  .topnav_r, .footer__nav {
  margin-right: 5%;
  }
  .socialz {
  right: 5%; 
  }
  .legal {
    padding-left: 5%;
    padding-right: 5%;
  }
  
  ul.resp-tabs-list {
  width: 1280px;
  float: none;
  /*! margin-bottom: -7px; */
  font-family: var(--interstitial-hl-ff);
  }
}
  @media (min-width: 105rem)
  /* 1680px */
  {
    .updatechecker {
    margin-left: 10%;
    }
  .topnav_l, .footer__addr {
    margin-left: 10%;
  }
  .topnav_r, .footer__nav {
    margin-right: 10%;
  }
  .socialz {
    right: 10%;
  }
  .legal {
    padding-left: 10%;
    padding-right: 10%;
  }
  }
  @media (min-width: 110rem)
  /* 176px */
  {
.updatechecker {
    margin-left: 10%;
    }
  .topnav_l, .updatechecker, .footer__addr {
    margin-left: 14%;
  }

  .topnav_r, .footer__nav {
    margin-right: 14%;
    
  }
    .utilities {
    margin-right: 14%;
    }
  .socialz {
    right: 14%; 
  }
  .legal {
    padding-left: 14%;
    padding-right: 14%;
  }
  }

