#alert {
  list-style: none;
}

#alert_wrap {
  width: 350px;
  background-color: #FFF;
  padding: 7px;
  border: 1px solid #CCC;
  overflow: auto;
  height: 150px;
  margin: 10px;
}

#alert_credits {
  display: none;
  float: right;
  color: #666;
  font-size: 80%;
}

.alert_data_report_icon {
  vertical-align: middle;
}

#alert-archive {
  list-style: none;
}

.alert_info {
  color: #AAA;
  font-size: 80%;
}

#alert-rows {
  font-weight: bold;
  float: right;
  padding-right: 30px;
}

.alert_date {
  color: #AAA;
  font-size: 80%;
  margin-left: 3px;
}

#alert IMG,
#alert-archive IMG {
  padding-right: 3px;
}

.alert-old {
  color: #AAA;
}

.alert_warning {
  color: #FF0066;
}

#alert_admin_icon {
  background-color: transparent;
  background-image: url(images/icon32.png);
  background-repeat: no-repeat;
}

#navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#navigation li {
  float: left;
  list-style: none;
  margin-right: 10px;
}

.with_hide_controls input[type=checkbox],
.with_hide_controls label {
  float: left;
  display: inline-block;
  line-height: 1.2rem;
  vertical-align: middle;
  height: 1.2rem;
  line-height: 1.2rem;
  padding: 0;
  margin: .3rem 0 0 .6rem;
}

.with_hide_controls fieldset {
  margin: 0 0 .6rem;
  padding: 0;
}

.with_hide_controls fieldset h2 {
  background-color: #eee;
  border-bottom: 1px solid #ccc;
  padding: 0 .6rem;
  cursor: pointer;
  margin: 0;
}

.with_hide_controls fieldset h2 {
  border-bottom: 0;
}

.with_hide_controls fieldset.toggle h2::before {
  content: "▲";
}

.with_hide_controls fieldset h2::before {
  content: "▼";
  vertical-align: middle;
  width: .8rem;
  font-size: .8rem;
  height: 1.4rem;
  line-height: 1.4rem;
  display: inline-block;
  transition: all 2px linear;
  transform-origin: center center;
  margin-right: .3rem;
}

.with_hide_controls fieldset.toggle input[type=checkbox],
.with_hide_controls fieldset.toggle label,
.with_hide_controls fieldset.toggle br {
  display: none;
}

.alerts-inactive {
  pointer-events: none;
  cursor: default;
}

.alerts-inactive a {
  color: #222;
}

.pagination > ul {
  line-height: 1.2rem;
  display: flex;
  justify-content: space-around;
  list-style: none;
  margin: 1.2rem 0;
}

.pagination li {
  flex: 1 1 auto;
  text-align: center;
}

.alerts-inactive {
  pointer-events: none;
  cursor: default;
}

.alerts-inactive a {
  color: #222;
}

nav.pagination > ul {
  line-height: 1.2rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  list-style: none;
  margin: 1.2rem 0;
}

.pagination li {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  text-align: center;
  padding: .3rem .6rem;
}

.pagination .prev.alerts-inactive,
.pagination .next.alerts-inactive,
.pagination li:last-of-type.alerts-inactive,
.pagination li:first-of-type.alerts-inactive {
  display: none;
}

.pagination .prev,
.pagination .next,
.pagination li:last-of-type,
.pagination li:first-of-type {
  -webkit-box-flex: 0;
  -webkit-flex-grow: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  -webkit-flex-basis: auto;
  -ms-flex-preferred-size: auto;
  flex-basis: auto;
}

.pagination a {
  display: block;
  max-width: 5rem;
  margin: 0 auto;
}

.pagination li:not(.alerts-inactive) + li a {
  margin-left: .6rem;
}

.pagination li.alerts-inactive a,
.pagination li a:hover,
.pagination li a:focus {
  background-color: #008cba;
  color: #fff;
}
