/*=============================================
=            Helpers            =
=============================================*/
.colore-primario {
  color: #00b017 !important;
}
.colore-secondario {
  color: #f5df4c !important;
}
.bg-primario {
  background-color: #00b017 !important;
}
.bg-secondario {
  background-color: #f5df4c !important;
}
.show-menu {
  transform: translateX(0) !important;
}
.no-scroll {
  overflow: hidden;
}
.font-poppins {
  font-family: "Poppins", sans-serif !important;
}
.font-oswald {
  font-family: "Oswald", sans-serif !important;
}
.font-open {
  font-family: "Open Sans", sans-serif !important;
}

.font-big {
  font-size: 48px;
  line-height: 55px;
}
.font-md {
  font-size: 36px;
}
.font-rg {
  font-size: 26px;
}

.font-sm {
  font-size: 22px;
}
.font-xs {
  font-size: 18px;
}
.font-extralight {
  font-weight: 200 !important;
}
.font-light {
  font-weight: 300 !important;
}
.font-medium {
  font-weight: 500 !important;
}
.font-semibold {
  font-weight: 600 !important;
}
.font-extrabold {
  font-weight: 800 !important;
}
.font-black {
  font-weight: 900 !important;
}

/*=====  End of Helpers  ======*/
/*=============================================
=            Dipendenze            =
=============================================*/

/**
 *
 * Slick slider
 *
 */
.slick-dots {
  bottom: -70px;
}
.slick-dots li {
  margin: 0 9px;
}
.slick-dots li button,
.slick-dots li,
.slick-dots li button::before {
  height: 14px;
  width: 14px;
}
.slick-dots li button::before {
  font-size: 12px;
  border-radius: 100%;
  line-height: 0.9rem !important;
  left: -1px;
  opacity: 1;
  color: transparent;
  border: 1px solid #ccc;
}
.slick-dots li.slick-active button::before {
  color: #0c71e8;
  opacity: 1;
  font-size: 10px;
}

.slick-prev,
.slick-next {
  width: 31px;
  height: 31px;
  top: 23%;
  z-index: 1;
  transition: all 300ms;
  background: #124b8e;
  -webkit-transition: all 300ms;
  -moz-transition: all 300ms;
  -ms-transition: all 300ms;
  -o-transition: all 300ms;
}
.slick-prev::before,
.slick-next::before {
  font-size: 40px;
  color: #fff;
  font-size: 18px;
  opacity: 1;
}
.slick-next::before {
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
.slick-prev::before {
  content: "\f104";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
.slick-next {
  right: 0px;
}
.slick-prev {
  left: 0px;
}
.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
  background: #040c1a !important;
}

/*=====  End of Dipendenze  ======*/

/*=============================================
=            General            =
=============================================*/
html,
body {
  height: 100%;
}
a {
  color: #040c1a;
  transition: all 300ms;
}
a:hover {
  text-decoration: none;
  color: #bda500;
}
a.bottone:hover {
  color: #3c3c3b;
}
.testo-top a:hover {
  color: #f27e00;
}
body {
  font-family: "Open Sans", sans-serif;
  line-height: 28px;
  display: flex;
  flex-direction: column;
  color: #040c1a;
}
p {
  font-family: "Open Sans", sans-serif;
  color: #040c1a;
  font-size: 16px;
  margin-bottom: 15px;
}
b {
  font-weight: 700;
}
li {
  color: #040c1a;
}
small {
  font-size: 12px;
  font-family: "Open Sans", sans-serif;
}
label {
  font-size: 18px;
}
#back-to-top {
  position: fixed;
  bottom: 15%;
  right: 5%;
  background-color: rgba(247, 143, 30, 0.75);
  color: #fff;
  z-index: 99999;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  font-size: 22px;
  opacity: 0;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.fa-check-circle {
  color: #00b017;
  margin-right: 10px;
  font-size: 28px;
}
.separatore {
  display: block;
  margin: 30px auto;
  background: #f5df4c;
  height: 12px;
  width: 350px;
  border: 0;
}
.content {
  flex: 1 0 auto;
}

.titolo {
  font-size: 48px;
  font-family: "Oswald", sans-serif;
  font-weight: 200;
  text-align: center;
  text-transform: uppercase;
  margin: 25px auto 15px;
  line-height: 49px;
  color: #3f3e3e;
}
.titolo--small {
  font-size: 32px;
}
.titolo--big {
  font-size: 40px;
}
.sottotitolo {
  font-size: 18px;
  text-align: center;
  font-family: "Open Sans";
  text-transform: uppercase;
}
.bottone {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Open Sans", sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  appearance: none;
  background: transparent;
  transition: all 300ms;
  padding: 0.7rem 1.2rem;
  border: 2px solid;
  white-space: nowrap;
  max-height: 48px;
  min-height: 48px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}
.bottone--big {
  padding: 0.93rem 3.7rem;
}
.bottone--primario {
  background-color: #3f3e3e;
  color: #fff;
  border: 1px solid #3f3e3e;
}

.bottone--primario:hover {
  background-color: #f5df4c;
  color: #3f3e3e;
}
.bottone--secondario {
  background-color: #fff;
  color: #124b8e;
  border: 1px solid #fff;
}

.bottone--secondario:hover {
  background-color: transparent;
  color: #fff;
}
.bottone--outline {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
}
.bottone--outline-arancio {
  background-color: transparent;
  color: #f78f1e;
  border: 1px solid #f78f1e;
}
.bottone--outline-arancio:hover {
  background-color: #f78f1e;
  color: #fff;
  border: 1px solid #f78f1e;
}

.bottone--outline:hover {
  background-color: #fff;
  color: #f78f1e;
}

/* Base for label styling */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
  position: absolute;
  left: -523px;
  opacity: 0;
  top: -13px;
  visibility: hidden;
}
[type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label {
  position: relative;
  cursor: pointer;
}

/* checkbox aspect */
[type="checkbox"]:not(:checked) + label:before,
[type="checkbox"]:checked + label:before {
  content: "";
  position: absolute;
  left: -30px;
  top: 0;
  width: 30px;
  height: 30px;
  border: 1px solid #3f3e3e;
  background: transparent;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
}
/* checked mark aspect */
[type="checkbox"]:not(:checked) + label::after,
[type="checkbox"]:checked + label::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30px;
  transition: all 0.2s;
  width: 30px;
  height: 30px;
  overflow: hidden;
  background: #25d366;
  border-radius: 4px;
}
/* checked mark aspect changes */
[type="checkbox"]:not(:checked) + label:after {
  opacity: 0;
  transform: scale(0);
}
[type="checkbox"]:checked + label:after {
  opacity: 1;
  transform: scale(1);
}
/* disabled checkbox */
[type="checkbox"]:disabled:not(:checked) + label:before,
[type="checkbox"]:disabled:checked + label:before {
  box-shadow: none;
  border-color: #bbb;
  background-color: #ddd;
}
[type="checkbox"]:disabled:checked + label:after {
  color: #999;
}
[type="checkbox"]:disabled + label {
  color: #aaa;
}
/* accessibility */
[type="checkbox"]:checked:focus + label:before,
[type="checkbox"]:not(:checked):focus + label:before {
  border: 2px solid #25d366;
}
.privacy-text {
  margin-left: 15px;
}

/* Form */
form p,
form a {
  font-family: "Poppins";
  color: #010101;
}
form a:hover {
  color: #c76700;
}

.form-control {
  height: 60px;
  font-size: 18px;
  color: #010101;
  background-color: #fff;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border: 1px solid transparent;
  padding: 23px 15px 10px;
}
.form-group {
  margin-bottom: 0;
}
.form-input {
  width: 100%;
  padding: 5px 0 5px 5px;
  border: none;
  border: 1px solid transparent;
}
.form-check {
  padding-left: 1.95rem;
}
.form-label {
  position: absolute;
  background: transparent;
  color: #010101;
  top: 15px;
  left: 24px;
  padding: 0 5px;
  transition: all 320ms;
  border-radius: 100%;
  margin-bottom: 0;
  cursor: text;
  font-size: 16px;
  font-family: "Poppins";
}
.form-control:focus ~ .form-label,
.translate-label {
  transform: translateY(-13px);
  font-size: 12px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-stroke: 0.27px;
  -webkit-transform: translateY(-13px);
  -moz-transform: translateY(-13px);
  -ms-transform: translateY(-13px);
  -o-transform: translateY(-13px);
}
/* .form-control:focus ~ .form-label--colorata,
.translate-label {
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 57.5%,
    rgba(255, 255, 255, 0.5) 58.5%,
    rgba(255, 255, 255, 1) 100%
  );
} */
.form-control:focus {
  color: #010101;
  background-color: #fff;
  border: 1px solid #ddd;
  outline: 0;
  box-shadow: none;
}
label[for="privacy"] a {
  text-decoration: underline;
}
.preventivo-box {
  transition: all 200ms;
  -webkit-transition: all 200ms;
  -moz-transition: all 200ms;
  -ms-transition: all 200ms;
  -o-transition: all 200ms;
}
.preventivo-box a:hover {
  color: #fee300 !important;
}

/*=====  End of General  ======*/

/*=============================================
=            Cover            =
=============================================*/

.cover {
  width: 100%;
  position: relative;
}
.login {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  right: 30px;
  top: 20px;
  z-index: 2;
  background: #f5df4c;
  color: #010101;
  padding: 5px 37px;
  font-family: "Open Sans", sans-serif;
}

.logo {
  position: absolute;
  left: 180px;
  top: 16px;
  z-index: 2;
}
.cover__imamgini {
  background: url("../../immagini/rancura_header.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 900px;
  max-height: 900px;
  position: relative;
}
.cover__imamgini.grazie {
  min-height: 86vh;
  max-height: 86vh;
}
.cover__imamgini.grazie::after {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}
.cover__caption {
  position: absolute;
  top: 200px;
  left: 0;
  padding: 30px 25px 30px 85px;
  background-color: rgb(255, 255, 255, 0.95);
  max-width: 530px;
}
.cover__caption::before {
  position: absolute;
  display: block;
  content: "";
  background-color: #f5df4c;
  width: 350px;
  height: 12px;
  top: -6px;
  right: 45px;
}
.cover__caption-list {
  padding-left: 20px;
}
.cover__caption-list li p {
  margin-bottom: 0;
  line-height: 20px;
  font-size: 18px;
  font-family: "Open Sans";
}
.cover__caption-list li span {
  color: #3f3e3e;
}

.cover__caption .bottone {
  position: absolute;
  bottom: -65px;
  max-height: 70px;
  min-height: 70px;
  right: -27px;
  padding: 0.7rem 70px;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}
.cover__caption .bottone--primario:hover {
  color: #3f3e3e;
  background: #f5df4c;
  border: 1px solid #3f3e3e;
}

/*=====  End of Cover  ======*/

/*=============================================
=            Footer            =
=============================================*/
footer {
  background-color: #3c3c3b;
  padding: 10px 0 130px;
}
.grazie-page footer {
  padding: 10px 0;
}
footer .info-azienda p,
footer .info-azienda a {
  font-size: 14px;
  line-height: 22px;
  font-family: "Open Sans";
  color: #fff;
  margin-bottom: 0;
}
footer .info-azienda span {
  font-size: 14px;
  line-height: 22px;
  font-family: "Open Sans";
  font-weight: 800;
}

/*=====  End of Footer  ======*/

/*=============================================
=            Homepage            =
=============================================*/
#vantaggi ol li {
  font-size: 22px;
  font-family: "Open Sans";
}
#vantaggi ol {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

#vantaggi ol li {
  counter-increment: custom;
  color: #3f3e3e;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  line-height: 26px;
}

#vantaggi ol li:before {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  content: counter(custom) " ";
  border: 1px solid #e2e2e2;
  font-size: 40px;
  font-weight: 700;
  font-weight: "Oswald";
  min-width: 65px;
  min-height: 65px;
  margin-right: 30px;
}

#vantaggi ol li:first-child {
  counter-reset: custom;
}
#vantaggi ol li:last-child::before {
  color: #3f3e3e;
}
#soluzione-ideale {
  background-size: cover;
  background-repeat: no-repeat;
}
.preventivo-box {
  position: fixed;
  bottom: 0;
  z-index: 9999;
}
#scroll-preventivo {
  font-size: 20px;
}

.immagine-vetrina {
  margin: 60px 0;
}
.colonna-vetrina {
  display: flex;
  justify-content: center;
}
.logo-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/*=====  End of Homepage  ======*/

/*=============================================
=            Media Laptop            =
=============================================*/

@media (min-width: 991px) and (max-width: 1200px) {
  .titolo {
    line-height: 48px;
  }
  .background-mission {
    background: none !important;
  }
}
@media (max-width: 1199px) {
  /**
   *
   * General
   *
   */

  .bottone--outline:hover {
    background-color: #f78f1e;
    color: #fff;
  }
  /**
   *
   * Navbar
   *
   */
  .navbar {
    height: 113px;
    max-height: 113px;
  }
  .navbar__contatti {
    height: 113px;
    max-width: 100%;
  }
  .navbar-brand {
    width: 80%;
    padding: 0;
  }
  .navbar__menu-list {
    display: none;
  }

  .logo-testo {
    font-size: 11px;
  }
  .background-image {
    background-image: none !important;
  }
  .navbar__menu-link {
    border-bottom: none;
    margin: 0 5px;
    font-size: 14px;
    padding: 1.05px;
  }
  .google-partner {
    max-width: 120px;
  }
  .contatti-top {
    order: 3;
    padding: 5px 0;
    background-color: #f78f1e;
  }
  .contatti-top a {
    justify-content: center;

    margin-bottom: 0;
  }
  .contatti-top p {
    color: #fff;
  }
  .navbar-top {
    padding: 0 20px !important;
  }
  .icona-cerchio {
    border: 1px solid #fff;
  }
  .navbar-google-partner {
    margin-right: 21px;
  }
}
/*=====  End of Media Laptop  ======*/

/*=============================================
=            Media Tablet + Smartphone            =
=============================================*/

@media (max-width: 991px) {
  /**
   *
   * General
   *
   */
  /**
   *
   * Cover
   *
   */
  .login {
    position: static;
    flex-direction: row;
  }
  .login b {
    margin-left: 5px;
  }
  .logo {
    display: block;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 55px;
    max-width: 150px;
  }
  .cover__imamgini {
    min-height: 570px;
    max-height: 570px;
    background-position: center !important;
    background-size: cover !important;
  }
  .cover__caption {
    position: relative;
    top: 0;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 0;
    margin: 0 auto;
  }
  .cover__caption::before {
    left: 0;
    right: 0;
    width: 290px;
    margin: 0 auto;
  }

  .cover__caption-list {
    padding-left: 0;
  }
  .cover__caption .titolo-caption {
    font-size: 45px !important;
    padding-left: 0 !important;
  }
  .cover__caption .titolo-caption ~ b {
    font-size: 16px !important;
    padding-left: 0 !important;
  }
  .titolo-caption {
    font-size: 32px !important;
    line-height: 41px !important;
    margin-top: 10px !important;
    text-align: center;
    margin-bottom: 0 !important;
  }
  .titolo-caption ~ b {
    display: block;
    font-size: 32px !important;
    text-align: center;
    line-height: 22px !important;
  }
  .cover__caption li {
    text-align: left;
    line-height: 22px !important;
  }
  .cover__caption li p {
    font-size: 15px !important;
  }
  .fa-check-circle {
    font-size: 20px;
  }
  .cover__caption > div {
    padding-bottom: 0 !important;
  }
  .cover__caption .bottone {
    position: relative;
    bottom: 0;
    max-height: 50px;
    min-height: 50px;
    right: 0;
    padding: 0;
  }
  .titolo--big {
    font-size: 38px;
  }

  /**
   *
   * Cards
   *
   */

  .cards__immagini {
    min-width: auto;
    min-height: 290px;
  }

  .cover__caption {
    padding: 0.8rem;
  }
  .cover__caption > div {
    justify-content: center !important;
    flex-direction: column;
  }

  /**
   *
   * Homepage
   *
   */
  #vantaggi {
    margin-bottom: 10px !important;
  }
  #vantaggi ol li {
    font-size: 14px !important;
    line-height: 20px !important;
  }
  #vantaggi ol li::before {
    min-width: 49px;
    min-height: 49px;
    margin-right: 15px;
    font-size: 30px;
  }

  #vantaggi .row:last-child .col-md-6:last-child img {
    margin-top: 0 !important;
  }
  #soluzione-ideale {
    margin-top: 0 !important;
    padding-top: 5px !important;
  }
  #soluzione-ideale .titolo {
    font-size: 32px !important;
    line-height: 34px !important;
  }
  #soluzione-ideale .sottotitolo {
    font-size: 14px !important;
    line-height: 20px !important;
  }
  #soluzione-ideale img {
    max-width: 50%;
  }
  .immagini-soluzioni {
    flex-wrap: wrap;
    margin-top: 25px !important;
  }
  #devices {
    padding: 30px 0 0 !important;
  }
  #devices .titolo-caption ~ b {
    font-size: 16px !important;
    margin-top: 0 !important;
  }
  .form-container {
    padding-bottom: 30px;
  }

  .footer-policy a {
    font-size: 14px !important;
    margin: 2px 0;
  }
  .info-azienda {
    margin-top: 0 !important;
    padding-top: 2px;
  }
  .footer-policy {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 0;
    max-width: 50%;
    text-align: center !important;
  }
  .logo-footer {
    margin-bottom: 15px !important;
  }
  .logo-footer img {
    max-width: 105px !important;
  }

  .footer-policy a {
    margin: 7px 0;
  }
  .info-azienda {
    margin-top: 0 !important;
  }
}

/*=====  End of Media Tablet + Smartphone  ======*/

/*=============================================
=            Media Tablet            =
=============================================*/
@media (max-width: 768px) {
  .cover__imamgini {
    background: url("../../immagini/camion-giallo-mobile.jpg");
  }
}
@media (min-width: 576px) and (max-width: 991px) {
  .font-rg {
    font-size: 24px;
    line-height: 1.25;
  }

  .font-sm {
    font-size: 15px;
  }
}

/*=====  End of Media Tablet  ======*/

/*=============================================
=            Media Smartphone            =
=============================================*/

@media (min-width: 320px) and (max-width: 576px) {
  /**
   *
   * General
   *
   */
  .separatore {
    width: 290px;
    border: 0;
    left: 0;
    right: 0;
    margin: 10px auto !important;
  }
  .container-richiesta {
    margin-top: 30px !important;
    margin-bottom: 65px !important;
  }
  .titolo-richiesta-ricevuta {
    font-size: 30px !important;
    line-height: 30px !important;
  }

  .preventivo-box {
    height: 70px !important;
  }
  .preventivo-box a {
    font-size: 16px !important;
    line-height: 27px !important;
  }
  .preventivo-box b {
    font-size: 34px !important;
  }
  #scroll-preventivo {
    font-size: 16px;
    border: none;
  }
  .slick-dots li.slick-active button::before {
    line-height: 0.8rem;
    padding-right: 0.05rem;
    font-size: 10px;
  }
  .bottone {
    margin: 10px 0 !important;
  }
  body {
    line-height: 30px;
  }
  p,
  label {
    font-size: 16px;
  }
  footer p,
  footer b {
    display: block;
    text-align: center;
  }
  .font-big {
    font-size: 24px;
  }
  .font-md {
    font-size: 28px;
    line-height: 32px;
  }
  .font-rg {
    font-size: 24px;
    line-height: 1.25;
  }

  .font-sm,
  .font-xs {
    font-size: 16px !important;
  }
  .titolo {
    font-size: 24px;
    line-height: 28px;
  }
  .form-label {
    font-size: 14px;
  }
  .privacy-text {
    font-size: 12px;
  }
  .form-check ~ p {
    font-size: 14px;
  }
  .logo {
    max-width: 105px !important;
  }
  .cover {
    margin-bottom: 0;
  }

  .cover__imamgini {
    min-height: 350px;
    max-height: 350px;
    background-size: cover !important;
  }

  /**
   *
   * Homepage
   *
   */
  #vantaggi .row:last-child .col-md-6:first-child {
    order: 2;
  }
  #vantaggi .row:last-child .col-md-6:last-child {
    order: 1;
  }
  #vantaggi ol li.font-extrabold {
    font-size: 20px !important;
  }
  .form-container {
    padding-top: 5px !important;
    padding-bottom: 105px !important;
  }
  .form-container .titolo {
    margin-top: 10px !important;
    font-size: 26px !important;
    line-height: 32px;
  }
  .form-container .titolo ~ p {
    font-size: 14px !important;
    line-height: 22px !important;
    margin-top: 10px;
  }
  .privacy-text {
    line-height: 20px;
    font-size: 13px !important;
  }
  [type="checkbox"]:not(:checked) + label::before,
  [type="checkbox"]:checked + label::before,
  [type="checkbox"]:not(:checked) + label::after,
  [type="checkbox"]:checked + label::after {
    top: 4px;
  }

  footer {
    padding-bottom: 90px !important;
    padding-top: 25px !important;
  }
}

/*=====  End of Media Smartphone  ======*/
