﻿html, body {
  height: 100%;
}

body {
  font-family: "Noto Sans", sans-serif;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
}
@media (min-width: 600px) {
  body {
    font-size: 16px;
  }
}

.wrapper {
  display: flex;
  justify-content: center;
  min-height: 100%;
  padding-top: 60px;
}

header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 62px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  background: #FFFFFF;
  z-index: 10;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0 16px;
}

.header-back-button {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  position: fixed;
  top: 63px;
  left: 0;
  right: 0;
}

.header-container {
  width: 100%;
  max-width: 1200px;
}

.header-container img {
  width: 138px;
  height: 28px;
}

.logo-block {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  padding: 10px;
  margin-bottom: 16px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.back-block {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  padding-top: 12px;
  padding-bottom: 12px;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  max-width: 386px;
  margin: 0 auto;
  width: 100%;
}

.back-block a {
  padding: 8px;
  width: 40px;
  height: 40px;
}

.back-block p {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.01em;
  width: 100%;
  text-align: center;
  padding-right: 48px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.03em;
}

a {
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

input:-webkit-autofill {
  background-color: #FFFFFF !important;
  color: #FFFFFF !important;
  border: 1px solid #FFFFFF;
  -webkit-box-shadow: 0 0 0 1000px #FFFFFF inset;
  transition: background-color 5000s ease-in-out 0s;
}

input[type=number],
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  -moz-appearance: textfield;
}

input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  background-color: #FFFFFF !important;
  color: #FFFFFF !important;
  -webkit-box-shadow: 0 0 0 1000px #FFFFFF inset;
}

.row {
  margin-right: -10px;
  margin-left: -10px;
}

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
  padding-left: 10px;
  padding-right: 10px;
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
  background: none;
}

.form-control:focus,
.form-control.is-invalid:focus,
.was-validated .form-control:invalid:focus {
  box-shadow: none;
}

/* Buttons */
.btn-primary {
  background-color: #000000;
  border-color: #000000;
}

.btn-primary:hover:not(:disabled):not(.disabled) {
  background-color: #675E5E;
  border-color: #675E5E;
}

.btn-primary.disabled,
.btn-primary:disabled,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary.focus,
.btn-primary:focus {
  background-color: #000000;
  border-color: #000000;
  box-shadow: none !important;
}

.btn-primary.disabled, .btn-primary:disabled {
  opacity: 0.5;
  box-shadow: none !important;
  background: none;
  color: rgba(0, 0, 0, 0.32);
  border-color: rgba(0, 0, 0, 0.24);
}

.btn-primary.loading.disabled, .btn-primary.loading:disabled {
  opacity: 1;
  box-shadow: none !important;
  background-color: #675E5E;
  border-color: rgba(0, 0, 0, 0.24);
}

.btn-light {
  background: #F3EEEE;
  transition: opacity 0.3s;
}

.btn-light:hover:not(:disabled):not(.disabled) {
  background: #F3EEEE;
  border-color: #F3EEEE;
  opacity: 0.5;
}

.btn-light.disabled,
.btn-light:disabled,
.btn-light:not(:disabled):not(.disabled).active,
.btn-light:not(:disabled):not(.disabled):active,
.btn-light.focus,
.btn-light:focus {
  background: #F3EEEE;
  border-color: #F3EEEE;
  box-shadow: none !important;
}

.btn-lg {
  font-size: 16px;
  padding: 11px;
  font-weight: 700;
  border-radius: 8px;
}

.btn-link {
  color: #000;
  padding: 0;
  line-height: 20px;
  letter-spacing: 0.015em;
}

@media (max-width: 1023px) {
  .btn-link {
    font-size: 13px;
  }
}
.btn-link:hover {
  color: #000;
}

.buttons-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.buttons-group button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  gap: 4px;
  height: 100%;
}

.text-block {
  border-radius: 8px;
  background: #F6EADE;
  display: flex;
  padding: 11px 16px 12px;
}

.text-block p {
  margin-bottom: 0;
  padding-left: 8px;
}

.text-block a {
  color: #000;
  font-weight: 700;
}

.submit-form {
  margin-top: 28px;
}

.submit-form.loading {
  font-size: 0;
}

.submit-form .spinner-border {
  display: none;
  font-size: 20px;
  border-width: 1.5px;
  width: 22px;
  height: 24px;
}

.submit-form.loading .spinner-border {
  display: inline-block;
  font-size: 20px;
  color: white;
}

/* Custom Field */
.form-group {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.24);
  background: #FFF;
  padding: 15px 15px 14px;
  transition: 0.3s linear;
}

.form-group.error {
  border-color: #D40E14;
}

.form-group__error {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s linear;
}

.form-group__error-text {
  margin-top: 12px;
  margin-bottom: -3px;
  padding-top: 12px;
  border-top: 0.5px solid rgba(0, 0, 0, 0.24);
  font-size: 13px;
  font-weight: 400;
  line-height: 14px;
  letter-spacing: -0.02em;
  color: #D40E14;
}

.form-group.error .form-group__error {
  max-height: 100px;
  opacity: 1;
  visibility: visible;
  transition: 0.3s linear;
}

.form-group .label {
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.form-group.error .label {
  color: #D40E14;
}

.form-group .invalid-feedback {
  border-top: 1px solid rgba(0, 0, 0, 0.24);
  padding-top: 12px;
}

.form-group .input {
  border: none;
  background: none;
  padding: 0;
  height: 24px;
  letter-spacing: -0.04em;
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.form-group .input[data-valid=password],
.form-group .input[data-valid=confirm-password] {
  padding-right: 36px;
}

.form-group .input::placeholder {
  opacity: 1;
  font-weight: 400;
  font-family: "Noto Sans", sans-serif;
  color: rgba(0, 0, 0, 0.32);
  letter-spacing: -0.032em;
  font-size: 18px;
}

.password-validation {
  padding-top: 16px;
  margin-bottom: 18px;
  margin-left: 4px;
}

.password-validation__title {
  font-size: 16px;
  font-style: normal;
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.validation-item {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  gap: 8px;
}

.validation-item p {
  margin: 0;
  color: rgba(0, 0, 0, 0.56);
  letter-spacing: 0.01em;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
}

.validation-icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  background-image: url("../images/icons/uncheck.svg");
  background-size: contain;
  background-position: center;
}

.success .validation-icon {
  background-image: url("../images/icons/checked.svg");
}

.code-input {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  padding-bottom: 12px;
}

.code-input__field {
  font-family: "Noto Sans", sans-serif;
  width: 43px;
  height: 54px;
  text-align: center;
  border: none;
  outline: none;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: -1.2px;
  padding: 0;
  margin: 0 -3px;
  line-height: 1;
  color: inherit;
}

.error .code-input__field {
  color: #D40E14;
}

/*MODAL*/
.modal-content {
  border-radius: 12px;
}

.modal-header {
  padding: 32px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-bottom: none;
}

.modal-header h4 {
  margin: 0;
  text-align: center;
}

.modal-body {
  padding: 0 32px 32px 32px;
  text-align: center;
}

.modal-body .btn {
  margin-top: 28px;
}

.modal-header .close {
  position: absolute;
  right: 8px;
  top: 5px;
  margin: 0;
  outline: none;
}

.error-block {
  left: 16px;
  right: 16px;
  bottom: 112px;
  background: #ED615C;
  border-radius: 8px;
  max-width: 1200px;
  margin: 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  transition: 0.3s;
}

.error-block.hide {
  opacity: 0;
  transform: translateY(144px);
}

.error-block p {
  font-size: 13px;
  font-weight: 600;
  line-height: 14px;
  color: #FFFFFF;
  margin-bottom: 0;
}

@media (min-width: 600px) {
  .modal-dialog {
    max-width: 388px;
    margin: 1.75rem auto;
  }
  .buttons-group {
    gap: 20px;
  }
}
@media (min-width: 1024px) {
  h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.046em;
  }
  .header-container img {
    width: 148px;
    height: 30px;
  }
  .submit-form {
    margin-top: 40px;
  }
  .buttons-group {
    margin-top: 40px;
  }
  .error-block {
    position: fixed;
    margin: 0 auto;
  }
}
@media (max-width: 1023px) {
  h2 {
    font-size: 24px;
  }
}
@media (max-width: 1023px) {
  h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
  }
}
@media (max-width: 599px) {
  .buttons-group button {
    display: flex;
    flex-direction: column;
    padding: 16px 8px;
  }
}
.ui-datepicker {
  font-size: 17px;
  line-height: 1.2;
}

.title {
  margin-bottom: 28px;
}

.text-grey {
  color: rgba(0, 0, 0, 0.56);
  letter-spacing: 0.16px;
}

.form-group {
  margin-bottom: 10px;
  position: relative;
}

.form-group .icon {
  position: absolute;
  right: 19px;
  top: 18px;
  cursor: pointer;
}

.card-link-wrapper {
  margin-top: 28px;
}

.card-link {
  text-align: center;
  background-color: #f0f0f0;
  padding: 16px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: #000;
  transition: background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: -0.025em;
  height: 100%;
}

.card-link:hover {
  background-color: #e0e0e0;
  color: #000;
}

.card-link img {
  margin-bottom: 4px;
  width: 28px;
  height: 28px;
}

/* PAGES Login */
.login-container {
  width: 100%;
  max-width: 418px;
  padding: 0 16px 32px;
  display: flex;
  flex-direction: column;
}

.login-container .btn-link {
  margin-top: 20px;
}

/* PAGES Forgot Password */
.forgot-password-container {
  width: 100%;
  max-width: 418px;
  padding: 0 16px 37px;
  display: flex;
  flex-direction: column;
}

.forgot-password-container .btn-link {
  margin-top: 20px;
}

.forgot-password-container__wrap {
  padding-top: 16px;
  height: 100%;
}

.forgot-password-container .title {
  margin-bottom: 16px;
}

/* PAGES Active sign */
.active-sign-container {
  width: 100%;
  max-width: 622px;
  padding: 0 16px 32px;
  display: flex;
  flex-direction: column;
}

.active-sign-container .title {
  margin-top: 4px;
  margin-bottom: 16px;
  padding-left: 32px;
  padding-right: 32px;
}

.active-sign-container .text-grey {
  margin-bottom: 8px;
}

.active-sign-container .text-block {
  margin-top: 24px;
}

.active-sign-container .buttons-group {
  gap: 12px;
}

/* PAGES Request expired */
.request-expired-container {
  width: 100%;
  max-width: 624px;
  padding: 0 16px 32px;
  display: flex;
  flex-direction: column;
}

.request-expired-container .title {
  margin-top: 4px;
  margin-bottom: 16px;
}

/* PAGES Notification expired */
.notification-expired-container {
  width: 100%;
  max-width: 624px;
  padding: 0 16px 32px;
  display: flex;
  flex-direction: column;
}

.notification-expired-container .title {
  margin-top: 4px;
  margin-bottom: 16px;
}

/* PAGES Change password */
.change-password-container {
  width: 100%;
  max-width: 458px;
  padding: 0 16px 32px;
  display: flex;
  flex-direction: column;
}

.change-password-container .title {
  margin-top: 4px;
  margin-bottom: 20px;
}

.change-password-container form {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.forgot-password-container form {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* PAGES Enter code */
.enter-code-container {
  width: 100%;
  max-width: 558px;
  padding: 0 16px 32px;
  display: flex;
  flex-direction: column;
}

.enter-code-container__wrap {
  margin: auto;
}

.enter-code-container form {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.enter-code-container .title {
  margin-bottom: 14px;
}

.enter-code-container .text {
  color: rgba(0, 0, 0, 0.56);
  padding: 12px 0;
  letter-spacing: 0.013em;
}

.enter-code-container .text strong {
  color: #000;
}

.enter-code-container .buttons {
  width: 100%;
  max-width: 386px;
  margin: 28px auto 0;
}

.enter-code-container .btn-block + .btn-block {
  margin-top: 16px;
}

@media (min-width: 1024px) {
  .form-group {
    margin-bottom: 12px;
  }
  .card-link-wrapper {
    margin-top: 48px;
  }
  .change-password-container {
    margin: auto;
    padding: 40px 16px 112px;
  }
  .notification-expired-container {
    margin: auto;
    padding: 24px 16px 176px;
  }
  .request-expired-container {
    margin: auto;
    padding: 40px 16px 192px;
  }
  .active-sign-container .buttons-group {
    gap: 20px;
  }
  .active-sign-container {
    margin: auto;
    padding: 40px 16px 90px;
  }
  .forgot-password-container {
    margin: auto;
    padding: 40px 16px 90px;
  }
  .login-container {
    margin: auto;
    padding: 40px 16px 108px;
  }
  .enter-code-container {
    margin: auto;
    padding: 40px 16px 114px;
  }
  .enter-code-container .buttons {
    margin: 44px auto 0;
  }
}
@media (max-width: 1023px) {
  .notification-expired-container__wrap,
  .login-container__wrap,
  .request-expired-container__wrap,
  .active-sign-container__wrap {
    margin-top: auto;
    margin-bottom: auto;
  }
  .change-password-container__wrap {
    margin-bottom: auto;
  }
  .change-password-container .title {
    text-align: left;
  }
}
@media (max-width: 599px) {
  .active-sign-container .buttons-group {
    flex-direction: column-reverse;
  }
}
.quipu .q-color {
  background-color: red;
}

.icon-create-account {
  background-image: url(../images/icons/new-account.svg);
  background-size: cover;
  background-repeat: no-repeat;
  display: inline-block;
  height: 32px;
  width: 32px;
}

.icon-contact-bank {
  background-image: url(../images/iconssupport.svg);
  background-size: cover;
  background-repeat: no-repeat;
  display: inline-block;
  height: 32px;
  width: 32px;
}

#wasSentModal .close {
  display: none;
}

.alert-danger-quipu {
  background-color: #ED615C;
  color: #fff;
  border-radius: 0.25rem;
  padding: 1rem 1rem 1rem 2rem;
  margin-bottom: 1rem;
}

.alert-danger-quipu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.alert-danger-quipu ul li {
  margin-top: 0.1rem;
}

.spinner_V8m1 {
  transform-origin: center;
  animation: spinner_zKoa 2s linear infinite;
}

.spinner_V8m1 circle {
  stroke-linecap: round;
  animation: spinner_YpZS 1.5s ease-in-out infinite;
}

@keyframes spinner_zKoa {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes spinner_YpZS {
  0% {
    stroke-dasharray: 0 150;
    stroke-dashoffset: 0;
  }
  47.5% {
    stroke-dasharray: 42 150;
    stroke-dashoffset: -16;
  }
  95%, 100% {
    stroke-dasharray: 42 150;
    stroke-dashoffset: -59;
  }
}
.login-wrapper {
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-height: 100%;
  margin: 0 auto;
  padding-top: 60px;
}

@media (max-width: 768px) {
  #openCultureModal {
    display: none;
  }
  .responsive-dialog {
    position: fixed !important;
    bottom: 0;
    margin: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    pointer-events: auto;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    border-radius: 1rem 1rem 0 0;
  }
  .responsive-dialog .modal-content {
    border-radius: 1rem 1rem 0 0;
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    background: #fff;
  }
  .responsive-dialog .grabber {
    width: 40px;
    height: 5px;
    background: #ccc;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
  }
  .modal.show .responsive-dialog {
    transform: translateY(0);
  }
}
@media (min-width: 769px) {
  #change-lang {
    display: none;
  }
  .login-wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-height: 100%;
    max-width: 50%;
    margin: 0 auto;
    padding-top: 60px;
  }
  .responsive-dialog {
    max-width: 500px;
    margin: auto;
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
    pointer-events: auto;
    position: relative !important;
    transform: none !important;
  }
  .responsive-dialog .modal-content {
    border-radius: 0.5rem;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }
  .grabber {
    display: none;
  }
}
.culture-select {
  cursor: pointer;
}
.culture-select label.form-check-label {
  font-size: 1rem;
  font-weight: normal;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.culture-select input.custom-radio-black {
  width: 15px;
  height: 15px;
  border: 2px solid black;
  border-radius: 50%;
  appearance: none;
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
}
.culture-select input.custom-radio-black::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(15px / 2);
  height: calc(15px / 2);
  border-radius: 50%;
  background-color: transparent;
  transform: translate(-50%, -50%);
  transition: background-color 0.2s ease;
}
.culture-select input.custom-radio-black:checked::before {
  background-color: black;
}
.culture-select.selected label.form-check-label {
  font-weight: bold;
}

/*//Spinner//

//
// Rotating border
//

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    border: .25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    -webkit-animation: spinner-border .75s linear infinite;
    animation: spinner-border .75s linear infinite;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: .2em;
}*/
.display-flex-row {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
}

.width-30-percent {
  width: 30% !important;
}

.width-65-percent {
  width: 65% !important;
}

.translate-y-5px {
  transform: translateY(5px) !important;
}
