/* 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;
}

.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;
}

@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: 16px;
  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;
}

@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;
}

.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;
}

}
