.toast:after,
.toast:before {
  content: "";
  position: absolute;
}

#toast-container > div {
  opacity: 1;
  -ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  filter: alpha(opacity=100);
  max-width: none;
  border-radius: 0.286rem;
}

#toast-container > div,
#toast-container > div:hover {
  box-shadow: 0 2px 20px 0 rgba(34, 41, 47, 0.08);
}

#toast-container > .toast {
  background-image: none !important;
}

.toast {
  background-color: #FFF;
  color: #6E6B7B !important;
}

.toast .toast-close-button {
  color: #6E6B7B;
  font-size: 1.75rem;
  font-weight: 400;
  top: 0;
  right: 0;
  text-shadow: none;
}

.toast .toast-close-button:focus {
  outline: 0;
}

.toast .toast-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.75;
}

.toast .toast-progress {
  opacity: 1;
}

.toast:before {
  height: 24px;
  width: 24px;
  border-radius: 50%;
  color: #FFF;
  left: 1rem;
}

.toast:after {
  background-size: 1rem;
  background-repeat: no-repeat;
  left: 1.42rem;
  top: 1.56rem;
  width: 1rem;
  height: 1rem;
}

.toast-success .toast-title {
  color: #28C76F;
}

.toast-success {
  border: 1px solid #28c76f9a;
}

.toast-success .toast-progress,
.toast-success:before {
  background-color: #28C76F;
}

.toast-success:after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-check'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}

.toast-error .toast-title {
  color: #EA5455;
}

.toast-error {
  border: 1px solid #ea5454a1;
}

.toast-error .toast-progress,
.toast-error:before {
  background-color: #EA5455;
}

.toast-error:after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-x'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
}

.toast-info .toast-title {
  color: #00CFE8;
}

.toast-info {
  border: 1px solid #00d1e89c;
}

.toast-info .toast-progress,
.toast-info:before {
  background-color: #00CFE8;
}

.toast-info:after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-info'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='16' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'%3E%3C/line%3E%3C/svg%3E");
}

.toast-warning .toast-title {
  color: #FF9F43;
}

.toast-warning {
  border: 1px solid #ff9e4393;
}

.toast-warning .toast-progress,
.toast-warning:before {
  background-color: #FF9F43;
}

.toast-warning:after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-alert-triangle'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'%3E%3C/path%3E%3Cline x1='12' y1='9' x2='12' y2='13'%3E%3C/line%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'%3E%3C/line%3E%3C/svg%3E");
}

.toast-top-left {
  top: 1.3rem;
  left: 2rem;
}

.toast-top-right {
  top: 1.3rem;
  right: 2rem;
}

.toast-top-center,
.toast-top-full-width {
  top: 1.3rem;
}

.toast-bottom-left {
  bottom: 1.3rem;
  left: 2rem;
}

.toast-bottom-right {
  bottom: 1.3rem;
  right: 2rem;
}

.toast-bottom-center,
.toast-bottom-full-width {
  bottom: 1.3rem;
}

@media (max-width: 480px) and (min-width: 241px) {
  #toast-container > .toast:after {
    top: 0.95rem;
  }

  #toast-container > .toast .toast-close-button {
    top: 0;
    right: -1px;
  }

  #toast-container > div {
    width: 20rem;
  }

  .toast-top-left {
    left: 0;
  }

  #toast-container.toast-bottom-center,
  #toast-container.toast-top-center {
    right: 1rem;
  }

  #toast-container.toast-bottom-center > div,
  #toast-container.toast-top-center > div {
    width: 20rem !important;
  }

  .toast-bottom-full-width,
  .toast-top-full-width {
    right: 0;
    left: 0;
    width: 93%;
  }

  .toast-bottom-full-width > div,
  .toast-top-full-width > div {
    width: 100%;
  }

  .toast-bottom-left {
    left: 0.25rem;
    bottom: 0.75rem;
  }

  .toast-bottom-right {
    right: 2.25rem;
    bottom: 0.75rem;
  }

  .toast-bottom-center,
  .toast-bottom-full-width {
    bottom: 0.75rem;
  }

  [data-textdirection=rtl] #toast-container > div {
    padding-right: 8px;
  }
}

.dark-layout #toast-container > div,
.dark-layout #toast-container > div:hover {
  box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.24);
}

.dark-layout #toast-container .toast {
  background-color: #283046;
  color: #B4B7BD !important;
}

.dark-layout #toast-container .toast .toast-close-button {
  color: #B4B7BD;
}

@media (max-width: 575.98px) {
  [data-textdirection=rtl] .toast .toast-close-button {
    top: 0.55rem !important;
    right: 0.5rem !important;
  }
}

[data-textdirection=rtl] .toast-top-left {
  left: 1rem;
  right: auto;
}

[data-textdirection=rtl] .toast-top-right {
  right: 3rem;
  left: auto;
}

[data-textdirection=rtl] .toast-bottom-left {
  left: 1em;
  right: auto;
}

[data-textdirection=rtl] .toast-bottom-right {
  right: 3rem;
  left: auto;
}

[data-textdirection=rtl] .toast-bottom-full-width#toast-container > div,
[data-textdirection=rtl] .toast-top-full-width#toast-container > div {
  left: 0;
  right: 0;
}

.toast .toast-close-button:before {
  content: unset;
}

body {
  background: #EEF0F8;
  font-weight: 500 !important;
  letter-spacing: 0.2px;
}

.form-group label.error {
  display: none;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: #F64E60;
}

.invalid-tooltip {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 5;
  display: none;
  max-width: 100%;
  padding: 0.75rem 1rem;
  margin-top: 0.1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #ffffff;
  background-color: #f64e60;
  border-radius: 3px;
}

.was-validated :invalid ~ .invalid-feedback,
.was-validated :invalid ~ .invalid-tooltip,
.error ~ .invalid-feedback,
.error ~ .invalid-tooltip {
  display: block;
}

.was-validated .form-control:invalid,
.form-control.error {
  border-color: #F64E60;
  padding-right: calc(1.5em + 1.3rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23F64E60' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23F64E60' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.325rem) center;
  background-size: calc(0.75em + 0.65rem) calc(0.75em + 0.65rem);
}

.was-validated .form-control:invalid:focus,
.form-control.error:focus {
  border-color: #F64E60;
  box-shadow: 0 0 0 0.2rem rgba(246, 78, 96, 0.25);
}

.was-validated textarea.form-control:invalid,
textarea.form-control.error {
  padding-right: calc(1.5em + 1.3rem);
  background-position: top calc(0.375em + 0.325rem) right calc(0.375em + 0.325rem);
}

.was-validated .custom-select:invalid,
.custom-select.error {
  border-color: #F64E60;
  padding-right: calc(0.75em + 2.975rem);
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%233F4254' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 1rem center/8px 10px, url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23F64E60' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23F64E60' stroke='none'/%3e%3c/svg%3e") #ffffff no-repeat center right 2rem/calc(0.75em + 0.65rem) calc(0.75em + 0.65rem);
}

.was-validated .custom-select:invalid:focus,
.custom-select.error:focus {
  border-color: #F64E60;
  box-shadow: 0 0 0 0.2rem rgba(246, 78, 96, 0.25);
}

.was-validated .form-check-input:invalid ~ .form-check-label,
.form-check-input.error ~ .form-check-label {
  color: #F64E60;
}

.was-validated .form-check-input:invalid ~ .invalid-feedback,
.was-validated .form-check-input:invalid ~ .invalid-tooltip,
.form-check-input.error ~ .invalid-feedback,
.form-check-input.error ~ .invalid-tooltip {
  display: block;
}

.was-validated .custom-control-input:invalid ~ .custom-control-label,
.custom-control-input.error ~ .custom-control-label {
  color: #F64E60;
}

.was-validated .custom-control-input:invalid ~ .custom-control-label::before,
.custom-control-input.error ~ .custom-control-label::before {
  border-color: #F64E60;
}

.was-validated .custom-control-input:invalid:checked ~ .custom-control-label::before,
.custom-control-input.error:checked ~ .custom-control-label::before {
  border-color: #f87f8c;
  background-color: #f87f8c;
}

.was-validated .custom-control-input:invalid:focus ~ .custom-control-label::before,
.custom-control-input.error:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 0.2rem rgba(246, 78, 96, 0.25);
}

.was-validated .custom-control-input:invalid:focus:not(:checked) ~ .custom-control-label::before,
.custom-control-input.error:focus:not(:checked) ~ .custom-control-label::before {
  border-color: #F64E60;
}

.was-validated .custom-file-input:invalid ~ .custom-file-label,
.custom-file-input.error ~ .custom-file-label {
  border-color: #F64E60;
}

.was-validated .custom-file-input:invalid:focus ~ .custom-file-label,
.custom-file-input.error:focus ~ .custom-file-label {
  border-color: #F64E60;
  box-shadow: 0 0 0 0.2rem rgba(246, 78, 96, 0.25);
}

