/* Branch nav btn */

.gallery_nav_container {
  gap: 2em;
  flex-wrap: wrap;
  margin-top: 4em;
}
.gal_nav_btn.active,
.gal_nav_btn:hover {
  background-color: var(--primary_color);
  color: var(--white_color);
  border: 1px solid transparent;
}
.gal_nav_btn {
  cursor: pointer;
  color: var(--black_color);
  font-size: var(--body_text);
  padding: 0.4em 0.6em;
  border: 1px solid var(--black_color);
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  transition: var(--three_mili);
  -webkit-transition: var(--three_mili);
  -moz-transition: var(--three_mili);
  -ms-transition: var(--three_mili);
  -o-transition: var(--three_mili);
}

.branch-about-us {
  gap: 4em;
  margin-top: 4em;
  align-items: stretch;
  justify-content: space-between;
  min-height: 450px;
}
main:nth-child(even) .branch-about-us {
  flex-direction: row-reverse;
}
.bau_images {
  flex: 0 0 42%;
  width: 42%;
  max-width: 560px;
  min-width: 320px;
  height: 450px;
  min-height: 450px;
  overflow: hidden;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  align-self: flex-start;
  background-color: #f3f3f3;
}
.bau_images img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.bau_right_container {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.bau_right_container h1 {
  font-size: var(--primary_header);
  color: var(--primary_color);
}

.bau_right_container h2 {
  font-size: var(--tertiary_header);
  font-weight: normal;
  color: var(--secondary_black_color);
}

.bau_text_container {
  margin-top: 2em;
  flex: 1 1 auto;
}

.bau_text_container p {
  margin: 1em 0;
}

.bau_text_container p:first-child {
  margin-top: 0;
}

.bau_text_container p:last-child {
  margin-bottom: 0;
}

.bau_text_container .bd_lead {
  font-size: 1.05em;
  color: var(--secondary_black_color);
}

.branch-about-us.is-text-only {
  min-height: 0;
}

.branch-about-us.is-text-only .bau_right_container {
  max-width: 100%;
}

.bd_title_only {
  margin-top: 3em;
}

.bd_title_only h2 {
  font-size: var(--tertiary_header);
  font-weight: normal;
  color: var(--secondary_black_color);
}

.bd_section_header {
  text-align: left;
  margin-bottom: 1.5em;
}

.bd_section_header h2 {
  font-size: var(--tertiary_header);
  font-weight: normal;
  color: var(--secondary_black_color);
}

.bd_section_header p {
  margin-top: 0.4em;
  color: var(--secondary_black_color);
}

.bd_details_section,
.bd_fees_section {
  margin-top: 2.5em;
}

.bd_details_card {
  background: #fff;
  border-radius: 12px;
  box-shadow: #63636333 0 2px 8px;
  padding: 1.5em;
}

.bd_details_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25em 1.5em;
}

.bd_detail {
  align-items: flex-start;
  gap: 0.85em;
}

.bd_detail_icon {
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary_color) 12%, white);
  color: var(--primary_color);
}

.bd_detail_label {
  margin: 0;
  font-size: 0.85em;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--secondary_black_color);
  opacity: 0.75;
}

.bd_detail_value {
  margin: 0.25em 0 0;
  color: var(--secondary_black_color);
  line-height: 1.5;
}

.bd_detail_value a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--three_mili);
}

.bd_detail_value a:hover {
  color: var(--primary_color);
  border-bottom-color: var(--primary_color);
}

.bd_actions {
  margin-top: 1.5em;
  flex-wrap: wrap;
  gap: 0.85em;
}

.bd_action_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  background-color: var(--primary_color);
  color: var(--white_color);
}

.bd_action_btn_secondary {
  background-color: transparent;
  color: var(--primary_color);
  border: 1px solid var(--primary_color);
}

.bd_action_btn_secondary:hover {
  background-color: var(--primary_color);
  color: var(--white_color);
}

@media screen and (max-width: 900px) {
  .bau_images {
    flex: none;
    width: min(500px, 100%);
    min-width: 0;
    max-width: 100%;
    margin: 0 auto;
    height: 280px;
    min-height: 280px;
  }
  .branch-about-us {
    gap: 2em;
    flex-direction: column;
    margin-top: 2em;
    min-height: 0;
  }
  main:nth-child(even) .branch-about-us {
    flex-direction: column;
  }
  .bau_right_container {
    width: 100%;
  }
  .bau_text_container {
    margin-top: 1em;
  }
  .bd_details_grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 600px) {
  .bd_details_card {
    padding: 1.15em;
  }

  .bd_actions {
    flex-direction: column;
  }

  .bd_action_btn,
  .bd_action_btn_secondary {
    width: 100%;
  }
}

/* !FEES STRUCTURE */

.select_branch_container {
  margin-top: 2em;
  flex-direction: column;
  align-items: flex-end;
  gap: 1em;
}
.select_branch_container select {
  padding: 0.5em 1em;
  border: 1px solid var(--primary_color);
  font-size: var(--body-text);
  background-color: transparent;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.table-container {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 2em;
  overscroll-behavior-x: contain;
}

.fee-structure {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
  margin: 20px auto;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.fee-structure th,
.fee-structure td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
  white-space: nowrap;
}

.fee-structure th {
  background-color: #4caf50;
  color: white;
  font-weight: bold;
}

.fee-structure tr:nth-child(even) {
  background-color: #f9f9f9;
}

.fee-structure tr:hover {
  background-color: #f1f1f1;
}

.fee-structure .note {
  background-color: #000;
  color: #fff;
  font-weight: bold;
  white-space: normal;
}

.none-reserved {
  background-color: #ffa726;
  font-weight: bold;
  white-space: normal;
}

tfoot td {
  font-size: 0.9em;
}

.mobile_price_label {
  display: none;
}

.price {
  width: 100%;
  text-align: center;
}

.day-para {
  justify-content: center;
  gap: 0.5em;
}

@media screen and (max-width: 768px) {
  .table-container {
    margin-top: 1em;
    border-radius: 8px;
  }

  .fee-structure {
    margin: 0;
  }

  .fee-structure th,
  .fee-structure td {
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .mobile_tbl_heading {
    background-color: #ffb74d;
  }
}

/* ?PALANPUR STYLES */

.fees-structure {
  border-collapse: collapse;
  width: 100%;
  margin: 20px auto;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  min-width: 600px;
}

.fees-structure th,
.fees-structure td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
  white-space: nowrap;
}

.fees-structure th {
  background-color: #4caf50;
  color: white;
  font-weight: bold;
}

.fees-structure .full-day-reserve {
  background-color: #009688;
  color: white;
}

.fees-structure .shift-time {
  background-color: #2196f3;
  color: white;
}

.fees-structure .note {
  background-color: #000;
  color: white;
  font-weight: bold;
  white-space: normal;
}

.fees-structure tr:nth-child(even) {
  background-color: #f9f9f9;
}

.fees-structure tr:hover {
  background-color: #f1f1f1;
}

.shifting-time {
  border-collapse: collapse;
  width: 100%;
  margin: 20px auto;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  min-width: 600px;
}

.shifting-time th,
.shifting-time td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
  white-space: nowrap;
}

.shifting-time th {
  background-color: #4caf50;
  color: white;
  font-weight: bold;
}

.shifting-time .sub-header {
  background-color: #ffa726;
  font-weight: bold;
}

.shifting-time .sub-sub-header {
  background-color: #42a5f5;
  font-weight: bold;
  color: white;
}

.shifting-time tr:nth-child(even) {
  background-color: #f9f9f9;
}

.shifting-time tr:hover {
  background-color: #f1f1f1;
}
.download_pdf_container {
  justify-content: flex-end;
}
.download_pdf_btn {
  background-color: var(--primary_color);
  color: var(--white_color);
}
