/*Alert Banner CSS */
.alertbox.hidden {
  display: none;
}

.alert {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  z-index: 500;
  min-height: 70px;
  font-size: 16px;
  line-height: 1.4;
  color: rgba(250, 251, 255, 0.95);
  pointer-events: none;
}

@media (min-width: 768px) {
  .alert {
    flex-wrap: nowrap;
  }
}

.alert .title {
  min-width: 200px;
  font-weight: bold;
  flex-basis: 15%;
}

.alert a {
  color: inherit;
  opacity: 0.7;
  font-size: 1rem;
  text-decoration: underline;
}

.alert a:hover, .alert a:focus {
  opacity: 1;
  text-decoration: none;
}

.alert p {
  margin: 0;
  padding: 0;
  font-size: 1rem;
  display: inline-block;
}

@media (min-width: 400px) {
  .alert p {
    padding: 0 2rem;
  }
}

.alert.alert-show {
  pointer-events: auto;
}

.alert .icon {
  position: absolute;
  display: block;
  font-size: 109%;
  top: 50%;
  left: 1em;
  -webkit-transform: translate3d(0, -20%, 0);
  transform: translate3d(0, -20%, 0);
}

.alert-icon {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
  flex: 1;
  font-size: 24px;
  background-color: rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .alert-icon {
    flex: 0 0 80px;
  }
}

.alert-message {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  padding: 15px 30px;
  align-items: center;
}

@media (min-width: 768px) {
  .alert-message {
    flex-direction: row;
  }
}

.alert-close {
  width: 20px;
  height: 20px;
  position: absolute;
  right: 15px;
  top: 18px;
  overflow: hidden;
  text-indent: 100%;
  cursor: pointer;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.alert-close:hover, .alert-close:focus {
  outline: none;
}

.alert-close:hover::before, .alert-close:hover::after {
  background: #fff;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.alert-close::before, .alert-close::after {
  content: '';
  position: absolute;
  width: 3px;
  height: 60%;
  top: 50%;
  left: 50%;
  background-color: white;
  opacity: 0.8;
}

.alert-close::before {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
  transform: translate(-50%, -50%) rotate(45deg);
}

.alert-close::after {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
  transform: translate(-50%, -50%) rotate(-45deg);
}

.alert-type-info {
  background-color: #26B1D0;
}

.alert-type-success {
  background-color: #28870E;
}

.alert-type-warning {
  background-color: #FF7011;
}

.alert-type-danger {
  background-color: #FF1414;
}
