/*!
Theme Name: bs-borgoluce-2
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bs-base
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

bs-base is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
.single .page__single-post__thumb {
    height: 61.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.single .page__single-post__thumb img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.single .page__single-post__description {
    max-width: 900px;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #46b450;
  color: #cfffdb;
}

.single-product-page .slider-big__item img {
  border: 2px solid #b99d60;
  width: auto;
  height: 100%;
}

.single-product-page .slider-big__item {
  border: unset;
}

.slider-small {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 0 !important;
  background: transparent;
}
.slider-small__item {
  position: relative;
  margin: 0 !important;
  padding: 0;
  aspect-ratio: 1 / 1;
  opacity: 0.6;
}
.slider-small__item.active {
  opacity: 1;
}
.slider-small__item img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-loop__img img {
  max-width: unset;
  image-rendering: pixelated;
}

.file-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 3rem 0 0.5rem;
  gap: 1rem;
}
body .form-popup .form-footer p {
    display: block!important;
}
.file-footer .btn {
  font-size: 1.6rem;
}
.woocommerce-cart-form tr:last-of-type button[name="update_cart"]:hover {
  background: #5f5f5f;
}
body .woocommerce-cart-form .shop_table td.product-name {
  position: relative;
}
.cart-collaterals .cart-totals tr {
  gap: 5rem;
}
@media screen and (max-width: 1530px) {
  .file-footer .btn {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 1200px) {
  .file-footer .btn {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 992px) {
  .file-footer .btn {
    font-size: 1.6rem;
  }

  body .form-popup input[type="text"]::placeholder,
  body .form-popup input[type="email"]::placeholder,
  body .form-popup textarea::placeholder,
  body .form-popup select,
  .form-popup input[type="text"],
  body .form-popup input[type="email"],
  body .form-popup textarea {
    font-size: 2.2rem !important;
  }
}

@media screen and (max-width: 576px) {
  .file-footer {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.footer-logos {
  padding: 4.8rem 0;
  border-top: 1px solid #ededed;
}

.footer-logos .partner span {
  color: #000;
  font-family: SempioneGrotesk;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  text-wrap: nowrap;
}

.footer-logos__container {
  display: flex;
  align-items: center;
}

.footer-logos__first-logo {
  padding-right: 6.4rem;
  border-right: 1px solid #eaeaea;
}

.footer-logos__second-logo {
  margin-right: auto;
  padding: 0 6.4rem;
}

.main-footer .privacy-link a {
  color: #b99d60;
}

@media (max-width: 1150px) {
  .footer-logos__container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-logos__first-logo {
    padding: 0 6.4rem;
    border-right: 1px solid #eaeaea;
  }

  .footer-logos__second-logo {
    margin-right: 0;
  }

  .footer-logos .partner {
    padding-top: 6.4rem;
    flex-basis: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 992px) {
  .main-footer__container {
    display: flex !important;
  }
}

@media (max-width: 840px) {
  .footer-logos__container {
    flex-direction: column;
    align-items: center;
  }

  .footer-logos__first-logo {
    padding: 0 6.4rem 6.4rem;
    border-right: none;
  }
}

@media (max-width: 550px) {
  .main-footer__container {
    flex-direction: column;
  }
}

@media (max-width: 450px) {
  .footer-logos__first-logo {
    padding: 0 3.2rem 3.2rem;
    border-right: none;
  }

  .footer-logos__second-logo {
    padding: 0 3.2rem;
  }
}

.main-footer__title--small {
  font-size: 4rem !important;
}

@media (max-width: 550px) {
  .main-footer__title--small {
    font-size: 32px !important;
  }
}

.page-id-24 .form-osteria .form-group--file .wpcf7-form-control-wrap,
.page-id-24 .form-osteria .form-group--select .select,
.page-id-24 .form-osteria .form-group--textarea .wpcf7-form-control-wrap {
  width: 100%;
}

.page-id-24 {
  .form-osteria .form-group .select span:first-child {
    font-size: 16px;
    position: relative;
    top: -5px;
  }
}

.form-group--file {
  position: relative;
  width: 100%;
  gap: 0 !important;
}

span[data-name="destination-email"] {
  display: none;
}

span[data-name="your-file"],
input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

input[type="file"] {
  opacity: 0;
}

.form-file {
  margin-top: 1rem;
  color: white;
}

.form-file__label {
  position: relative;
  height: 5.5rem;
  width: 100%;
  pointer-events: none;

  &::after {
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
    content: attr(data-label);
    width: 100%;
    height: 100%;
    pointer-events: none;
    cursor: pointer;
    font-size: 1.8rem;
    font-weight: 400;
    text-transform: uppercase;
    color: #060606;
    border-bottom: 1px solid #000;
    text-align: left;
    opacity: 0.7;
  }

  /* &::before {
            content: "";
            display: block;
            position: absolute;
            right: 3.5rem;
            top: 2.9rem;
            width: 18px;
            height: 20px;
            background-image: url(../i/static/pin2.svg);
            background-position: center center;
            background-repeat: no-repeat;
            background-size: 100%;
            z-index: 1;
            will-change: transform;
            transition: transform 300ms ease-out;
            backface-visibility: hidden;
        } */

  &:hover {
    &::before {
      transform: scale(1.3) translateX(-2rem);
    }
  }
}

.main-header .main-menu a {
  font-size: 1.9rem;
  line-height: 2.2rem;
}

@media (max-width: 1880px) {
  .main-header .main-menu a {
  }
}

@media (max-width: 1850px) {
  .main-header .main-menu a {
    font-size: 1.8rem;
    line-height: 2.1rem;
  }
}

@media screen and (max-width: 1400px) {
  .main-header .main-menu a {
    font-size: 1.7rem;
    line-height: 2rem;
  }
}

.main-header .main-menu li:last-of-type a {
  margin-right: 12rem;
}

@media screen and (max-width: 1500px) {
  .main-header .main-menu li:last-of-type a {
    margin-right: 10rem;
  }
}

@media screen and (max-width: 1400px) {
  .main-header .main-menu li:last-of-type a {
    margin-right: 1rem;
  }
}

.privacy-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.s-popup {
  z-index: 1000;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease-out;
}

.s-popup.close {
  opacity: 0;
  pointer-events: none;
}

.s-popup__backdrop {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.s-popup__content {
  position: relative;
  width: 90vw;
  height: 97vh;
  max-width: 800px;
  max-height: 350px;
  padding: 4rem;
  text-align: center;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s-popup__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: #000;
  cursor: pointer;
  padding: 0.5rem;
}

.s-popup__close:hover svg {
  transform: rotate(180deg);
}

.s-popup__close svg {
  will-change: transform;
  backface-visibility: hidden;
  transition: all 0.3s ease-out;
}

.s-popup__text {
  font-family: "Fulmar", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 5rem;
  color: #68273d;
  line-height: 1.5;
}

app-divinea > #divinea-wrapper .experience-detail-wrapper {
  padding: 0 6rem !important;
}

app-divinea > #divinea-wrapper .experiences-list {
  padding: 0 4rem 4rem !important;
}

.main-footer__title--left {
  padding-top: 5rem;
  text-align: left !important;
}

.main-footer__address {
  margin: 4rem 0;
  font-size: 2.4rem !important;
  line-height: 2.4rem !important;
  color: #000 !important;
}

.main-footer__address li {
  margin-bottom: 1.6rem;
  display: flex;
  align-items: flex-start;
  gap: 3.2rem;
}

.main-footer__address .info {
  margin: 3rem 0;
  font-size: 1.8rem !important;
  line-height: 2.2rem !important;
}

.main-footer__address .info > strong {
  display: block;
  font-size: 2.4rem !important;
  margin-bottom: 2rem;
}

.didatica-files {
  padding: 5rem 4rem 15rem;
}

.didatica-files .file-footer {
  justify-content: center;
}

.didatica-files .file-footer .btn {
  width: 37.8rem;
  height: 6.6rem;
  font-size: 2rem !important;
  font-weight: 500 !important;
  font-family: SempioneGrotesk, sans-serif !important;
}

.activities-list {
  margin: 4rem 0;
}

.activities-list__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}

.activities-list__list li {
  /* margin-bottom: 1.6rem; */
  flex-basis: calc(50% - 30px);
}

.activities-list__list li label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.6rem;
  line-height: 2.2rem;
  color: #000;
  cursor: pointer;
}

.activities-list__list li label input[type="checkbox"] {
  flex: 0 0 1.6rem;
  width: 1.6rem;
  height: 1.6rem;
}

.activities-list h5 {
  margin-top: 3.6rem;
  margin-bottom: 2.2rem;
  font-family: Fulmar;
  font-size: 2rem;
  font-weight: normal;
  margin-bottom: 2.4rem;
}

.page__sub-restaurant .block-contacts__wrap .block-info-contacts .opening-hours {
  color: #fff;
}

.newsletter__wrap {
  display: flex;
  gap: 6.4rem;
  background-color: rgba(197, 193, 184, 0.302);
  width: 100%;
  max-width: 100% !important;
  padding: 6.4rem;
}

.newsletter__title {
  flex: 0 0 40%;
}

.newsletter__wrap .wpcf7 {
  flex: 1;
}

.newsletter-form {
  padding: 0 6.4rem;
}

.newsletter-form .wpcf7-not-valid-tip {
  position: relative;
  bottom: 50px;
}

.newsletter__wrap input[type="email"] {
  width: 100%;
  padding: 1.6rem;
  /* font-size: 1.8rem;
    border: 1px solid #b99d60;
    outline: none;
    color: #000; */
  background-color: transparent;
}

@media (max-width: 850px) {
  .newsletter__wrap {
    flex-direction: column;
    padding: 3.2rem;
    gap: 3.2rem;
  }

  .newsletter__title {
    flex: unset;
    text-align: center;
  }

  .newsletter-form {
    padding: 0;
    text-align: center;
  }
}

.page__block-dark.page__didattica__laboratory .title {
  line-height: 1.2 !important;
}

[name="your-duration"] {
  text-align: center !important;
}

@media (max-width: 450px) {
  .title {
    line-height: 1.2 !important;
  }

  .page__slider__description-text p {
    font-family: "Fulmar", sans-serif !important;
    font-weight: 400 !important;
    font-size: 13px !important;
  }
}

.footer-logos__second-logo:has(+ .footer-logos__imparare) {
  padding-right: 6.4rem;
  margin-right: 0;
}

.footer-logos__right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-logos__imparare {
  /* border-left: 1px solid #eaeaea; */
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 0 0 6.4rem;
  /* margin-right: auto; */
  position: relative;
}

.footer-logos__imparare::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 6.4rem;
  background-color: #eaeaea;
}

.footer-logos__imparare .logo2 {
  width: 160px;
}

@media screen and (max-width: 1600px) {
  .footer-logos__imparare {
    flex-direction: column;
  }
}

@media screen and (max-width: 768px) {
  .footer-logos__imparare {
    flex-direction: row;
    padding: 0;
  }

  .footer-logos__imparare .logo2 {
    width: 140px;
  }

  .footer-logos__right {
    flex-direction: column;
  }
}

body .page__subesperienze__prenota__footer .btn {
    padding: 2rem 10px;
}
.home .news {
    margin-bottom: -60px;
}
@media (max-width: 1250px) {
  .footer-logos__imparare {
    margin-right: 0;
  }

  .footer-logos__imparare::before {
    display: none;
  }

  .footer-logos__container:has(.footer-logos__imparare) {
    flex-wrap: wrap;
    justify-content: center;
    gap: 3.2rem;
  }
}

.page-id-123 .woocommerce-checkout .form-row input {
  background: #ababab26;
  color: #000000;
  border-bottom: 1px black solid;
}

.page-id-123 #email {
  border-bottom: 1px black solid;
  background: #22222214;
}


