

notify *:not(input)
{
  -webkit-user-select: none;
  user-select: none;
}


notifycenter
{
  position: absolute;
  z-index: 99999999999999999;
  top:0;
  right:0;
  width:100%;
  height:auto;
  max-height: 100%;
  max-width:450px;
  overflow-y: auto;
  overflow-x: hidden;
}

notify
{
  display: block;
  position: relative;
  margin: 20px;
  width:calc(100% - 40px);
  max-height: 95px;
  border:1px solid white;
}
notify img+h1+p
{
  padding-left: 50px;
}

notify h1
{
  font-size: 20px;
  text-align: left;
  margin:10px;
  margin-bottom: 5px;
  font-family: Bold
}

notify p
{
  font-size: 15px;
  font-family: Regular;
  margin:10px;
  margin-top:0;
  padding-right: 20px;
  text-align: left;

}

notify quit
{
  display: block;
  user-select: none;
  position: absolute;
  top:0;
  right:0;
  height:100%;
  margin-right:10px;
  vertical-align: middle;
  width:20px;
  opacity: 0;
  filter:brightness(1);
}

notify>img
{
  float:left;
  width:40px;
  object-fit: contain;
  margin:10px;
  margin-top:14px;
  height:40px;
}
notify quit:hover
{
  filter:brightness(1);
  opacity: 0.2;
}

notify quit:active
{
  opacity: 0.8;
  filter:brightness(1);
}








@-webkit-keyframes ui_notify_enter
{
  0%{
    transform: translateX(100%);
    opacity: 0;
  }
  100%
  {
    transform: translateX(0);
    opacity: 1;
  }
}


notify
{
  -webkit-backdrop-filter:blur(5px);
  backdrop-filter:blur(5px);
  -moz-backdrop-filter:blur(5px);
  background: rgba(36,36,36,0.7);
  box-shadow: 0 0 15px rgba(0,0,0,0.7);
  border:0.5px solid rgba(170,170,170,0.5);
  border-radius: 5px;


  overflow: hidden;
  -webkit-animation-name: ui_notify_enter;
  -webkit-animation-duration: 0.5s;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-timing-function: ease;
}

@media screen and (max-width: 450px) {
  notify {
    -webkit-animation-name: fade_zoom;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: ease;
  }
}

notify quit
{
  background:url('/res/bundles/remove.png') no-repeat center center;
  background-size: contain;
  -webkit-background-size: contain;
  -moz-background-size: contain;
}


notify[level=error]
{
  background:rgba(194, 73, 66, 1);
}

notify[level=warn]
{
  background:rgba(214, 186, 73, 1);
}

notify[level=success]
{
  background:rgba(76, 217, 100, 1);
}
