/**
 * Theme Name:     Ritenz
 * Author:         37Comunicazione
 * Template:       astra
 * Text Domain:	   ritenz
 * Description:    Tema per gestione immobili.
 * Theme URI:      https://37comunicazione.it
 * Author URI:     https://37comunicazione.it
 * Version:        1.0
 */

/* HOME */
/* HEADER BTN PRENOTA - HOME */
li.btn-prenota { border: 3px solid #d7a841 !important; margin-right: 10px !important; }
li.btn-prenota:hover { background-color: #d7a841; }
li.btn-prenota a:hover { color: #fff  !important; }

@media screen and (max-width: 1024px) {
  /* I tuoi stili per schermi fino a 1024px qui */ 
	li.btn-prenota { 
		border-top: 3px solid #d7a841 !important; margin-right: 0px !important; 
		border-left: 0px !important;
		border-right: 0px !important;
		border-bottom: 0px !important;
	}
}

/* ALL */
/* HEADER BTN PRENOTA - ALL */
li.btn-prenota-all { border: 3px solid #d7a841 !important; margin-right: 10px !important; }
li.btn-prenota-all:hover { background-color:  #d7a841 !important; }
li.btn-prenota-all a:hover { color: #fff !important; }

/* BTN PRENOTA - ALL < 1024 */
@media screen and (max-width: 1024px) {
  /* I tuoi stili per schermi fino a 1024px qui */
	li.btn-prenota-all { 
		border-top: 3px solid #d7a841 !important; margin-right: 0px !important; 
		border-left: 0px !important;
		border-right: 0px !important;
		border-bottom: 0px !important;
	}
}

/* HEDER BTN EVIDENCE */
li.btn-affida { background-color: #d7a841 !important; border: 3px solid #d7a841 !important; }
li.btn-affida a { color: #fff !important; }
li.btn-affida:hover { background-color: #00000000 !important; border: 3px solid #d7a841 !important;}


/* SCROLL ON */
.scrolled li.btn-affida { background-color: #d7a841 !important; }
.scrolled li.btn-affida a { color: #fff !important; }
.scrolled li.btn-affida:hover { background-color: #ffffff00 !important; border: 3px solid #d7a841 !important; }

/* li.btn-prenota-all.scrollon { background-color: #d7a841 !important; } */
/* li.btn-prenota-all.scrollon a { color: #d7a841 !important; } */
li.btn-prenota-all.scrollon { border: 3px solid #d7a841 !important; margin-right: 10px !important; }
li.btn-prenota-all.scrollon:hover { background-color: #fff !important; }

/* HEADER CHANGE COLOR */
.header-transparent {
    transition: background-color 0.3s ease-in-out;
    z-index: 999;
}

.header-transparent.scrolled {
    background-color: #000000 !important; /* Cambia colore quando si scorre */
}

/* HEADER ALL PAGE */
.header-white {
    transition: background-color 0.3s ease-in-out;
    z-index: 999;
}

.header-white.scrolled {
    background-color: #000 !important; /* Cambia colore quando si scorre */
}

/* Quando header ha classe .scrolled, cambia l'hover dei link */
.header-white.scrolled .elementor-nav-menu li:not(.btn-affida) a.elementor-item:hover
.header-white.scrolled .elementor-nav-menu li:not(.btn-prenota) a.elementor-item:hover {
  color: #d7a841;
}


/* GLOBAL */
.ul-list {
	margin: 0;
	padding: 0;
	list-style: none;
	list-style-type: none;
}

.ul-list-taxonomy {
	list-style: none;
	list-style-type: none;
	margin: 0;
	padding: 0;
	font-family: "Roboto", Sans-serif;
    font-size: 0.9em;
    font-weight: 400;
}

.ul-list-taxonomy li {
	margin-bottom: -5px;
}

.two-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* spazio tra le colonne */
}

.two-columns > .elementor-element {
  flex: 1 1 calc(50% - 10px); /* Due colonne con spazio tra */
  box-sizing: border-box;
}

/* ICONE DORATE */
.cls-1 {
    fill: #d7a841 !important;
    stroke-width: 0px;
}

/* GALLERY */
  .gallery-item.hidden {
    display: none;
  }

  .show-all-images {
    margin-top: 20px;
	font-family: 'Roboto';
	font-weight: 400;
    display: block;
    cursor: pointer;
    background-color: #d7a841 !important;
    color: #ffffff !important;
    padding: 15px 20px;
    border: none;
    border-radius: 0px;
    font-size: 1em;
  }

  .show-all-images:hover {
    background-color: #000000;
  }


/* FOOTER */
a.footer-link,
a.footer-link:active,
a.footer-link:focus,
a.footer-link:visited { color: #fff; }

a.footer-link:hover { color: #D7A841; }