/* General body styles */
body {
  margin: 0;
  background-color: #000;
  background-image: url(/_images/background.jpg);
  background-position: top center;
  background-repeat: repeat-x;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: #000;
}

/* Prevent horizontal scroll on iPhone */
html, body {
  overflow-x: hidden;
}

/* Bootstrap container width */
.container {
  max-width: 975px;
background-color: white;
}
 
/* Club title header */
#clubTitle {
  font-size: 24px;
  color: white;
  background-color: black;
  line-height: 40px;
  text-align: center;
}

/* Top Menu */
#topMenu {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

#topMenuHome,
#topMenuArl,
#topMenuDal,
#topMenuSA {
  flex: 1 1 25%;
  text-align: center;
  padding-top: 10px;
}

#topMenuHome a,
#topMenuArl a,
#topMenuDal a,
#topMenuSA a {
  color: white;
  text-decoration: none;
}

/* Optional: stack two per row on narrow phones */
@media (max-width: 400px) {
  #topMenuHome,
  #topMenuArl,
  #topMenuDal,
  #topMenuSA {
    flex-basis: 50%;
  }
}

/* Birthday Packages Table */
.table-bday {
  width: 100%;
  table-layout: fixed; /* force equal column widths */
  border-collapse: collapse;
  font-size: 16px;
  background-color: white;
}

.table-bday th,
.table-bday td {
  width: 25%;
  padding: 10px 8px;
  vertical-align: middle;
  word-wrap: break-word;
  white-space: normal;
  border-bottom: 1px solid silver;
  text-align: center;
}

.table-bday th:first-child,
.table-bday td:first-child {
  text-align: left;
}

/* Gray background for 3rd column */
.table-bday tr > *:nth-child(3) {
  background-color: whitesmoke;
}

/* Borders and alignment helpers */
.bdHeader {
  text-align: center;
  font-weight: bold;
}
.bdCenterText {
  text-align: center;
}
.bdRowBorder {
  border-bottom: 1px solid silver;
}

/* Make checkboxes responsive */
.table-bday img.check {
  width: 20px;
  height: auto;
}

/* Medium screen adjustments */
@media (max-width: 768px) {
  .table-bday {
    font-size: 15px;
  }
  .table-bday th,
  .table-bday td {
    padding: 8px 6px;
  }
}

/* Small screen adjustments */
@media (max-width: 576px) {
  .table-bday {
    font-size: 14px;
  }
  .table-bday th,
  .table-bday td {
    padding: 6px 4px;
  }
  .table-bday img.check {
    width: 16px;
  }
}

/* Extra small screens */
@media (max-width: 380px) {
  .table-bday {
    font-size: 13px;
  }
  .table-bday th,
  .table-bday td {
    padding: 5px 3px;
  }
}