/*!
 * ngToast v1.5.6 (http://tameraydin.github.io/ngToast)
 * Copyright 2015 Tamer Aydin (http://tamerayd.in)
 * Licensed under MIT (http://tameraydin.mit-license.org/)
 */

.ng-toast {
  position: fixed;
  z-index: 1080;
  width: 100%;
  height: 0;
  margin-top: 20px;
  text-align: center;
}
.ng-toast.ng-toast--top {
  top: 0;
  bottom: auto;
}
.ng-toast.ng-toast--top .ng-toast__list {
  top: 0;
  bottom: auto;
}
.ng-toast.ng-toast--top.ng-toast--center .ng-toast__list {
  position: static;
}
.ng-toast.ng-toast--bottom {
  top: auto;
  bottom: 0;
}
.ng-toast.ng-toast--bottom .ng-toast__list {
  top: auto;
  bottom: 0;
}
.ng-toast.ng-toast--bottom.ng-toast--center .ng-toast__list {
  pointer-events: none;
}
.ng-toast.ng-toast--bottom.ng-toast--center .ng-toast__message .alert {
  pointer-events: auto;
}
.ng-toast.ng-toast--right .ng-toast__list {
  left: auto;
  right: 0;
  margin-right: 20px;
}
.ng-toast.ng-toast--right .ng-toast__message {
  text-align: left;
}
.ng-toast.ng-toast--left .ng-toast__list {
  right: auto;
  left: 0;
  margin-left: 20px;
}
.ng-toast.ng-toast--left .ng-toast__message {
  text-align: left;
}
.ng-toast .ng-toast__list {
  display: inline-block;
  position: absolute;
  right: 0;
  left: 0;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.ng-toast .ng-toast__message {
  display: block;
  width: 100%;
  text-align: center;
}
.ng-toast .ng-toast__message .alert {
  display: inline-block;
}
.ng-toast .ng-toast__message__count {
  display: inline-block;
  margin: 0 15px 0 5px;
}

/* Close button: self-contained (không phụ thuộc tabler.css / bootstrap.css trên production) */
.ng-toast .alert-dismissible {
  position: relative;
  padding-right: 3rem;
}

.ng-toast .alert-dismissible .btn-close {
  box-sizing: content-box;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 0.75rem;
  height: 0.75rem;
  padding: 1.25rem 1rem;
  margin: 0;
  color: #000;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/0.75rem auto no-repeat;
  border: 0;
  border-radius: 4px;
  opacity: 0.5;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-size: 0;
  line-height: 0;
}

.ng-toast .alert-dismissible .btn-close:hover {
  opacity: 0.75;
}

.ng-toast .alert-dismissible .btn-close:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(32, 107, 196, 0.25);
  opacity: 1;
}

.ng-toast .alert a {
  color: inherit;
  text-decoration: none;
  cursor: default;
}

.ng-toast .alert a:hover {
  text-decoration: none;
}
