@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900");
notice-wrap {
  display: block;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  max-width: 530px;
  font-family: "Roboto", sans-serif;
  padding: 15px 15px 0 15px;
  box-sizing: border-box;
  overflow: auto;
}
notice-wrap[position="top-left"] {
  right: auto;
  left: 0;
}
notice-wrap[position="bottom-left"] {
  right: auto;
  left: 0;
  top: auto;
  bottom: 0;
}
notice-wrap[position="bottom-right"] {
  right: 0;
  left: auto;
  top: auto;
  bottom: 0;
}
notice {
  display: block;
  position: relative;
  font-size: 15px;
  font-weight: normal;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  margin-bottom: 20px;
  padding: 15px;
  text-shadow: 5px 2px 2px #fff;
  font-weight: bold;
}
notice:before,
notice:after {
  position: absolute;
  content: "";
  background-color: #bbb;

  transform: rotate(45deg);
}
notice:before,
notice:after {
  box-sizing: border-box;
}
notice:before {
  width: 16px;
  height: 2px;
  right: 14px;
  top: calc(50% - 1px);
}
notice:after {
  width: 2px;
  height: 16px;
  right: 21px;
  top: calc(50% - 8px);
}
notice-close {
  position: absolute;
  display: block;
  right: 12px;
  width: 20px;
  height: 20px;
  cursor: pointer;
  top: calc(50% - 10px);
  z-index: 1;
}
notice[close-on-click="true"] {
  cursor: pointer;
}
notice[type="success"] {
  color: #04be5b;
  background-color: rgba(4, 190, 910, 0.3);
  border-color: #04be5b;
}
notice[type="success"]:before,
notice[type="success"]:after {
  background-color: #04be5b;
}
notice[type="error"] {
  color: #d2335c;
  background-color: rgba(210, 51, 92, 0.3);
  border-color: #d2335c;
}
notice[type="error"]:before,
notice[type="error"]:after {
  background-color: #d2335c;
}
notice[type="warning"] {
  color: #ff9948;
  background-color: rgba(255, 153, 72, 0.3);
  border-color: #ff9948;
}
notice[type="warning"]:before,
notice[type="warning"]:after {
  background-color: #ff9948;
}
notice[type="info"] {
  color: #0082d5;
  background-color: rgba(0, 130, 213, 0.3);
  border-color: #0082d5;
}
notice[type="info"]:before,
notice[type="info"]:after {
  background-color: #0082d5;
}
