/*------------------------------------*\
    Bootstrap overrides
\*------------------------------------*/

ol,
ul,
dl {
  padding-left: 20px;
}

a {
  color: #004f82; }
  a:hover {
    color: #003558; }

@media (max-width: 1200px) {
  h1, .h1 {
    font-size: calc(1.375rem + 1.5vw) ; }
  h2, .h2 {
    font-size: calc(1.325rem + 0.9vw) ; } 
  h3, .h3 {
    font-size: calc(1.3rem + 0.6vw) ; }
  h4, .h4 {
    font-size: calc(1.275rem + 0.3vw) ; } 
      }

b,
strong {
  font-weight: 600; }

/* 
 Custom Directory Search CSS
*/

.directory-body {
  background-image: url("../images/anteater_drive-compressed.jpg");
  background-repeat: no-repeat;
  background-color: rgb(0, 100, 164);
  background-size: cover;
  background-position: 70% 100%;
  background-attachment: fixed;
 }

#directory-search {
  width: 100%; }

  @media (max-width: 991.98px) {
    #directory-search {
      width: 100%; } 
    }

#directory-search:focus {
  border: 1px solid #ffd200;
}


#directory-search:focus + .loader-container {
  border: 1px solid #ffd200;
  border-left: 0
}

.loader-container {
  width: 50px; 
  height: calc(1.5em + 0.75rem + 2px);
  background-color: #fff; 
  border: 1px solid #ced4da; 
  border-radius: 0 0.25rem 0.25rem 0rem; 
  border-left: 0
}
    

.collapse-links-list {
  list-style-type: none;
  padding: 0;
  text-align: center;
  margin-bottom: 0.5rem; }

@media (min-width: 1176px) {
  .collapse-links-list {
    display: none;
  }
}

.logo-container {
  display: flex;
  align-items: center;
  margin-right: auto;
  padding-bottom: 0.1rem;
  flex-wrap: wrap;
  justify-content: space-between; }
  .logo-container > img {
    width: 300px; }
    @media (max-width: 991.98px) {
      .directory-logo {
        width: 200px; } }
  @media (min-width: 768px) {
    .logo-container {
      margin-right: auto;
      padding-bottom: 0.5rem;
      justify-content: space-evenly; } }

/* @media (min-width: 768px) {
  .links-container {
    padding: 1.5% 0 0 0; } } */

.accordion-header-text {
  font-size: 0.875rem; }
  @media (max-width: 991.98px) {
    .accordion-header-text {
      font-size: 0.8rem; } }

.directory-link-button {
  color: white;
  margin: 0 0.8vw;
  font-weight: 500;
  height: 100%; }

.collapse-link {
  color: white;
  font-size: 0.8rem;
  font-weight: 400;
  text-decoration: none !important; }

.collapse-link:hover {
  color: #ffd200;
  text-decoration: none !important;
  transition: color 0.5s; }

.directory-link-button:hover {
  color: #ffd200;
  text-decoration: none !important;
  transition: color 0.5s; }

.directory-search-row {
  margin-top: 1rem; }
  @media (max-width: 991.98px) {
    .directory-search-row {
      margin-top: 1.5%; } }

#myProgress {
  width: 100%;
  height: 8px;
  background-color: #ffd200; }

#directory-links {
  display: flex;
  flex-direction: row;
  text-align: center; }

.list-group-item {
  border: 0;
  margin: 0;
  padding: 1rem;
  border-bottom: 1px solid #00000040;
  color: black; }


.directory-info-table-section {
  margin-bottom: 1rem;
  font-size: 0.8rem; 
}

.directory-info-table-section td {
  max-width: 300px;
}

.directory-info-img {
  width: 100px;
  margin: 0 auto;
  display: block;
}
  @media (max-width: 991.98px) {
    .directory-info-img {
      width: 70px; } }

.directory-info-table-row {
  margin-right: 1rem;
  text-align: right;
  display: inline-block;
  width: 90px; }
  .directory-info-table-row > span {
    display: inline-block; }
  @media (max-width: 991.98px) {
    .directory-info-table-row {
      margin-right: 0.5rem; } }

.info-container {
  max-height: 72vh;
  overflow-y: auto;
  background-color: white;
  padding: 20px;
  border-radius: 0.25rem;
  font-size: 0.875rem; }

.page-container {
  overflow-y: auto;
  background-color: white;
  padding: 20px;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  width: 100%;
  margin-top: 200px }

@media (max-width: 991.98px) {
  .left-info-sidebar {
    display: none; } }

.accordion-container {
  width: 75%;
  background-color: white;
  border-radius: 0.25rem;
  margin-top: 200px;
  padding: 1rem;
  overflow-y: auto; }
  @media (max-width: 991.98px) {
    .accordion-container {
      width: 100%;
      margin-top: 205px;
      padding: 0.5rem; } }
  
.collapse-link-button {
  width: 50%; }

.collapse-link-button:hover {
  background-color: #876f00;
  transition: background-color 0.5s; }

.collapse-link-button:hover > a {
  color: #ffd200;
  text-decoration: none !important;
  transition: color 0.5s; }

#overlay-text {
  font-size: 0.8rem;
  color: white;
  padding: 1rem 2rem; }

#overlay-text a {
  color: #ffd200; }

#overlay {
  z-index: 1000;
  position: fixed;
  /* Sit on top of the page content */
  width: 100%;
  /* Full width (cover the whole page) */
  height: fit-content;
  /* Full height (cover the whole page) */
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  /* Black background with opacity */
 }

.list-group-item-action:hover, .list-group-item-action:focus {
  background-color: #eeeeee;
 }

  .mailing-address {
    font-size: 0.8rem;
  }

.directory-search-container{
  flex-direction: row;
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  width: 100%; 
  margin-top: 1rem;
}


.directory-search-label {
  display: flex;
  padding-right: 0.8rem;
  margin: -30px auto auto auto;
  font-size: 1.15rem; 
  text-align: center;
  /* margin-right: 2rem; */
  color: white; 
}

.directory-search-label-container {
  width: 25%;
  display: flex;
}

.directory-search-input-container {
  width: 75%;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1477px) {
  .directory-search-label {
    margin: -35px auto auto auto; 
  }
}

  @media (max-width: 992px) {
  .directory-search-container{
    flex-direction: column;
  } 

  .directory-search-label-container, .directory-search-input-container {
    width: 100%;
  }

    .directory-search-label {
      margin: auto auto 8px auto;
      font-size: 1rem;
      width: auto;
    } 
  }

.header-container {
  flex: 1; 
  justify-content: space-between;  
  text-align: right;
}

.top-row-navbar {
  display: flex; 
  flex-wrap: wrap; 
  align-items: center; 
  justify-content: center; 
  margin-bottom: 0.6rem;
  flex-direction: row;
}


@media (max-width: 1175px) {
  .hamburger-button {
    display: flex !important;
  }

  .links-container {
    display: none !important;
  }

  #show-result-for-label {
    display: none !important;
  }

  .info-container {
    font-size: 0.78rem !important;
  }

  .logo-container {
    margin-right: auto;
  }
}

#search-content {
  display: none; 
  flex-direction: row; 
  height: 100%; 
  width: 80%;
}

#advanced-search_toggle {
  cursor: pointer;
  margin-right: 0;
}

#advanced-search_toggle:hover {
  color: #ffd200;
  transition: color 0.5s;
}

@media (max-width: 594px) {
  .result-container-advanced-search-expand {
    margin-top: 235px;
  }
}

@media (max-width: 421px) {
  .result-container-advanced-search-expand {
    margin-top: 260px;
  }
}

@media (max-width: 359px) {
  .result-container-advanced-search-expand {
    margin-top: 290px;
  }
}
