.selector-for-some-widget {
  box-sizing: content-box;
}

.block-header{
    margin-top:0px;
}

.block-header-form{
    margin-top:100px;
}

.menu-container{
    padding:20px;
    /*box-shadow: 5px 5px 15px #dbdbdb;*/
    border-radius:10px;
}

.menu-container-offerte{
  padding:20px;
  box-shadow: 5px 5px 15px #dbdbdb;
  border-radius:10px;
  margin-top:-50px;
  background:#fff;
}

.menu-flex{
    display:flex;
    float:right;
}

.item-menu{
    margin:20px 20px 0 20px;
    list-style-type:none;
    align-content: right;
    font-weight: 600;
    
}

.stile-button{
    display: block;
    margin:0 auto;
    width:250px;
    color:#fff;
    font-weight: 600;
    border-radius:10px;
    padding:10px;
    border:none;
    outline:none;
}

.stile-button-veicoli{
  display: block;
  margin:0 auto;
  width:250px;
  color:#010b58;
  background:#e2e2e2;
  font-weight: 600;
  border-radius:10px;
  padding-top:20px;
  border:none;
  outline:none;
  border:1px solid #e2e2e2; 
}

.stile-button-veicoli:hover{
  display: block;
  margin:0 auto;
  width:250px;
  color:#010b58;
  background:#eeeded;
  font-weight: 600;
  border-radius:10px;
  padding-top:20px;
  border:none;
  outline:none;
  border:1px solid #0058ab; 
}

.stile-button-appunt{
    display:block;
    margin:0 auto;
    width:100%;
    color:#fff;
    font-weight:600;
    padding:10px;
    border:none;
    outline:none;
    border:1px solid #009e2f;
    background:#009e2f;
    border-radius:5px;
}

.stile-button-appunt:hover{
   display:block;
    margin:0 auto;
    width:100%;
    color:#fff;
    font-weight:600;
    padding:10px;
    border:none;
    outline:none;
    border:1px solid #007623;
    background:#007623;
    border-radius:5px;
}

.stile-button-online{
  display:block;
  margin:0 auto;
  width:100%;
  color:#009e2f;
  font-weight:600;
  padding:10px;
  border:none;
  outline:none;
  border:1px solid #009e2f;
  background:#fff;
  border-radius:5px;
}

.stile-button-online:hover{
  display:block;
  margin:0 auto;
  width:100%;
  color:#009e2f;
  font-weight:600;
  padding:10px;
  border:none;
  outline:none;
  border:1px solid #009e2f;
  background:#cfcfcf;
  border-radius:5px;
}


.stile-button-promo{
    display: block;
    margin:0 auto;
    width:250px;
    color:#fff;
    font-weight: 600;
    background:#0058ab;
    border-radius:10px;
    padding-top:20px;
    border:none;
    outline:none;
    border-bottom:1px solid #0058ab;
}

.stile-button-promo:hover{
  display: block;
  margin:0 auto;
  width:250px;
  color:#0058ab;
  font-weight: 600;
  background:#e2e2e2;
  border-radius:10px;
  padding-top:20px;
  border:none;
  outline:none;
  border:1px solid #0058ab;
}


.stile-button-scelta{
  display: block;
  margin:0 auto;
  width:80%;
  color:#0058ab;
  font-weight: 600;
  background:#fff;
  padding-top:5px 5px 5px 5px;
  border-radius:0;
  border:none;
  outline:none;
  border-bottom:1px solid #0058ab;
}

.stile-button-scelta:hover{
  display: block;
  margin:0 auto;
  width:80%;
  color:#fff;
  font-weight: 600;
  background:#0058ab;
  padding-top:5px 5px 5px 5px;
  border-radius:0;
  border:none;
  outline:none;
  border-bottom:1px solid #0058ab;
}

a:active{
  color:#fff !important;
  background:#0058ab !important;
}


.stile-button-tipologie{
  display: block;
  margin:0 auto;
  width:100%;
  color:#0058ab;
  font-weight: 600;
  background:#fff;
  border-radius:10px;
  padding-top:5px 5px 5px 5px;
  border:none;
  outline:none;
  border:1px solid #0058ab;
}

.stile-button-tipologie:hover{
  display: block;
  margin:0 auto;
  width:100%;
  color:#fff;
  font-weight: 600;
  background:#0058ab;
  border-radius:10px;
  padding-top:5px 5px 5px 5px;
  border:none;
  outline:none;
  border:1px solid #0058ab;
}


.stile-button-finale{
  display: block;
  margin:0 auto;
  width:50%;
  color:#fff;
  font-weight: 600;
  font-size:20px;
  background:#0058ab;
  border-radius:10px;
  padding-top:5px 5px 5px 5px;
  border:none;
  outline:none;
  border:1px solid #0058ab;
}

.stile-button-finale:hover{
  display: block;
  margin:0 auto;
  width:50%;
  color:#0058ab;
  font-weight: 600;
  font-size:20px;
  background:#fff;
  border-radius:10px;
  padding-top:5px 5px 5px 5px;
  border:none;
  outline:none;
  border:1px solid #0058ab;
}


.block-sales{
    margin-top:150px;
}

.block-sales-button{
    margin-top:40px;
}

.block-text-sales{
    font-weight: 700;
    color:#010b58;
    text-align: center;    
}

.modal {
    display: none; /* Hidden by default */
    position: relative; /* Stay in place */
      z-index: 999; /* Sit on top */
      padding-top:0px; /* Location of the box */
      right: 0;
      top: 0;
      width: 100%; /* Full width */
      height: 100%; /* Full height */
      overflow: auto; /* Enable scroll if needed */
  } 

  /* Modal Content */
  .modal-content {
    background-color: #fff;
    color:#2a2a2a;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
    margin-top: 40px;
    margin-left: 20px;
    margin:auto;
    -webkit-box-shadow: 0 3px 14px -2px rgb(74 81 85 / 30%);
    box-shadow: 0 3px 14px -2px rgb(74 81 85 / 30%);
    border:none;
    z-index: 999;
    }


  .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding:0 0 0 0;
    position:absolute;
    top:5;
    right:10;
  }  
  
  .box-car{
    margin:5px;
    border-radius:10px;
    box-shadow: 5px 5px 15px #dbdbdb;
    border:2px solid #dbdbdb;
    background:#fff;
     transition: 0.5s;
  }
  
.box-car:hover{
    margin:5px;
    border-radius:10px;
    box-shadow: 35px 5px 15px #dbdbdb;
    border:2px solid #0058ab;
    background:#ECECEC;
  }

  .car-style-box{
    padding:0;
  }

  .car-style-title{
    font-weight: 500;
    color:#0055A5;
    font-size:18px !important;
  }

  .form-newsletter{
    background:#e2e2e2;
    border-radius:10px;
    border:2px solid #cfcfcf;
    width:100%;
    height:50px;
    }

.text-consenso{
  color:#2a2a2a;
  font-weight:500;
  font-size:12px;
}


@media only screen and (max-width: 768px) {
  .inversa{
    flex-direction: row-reverse;
  }
}


.loan__input {
  background: #f1f8fe !important;
  width: 100% !important;
  padding: .9375rem 0 .9375rem .75rem !important;
  font-weight: 700 !important;
  font-size: 1.125rem !important;;
  outline:none !important;
  margin-left:auto;
  margin-right:auto;
    border-radius: 10px;
    box-shadow: 5px 5px 15px #dbdbdb;
    border: 2px solid #dbdbdb;
    background: #fff;
    transition: 0.5s;
}


.form-space{
margin-top:30px;
}

input.btn-custom {
font-size: 13px;
color: #222;
letter-spacing: 3px;
line-height: normal;
text-decoration: none;
text-transform: uppercase;
padding: 15px 35px 15px 35px;
background: #fbae00;
display: inline-block;
border-radius: 5px;
}

.loan__privacy {
  border-radius: 3px;
  background: #fff;
  padding:10px;
  font-weight: 700;
  font-size: 1.125rem;
  outline:none;
  text-align:justify;
}



.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.distance-box{
  padding-top:150px;
}


@media only screen and (max-width: 768px) {
.distance-box{
 padding-top:0;
 margin-top:-50px;
}
}

.checkbox-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.checkbox-button {
  display: none;
}

.checkbox-label {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  color: #222;
  background: #f1f8fe;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  box-shadow: 5px 5px 15px #dbdbdb;
  border: 2px solid #dbdbdb;
}

.checkbox-button:checked + .checkbox-label {
  background-color: #DEFFD9;
}

.checkbox-label:hover {
  background-color: #DEFFD9;
}

