html,
body {
  min-height: 0 !important;
  height: auto !important;
  position: inherit !important;
}

body {
  font-size: 12px;
  overflow-x: clip;
}

p {
  font-family: "agenda-condensed";
  font-size: 1.5em;
  color: #282828;
  line-height: 1;
}

/* Pop Up CSS */

.alert {
  background: #b90109;

  & svg {
    width: 40px;
    position: absolute;
    right: 1em;
    top: 25%;
  }
}

.alert_content {
  padding: 0.5em 1em;
  width: 100%;
  text-align: center;
  color: #fff;
}

.btn-close {
  background: none;
}

body:not(.dnnEditState) .alert:has(.DNNEmptyPane) {
  display: none;
}

body:not:has(.dnnEditState) #popup:has(.DNNEmptyPane) {
  display: none;
}

.dnn_popup_SyncPanel {
  width: 100%;
}
.alert_content p,
.alert_content text {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 1.4em;
  color: white;
  padding-top: 1.1%;
  width: 100%;
  padding-right: 12%;
}

.btn-close {
  z-index: 9;
  top: 11px;
  right: 100px;
  position: absolute;
  color: white !important;
  font-weight: bold;
  font-size: 23px;
}

.btn-close .bi .bi-x-lg {
  height: 100px;
  width: 100px;
}

.removePopup {
  position: absolute !important;
  height: 1px !important;
  width: 1px !important;
  left: 5000px;
}

.alert a {
  color: white !important;
  text-decoration: underline !important;
}

.btn-close:hover,
.btn-close:focus,
.glyphicon:hover,
.glyphicon:focus {
  filter: opacity(0.6);
  padding-bottom: 5px;
  border-bottom: 2px solid #fff;
}

#dnn_contentpane a {
  text-decoration: underline;
  color: #282828;
}

.blueText {
  font-family: "agenda-condensed";
  font-size: 1.63em;
  color: #1e2553;
  font-weight: bold;
  margin-bottom: 5px;
}

.no-pad {
  padding-left: 0;
  padding-right: 0;
}

.some-pad {
  padding: 0% 5%;
}

.menu-container {
  background: #a11d21;
  display: grid;
  grid-template-columns: auto 15%;
  position: relative;
}

nav.no-pad.col-12.d-sm-none.d-md-none.d-lg-block.d-xl-block {
  display: none;
}

#phonemenu {
  height: 54px;
}

#mobileitems {
  flex-direction: row;
  display: flex;
}

.mobilebuttons {
  border-right: 1px solid white;
  height: 40px;
  color: white;
  text-align: center;
  cursor: pointer;
  font-size: 0.8em;
  margin-top: 7px;
  background: #a11d21;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.svg-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.svg-container svg {
  width: 25px;
  height: 25px;
}

.mobilebuttons:hover,
.mobilebuttons:focus {
  color: white;
}

.mobilebuttons:last-child {
  border: none;
}

.mobilebuttons:nth-child(2) {
  border: none;
}

.glyphicon {
  color: white;
  font-size: 23px;
  top: 3px;
  display: block;
  margin-bottom: 5px;
  text-align: center;
}

#translate,
#search {
  position: absolute;
  overflow: hidden;
  font-size: 0.75em;
}

.bcs-container-searchbox {
  margin-top: 8px;
}

.goog-te-combo {
  margin-top: 11px;
}

.paneDrop {
  background: white;
  z-index: 999;
  right: 20%;
  height: 65px !important;
  width: 30% !important;
  border-bottom-right-radius: 5px;
  text-align: center;
  line-height: 22px;
  color: white !important;
  transition: height 0.4s;
  animation-direction: reverse;
  border-bottom-left-radius: 5px;
  border: 2px solid #173b75;
  top: 100%;
}

footer {
  background: #ececf0;
  border-top: 6px solid black;
  padding-top: 5px;
  padding-bottom: 15px;
}

footer p {
  font-family: "agenda-condensed";
  font-size: 1.5em;
  color: #525252;
  margin: 0px 2%;
  line-height: 1.3;
}

footer p a {
  font-family: "agenda-condensed";
  color: #1e2553 !important;
  padding-bottom: 5px;
}

#footertext {
  padding-top: 5px;
  padding-bottom: 5px;
}

#links {
  font-weight: bold;
  color: #1e2553;
  font-size: 0.9em;
}

/* Push up 1px to hide utilities */

#rotatorHome {
  top: -1px;
}

/* Gets rid of possible doible GT */

.skiptranslate.goog-te-gadget ~ .skiptranslate.goog-te-gadget {
  display: none;
}

.skiptranslate.goog-te-gadget select.goog-te-combo ~ select.goog-te-combo {
  display: none;
}

/* Padding for all Sections (top and bottom padding) */

#middleTop,
#middle,
#middleBottom,
#footer {
  padding-top: 2%;
  padding-bottom: 2%;
}

/*--------------------------------------------------------------------*/

#skiplink a {
  font-family: "agenda-condensed";
  font-weight: bold;
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#skiplink a:focus {
  position: static;
  width: auto;
  height: auto;
}

#wrapall {
  overflow: hidden;
}

#rotatorOverlay {
  position: absolute;
  z-index: 8;
  top: 0px;
}

.HomePageENRLinkContainer {
  float: left;
}

/* Below Rotator */

.ol,
ul {
  padding-left: 0;
}

/* Registered Totals */

.registrationTotalsList {
  list-style: none;
  margin-left: 0%;
  margin-right: 15%;
  margin-top: 5%;
  margin-bottom: 15px;
  background: #1e2553;
  border-radius: unset;
  color: white;
  font-family: "agenda-condensed";
  font-size: 1.5em;
}

.registrationTotalsList li:nth-child(2n) {
  background: #373e71;
}

.registrationTotalsList li:first-child {
  text-align: center;
  padding: 7px 0px;
  width: 100%;
}

.registrationTotalsList li:first-child .totalsField {
  padding: 0;
  text-transform: none;
}

.registrationTotalsList li:first-child .totalsValue {
  float: none;
}

.registrationTotalsList li {
  padding: 7px;
  padding-left: 33%;
  padding-right: 35%;
}

.totalsField {
  margin-right: 5%;
  text-transform: uppercase;
}

.totalsValue {
  float: right;
}

/* Quicklinks */

#quicklinks {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-rows: auto;
  gap: 1em;
  position: relative;

  & a {
    margin: auto;
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 1350px) {
  #quicklinks {
    gap: 0px;
    right: 55px;
  }
}
@media (max-width: 1200px) {
  #quicklinks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 30px;
    right: 0px;

    & a {
      margin: auto;
      display: flex;
      flex-direction: column;
    }
  }
}

@media (max-width: 992px) {
  #quicklinks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    grid-row-gap: 25px !important;
    gap: 0px;
    right: 40px;

    & a {
      margin: auto;
      display: flex;
      flex-direction: column;
    }
  }
}

@media (max-width: 768px) {
  #quicklinks {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    grid-row-gap: 50px !important;
    gap: 0px;
    right: 0px;

    & a {
      margin: auto;
      display: flex;
      flex-direction: column;
    }

    & div {
      margin: auto;
    }
  }

  .qltext {
    text-align: center;
    margin-left: 200px;
  }
}

.qlitem {
  text-align: center;
  margin-bottom: 12px;
  position: relative;
  display: flex;
  margin: auto;
}

.qlimg,
.qlimghov {
  position: absolute;
  top: 0;
  left: 0;
}

.qltext {
  text-transform: uppercase;
  font-family: "agenda-condensed";
  font-size: clamp(0.8em, 1.8em, 2.5em);
  font-weight: bold;
  line-height: 1.2;
  text-align: left;
  width: 18ch;
  margin-left: 100px;
}

.ql-editor .qltext {
  text-decoration: none !important;
}

.qlred {
  color: #a11d21;
}

.qlblue {
  color: #1e2553;
}

.qlimghov {
  display: none;
}

.qlimg img,
.qlimghov img {
}

#quicklinks a:hover .qlimghov {
  display: block;
}

.qlimghov:hover {
  display: block;
}

/* divider */

.divider {
  background: #e4e4ea;
  padding: 15px 0px;
  margin: 30px 0px;
}

/* Election Dates */

/* And Public Notices Header */

h1 {
  font-family: "whitman-display-compressed";
  font-weight: bold;
  text-transform: uppercase;
  font-size: 2.5em;
  color: #a11d21;
  margin-bottom: 5px;
}

h2 {
  font-family: "agenda-condensed";
  text-transform: uppercase;
  font-size: 1.65em;
  color: black;
  font-weight: bold;
  margin-top: 0px;
  margin-bottom: 10px;
}

.dateBox {
  width: 26%;
  margin-right: 30px;
  padding: 0;
  font-family: "agenda-condensed";
  color: white;
  text-align: center;
}

.dateBox .blueBox {
  background: #1e2553;
  font-size: 6em;
  font-weight: bold;
  padding: 0px;
}

.dateBox .redBox {
  background: #a11d21;
  font-size: 2.33em;
  padding: 10px;
  text-transform: uppercase;
}

.dateBox .whiteBox {
  font-size: 1.7em;
  color: #1e2553;
  min-height: 50px;
  align-items: center;
  line-height: 1;
  margin-top: 5px;
}

/* Public Notices */

.eds_news_Ozone.eds_subCollection_calendar .archive_list.events {
  margin-top: 0px !important;
  border: none !important;
}

.eds_news_Ozone.eds_subCollection_calendar .archive_list {
  padding: 0 !important;
}

/* Text in Calendar for ADA */

.eds_news_Ozone.eds_subCollection_calendar
  .calendar_table
  td.day.has_events
  > a {
  color: #9e6400 !important;
  border: solid 1px #9e6400 !important;
}

.eds_news_Ozone .edn_module_title {
  display: none;
}

.eds_news_Ozone.eds_subCollection_calendar .archive_list.events ul li:before {
  display: none !important;
}

.eds_news_Ozone.eds_subCollection_calendar
  .archive_list.events
  ul
  li
  > a
  > span {
  display: block;
  font-size: 0.7em !important;
  font-family: "agenda-condensed" !important;
  color: #a11d21 !important;
}

.eds_news_Ozone.eds_subCollection_calendar .archive_list.events ul li {
  padding: 7px 15px !important;
  background: white;
  margin-bottom: 10px !important;
  width: 30%;
  margin-right: 2% !important;
  display: inline-block;
  box-shadow: 0px 0px 6px grey;
}

.eds_news_Ozone.eds_subCollection_calendar
  .archive_list.events
  ul
  li:first-child {
  margin-left: 0px !important;
}

.eds_news_Ozone.eds_subCollection_calendar .archive_list.events ul li > a {
  font-size: 1.8333em !important;
  font-family: "agenda-condensed" !important;
  color: #1e2553 !important;
  font-weight: bold;
}

.eds_news_Ozone h3 {
  padding: 0 15px !important;
}

@media (min-width: 992px) {
  #rotatorHome {
    margin-top: 0px !important;
  }

  #middle {
    margin-top: 0px !important;
  }

  #search,
  #translate {
  }
}

@media (max-width: 1350px) {
  .registrationTotalsList li {
    padding-left: 30%;
    padding-right: 30%;
  }
}

@media (max-width: 1050px) {
  .registrationTotalsList li {
    padding-left: 27%;
    padding-right: 27%;
  }
}

@media (max-width: 991px) {
  #middle {
    margin-top: 0px !important;
  }

  .qlitem {
    margin-top: 5px;
  }

  #q1,
  #q2 {
    margin-top: 0px;
  }

  #banner {
    z-index: 99;
  }

  #mobileitems {
    z-index: 9999;
    right: 300%;
    position: relative;
  }

  .paneDrop {
    left: 25% !important;
    width: 50%;
    margin: auto;
  }

  .c-hamburger {
    display: block;
    position: absolute;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 64px;
    height: 40px;
    font-size: 0;
    text-indent: -9999px;
    appearance: none;
    box-shadow: none;
    border-radius: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    left: 32%;
    z-index: 999;
  }

  .c-hamburger:focus {
    outline: none;
  }

  .c-hamburger span {
    display: block;
    position: absolute;
    top: 26px;
    left: 18px;
    right: 18px;
    height: 4px;
    background: white;
  }

  .c-hamburger span::after,
  .c-hamburger span::before {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: white;
    content: "";
  }

  .c-hamburger span::before {
    top: -10px;
  }

  .c-hamburger span::after {
    bottom: -10px;
  }

  .c-hamburger--htx {
    background-color: transparent;
  }

  .c-hamburger--htx span {
    transition: background 0s 0.3s;
  }

  .c-hamburger--htx span::before,
  .c-hamburger--htx span::after {
    transition-duration: 0.3s, 0.3s;
    transition-delay: 0.3s, 0s;
  }

  .c-hamburger--htx span::before {
    transition-property: top, transform;
  }

  .c-hamburger--htx span::after {
    transition-property: bottom, transform;
  }

  i.e .menu .open .c-hamburger--htx.is-active {
    background-color: #cb0032;
  }

  .c-hamburger--htx.is-active span {
    background: none;
  }

  .c-hamburger--htx.is-active span::before {
    top: 0;
    transform: rotate(45deg);
  }

  .c-hamburger--htx.is-active span::after {
    bottom: 0;
    transform: rotate(-45deg);
  }

  .c-hamburger--htx.is-active span::before,
  .c-hamburger--htx.is-active span::after {
    transition-delay: 0s, 0.3s;
  }

  /*---End Mobile Menu---*/
  #dnn_mobilemenu {
    position: absolute;
    top: 54px;
    z-index: 9;
    background: #1e2553;
    padding: 10px 0;
    margin-left: 100%;
  }
}

@media (max-width: 950px) {
  .blueBox {
    font-size: 5em !important;
  }

  .redBox {
    font-size: 2em !important;
  }

  .whiteBox {
    font-size: 1.5em !important;
  }
}

@media (max-width: 900px) {
  .registrationTotalsList li {
    padding-left: 24%;
    padding-right: 24%;
  }
}

@media (max-width: 815px) {
  .dateBox .redBox {
    font-size: 1.85em !important;
  }

  .qltext {
    top: 0px;
  }
}

@media (max-width: 800px) {
  .dateBox .whiteBox {
    min-height: 60px;
  }
}

@media (max-width: 767px) {
  #dnn_contentpane img {
    margin-bottom: 10px;
  }

  .totalsValue,
  .totalsField {
    font-size: 1.2em;
  }

  .totalsValue {
    width: 30%;
  }

  .qltext {
    font-size: 2em;
    padding-left: 20px;
    margin-top: 5px;
  }

  .qlxs {
    width: 150%;
    margin-top: 14px;
    margin-left: -5px;
    text-align: left;
  }

  .paneDrop {
    left: 16% !important;
    width: 75% !important;
  }

  .registrationTotalsList {
    margin-right: 10%;
    margin-left: 10%;
  }

  .qlimg img,
  .qlimghov img {
    width: 35%;
    margin-left: 75%;
  }

  .eds_news_Ozone.eds_subCollection_calendar .archive_list.events ul li {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .qlimg img,
  .qlimghov img {
    width: 40%;
    margin-left: 60%;
  }
}

@media (max-width: 550px) {
  .eds_news_Ozone.eds_subCollection_calendar .archive_list.events ul li {
  }

  .totalsValue,
  .totalsField {
    font-size: 1em;
  }

  .qltext {
    font-size: 1.8em;
    padding-left: 50px;
    margin-top: 0px;
  }
}

@media (max-width: 499px) {
  .registrationTotalsList li {
    padding-left: 17%;
    padding-right: 17%;
  }

  .qlimg img,
  .qlimghov img {
    width: 50%;
  }

  #mobileitems {
    width: 150%;
  }

  .qlxs {
    margin-top: 16px;
  }

  .c-hamburger {
    left: 21%;
  }

  .dateBox {
    width: 39%;
  }
}

@media (max-width: 420px) {
  .mobileImg {
    width: 25% !important;
  }

  .hamPos {
    left: 5%;
  }

  .mobPos {
    width: 33.33333% !important;
    right: 58% !important;
  }

  .mobButPos {
    width: 20%;
  }

  .clickDrop {
    left: 0% !important;
    width: 25% !important;
  }
}

@media (max-width: 375px) {
  .qlimg img,
  .qlimghov img {
    margin-left: 40%;
  }

  .qltext {
    padding-left: 0px;
    margin-top: 10px;
  }

  .qlxs {
    width: 100%;
    margin-top: 0px;
    margin-left: 12px;
  }
}

@media (max-width: 320px) {
  .qlxs {
    margin-left: -10px;
  }

  .qlimg img,
  .qlimghov img {
    margin-left: 10%;
  }
}

@media (max-width: 1200px) {
  .btn-close {
    right: 20px;
  }
}

@media (max-width: 576px) {
  .menu-container {
    grid-template-columns: auto 14%;
  }
}
