/*
  Theme Name: Divi - The Whisky Tasting Club
  Version: 1.1.0
  Template: Divi
  Author: RS Development
  Author URI: https://www.divi-pixel.com
  Description: Divi Child Theme - The Whisky Tasting Club
  Text Domain: divi-the-tasting-club
*/
/* font vars */
@font-face {
  font-family: "Buckwheat-TC-Rough";
  src: url("./assets/fonts/Buckwheat-TC-Rough.woff2");
}
@font-face {
  font-family: "Buckwheat-TC-Sans-Rough";
  src: url("./assets/fonts/Buckwheat-TC-Sans-Rough.woff2");
}
@font-face {
  font-family: "Buckwheat-TC-Script-Rough";
  src: url("./assets/fonts/Buckwheat-TC-Script-Rough.woff2");
}
/* Header Overrides */
#main-header {
  font-family: "Buckwheat-TC-Rough";
}
#main-header nav li {
  font-weight: 300 !important;
}
#main-header nav li span.dashicons {
  line-height: 0.6;
}
#main-header .trtc-logo-sitenmame {
  padding: 0 10px;
  color: rgb(71, 71, 71);
  font-size: 32px;
  vertical-align: middle;
}
#main-header #et_mobile_nav_menu .mobile_menu_bar::before {
  color: rgb(71, 71, 71) !important;
}
#main-header #et_mobile_nav_menu .opened .mobile_menu_bar::before {
  content: "M";
  font-size: 32px;
  position: relative;
  left: 0;
  top: 0;
  cursor: pointer;
}
#main-header #mobile_menu {
  border-top: 1px solid rgb(71, 71, 71);
  opacity: 0.9;
  font-weight: 300 !important;
  color: rgb(71, 71, 71) !important;
}

/* Content Overrides */
#main-content p {
  font-size: 14px;
  line-height: 1.7em;
}
#main-content h1 {
  font-size: 38px;
}
#main-content .trtc-hero img {
  padding-top: 20%;
  width: 200px;
  height: auto;
}

/*** Start-Page ***/
#main-content .trtc-hero h1 {
  font-family: "Buckwheat-TC-Script-Rough";
  letter-spacing: 0.5px;
  font-size: 38px;
  font-weight: 300;
  position: relative;
}
#main-content .trtc-hero .et_pb_fullwidth_header_subhead {
  font-size: 20px;
  padding-bottom: 20px;
}
#main-content .trtc-hero .et_pb_more_button,
#main-content .trtc-hero .et_pb_more_button:hover {
  border-color: rgb(255, 255, 255) !important;
  padding-right: 0 !important;
}

/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {
  #main-content p {
    font-size: 16px;
    line-height: 1.8em;
  }
  #main-content h1 {
    font-size: 38px;
  }
}
/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 980px) and (max-width: 1240px) {
  #main-header .trtc-logo-sitenmame {
    font-size: 24px;
    color: rgb(71, 71, 71);
  }
  #main-header .et_menu_container li a {
    font-size: 14px;
  }
  #main-content .trtc-hero img {
    width: 150px;
  }
  #main-content .trtc-hero h1 {
    padding: 0;
  }
  #main-content h1 {
    font-size: 32px;
  }
}
/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
  #main-header .trtc-logo-sitenmame {
    font-size: 24px;
    color: rgb(71, 71, 71);
  }
  #main-header #mobile_menu li a {
    font-size: 16px;
  }
  #main-content p {
    font-size: 14px;
    line-height: 1.6em;
  }
  #main-content h1 {
    font-size: 28px;
  }
}
/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {
  #main-header .et_menu_container {
    width: 100%;
    padding: 0 20px;
  }
  #main-header .trtc-logo-sitenmame {
    font-size: 24px;
    color: rgb(71, 71, 71);
  }
  #main-content p {
    font-size: 14px;
    line-height: 1.6em;
  }
  #main-content h1 {
    font-size: 28px;
  }
  #main-content .trtc-hero img {
    display: none;
  }
}
/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {
  #main-header .et_menu_container {
    width: 100%;
    padding: 0 20px;
  }
  #main-header .trtc-logo-sitenmame {
    font-size: 22px;
    color: rgb(71, 71, 71);
  }
  #main-header #mobile_menu li a {
    font-size: 22px;
  }
  #main-content p {
    font-size: 14px;
    line-height: 1.6em;
  }
  #main-content h1 {
    font-size: 22px;
  }
  #main-content .trtc-hero img {
    display: none;
  }
}
/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {
  #main-header .et_menu_container {
    width: 100%;
    padding: 0 20px;
  }
  #main-header .trtc-logo-sitenmame {
    font-size: 22px;
    color: rgb(71, 71, 71);
  }
  #main-content p {
    font-size: 14px;
    line-height: 1.6em;
  }
  #main-content h1 {
    font-size: 20px;
  }
  #main-content .et_pb_fullwidth_header_container {
    width: 100%;
    padding: 0 20px;
  }
  #main-content .trtc-hero h1 {
    width: 90%;
    text-align: center;
  }
  #main-content .trtc-hero img {
    display: none;
  }
}
h1,
.rsd-font-western {
  font-family: "Buckwheat-TC-Rough";
}

.eventorganiser-event-meta h4 {
  width: 100%;
  margin-bottom: 10px;
}
.eventorganiser-event-meta hr {
  display: none;
}

.eo-event-meta,
.eo-event-venue-map {
  padding: 10px;
  display: inline-block;
  width: 49.5%;
  vertical-align: top;
}

.eo-event-meta {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.eo-event-meta li strong {
  display: block;
  width: 100%;
}

@media (max-width: 768px) {
  .eventorganiser-event-meta .eo-event-meta,
  .eventorganiser-event-meta .eo-event-venue-map {
    display: block;
    width: 100%;
  }
}
.rsd-eo-fullcalendar-wrapper {
  display: block;
}
.rsd-eo-fullcalendar-wrapper .eo-fullcalendar .fc-toolbar {
  line-height: 3rem;
}
.rsd-eo-fullcalendar-wrapper .eo-fullcalendar .fc-toolbar h2, .rsd-eo-fullcalendar-wrapper .eo-fullcalendar .fc-toolbar .fc-button-group {
  font-family: "Buckwheat-TC-Rough";
  text-transform: uppercase;
  color: rgb(71, 71, 71);
}
.rsd-eo-fullcalendar-wrapper .eo-fullcalendar .fc-toolbar h2 {
  font-size: 28px;
}
.rsd-eo-fullcalendar-wrapper .eo-fullcalendar .fc-toolbar .fc-button-group button {
  font-size: 20px;
  background-color: transparent;
  border-color: rgb(242, 183, 54);
  font-weight: normal;
  font-style: normal;
  text-decoration: none;
  color: rgb(242, 183, 54);
}
.rsd-eo-fullcalendar-wrapper .eo-fullcalendar .fc-toolbar .fc-button-group button:hover {
  color: rgb(242, 183, 54);
  background-color: rgba(242, 180, 46, 0.15);
  border-color: rgb(242, 183, 54);
  border-radius: 12px;
}

.rsd-eo-events-wrapper {
  display: none;
}
.rsd-eo-events-wrapper ul,
.rsd-eo-events-wrapper li {
  padding: 0;
  margin: 0;
}
.rsd-eo-events-wrapper ul {
  list-style: none;
  list-style-type: none;
}
.rsd-eo-events-wrapper li {
  padding: 0 0 30px 0;
  margin: 0 0 30px 0;
  border-bottom: 1px solid rgb(107, 107, 107);
}
.rsd-eo-events-wrapper .flex-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px; /* Adjust the gap between columns as needed */
}
.rsd-eo-events-wrapper .flex-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.rsd-eo-events-wrapper .date-info {
  flex: 0 0 250px; /* Fixed width for the date-info column */
  max-width: 250px;
  align-self: stretch; /* Make date-info stretch to the same height as other flex items */
}
.rsd-eo-events-wrapper .event-details {
  flex: 1;
}
.rsd-eo-events-wrapper .event-image {
  flex: 0 0 200px; /* Fixed width for the image column */
}
.rsd-eo-events-wrapper .rsd_event_image {
  width: 100%;
  height: auto;
}
@media (max-width: 767px) {
  .rsd-eo-events-wrapper .flex-container {
    flex-direction: column;
  }
  .rsd-eo-events-wrapper .date-info {
    flex: 0 0 auto;
    width: 100%;
  }
  .rsd-eo-events-wrapper .event-image {
    flex: 0 0 auto;
    width: 100%;
  }
}
.rsd-eo-events-wrapper .flex-row {
  display: flex;
  align-items: center;
  gap: 10px; /* Adjust the gap between items as needed */
}
.rsd-eo-events-wrapper .event-date {
  width: 45%;
}
.rsd-eo-events-wrapper .until {
  margin-top: 37.5px;
  font-size: 32px;
}
.rsd-eo-events-wrapper .flex-row > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rsd-eo-events-wrapper .flex-row > div .day {
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  padding: 5px;
  font-size: 12px;
  font-weight: 600;
}
.rsd-eo-events-wrapper .flex-row > div .time {
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  font-size: 22px;
  padding: 10px 0;
  border: 1px solid rgb(150, 150, 150);
  border-radius: 12px;
  /* Show the fallback value if the value is empty */
  /* Hide the value if it is empty */
}
.rsd-eo-events-wrapper .flex-row > div .time .value-fallback {
  display: none;
}
.rsd-eo-events-wrapper .flex-row > div .time .value:empty + .value-fallback {
  display: inline;
}
.rsd-eo-events-wrapper .flex-row > div .time .value:empty {
  display: none;
}

@media all and (max-width: 980px) {
  .rsd-eo-fullcalendar-wrapper {
    display: none;
  }
  .rsd-eo-events-wrapper {
    display: block;
  }
}
#main-footer .footer-widget {
  opacity: 0.9;
}
#main-footer .footer-widget .rsd-footer-address div {
  display: flex;
  align-items: center;
}
#main-footer .footer-widget .rsd-footer-address span {
  margin-right: 5px; /* Add some spacing between the icon and text */
}
#main-footer .footer-widget address {
  font-style: normal;
  font-weight: 300;
}
#main-footer .footer-widget h2 {
  font-family: "Buckwheat-TC-Rough";
  text-transform: uppercase;
  margin-bottom: 10px;
}
#main-footer .footer-widget span {
  vertical-align: middle;
  margin-right: 10px;
}
#main-footer .footer-widget a:hover, #main-footer .footer-widget a:visited, #main-footer .footer-widget a:active,
#main-footer .footer-widget .rsd-footer-event a:hover,
#main-footer .footer-widget .rsd-footer-event a:visited,
#main-footer .footer-widget .rsd-footer-event a:active {
  color: rgb(232, 232, 232);
}
#main-footer .footer-widget .eo-events {
  margin: 0;
  padding: 0;
  list-style-type: none;
  list-style: none;
}
#main-footer .footer-widget .eo-events li:before {
  display: none;
}
#main-footer .footer-widget .eo-events li {
  padding: 0;
  margin: 0;
}

body.lang-de .rsd-hidden-de {
  display: none;
}
body.lang-de #rsd-hidden-de {
  display: none;
}

body:not(.lang-de) .rsd-hidden-int {
  display: none;
}
body:not(.lang-de) #rsd-hidden-int {
  display: none;
}

.gt-lang-changed-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(71, 71, 71);
  z-index: -999999;
  opacity: 0;
  transition: opacity 0.3s ease-in;
}
.gt-lang-changed-overlay.visible {
  opacity: 1;
  z-index: 999999;
}

#cookie-notice {
  font-size: 16px;
  z-index: 9999999;
}
#cookie-notice .cn-buttons-container {
  padding: 10px 0;
}
#cookie-notice .cn-buttons-container .cn-button {
  font-size: 14px;
  text-transform: uppercase;
}
#cookie-notice .cn-buttons-container .cn-button:hover {
  font-size: 14px;
  text-transform: uppercase;
}
#cookie-notice #cn-close-notice {
  display: none;
}

.rsd-product-catalogue-wrapper .ewd-upcp-catalog-sidebar-categories {
  display: none;
}
.rsd-product-catalogue-wrapper .ewd-upcp-catalog-category-heading {
  display: none;
}
.rsd-product-catalogue-wrapper .ewd-upcp-catalog-view.ewd-upcp-thumbnail-view.ewd-upcp-thumbnail-four-columns {
  /* Target the main container */
  /* Style each product container */
  /* Ensure all images within a row have the same fixed height */
  /* Style the product thumbnail container */
  /* Ensure the last div is always at the bottom */
  /* Style the product title container */
  /* Style the product description */
  /* Style the price section */
}
.rsd-product-catalogue-wrapper .ewd-upcp-catalog-view.ewd-upcp-thumbnail-view.ewd-upcp-thumbnail-four-columns .ewd-upcp-catalog-category.ewd-upcp-catalog-category-normal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.rsd-product-catalogue-wrapper .ewd-upcp-catalog-view.ewd-upcp-thumbnail-view.ewd-upcp-thumbnail-four-columns .ewd-upcp-catalog-product-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
  border: 1px solid rgb(232, 232, 232); /* Add a border */
  border-radius: 3px; /* Rounded corners */
  overflow: hidden;
  background-color: rgb(255, 255, 255); /* White background */
  box-sizing: border-box;
  transition: all 0.3s ease; /* Smooth transition for hover effects */
}
.rsd-product-catalogue-wrapper .ewd-upcp-catalog-view.ewd-upcp-thumbnail-view.ewd-upcp-thumbnail-four-columns .ewd-upcp-catalog-product-div:hover {
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* Darker shadow on hover */
  transform: translateY(-2px); /* Slight lift effect on hover */
  border-radius: 12px; /* Rounded corners */
}
.rsd-product-catalogue-wrapper .ewd-upcp-catalog-view.ewd-upcp-thumbnail-view.ewd-upcp-thumbnail-four-columns .ewd-upcp-catalog-product-thumbnail-image-div {
  width: 100%; /* Full width of the container */
  height: 200px; /* Fixed height for all images */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Hide overflow for cropped images */
  border-bottom: 1px solid rgb(232, 232, 232); /* Add a border below the image */
}
.rsd-product-catalogue-wrapper .ewd-upcp-catalog-view.ewd-upcp-thumbnail-view.ewd-upcp-thumbnail-four-columns .ewd-upcp-catalog-product-thumbnail-image-div img {
  height: 100%; /* Ensure the image fills the container height */
  -o-object-fit: cover;
     object-fit: cover; /* Crop the image to fit the container */
  width: auto; /* Maintain aspect ratio */
}
.rsd-product-catalogue-wrapper .ewd-upcp-catalog-view.ewd-upcp-thumbnail-view.ewd-upcp-thumbnail-four-columns .ewd-upcp-catalog-product-thumbnail-body-div {
  display: flex;
  flex-wrap: wrap; /* Arrange child divs in rows */
  justify-content: space-between; /* Add spacing between rows */
  align-items: flex-start; /* Align items to the top */
  text-align: center; /* Center the content */
  overflow: hidden; /* Prevent content overflow */
  box-sizing: border-box; /* Include padding and border in size calculations */
  padding: 10px; /* Add padding for a cleaner appearance */
  flex-grow: 1; /* Allow the container to grow based on content */
  position: relative; /* Ensure positioning for the last div */
}
.rsd-product-catalogue-wrapper .ewd-upcp-catalog-view.ewd-upcp-thumbnail-view.ewd-upcp-thumbnail-four-columns .ewd-upcp-catalog-product-thumbnail-body-div > div:last-child {
  margin-top: auto; /* Push the last div to the bottom */
  width: 100%; /* Ensure it spans the full width */
}
.rsd-product-catalogue-wrapper .ewd-upcp-catalog-view.ewd-upcp-thumbnail-view.ewd-upcp-thumbnail-four-columns .ewd-upcp-product-title-div {
  text-align: center;
  font-size: 1.2em;
  font-weight: bold;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box; /* Ensure padding is included in the height calculation */
}
.rsd-product-catalogue-wrapper .ewd-upcp-catalog-view.ewd-upcp-thumbnail-view.ewd-upcp-thumbnail-four-columns .ewd-upcp-catalog-product-description {
  text-align: center;
  font-size: 0.9em;
  color: rgb(71, 71, 71);
  min-height: 60px; /* Ensure consistent height for descriptions */
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rsd-product-catalogue-wrapper .ewd-upcp-catalog-view.ewd-upcp-thumbnail-view.ewd-upcp-thumbnail-four-columns .ewd-upcp-catalog-product-price {
  padding-top: 10px; /* Add padding for spacing */
  font-weight: bold;
  margin-top: auto; /* Push the price to the bottom */
  text-align: center;
}

.age-gate h1, .age-gate h2, .age-gate h3, .age-gate p {
  color: rgb(255, 255, 255);
}
.age-gate .age-gate__challenge {
  font-size: 1.2rem;
}
.age-gate .age-gate__buttons {
  padding-top: 10px;
}
.age-gate .age-gate__buttons button,
.age-gate .age-gate__buttons button:hover {
  border: 1px solid rgb(255, 255, 255);
  font-size: 14px;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  background-color: transparent;
  min-width: 100px;
}
.age-gate .age-gate__buttons button {
  border-radius: 3px;
}
.age-gate .age-gate__buttons button:hover {
  border-radius: 12px;
}