.extras-inner-container{
    max-width: 920px;
    width: 100%;
    margin: 0 auto;
}


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

.extras-inner-container .select-box {
    margin-top: 10px;
}

.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: 2px 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: #000854!important;
    border: 2px solid #000737;
    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, .select-box input[type="radio"]:checked + label .select-img-sm {
    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);
} */

.input-field-wrapper {
  max-width: 571px;
  margin-left: auto!important;
  margin-right: auto!important;
}

.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 {
    margin-top: 1.5rem;
    padding-left: 0;
    padding-right: 0;
}

.modal-question legend {
    font-size: 18px !important;
    line-height: 1.4;
}

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

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

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

.extras-inner-container .select-label-option:hover {
    background-color: #000854!important;
    border: 2px solid #000737;
    transform: translateY(-5px);
}

.extras-inner-container input[type="radio"] {
    position: absolute;
    left: -99999px;
    opacity: 0;
}

.extras-inner-container .box-option-title {
    font-size: 18px;
    text-align: center;
    line-height: 1;
    color: #000;
}

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

.extras-inner-container .select-label-option:hover .box-option-title, .extras-inner-container .select-label-option:hover .box-option-title small {
    color: #fff;
}

.extras-inner-container .questions{
    /* margin-bottom: 2rem;
    text-align: center; */

  font-weight: 700;
  color: #262626;
  font-size: 28px;
  margin-bottom: 40px;
  line-height: 1.2;
  text-align: center;
  display: block;
}

.extras-inner-container .form-nav-buttons{
    text-align: center;
}

.extras-inner-container .back-btn{
    background: none;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 16px;
    font-weight: 400;
    color: #121212;
    margin-top: 2rem;
    cursor: pointer;
    float: none;
    margin-bottom: 2rem;
}

.extras-inner-container .back-btn:hover {
    cursor: pointer!important;
    /* background-color: #898989; */
    background: none;
    /* color: #ffff; */
}

.extras-inner-container .form-range {
    border: none;
  }
  
  .extras-inner-container .form-range:focus {
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    box-shadow: none;
  }
  
  .extras-inner-container .form-range::-webkit-slider-thumb {
    width: 20px;
    height: 20px;
    margin-top: -6px;
    -webkit-appearance: none;
    appearance: none;
  }

  .extras-inner-container .range-label {
    margin: 0 auto;
    text-align: center;
    width: 200px;
    display: block;
    font-weight: 500;
    font-size: 16px;
    color: #424242;
  }

  .extras-inner-container .select-box input[type="radio"]:checked + .form-label {
    background-color: #000854!important;
    border: 2px solid #000737;
    color: #fff;
}

.extras-inner-container .select-box input[type="radio"]:checked + .form-label span{
    color: #fff;
}

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

  .extras-inner-container  label.error {
    text-align: center;
    width: 100%;
    color: #ff0000;
    font-weight: 300;
    font-size: 14px;
    margin-top: 0.5rem;
    transition: all ease 0.3s;
}
  
  .extras-inner-container input[type="radio"] {
    position: absolute;
    left: -99999px;
    opacity: 0;
  }
  
  .extras-inner-container .box-option-title {
    font-weight: 600;
    font-size: 16px;
    transition: all ease-in-out .3s;
  }
  
  .extras-inner-container .box-option-title small{
    font-size: 16px;
      color: #4f4f4f;
      font-weight: 400;
  }
  
  .extras-inner-container .select-label-option:hover {
    background-color: #000854!important;
    border: 2px solid #000737;
    transform: translateY(-5px);
  }
  
  .extras-inner-container .select-label-option:hover .select-img, .extras-inner-container .select-label-option:hover .select-img-sm  {
    filter: brightness(0) invert(1);
    transform: scale(1.1);
  } 
  
  .extras-inner-container .select-label-option:hover .box-option-title, .extras-inner-container .select-label-option:hover .box-option-title small{
    color: #fff;
  }

  .extras-inner-container .form-control:focus {
    color: #333333;
    background-color: transparent;
    border-color: transparent;
    outline: 0;
    box-shadow: none;
}


.modal-submit-btn {
    background-color: #000b69;
    border: 2px solid #000737;
    color:#fff;
    min-width: 200px;
    padding: 10px;
}

.modal-submit-btn:hover {
    color:#fff;
    background-color: #010846;
}

/* Start Range style */

input[type=range] {
    -webkit-appearance: none;
    margin: 5px 0;
    width: 100%;
  }
  input[type=range]:focus {
    outline: none;
  }
  input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 10px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000;
    background: #dee2e6;
    border-radius: 0px;
    border: 0px solid #ffffff;
  }
  input[type=range]::-webkit-slider-thumb {
    box-shadow: 0px 0px 1px #818181;
    border: 1px solid #ebebeb;
    height: 30px;
    width: 20px;
    border-radius: 5px;
    background: #1a1a1a;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -9.5px;
  }
  input[type=range]:focus::-webkit-slider-runnable-track {
    background: #dee2e6;
  }
  input[type=range]::-moz-range-track {
    width: 100%;
    height: 12px;
    cursor: pointer;
    animate: 0.2s;
    box-shadow: 0px 0px 0px #000000;
    background: #dee2e6;
    border-radius: 0px;
    border: 0px solid #ffffff;
  }
  input[type=range]::-moz-range-thumb {
    box-shadow: 0px 0px 1px #818181;
    border: 1px solid #ebebeb;
    height: 30px;
    width: 20px;
    border-radius: 5px;
    background: #1a1a1a;
    cursor: pointer;
  }
  input[type=range]::-ms-track {
    width: 100%;
    height: 12px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    color: transparent;
  }
  input[type=range]::-ms-fill-lower {
    background: #dee2e6;
    border: 0px solid #ffffff;
    border-radius: 0px;
    box-shadow: 0px 0px 0px #000000;
  }
  input[type=range]::-ms-fill-upper {
    background: #dee2e6;
    border: 0px solid #ffffff;
    border-radius: 0px;
    box-shadow: 0px 0px 0px #000000;
  }
  input[type=range]::-ms-thumb {
    box-shadow: 0px 0px 1px #818181;
    border: 1px solid #ebebeb;
    height: 30px;
    width: 20px;
    border-radius: 5px;
    background: #1a1a1a;
    cursor: pointer;
  }
  input[type=range]:focus::-ms-fill-lower {
    background: #dee2e6;
  }
  input[type=range]:focus::-ms-fill-upper {
    background: #dee2e6;
  }
  /* End Range style */



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

    

    .extras-inner-container .select-img {
        max-width: 60px;
        margin: 20px auto;
    }
    
    .extras-inner-container .select-img-sm {
        max-width: 25px;
    }

    .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;
    }

    .modal-question{
        padding-left: 20px;
        padding-right: 20px;
    }
    .modal-question legend {
        font-size: 20px !important;
        line-height: 1.4;
    }


  }
/* ************************************************************************************************************************************************************************** */
/* ADDITIONAL CSS 13/09/2023 *************************************************************************************/
/* ************************************************************************************************************************************************************************** */

.wrapper-narrow-maxwidth {
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
}

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

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

.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 }
}

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

.custom-mw-720 {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.custom-mw-921 {
  max-width: 921px;
  margin-left: auto;
  margin-right: auto;
}

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

#chart-ty {
  margin-top: -75px;
}

.amount-box {
  padding: 10px 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);
}

.amount-box:before {
  content: '$';
  font-size: 20px;
  font-weight: 800;
  color: #3fb500;
  position: absolute;
  left: 10px;
  top: 11px;
}

.amount-box-text {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  color: #000;
}

.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;
}

.step-ty-text {
  font-size: 11px;
  line-height: 1.4;
}

.step-ty-number {
  font-size: 24px;
  line-height: 1;
}

.step-ty-description {
  background-color: #efefef;
  padding: 1rem;
  font-weight: 500;
  width: 100%;
  height: 100%;
}

.ty-additional-offers {
  background-color: #ffffff;
  border: 1px solid #cfcfcf;
  padding: 2rem 1rem;
}

.ty-offer-container {
  border: 1px solid #f98a00;
  border-radius: 10px;
  padding: 1.5rem 1rem;
  margin-bottom: 2rem;
  transition: ease .5s all;
}

.ty-offer-button {
  color: #fff;
  background-color: #000854;
  border: 1px solid #000737;
  font-weight: 500;
  width: 100%;
  max-width: 190px;
  transition: ease all .5s;
}

.ty-offer-button:hover {
  background-color: #02062e;
  color: white;
}

.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: #f98a00;
  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-body {
  padding: 10px 30px;
}

.chat-box-date {
  text-align: center;
  padding: 10px;
  color: #000;
}

.chat-box-agent-reply {
  display: flex;
}

.agent-profile {
  margin-right: 15px;
}

.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;
}

.chat-box-user-reply {
  display: flex;
  justify-content: flex-end;
  display: none;
}

.user-reply {
  display: flex;
  flex-direction: column;
}

.user-message {
  background-color: #d0ffe9;
  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;
}

.textarea-wrapper {
  margin-top: 1rem;
  padding: 0;
}

.textbox-form {
  position: relative;
  width: 100%;
  border: 2px solid #b4b4b4;
  padding-right: 50px;
}

#user-textarea {
  width: 100%;
  padding: 1.5rem 1rem;
  height: 100%;
  border-radius: 0;
  min-height: 78px;
  padding-right: 50px;
  border: none;
}

.send-btn-icon {
  color: #096ad9;
}

#user-send {
  position: absolute;
  border: none;
  background-color: transparent;
  padding: 0 0 0 15px;
  /* top: 16px; */
  top: 30%;
  right: 10px;
  transition: all ease .5s;
}


@media (min-width: 992px) {
  #chart-ty {
    margin-top: -92px;
  }

  .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: 42px;
    left: 10px;
    top: 25px;
    top: 25px;
    z-index: 99;
  }

  .amount-box-text {
    font-size: 46px;
    font-weight: 900;
    line-height: 1.2;
    color: #000;
    z-index: 999;
    position: relative
  }
}

@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: 14px;
    line-height: 1.4;
  }

  .step-ty-number {
    font-size: 34px;
    line-height: 1;
  }

  .ty-additional-offers {
    border: 1px solid #cfcfcf;
    padding: 2rem;
  }

  .ty-offer-container {
    border: 1px solid #f98a00;
    border-radius: 10px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    transition: ease .5s all;
  }

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

}