body {
  overflow: scroll;
}

h1 {
  margin-bottom: 30px !important;
}

section.main {
    border-top: 1px solid #ccc;
    padding-top: 20px;
}

.america-250 {
  /* display: flex; */
  flex-wrap: wrap;
  gap: 2%;
}

.america-250 .form {
  flex: 0 1 25%;
  float: left;
  margin-right: 30px;
  min-width: 300px;
}

.america-250 .filter-fields {
  /* background: #f5f5f5; */
  padding: 20px;
  border-radius: 10px;
  display: block;
}

.america-250 #intro,
.america-250 #maincontent {
  flex: 0 1 70%;
}

.america-250 #brklist {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3em;
  padding: 0;
  list-style: none;
  min-height: 800px
}

.america-250 #brklist img {
  border: 1px solid #ccc;
}

p.caption {
  margin: 10px 0;
}

p.caption.none {
  border: 1px solid #cccccc;
  padding: 20px;
  font-family: 'proxima-nova-bold';
  min-height: 200px;
  margin: 0;
}

.whowhere {
  font-family: 'proxima-nova-bold';
}

.filter-mobile-btn {
  display: none !important;
  width: 100%;
  margin-bottom: 20px;
}

.list-text-filter {
  padding-right: 50px !important;
}

.list-filters hr {
  margin: 30px 0;
}

.input-group button {
  position: absolute !important;
  right: 5px;
  top: 2px;
  z-index: 5 !important;
}

.tags label {
  display: block;
  margin: 0 0 5px;
}

.tags label input {
  margin-right: 8px;
}

.show-more {
  /* display: none; */
  cursor: pointer;
}

.show-more:after {
  width: 1.25em;
  line-height: 0;
  content: '\f107';
  font: var(--fa-font-regular);
  padding-left: 5px;
}


.show-more.show-less:after {
  width: 1.25em;
  line-height: 0;
  content: '\f077' !important;
  font: var(--fa-font-regular);
  padding-left: 5px;
}

.form-select:focus {
  border-color: var(--bs-primary);
  box-shadow: none;
}
span.endorsement {
  font-weight: normal !important;
  font-family: "proxima-nova" !important;
}

@media (max-width: 1200px) {
  #navbar-main .navbar-brand {
    left: 12px !important;
  }

  /* #navbar-main {
    border-bottom: 1px solid #ccc;
  } */

}

@media (max-width: 1000px) {

  .america-250 {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
  }

  .america-250 .form {
    flex: 0 1 100%;
    order: 2;
    float: none;
    margin-right: 0;
  }


  .america-250 #intro {
    flex: 0 1 100%;
    order: 1;
  }

  .america-250 #maincontent {
    flex: 0 1 100%;
    order: 3;
    margin-top: 20px;
  }

  .filter-fields {
    display: none;
  }

  .filter-mobile-btn {
    display: block !important;
    width: 100%;
  }

  .fancybox-container {
    top: 10px;
    left: 10px;
    bottom: auto;
    right: auto;
    margin: auto;
    width: 95vw;
    height: 100%;
    overflow: scroll;
    transition: opacity .3s;
  }

}

@media (max-width: 979px) {
  .america-250 #brklist {
    grid-template-columns: 1fr 1fr;
    gap: 1em;
  }

  .america-250 .filter-fields {
    padding: 20px 10px;
  }
}


@media (max-width: 400px) {
  .america-250 #brklist {
    grid-template-columns: 1fr;
  }

  button.share-results {
    margin-top: 5px;
  }

  .print {
    margin-top: 5px;
  }
}

.imgcontain {
  position: relative;
}



.overlay:hover {
  background: rgba(255, 255, 255, 1);
}


#brklist li[data-img="none"] .imgcontain .overlay {
  display: none;
}


/* New below */
/* MAYBES */



/*
.america-250 .filter-fields {
  max-width: 400px;
}
*/

.overlay {
  background: rgba(255, 255, 255, 0.7);
  opacity: 0.8;
  position: absolute;
  transition: opacity .10s ease;
  transition-delay: .5s;
  font-size: 15px;
  font-weight: bold;
  display: none;
  border: 2px solid var(--bs-primary);
  width: 100%;
  height: 100%;
  padding: 10px 10px;
  color: black;
  overflow-y: scroll;
  overscroll-behavior: none;
}


#brklist .imgcontain:hover .overlay {
  opacity: 0.9;
  z-index: 99;
  display: inline-block;
}

.imgcontain {
  display: inline-block;
}

.tags button.active {
  background-color: #FFF;
  border-color: #484e80;
  color: #484e80;
  border-width: 2px;
  border-radius: 6px;
}

.tags button {
  font-family: 'proxima-nova-bold';
  box-sizing: border-box;
  border: 2px solid #484e80;
  border-radius: 6px;
}

.genres button.active {
  background-color: #FFF;
  border-color: #484e80;
  color: #484e80;
  border-width: 2px;
  border-radius: 6px;
}

.genres button {
  font-family: 'proxima-nova-bold';
  box-sizing: border-box;
  border: 2px solid #484e80;
  border-radius: 6px;
}

.filter-fields {
  max-width: 350px !important;
}

.filter-fields .input-group {
  display: none;
}

.filter-fields #sort {
  display: none;
}

.filter-fields {
  background-color: #FFF;
}

#reset {
  display: none;
}

.overlay h5 {
  line-height: 1.1 !important;
  margin-bottom: 0 !important;
}

.page-title {
  padding-left: 20px;
}

.america-250 .filter-fields {
  /* background: #f5f5f5; */
  padding: 20px;
  border-radius: 10px;
  display: block;
}

.genres label {
  display: block;
  margin: 0 0 5px;
}

.genres label input {
  margin-right: 8px;
}

.tags .btn {
  margin-top: 8px !important;
  margin-right: 8px !important;
  padding: 4px 6px;
}

.genres .btn {
  margin-top: 8px !important;
  margin-right: 8px !important;
  padding: 4px 6px;
}

.imgcontain svg {
  position: absolute;
  top: 0;
  width: 64px;
  height: 64px;
  right: 0;
}

.america-250 .menu {
  /* background: #f5f5f5; */
  padding: 20px;
  border-radius: 10px;
  display: block;
}

.menu ul li.nav-item a {
  font-size: 18px;
  font-family: proxima-nova-bold;
  color: var(--bs-primary) !important;
  margin-bottom: 5px;
  padding: 0px 0.5rem;
}

.menu ul li.nav-item a {
  font-size: 18px;
  font-family: proxima-nova-bold;
  color: var(--bs-primary) !important;
  margin-bottom: 5px;
  padding: 0px 0.5rem;
}

.menu ul li.nav-item a.active,
.menu a.active,
.menu ul li.nav-item a.is-active,
.menu ul li.sub-item a.is-active {
  background: rgb(198, 218, 242);
  color: var(--bs-primary) !important;
}

.menu ul li.nav-item a {
  padding: 0.25rem 0.5rem;
}

.intro.mobile {
  display: none !important;
}
 .america-250 .menu.mobile{
    display: none;
  }

@media screen and (max-width: 996px) {
  .filter-fields {
    max-width: 100% !important;
  }

  .tags button {
    display: inline-block;
  }

  .genres button {
    display: inline-block;
  }

  .page-title {
    padding-left: 0px;
    margin-top: 20px;
  }

  .intro.mobile {
    display: block !important;
  }

  .intro.mobile p {
    font-size: 1rem;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
  }

  p.lead,
  span.lead,
  strong.lead {
    font-size: 24px !important;
    line-height: 36px !important;
    margin-bottom: 12px !important;
  }

  .america-250 {
    display: block !important;

  }
  .america-250 .filter-fields {
    display: none;
  }

  .america-250 .menu.mobile{
    padding: 0px !important;
    display: block
  }

  .form.list-filters .menu {
    display: none;
  }

  div.intro {
    display: none !important;
  }
  .intro-desktop {
    display: none;
  }
}

/* Container holding the image and the text */
.cont {
  position: relative;
  text-align: center;
  color: #484e80;
  width: 90%;
  margin: auto;
}

/* Bottom left text */
.bottom-left {
  position: absolute;
  bottom: 8px;
  left: 16px;
}

/* Top left text */
.top-left {
  position: absolute;
  top: 8px;
  left: 16px;
}

/* Top right text */
.top-right {
  position: absolute;
  top: 8px;
  right: 16px;
}

/* Bottom right text */
.bottom-right {
  position: absolute;
  bottom: 8px;
  right: 16px;
}

/* Centered text */
.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'miller-banner', Serif, 'proxima-nova-bold';
  padding-bottom: 30px;
  color: #ED007F !important;
  font-size: 150px;
}

.amodal {
  display: grid;
  place-items: center;
  inset: 0;
  position: fixed;
  z-index: 1000;
  /* left: 50%; */
  /* transform: translate(-50%, -50%); */
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(211, 211, 211, 0.1);
  /* margin: auto; */
  /* padding-top: 5%  */
  /* inverse 95% mobile? */
  ;
}

.amodal-content {
  background-color: rgb(241, 242, 242);
  margin: auto;
  padding: 10px 20px;
  border: 2px solid rgb(137, 141, 173);
  width: 80%;
  border-radius: 12px;
  text-align: center;
  width: min(92vw, 520px);
  /* responsive width */
  max-height: calc(100dvh - 32px);
  overflow: auto;
  /* scroll content if too tall */
  padding: 20px;
}

/* If you want mobile to open slightly higher (common UX), use:
@media (max-width: 640px) {
  .amodal { place-items: start center; padding-top: 24px; }
}

  */

@media screen and (max-width: 640px) {
  div.centered {
    /* font-size: 80px !important; */
    font-size: clamp(85px, 26vw, 150px);
    /* padding-top: 10px; */
  }
}