@import url("nav.css");
@import url("footer.css");
@import url("cessione_quinto.css");

@font-face {
  font-family: "Maitree";
  src: url("fonts/Maitree regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Maitree";
  src: url("fonts/Maitree 600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Work Sans";
  src: url("fonts/Work Sans regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Work Sans";
  src: url("fonts/ Work Sans 500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Work Sans";
  src: url("fonts/Work Sans 600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Work Sans";
  src: url("fonts/WorkSans-Light.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Work Sans";
  src: url("fonts/WorkSans-ExtraLight.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

:root {
  --color-menu: #00b28c;
  --background-color: #edece2; /* 237,236,226 */
  --verde: #00b28c; /* 0,178,140 */
  --verde-due: #1cae8c;
  --grigio: #444f51; /* 68,79,81 */
  --molto_grigio: #3f515b;
  --molto_grigio_due: #3a484b;
  --giallo: #f9d84b;
  --giallo_due: #fcca49;
  --arancione: #ffc225;
  --grigio_chiaro: rgba(233, 233, 233, 1);
  --grigio_chiaro_due: #ecece0;
  --scroll: 11vh;
  font-size: 14pt;
}

html {
  font-family: "Work Sans", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 14pt;
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll);
  background-color: white;
}

.sfondo_ragazza {
  background-image: url("../img/creditovero-bkg-donna-faq.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  color: white;
}

.bg-background {
  background-color: var(--background-color);
}

.faq-padding {
  padding: 18rem 0;
}

.m-left-auto {
  margin-left: auto;
}

.map-container {
  width: 100%;
  flex-grow: 1;
  min-height: 350px;
  display: flex;
}

.map-container iframe {
  width: 100%;
  flex-grow: 1;
}

.text-orange {
  color: var(--arancione);
}

.text-green {
  color: var(--verde-due);
}

.bg-green {
  background-color: var(--verde-due);
}

.bg-gray {
  background-color: var(--grigio);
}

body {
  font-family: "Work Sans", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 14pt;
  color: var(--grigio);
  min-height: 100svh;
  height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.my-sticky-top {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

/*
 * start bootstrap
 */
.row {
  margin: 0;
}

table {
  color: var(--grigio) !important;
}

.table-responsive {
  overflow-x: initial;
}
/*
 * end bootstrap
 */

#container_1440 {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.opacita {
  position: relative;
}

.opacita:after {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background: rgba(68, 79, 81, 0.84);
}

.sfondo_giallo {
  background-color: var(--giallo);
}

.sfondo_grigio {
  background-color: var(--grigio);
  color: white;
}

.sfondo_carousel_li {
  background-color: var(--grigio) !important;
}

.carousel-item-height {
  height: 430px;
}

.box_sfondo_verde {
  color: white;
  background-color: var(--verde);
  padding: 1rem;
  position: relative;
}

.box_sfondo_grigio {
  color: white;
  background-color: var(--grigio);
  padding: 1rem;
}

.table td,
.table th {
  padding: 0;
}

table#privacy th,
table#privacy td {
  padding: 0.45rem;
}

div#prodotti table td.vistola {
  background: url("../img/CDV_Icona_Vistola.svg") center transparent no-repeat;
  background-size: 100px;
  width: 12%;
}

.testo14 {
  font-size: 18pt;
}

.testo10 {
  font-size: 10pt;
}

.testo8 {
  font-size: 8pt;
}

.sfondo a.arrow-up-scroll:link,
a.arrow-up-scroll:focus,
a.arrow-up-scroll:visited {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 990;
}

a.arrow-down-scroll:link,
a.arrow-down-scroll:focus,
a.arrow-down-scroll:visited {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 990;
}

.work_sans_regular {
  font-family: "Work Sans", sans-serif;
  font-weight: normal;
  font-style: normal;
}

.font-bolder {
  font-weight: bolder !important;
}

.font-lighter {
  font-weight: lighter !important;
}

.fs-small {
  font-size: 15px;
}

.height-prestiti {
  height: 55px;
}

a.verde:link,
a.verde:focus,
a.verde:hover,
a.verde:visited,
.verde {
  color: var(--verde);
}

a.grigio:link,
a.grigio:focus,
a.grigio:hover,
a.grigio:visited,
.grigio {
  color: var(--grigio);
}

a.bianco:link,
a.bianco:focus,
a.bianco:hover,
a.bianco:visited,
.bianco {
  color: white;
}

.btn-verde {
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  background-color: var(--verde);
  border: 1px solid var(--verde);
}

.btn-verde:hover {
  color: white !important;
  opacity: 0.9 !important;
  background-color: var(--verde) !important;
}

.btn:hover {
  text-decoration: underline;
}

.arrow-down {
  width: 0;
  height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-top: 13px solid var(--verde);
  position: absolute;
  left: 50%;
  bottom: -13px;
}

#esempio1,
#esempio2,
#esempio3 {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
  background-color: var(--grigio);
  color: white;
  width: 100%;
  height: 100%;
  padding: 1rem;
}

.esempio1 {
  position: relative;
  background: url("../img/CDV_Home_PrivatoEs_1200x800.jpg") 75% no-repeat;
}

.esempio2 {
  background: url("../img/CDV_Home_PubblicoEs_1200x800.jpg") center no-repeat;
  position: relative;
}

.esempio3 {
  background: url("../img/CDV_Home_PensionatiEs_1200x800.jpg") center no-repeat;
  position: relative;
}

.esempio1:before,
.esempio2:before,
.esempio3:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(237, 236, 226, 0.75);
}

.text {
  color: var(--grigio);
  position: relative;
  padding: 0.5rem;
  font-size: 0.85rem;
}

.divisore {
  border-top: 2px solid rgba(237, 236, 226, 1);
  padding: 0.3rem 0rem;
  font-weight: bold;
  text-transform: uppercase;
}

.bottone_esempi {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1020;
  background-color: var(--grigio);
  border-color: var(--grigio);
  color: white;
}

.bottone_esempi:focus,
.bottone_esempi:hover {
  background-color: var(--verde);
  border-color: var(--verde);
}

div#esempi .sfondo_verde {
  position: absolute;
  top: 0;
  left: 0;
  font-weight: bold;
  background-color: var(--verde);
  width: 3rem;
  height: 3rem;
  padding: 0.7rem;
  text-align: center;
  color: white;
}

div.title_faq_list {
  background-color: var(--verde);
  color: white;
  font-weight: 500;
  font-style: normal;
  font-size: 1.3rem;
}

.bottone_faq {
  border: 1px solid var(--grigio) !important;
  white-space: nowrap;
  font-size: 18px;
  padding: 1rem 1.2rem;
  border-radius: 0.25rem;
  width: 100%;
}

.common_top {
  width: 100%;
  background: url("../img/creditovero-fides-img-top.jpg") center center
    no-repeat;
  background-size: cover;
  position: relative;
}

.common_top.chi_siamo {
  width: 100%;
  background-image: url("../img/creditovero-chi-siamo-img-top.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 14rem 0;
}

.common_top.faq,
.common_top.trasparenza {
  background-image: none;
  background-color: var(--background-color);
}

.common_top.preventivo {
  background-image: none;
  background-color: var(--verde);
}

.common_top.contatti {
  background-image: none;
  background-color: var(--grigio);
}

/*
.common_top.chi_siamo:before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(237, 236, 226, 0.50);
}
*/

.faq img,
.icona_rotate {
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
  width: 20px;
}

div#freccia {
  position: absolute;
  bottom: 0;
  right: 30px;
  z-index: 1000;
  padding: 0.5rem;
  background-color: rgba(68, 79, 81, 0.2);
}

div#freccia a {
  display: flex;
}

.btn-styled {
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 4px 8px !important;
  background-color: rgb(255, 255, 255);
  border-radius: 3px;
  font-family: -apple-system, sans-serif !important;
  text-decoration: none !important;
  position: relative;
  top: 2px;
  color: rgba(0, 0, 0, 0.65);
  font-weight: 700;
  outline-color: rgba(0, 0, 0, 0.65);
}

.btn-styled:hover {
  background-color: #ddd !important;
}

ion-icon {
  font-size: 50px;
  color: white;
}

.rounded-white-col {
  border-bottom-left-radius: 0.5rem;
  border-top-left-radius: 0.5rem;
}

.rounded-gray-col {
  border-bottom-right-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.fs-label-form {
  font-size: 1rem;
}

.prestiti-bubble::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 20px solid var(--verde-due);
}

.circle {
  height: 30px;
  width: 30px;
}

@media only screen and (max-width: 1024px) {
  div#freccia {
    top: 15vh;
    height: 6vh;
    right: 0;
    display: none;
  }

  ion-icon {
    font-size: 24px;
  }
}

@media only screen and (max-width: 991px) {
  .rounded-white-col {
    border-bottom-left-radius: 0rem;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
  }

  .rounded-gray-col {
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    border-top-right-radius: 0rem;
  }

  .height-prestiti {
    height: 100%;
  }
}

@media only screen and (max-height: 900px) {
  div#prodotti,
  div#prodotti div#container_1440 {
    min-height: 100vh !important;
  }

  div#faq,
  div#faq div#container_1440 div.first_row,
  div#faq div#container_1440 {
    min-height: 100vh !important;
  }

  div#esempi,
  div#esempi div#container_1440 div.first_row,
  div#esempi div#container_1440 {
    min-height: 100vh !important;
  }
}

/*
 * le sezioni a tutta pagina si devono vedere solo sul desktop
 */
@media (min-width: 1200px) {
  html,
  body {
    margin: 0;
  }

  /*
     * home page
     */
  div#homepage_first_carousel,
  div#homepage_first_carousel div.row:first-child,
  div#prodotti div#container_1440,
  div#valori div#container_1440 div.first_row,
  div#faq div#container_1440 div.first_row,
  div#esempi,
  div#esempi div#container_1440 div.first_row {
    min-height: calc(100vh - var(--scroll));
  }

  div.dropdown-menu {
    background-color: var(--grigio);
    text-align: center;
  }

  .dropdown-item:link,
  .dropdown-item:visited,
  .dropdown-item:focus,
  .dropdown-item:hover {
    color: white;
  }
}

@media (max-width: 1200px) {
  .sfondo_ragazza {
    background-size: cover;
    background-image: url("../img/creditovero-bkg-donna-faq.jpg");
  }

  .faq-padding {
    padding: 0rem;
  }

  .common_top.chi_siamo {
    padding: 10rem 0;
  }
}

@media (max-width: 991px) {
  .carousel-item-height {
    height: 600px;
  }
}

/*
@media only screen and (min-width: 992px) {
    .container_first_section{
        background: url('../img/CDV_Home_Slider1_1200x800.jpg') right no-repeat;
        background-size: auto 100%;
    }
}
*/

@media only screen and (min-width: 992px) {
  div#slider1 {
    background: url("../img/creditovero-slider1.jpg") right no-repeat;
    background-size: auto 100%;
  }

  div#slider2 {
    background: url("../img/creditovero-slider2.jpg") right no-repeat;
    background-size: auto 100%;
  }

  div#slider3 {
    background: url("../img/creditovero-slider3.jpg") right no-repeat;
    background-size: auto 100%;
  }

  div#slider4 {
    background: url("../img/creditovero-slider4.jpg") right no-repeat;
    background-size: auto 100%;
  }
}

@media only screen and (max-width: 767px) {
  h1,
  .h1 {
    font-size: 1.8rem;
  }

  h2,
  .h2 {
    font-size: 1.6rem;
  }

  /* table.faq td.faq {
    width: 10% !important;
  } */

  .carousel-item-height {
    height: fit-content;
  }

  .map-container {
    min-height: 200px;
  }

  .common_top.chi_siamo {
    padding: 8rem 0;
  }

  .fs-label-form {
    font-size: 0.9rem;
  }

  .acconsento-click-consent-banner {
    background-color: white !important;
  }
}
