/*
Theme Name: Nextawards Child
Theme URI:    https://esempio.com
 Description:  Child theme di Nextawards
 Version:   1.2    
 Author:       Marco Zoni
 Author URI:   https://zonidesign.net
Template: nextawards
*/

/* Body ---------------------------------------------------------------Body*/
a {
  text-decoration: none !important;
}
#comments{
    display: none;
}

/* Header -----------------------------------------------------------Header*/
.header {
  width: 100%;
  box-shadow: 0 4px 20px;
}
.header__logo-img {
  width: 260px;
  height: auto;
}
.menu li a {
    font-size: 13px;
}
.menu li a:hover{
    color: #aa341d !important;
}
.current-menu-item a {
  color: #aa341d !important;
}

/* Card ----------------------------------------------------------------Card*/
.card-menu { 
    display: flex; 
    flex-direction: column;
    }
.card-menu .box-testo { 
    flex: 1 1 auto; 
    padding: 60px 100px !important;
}
.card-menu .wp-block-button { 
    margin-top: -24px; 
    justify-content: center !important;  
    position: relative; z-index: 2;
}

@media (max-width: 768px){
  .card-menu .box-testo{
        padding: 40px 20px !important;
    }
}


/* Trasforma in flex solo le colonne dentro a questa specifica sezione della pagina 'Menu' */
.wp-block-columns.menu-card-section {
    display: flex;
    align-items: stretch;
}

.wp-block-columns.menu-card-section > .wp-block-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Spinge il pulsante in basso solo in queste schede */
.wp-block-columns.menu-card-section .wp-block-buttons {
    margin-top: auto;
}


/* Button ------------------------------------------------------------Button*/
.wp-block-button a, .evi a{
    border-radius:1px!important;
}

.evi a{
    font-size: 14px;
}
.evi a:hover {
    background-color: #aa341d;
}
.button-overflow {
  position: relative;
  z-index: 10;
  margin-bottom: -30px;
}
/* Contatti ---------------------------------------------------------Contatti*/
.header__quick a {
  color: #fff !important;
}

/* Mappa --------------------------------------------------------------Mappa*/


/* Prenotazione -------------------------------------------------Prenotazione*/
.prenota-form { 
    background: #EFE7DB; 
    padding: 36px 32px;
}
.prenota-form .riga { 
    display: grid !important; 
    grid-template-columns: 1fr 1fr !important; 
    gap: 18px 20px !important; 
    margin-bottom: 18px; 
}
.prenota-form .riga .campo { 
    margin-bottom: 0 !important; 
    min-width: 0; 
}
.prenota-form .wpcf7-form-control-wrap { 
    display: block; 
}
.prenota-form p { 
    margin: 0;
}
.prenota-form br { 
    display: none; 
}
.prenota-form .riga .campo { 
    margin-bottom: 0; 
}
.prenota-form label { 
    display: block; 
    font-size: 14px; 
    font-weight: 600; 
    margin-bottom: 6px;
    margin-top: 20px;
}
.prenota-form small { 
    display: block; 
    margin-top: 6px; 
    font-size: 13px; 
    color: #5A4B40;
}
.prenota-form input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.prenota-form select,
.prenota-form textarea { 
    width: 100%; 
    box-sizing: border-box; 
    background: #fff; 
    border: 1px solid #B79F8A; 
    border-radius: 1px; 
    padding: 8px 10px; 
    font: inherit;
}
.prenota-form textarea { 
    min-height: 110px;
}

/* Pranzo / Cena come pulsanti */
.prenota-form .wpcf7-radio { 
    display: flex; gap: 10px;
}
.prenota-form .wpcf7-list-item { 
    margin: 0; flex: 1;
}
.prenota-form .wpcf7-list-item label { 
    position: relative; margin: 0;
}
.prenota-form .wpcf7-list-item input { 
    position: absolute; opacity: 0;
}
.prenota-form .wpcf7-list-item-label { 
    display: block; 
    text-align: center; 
    padding: 12px 8px; 
    border: 1px solid #B79F8A; 
    background: #fff; 
    border-radius: 1px; 
    font-weight: 600; 
    cursor: pointer;
}
.prenota-form input:checked + .wpcf7-list-item-label { 
    background: #364A3A; 
    color: #fff; 
    border-color: #364A3A; 
}
.prenota-form input:focus-visible + .wpcf7-list-item-label { 
    outline: 2px solid #AD5646; 
    outline-offset: 2px;
}

/* Privacy e pulsante */
.prenota-form .wpcf7-acceptance label { 
    display: flex; gap: 10px; 
    align-items: flex-start; 
    font-size: 13px; 
    font-weight: 400; 
    margin: 22px 0 24px;
}
.prenota-form .wpcf7-submit { 
    display: block; 
    width: 100%; 
    background: #AD5646; 
    color: #fff; 
    border: 0; 
    border-radius: 4px; 
    padding: 14px 24px; 
    font-weight: 600; 
    text-transform: uppercase; 
    cursor: pointer;
}
.prenota-form .nota { 
    margin: 14px 0 0; 
    font-size: 13px; 
    text-align: center; 
    color: #ab5645;
    font-weight: 600;
}

@media (max-width: 768px) {
  .prenota-form .riga { 
      grid-template-columns: 1fr !important; 
  }
}

/* Eventi ------------------------------------------------------------Eventi*/
@media (max-width: 768px){
  .group-block-event{
        padding: 10px 10px !important;
    }
}

/* Footer ------------------------------------------------------------Footer*/
footer {    
  Background: #AB5645;
  color: #fff;    
  margin-left: -3%;
  margin-right: -3%;
  width: 106%;
}
.footer a{
    color: #ccc;
}
.footer a:hover{
    color: #fff;
}
.footer__grid { 
    margin: 0 auto;
    display: flex; 
    flex-flow: row; 
    flex-wrap: wrap;
    width: 100%;}
.footer .col-100{
    width: 100%;
}
.footer__logo {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
}
.footer__logo img{
    width: 260px;
}
.footer__grid.overlap{
  background: #723124;
  padding: 1% 12% 1% 12% ;
  margin:0;
}

.footer__text-build a {
  color: #ccc;
}
.footer__text-build a:hover {
  color: #fff;
}
.footer .alignleft {
  font-size: 14px;
}
.footer .alignright {
  font-size: 14px;
}

@media (max-width: 768px){
  .footer{
        text-align: center;
    }
}

/* Articoli --------------------------------------------------------Articoli*/
.form-search {
  display: none;
}

/* Arrow --------------------------------------------------------------Arrow*/
.discoverArrowOut {
  animation: move-wheel 3s linear infinite;
}
.wp-image-125 {
  animation: arrow-down 0.5s alternate infinite;
}

/* Animation on scroll ---------------------------------Animation on scroll*/
.fade {
  opacity: 0;
  transform: translateY(60px);
  transition: 1s ease-in-out;
  will-change: transform, opacity;
}
.fadeIn {
  opacity: 1;
  transform: translateY(0px);
}

/* Animation on load --------------------------------------Animation on load*/
@keyframes fade-load {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.load {
  opacity: 0;
  animation: fade-load cubic-bezier(0.385, 0.135, 0.15, 0.86) 0.8s forwards;
}

/* Arrow animation -----------------------------------------Arrow animation*/
@keyframes move-wheel {
  0% {
    opacity: 0;
    -webkit-transform: translate(-50%, -180%);
    transform: translate(-50%, -180%);
  }
  50%,
  70% {
    -webkit-transform: translate(-50%, -65%);
    transform: translate(-50%, -65%);
    opacity: 1;
  }
  100% {
    -webkit-transform: translate(-50%, 25%);
    transform: translate(-50%, 25%);
    opacity: 0;
  }
}



