@charset "UTF-8";
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

ol,
ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.bg-primary {
  background-color: #292c4d;
}

.text-primary {
  color: #292c4d;
}

.bg-gray {
  background-color: #979797;
}

.text-gray {
  color: #979797;
}

.text-black {
  color: #000;
}

.text-white {
  color: #fff;
}

.montserrat-thin {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

.montserrat-extralight {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

.montserrat-light {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.montserrat-regular {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.montserrat-medium {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.montserrat-semibold {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.montserrat-bold {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.montserrat-extrabold {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

.montserrat-black {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
}

h1 {
  font-size: 3.052rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.441rem;
  line-height: 1.2;
}

h3 {
  font-size: 2rem;
  line-height: 1.2;
}

h1,
h2,
h3 {
  margin-bottom: 1rem;
}

p {
  font-size: 1.15rem;
  line-height: 1.55;
}

small {
  font-size: 0.8rem;
  line-height: 1.4;
  font-style: italic;
  display: inline-block;
}

a {
  text-decoration: none;
}

body {
  color: #292c4d;
}

@media screen and (max-width: 992px) {
  .desktop {
    display: none !important;
  }
}

.mobile {
  display: none;
}
@media screen and (max-width: 992px) {
  .mobile {
    display: block !important;
  }
}

.flex {
  display: flex;
}

.flex-row {
  flex-direction: row;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.align-centers {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-05 {
  gap: 0.5rem;
}

.gap-1 {
  gap: 1rem;
}

.gap-2 {
  gap: 2rem;
}

.gap-3 {
  gap: 3rem;
}

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.px-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.page-hero-top-shadow {
  box-shadow: inset 0 10px 35px -10px rgba(0, 0, 0, 0.2);
}

input,
textarea {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.container {
  max-width: 1399px;
  margin: auto;
  padding: 0 1.5rem;
}
.container .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media screen and (max-width: 767px) {
  .container .row {
    grid-template-columns: 1fr;
  }
}

.grid-tpl-1 {
  grid-template-columns: 1fr !important;
}

section {
  padding: 2rem 0;
}

img {
  max-width: 100%;
}

.c-btn {
  display: inline-block;
  text-transform: uppercase;
  color: #fff;
  border: solid 2px #67a9dd;
  background-color: #67a9dd;
  border-radius: 3rem;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  cursor: pointer;
}
.c-btn:hover {
  border: solid 2px #4496d5;
  background-color: #4496d5;
}
@media screen and (max-width: 767px) {
  .c-btn {
    font-size: 1rem;
  }
}
.c-btn.outline {
  color: #292c4d;
  background-color: transparent;
}
.c-btn.outline:hover {
  border: solid 2px #292c4d;
}

.select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.select-wrapper select {
  appearance: none;
  -webkit-appearance: none; /* Safari */
  -moz-appearance: none;
  width: 100%;
  padding: 0.5rem 0.5rem;
  border: 1px solid #292c4d;
  border-radius: 12px;
  background: white;
  color: #292c4d;
}

/* Freccia personalizzata */
.select-wrapper::after {
  content: "▼";
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 12px;
  color: #292c4d;
}

.whatsapp-wrapper {
  position: fixed;
  right: 3%;
  bottom: 3%;
}
.whatsapp-wrapper a {
  display: block;
  width: 60px;
}

.scopri-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-content: end;
  color: #292c4d;
}
.scopri-btn a {
  font-size: 1.2rem;
  color: #292c4d;
}
.scopri-btn img {
  height: 1.5rem;
}

header {
  padding: 2rem 0;
}
header .logo-wrapper {
  width: 200px;
}
@media screen and (max-width: 767px) {
  header .logo-wrapper {
    width: 150px;
  }
}
header .burger-ico-wrapper {
  width: 25px;
}
header .menu-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 250px;
  background-color: #fff;
  z-index: 9;
  display: none !important;
}
header .menu-sidebar ul {
  flex-direction: column;
  gap: 0;
  align-items: start;
  margin-top: 2rem;
}
header .menu-sidebar ul li {
  width: 100%;
  border-bottom: solid 1px #e1e1e1;
}
header .menu-sidebar ul li a {
  display: block;
  padding: 1rem 1rem;
}
header .menu-sidebar .time-ico-wrapper {
  position: absolute;
  top: 9px;
  right: 8px;
}
header:after {
  content: "";
  background-color: #000;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  top: 0;
  left: 0;
  position: fixed;
  z-index: 8;
  display: none;
}
.hero {
  background-color: #edf6fe;
}
.hero .container .hero-content {
  min-height: 530px;
  position: relative;
}
@media screen and (max-width: 992px) {
  .hero .container .hero-content {
    min-height: 350px;
  }
}
.hero .container .hero-content h1 {
  padding-top: 3rem;
  margin-top: 0;
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .hero .container .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
}
.hero .container .hero-content .hero-image-wrapper {
  position: absolute;
  bottom: 2rem;
}
.hero.internal .hero-content {
  min-height: auto;
  padding: 5rem 0;
}
@media screen and (max-width: 767px) {
  .hero.internal .hero-content .hero-internal-content-wrapper h1,
  .hero.internal .hero-content .hero-internal-content-wrapper p {
    padding: 0 1rem;
  }
}
.hero.internal .hero-content .hero-internal-content-wrapper h1 {
  padding: 0;
}
@media screen and (max-width: 767px) {
  .hero.internal .hero-content .hero-internal-content-wrapper h1 {
    padding: 0 1rem;
    padding-top: 1rem;
  }
}
@media screen and (max-width: 767px) {
  .hero.internal .hero-content .hero-internal-content-wrapper p {
    padding-bottom: 1rem;
  }
}

.company-values-main {
  background-color: #fafafa;
}
.company-values-main .company-values-wrapper {
  padding: 2rem 0;
}
@media screen and (max-width: 767px) {
  .company-values-main .company-values-wrapper {
    flex-direction: column;
    gap: 1rem;
  }
}
.company-values-main .company-values-wrapper .company-value-wrapper {
  padding: 0 1.5rem;
}
@media screen and (max-width: 992px) {
  .company-values-main .company-values-wrapper .company-value-wrapper {
    flex-direction: column;
  }
}
@media screen and (max-width: 767px) {
  .company-values-main .company-values-wrapper .company-value-wrapper {
    flex-direction: row;
  }
}
.company-values-main .company-values-wrapper .company-value-wrapper .company-value-title {
  margin-bottom: 0.25rem;
}
.company-values-main .company-values-wrapper .company-value-wrapper .company-value-subtitle {
  font-size: 0.85rem;
  line-height: 1.2rem;
}

.tags-wrapper {
  gap: 0.5rem;
  justify-content: center;
}
.tags-wrapper .tag {
  font-size: 0.55rem;
  padding: 0.6rem 3rem;
  border-radius: 2rem;
  background-color: #67a9dd;
  color: #fff;
  text-transform: uppercase;
}
@media screen and (max-width: 767px) {
  .tags-wrapper .tag {
    padding: 0.3rem 0.8rem;
  }
}
.tags-wrapper .tag.green {
  background-color: #4eeb78;
}

.promo-section .promos-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media screen and (max-width: 1199px) {
  .promo-section .promos-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 767px) {
  .promo-section .promos-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }
}
.promo-section .promos-wrapper .promo-card {
  background: linear-gradient(to bottom, #ffffff 0%, #ffffff 35%, #f3f3f3 100%);
  padding: 1.25rem;
}
@media screen and (max-width: 767px) {
  .promo-section .promos-wrapper .promo-card {
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 15%, #f3f3f3 100%);
    padding: 1.25rem 1rem;
  }
}
.promo-section .promos-wrapper .promo-card .promo-picture {
  width: 300px;
  margin: auto;
}
@media screen and (max-width: 767px) {
  .promo-section .promos-wrapper .promo-card .promo-picture {
    width: 200px;
  }
}
.promo-section .promos-wrapper .promo-card .promo-infos-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.promo-section .promos-wrapper .promo-card .promo-infos-wrapper .promo-brand {
  color: #979797;
  font-size: 1.75rem;
}
.promo-section .promos-wrapper .promo-card .promo-infos-wrapper .promo-model {
  font-size: 3.5rem;
  text-transform: uppercase;
}
.promo-section .promos-wrapper .promo-card .promo-infos-wrapper .promo-icos {
  justify-content: center;
  gap: 1rem;
}
.promo-section .promos-wrapper .promo-card .promo-infos-wrapper .promo-icos .promo-ico .promo-ico-label {
  text-transform: uppercase;
  font-size: 0.6rem;
}
.promo-section .promos-wrapper .promo-card .promo-infos-wrapper .promo-price {
  font-size: 3.75rem;
}
.promo-section .promos-wrapper .promo-card .promo-infos-wrapper .promo-price sub {
  font-size: 1rem;
}
@media screen and (max-width: 767px) {
  .promo-section .promos-wrapper .promo-card .promo-infos-wrapper .promo-detail {
    font-size: 0.8rem;
  }
}
.promo-section .promos-wrapper .promo-card .promo-infos-wrapper .c-btn {
  flex: none;
}

.banner-section .banner-content-wrapper {
  position: relative;
}
.banner-section .banner-content-wrapper .banner-content-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: start;
  align-items: center;
}
.banner-section .banner-content-wrapper .banner-content-text > div {
  padding: 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media screen and (max-width: 767px) {
  .banner-section .banner-content-wrapper .banner-content-text > div {
    gap: 2rem;
  }
}
.banner-section .banner-content-wrapper .banner-content-text > div h3 {
  margin-bottom: 0;
}

.magazine-section .section-subtitle {
  font-size: 2rem;
}
@media screen and (max-width: 767px) {
  .magazine-section .section-subtitle {
    text-align: center;
  }
}
.magazine-section .magazines-wrapper {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media screen and (max-width: 767px) {
  .magazine-section .magazines-wrapper {
    grid-template-columns: repeat(1, 1fr);
  }
}
.magazine-section .magazines-wrapper .magazine-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.magazine-section .magazines-wrapper .magazine-content-wrapper .magazine-title {
  font-size: 1.4rem;
  margin-bottom: 0;
}

.magazine-post-section .row {
  grid-template-columns: 3fr 1fr;
}
@media screen and (max-width: 992px) {
  .magazine-post-section .row {
    display: block;
  }
}
.magazine-post-section .row h1 {
  margin-bottom: 3rem;
  font-size: 2.5rem;
}
.magazine-post-section .row .magazine-picture {
  width: 60%;
}
@media screen and (max-width: 992px) {
  .magazine-post-section .row .magazine-picture {
    width: 100%;
  }
}
@media screen and (max-width: 992px) {
  .magazine-post-section .row .ultimi-articoli-sidebar h3 {
    margin-top: 2rem;
  }
}

.last-magazines-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  border-bottom: solid 1px #dddddd;
  padding: 0.7rem 0;
  color: #292c4d;
}
.last-magazines-card .last-magazines-picture {
  width: 90px;
}
.last-magazines-card .last-magazines-infos .last-magazines-pub-date {
  font-size: 0.85rem;
}

footer {
  background-color: #f3f3f3;
  padding: 2rem 0;
  font-size: 0.85rem;
  line-height: 1.3rem;
  color: #979797;
}
footer a {
  color: #979797;
}
footer .logo-wrapper {
  width: 170px;
}
footer .footer-content-wrapper-top,
footer .footer-content-wrapper-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media screen and (max-width: 767px) {
  footer .footer-content-wrapper-top,
  footer .footer-content-wrapper-bottom {
    grid-template-columns: repeat(1, 1fr);
  }
}
footer .footer-content-wrapper-top > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
footer .footer-content-wrapper-bottom {
  margin-top: 1.3rem;
  padding-bottom: 1rem;
  border-bottom: solid 1px #707070;
}

.list-section .row {
  grid-template-columns: 1fr 5fr;
}
@media screen and (max-width: 992px) {
  .list-section .row {
    grid-template-columns: 1fr;
  }
}
.list-section .row .filters-wrapper h3 {
  text-transform: uppercase;
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}
.list-section .row .filters-wrapper .filter-wrapper {
  margin-bottom: 1.5rem;
}
.list-section .row .filters-wrapper .filter-wrapper .filter-title {
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
}
.list-section .row .filters-wrapper .filter-wrapper .filter-checkbox {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.6rem;
}
.list-section .row .filters-wrapper .filter-wrapper .filter-checkbox label {
  text-transform: uppercase;
  font-size: 0.85rem;
}
.list-section .row .filters-wrapper .filter-wrapper .filter-checkbox input {
  margin: 0;
}
.list-section .row .promo-section .promos-wrapper {
  gap: 2rem;
}
@media screen and (max-width: 1199px) {
  .list-section .row .promo-section .promos-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 767px) {
  .list-section .row .promo-section .promos-wrapper {
    grid-template-columns: 1fr;
  }
}
.list-section .row .promo-section .promos-wrapper .promo-card .promo-picture {
  width: 250px;
}
.list-section .row .promo-section .promos-wrapper .promo-card .promo-infos-wrapper .promo-brand {
  font-size: 1.3rem;
}
.list-section .row .promo-section .promos-wrapper .promo-card .promo-infos-wrapper .promo-model {
  font-size: 3rem;
}
.list-section .row .promo-section .promos-wrapper .promo-card .promo-infos-wrapper .promo-tags .promo-tag {
  padding: 0.5rem 1.5rem;
}
.list-section .row .promo-section .promos-wrapper .promo-card .promo-infos-wrapper .promo-price {
  font-size: 3rem;
}
.list-section .row .promo-section .promos-wrapper .promo-card .promo-infos-wrapper .promo-detail {
  font-size: 0.9rem;
}
.list-section .row .promo-section .promos-wrapper .promo-card .promo-infos-wrapper .c-btn {
  font-size: 1rem;
}

.detail-page h3 {
  font-size: 1.6rem;
}
.detail-page .detail-info-section {
  position: relative;
}
.detail-page .detail-info-section:after {
  content: "";
  width: 100%;
  height: 140px;
  background-color: #edf6fe;
  position: absolute;
  top: 0;
  left: 0;
}
.detail-page .detail-info-section .col {
  position: relative;
  z-index: 1;
}
.detail-page .detail-info-section .car-picture {
  width: 85%;
  margin: auto;
}
.detail-page .detail-info-section .car-brand {
  font-size: 2.3rem;
}
.detail-page .detail-info-section .car-model {
  font-size: 5rem;
  margin-top: 0.5rem;
}
.detail-page .detail-info-section .car-model_v {
  font-size: 2.5rem;
  margin-top: 1.85rem;
}
.detail-page .detail-info-section .car-tags {
  justify-content: start;
  margin-top: 1.85rem;
}
.detail-page .detail-info-section .car-tags .car-tag {
  padding: 0.6rem 2rem;
}
.detail-page .detail-options-section .row {
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media screen and (max-width: 1199px) {
  .detail-page .detail-options-section .row {
    grid-template-columns: repeat(1, 1fr);
  }
}
.detail-page .detail-options-section .row .opts {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.detail-page .detail-options-section .row .opts .opt {
  background-color: #f3f3f3;
  color: #000;
  font-size: 1rem;
  padding: 0.7rem 0.5rem;
  width: 100px;
  border-radius: 9999px;
  text-align: center;
  cursor: pointer;
}
.detail-page .detail-options-section .row .opts .opt:hover, .detail-page .detail-options-section .row .opts .opt.selected {
  background-color: #67a9dd;
  color: #fff;
}
.detail-page .detail-form-section .row {
  grid-template-columns: 1.4fr 1fr;
}
@media screen and (max-width: 992px) {
  .detail-page .detail-form-section .row {
    grid-template-columns: repeat(1, 1fr);
  }
}
.detail-page .detail-form-section .car-price {
  font-size: 6rem;
  margin: 2rem 0;
}
.detail-page .detail-form-section .car-price sub {
  font-size: 1.5rem;
  margin-left: 0.85rem;
}
.detail-page .detail-form-section .car-opts-wrapper {
  padding-left: 2rem;
  list-style: disc;
  font-size: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.detail-page .detail-form-section .disclaimer {
  font-size: 1.3rem;
  line-height: 1;
  margin-top: 2rem;
}
.detail-page .detail-form-section #detail-page-form {
  border: solid 1px #f3f3f3;
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.detail-page .detail-form-section #detail-page-form input:not([type=checkbox]):not([type=submit]) {
  width: 100%;
  background-color: #f5f5f5;
  border: none;
  font-size: 1.2rem;
  padding: 1rem 1rem;
  box-sizing: border-box;
}
.detail-page .detail-form-section #detail-page-form input:not([type=checkbox]):not([type=submit])::-moz-placeholder {
  color: #979797;
}
.detail-page .detail-form-section #detail-page-form input:not([type=checkbox]):not([type=submit])::placeholder {
  color: #979797;
}
.detail-page .detail-form-section #detail-page-form .privacy-checkbox {
  display: flex;
  gap: 0.3rem;
}
.detail-page .detail-form-section #detail-page-form .privacy-checkbox label {
  font-size: 0.75rem;
}

.toggle-container {
  display: flex;
  position: relative;
  width: 250px;
  height: 60px;
  border-radius: 50px;
  background-color: #f0f0f0; /* Colore di sfondo del contenitore */
  overflow: hidden;
  margin-bottom: 1rem;
}

.toggle-container input[type=radio] {
  display: none;
}

.toggle-label {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 50px;
  z-index: 2;
  font-size: 16px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: #292c4d; /* Colore chiaro per lo slider */
  border-radius: 50px;
  z-index: 1;
  transition: transform 0.3s ease;
}

#business-toggle:checked ~ .toggle-label.business-label {
  color: white;
}

#privati-toggle:checked ~ .toggle-slider {
  transform: translateX(100%);
}

#privati-toggle:checked ~ .toggle-label.privati-label {
  color: white;
}

#privati-toggle:checked ~ .toggle-label.business-label {
  color: #292c4d; /* Colore scuro per il testo non selezionato */
}

#business-toggle:checked ~ .toggle-label.privati-label {
  color: #292c4d; /* Colore scuro per il testo non selezionato */
}

@media screen and (max-width: 767px) {
  .toggle-container-col {
    display: flex;
    justify-content: center;
  }
}
/* Style base per il contenitore del slider */
.slider-container {
  width: 65%;
  margin: 0 auto;
  text-align: center;
}

.slider-labels {
  margin: 0 auto;
  width: 68%;
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-weight: bold;
  color: #292c4d; /* Blu scuro */
  font-size: 25px;
}

.slider-title {
  margin-bottom: 2rem;
}

.custom-slider {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  width: 100%;
  height: 25px;
  background: transparent;
  margin: 0;
  background-image: linear-gradient(to right, #292c4d var(--value, 0%), #f0f0f0 var(--value, 0%));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  border-radius: 8px;
}

.custom-slider:focus {
  outline: none;
}

/* Chrome, Safari, Opera, Edge */
.custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f0f0f0;
  border: none;
  box-shadow: 0 0 0 4px rgb(255, 255, 255);
  z-index: 10;
  position: relative;
}

/* Firefox */
.custom-slider::-moz-range-thumb {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #f0f0f0;
  border: none;
  box-shadow: 0 0 0 4px rgb(255, 255, 255);
}

@media screen and (max-width: 767px) {
  .slider-container {
    width: 90%;
  }
  .slider-labels {
    width: 90%;
  }
}
/* Stile base per il checkbox */
.hidden-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.custom-checkbox-label {
  display: inline-block;
  cursor: pointer;
  position: relative;
  padding-left: 20px;
  line-height: 20px;
}

.custom-checkbox-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border: 1px solid #505050;
  background-color: white;
  border-radius: 3px;
}

.hidden-checkbox:checked + .custom-checkbox-label::before {
  background-color: #292c4d;
  border-color: #292c4d;
}

.hidden-checkbox:checked + .custom-checkbox-label::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 45%;
  width: 3px;
  height: 6px;
  border: solid white !important;
  border-width: 0 2px 2px 0 !important;
  transform: translateY(-50%) rotate(45deg);
}

.error-page {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

.error-content {
  margin-bottom: 5rem;
}

.error-button {
  padding: 1rem 3rem;
  border-radius: 10px;
  border: none;
  background-color: #292c4d;
  color: white;
}

.error-button:hover {
  background-color: #292c4d;
  opacity: 90%;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

.mb-5 {
  margin-bottom: 5rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mt-4 {
  margin-top: 4rem;
}

.mt-5 {
  margin-top: 5rem;
}

.my-1 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.my-2 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.my-3 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.my-4 {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.my-5 {
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.pr-1 {
  padding-right: 1rem;
}

.pr-2 {
  padding-right: 2rem;
}

.pr-3 {
  padding-right: 3rem;
}

.pr-4 {
  padding-right: 4rem;
}

.pr-5 {
  padding-right: 5rem;
}

.mr-1 {
  margin-right: 1rem;
}

.mr-2 {
  margin-right: 2rem;
}

.mr-3 {
  margin-right: 3rem;
}

.mr-4 {
  margin-right: 4rem;
}

.mr-5 {
  margin-right: 5rem;
}

.section-small-subtitle {
  font-size: 0.9rem;
}

.separetor {
  width: 100%;
  height: 1px;
  background-color: #ebebeb;
  margin: 2rem 0;
}

.separetor-2 {
  width: 100%;
  height: 2px;
  background-color: #ebebeb;
  margin: 2rem 0;
}

.contatti-page #detail-page-form {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contatti-page #detail-page-form input:not([type=checkbox]):not([type=submit]),
.contatti-page #detail-page-form textarea {
  width: 100%;
  background-color: #f5f5f5;
  border: none;
  font-size: 1.2rem;
  padding: 1rem 1rem;
  box-sizing: border-box;
}
.contatti-page #detail-page-form input:not([type=checkbox]):not([type=submit])::-moz-placeholder, .contatti-page #detail-page-form textarea::-moz-placeholder {
  color: #979797;
}
.contatti-page #detail-page-form input:not([type=checkbox]):not([type=submit])::placeholder,
.contatti-page #detail-page-form textarea::placeholder {
  color: #979797;
}
.contatti-page #detail-page-form .privacy-checkbox {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.contatti-page #detail-page-form .privacy-checkbox label {
  font-size: 0.75rem;
}
.contatti-page .accordion {
  width: 100%;
  margin: 0 auto;
}
.contatti-page .accordion-item {
  border-bottom: 1px solid #ebebeb;
}
.contatti-page .accordion-header {
  cursor: pointer;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  transition: background-color 0.3s;
}
.contatti-page .accordion-header .icon {
  font-size: 0.9em;
  transition: transform 0.3s;
}
.contatti-page .accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.contatti-page .accordion-item.active .accordion-header .icon {
  transform: rotate(180deg);
}
.contatti-page .accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 15px 20px;
}
.contatti-page .accordion-content ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}
.contatti-page .accordion-content li {
  margin-bottom: 10px;
}
.contatti-page .c-btn {
  display: inline-block;
  text-transform: uppercase;
  color: #fff;
  border: solid 2px #67a9dd;
  background-color: #67a9dd;
  border-radius: 3rem;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  cursor: pointer;
}
.contatti-page .c-btn:hover {
  border: solid 2px #4496d5;
  background-color: #4496d5;
}
@media screen and (max-width: 767px) {
  .contatti-page .c-btn {
    font-size: 1rem;
  }
}
.contatti-page .c-btn.outline {
  color: #292c4d;
  background-color: transparent;
}
.contatti-page .c-btn.outline:hover {
  border: solid 2px #292c4d;
}