/* modal alert */

.modal-body.alert {
  border-radius: 16px;
  border-width: 1px;
  padding: 0px;
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  color: #555;
  align-items: center;
  margin-bottom: 0px;
}
.toast {
  border: 1px solid;
  border-radius: 8px;
  border-width: 1px;
  padding: 8px;
  position: absolute;
  display: flex;
  width: calc(100% - 80px);
  color: #555;
  align-items: center;
  max-width: 100%;
  top: 16px;
  min-height: 60px;
  box-shadow: 0 0 8px rgb(0 0 0 / 0.2);
  z-index: 1000000;
  opacity:1;
  animation: 1s movetoast;
  margin: 0 40px;
}

.text-error {
    display: none;
}

.circle-container {
    position: relative;
    width: 180px;
    /* ancho relativo a la pantalla */
    max-width: 180px;
    /* límite máximo para que no crezca demasiado */
    height: 180px;
    max-height: 180px;
}

.rings {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
}

.rings::before,
.rings::after,
.rings span {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    border: 14px solid;
    box-sizing: border-box;
}

.rings::before {
    width: 100%;
    height: 100%;
}

.rings::after {
    width: 80%;
    height: 80%;
}

.rings span {
    width: 20px;
    height: 20px;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
    z-index: 2;
    width: 100%;
    height: 100%;
}

svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

svg circle {
    fill: none;
    stroke-width: 14px;
    /* stroke también relativo */
    stroke-linecap: round;
}

.progress {
    stroke-dasharray: 628;
    /* 2πR, corregimos para R=100px original */
    stroke-dashoffset: 628;
    transition: stroke-dashoffset 1s linear;
}

.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 22px;
    max-font-size: 22px;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.center-circle span.digit {
    color: white;
}

.title-detail-confirm {
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    padding-inline-start: 16px;
    width: 100%;
    margin-top: -1px;
    background: #f7f7f7;
    padding: 8px 16px;
}

.title-detail-confirm:first-child {
    margin-top: 0px;
}

.section-buttons-signature {
    margin-inline-start: 32px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
}

.tit-transaction-signature {
    font-size: 14px;
    font-weight: bold;
    color: #222;
}

.text-transaction-signature span {
    font-size: 14px;
    color: #565656;
    font-style: italic;
}

.text-transaction-signature {
    font-size: 14px;
    color: #565656;
}

.row .section-menu + .toast {
 background: red!important
}

.login .toast {
  border: 1px solid;
  border-radius: 8px;
  border-width: 1px;
  padding: 8px;
  position: absolute;
  display: flex;
  width: 506px;
  color: #555;
  align-items: center;
  max-width: 100%;
  top: 24px;
  min-height: 60px;
  box-shadow: 0 0 8px rgb(0 0 0 / 0.2);
  z-index: 1000000;
  opacity:1;
  animation: 0.8s movetoastlogin;
  margin: 0 40px;
}
.toast.warning.with-wizard-menu, .toast.info.with-wizard-menu, .toast.ok.with-wizard-menu, .toast.danger.with-wizard-menu {
  width: 862px;
  margin: 0;
  margin-inline-start: 184px;
}

.security .toast.warning.with-wizard-menu, .security .toast.info.with-wizard-menu, .security .toast.ok.with-wizard-menu, .security .toast.danger.with-wizard-menu {
  width: calc(100% - 64px);
  margin: 0;
  margin-inline-start: 32px;
}

@keyframes movetoast {
  0% {
    transform:  translate(0,-120px) ;
    opacity: 0.8;
  }
  100% {
    transform:  translate(0,0) ;
    opacity: 1;
  }
}
@keyframes movetoastlogin {
  0% {
    transform:  translate(0,-120px) ;
    opacity: 0.4;
  }
  100% {
    transform:  translate(0,0) ;
    opacity: 1;
  }
}
.toast.warning {
  background-color: #F2E4D7;
  border-color: #DFCEBA;
  color: #000;
}
.toast.danger {
  background-color: #F2E7E7;
  border-color: #e8d6d6;
  color: #000;
}
.toast.success {
  background-color: #197C31;
  border-color: #197C31;
  color: #000;
}
.toast.info {
  background-color: #D7E2EF;
  border-color: #bcc8d7;
  color: #000;
}
.toast.ok {
  background-color: #D6E3D9;
  border-color: #bfd6c5;
  color: #000;
}
.toast.ok i {
  color: #197C31;
}
.toast.info i {
  color: #3E6EA8;
}
.toast.danger i {
  color: #E84818;
}
.toast.warning i {
  color: #E0720C;
}
.alert p {
  padding-inline-end: 40px;
  font-size: 14px;
}
.toast .icon-close {
  position: absolute;
  right: 16px;
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  color: #555;
  font-size: 14px;
  height: 14px;
  width: 14px;
  top: 16px;
}
.toast i {
  font-size: 24px;
  padding: 0 8px;
  padding-inline-end: 12px;
}
.toast .alert-title {
  font-size: 18px;
  font-weight: 600;
}
.toast p {
  font-size: 14px;
  font-weight: 400;
}

.messageBox {
  background-color: #D7E2EF;
  border-color: #B6D2F3;
  color: #336199;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 12px 16px;
  border-radius: 8px;
}
.messageBox p {
  padding-inline-end: 40px;
  font-size: 15px;
}
.messageBox .icon-close {
  position: absolute;
  right: 1.25rem;
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  color: #FFF;
  font-size: 14px;
  height: 14px;
  width: 14px;
}
[dir="rtl"] .alert .icon-close {
  left: 1.25rem;
  right: auto;
}
.alert i {
  font-size: 24px;
  padding-inline-end: 8px;
}
.alert-title {
  display: block;
  font-weight: bold;
  padding-inline-end: 8px;
  padding-bottom: 4px;
}
.normal-modal .modal-content.alert {
  height: inherit;
  padding: 24px!important;
  padding-top: 56px!important;
  border: 0;
  margin-bottom: 0;
  border-radius: 16px;
  position: absolute;
}
.modal-content.alert .modal-title.alert {
  font-size: 18px;
  margin-bottom: 0;
  padding: 16px 0;
  font-weight: 500;
  line-height: normal!important;
  text-align: center;
  justify-content: center;
}
.modal-icon.alert i.icon-Check_fill {
  color: #197C31;
}
.modal-icon.alert i.icon-warning {
  color: #E0720C;
}
.modal-icon.alert i.icon-Information {
  color: #3E6EA8;
}
.modal-icon.alert {
 font-size: 24px;
 padding: 0!important;
 margin: 0!important;
}
.normal-modal.alert .modal-text.alert {
  font-size: 16px;
  text-align: center;
  width: 100%;
  color: #555;
  padding: 0;
  padding-top: 0px;
  padding-bottom: 8px;
  line-height: normal;
  margin: 0;
}
.normal-modal.alert .modal-icon.alert i {
 font-size: 40px;
 padding-inline-end: 0px;
}
a.btn.alert {
  width: 100%;
  max-width: 100%;
}
a.btn-link-secondary.alert {
  padding-bottom: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  color: #555;
  text-decoration: underline;
  margin-top: 8px;
  cursor: pointer;
}
.normal-modal.alert .icon-close {
  font-size: 18px;
  position: absolute;
  right: 0;
  top: -28px;
  font-weight: 100;
  z-index: 1;
  display: block;
  padding: 0;
  margin: 0;
  border: 0;
  color: #666;
  height: 20px;
  width: 20px;
}

.section-toast-login {
  width: calc(100% + 32px);
  position: relative;
  top: 14px;
}

/* notification */
.notification-message {
    width: 100%;
    border-radius: 8px;
    padding: 16px;
    font-size: 14px;
    color: #000;
    margin: 0 0 30px 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.notification-message i {
    font-size: 18px;
    padding-inline-end: 12px;
}

.notification-message.info {
    background-color: #D7E2EF;
}

.notification-message.info i {
    color: #3E6EA8;
}

@media (max-width: 1200px) {

.alert {
  width: 100%;
  margin: 0 auto;
}
.alert p {
  font-size: 16px;
}
.login .toast {
  width: 420px;
}
.toast.warning.with-wizard-menu, .toast.info.with-wizard-menu, .toast.ok.with-wizard-menu, .toast.danger.with-wizard-menu {
  width: 714px;
  margin: 0;
  margin-inline-start: 168px;
}

}
@media (max-width: 992px) {

.alert {
  width: 100%;
  margin-bottom: 16px;
}
.modal-dialog-centered.alert {
  align-items: center!important;
}
.normal-modal.alert .modal-content.alert {
  border-radius: 16px;
  border: 0;
}
.toast.warning.with-wizard-menu, .toast.info.with-wizard-menu, .toast.ok.with-wizard-menu, .toast.danger.with-wizard-menu {
  width: calc(100% - 182px);
  margin: 0;
  margin-inline-start: 152px;
}
.section-toast-login {
  width: 100%;
  position: relative;
  top: 48px;
  display: flex;
  background: red;
  /* height: 1px; */
  justify-content: center;
}
.login .toast {
  width: 444px;
  margin: 0;
}

}
@media (max-width: 768px) {

  .toast.warning.with-wizard-menu, .toast.info.with-wizard-menu, .toast.ok.with-wizard-menu, .toast.danger.with-wizard-menu {
    width: calc(100% - 166px);
    margin: 0;
    margin-inline-start: 143px;
  }
  .section-toast-login {
    top: -8px;
  }
  .login .toast {
    width: calc(100% - 64px);
    margin: 0 32px;
  }

}
@media (max-width: 576px) {

.alert {
  margin-bottom: 0;
}

.normal-modal.alert .modal-text.alert {
  font-size: 14px;
}

.alert p {
  font-size: 14px;
}
.normal-modal .modal-content.alert {
  height: inherit;
  padding: 16px!important;
  padding-top: 48px!important;
  border: 0;
}
.normal-modal.alert .icon-close {
  top: -32px;
}
a.btn-link-secondary.alert {
  margin-bottom: 16px;
  margin-top: 16px;
}
.normal-modal .modal-content.alert {
  position: relative;
}
.toast {
  border: 0;
  border-radius: 8px;
  padding: 8px;
  position: absolute;
  display: flex;
  top: 15px;
  min-height: inherit;
  margin: 0 15px;
  width: calc(100% - 30px)
}

.toast .alert-title {
  font-size: 16px;
  padding-inline-end: 20px;
}
.toast .icon-close {
  font-size: 12px;
  top: 12px;
  right: 12px;
  z-index: 1000000;
}
.section-toast-login {
  width: calc(100% + 32px);
  position: relative;
  top: -8px;
}
.toast.warning.with-wizard-menu, .toast.info.with-wizard-menu, .toast.ok.with-wizard-menu, .toast.danger.with-wizard-menu {
  width: calc(100% - 30px);
  margin: 0;
  margin-inline-start: 15px;
}
.section-toast-login {
  top: 0px;
  width: 100%;
}
.login .toast {
  width: calc(100% - 32px);
  margin: 0 16px;
  top: 8px;
}
.normal-modal.alert .modal-icon.alert i {
 font-size: 24px;
 padding-inline-end: 0px;
}
.security .toast.warning.with-wizard-menu, .security .toast.info.with-wizard-menu, .security .toast.ok.with-wizard-menu, .security .toast.danger.with-wizard-menu {
  width: calc(100% - 32px);
  margin: 0;
  margin-inline-start: 16px;
}

}
