/* Here you can write Own Style */

.page-id-171 .accordion-body {
  background: #fff !important;
}

.page-id-171 .accordion-button {
  text-transform: uppercase;
  font-family: 'Montserrat' !important;
}

.home #column_block_0b8ecc89ddab0c43e8804c73e837ec33 {
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
}

.home #column_block_d40855f35f8e084a46fae383ff63f9ba {
  margin-top: 0px !important;
  padding-top: 0px !important;
}

.secondary-navbar {
  display: none;
}

.btn-primary {
  background-color: #DCA54E;
  color: #fff;
}

.btn-primary:hover {
  background-color: #DCA54E;
  color: #fff;
}

@media only screen and (max-width: 767px) {
  .secondary-navbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    padding: 0;
  }

  .secondary-navbar a {
    width: 100%;
    padding: 1em;
    background-color: #DCA54E !important;
    color: var(--wp--preset--color--white);
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    text-wrap: nowrap;
    font-size: calc(0.65rem + .9vw) !important
  }

  .second-nav-phone {
    border-right: 1px solid var(--wp--preset--color--white);
  }

  .secondary-landing-nav-phone {
    width: 100%;
    padding: 1em;
    background-color: #151F34 !important;
    color: var(--wp--preset--color--white);
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    text-wrap: nowrap;
    font-size: calc(0.65rem + .9vw) !important
  }

  .nav-phone-number {
    font-size: calc(0.75rem + .9vw) !important
  }

  .nav-phone-icon {
    font-size: calc(0.85rem + .9vw) !important
  }

  .secondary-landing-page-navbar {
    display: block;
    grid-template-columns: 1fr;
    padding: 1.5rem 0rem;
    width: auto;
    margin: 0 auto;
    max-width: 180px;
  }

}

@media (max-width: 840px) {

  .post-type-archive-location .site--content h2,
  .post-type-archive-location .site--content h2+p {
    width: 100% !important;
  }
}

/* CLAI Sidebar CSS for Location and Area pages */
.area-container-with-sidebar {
  display: grid;
  grid-template-columns: 0.75fr 0.25fr;
  column-gap: 2em;
  margin: 4em auto 4em auto;
  max-width: 90%;
}

.sidebar-areas-list-container {
  background-color: #f5f5f5;
  padding: 30px;
  height: fit-content;
  margin: 2em 0 0 0
}

.active-area {
  text-decoration: underline !important;
}

.sidebar-areas-list {
  display: grid;
  row-gap: 0.5em;
  max-height: 300px;
  overflow-y: scroll;
  list-style-type: none;
  padding: 0;
  margin: 0;
  background: linear-gradient(rgb(245, 245, 245) 30%, rgba(255, 255, 255, 0)) center top, linear-gradient(rgba(255, 255, 255, 0), rgb(245, 245, 245) 70%) center bottom, radial-gradient(farthest-side at 50% 0, rgba(133, 133, 133, 0.2), rgba(0, 0, 0, 0)) center top, radial-gradient(farthest-side at 50% 100%, rgba(133, 133, 133, 0.2), rgba(0, 0, 0, 0)) center bottom;
  background-repeat: no-repeat;
  background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
  background-attachment: local, local, scroll, scroll;
}

.sidebar-areas-list a {
  text-decoration: none;
  font-size: 1.05rem;
  margin-top: 1em;
}

.area-list-container h3 {
  margin-bottom: 20px;
}

ul.area-list-ul {
  margin: 0;
  padding: 0;
  display: grid;
  row-gap: 1em;
  column-gap: 1em;
  list-style: none;
  grid-template-columns: auto auto auto;
}

.sidebar-list-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0;
}

li.area-list-point::before {
  content: '';
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 0.556em;
  height: 0.556em;
  border-radius: 50%;
  background-color: black;
}

li.sidebar-list-point::before {
  content: unset;
}

li.sidebar-list-point {
  padding: unset;
}

li.area-list-point {
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
  padding: 0.1em 0 0.1em 1.5em;
}

@media only screen and (max-width: 767px) {
  ul.area-list-ul {
    grid-template-columns: auto;
    margin-bottom: 1em;
  }
}

#search-wrapper {
  padding: 6rem;
}

#search-wrapper article {
  border: 2px solid lightgrey;
  border-radius: 24px;
  padding: 2em;
  margin-top: 2em;
}

#search-wrapper article .entry-meta,
#search-wrapper article .entry-footer {
  display: none;
}

#search-wrapper article .entry-summary p {
  margin-bottom: 0;
}


#search-wrapper .pagination {
  margin-top: 3em !important;
  width: fit-content;
  margin: auto;
}

@media only screen and (max-width: 767px) {
  #search-wrapper {
    padding: 1rem;
  }
}

.rlv-has-spinner {
  transform: rotateZ(45deg);
  perspective: 1000px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  color: #fff;
  border-color: #DCA54E !important;
  border-right-color: transparent !important;
}

.rlv-has-spinner:before,
.rlv-has-spinner:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: inherit;
  height: inherit;
  border-radius: 50%;
  transform: rotateX(70deg);
  animation: 1s spin linear infinite;
}

.rlv-has-spinner:after {
  background: #DCA54E !important;
}

/* Override red color with brand color */
.has-red-color,
.has-red-color:visited {
  color: #DCA54E !important;
}

.has-red-background-color {
  background-color: #DCA54E !important;
  border-color: #DCA54E !important;
}

.wp-block-button:hover .wp-block-button__link.has-white-background-color.has-red-color {
  color: #DCA54E !important;
}

/* Responsive navbar scaling to prevent wrapping */
@media (max-width: 1680px) {
  #main-nav .navbar-nav .nav-link {
    font-size: 15px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

@media (max-width: 1580px) {
  #main-nav .navbar-nav .nav-link {
    font-size: 14px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  #main-nav .extra-nav .nav-phone-number {
    font-size: 14px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-right: 0.5rem !important;
  }

  #main-nav .extra-nav .nav-phone-icon {
    font-size: 1.5rem !important;
  }

  #main-nav .extra-nav .reference-btn {
    font-size: 14px !important;
    padding-top: 0.4rem !important;
    padding-bottom: 0.4rem !important;
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
    margin-left: 0.8rem !important;
  }
}

@media (max-width: 1440px) {
  #main-nav .navbar-nav .nav-link {
    font-size: 13px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  #main-nav .extra-nav .nav-phone-number {
    font-size: 13px !important;
  }

  #main-nav .extra-nav .nav-phone-icon {
    font-size: 1.3rem !important;
  }

  #main-nav .extra-nav .reference-btn {
    font-size: 13px !important;
    padding-top: 0.35rem !important;
    padding-bottom: 0.35rem !important;
    padding-left: 0.7rem !important;
    padding-right: 0.7rem !important;
    margin-left: 0.6rem !important;
  }
}

@media (max-width: 1280px) {
  #main-nav .navbar-nav .nav-link {
    font-size: 12px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  #main-nav .extra-nav .nav-phone-number {
    font-size: 12px !important;
  }

  #main-nav .extra-nav .nav-phone-icon {
    font-size: 1.2rem !important;
  }

  #main-nav .extra-nav .reference-btn {
    font-size: 12px !important;
    padding-top: 0.3rem !important;
    padding-bottom: 0.3rem !important;
    padding-left: 0.6rem !important;
    padding-right: 0.6rem !important;
    margin-left: 0.5rem !important;
  }
}