.alerts-toggle-checkbox {
  position: absolute;
  z-index: -1;
  visibility: hidden;
  pointer-events: none;
}

.alerts {
  position: fixed;
  bottom: 8px;
  left: 8px;
  width: calc(100% - 32px);
  max-width: 400px;
  height: calc(100% - 32px);
  max-height: 530px;
  color: #fff;
  text-shadow: 0px 2px 4px rgba(0,0,0,0.1);
  border-radius: 2px;
  overflow: hidden;
  pointer-events: none;
}

@media (max-width: 641px) {
  .alerts { bottom: 55px; }
}

.alerts.open { pointer-events: all; }

.alerts-background {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #e84a36;
  transform: scale(1);
  transform-origin: 50% 50%;
  transition: transform .3s cubic-bezier(0, 0, 0.3, 1);
  will-change: transform;
}

.alerts.open .alerts-background {
  transform: scale(26);
  transition: transform .3s cubic-bezier(0, 0, 0.3, 1);
}

.alerts-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform: translateY(100%) translate(0, -72px);
  transition: transform .2s cubic-bezier(0, 0, 0.3, 1);
  will-change: transform;
  font-family: "merriweather", Arial, Helvetica,sans-serif;
}

.alerts.open .alerts-inner {
  transform: translateY(0);
  transition: transform .2s cubic-bezier(0, 0, 0.3, 1) 15ms;
}

.alerts-header {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 72px;
  width: 100%;
  height: 72px;
  line-height: 72px;
}

.alerts.open .alerts-header {border-bottom: 1px solid rgba(255, 255, 255, 0.2);}


.alerts-header .title {
  font-size: 20px;
  font-weight: bold;
  opacity: 0;
  transition: opacity .2s cubic-bezier(0, 0, 0.3, 1) .05s;
}

.alerts.open .alerts-header .title {
  opacity: 1;
}

.alerts-body {
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  height: calc(100% - 72px);
  opacity: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  transition: opacity .2s cubic-bezier(0, 0, 0.3, 1) .05s;
}

.alerts.open .alerts-body {
  opacity: 1;
}

.alert {
  line-height: 1.1;
  position: relative;
  padding: 24px 12px 24px 72px;
}

.alert:last-of-type { padding-bottom: 24px; }

.alert:hover {
	background-color: rgba(0,0,0,0.15);
}

.alert-icon {
  position: absolute;
  top: 24px;
  left: 36px;
  font-size: 18px;
  color: #fff;
  transform: translateX(-50%);
}

.alert-title {
  margin-bottom: 6px;
  font-size: 18px;
  color: #fff;
}

.alert-description {
	font-size: 16px;
	color: #fff;
}

.alert-description p {}

.alert-description span {
	font-size: 80%;
	text-transform: uppercase;
	letter-spacing: .5px;
	font-family: "ronnia",sans-serif;
	opacity: .6;
}

.alerts-icon {
  position: absolute;
  top: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  font-size: 18px;
  color: #fff;
  border: none;
  border-radius: 50%;
  background-color: transparent;
  outline: none;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
}

.alerts-icon i { flex: 1; }

.alerts-icon:before{content: "" !important;}

.alerts-icon:hover {
  background-color: rgba(0,0,0,0.15);
}

.alerts-icon.icon-bell {
  left: 12px;
  pointer-events: all;
  background-color: #e84a36;
}

.alerts-icon.icon-close {
  right: 12px;
  opacity: 0;
}

.alerts.open .alerts-icon.icon-close { opacity: 1; }

.alerts:not(.open) .alerts-icon.icon-bell {
	box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
}
