@charset "UTF-8";
/* CSS Document */

@import "blydstvo.css";
.table {  border: thin #A18C60 solid}
.upperleter {  fGeneva,Arial,Helvetica,sans-serif; font-size: 24px; color: #ECE67B; font-weight: 400; text-indent: 5pt; clip:   rect(   ); margin-left: 30px; float: left; margin-right: 20px; margin-bottom: 20px}
.about {  font-family:Geneva,Arial,Helvetica,sans-serif; font-size: 13px; font-style: normal; line-height: normal; font-weight: 500; color: #ECE482; font-variant: small-caps; float: left; margin-top: 10px; margin-right: 10px; margin-bottom: 10px; margin-left: 20px; text-transform: none; text-decoration: none}
.contact {  font-family: Geneva,Arial,Helvetica,sans-serif; font-size: 20px; font-style: normal; font-weight: 500;color: #552B00; text-transform: uppercase; font-variant: normal; line-height: normal; text-decoration: none}
.contact_small { font-family: Geneva,Arial,Helvetica,sans-serif; font-size: 14px; font-style: normal; font-weight: 500; color: #552B00; text-transform: uppercase; font-variant: normal; text-decoration: none ; letter-spacing: 2pt; line-height: normal}
.contact_small_link { font-family: Geneva,Arial,Helvetica,sans-serif; font-size: 14px; font-style: normal; font-weight: 500; color: #000000; text-transform: uppercase; font-variant: normal; line-height: normal; text-decoration: none }
.image {  background-image: url(students/thumb/pianotuner_greg.jpg); background-repeat: no-repeat; background-position: left top}
.image_botom { background-image: url(students/thumb/pianotuner_greg.jpg); background-repeat: no-repeat; background-position: right bottom}
.policy {  font-family: Geneva,Arial,Helvetica,sans-serif; font-size: 14px; font-style: normal; line-height: normal; font-weight: 400; color: #552B00;text-decoration: none; text-align: left; white-space: normal; width: 680px; margin-top: 0px; margin-right: 5px; margin-bottom: 0px; margin-left: 10px; padding-top: 0px; padding-right: 5px; padding-bottom: 0px; padding-left: 10px}
.uppercase { font-family: Geneva,Arial,Helvetica,sans-serif;font-size: 16px; font-style: normal; line-height: normal; font-weight: bold; color: #ECE482; text-decoration: none; text-align: left; white-space: normal; width: 680px; margin-top: 0px; margin-right: 5px; margin-bottom: 0px; margin-left: 10px; padding-top: 0px; padding-right: 5px; padding-bottom: 0px; padding-left: 10px ; text-transform: uppercase}
.ats .about { font-variant: normal; padding:0 15px; color: #552B00;}

.table td a.mailto{color: #552B00;}
.table td a{color: #fff;}
.table td a.mailto:hover{ color:#fff;}

/* Desktop - Fix navigation widths */
.table tr[align="LEFT"][valign="TOP"] td {
  white-space: nowrap;
  padding: 8px 5px;
  font-size: 11px;
}

/* Mobile Responsive Styles */
@media only screen and (max-width: 767px) {
  /* Make table full width and scrollable */
  #Layer1 {
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  
  .table {
    width: 100% !important;
    min-width: 821px !important;
  }
  
  /* Keep navigation row as table layout on mobile */
  .table tr[align="LEFT"][valign="TOP"] {
    display: table-row !important;
  }
  
  .table tr[align="LEFT"][valign="TOP"] td {
    display: table-cell !important;
    font-size: 9px !important;
    padding: 5px 2px !important;
    white-space: nowrap !important;
  }
  
  /* Adjust content table */
  .table td table {
    width: 100% !important;
    margin-left: 0 !important;
    box-sizing: border-box;
  }
  
  .table td table td {
    padding: 10px !important;
  }
  
  /* Fix iframe */
  #signup-form iframe {
    width: 100% !important;
    max-width: 100%;
    height: 821px !important;
  }
  
  /* Adjust policy and uppercase classes for mobile */
  .policy,
  .uppercase {
    width: 100% !important;
    margin-left: 0 !important;
    padding-left: 5px !important;
    padding-right: 5px !important;
    box-sizing: border-box;
  }
  
  /* Make images responsive */
  img {
    max-width: 100% !important;
    height: auto !important;
  }
}
/* Desktop - Fix navigation widths - UNIFORM FONT SIZE */
.table tr[align="LEFT"][valign="TOP"] td {
  white-space: nowrap;
  padding: 8px 5px;
  font-size: 13px !important;
  font-family: Geneva, Arial, Helvetica, sans-serif;
  font-weight: 500;
  line-height: normal;
}

/* Ensure links inherit the same size */
.table tr[align="LEFT"][valign="TOP"] td a,
.table tr[align="LEFT"][valign="TOP"] td span {
  font-size: 13px !important;
  font-family: Geneva, Arial, Helvetica, sans-serif;
}

/* Fix dropdown menu items */
.table tr[align="LEFT"][valign="TOP"] td ul li {
  font-size: 13px !important;
}

.table tr[align="LEFT"][valign="TOP"] td ul li a {
  font-size: 13px !important;
}
/* Shrink navigation menu height */
.table tr[align="LEFT"][valign="TOP"] td {
  white-space: nowrap;
  padding: 6px 4px !important;
  font-size: 12px !important;
  font-family: Geneva, Arial, Helvetica, sans-serif;
  font-weight: 500;
  line-height: normal;
}

/* Summer Camps page - smaller box with different background color */
.table tr:nth-child(3) td > table[cellspacing="10"] {
  width: 650px !important;
  max-width: 650px !important;
  margin: 15px auto !important;
  background-color: #A18C60 !important;
  padding: 15px !important;
  box-sizing: border-box;
}

/* Style the Summer Camps heading */
.table tr:nth-child(3) table[bgcolor="#A18C60"] td {
  padding: 0 0 8px 0 !important;
  text-align: center;
  font-size: 22px;
  color: #552B00;
}

/* Smaller Summer Camps iframe */
.table tr:nth-child(3) table[bgcolor="#A18C60"] iframe {
  width: 100% !important;
  max-width: 620px !important;
  height: 500px !important;
  display: block;
  margin: 0 auto;
}
/* Summer Camps page - light beige box, moved up */
.table tr:nth-child(3) td > table[cellspacing="10"] {
  width: 650px !important;
  max-width: 650px !important;
  margin: 5px auto !important;
  background-color: #FFE2A6 !important;
  padding: 10px 15px !important;
  box-sizing: border-box;
}

/* Remove brown background */
.table tr:nth-child(3) table[bgcolor="#A18C60"] {
  background-color: transparent !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Move Summer Camps heading closer */
.table tr:nth-child(3) table[bgcolor="#A18C60"] td {
  padding: 0 0 5px 0 !important;
  text-align: center;
  font-size: 22px;
  color: #552B00;
}

/* Summer Camps iframe */
.table tr:nth-child(3) table[bgcolor="#A18C60"] iframe {
  width: 100% !important;
  max-width: 620px !important;
  height: 500px !important;
  display: block;
  margin: 0 auto;
}
/* Summer Camps page - smaller box matching other pages */
.table tr:nth-child(3) td > table[cellspacing="10"] {
  width: 520px !important;
  max-width: 550px !important;
  margin: 5px auto !important;
  background-color: #FFE2A6 !important;
  padding: 10px 15px !important;
  box-sizing: border-box;
}

/* Remove brown background */
.table tr:nth-child(3) table[bgcolor="#A18C60"] {
  background-color: transparent !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Move Summer Camps heading closer */
.table tr:nth-child(3) table[bgcolor="#A18C60"] td {
  padding: 0 0 5px 0 !important;
  text-align: center;
  font-size: 22px;
  color: #552B00;
}

/* Summer Camps iframe - smaller */
.table tr:nth-child(3) table[bgcolor="#A18C60"] iframe {
  width: 100% !important;
  max-width: 580px !important;
  height: 480px !important;
  display: block;
  margin: 0 auto;
}
/* Summer Camps page heading class */
.Summer Camps-heading {
  padding: 0;
  margin-top: -50px;
  text-align: center;
}

.Summer Camps-heading h2 {
  color: #552B00;
  font-size: 24px;
  margin: 0;
}
/* Fix Camp page - beige box same size as other pages */
.table tr:nth-child(3) td > table[bgcolor="#989ca3"] {
  width: 700px !important;
  max-width: 700px !important;
  margin: 20px auto !important;
  background-color: #FFE2A6 !important;
  padding: 20px !important;
  box-sizing: border-box;
  overflow: hidden;
}

/* Fix text wrapping and colors on camp page */
.table tr:nth-child(3) td > table[bgcolor="#989ca3"] td {
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  box-sizing: border-box;
  padding: 15px !important;
  max-width: 100%;
}

/* Fix the two-column layout - keep side by side */
.table tr:nth-child(3) td > table[bgcolor="#989ca3"] tr > td[style*="width:42%"] {
  width: 42% !important;
  display: table-cell !important;
  vertical-align: top !important;
  padding: 10px 15px !important;
}

.table tr:nth-child(3) td > table[bgcolor="#989ca3"] tr > td:last-child {
  width: 58% !important;
  display: table-cell !important;
  vertical-align: top !important;
  padding: 10px 15px !important;
}

/* Change yellow text to brown */
.table tr:nth-child(3) td > table[bgcolor="#989ca3"] td[style*="#eaff00"],
.table tr:nth-child(3) td > table[bgcolor="#989ca3"] p[style*="#eaff00"],
.table tr:nth-child(3) td > table[bgcolor="#989ca3"] h3[style*="#eaff00"] {
  color: #552B00 !important;
}

/* Fix other text colors */
.table tr:nth-child(3) td > table[bgcolor="#989ca3"] h3[style*="#bd7314"] {
  color: #552B00 !important;
}

.table tr:nth-child(3) td > table[bgcolor="#989ca3"] p[style*="#bd0001"] {
  color: #552B00 !important;
}

.table tr:nth-child(3) td > table[bgcolor="#989ca3"] p {
  color: #552B00 !important;
  max-width: 100%;
  word-wrap: break-word !important;
}

/* Constrain images */
.table tr:nth-child(3) td > table[bgcolor="#989ca3"] img {
  max-width: 100% !important;
  height: auto !important;
}

/* Make YouTube video taller */
.table tr:nth-child(3) td > table[bgcolor="#989ca3"] iframe[src*="youtube.com"] {
  max-width: 100% !important;
  width: 640px !important;
  height: 480px !important;
}

/* Contact page - make contact info headings bigger */
.table td table .contact {
  font-size: 24px !important;
  line-height: 1.3 !important;
}

.table td table .contact_small {
  font-size: 16px !important;
  line-height: 1.4 !important;
}

/* Mobile adjustments */
@media only screen and (max-width: 767px) {
  /* Stack columns on mobile */
  .table tr:nth-child(3) td > table[bgcolor="#989ca3"] tr > td[style*="width:42%"],
  .table tr:nth-child(3) td > table[bgcolor="#989ca3"] tr > td:last-child {
    width: 100% !important;
    display: block !important;
  }
  
  /* Smaller contact text on mobile */
  .table td table .contact {
    font-size: 18px !important;
  }
  
  .table td table .contact_small {
    font-size: 13px !important;
  }
}
/* Desktop - Fix navigation widths */
.table tr[align="LEFT"][valign="TOP"] td {
  white-space: nowrap;
  padding: 8px 5px;
  font-size: 13px !important;  /* Change from 11px to 13px */
}
/* Fix navigation menu font size */
.table tr[align="LEFT"][valign="TOP"] td {
  white-space: nowrap;
  padding: 8px 5px;
  font-size: 13px !important;
  position: relative;
}

/* Ensure links inherit the same size */
.table tr[align="LEFT"][valign="TOP"] td a,
.table tr[align="LEFT"][valign="TOP"] td span {
  font-size: 13px !important;
}

/* Fix dropdown menus - hide by default */
.table tr[align="LEFT"][valign="TOP"] td ul {
  display: none;
  background-color: #A02205;
  padding: 10px 15px;
  margin: 0;
  min-width: 180px;
  white-space: normal;
  position: absolute;
  left: 0;
  top: 100%;
  list-style: none;
  z-index: 1000;
  box-sizing: border-box;
}

/* Show dropdown on hover */
.table tr[align="LEFT"][valign="TOP"] td:hover ul {
  display: block;
}

/* Style dropdown items */
.table tr[align="LEFT"][valign="TOP"] td ul li {
  padding: 5px 10px;
  white-space: normal;
  word-wrap: break-word;
  font-size: 13px !important;
}

.table tr[align="LEFT"][valign="TOP"] td ul li a {
  color: #fff;
  text-decoration: none;
  display: block;
  font-size: 13px !important;
}

.table tr[align="LEFT"][valign="TOP"] td ul li a:hover {
  text-decoration: underline;
}

/* Make Nonprofit Events dropdown wider */
.table tr[align="LEFT"][valign="TOP"] td.tabout.abou ul {
  min-width: 220px !important;
  width: 220px !important;
}

/* Ensure parent cell has position relative */
.table tr[align="LEFT"][valign="TOP"] td.tabout {
  position: relative;
}

.table tr[align="LEFT"][valign="TOP"] td.tabout.abou {
  position: relative;
}

.table tr[align="LEFT"][valign="TOP"] td.tabout.programs {
  position: relative;
}

.table tr[align="LEFT"][valign="TOP"] td.faq {
  position: relative;
}

.table tr[align="LEFT"][valign="TOP"] td.students {
  position: relative;
}
/* Fix Concerts page gallery layout - match other pages at 700px */
.table tr:nth-child(3) td > table[bgcolor="#FFE2A6"] {
  width: 700px !important;
  max-width: 700px !important;
  margin: 20px auto !important;
  padding: 20px !important;
  box-sizing: border-box;
}

/* Center the gallery content */
.table tr:nth-child(3) td > table[bgcolor="#FFE2A6"] tr td {
  text-align: center;
  vertical-align: middle;
  padding: 5px !important;
}

/* Style the heading */
.table tr:nth-child(3) td > table[bgcolor="#FFE2A6"] tr:first-child td {
  padding: 10px 0 15px 0 !important;
}

/* Fix left column thumbnails - smaller width */
.table tr:nth-child(3) td > table[bgcolor="#FFE2A6"] tr td:nth-child(1),
.table tr:nth-child(3) td > table[bgcolor="#FFE2A6"] tr td:nth-child(2) {
  width: 130px !important;
  text-align: center;
}

/* Specifically target the heading on the concerts table gallery */
table[bgcolor="#FFE2A6"] tr:first-child td p {
  font-size: 24px !important;
  margin: 10px 0;
  letter-spacing: 1px;
}

/* Contact Page - Override all conflicting styles */
body.contact-page .table tr:nth-child(3) td > table[bgcolor="#FFE2A6"],
.table tr:nth-child(3) td > table[bgcolor="#FFE2A6"]:has(img[name="target"]) {
  width: 700px !important;
  margin: 20px auto !important;
  padding: 25px 20px !important;
  border-collapse: collapse;
  background-color: #FFE2A6 !important;
}

/* Target the inner table containing the gallery */
.table tr:nth-child(3) td > table[bgcolor="#FFE2A6"] table[width="500"] {
  width: 100% !important;
  max-width: 620px !important;
  margin: 0 auto !important;
  border-collapse: collapse;
}

/* Main gallery row */
.table tr:nth-child(3) td > table[bgcolor="#FFE2A6"] table[width="500"] > tbody > tr {
  display: table-row !important;
}

/* Left spacer - first column */
.table tr:nth-child(3) td > table[bgcolor="#FFE2A6"] table[width="500"] > tbody > tr > td:nth-child(1) {
  width: 14px !important;
  padding: 0 !important;
}

/* Main door image container - second column */
.table tr:nth-child(3) td > table[bgcolor="#FFE2A6"] table[width="500"] > tbody > tr > td:nth-child(2) {
  width: 450px !important;
  text-align: center !important;
  vertical-align: top !important;
  padding: 0 15px 0 0 !important;
}

/* The actual door image */
.table tr:nth-child(3) td > table[bgcolor="#FFE2A6"] img[name="target"] {
  width: 445px !important;
  height: auto !important;
  max-width: 445px !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Right spacer - third column */
.table tr:nth-child(3) td > table[bgcolor="#FFE2A6"] table[width="500"] > tbody > tr > td:nth-child(3) {
  width: 14px !important;
  padding: 0 !important;
}

/* Thumbnail container - nested table cells with images */
.table tr:nth-child(3) td > table[bgcolor="#FFE2A6"] table[width="500"] td[style*="padding-top"] {
  width: auto !important;
  vertical-align: top !important;
  text-align: center !important;
  padding: 8px 0 0 5px !important;
}

/* All thumbnail images - tighter spacing */
.table tr:nth-child(3) td > table[bgcolor="#FFE2A6"] img[width="72"],
.table tr:nth-child(3) td > table[bgcolor="#FFE2A6"] img[height="90"] {
  width: 90px !important;
  height: auto !important;
  margin: 0 auto 6px auto !important;
  display: block !important;
}

/* Contact info section below images */
.table tr:nth-child(3) td > table[bgcolor="#FFE2A6"] td[align="center"]:not([rowspan]) {
  text-align: center !important;
  padding: 20px 15px !important;
}

/* Center all contact text */
.table tr:nth-child(3) td > table[bgcolor="#FFE2A6"] p.contact,
.table tr:nth-child(3) td > table[bgcolor="#FFE2A6"] p {
  text-align: center !important;
  margin: 8px auto !important;
}
/* ===== CONTACT PAGE GALLERY FIX - SAFARI & MOBILE ===== */
/* Add this to the VERY END of your style.css file */

/* Container styling */
.contact-gallery-container {
  width: 700px !important;
  max-width: 700px !important;
  margin: 20px auto !important;
  padding: 25px 20px !important;
  box-sizing: border-box;
}

/* Inner gallery table - side by side layout */
.contact-gallery-inner {
  width: 100% !important;
  max-width: 650px !important;
  margin: 0 auto !important;
  border-collapse: collapse;
  display: table !important;
}

.contact-gallery-inner tr {
  display: table-row !important;
}

/* Main image cell - left side */
.main-image-cell {
  width: 500px !important;
  max-width: 500px !important;
  padding: 0 20px 0 0 !important;
  vertical-align: top !important;
  display: table-cell !important;
}

/* Main door image */
.contact-main-image {
  width: 100% !important;
  max-width: 480px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

/* Thumbnail column - right side */
.thumbnail-column {
  width: 120px !important;
  max-width: 120px !important;
  vertical-align: top !important;
  padding: 0 !important;
  display: table-cell !important;
}

/* Thumbnails - stack vertically */
.contact-thumbnail {
  width: 100% !important;
  max-width: 110px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto 8px auto !important;
  object-fit: contain !important;
}

/* Override any conflicting styles */
.contact-gallery-container img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

/* Mobile responsive */
@media only screen and (max-width: 767px) {
  .contact-gallery-container {
    width: 100% !important;
    padding: 15px !important;
  }
  
  .contact-gallery-inner {
    width: 100% !important;
  }
  
  /* Stack on mobile */
  .main-image-cell,
  .thumbnail-column {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  
  .thumbnail-column {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 15px !important;
  }
  
  .contact-thumbnail {
    width: 80px !important;
    max-width: 80px !important;
    display: inline-block !important;
  }
  
  .contact-main-image {
    max-width: 100% !important;
  }
}

/* Safari-specific fixes */
@supports (-webkit-appearance: none) {
  .contact-main-image,
  .contact-thumbnail {
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
  }
}
/* ===== CONTACT PAGE GALLERY FIX - SAFARI & MOBILE ===== */
/* Add this to the VERY END of your style.css file */

/* Container styling */
.contact-gallery-container {
  width: 700px !important;
  max-width: 700px !important;
  margin: 20px auto !important;
  padding: 25px 20px !important;
  box-sizing: border-box;
}

/* Inner gallery table - side by side layout */
.contact-gallery-inner {
  width: 100% !important;
  max-width: 650px !important;
  margin: 0 auto !important;
  border-collapse: collapse;
  display: table !important;
}

.contact-gallery-inner tr {
  display: table-row !important;
}

/* Main image cell - left side */
.main-image-cell {
  width: 500px !important;
  max-width: 500px !important;
  padding: 0 20px 0 0 !important;
  vertical-align: top !important;
  display: table-cell !important;
}

/* Main door image */
.contact-main-image {
  width: 100% !important;
  max-width: 480px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

/* Thumbnail column - right side */
.thumbnail-column {
  width: 120px !important;
  max-width: 120px !important;
  vertical-align: top !important;
  padding: 0 !important;
  display: table-cell !important;
}

/* Thumbnails - stack vertically */
.contact-thumbnail {
  width: 100% !important;
  max-width: 110px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto 8px auto !important;
  object-fit: contain !important;
}

/* Override any conflicting styles */
.contact-gallery-container img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

/* Mobile responsive */
@media only screen and (max-width: 767px) {
  .contact-gallery-container {
    width: 100% !important;
    padding: 15px !important;
  }
  
  .contact-gallery-inner {
    width: 100% !important;
  }
  
  /* Stack on mobile */
  .main-image-cell,
  .thumbnail-column {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  
  .thumbnail-column {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 15px !important;
  }
  
  .contact-thumbnail {
    width: 80px !important;
    max-width: 80px !important;
    display: inline-block !important;
  }
  
  .contact-main-image {
    max-width: 100% !important;
  }
}

/* Safari-specific fixes */
@supports (-webkit-appearance: none) {
  .contact-main-image,
  .contact-thumbnail {
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
  }
}

/* Social media icons - make smaller and align properly */
.social {
  text-align: center !important;
  line-height: 1 !important;
  margin: 10px 0 !important;
}

.social img {
  height: 24px !important;
  width: auto !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 8px !important;
}

.social a {
  display: inline-block !important;
  vertical-align: middle !important;
  line-height: 1 !important;
}
/* ===== CONTACT PAGE GALLERY FIX - SAFARI & MOBILE ===== */
/* Add this to the VERY END of your style.css file */

/* Container styling */
.contact-gallery-container {
  width: 700px !important;
  max-width: 700px !important;
  margin: 20px auto !important;
  padding: 25px 20px !important;
  box-sizing: border-box;
}

/* Inner gallery table - side by side layout */
.contact-gallery-inner {
  width: 100% !important;
  max-width: 650px !important;
  margin: 0 auto !important;
  border-collapse: collapse;
  display: table !important;
}

.contact-gallery-inner tr {
  display: table-row !important;
}

/* Main image cell - left side */
.main-image-cell {
  width: 500px !important;
  max-width: 500px !important;
  padding: 0 20px 0 0 !important;
  vertical-align: top !important;
  display: table-cell !important;
}

/* Main door image */
.contact-main-image {
  width: 100% !important;
  max-width: 480px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

/* Thumbnail column - right side */
.thumbnail-column {
  width: 120px !important;
  max-width: 120px !important;
  vertical-align: top !important;
  padding: 0 !important;
  display: table-cell !important;
}

/* Thumbnails - stack vertically */
.contact-thumbnail {
  width: 100% !important;
  max-width: 110px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto 8px auto !important;
  object-fit: contain !important;
}

/* Override any conflicting styles */
.contact-gallery-container img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

/* Mobile responsive */
@media only screen and (max-width: 767px) {
  .contact-gallery-container {
    width: 100% !important;
    padding: 15px !important;
  }
  
  .contact-gallery-inner {
    width: 100% !important;
  }
  
  /* Stack on mobile */
  .main-image-cell,
  .thumbnail-column {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  
  .thumbnail-column {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 15px !important;
  }
  
  .contact-thumbnail {
    width: 80px !important;
    max-width: 80px !important;
    display: inline-block !important;
  }
  
  .contact-main-image {
    max-width: 100% !important;
  }
}

/* Safari-specific fixes */
@supports (-webkit-appearance: none) {
  .contact-main-image,
  .contact-thumbnail {
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
  }
}

/* Social media icons - make smaller and align properly */
.social {
  text-align: center !important;
  line-height: 1 !important;
  margin: 10px 0 !important;
}

.social img {
  height: 24px !important;
  width: auto !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 8px !important;
}

.social a {
  display: inline-block !important;
  vertical-align: middle !important;
  line-height: 1 !important;
}

/* Reduce space between gallery and contact info */
.contact-gallery-inner {
  width: 100% !important;
  max-width: 650px !important;
  margin: 0 auto 15px auto !important;
  border-collapse: collapse;
  display: table !important;
}

/* Tighten up contact info section */
.contact-gallery-container td[align="center"] {
  padding-top: 10px !important;
}

.contact-gallery-container td[align="center"] br:first-child {
  display: none !important;
}

.contact-gallery-container p.contact,
.contact-gallery-container p {
  margin: 5px auto !important;
}

.contact-gallery-container p.contact_small {
  margin: 3px auto !important;
}

/* ===== CONTACT PAGE GALLERY FIX - SAFARI & MOBILE ===== */
/* Add this to the VERY END of your style.css file */

/* Container styling */
.contact-gallery-container {
  width: 700px !important;
  max-width: 700px !important;
  margin: 20px auto !important;
  padding: 25px 20px !important;
  box-sizing: border-box;
}

/* Inner gallery table - side by side layout */
.contact-gallery-inner {
  width: 100% !important;
  max-width: 650px !important;
  margin: 0 auto !important;
  border-collapse: collapse;
  display: table !important;
}

.contact-gallery-inner tr {
  display: table-row !important;
}

/* Main image cell - left side */
.main-image-cell {
  width: 500px !important;
  max-width: 500px !important;
  padding: 0 20px 0 0 !important;
  vertical-align: top !important;
  display: table-cell !important;
}

/* Main door image */
.contact-main-image {
  width: 100% !important;
  max-width: 480px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

/* Thumbnail column - right side */
.thumbnail-column {
  width: 120px !important;
  max-width: 120px !important;
  vertical-align: top !important;
  padding: 0 !important;
  display: table-cell !important;
}

/* Thumbnails - stack vertically */
.contact-thumbnail {
  width: 100% !important;
  max-width: 110px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto 8px auto !important;
  object-fit: contain !important;
}

/* Override any conflicting styles */
.contact-gallery-container img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

/* Mobile responsive */
@media only screen and (max-width: 767px) {
  .contact-gallery-container {
    width: 100% !important;
    padding: 15px !important;
  }
  
  .contact-gallery-inner {
    width: 100% !important;
  }
  
  /* Stack on mobile */
  .main-image-cell,
  .thumbnail-column {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  
  .thumbnail-column {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 15px !important;
  }
  
  .contact-thumbnail {
    width: 80px !important;
    max-width: 80px !important;
    display: inline-block !important;
  }
  
  .contact-main-image {
    max-width: 100% !important;
  }
}

/* Safari-specific fixes */
@supports (-webkit-appearance: none) {
  .contact-main-image,
  .contact-thumbnail {
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
  }
}

/* Social media icons - make smaller and align properly */
.social {
  text-align: center !important;
  line-height: 1 !important;
  margin: 10px 0 !important;
}

.social img {
  height: 24px !important;
  width: auto !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 8px !important;
}

.social a {
  display: inline-block !important;
  vertical-align: middle !important;
  line-height: 1 !important;
}

/* Reduce space between gallery and contact info */
.contact-gallery-inner {
  width: 100% !important;
  max-width: 650px !important;
  margin: 0 auto 0 auto !important;
  border-collapse: collapse;
  display: table !important;
}

/* Tighten up contact info section */
.contact-gallery-container td[align="center"] {
  padding-top: 0 !important;
  padding-bottom: 5px !important;
}

.contact-gallery-container td[align="center"] br:first-child {
  display: none !important;
}

.contact-gallery-container p.contact,
.contact-gallery-container p {
  margin: 3px auto !important;
  line-height: 1.3 !important;
}

.contact-gallery-container p.contact_small {
  margin: 2px auto !important;
  line-height: 1.2 !important;
}

/* Remove extra line breaks */
.contact-gallery-container br {
  display: none !important;
}

.contact-gallery-container p.contact_small br {
  display: inline !important;
}
/* ===== CONTACT PAGE GALLERY FIX - SAFARI & MOBILE ===== */
/* Add this to the VERY END of your style.css file */

/* Container styling */
.contact-gallery-container {
  width: 700px !important;
  max-width: 700px !important;
  margin: 20px auto !important;
  padding: 25px 20px !important;
  box-sizing: border-box;
}

/* Inner gallery table - side by side layout */
.contact-gallery-inner {
  width: 100% !important;
  max-width: 650px !important;
  margin: 0 auto !important;
  border-collapse: collapse;
  display: table !important;
}

.contact-gallery-inner tr {
  display: table-row !important;
}

/* Main image cell - left side */
.main-image-cell {
  width: 500px !important;
  max-width: 500px !important;
  padding: 0 20px 0 0 !important;
  vertical-align: top !important;
  display: table-cell !important;
}

/* Main door image */
.contact-main-image {
  width: 100% !important;
  max-width: 480px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

/* Thumbnail column - right side */
.thumbnail-column {
  width: 120px !important;
  max-width: 120px !important;
  vertical-align: top !important;
  padding: 0 !important;
  display: table-cell !important;
}

/* Thumbnails - stack vertically */
.contact-thumbnail {
  width: 100% !important;
  max-width: 110px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto 8px auto !important;
  object-fit: contain !important;
}

/* Override any conflicting styles */
.contact-gallery-container img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
}

/* Mobile responsive */
@media only screen and (max-width: 767px) {
  .contact-gallery-container {
    width: 100% !important;
    padding: 15px !important;
  }
  
  .contact-gallery-inner {
    width: 100% !important;
  }
  
  /* Stack on mobile */
  .main-image-cell,
  .thumbnail-column {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  
  .thumbnail-column {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 15px !important;
  }
  
  .contact-thumbnail {
    width: 80px !important;
    max-width: 80px !important;
    display: inline-block !important;
  }
  
  .contact-main-image {
    max-width: 100% !important;
  }
}

/* Safari-specific fixes */
@supports (-webkit-appearance: none) {
  .contact-main-image,
  .contact-thumbnail {
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
  }
}

/* Social media icons - make smaller and align properly */
.social {
  text-align: center !important;
  line-height: 1 !important;
  margin: 10px 0 !important;
}

.social img {
  height: 24px !important;
  width: auto !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 8px !important;
}

.social a {
  display: inline-block !important;
  vertical-align: middle !important;
  line-height: 1 !important;
}

/* Reduce space between gallery and contact info */
.contact-gallery-inner {
  width: 100% !important;
  max-width: 650px !important;
  margin: 0 auto 0 auto !important;
  border-collapse: collapse;
  display: table !important;
}

/* Tighten up contact info section */
.contact-gallery-container td[align="center"] {
  padding-top: 0 !important;
  padding-bottom: 5px !important;
  text-align: center !important;
}

.contact-gallery-container td[align="center"] br:first-child {
  display: none !important;
}

.contact-gallery-container p.contact,
.contact-gallery-container p {
  margin: 3px auto !important;
  line-height: 1.3 !important;
  text-align: center !important;
}

.contact-gallery-container p.contact_small {
  margin: 2px auto !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

/* Remove extra line breaks */
.contact-gallery-container br {
  display: none !important;
}

.contact-gallery-container p.contact_small br {
  display: inline !important;
}
/* ===== CONTACT PAGE FIX - PASTE AT END OF STYLE.CSS ===== */

/* Main beige container */
.contact-gallery-container {
  width: 700px !important;
  max-width: 700px !important;
  margin: 20px auto !important;
  padding: 30px 20px !important;
  box-sizing: border-box !important;
}

/* Gallery table - side by side */
.contact-gallery-inner {
  margin: 0 auto !important;
  display: table !important;
  border-collapse: collapse !important;
}

.contact-gallery-inner tr {
  display: table-row !important;
}

.contact-gallery-inner td {
  display: table-cell !important;
  vertical-align: top !important;
}

/* Left side - main image */
.main-image-cell {
  padding-right: 20px !important;
}

.contact-main-image {
  width: auto !important;
  max-width: 480px !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
}

/* Right side - thumbnails */
.thumbnail-column {
  width: 110px !important;
}

.contact-thumbnail {
  width: 100% !important;
  max-width: 110px !important;
  height: auto !important;
  display: block !important;
  margin-bottom: 8px !important;
  object-fit: contain !important;
}

/* Contact info - tighten spacing */
.contact-gallery-container td[align="center"] {
  text-align: center !important;
  padding: 0 !important;
}

.contact-gallery-container p {
  margin: 3px 0 !important;
  text-align: center !important;
}

.contact-gallery-container .contact {
  margin: 8px 0 3px 0 !important;
}

.contact-gallery-container br {
  line-height: 0.5 !important;
}

/* Social media icons */
.contact-gallery-container .social {
  margin: 15px 0 10px 0 !important;
  text-align: center !important;
}

.contact-gallery-container .social img {
  height: 24px !important;
  width: auto !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 5px !important;
}

/* Mobile */
@media only screen and (max-width: 767px) {
  .contact-gallery-container {
    width: 100% !important;
    padding: 15px !important;
  }
  
  .main-image-cell,
  .thumbnail-column {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
  }
  
  .thumbnail-column {
    margin-top: 15px !important;
    text-align: center !important;
  }
  
  .contact-thumbnail {
    display: inline-block !important;
    width: 80px !important;
    margin: 0 5px 5px 5px !important;
  }
}
/* ===== CONTACT PAGE FIX - PASTE AT END OF STYLE.CSS ===== */

/* Main beige container */
.contact-gallery-container {
  width: 650px !important;
  max-width: 650px !important;
  margin: 20px auto !important;
  padding: 30px 15px !important;
  box-sizing: border-box !important;
}

/* Gallery table - side by side */
.contact-gallery-inner {
  margin: 0 auto !important;
  display: table !important;
  border-collapse: collapse !important;
}

.contact-gallery-inner tr {
  display: table-row !important;
}

.contact-gallery-inner td {
  display: table-cell !important;
  vertical-align: top !important;
}

/* Left side - main image */
.main-image-cell {
  padding-right: 15px !important;
}

.contact-main-image {
  width: auto !important;
  max-width: 440px !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
}

/* Right side - thumbnails */
.thumbnail-column {
  width: 110px !important;
}

.contact-thumbnail {
  width: 100% !important;
  max-width: 110px !important;
  height: auto !important;
  display: block !important;
  margin-bottom: 8px !important;
  object-fit: contain !important;
}

/* Contact info - tighten spacing */
.contact-gallery-container td[align="center"] {
  text-align: center !important;
  padding: 0 !important;
}

.contact-gallery-container p {
  margin: 3px 0 !important;
  text-align: center !important;
}

.contact-gallery-container .contact {
  margin: 15px 0 5px 0 !important;
}

.contact-gallery-container br {
  line-height: 0.5 !important;
}

/* Social media icons */
.contact-gallery-container .social {
  margin: 15px 0 10px 0 !important;
  text-align: center !important;
}

.contact-gallery-container .social img {
  height: 24px !important;
  width: auto !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 5px !important;
}

/* Mobile */
@media only screen and (max-width: 767px) {
  .contact-gallery-container {
    width: 100% !important;
    padding: 15px !important;
  }
  
  .main-image-cell,
  .thumbnail-column {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
  }
  
  .thumbnail-column {
    margin-top: 15px !important;
    text-align: center !important;
  }
  
  .contact-thumbnail {
    display: inline-block !important;
    width: 80px !important;
    margin: 0 5px 5px 5px !important;
  }
}
/* ===== CONTACT PAGE FIX - PASTE AT END OF STYLE.CSS ===== */

/* Main beige container */
.contact-gallery-container {
  width: 650px !important;
  max-width: 650px !important;
  margin: 20px auto !important;
  padding: 30px 15px !important;
  box-sizing: border-box !important;
}

/* Gallery table - side by side */
.contact-gallery-inner {
  margin: 0 auto !important;
  display: table !important;
  border-collapse: collapse !important;
}

.contact-gallery-inner tr {
  display: table-row !important;
}

.contact-gallery-inner td {
  display: table-cell !important;
  vertical-align: top !important;
}

/* Left side - main image */
.main-image-cell {
  padding-right: 15px !important;
}

.contact-main-image {
  width: auto !important;
  max-width: 440px !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
}

/* Right side - thumbnails */
.thumbnail-column {
  width: 110px !important;
}

.contact-thumbnail {
  width: 100% !important;
  max-width: 110px !important;
  height: auto !important;
  display: block !important;
  margin-bottom: 8px !important;
  object-fit: contain !important;
}

/* Contact info - add more spacing between sections */
.contact-gallery-container td[align="center"] {
  text-align: center !important;
  padding: 0 !important;
}

.contact-gallery-container p {
  margin: 3px 0 !important;
  text-align: center !important;
}

/* Big headings - more space above */
.contact-gallery-container p.contact {
  margin-top: 20px !important;
  margin-bottom: 5px !important;
}

/* First heading - less space at top */
.contact-gallery-container p.contact:first-of-type {
  margin-top: 10px !important;
}

/* Small text and regular paragraphs */
.contact-gallery-container p.contact_small {
  margin: 2px 0 !important;
}

.contact-gallery-container br {
  display: block !important;
  content: "" !important;
  margin: 8px 0 !important;
}

/* Social media icons */
.contact-gallery-container .social {
  margin: 15px 0 10px 0 !important;
  text-align: center !important;
}

.contact-gallery-container .social img {
  height: 24px !important;
  width: auto !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 5px !important;
}

/* Mobile */
@media only screen and (max-width: 767px) {
  .contact-gallery-container {
    width: 100% !important;
    padding: 15px !important;
  }
  
  .main-image-cell,
  .thumbnail-column {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
  }
  
  .thumbnail-column {
    margin-top: 15px !important;
    text-align: center !important;
  }
  
  .contact-thumbnail {
    display: inline-block !important;
    width: 80px !important;
    margin: 0 5px 5px 5px !important;
  }
}

/* ===== CONTACT PAGE FIX - PASTE AT END OF STYLE.CSS ===== */

/* Main beige container */
.contact-gallery-container {
  width: 650px !important;
  max-width: 650px !important;
  margin: 20px auto !important;
  padding: 30px 15px 30px 50px !important;
  box-sizing: border-box !important;
}

/* Gallery table - side by side */
.contact-gallery-inner {
  margin: 0 auto 0 -20px !important;
  display: table !important;
  border-collapse: collapse !important;
}

.contact-gallery-inner tr {
  display: table-row !important;
}

.contact-gallery-inner td {
  display: table-cell !important;
  vertical-align: top !important;
}

/* Left side - main image */
.main-image-cell {
  padding-right: 15px !important;
}

.contact-main-image {
  width: auto !important;
  max-width: 440px !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
}

/* Right side - thumbnails */
.thumbnail-column {
  width: 110px !important;
}

.contact-thumbnail {
  width: 100% !important;
  max-width: 110px !important;
  height: auto !important;
  display: block !important;
  margin-bottom: 8px !important;
  object-fit: contain !important;
}

/* Contact info - add more spacing between sections */
.contact-gallery-container td[align="center"] {
  text-align: center !important;
  padding: 0 !important;
}

.contact-gallery-container p {
  margin: 3px 0 !important;
  text-align: center !important;
}

/* Big headings - more space above */
.contact-gallery-container p.contact {
  margin-top: 20px !important;
  margin-bottom: 5px !important;
}

/* First heading - less space at top */
.contact-gallery-container p.contact:first-of-type {
  margin-top: 10px !important;
}

/* Small text and regular paragraphs */
.contact-gallery-container p.contact_small {
  margin: 2px 0 !important;
}

.contact-gallery-container br {
  display: block !important;
  content: "" !important;
  margin: 8px 0 !important;
}

/* Social media icons */
.contact-gallery-container .social {
  margin: 15px 0 10px 0 !important;
  text-align: center !important;
}

.contact-gallery-container .social img {
  height: 24px !important;
  width: auto !important;
  display: inline-block !important;
  vertical-align: middle !important;
  margin: 0 5px !important;
}

/* Mobile */
@media only screen and (max-width: 767px) {
  .contact-gallery-container {
    width: 100% !important;
    padding: 15px !important;
  }
  
  .main-image-cell,
  .thumbnail-column {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
  }
  
  .thumbnail-column {
    margin-top: 15px !important;
    text-align: center !important;
  }
  
  .contact-thumbnail {
    display: inline-block !important;
    width: 80px !important;
    margin: 0 5px 5px 5px !important;
  }
}

/* ===== MOBILE DROPDOWN FIX - Add to end of style.css ===== */

/* Make dropdowns work on touch devices with single tap */
@media only screen and (max-width: 767px) {
  /* Hide dropdowns by default */
  .tabout ul {
    display: none;
    position: absolute;
    z-index: 100;
    background: #A02205;
    padding: 6px 8px 14px 22px;
    text-align: left;
    opacity: 0.9;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    margin-top: 6px;
  }
  
  /* Show dropdown when parent has 'active' class */
  .tabout.active ul {
    display: block !important;
  }
  
  /* Ensure hover still works but doesn't interfere */
  .tabout:hover ul {
    display: block;
  }
}

/* Desktop - keep existing hover behavior */
@media only screen and (min-width: 768px) {
  .tabout:hover ul {
    display: block;
  }
}
/* ===== CAMP PAGE SESSIONS TABLE FIX ===== */
.camp-sessions-table {
  width: 100% !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
  white-space: nowrap !important;
}

.camp-sessions-table th,
.camp-sessions-table td {
  white-space: nowrap !important;
  text-align: center !important;
  padding: 12px 8px !important;
  word-break: normal !important;
  overflow: visible !important;
}
