@media (min-width: 1400px) {
  .brand-navbar {
    position: absolute;
    left: 2rem;
  }
}

@media (min-width: 1400px) {
  .button-navbar {
    position: absolute;
    right: 2rem;
  }
}

@font-face {
  font-family: 'Bambino New';
  src: local('Bambino New Light'), local('Bambino-New-Light'),
      url('../fonts/BambinoNew-Light.woff2') format('woff2'),
      url('../fonts/BambinoNew-Light.woff') format('woff'),
      url('../fonts/BambinoNew-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

/*Loader page animation*/
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #2ab436;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*Loader item animation*/
.loader-item-container{
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-item{
  width: 20rem;
  height: 20rem;
  animation: loadingItem 0.5s linear infinite;
}

@keyframes loadingItem{
  0% {
    background-color: white;
  }
  100%{
    background-color: rgb(114, 114, 114);
  }
}



.header-homepage {
  background: url("../img/massimo-virgilio-byfh3kHn12Y-unsplash.jpg?h=fcf6596392561a1faf5223ebd219f658") center / cover no-repeat;
  position: relative;
  border-bottom-right-radius: 2rem;
  border-bottom-left-radius: 2rem;
}

.header-homepage-min {
  position: relative;
}

.header-servizi {
  background: url("../img/massimo-virgilio-byfh3kHn12Y-unsplash.jpg?h=fcf6596392561a1faf5223ebd219f658") center / cover no-repeat;
  position: relative;
}

.header-container {
  padding-top: 5rem;
  padding-bottom: 8rem;
  color: white;
  position: relative;
  font-family: 'Open Sans';
}

#headerNascosto {
  display: none;
}

/* Stile per l'animazione dell'header */
@keyframes slideDown {
  from {
      transform: translateY(-30%);
  }
  to {
      transform: translateY(0);
  }
}

#headerNascosto.show {
  display: block;
  animation: slideDown 0.5s linear;
}

@keyframes sectionSlideDown {
  from {
      transform: translateY(-15%);
  }
  to {
      transform: translateY(0);
  }
}

#sectionSlideDown.show {
  display: block;
  animation: sectionSlideDown 0.5s linear;
}

#search1 {
  display: none;
}

#search1-mobile {
  margin-bottom: 1rem;
  display: none;
}

#search2 {
  display: none;
}


#search2-mobile {
  margin-bottom: 1rem;
  display: none;
}

#search3 {
  display: none;
}

#search3-mobile {
  margin-bottom: 1rem;
  display: none;
}

.form-search-bar {
  padding: 2rem;
  width: 100%;
  height: 6rem;
  background-color: rgba(255,255,255,0.59);
  border-radius: 1rem;
  text-align: center;
}

.form-search-bar-1 {
  padding: 2rem;
  width: 100%;
  height: 6rem;
  background-color: rgba(255,255,255,0.59);
  border-radius: 1rem;
  text-align: center;
}

@media (max-width: 991px) {
  .form-search-bar-1 {
    width: 100%;
    height: 10rem;
    display: inline-block !important;
    background-color: rgba(255,255,255,0.59);
    border-radius: 1rem;
    align-items: center;
  }
}

.form-search-bar-min {
  padding: 2rem;
  width: 100%;
  height: 6rem;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 1rem;
  text-align: center;
}


@media (max-width: 991px) {
  .form-search-bar {
    width: 100%;
    height: auto;
    display: inline-block !important;
    background-color: rgba(255,255,255,0.59);
    border-radius: 1rem;
    align-items: center;
  }
}

@media (max-width: 991px) {
  .form-search-bar-min {
    width: 100%;
    height: auto;
    display: inline-block !important;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 1rem;
    align-items: center;
  }
}

.header-container-1 {
  padding-top: 2rem;
  padding-bottom: 2rem;
  color: white;
  position: relative;
  font-family: 'Open Sans';
}

@media (max-width: 991px) {
  .header-container {
    text-align: center;
  }
}

.filter-header {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  border-bottom-right-radius: 2rem;
  border-bottom-left-radius: 2rem;
}

/*discount banner*/
.discount-banner {
  font-family: 'Open Sans';
  background: url("/assets/img/cool-background.svg") center / cover no-repeat;
  border-radius: 1rem;
  padding: 1rem;
  position: relative;
}

.button-discover-banner {
  position: absolute !important;
  right: 1rem;
  top: 1rem;
}


@media (max-width: 991px) {
  .search-bar {
    text-align: center;
    padding-left: 2.5rem;
  }
}

.search-input {
  width: 100% !important;
  font-size: 1rem;
  position: relative;
  color: black;
  font-family: 'Open Sans';
  border-radius: 1rem;
  
}

@media (max-width: 991px) {
  .search-input2 {
    margin-bottom: 1rem;
  }
}

@media (max-width: 991px) {
  .search-input {
    margin-bottom: 1rem;
  }
}

/*  */

.dropdownCity {
  display: none;
  position: absolute;
  width: 300px;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  padding: 0.5rem;
  z-index: 1;
  animation: fade-in 0.3s ease;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.dropdownCity a {
  display: block;
  padding: 5px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.dropdownCity a:hover {
  background-color: #e0e0e0;
}

/*  */

.dropdownHeader {
  position: absolute;
  left: 0;
  top: 75%;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: rgb(255,255,255);
  /*border: 1px solid #ccc;*/
  border-top: none;
  display: none;
  z-index: 2;
  color: black;
  border-radius: 1rem;
  height: auto;
  overflow-y: scroll;
  max-height: 300px;
}

/* Dropdown Container */
.service-dropdown {
  position: absolute;
  left: 0;
  top: 75%;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  background-color: rgb(255,255,255);
  border-top: none;
  display: none;
  z-index: 2;
  color: black;
  border-radius: 1rem;
  height: auto;
  overflow-y: scroll;
  max-height: 300px;
}

.service-dropdown-item {
  padding: 1rem;
  cursor: pointer;
  transition: 0.2s all ease-in-out;
  background-color: white;
  margin-bottom: 0.2rem;
}

.service-dropdown-item:hover {
  background-color: #e0e0e0;
  border-radius: 0 0 1rem 1rem;
}



@media (max-width: 991px) {
  .dropdownHeader {
    top: 60%;
  }

}

.dropdownHeader li {
  padding: 1.5rem;
  cursor: pointer;
  transition: 0.2s all ease-in-out;
  background-color: white;
  margin-bottom: 0.2rem;
}

.dropdownHeader li:hover {
  background-color: #e0e0e0;
  border-radius: 0 0 1rem 1rem;
}

#submit-btn {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
  font-family: 'Open Sans';
  transition: 0.2s ease-out all;
}

#submit-btn-reject {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: #ff0000;
  color: white;
  border: none;
  cursor: pointer;
  font-family: 'Open Sans';
  transition: 0.2s ease-out all;
}

#submit-btn2 {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: rgb(222,29,17);
  color: white;
  border: none;
  cursor: pointer;
  font-family: 'Open Sans';
  transition: 0.2s ease-out all;
}

#submit-btn3 {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: rgb(253, 83, 61);
  color: white;
  border: none;
  cursor: pointer;
  font-family: 'Open Sans';
  transition: 0.2s ease-out all;
}

#submit-btn3:hover {
  background-color: #ff0000;
  border-radius: 1rem;
}

#submit-btn2:hover {
  background-color: #ff0000;
  border-radius: 1rem;
}

#submit-btn:hover {
  background-color: #45a049;
  border-radius: 1rem;
}


#submit-btn-reject:hover {
  background-color: #ff0f00;
  border-radius: 1rem;
}

#submit-btn4 {
  padding: 10px 20px;
  font-size: 1rem;
  background-color: rgb(248, 174, 62);
  color: white;
  border: none;
  cursor: pointer;
  font-family: 'Open Sans';
  transition: 0.2s ease-out all;
}

#submit-btn4:hover {
  background-color: #ffae00;
  border-radius: 1rem;
}

/* necessario per la corretta visualizzazione delle icone */

.container-1 {
  width: 95%;
  vertical-align: middle;
  white-space: nowrap;
  position: relative;
}

.container-1 .icon {
  position: absolute;
  top: 19%;
  right: 5%;
  z-index: 1;
}

.class-raggio {
  /*background-color: rgb(255,255,255);*/
  color: black;
  border-radius: 1rem;
  width: auto;
  margin-bottom: 0.3rem;
}

/* SECTION PAGINA SERVIZI - RISULTATI */

#myRange {
  -webkit-appearance: none;
  width: 100%;
  height: 20px;
  background: rgba(255,255,255,0);
  outline: none;
  -webkit-transition: .2s;
  transition: opacity .2s;
  border: none;
}

#myRange:hover {
  opacity: 1;
}

#myRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #4CAF50;
  cursor: pointer;
  border-radius: 50%;
}

#myRange::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #4CAF50;
  cursor: pointer;
  border-radius: 50%;
}

.main-item-image {
  width: 100%;
  max-height: 30rem;
}

.main-item-image img {
  width: auto;
  /*height: 25rem;*/
  border-radius: 1rem;
}

.second-item-image {
  border-radius: 1rem;
}

.info-item {
  margin-left: 1rem;
}

.banner1 {
  background-color: #2ea6b7;
  color: white;
  padding: 2rem;
  font-family: 'Open Sans';
  font-size: 1.2rem;
  border-radius: 1rem;
  text-align: center;
}

.button1 {
  background-color: white;
  color: black;
  transition: 0.2s ease-out all;
  border-radius: 1rem !important;
}

.button2 {
  background-color: #2ea6b7;
  color: #ffffff;
  transition: 0.2s ease-out all;
  border-radius: 1rem !important;
}

.button1:hover {
  background-color: #217b88;
  color: white;
}

.button2:hover {
  background-color: #217b88;
  color: white;
}

.back-button {
  font-size: 3rem;
  color: #45a049;
  margin-top: 3rem;
}

.button3 {
  background-color: #2ea6b7;
  color: white;
}

.button3:hover {
  background-color: #45a049;
  color: white;
}

@media (max-width: 767px) {
  .responsive-btn-navbar {
    margin-top: 0.5rem;
    margin-left: -0.2rem;
  }
}


.messaggio-sconti {
  color: #ffffff;
}

.box-punteggio {
  background-color: #1dab70;
  color: white;
  padding: 0.5rem;
  border-radius: 1rem;
  font-size: 1.1rem;
}

.box-punteggio2 {
  background-color: #de352a;
  color: white;
  padding: 0.5rem;
  border-radius: 1rem;
  font-size: 1.1rem;
}

.separatore {
  width: 1px;
  height: 100%;
  background-color: black;
  margin-left: calc(50% - 0.5px);
  /*color: black;*/
}

.login-buttons {
  border-radius: 0px;
  width: 100%;
  border: 2px solid #000000 !important;
  transition: all 0.5s ease-out;
}

.login-buttons:hover {
  border-radius: 0.5rem;
  width: 100%;
  border: 2px solid #4caf50 !important;
  background-color: #4caf50;
  color: white;
}

#discount-button {
  background-color: #2ea6b7;
  color: white;
  margin-top: 3rem;
  transition: 0.2s ease-out all;
}

#discount-button:hover {
  background-color: #2ea6b7;
  color: white;
  margin-top: 3rem;
  border-radius: 1rem;
}

/*DROPDOWN SEARCH BY SERVIZI*/
/* Custom Dropdown Container */
.custom-dropdown-servizi {
  position: relative;
  width: 100%;
  margin-bottom: 1.5rem;
}

/* Dropdown Select Button */
.custom-dropdown-servizi-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background-color: #f1f1f1;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 1rem;
  color: #333;
  cursor: pointer;
  transition: background-color 0.3s;
  position: relative;
  width: 100%;
}

.custom-dropdown-servizi-select:hover {
  background-color: #e6e6e6;
}

.custom-dropdown-icon {
  width: 16px;
  height: 16px;
  fill: #999;
}

/* Dropdown Options */
.custom-dropdown-servizi-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-height: 250px;
  overflow-y: auto;
  width: 100%;
  display: none;
  z-index: 100;
}

/* Dropdown Search Input */
.custom-search-servizi-input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #333;
}

.custom-search-servizi-input:focus {
  outline: none;
  border-color: #0056b3;
}

/* Dropdown Options List */
.custom-dropdown-option {
  padding: 0.75rem;
  font-size: 1rem;
  color: #333;
  cursor: pointer;
  transition: background-color 0.3s;
}

.custom-dropdown-option:hover {
  background-color: #f1f1f1;
}




/*DROPDOWN SEARCH BY CITY*/
.custom-dropdown {
  position: relative;
}

.custom-dropdown-city {
  position: relative;
}

.custom-dropdown-city-filter {
  position: relative;
}

/* TODO:: fixare solo per search-bar search-results */
/*@media (max-width: 1199px) {
  .custom-dropdown {
    margin-left: calc(50% - 100px);
  }

}
*/
.custom-dropdown-city-select {
  padding: 0.5rem 2.5rem 0.5rem 2rem;
  background-color: #ffffff; /* Green background color */
  color: #1c1c1c; /* White text color */
  width: auto;
  border-bottom: 1px solid rgb(0, 0, 0);
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  position: relative;
  border-radius: 5px; /* Add border radius */
  font-family: 'Open Sans'; /* Change font family */
}

.custom-dropdown-select-city-filter {
  padding: 0.5rem 0.5rem 0.5rem 0.5rem;
  background-color: #ffffff; /* Green background color */
  color: #1c1c1c; /* White text color */
  width: auto;
  border-bottom: 1px solid rgb(0, 0, 0);
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  position: relative;
  border-radius: 5px; /* Add border radius */
  font-family: 'Open Sans'; /* Change font family */
}

.custom-dropdown-select {
  padding: 0.5rem 2.5rem 0.5rem 2rem;
  background-color: #ffffff; /* Green background color */
  color: #1c1c1c; /* White text color */
  width: auto;
  border: 1px solid black;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  position: relative;
  border-radius: 5px; /* Add border radius */
  font-family: 'Open Sans'; /* Change font family */
}

.custom-dropdown-icon {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
}

.custom-dropdown-options {
  position: absolute;
  background-color: #fff;
  max-height: 0;
  overflow-y: auto;
  overflow-x: hidden; /* Remove horizontal scrollbar */
  width: 100%;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  transition: max-height 0.3s ease-in-out;
  display: block;
  border-radius: 5px; /* Add border radius */
  font-family: 'Open Sans'; /* Change font family */
  z-index: 1;
}

.custom-search-input {
  width: 100%;
  padding: 12px;
  border: none;
  border-bottom: 1px solid #ccc;
  outline: none;
  font-size: 16px;
}

.custom-dropdown-option {
  padding: 12px;
  cursor: pointer;
  color: #333;
  transition: background-color 0.3s ease-in-out;
}

.custom-dropdown-option:hover {
  background-color: #f0f0f0;
}

.custom-dropdown-select.active {
  border: 1px solid #27ae60; /* Darker green border color when active */
}

.custom-dropdown-options.show {
  max-height: 200px;
}

.custom-submit-button-container {
  text-align: center;
  margin-top: 10px;
}

.custom-submit-button {
  background-color: #2ecc71; /* Green background color */
  color: #fff; /* White text color */
  border: none;
  padding: 0.5rem 1rem 0.5rem 1rem;
  cursor: pointer;
  border-radius: 5px;
  font-family: 'Open Sans'; /* Change font family */
  transition: all 0.3s ease-in-out;
}

.custom-submit-button:hover {
  background-color: #27ae60; /* Darker green color on hover */
}


/*form upload image*/

#imagePickerContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.image-picker {
  border: 2px solid #2ecc71;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s;
  position: relative;
  width: 200px;
}

.image-picker:hover {
  transform: scale(1.05);
}

.inputImgPicker {
  display: none;
}

.label-img-picker {
  display: block;
  padding: 15px;
  cursor: pointer;
  background-color: #4caf50;
  color: #fff;
  border-radius: 10px 10px 0 0;
  transition: background-color 0.3s;
}

.label-img-picker:hover {
  background-color: rgb(30, 179, 92);
}

.img-picker {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 10px;
  display: none; /* Hide the image initially */
}

.remove-btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.remove-btn {
  color: #e74c3c;
  cursor: pointer;
  font-weight: bold;
  background: none;
  border: none;
  border-radius: 50%;
  font-size: 1.5em;
  line-height: 1em;
  transition: color 0.3s;
}

.remove-btn:hover {
  color: #c0392b;
}

#addBtn {
  background-color: #4caf50;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
  transition: background-color 0.3s;
}

#addBtn:hover {
  background-color: rgb(30, 179, 92);
}

.message {
  margin-top: 20px;
  font-size: 14px;
}



/* animation pulse */
.animation-pulse{
  transition: 0.2s ease-in-out all;
}

.animation-pulse:hover{
  transform: scale(1.05);
}


/* VISUALIZE ITEM STYLE */
.box-visualize-item{
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: 0.2s ease-in-out all;
}

.dropdown-raggio{
  padding: 0.5rem 0.5rem 0.5rem 0.5rem;
  background-color: #ffffff; /* Green background color */
  color: #1c1c1c; /* White text color */
  width: 100%;
  overflow-y: scroll;
  border: none;
  border-bottom: 1px solid rgb(0, 0, 0);
  border-radius: 5px; /* Add border radius */
  font-family: 'Open Sans'; /* Change font family */
}

.dropdown-raggio-luoghi{
  padding: 0.5rem 0.5rem 0.5rem 0.5rem;
  background-color: #ffffff; /* Green background color */
  color: #1c1c1c; /* White text color */
  width: 30%;
  overflow-y: scroll;
  border: none;
  border-bottom: 1px solid rgb(0, 0, 0);
  border-radius: 5px; /* Add border radius */
  font-family: 'Open Sans'; /* Change font family */
}

.option-dropdown-raggio{
  font-size: 1.2rem;
}

.requestedPoints{

  width: 8rem;
  padding: 1rem;
  border-radius: 1rem;
  text-align: center;
  font-size: 2rem;
  color: black;
}

@media screen and (max-width: 767px) {
  .marginDenominazioneVisualize{
  margin-top: 3rem;
}
}
