/* -------------------------------------------------- */
/* Member listing
/* -------------------------------------------------- */
.grid-item-member {
  text-align: center;
  padding: 12px;
}

.grid-item-member a {
  display: block;
  text-decoration: none;
}

div.member-div {
  text-align: center;
}

div.member-div:hover, div.member-div img:hover {
  background-color: #efefef;
}

.member-pic img {
  height: 250px;
  width: auto;
  border-radius: 10px;
}

a.member-name {
  color: #122D51;
  text-decoration: none;
}

a.member-name:hover {
  color: #183C6B;
}

a.member-name:visited {
  color: #122D51;
}

.member-district {
  color: #7D7F82;
  font-size: 13px;
}

.member-btns {
  display: flex;
  justify-content: center;
  padding-top: 9px;
}

.member-btns a {
  line-height: 0;
  text-align: center;
  padding: 8px;
  margin: 0 3px;
  border: 1px solid rgba(32,174,224,.25);
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
}

.member-btns svg {
  fill: #2093E0;
  width: 16px;
  height: 16px;
}

.member-btns a:hover {
  border-color: rgba(36,164,250,.5);
}

.member-btns a:hover svg {
  fill: #24A4FA;
}

.show-more {
  padding-top: 36px;
}

.show-more button {
  padding: 18px;
  font-size: 16px;
  line-height: 1em;
  color: #C01B33;
  text-align: center;
  border: 1px solid #C01B33;
  width: 100%;
}

@media screen and (max-width: 900px) {
  .side-col-aside {
    display: none;
  }
}
/* -------------------------------------------------- */
/* Offices Sidebar Style
/* -------------------------------------------------- */

.offices-style .location-bg {
  background: #EFEFEF;
  height: 100%;
  position: relative;
}

.offices-style .locations {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  margin: -6px;
  /*    padding: 24px 0 96px 0;*/
  box-sizing: border-box;
}

.offices-style .locations .location {
  /*        padding: 6px;*/
  width: 100%;
  box-sizing: border-box;
}

.offices-style .txt {
  padding: 24px;
}

.offices-style .txt h3 {
  font-size: 20px;
}

.offices-style .container h2 {
  display: none;
}

.offices-style svg {
  display: none;
}


.error-component {
  border: 2px solid rgb(220, 40, 30);
  padding: 25px;
  background: bisque;
  word-wrap: break-word;
  text-align: center;
}

.error-component .error-developer {
  text-align: left;
}

.error-page {
  padding: 25px;
  background: bisque;
  word-wrap: break-word;
}
/*#map {
    width: 100%;  Make the map take up 100% of the width of its container 
    height: 400px;  Set a fixed height, you can adjust this value 
    position: relative;  Ensure the map stays in position 
    box-sizing: border-box;  Prevent any overflow beyond the set size 
}

@media (max-width: 768px) {
    #map {
        height: 300px;  Adjust map height for smaller screens 
    }
    }*/
    .responsive-map {
      width: 100%;
      height: 400px; /* Adjust this value as needed */
    }

    .site-search .search-results {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      max-height: 300px;
      overflow-y: auto;
      background: white;
      border: 1px solid #ccc;
      border-radius: 4px;
      box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
      list-style: none;
      padding: 8px 0;
      margin: 0;
      z-index: 1000;
    }

    .site-search .search-results li {
      padding: 12px 16px;
      font-size: 14px;
      color: #222e64;
      cursor: pointer;
      transition: background 0.2s ease-in-out;
    }

    .site-search .search-results li:hover {
      background: #f1f2f6;
    }

    .site-search input {
      transition: width 0.3s ease-in-out;
      width: 200px;
    }

    .site-search input:focus,
    .site-search.expanded input {
      width: 400px;
    }

    .site-search .search-results .see-more {
      padding: 12px 16px;
      font-size: 14px;
      font-weight: bold;
      text-align: center;
      border-top: 1px solid #ccc;
    }

    .site-search .search-results .see-more a {
      color: #2093E0;
      text-decoration: none;
    }

    .site-search .search-results .see-more a:hover {
      color: #24A4FA;
      text-decoration: underline;
    }

    table.center,
    table[align="center"] {
      margin-left: auto;
      margin-right: auto;
    }

/* -------------------------------------------------- */
/* Modals
/* -------------------------------------------------- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: auto;
  background-color: #000000;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 500;
}

.modal a:hover {
  text-decoration: underline;
}

.modal .mbr-position {
  padding: 0;
  line-height: inherit;
}

.modal .mbr-h {
  font-size: 24px;
}

.modal-window {
  position: relative;
  background-color: #FFFFFF;
  width: 98%;
  max-width: 600px;
  margin: 20% auto;
  padding: 12px;
  box-shadow: 0 0 18px rgba(0,0,0,.2);
}