body, html {
    height: 100%;
    font-family: 'TT Firs Neue';
    background-color: #f2f5f7;
    color:#4c4c4c;
    background-image:url('../img/bg.jpg');
    background-position: center;
    background-repeat: repeat;
    background-size: auto;
    overflow-x:hidden;
}

.min-h-100 {
  min-height: 100vh;
}

.rock-salt-regular {
  font-family: "Rock Salt", cursive;
  font-weight: 400;
  font-style: normal;
}

h1{
    font-size:28px;
    line-height: 150%;
    font-weight: 700;
    color:#CE2C2C;
    padding:0px 0px 0px 0px;
}

.fw-500{
  font-weight: 500;
}

.form-container{
    background-color: transparent;
    border-radius: 16px;
    max-width: 540px;
    padding: 66px 105px 135px 105px;
    background-image:url('../img/paper.png');
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

.form-check-input {
  border-width: 1px;
  border-color: #333333;
  transform: scale(1.2);
}

p, .p{
    position: relative;
    font-size: 16px;
    line-height: 150%;
    color: #333;
    font-family: 'TT Firs Neue';
    margin-bottom: 0;
    font-style: normal;
    transition: all 500ms ease;
    letter-spacing: initial;
}


label{
    font-size: 14px;
}

.logo{
    width: 140px;
    margin: 0px 0px 12px 0px;
}

.arrows, .divider {
  width:20%;
}

.form-control, .form-control:focus{
    padding:12px 20px 12px 20px;
    border-width: 1px;
    border-color: #333333;
    font-size: 16px;
}

.contact-consent{
    margin-top:30px;
}

footer {
  z-index:50;
}

footer p, footer a{
  font-size: 12px;
  color: #e9e9e9;
  z-index:30;
}

/*Validation*/


  .form-control.is-validating:not(select){
    color:#000;
  }
  
  .form-control.is-invalid::placeholder{
    color:#fff;
  }
  
  .primary-checkbox.is-validating{
    border:1px solid #000;
  }
  
  /*Valid*/
  .form-control.is-valid{
    background-color: #00e070!important;
    border-color: #009e4f!important;
    border: 1px solid #009e4f;
    color:#034c27;
  }
  
  .was-validated .form-check-input:valid~.form-check-label, .form-check-input.is-valid~.form-check-label {
    color:#474747;
  }

  .form-control.is-valid, .was-validated .form-control:valid {
    border-color: #009e4f!important;
    padding-right: calc(1.7em + 0.75rem);
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e);
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.4875rem) center;
    background-size: 14px;
}

.form-check-error {
  display:none;
}
  /*End Valid*/
  
  /*Invalid*/
  .form-control.is-invalid {
    background-color: #ff394c!important;
    border-color: #ea0000!important;
    border: 1px solid;
    color: #ffffff;
  }
  
  .was-validated .form-control:invalid, .form-control.is-invalid {
    background-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='utf-8'%3F%3E%3Csvg version='1.1' id='Livello_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 12 12' style='enable-background:new 0 0 12 12;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23FFFFFF;%7D%0A%3C/style%3E%3Cpath class='st0' d='M6,11c-2.8,0-5-2.2-5-5s2.2-5,5-5s5,2.2,5,5S8.8,11,6,11z M6,2C3.8,2,2,3.8,2,6c0,2.2,1.8,4,4,4 c2.2,0,4-1.8,4-4C10,3.8,8.2,2,6,2z'/%3E%3Cpath class='st0' d='M6,7C5.7,7,5.5,6.8,5.5,6.5L5.3,3.6c0-0.1,0-0.3,0.1-0.4c0.1-0.1,0.2-0.2,0.4-0.2h0.4c0.1,0,0.3,0.1,0.4,0.2 c0.1,0.1,0.1,0.2,0.1,0.4L6.5,6.5C6.5,6.8,6.3,7,6,7z'/%3E%3Ccircle class='st0' cx='6' cy='8.2' r='0.6'/%3E%3C/svg%3E");
  }
  
  .error-message{
    display: none;
  }
  
  #customerName.is-invalid + .error-message, #customerSurname.is-invalid + .error-message, #customerPhone.is-invalid + .error-message, #customerProvincia.is-invalid + .error-message,#customerMail.is-invalid + .error-message{
    background: #ff384c;
    display: flex;
    border: 1px solid #ea0000;
    color: #fff;
    padding: 3px 10px 3px 10px;
    border-radius: 3px;
    margin-top: 4px;
    margin-bottom: -2px;
    width: fit-content;
  }

  .form-control.is-invalid:focus + .error-message{
    display: none!important;
  }
  
  .tooltip-inner{
    max-width: 200px;
    padding: 0.1rem 0.35rem;
    color: #fff;
    text-align: center;
    background-color: #1a1a1a;
    border-radius: 0.4rem;
    font-size: 13px;
    border-radius: 3px;
  }

  .error-tooltip{
    display: none;
    position: absolute;
    border-radius: 4px;
    color: #fff;
    font-weight: 400;
    padding: 4px 10px 4px 10px;
    z-index: 2;
    top: -32px;
    left: -7px;
    font-size: 14px;
  }
  
  .form-check{
    position: relative;
  }
  
  .error-tooltip, .error-tooltip:before{
    background-color:#1e1e1e;
  }
  
  .error-tooltip:before{
    content: "";
    width: 10px;
    height: 10px;
    top: 28px;
    left: 16px;
    position: absolute;
    transform: rotate(-45deg) translatey(-7.5px);
    z-index: -1;
  }
  
  .form-check-input.is-invalid + .error-tooltip{
    display: block;
  }

  .form-check-input.is-invalid:checked, .was-validated .form-check-input:invalid:checked {
    background-color: #000;
}

.form-check-input.is-invalid, .was-validated .form-check-input:invalid {
    border-color: #000;
}

.form-check-input:checked {
    background-color: #000;
    border-color: #000;
}

.form-group:not(:has(input:checked)) .form-check-error {
    background: #ff384c;
    display: flex!important;
    border: 1px solid #ea0000;
    color: #fff;
    padding: 3px 10px 3px 10px;
    border-radius: 3px;
    margin-top: 4px;
    margin-bottom: -2px;
    width: fit-content;
}
  
  /*End Invalid*/

  /* Button */

.theme-btn {
  position: relative;
  display: inline-block;
  overflow: hidden;
  font-size: 16px;
  line-height: 30px;
  font-weight: 500;
  font-family: 'TT Firs Neue';
  color: #fff !important;
  padding: 14px 32px;
  text-align: center;
  cursor: pointer;
  border-radius: 8px;
  z-index: 1;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  transition: all 500ms ease;
}

.main-ama-button {
  background: #E42922;
  border: 2px solid transparent;
  box-shadow: none;
}

.tt-font-demibold-italic {
  font-family: 'TT Firs Neue';
  font-weight: 600 !important;
  font-style: italic;
}

/*END BUTTON*/

/*LIGHTER*/

.lighter-container {
  position: relative;
    width: 100%;
    text-align: right;
    margin-top: -50px;
}

.lighter-img {
  position: absolute;
    bottom: -700px;
    transform: rotate(310deg);
    max-width: 580px;
    z-index: 10;
    right: -580px;
    animation: slideInOut 12s infinite;
}

@keyframes slideInOut {
  0%, 100% { opacity: 0; transform: translateX(100%) rotate(340deg); }
  40%, 60% { opacity: 1; transform: translateX(0) rotate(300deg); }
  50% { opacity: 0; transform: translateX(100%) rotate(320deg); }
}

.flame {
  position: absolute;
  width: 50px;
  height: 100px;
  left: 340px;
  top: 30px;
  background: #ff990073;
  border-radius: 50%;
  animation: glow 1s infinite;
  transform: rotate(29deg);
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 174, 0, 0.5); }
  50% { box-shadow: 0 0 20px rgb(255, 145, 0); }
}





  a, label{
      color:#4c4c4c;
  }


@media screen and (max-width: 767px) {
    .logo {
        width: 120px;
    }
    p, .p{
        font-size: 16px;
        padding-bottom: 0px;
    }
    body{
        padding-top:0px;
    }
    body, html {
        height: auto;
        padding: 12px 6px 12px 6px;
    }
  
    .form-container{
        padding:64px 110px 64px 110px;
    }

    .arrows, .divider {
      width:30%;
    }
  }
  
  /*@media screen and (max-width: 576px) {
    .form-container{
      padding: 64px 80px 64px 80px;
  }
  }
  */

  @media screen and (max-width: 480px) {

    .body {
      padding:12px 0px 12px 0px;
    }

    .form-container{
      padding: 60px 40px 48px 40px;
      background-image:none;
      max-width: 540px;
    }

    .min-h-100 {
      background-image:url('../img/paper-mob.png');
      background-size: cover;
      background-position: center top;
      background-repeat: no-repeat;
    }

  }

  @media screen and (max-width: 380px) {

  .form-container {
  padding: 40px 28px 48px 28px;
  }

  .min-h-100 {
    background-image:url('../img/paper-mob-2.png');
  }

}
  


  /*End Validation*/