@media (max-width: 899px) {
  a {
    text-decoration: none;
  }

  /*--------------------------------------------------------------------------------------*/
  /*------------------------------Start Elements.css--------------------------------------*/
  /*--------------------------------------------------------------------------------------*/

  /*---------------------Home Page Special Feature Area-----------------------------------*/

  .homepage-special-feature .button {
  width: 100%;
  text-align: center;
  background-color: var(--homepage-special-feature-button-background-color);
  border-top: 1px solid;
  border-color: var(--homepage-special-feature-border-color);
  color: var(--homepage-special-feature-button-alink-color);
  cursor: pointer;
  font-weight: 700;
  font-size: 1em;
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  line-height: 2em;
  height: 4em;
  padding: 1em;
  margin: .05em 0 .15em 0;
}


  /*--------------Icons Bar-------------------*/
  .icon-bar {
    /*Shift the icons bar to a column*/
    display: inline-flex;
    flex-flow: row;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .icon-bar .button {
    /*Change the layout of the buttons when a column*/
    width: 50%;
    background-color: var(--icon-bar-button-background-color);
    border-color: var(--icon-bar-border-color);
    color: var(--icon-bar-button-alink-color);
    /* Some padding */
    cursor: pointer;
    /* Pointer/hand icon */
    font-weight: 700;
    font-size: 1em;
    display: flex;
    flex-flow: row;
    align-items: center;
    gap: 10px;
    line-height: 1em;
    min-height: 2em;
    height: 2.8em;
    padding-top: 2em;
    padding-bottom: 2em;
    border-bottom: 0.1em solid;
  }

  .icon-button-text, 
  .homepage-special-feature {
    line-height: 1em;
    font-size: 1em;
  }

  .icon-button-trash-icon,
  .icon-button-howdoi-icon,
  .icon-button-tourism-icon,
  .icon-button-calendar-icon,
  .icon-button-police-icon,
  .icon-button-documents-icon {
    width: 3em;
    height: 3em;
  }

  .icon-button-trash-icon > img,
  .icon-button-police-icon > img,
  .icon-button-calendar-icon > img,
  .icon-button-howdoi-icon > img,
  .icon-button-tourism-icon > img,
  .icon-button-documents-icon > img {
    transform: scale(0.7, 0.7);
  }

  label {
    margin: 0.1em 0 0 0;
  }

  .panel-news {
    margin-top: 0.4em;
  }

  .panel-date .panel-title a > img {
    float: left;
    width: 3em;
    height: 3em;
  }

  .mobile-pad-1em {
    padding: 0 1em 0 1em;
  }

  .mb-960-center-container-column {
    margin: auto;
  }

 

  /*---------------------------Police Elements-----------------------*/

  .police-stats-year {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-items: center;
  }

  .police-stats-month {
    padding-top: 1em;
    margin-right: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .mobile-center-title {
    text-align: center;
  }

  .police-center-container {
    margin-top: 0em;
    margin-left: auto;
    margin-right: auto;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0em;
  }

  .police-960-col-100p {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 99%;
    height: 99%;
    padding: 0 1em 0 1em;
    margin: 0 0 0 0;
  }

  .pd-top-non-mobile {
    display: none;
  }

  .pd-top-mobile {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    width: 100%;
  }

  .pd-mobile-logo {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    padding: 0.5em 0 0.5em 0;
  }
  .pd-mobile-logo > img {
    max-width: 30%;
    height: auto;
  }

  .pd-mobile-911,
  .pd-mobile-non-emergency {
    font-size: 1.5em;
    font-weight: 500;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .police-header {
    font-size: 1.9em;
  }

  .general-phone-numbers {
    font-size: 1.2em;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
  }

  .police-960-col-100p #PD-logo {
    width: 30%;
    height: auto;
  }

  .police-split-page {
    position: relative;
    display: flex;
    flex-flow: column;
    justify-content: center;
    width: 100%;
  }

  .police-960-col-50p {
    position: relative;
    display: block;
    width: 100%;
    min-height: 70vh;
    padding: 1.5em;
  }

  .documents-col-50p {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 99%;
    height: 99%;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
  }

  /*---------------------------History Elements-----------------------*/

  .timeline.timeline {
    width: 100%;
    max-width: 100%;
  }

  .timeline.timeline .timeline-item {
    padding-left: 72px;
    padding-right: 0;
  }

  .timeline.timeline .timeline-item.timeline-item-right,
  .timeline.timeline .timeline-item:nth-of-type(even):not(.timeline-item-left) {
    padding-left: 72px;
    padding-right: 0;
  }

  .timeline.timeline .timeline-item .timeline-event {
    width: 100%;
  }

  .timeline.timeline:before {
    left: 42px;
    width: 0;
    margin-left: -1px;
  }

  .timeline.timeline .timeline-item {
    width: 100%;
    margin-bottom: 20px;
  }

  .timeline.timeline .timeline-item:nth-of-type(even) {
    margin-top: 0;
  }

  .timeline.timeline .timeline-item > .timeline-event {
    float: right !important;
  }

  .timeline.timeline .timeline-item > .timeline-event:before,
  .timeline.timeline .timeline-item > .timeline-event:after {
    right: auto !important;
    border-left-width: 0 !important;
  }

  .timeline.timeline .timeline-item > .timeline-event:before {
    left: -15px !important;
    border-right-width: 15px !important;
  }

  .timeline.timeline .timeline-item > .timeline-event:after {
    left: -14px !important;
    border-right-width: 14px !important;
  }

  .timeline.timeline .timeline-item > .timeline-point {
    transform: translateX(-50%);
    left: 42px !important;
    margin-left: 0;
  }

  .timeline.timeline .timeline-label {
    transform: translateX(-50%);
    margin: 0 0 20px 42px;
  }

  .timeline.timeline .timeline-label + .timeline-item + .timeline-item {
    margin-top: 0;
  }

  .timeline-mb-960-col-50p {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 350px;
    height: auto;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
  }

  .polaroid-responsive {
    width: 100%;
  }

  /*--------------------------------------------------------------------------------------*/
  /*----------------------------------END Elements.css------------------------------------*/
  /*--------------------------------------------------------------------------------------*/

  /*--------------------------------------------------------------------------------------*/
  /*--------------------------------Start Header.css--------------------------------------*/
  /*--------------------------------------------------------------------------------------*/
  header {
    height: 8em;
    margin-bottom: 0em;
  }

  .primary-bar-right,
  .primary-bar-left {
    /*Turn off the primary bar containers*/
    display: none;
  }

  .mobile-bar,
  .mobile-logo {
    /*Turn on Mobile version of logo above Nav*/
    display: flex;
    padding: 0 0 0 0;
    margin: 0 0 0 0;
  }

  .mobile-logo {
    max-width: 400px;
    margin-top: 0em;
  }

  .button-space {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 1em;
  }

  .top-buttons {
    margin: 0em 0.2em 0em 0.2em;
  }

  .top-buttons .button {
    margin-left: 0em;
    margin: 0 0 0.5em 0;
    padding: 0.7em;
    font-size: 1em;
  }

  .primary-element {
    position: relative;
    border: 3px solid green;
  }

  li.dropdown a {
    display: block;
    position: relative;
  }

  /*--------------------------------------------------------------------------------------*/
  /*-----------------------------------End Header.css-------------------------------------*/
  /*--------------------------------------------------------------------------------------*/

  /*--------------------------------------------------------------------------------------*/
  /*----------------------------------Start Nav.css---------------------------------------*/
  /*--------------------------------------------------------------------------------------*/

  /*-----------------MOBILE MENU @ 767px max & FOOTER ADJUST---------------------*/
  @media only screen and (max-width: 767px) {
    .navbar {
      height: auto;
      padding: 0.5em 0 0.5em 0;
    }

    
  #button-govnav,
  #button-govnav:visited,
  #button-resourcesnav,
  #button-resourcesnav:visited,
  #button-infonav,
  #button-infonav:visited,
  #button-boardsnav,
  #button-boardsnav:visited {
    color: black;
    font-size: 1em;
    font-weight: 600;
    background-color: white;
  }

  #button-boardsnav,
  #button-boardsnav:visited {
    color: black;
    font-size: 1em;
    font-weight: 600;
    background-color: #d7e6f9;
  }

  #button-govnav:hover,
  #button-resourcesnav:hover,
  #button-infonav:hover,
  #button-boardsnav:hover {
    color: white;
    background-color: red;
  }


    .navbar-nav .nav-link.active,
    .navbar-nav .nav-link.show,
    .navbar a,
    .navbar a:visited {
      color: black;
      font-size: 1em;
      font-weight: 600;
    }

    .dropdown-menu {
      background-color: #d7e6f9;
      margin: 0;
      padding: 0;
    }

    .navbar a:hover,
    .navbar a:focus,
    .navbar a:active {
      color: white;
      background-color: red;
    }

    .mobile-right-arrow::before {
      display: inline-block;
      font-style: normal;
      font-variant: normal;
      text-rendering: auto;
    }

    .mobile-right-arrow::before {
      font-family: "Font Awesome 5 Free";
      font-weight: 900;
      color: red;
      content: " " " " " ";
    }

    .dropdown-toggle.caret-off::after {
      display: inline-block;
      color: red;
      font-size: 1em;
    }

    .mobile-icons-color {
      color: red;
    }

    hr.mobile-only-hr {
      display: block;
      border-top: 4px solid var(--mb-dark-blue);
    }

    .dropdown-submenu .dropdown-menu,
    .dropdown-submenu .dropdown-menu a {
      background-color: var(--mb-light-blue);
      color: white;
    }

    .offcanvas-header,
    offcanvas-title,
    offcanvasNavbarLabel,
    offcanvas-start {
      margin-bottom: 0;
      padding-bottom: 0;
    }

    .offcanvas-body {
      margin-top: 0;
      padding-top: 0;
    }

    .mobile-only {
      display: block;
    }

    .mobile-only a:visited {
      border-color: white;
      color: white;
    }

    .mb-shadow-text{
      color:black;
      text-shadow: 2px 2px 1px var(--mb-dark-blue);
    }

    /*--------------------------------------------------------------------------------------*/
    /*------------------------------------Enb Nav.css---------------------------------------*/
    /*--------------------------------------------------------------------------------------*/

    /*--------------------------------------------------------------------------------------*/
    /*-------------------------------Start Main.css-----------------------------------------*/
    /*--------------------------------------------------------------------------------------*/

    .carousel {
      margin-top: 0em;
      height: 35vh;
    }

    .carousel-item > img {
      width: inherit;
      height: 35vh;
    }

    .gap-spacer {
      height: 0em;
    }

    .mb-960-center {
      min-width: 350px;
    }

    .mb-960-center-container {
      margin-top: 0em;
      margin-left: auto;
      margin-right: auto;
      min-width: 350px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      gap: 0em;
    }

    .mb-960-col-100p {
      margin-top: 0em;
      margin-left: auto;
      margin-right: auto;
      min-width: 350px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      gap: 0em;
    }

    .mb-960-col-50p {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      width: 99%;
      height: 99%;
      padding: 0 0 0 0;
      margin: 0 0 0 0;
    }

    .page-title {
      position: relative;
      font-size: 1em;
      z-index: 99;
      max-width: 100%;
      min-width: 100%;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      margin: 0 0 0 0;
      padding: 0 0 0 0;
      color: black;
      background-color: white;
      border-bottom: 2px solid red;
      padding-left: 0.5em;
      padding-top: 1em;
    }

    .page-footer {
      position: relative;
      font-size: 1em;
      z-index: 99;
      max-width: 100%;
      min-width: 100%;
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: flex-start;
      margin: 0 0 0 0;
      padding: 0 0 0 0;
      color: black;
      background-color: white;
      padding-left: 0.5em;
      padding-top: 1em;
    }

    .mb-960-center-container {
      margin-top: 0em;
    }

    .mb-960-h1 {
      text-align: center;
      margin-bottom: 0.25em;
      margin-top: 0.75em;
    }

    .left-side-col-50p {
      padding-left: 1em;
    }

    .timeline .timeline-label .label-primary {
      background-color: white;
      color: red;
      font-size: 1.4em;
    }

    .mb-960-center-column {
  position: relative;
  background-color: var(--main-mb-960-center-container-background-color);
  z-index: 99;
  min-width: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  margin-left: auto;
  margin-right: auto;
  gap: 0em;
  padding:1em;
}
  }

  /*--------------------------------------------------------------------------------------*/
  /*----------------------------------END Main.css----------------------------------------*/
  /*--------------------------------------------------------------------------------------*/

  footer {
    height: 100%;
    display: inline-flex;
    flex-flow: column;
    margin-bottom: 0em;
  }
}
