@keyframes pop {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes delete {
  0% {
    transform: translateX(0px);
  }
  100% {
    transform: translateX(-500px);
  }
}
.inbox-wrapper {
  display: inline-block;
  float: right;
  position: relative;
}
.inbox {
  position: relative;
  display: inline-block;
  color: #757575;
  padding: 6px 10px;
  margin-left: 10px;
  cursor: pointer;
}
.inbox:hover {
  color: #333333;
}
.notifications-counter {
  color: white;
  position: absolute;
  display: block;
  background-color: #c70000;
  width: 20px;
  height: 20px;
  border-radius: 20px;
  text-align: center;
  right: 0;
  top: -5px;
  z-index: 10;
}
.notifications-counter.pop {
  animation: pop 0.5s;
}
.messages-list-wrapper {
  display: none;
  position: absolute;
  right: -15px;
  top: 32px;
  min-width: 350px;
  color: #333333;
  line-height: 20px;
  border: 1px solid #bbbbbb;
  box-shadow: 0 3px 3px rgba(238, 238, 238, 0.4);
  background: #fff;
  z-index: 10;
}
.messages-list-wrapper.visible {
  display: block;
}
.messages-list-header {
  margin: 0;
  padding: 10px 20px;
  background-color: rgba(238, 238, 238, 0.4);
}
.messages-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.messages-list.empty {
  padding: 25px 0;
  text-align: center;
}
.messages-list .item {
  margin: 0;
  position: relative;
  top: -1px;
  transition: transform 1s;
  border-left: 8px solid;
}
.messages-list .item .blurred {
  -webkit-filter: blur(5px);
  -ms-filter: blur(5px);
  filter: blur(5px);
}
.messages-list .item .message {
  padding: 25px 20px;
  display: block;
  margin-right: 60px;
}
.messages-list .item .actions {
  position: absolute;
  top: 7px;
  right: 0;
  opacity: 0;
  filter: alpha(opacity=0);
  transition: opacity 0.2s;
}
.messages-list .item .action {
  display: block;
  cursor: pointer;
}
.messages-list .item .action svg {
  padding: 20px 10px;
}
.messages-list .item:hover {
  background-color: rgba(238, 238, 238, 0.2);
}
.messages-list .item:hover .actions {
  zoom: 1;
  filter: alpha(opacity=100);
  opacity: 1;
}
.messages-list .item .date {
  display: block;
  margin-top: 10px;
  font-size: 0.8em;
  color: grey;
}
.messages-list .item:last-child {
  border-bottom: none;
}
.messages-list .item.deleted {
  animation: delete 1s;
  background-color: #f1f0f0;
}
.messages-list .item .remove-msg {
  margin-left: 5px;
  cursor: pointer;
}
.messages-list .item.success {
  border-left-color: #28a745;
}
.messages-list .item.error {
  border-left-color: #dc3545;
}
.messages-list .item.warning {
  border-left-color: #ffc107;
}
.messages-list:before {
  content: '';
  display: block;
  height: 0;
  position: absolute;
  width: 0;
  border: 6px solid;
  border-color: transparent transparent #ffffff transparent;
  z-index: 99;
  right: 26px;
  top: -12px;
}
.messages-list:after {
  content: '';
  display: block;
  height: 0;
  position: absolute;
  width: 0;
  border: 7px solid;
  border-color: transparent transparent #bbbbbb transparent;
  z-index: 98;
  top: -14px;
  right: 25px;
}
@keyframes slide-up {
  0% {
    top: 200px;
  }
  100% {
    top: 0;
  }
}
@keyframes slide-down {
  0% {
    top: 0;
  }
  100% {
    top: 200px;
  }
}
@keyframes fade-out {
  0% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    display: none;
  }
}
.slide-up {
  animation: slide-up 0.5s;
}
.slide-down {
  animation: slide-up 0.5s;
}
.fade-out {
  animation: fade-out 0.5s;
}
.notifications {
  list-style: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  display: block;
  padding: 0;
  margin: 0;
}
.notifications .item {
  width: 100%;
  height: 100%;
  padding: 25px;
  margin: 0;
  display: inline-block;
  position: relative;
  text-align: center;
  color: #fff;
  background-color: #28a745;
  opacity: 0.9;
  cursor: pointer;
}
.notifications .item:hover {
  opacity: 1;
}
.notifications .item.success {
  background-color: #28a745;
}
.notifications .item.warning {
  background-color: #ffc107;
}
.notifications .item.error {
  background-color: #dc3545;
}
.ajax-loader {
  width: 100%;
  text-align: center;
  height: 100%;
  position: absolute;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}
.ajax-loader > div {
  width: 18px;
  height: 18px;
  background-color: #333333;
  position: relative;
  top: 22px;
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.ajax-loader .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.ajax-loader .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
@-webkit-keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
  }
}
@keyframes sk-bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
