:root {
  --page-width: 1010px;
  --dark-blue: #133960;
  --blue: #26507b;
  --grey: #959394;
}

.mobile-nav,
.mobile-search {
  display: none;
}

.fancybox-container {
  font-family: inherit !important;
}
.profile.profile-preview {
  max-width: 750px !important;
}

.profile.profile-preview h3 {
  margin: 10px;
}

.section-content > div,
.section-content > span > div {
  margin-bottom: 5px;
}

.profile-card a {
  cursor: pointer;
}

.card-info {
  display: none;
}

.tag-this-mugshot > .ordered-list {
  font-size: 1em;
}

.response-search {
  display: none;
}

.response-navigation {
  display: none;
}

.search-failed {
  text-align: center;
}

header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

header form.search {
  margin: 20px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -moz-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.mobile-nav,
.mobile-search {
  display: block;

  -webkit-box-pack: stretch;
  -webkit-justify-content: stretch;
  -moz-box-pack: stretch;
  -ms-flex-pack: stretch;
  justify-content: stretch;
  position: fixed;
  height: 105%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  -moz-transform: translateX(-200%);
  -webkit-transform: translateX(-200%);
  -ms-transform: translateX(-200%);
  -o-transform: translateX(-200%);
  transform: translateX(-200%);
  top: -5px;
  left: 0;
  z-index: 9999;
  background-color: #133960;
  color: white;
  width: 80%;
  overflow: scroll;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav > ul {
  height: 110%;
}

.mobile-search-form > input,
.mobile-search-form > select {
  padding: 10px;
  margin-bottom: 15px;
}

.mobile-search {
  -webkit-box-pack: center;
  /* -webkit-justify-content: center; */
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
}

.mobile-search-form {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 20px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.container-title {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.container-title > .grid_6 {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -moz-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.container-title > .grid_18 {
  -webkit-box-flex: 3;
  -webkit-flex: 3;
  -moz-box-flex: 3;
  -ms-flex: 3;
  flex: 3;
}

.arrests-ribbon {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

.advanced-search-box {
  height: auto;
}

.advanced-search-box .wrapper {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
}

.advanced-search-box > .wrapper > .advanced-search {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
}

.most-popular-box .wrapper ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

.latest-comments {
  min-width: 300px;
}

.search-results ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

.profile-full .info {
  -webkit-flex-basis: 50%;
  -ms-flex-preferred-size: 50%;
  flex-basis: 50%;
}

.profile-full .picture {
  width: 100%;
  padding-left: 25px;
  padding-bottom: 25px;
  -webkit-flex-basis: 50%;
  -ms-flex-preferred-size: 50%;
  flex-basis: 50%;
}

.grid-area {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
}

.grid-area > .grid_16 {
  -webkit-box-flex: 2;
  -webkit-flex: 2;
  -moz-box-flex: 2;
  /* -ms-flex:2; */
  max-width: none;
  flex: 2;
}
.grid-area > .grid_8 {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -moz-box-flex: 1;
  /* -ms-flex:1; */
  max-width: none;
  flex: 1;
}

ul.ordered-list.two-cols li {
  font-size: 18px;
}

.schema {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
}

.placeholder {
  height: auto;
}

.placeholder img {
  width: 100%;
  height: auto;
  opacity: 1;
  transition: opacity 1s ease;
}

.placeholder img.loaded {
  opacity: 1;
}

.placeholder .limg {
  display: none;
}

.placeholder .limg.loaded {
  display: block;
}

img.simg {
  width: 120px;
  height: 160px;
}

.home-search {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.home-search input {
  margin: 15px;
}

.home .states ul {
  padding: 0;
  width: auto;
  margin: 0;
  overflow: initial;
}

.home .states > ul {
  max-width: 50%;
  min-width: 100%;
  margin: 0 auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-flex-flow: wrap;
  -ms-flex-flow: wrap;
  flex-flow: wrap;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

.home .states ul li {
  padding: 2px;
  float: none;
  width: auto;
  margin: 0 auto;
}

.display-block {
  display: block !important;
}

header .navigation {
  width: 100%;
}

.mobile-nav::-webkit-scrollbar {
  width: 0px; /* remove scrollbar space */
}

.mobile-nav li {
  list-style: none;
  font-size: 12.2vw;
  padding: 20px 5px 20px 5px;
}

.mobile-nav li ul li {
  padding-top: 5px;
  padding-left: 15px;
  padding-bottom: 5px;
  font-size: 0.5em;
}

.mobile-nav li a {
  cursor: pointer;
  text-decoration: none;
  color: white;
}

.mobile-counties ul {
  display: none;
}

.mobile-tagged ul {
  display: none;
}
.mobile-background {
  visibility: hidden;
  opacity: 0;
  -webkit-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3);
  width: 100vw;
  height: 100vh;
  position: fixed;
  z-index: 9998;
}
.mobile-search h2 {
  text-align: center;
  padding-bottom: 10px;
}

.search-results ul li {
  margin: 5px;
  -ms-grid-column-align: center;
  justify-self: center;
  /* float: none; */
}

.profile-card {
  margin: 10px 0 10px 0;
}

.profile-card .picture a {
  display: block !important;
}

.pager {
  padding-top: 10px;
}

.arrests-ribbon li {
  width: auto;
}
form.advanced-search.search-by-name input[type="text"] {
  width: auto;
}
form.advanced-search.search-by-zip input[type="text"] {
  width: auto;
}

form.advanced-search.search-by-name input[type="submit"] {
  float: none;
}
.left h2,
.right h2 {
  font-size: 1em;
  padding-top: 5px;
  padding-bottom: 5px;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.modal-img,
.profile-img {
  height: 100%;
  width: 100% !important;
  max-width: 350px !important;
}
.profile-preview > .header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -moz-box-orient: vertical;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.booking-img {
  width: 100%;
  max-width: 450px;
}

.booking-img-profile {
  display: none;
  width: 100%;
  max-width: 450px;
}

#booking-img-toggle {
  display: block;
  margin: 10px auto;
  padding: 10px;
  background-color: #133960;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  color: white;
}

#map_canvas {
  background-image: url("./../images/map_topo_pattern_1.png");
  background-color: #4473a2;
  display: flex;
  width: auto;
  height: 500px;
  align-items: center;
  justify-content: center;
}

#map_canvas h2 {
  cursor: pointer;
  align-self: center;
  justify-self: center;
  color: white;
  background-color: #133960;
  padding: 10px;
}

/**
  * Media Queries ------------------------
  */

@media only screen and (max-width: 1024px) {
  header {
    width: 100%;
  }
  .container {
    width: 100%;
  }
  .disclaimer {
    margin: 5px;
    line-height: 1.5em;
  }
  .ordered-list.five-cols {
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
  }
  .schema {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .latest-comments {
    min-width: auto;
  }
  .profile-full .picture {
    -webkit-flex-basis: auto;
    -ms-flex-preferred-size: auto;
    flex-basis: auto;
    padding-left: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .profile-full .info {
    -webkit-flex-basis: auto;
    -ms-flex-preferred-size: auto;
    flex-basis: auto;
    width: 100%;
    -webkit-box-ordinal-group: 2;
    -webkit-order: 1;
    -moz-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
  }
}

@media only screen and (max-width: 768px) {
  .comments li p {
    max-width: none;
  }
  .advanced-search-box {
    height: auto;
  }
  .grid-area {
    height: auto;
    display: block;
    /* -webkit-box-orient: vertical;
         -webkit-box-direction: normal;
         -webkit-flex-direction: column;
            -moz-box-orient: vertical;
            -moz-box-direction: normal;
             -ms-flex-direction: column;
                 flex-direction: column; */
  }
  .grid-area > .grid_8 {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: wrap;
    -ms-flex-flow: wrap;
    flex-flow: wrap;
  }

  .arrest-records-search-box {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -moz-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
  .tag-list {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -moz-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
  .latest-comments {
    width: 100%;
  }
  ul.ordered-list.two-cols li {
    padding-bottom: 10px;
  }
}

@media only screen and (max-width: 600px) {
  .home-search {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .home-search input {
    width: 75%;
    padding: 10px;
  }
  .home > .map {
    display: none;
  }
  .search {
    display: none !important;
  }
  .navigation {
    display: none !important;
  }
  .advanced-search-box .wrapper .left {
    border-right: none;
    border-bottom: 1px solid #ccc;
  }
  .ordered-list.five-cols {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
  }
  form.advanced-search {
    padding: 10px;
    display: none;
  }
  .advanced-search-box .wrapper .left,
  .advanced-search-box .wrapper .right {
    width: 100%;
    margin-top: 10px;
    margin-left: 0;
    margin-bottom: 0;
    margin-right: 0;
    border: none;
  }
  .left h2,
  .right h2 {
    padding: 5px;
    width: auto;
    background-color: #26507b;
    color: white;
    cursor: pointer;
    text-align: center;
    padding: 7px;
  }
  .right > hr {
    border: none;
  }
  #slidebanner {
    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    -ms-transform: scale(0.6);
    -o-transform: scale(0.6);
    transform: scale(0.6);
    -webkit-transform-origin: 0% 100%;
    -moz-transform-origin: 0% 100%;
    -ms-transform-origin: 0% 100%;
    -o-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
  }

  .response-search {
    width: 100%;
    padding: 15px;
    cursor: pointer;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: white;
    background-color: #133960;
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -moz-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  .response-navigation {
    padding: 15px;
    width: 100%;
    cursor: pointer;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: white;
    background-color: #959394;
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -moz-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }
  .advanced-search-box .wrapper {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .advanced-search-box > .wrapper > .advanced-search {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .container-title {
    display: block;
  }

  .container-title > .grid_6 {
    max-width: 100%;
    text-align: center;
  }
}
@media only screen and (min-width: 426px) {
  .limg .loaded {
    display: block;
  }
  .limg .loaded {
    display: none;
  }
}
@media only screen and (max-width: 425px) {
  .home .states > ul {
    font-size: 1.5em;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-flow: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
  }

  .home .states ul li {
    padding: 5px;
    text-decoration: none;
  }

  #GAresults {
    padding: 0px;
  }

  .ordered-list.five-cols {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
  }
  .GA-items {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    padding: 0;
  }
  .GA-item {
    padding: 10px;
    margin: 0;
  }
  .GA-report {
    background-color: #def7f9;
  }
  /* styles for mobile cards */
  .card-info {
    display: block;
    padding: 10px;
  }
  .card-title {
    font-size: 32px;
  }
  .card-subtitle {
    font-size: 22px;
  }
  .card-description {
    padding: 15px 0 15px 20px;
    line-height: 1.3em;
  }
  .card-action {
    text-align: right;
    font-weight: bold;
  }

  .profile-card > .title,
  .profile-card > .description {
    display: none;
  }
  .limg .loaded {
    width: 100%;
    height: auto;
  }

  img.simg {
    width: 100%;
    height: auto;
  }
  .search-results ul,
  .most-popular-box .wrapper ul {
    display: block !important;
  }
  .content-box.most-popular-box ul li {
    width: 100%;
    text-align: left;
  }
  .profile-card {
    width: 100%;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19),
      0 6px 6px rgba(0, 0, 0, 0.23);
    -moz-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19),
      0 6px 6px rgba(0, 0, 0, 0.23);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  }
  .search-results ul li {
    float: none;
    width: auto;
    margin: 0 auto;
  }
  .profile-card > .picture > a .limg {
    -webkit-border-radius: 2px 2px 0 0;
    -moz-border-radius: 2px 2px 0 0;
    border-radius: 2px 2px 0 0;
    width: 100%;
    height: auto;
  }

  .container-title {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .grid-area > .grid_8 {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .arrest-records-search-box {
    -webkit-box-flex: 0;
    -webkit-flex: none;
    -moz-box-flex: 0;
    -ms-flex: none;
    flex: none;
  }
  .tag-list {
    -webkit-box-flex: 0;
    -webkit-flex: none;
    -moz-box-flex: 0;
    -ms-flex: none;
    flex: none;
  }

  .latest-comments {
    width: auto;
  }
}

@media only screen and (-ms-high-contrast: active),
  screen and (-ms-high-contrast: none) {
  .grid-area > .grid_16 {
    flex: 2;
  }
  .grid-area > .grid_6 {
    flex: 1;
  }
}

#GAresults {
  margin: 0 auto;
  max-width: 500px;
  margin-top: 15px;
  padding: 15px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  background-color: #cae6e8;
  width: auto;
  text-align: left;
}

#GAresults a {
  text-decoration: underline;
}

.GA-header > h1 {
  font-size: 18px;
  text-align: center;
  background-color: #57bf93;
}

.GA-report-btn {
  color: white;
  background-color: #57bf93;
  border: none;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
  padding: 2px 15px 2px 15px;
  cursor: pointer;
  font-size: 16px;
}
.GA-items {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.GA-item {
  padding: 0 5px 5px 5px;
  display: inline-block;
  width: auto;
}

.GA-item > span {
  display: block;
  padding-bottom: 5px;
  padding-top: 5px;
}

.GA-search {
  padding-top: 10px;
  display: inline-block;
  width: 100%;
  text-align: center;
}

.GA-sponsored {
  text-align: center;
  color: #888;
  font-size: 12px;
}
