/* CSS for the alerts sections */

.slick-slide {
  height: auto;
  min-height: 1px;
}
#district-alerts-header {
  height: auto;

}
.alerts-container {
  width: 100%;
  margin-bottom: 2rem;
}

.alert-count {
  display: flex;
  text-align: center;
  /* width: 2.7rem; */
  margin: 0 .2rem;
}

.alert-count * {
  margin: 0 .2rem;
}

.slide-counter {
  /* width: 10rem; */
  display: flex;
}

@media only screen and (max-width: 880px) {
  .alert-item {
    padding: 0 1rem;
  }
}

.alerts-header {
  width: 100%;
  text-align: center;
  padding: 3rem 0 1rem;
  flex: 0 0 100%;
}

.alerts-header #breadcrumbs {
  text-align: center;
  justify-content: center;
  margin: 0 0 1.5rem;
}

.alert-item .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.alert-item .alert-content-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.alert-item h2 a {
  text-decoration: none;
}

.alert-item h2 a:hover {
  text-decoration: underline;
  color: #003592;
}

.alert-districts p {
  margin-bottom: .5rem;
}

#alert-tab-all {
  margin-bottom: 10rem;
}

.alerts-container .alert-item:not(:last-child) {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: solid thin #cccccc;
}

.alert-item .alert-content-wrap .see-all-alerts {
  margin-left: auto;
  margin-right: 2rem;
}

@media only screen and (max-width: 768px) {
  .alert-item .alert-content-wrap .see-all-alerts {
    margin-left: 0;
    margin-right: auto;
  }
}

.alert-item .alert-content-wrap a {
  color: #fff;
}

.alert-item.warning .alert-content-wrap a {
  color: #2A2723;
}

.alert-item .alert-content-wrap a.read-more {
  margin-left: 10px;
  /* line-height: 1; */
  /* display: inline-block; */
}

.alert-level {
  display: inline-block;
  padding: .5rem;
  margin-bottom: 1rem;
  width: 9rem;
}

.alert-level svg {
  width: 1rem;
  height: 1rem;
  transform: translateY(3px);
  margin: 0 .25rem 0 .125rem;
}



.alert-item.emergency,
.alert-level.emergency,
.alert-item.emergency a {
  background-color: #A01321;
  color: #fff;
}

.alert-item.emergency a:focus,
.alert-item.emergency button:focus,
.alert-item.notice a:focus,
.alert-item.notice button:focus {
  outline: solid 3px white;
  outline-offset: 3px;
}

.alert-item.warning,
.alert-level.warning,
.alert-item.warning a {
  background-color: #F5CF47;
  color: #2A2723;
  /* height: 100%; */
}

.right .alert-level {
  height: auto !important;
}

.alert-item.warning svg path {
  fill: black;
}

.alert-item.warning a:focus,
.alert-item.warning button:focus {
  outline: solid 3px black;
  outline-offset: 3px;
}

.alert-item.notice,
.alert-level.notice,
.alert-item.notice a {
  background-color: #0A6803;
  color: #fff;
}

.alerts-container .tab-link {
  cursor: pointer;
  font-weight: 600;
}

.alerts-container .tab-link[aria-selected='true'] {
  background-color: #e8ecf3 !important;
  font-weight: 600;
  color: #003592;
  text-decoration: underline;
  padding: 1rem;
  border-radius: 0;
}

.alerts-container .tab-content {
  display: none;
}

.alerts-container .tab-content.current {
  display: block;
}

.alerts-wrapper .alert-item {
  margin-bottom: 20px;
  border-radius: 10px;
  padding: 20px 80px;
  position: relative;
}

.alerts-wrapper .alert-item .alert-icon-close {
  /* position: absolute; */
  right: 0;
  background: transparent !important;
  top: 0;
  text-align: center;
  color: red;
  fill: red;
}

.alerts-wrapper .alert-item .alert-item-title {
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.alerts-wrapper .alert-item.emergency a.read-more {
  color: #fff;
}

.alerts-wrapper .alert-item.emergency a:focus,
.alerts-wrapper .alert-item.notice a:focus {
  outline: solid 3px white;
}

.alerts-wrapper .alert-item.alert a:focus {
  outline: solid 3px black;
}


.alerts-container .tabs {
  display: flex;
  background-color: #eff3fa;
  width: 100%;
  padding: 0;
  justify-content: space-around;
  margin: 2rem 0;
}

.alerts-center-main {
  margin: 0 auto !important;
}


.alerts-container {
  width: 52rem;
  max-width: 100vw !important;
  margin: 0 auto 8rem;
  display: block;
}

@media only screen and (max-width: 1024px) {
  .alerts-container {
    width: 100%;
  }
}

.alerts-container .tabs button {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  background-color: transparent !important;
  color: #003592;
}

.alerts-container .tabs button {
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  color: #2b2724;
  padding: 1rem;
}

@media only screen and (min-width: 768px) {
  .alert-updated {
    text-align: right;
  }

  .alerts-container .alert-header {
    display: flex;
  }

  .alerts-container .left {
    width: 65%;
  }

  .alerts-container .right {
    align-items: flex-end;
  }

  .alerts-container .right {
    width: 35%;
    flex-direction: column;
    display: flex;
  }
}

/* .alerts-container .right {
  margin: 0 0 2rem;
} */

.alert-districts {
  display: flex;
  flex-direction: row;
  margin: .5rem 0 2rem;
  flex-grow: 1;
}

#district-alerts-header {
  z-index: 10;
  position: relative;
}

.alert-intro,
.alert-intro ul {
  list-style: none;
  margin: 0;
}

#district-alerts-header button:hover,
#district-alerts-header button {
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent !important;
  padding: 0;
  width: auto;
  /* text-align: center; */
  margin: 0;
}

#district-alerts-header svg:focus {
  /* outline: none !important; */
}

#district-alerts-header .alert-item-icon {
  height: 1rem;
}

.alert-updated {
  width: 50%;
}

.alert-updated {
  text-align: right;
}

@media only screen and (max-width: 768px) {

  .alerts-container button {
    margin: 0 0 1rem;
  }

  .alerts-container .tabs {
    flex-direction: column;
  }

  .alerts-container .right {
    margin: 0;
  }

  .alert-updated,
  .alert-district {
    width: 100%;
    flex: 0 0 100%;
    text-align: left;
    margin: .25rem 0;
  }

  .alert-districts {
    display: flex;
    flex-direction: column;
    margin: .5rem 0;
  }

  .alert-updated {
    order: 0;
  }

  .alert-district {
    order: 1;
  }
}

#district-alerts-header .alert-item-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 .75rem -0.4rem 0;
}

#district-alerts-header svg:hover {
  cursor: pointer;
}

#district-alerts-header .alert-item.warning svg {
  fill: black;
}

#district-alerts-header .alert-item.notice svg,
#district-alerts-header .alert-item.emergency svg {
  fill: white;
}

#district-alerts-header .alert-item-title p {
  margin: 0;
}

#district-alerts-header .alert-item-title {
  font-weight: 700;
  display: flex;
  align-content: center;
  justify-content: center;
}

#district-alerts-header .alert-title a {
  text-decoration: none;

}

.district-alerts-list {
  margin: 0;
  width: 100% !important;
}

.district-alerts-list li {
  display: inline;
}

@media only screen and (max-width: 768px) {
  .slide-counter {
    /* width: 4rem; */
  }

  .alert-item .see-all-alerts,
  .alert-item-icon,
  .alert-count {
    /* display: none; */
  }

  #district-alerts-header .alert-item-title {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 1rem;
  }

  .alert-item .alert-content-wrap a.read-more {
    width: 100%;
    margin: 0;
  }

  #district-alerts-header button {
    width: 2rem;
  }
}




.district-alerts-wrapper .alert-icon-close {
  position: absolute;
  top: 0.7rem !important;
  right: 6.1rem !important;
}

.district-alerts-wrapper .alert-item-title {
  padding-right: 3rem;
}

.district-alerts-wrapper .alert-item.hide {
  display: none;
}

.district-alerts-wrapper .alert-item {
  display: flex;
  align-items: center;
  padding: 1rem 6rem .5rem;
}

.all-systems-selected {
  list-style: none;
}

@media only screen and (max-width: 768px) {
  .district-alerts-wrapper .alert-item {
    padding: .5rem;
    /* align-items: flex-start; */
    flex-direction: column;
    align-items: flex-start;
  }

  .district-alerts-wrapper .alert-item svg {
    width: 2rem;
  }

  .district-alerts-wrapper .alert-icon-close {
    top: 0 !important;
    right: 0 !important;
  }
}

.district-alerts-wrapper .alert-item svg {
  margin-right: 2.25rem;
}

.district-alerts-wrapper .alert-icon-close svg {
  margin-right: 0;
  color: red;
  fill: red;
}

.district-phone-form {
  display: none;
}

#district-phone-form label {
  display: inline-block;
  width: 100%;
}

.has-alerts-selected {
  display: none;
}