/* Style the form to look like a chatbot */
.stepbox {
    display: none;
  }
  .stepbox:first-child {
    display: block;
  }

  .form-in{
    margin-bottom: 15px;
  }
  
  .main__btn{
    background: #BC2E33;
    color: #fff;
    border: none;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
  }
  
  .main__btn:hover{
  transform: scale(1.1);
  }
  
  .popin{
  text-align: center;
  }
  
  .popin h3{
  padding-top: 0;
  margin-top: 0;
  }
  
  .form-button p{
    margin-top: 0;
    padding-top: 0;
    font-size: 18px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 8px;
  }
  
  .popin__p{
  color: red;
  font-weight: bold;
  }
  
  #submit{
    font-size: 1.25rem !important;
    text-transform: uppercase;
    font-weight: bold !important;
    padding: 0.6em 1.2em;
    margin: 0;
    border-radius: 4px;
    color: #fff;
    background: #BC2E33;
    border: 1px solid #fff;
    cursor: pointer;
  }
  
  #submit:hover{
    background: #BC2E33;
  }
  
  .form-input label{
    display: none;
  }
  
  .form-checkbox.error{
  color: red;
  }
  
  .radio-button--yes{
    background-color: #0A4A92;
  }
  
  .form-buttons{
    display: flex;
    flex-direction: row;
    gap: 8px;
  }
  
  
  .radio-button {
    display: flex;
    border: none;
    border-radius: 5px;
    background-color: #BC2E33;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    width: 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  
  .radio-button span{
    padding: 10px 10px;
    text-align: center;
    width: 100%;
    position: relative;
    display: inline-block;
  }
  
  .radio-button span:before{
    content: '✅';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    display: none;
  }
  
  .radio-button--yes{
    background: #8746fa;
    color: #fff;
  }
  
  .radio-button--yes span{
    border: 2px solid #8746fa;
  }
  
  .radio-button--no span{
    border: 2px solid #561db8;
    border-radius: 5px;
  }
  
  .radio-button--no{
    background: #561db8;
    border-radius: 5px;
    color: #fff;
  }
  
  .radio-button:hover {
    background-color: #6e6e6e;
    color: #fff;
  }
  
  .radio-button input[type="radio"] {
    display: none;
  }
  
  .radio-button input[type="radio"]:checked + span {
    color: #f7d932;
    border: 2px solid #000;
    border-radius: 5px;
  }
  
  .radio-button input[type="radio"]:checked + span:before {
    display: block;
  }
  
  .radio-button input[type="radio"]:checked + span:hover {
    background-color: #646464;
    border: 2px solid #646464;
    border-radius: 5px;
  }
  
  .form-input input{
    border-color: #a0a0a0;
    background-color: #ecf6ff;
    display: block;
    margin: 0;
    min-width: 10px;
    max-width: 100%;
    width: 100%;
    padding: 8px;
    height: auto;
    line-height: 1.5;
    font-size: 1em;
    border: 1px solid #e3e3e3;
    box-sizing: border-box;
  }
  
  select{
    border-color: #BC2E33;
    background-color: #ecf6ff;
    display: block;
    margin: 0;
    min-width: 10px;
    max-width: 100%;
    width: 100%;
    padding: 8px;
    height: auto;
    line-height: 1.5;
    font-size: 1em;
    border: 1px solid #BC2E33;
    box-sizing: border-box;
  }
  
  .form-advanced{
    font-size: 12px;
    color: #2D3748;
    margin-bottom: 20px;
    margin-top: 0;
    display: inline-block;
  }
  
  .form-header{
    background-color: #fff;
    padding: 15px 10px 0 10px;
    text-align: center;
    color: #fff;
  }
  
  .sub__info{
    color: #979797!important;
    font-size: 14px;
    font-style: italic;
  }
  
  .form-header h1{
    margin-bottom: 8px;
    padding-bottom: 0;
    line-height: 1.2;
    margin-top: 0;
    color: #BC2E33;
    font-size: 21px;
  }
  
  .form-header p{
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0;
    color: #fff;
  }
  
  .lead-form{
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .presubmit{
    color: #6e6e6e;
    font-size: 12px;
  }
  
  .lp-list.lp-list--bullet.text-align-left li::before{
    color: #fff;
  }
  .firststep p{
    text-align: left;
    font-weight: 500;
    display: block;
    line-height: 1.2;
    margin: 0;
    padding: 0;
  }
  
  .firststep{
    display: flex;
    flex-direction: column;
    align-items: self-start;
    overflow: hidden;
    justify-content: center;
  }
  
  #question0{
      display: flex;
      flex-direction: column;
  }
  
  #question1.hidden{
    display: none;
  }
  
  .form-container{
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #BC2E33;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .hp-left{
    color: #fff;
  }
  
  .hero{
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
  }
  .big{
    padding-top: 0px;
    padding-bottom: 30px;
    margin-top: 10px;
    margin-bottom: 0px;
    text-align: center;
    font-size: 52px;
    line-height: 76px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
  }
  
  .hhr{
  }
  
  .hero-top img{
    width: 100%;
  }
  
  .highlited-red{
    padding-top: 8px;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 10px;
    line-height: 1.4;
    background-color: #BC2E33;
  }
  
  .highlited-red p {
    color: #fff;
    font-size: 24px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 0;
    margin-top: 0;
  }
  
  .hero-notes{
    background-color: #f7d932;
    padding-top: 20px;
    padding-right: 15px;
    padding-bottom: 20px;
    padding-left: 15px;
    margin: 0 15px;
    text-align: center;
    text-align: center;
    font-size: 21px;
    color: #000;
  }
  
  .hero-in{
    font-size: 24px;
    padding: 0 15px;
    line-height: 1.4;
    margin: 20px 0;
  }
  
  @media (max-width: 768px) {
    .hero{
      display: grid;
      grid-template-columns: 1fr;
      grid-column-gap: 0px;
      grid-row-gap: 0px;
      grid-template-areas: 
      "top"
      "form"
      "bottom";
    }
    .highlited-red{
        margin-bottom: 15px;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
  
    .highlited-red p {
      font-size: 16px;
      line-height: 1.3;
      text-align: center;
    }
  
    .big{
        font-size: 32px;
        padding-bottom: 15px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .hero-in, .hero-notes{
        font-size: 18px;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }
  }
  .header{
    display: flex;
    justify-content: center;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  
  .header-logo{
    width: 100%;
    max-width: 280px;
    object-fit: contain;
  }
  
  @media (max-width:768px) {
    .header-logo{
      max-width: 180px;
    }
  }
  
  .header-container{
    background-color: #000;
    width: 100%;
    margin-bottom: 15px;
  }
  
  #powered-by-container{
    display: none!important;
  }
  
  .highlight {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #da203c;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 8px;
    margin: 8px 0;
  }
  
  #error-message{
    color: #da203c;
    margin-bottom: 15px;
    text-decoration: underline;
  }
  
  .form-button.error{
    border: 1px solid #da203c;
    padding: 5px;
  }
  
  .form-input .error{
    border: 1px solid #da203c;
  }
  
  
  /*progre*/
  
  .stepbox,
  .final-box {
    padding: 0;
    display: flex;
    flex-direction: column;
  }
  
  
  .stepbox.hidden, .popin.hidden{
    display: none;
  }
  
  .progress {
    max-width: 360px;
    margin: 16px auto;
    text-align: center;
    font-size: 14px;
  }
  .progress span{
    color: #000;
    padding-bottom: 4px;
    display: block;
  }
  .progress .bar {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 3px;
    height: 8px;
  }
  .progress .bar span {
    display: block;
      background-color: #e9a800;
    border-radius: 2px;
    transition: .2s;
  }
  
  
  .col-12 {
  flex: 0 0 100%;
  max-width: 100%;
  }
  
  @media (min-width: 768px) {
  .hero{
    flex-direction: row;
  }
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  }
  
  .header{
    display: grid;
    grid-template-columns: 1fr 1fr;
    vertical-align: middle;
    gap: 6px;
  }
  
  .main__btn{
    background: #BC2E33;
    color: #fff;
    border: 1px solid #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
  }
  
  .left{
  display: flex;
  flex-direction: row;
  color: #fff;
  gap: 20px;
  align-items: center;
  justify-content: end;
  }
  
  .left p{
  font-size: 28px;
  padding: 0;
  margin: 0;
  line-height: 1;
  font-weight: bold;
  color: #fff;
  }
  
  @media (max-width: 768px) {
    .left{
      flex-direction: column;
      justify-content: flex-end;
      gap: 8px;
    }
    .left p{
      font-size: 12px;
    }
  }
  .right{
    height: 100%;
    display: flex;
    align-items: center;
  }
  
  .header{
    display: grid;
    grid-template-columns: 1fr 1fr;
    vertical-align: middle;
    gap: 6px;
  }

  .chatbox{
    max-width: 400px;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.20);
    border-radius: 20px;
    height: 400px;
    padding: 15px;
    display: flex;
    overflow-y: scroll;
  }

  .start_btn{
    background-color: #BC2E33;
    border-radius: 8px;
    color: #fff;
    outline: none;
    padding: 10px 15px;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
  }

  .ava{
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50px;
  }

  .chatbox_agent{
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 15px;
    margin-bottom: 12px;
  }

  .start_btn.hidden{
    display: none;
  }

  .form-buttons.hidden select{
    display: none;
  }

  .radio-button.hidden{
    display: none;
  }

  .c_answer{
    display: none;
  }

  .c_answer.visible{
    display: flex;
    float: right;
  }

  .stepbox .c_answer{
    width: 100%;
    justify-content: end;
    position: relative;
  }

  .c_answer p{
    margin-bottom: 0;
    padding: 0;
    background-color: #158ffe;
    padding: 5px 10px;
    border-radius: 8px;
    color: #fff;
  }
  .c_answer:before{
    content: "\00a0";
    display: block;
    height: 16px;
    width: 9px;
    position: absolute;
    bottom: -7.5px;
    background-color: #158ffe;
    right: 10px;
    -webkit-transform: rotate(118deg) skew(-5deg);
  }

  .mess{
    background: none;
    border: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }

  .form-input{
    position: relative;
  }