.marker-count {
  position: absolute;
  right: -4px;
  top: -4px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 3px rgba(33, 33, 33, 0.8);
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  padding: 2px 5px;
}

#buttons {
  position: fixed;
  z-index: 6000;
  left: 10px;
  top: 10px;
}

#linkTermsOfUse {
  background-color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  padding: 0 5px;
  position: absolute;
  z-index: 5000;
  top: -moz-calc(100% - 16px);
  top: -webkit-calc(100% - 16px);
  top: calc(100% - 16px);
}

.redButton {
  display: inline-block;
  height: 30px;
  line-height: 30px;
  padding: 0 10px;
  margin-bottom: 5px;
  background-color: #E00A16;
  text-decoration: none;
  color: white;
  border-radius: 4px;
  -webkit-box-shadow: 0 0 5px rgba(33, 33, 33, 0.8);
  -moz-box-shadow: 0 0 5px rgba(33, 33, 33, 0.8);
  box-shadow: 0 0 5px rgba(33, 33, 33, 0.8);
}
.redButton:last-child {
  margin-bottom: 0;
}
.redButton:hover {
  cursor: pointer;
  background-color: #222222;
  color: white;
  text-decoration: none;
}
.redButton i {
  margin-right: 5px;
}

#filterContainer,
#alertListContainer {
  position: fixed;
  overflow: auto;
  z-index: 6001;
  left: 5px;
  top: 5px;
  max-width: -moz-calc(100% - 10px);
  max-width: -webkit-calc(100% - 10px);
  max-width: calc(100% - 10px);
  max-height: -moz-calc(100% - 10px);
  max-height: -webkit-calc(100% - 10px);
  max-height: calc(100% - 10px);
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 4px;
  -webkit-box-shadow: 0 0 5px rgba(33, 33, 33, 0.8);
  -moz-box-shadow: 0 0 5px rgba(33, 33, 33, 0.8);
  box-shadow: 0 0 5px rgba(33, 33, 33, 0.8);
}
#filterContainer h1, #filterContainer h2,
#alertListContainer h1,
#alertListContainer h2 {
  margin: 0;
}
#filterContainer h4,
#alertListContainer h4 {
  margin-top: 15px;
}

#filterContainer {
  width: -moz-calc(100% - 10px);
  width: -webkit-calc(100% - 10px);
  width: calc(100% - 10px);
  max-width: 400px;
  z-index: 6002;
  background-color: #FFF;
}

#alertListContainer {
  bottom: 5px;
  right: 5px;
}
#alertListContainer.small {
  background-color: #FFF;
  width: -moz-calc(100% - 70px);
  width: -webkit-calc(100% - 70px);
  width: calc(100% - 70px);
  max-width: 800px;
  height: -moz-calc(100% - 35px);
  height: -webkit-calc(100% - 35px);
  height: calc(100% - 35px);
  max-height: 400px;
  left: auto;
  top: auto;
  right: 60px;
  bottom: 25px;
}
#alertListContainer h1 small {
  margin-left: 8px;
}
#alertListContainer .redButton {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
#alertListContainer th {
  background: #F3F3F3;
}
#alertListContainer tbody > tr:hover {
  background-color: #FAFAFA;
  transition: background-color 300ms ease-out;
}

#alertList {
  position: absolute;
  top: 70px;
  left: 20px;
  right: 20px;
  bottom: 20px;
}
#alertList .noResult td {
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #F9F9F9;
  font-size: 1.2em;
  color: #333;
  border-bottom: 2px solid #E00A16;
}

.scrollContainer {
  overflow: auto;
  max-height: 100%;
}

.closeButton {
  position: absolute;
  cursor: pointer;
  color: #222222;
  background-color: #EFEFEF;
  height: 30px;
  line-height: 30px;
  width: 30px;
  right: 10px;
  top: 10px;
  border-radius: 4px;
  text-align: center;
  font-size: 20px;
}
.closeButton:hover {
  color: #E00A16;
}

.statusColor {
  color: #B6D907;
}

.statusEnded1 {
  color: #E00A16;
}

@media (max-width: 767px) {
  #alertListContainer h1 {
    font-size: 22px;
    margin-top: 10px;
  }
  #alertListContainer h1 small {
    position: absolute;
    margin-left: 0;
    left: 20px;
    top: 45px;
  }
  #alertListContainer.small h1 {
    margin-top: 0;
  }
  #alertListContainer .redButton {
    height: 22px;
    line-height: 22px;
    margin-left: 5px;
  }
}