/*
Theme Name: Hoteller Child
Theme URI: https://themes.themegoods.com/hoteller/landing
Description: Premium Photography WordPress Theme
Version: 1.0
Author: ThemeGoods
Author URI: https://themeforest.net/user/ThemeGoods
License: GNU General Public License
License URI: https://themeforest.net/licenses/regular_extended
Text Domain: hoteller
Template: hoteller
*/





#bw-widget, .bw-widget {
    background: transparent;
    display: flex;
    align-items: flex-end;
    gap: 24px;
    padding: 28px 32px;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  
  .bw-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 130px;
  }
  
  .bw-label {
    font-size: 11px;
    letter-spacing: .08em;
    color: #e6e6e6;
    text-transform: uppercase;
  }
  
  .bw-field input[type="date"] {
    background: transparent;
    border: none;
    border-bottom: 1px solid #FFFFFF66;
    color: #fff;
    font-size: 14px;
    padding: 6px 0;
    outline: none;
    width: 100%;
    cursor: pointer;
    color-scheme: dark;
  }
  
  .bw-field input[type="date"]:focus {
    border-bottom-color: #fff;
  }
  
  .bw-num {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #FFFFFF66;
    padding: 8px 12px;
  }
  
  .bw-num button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    line-height: 1;
    padding: 0 2px;
  }
  
  .bw-num button:hover {
    color: #fff;
  }
  
  .bw-num span {
    color: #fff;
    font-size: 14px;
    min-width: 16px;
    text-align: center;
  }
  
  #bw-btn, .bw-btn {
    background: #fff;
    color: #111;
    border: none;
    font-family: 'Jost';
    padding: 14px 28px;
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 600;
    flex-shrink: 0;
    transition: background .2s, color .2s, opacity .2s;
  }
  
  #bw-btn:disabled, .bw-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
  }
  
  #bw-btn:not(:disabled):hover, .bw-btn:not(:disabled):hover {
    background: #e0e0e0;
  }

  .footer-menu li a:hover {
    color: white !important;
  }

  /* .distortion_grid_wrapper {
    display: flex;
}
  .distortion_grid_item.distortion_grid_item--bg.theme-3 {
    width: 100%;
} */
  
  @media only screen and (max-width:768px) {
    button#bw-btn, button.bw-btn {
        width: 100%;
    } 
    .footer-menu li a {
      justify-content: center !important;
    }
    .bw-field {
      min-width: 100%;
      width: 100%;
    }
  }

  /* @media only screen and (min-width:768px) {
    .hero-split {
        height: 35vh !important;
        overflow: hidden !important;
    }
    
    .hero-split .distortion_grid_wrapper, .hero-split .distortion_grid_item.distortion_grid_item--bg.theme-3 {
        height: 35vh !important;
    } 
  }  */


    

  @media only screen and (min-width:768px) {
    #distortion {
      height: 40vh;
    }
    .distortion_grid_item-subtitle {
      margin: 10px 0px 0px 0px !important;
    }
    
    /* 1. Blocchiamo il contenitore dell'immagine */
    selector .distortion_grid_item-img {
      height: 40vh !important;
      width: 100% !important;
      position: relative !important;
      overflow: hidden !important; /* Questo taglia il canvas che esce dai bordi */
    }
    
    /* 2. Trasformiamo il canvas in uno sfondo che si adatta */
    selector .distortion_grid_item-img canvas {
      position: absolute !important;
      top: 50% !important;
      left: 50% !important;
      transform: translate(-50%, -50%) !important; /* Centra il canvas */
      
      /* Forza il canvas a coprire tutta l'area senza distorcersi */
      min-width: 100% !important;
      min-height: 100% !important;
      width: auto !important;
      height: auto !important;
      
      /* Impedisce allo script di deformare visivamente i pixel */
      object-fit: cover !important;
    }
    
    /* 3. Nascondi le immagini originali che lo script usa come texture */
    selector .distortion_grid_item-img img {
      display: none !important;
    }

    .box .fade-up {
      opacity: 0;
      transform: translateY(30px); /* Sposta il testo in basso di 30px */
      transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Transizione fluida */
       /* Evita che il testo interferisca con l'hover sul box */
    }
    
    
    .box:hover .fade-up {
      opacity: 1;
      transform: translateY(0); /* Torna alla posizione originale */
    }

    .camere {
      max-width: 1600px;
      margin: auto !important;
  }
}  



.icon .elementor-icon-box-wrapper {
  display: flex !important;
}



::selection {
  background-color: #81000080 !important;
  color: #ffffff !important;
}

::-moz-selection {
  background-color: #81000080 !important;
  color: #ffffff !important;
}


.elementor-field-option label {
  font-size: 13px;
  line-height: normal;
}

span.elementor-field-option {
  display: flex;
  flex-direction: row;
  align-content: flex-start;
  align-items: flex-start;
}

.elementor-form button {
  margin-top: 15px;
}

form.elementor-form input {
  padding: 10px;
}







