.form-label {
    font-size: 16px;
    font-weight: 500;
}

.aq-select-label-option {
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    padding: 10px;
    border: 4px solid #bbbbbb;
    transition: all ease-in-out .3s;
    cursor: pointer;
    border-radius: 8px;
    background-color: #f4f4f4;
}

.ant-logo{
    margin-bottom: 2rem;
}

.ant-logo img{
    max-width: 120px;
}

.ant-logo-modal{
    height: auto;
    width: auto;
    position: relative;
    text-align: center;
}

.aq-select-label-option:hover{
    background-color: #b5121b!important;
    border: 4px solid #8e0b12;
    transform: translateY(-5px);
}

input[type="radio"]:checked + label {
    color: #fff;
}

input[type="radio"]:checked + img#img-icon{
    filter: brightness(0) invert(1);
    transform: scale(1.1);
}

/* input[type="radio"]:active, img#img-icon{
    filter: none;
    transform: scale(1.1);
} */

#sunny-excellent:checked + .select-img {
    filter: brightness(0) invert(1);
    transform: scale(1.1);
  }


  .select-box input[type="radio"]:checked + label .select-img {
    filter: brightness(0) invert(1);
  }
  

/* #sunny-excellent:checked~img#img-icon{
    filter: brightness(0) invert(1);
    transform: scale(1.1);
} */

/* 
input[type="radio"]:checked .select-img {
    filter: brightness(0) invert(1);
    transform: scale(1.1);
} */

.aq-select-label-option:hover .aq-select-img {
    filter: brightness(0) invert(1);
    transform: scale(1.1);
}

.aq-select-label-option:hover .aq-box-option-title {
    color: #fff;    
}

.aq-box-option-title {
    font-weight: 600;
    font-size: 16px;
    /* transition: all ease-in-out .3s; */
}

.aq-select-img {
    width: 100%;
    max-width: 40px;
    margin: 4px auto;
    /* transition: all ease-in-out .3s; */
}

.aq-modal-header {
    border-bottom: var(--bs-modal-header-border-width) solid var(--bs-modal-header-border-color);
}

.modal-question {
    padding-left: 20px;
    padding-right: 20px;
}

.extras-form-steps {
    display: none;
    position: relative;
}

.extras-form-wrapper {
    margin: 5px auto 75px auto;
    width: 100%;
    padding: 10px 0px 15px;
}

.extra-box-on-top{
    background: #600538;
    color: #fff;
    padding: 15px 10px;
    box-shadow: #000000 0px 4px 20px -5px;
    border-radius: 10px;
}

.arrow-down{
  position: absolute;
  bottom: -70px;
  right: -75px;
  width: 90px;
  z-index: 999;
  -webkit-animation: downarrow 0.6s infinite alternate ease-in-out;
}

@-webkit-keyframes downarrow {
  0% { -webkit-transform: translateY(0); opacity: 1 }
  100% { -webkit-transform: translateY(0.5em); opacity: 1 }
}

.view-new-mortgage-top{
  color:#ffbf00;
  position: relative;
  font-weight: 800;
}



@media (min-width: 768px) {
    .extras-form-wrapper {
        margin: 5px auto 75px auto;
        width: 100%;
        padding: 30px 20px 15px;
        border-radius: 8px;
        overflow: hidden;
        position: relative;
    }


    .aq-form-label {
        font-size: 18px;
    }

    .aq-select-label-option {
        padding: 10px;
    }

    .aq-select-img {
        max-width: 80px;
        margin: 10px auto;
    }

    .ant-logo img{
        max-width: 160px;
    }
    
}




/* TY Page */


#chart-ty {
    margin-top: -75px;
  }
  
  @media (min-width: 992px) {
    #chart-ty {
      margin-top: -92px;
    }
  }
  
  .amount-box {
    padding: 18px 10px;
    border-radius: 0;
    border: 4px solid #2d8305;
    max-width: 200px;
    width: 100%;
    margin: 0 auto;
    background-color: #f5fdf3ff;
    position: relative;
    text-align: right;
    margin-bottom: 3rem;
    box-shadow: 0px 10px 12px 0px rgb(137 137 137);
  }
  
  @media (min-width: 992px) {
    .amount-box {
      padding: 30px 15px;
      max-width: 280px;
      width: 100%;
      margin: 0 auto;
      position: relative;
      text-align: right;
      margin-bottom: 3rem;
    }
  }
  
  .amount-box:before {
    content: '$';
    font-size: 28px;
    font-weight: 800;
    color: #3fb500;
    position: absolute;
    left: 10px;
    top: 11px;
  }
  
  @media (min-width: 992px) {
    .amount-box:before {
      content: '$';
      font-size: 42px;
      left: 10px;
      top: 25px;
      z-index: 99;
    }
  }
  
  .amount-box-text {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
    color: #000;
  }
  
  @media (min-width: 992px) {
    .amount-box-text {
      font-size: 46px;
      font-weight: 900;
      line-height: 1.2;
      color: #000;
      z-index: 999;
      position: relative;
    }
  }

  
  .step-ty {
    background-color: #198754;
    color: #fff;
    border-radius: 100%;
    height: 60px;
    width: 60px;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
  }
  
  @media (min-width: 768px) {
    .step-ty {
      color: #fff;
      border-radius: 100%;
      height: 80px;
      width: 80px;
      display: flex;
      flex-direction: column;
      align-content: center;
      align-items: center;
      justify-content: center;
    }
  }
  
  .step-ty-text {
    font-size: 11px;
    line-height: 1.4;
  }
  
  @media (min-width: 768px) {
    .step-ty-text {
      font-size: 14px;
      line-height: 1.4;
    }
  }
  
  .step-ty-number {
    font-size: 24px;
    line-height: 1;
  }
  
  @media (min-width: 768px) {
    .step-ty-number {
      font-size: 34px;
      line-height: 1;
    }
  }
  
  .step-ty-description {
    background-color: #efefef;
    padding: 1rem;
    font-weight: 500;
    width: 100%;
    height: 100%;
  }
  
  .ty-additional-offers {
    border: 1px solid #cfcfcf;
    padding: 2rem 1rem;
  }
  
  @media (min-width: 768px) {
    .ty-additional-offers {
      border: 1px solid #cfcfcf;
      padding: 2rem;
    }
  }
  
  .ty-offer-container {
    border: 1px solid #dc3545;
    border-radius: 10px;
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
    transition: ease .5s all;
  }
  
  @media (min-width: 768px) {
    .ty-offer-container {
      border: 1px solid #dc3545;
      border-radius: 10px;
      padding: 1.5rem 2rem;
      margin-bottom: 2rem;
      transition: ease .5s all;
    }
  }
  
  .custom-mw-921 {
    max-width: 921px;
    margin-left: auto;
    margin-right: auto;
  }

  .custom-mw-720 {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .ty-offer-button {
    color: #fff;
    background-color: #dc3545;
    font-weight: 500;
    width: 100%;
    max-width: 190px;
    transition: ease all .5s;
  }
  
  .ty-offer-button:hover {
    color: #fff;
    background-color: #9d000f;
  }
  
  .ty-offer-container:hover {
    box-shadow: 0 0 25px -10px #4b4b4b;
  }
  
  .chat-box {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    background-color: #fff;
    padding-bottom: 3rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 0px 15px 0px #b9b9b9;
  }
  
  .chat-box-heading {
    padding: 20px 30px;
    background-color: #dc3545;
    color: #ffffff;
  }
  
  .chat-box-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
  }
  
  .chat-box-subtitle {
    color: #ffced2;
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
  }
  
  .chat-box-date {
    text-align: center;
    padding: 10px;
    color: #000;
  }
  
  .chat-box-body {
    padding: 10px 30px;
  }
  
  .agent-message {
    background-color: #f3f4f5;
    padding: 20px 25px;
    border-radius: 20px;
    border-top-left-radius: 0;
    margin-bottom: 25px;
    color: #000;
    max-width: 620px;
    width: auto;
    line-height: 1.4;
  }
  
  .user-message {
    background-color: #ffd2d6;
    padding: 20px 25px;
    border-radius: 20px;
    border-top-right-radius: 0;
    margin-bottom: 15px;
    color: #000;
    max-width: 620px;
    width: auto;
    display: block;
    line-height: 1.4;
  }
  
  .chat-box-agent-reply {
    display: flex;
  }
  
  .agent-profile {
    margin-right: 15px;
  }
  
  .chat-box-user-reply {
    display: flex;
    justify-content: flex-end;
    display: none;
  }
  
  .user-reply {
    display: flex;
    flex-direction: column;
  }
  
  #user-textarea {
    width: 100%;
    padding: 1.5rem 1rem;
    height: 100%;
    border-radius: 0;
    min-height: 78px;
    padding-right: 50px;
    border: none;
  }
  
  .textarea-wrapper {
    margin-top: 1rem;
    padding: 0;
  }
  
  .textbox-form {
    position: relative;
    width: 100%;
    border: 2px solid #b4b4b4;
    padding-right: 50px;
  }
  
  #user-send {
    position: absolute;
    border: none;
    background-color: transparent;
    padding: 0 0 0 15px;
    top: 16px;
    right: 10px;
    transition: all ease .5s;
  }
  
  .send-btn-icon {
    color: #096ad9;
  }
  
  #user-textarea:focus::placeholder {
    color: transparent;
  }
  
  #user-textarea:focus {
    box-shadow: none;
    border: none;
  }
  
  #user-send:hover .send-btn-icon {
    color: #dc3545;
  }
  
  #user-textarea::-webkit-scrollbar-track
  {
      -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.0);
      border-radius: 0;
      background-color: #ffffff;
  }
  
  #user-textarea::-webkit-scrollbar
  {
      width: 5px;
      background-color: #F5F5F5;
  }
  
  #user-textarea::-webkit-scrollbar-thumb
  {
      border-radius: 5px;
      -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.2);
      background-color: #cacaca;
  }

  .dark-bg{
    background-color: #5bb13c;
  }