body{
background-color: white;

margin-top: 0;
margin-left: 2;
margin-right: 2;
margin-bottom: 0;
font-family: Arial, Verdana, Helvetica, sans-serif;
}

a{text-decoration:none}
a:visited{color:#7653B7}
a:link,a.named:visited,div.breadcrumb a:visited,div.sitelinks a:visited,div.footlinks a:visited{color:#6858F5}
a:hover{text-decoration:underline}

.urbangreymenu{
  width: 190px; /*width of menu*/
}
.urbangreymenu .headerbar{
  font: bold 13px Verdana;
  color: white;
  background: #088A4B url(/images/uibh/arrowstop.gif) no-repeat 8px 6px;
  margin-bottom: 0;
  text-transform: uppercase;
  padding: 7px 0 7px 31px;
}
.urbangreymenu ul{
  list-style-type: none;
  margin: 0;
  padding: 0;
  margin-bottom: 0;
}
.urbangreymenu ul li{
  padding-bottom: 2px;
}
.urbangreymenu ul li a{
  font: normal 12px Arial;
  color: black;
  background: #E9E9E9;
  display: block;
  padding: 5px 0;
  line-height: 17px;
  padding-left: 8px; /*link text is indented 8px*/
  text-decoration: none;
}
.urbangreymenu ul li a:visited{
  color: black;
}
.urbangreymenu ul li a:hover{ /*hover state CSS*/
  color: #0B6138;
  background: #ffd700;
}
  .uibh-custom-table {
    border-collapse: collapse;
    width: 90%;
  }
  
  .uibh-custom-table th {
    font-size: 12px; 
    color: white; 
    background-color: #1CAC78;
    border: 1px solid #000;
    padding: 3px;
  }
  
  .uibh-custom-table tr.champ td{
          font-size: 12px; 
    border: 1px solid #000;
    padding: 3px;
    background-color: #D0F0C0;
  }
  .uibh-custom-table tr.league td {
          font-size: 12px; 
    border: 1px solid #000;
    padding: 3px;
    background-color: #f1f8e9;
  }
  .uibh-custom-table tr.tailteann td {
          font-size: 12px; 
    border: 1px solid #000;
    padding: 3px;
    background-color: #a7f1d6;
  }
  .uibh-custom-table a {
    text-decoration: none;
  }
  
  
  .compact-table {
    border-collapse: collapse;
    width: 30%;  /* Narrower width */
    margin: 0 auto;  /* Center the table */
}

.compact-table th {
    font-size: 12px;
    color: white;
    background-color: #1CAC78; /* Green background for the header */
    border: 1px solid #000;
    padding: 6px 8px;  /* Adjusted padding for a more compact look */
    text-align: center;
}

.compact-table td {
    font-size: 12px;
    border: 1px solid #000;
    padding: 6px 8px;  /* Adjusted padding */
    text-align: center;
}

.compact-table tr:nth-child(even) {
    background-color: #f2f2f2; /* Light background color for even rows (striped effect) */
}

.compact-table tr:nth-child(odd) {
    background-color: #ffffff; /* White background for odd rows */
}

.compact-table tr.champ td {
    background-color: #D0F0C0; /* Light green for Championship */
}

.compact-table tr.league td {
    background-color: #f1f8e9; /* Light color for League */
}

.compact-table tr.tailteann td {
    background-color: #a7f1d6; /* Light teal for Tailteann Cup */
}

.compact-table tr.total-row td {
    font-weight: bold;
    background-color: #d6e9c6; /* Light green for total row */
}

.compact-table a {
    text-decoration: none;
}

/* --- New Responsive Layout (Flexbox) --- */
.container {
  display: flex;
  padding: 10px; /* A little padding around the edge */
}

.menu {
  /* The menu will be 200px wide, but won't shrink */
  width: 200px;
  flex-shrink: 0;
}

.content {
  /* The content will take all remaining space */
  flex-grow: 1;
  padding-left: 20px; /* Space between menu and content */
}

/* --- Mobile-Friendly Styles --- */
@media (max-width: 768px) {
  .container {
    /* Stack menu and content on top of each other */
    flex-direction: column;
    padding: 5px;
  }
  
  .menu {
    width: 100%; /* Menu becomes full-width on mobile */
  }
  
  .content {
    padding-left: 0; /* Remove side padding on mobile */
  }
}


/* --- Styles for Forum Preview iFrame --- */
.forum-preview {
  display: block;
  width: 100%;
  max-width: 950px;
  height: 190px;
  margin: 0 auto;  /* This centers it */
  border: none;     /* This removes the default ugly iframe border */
}
/* --- Fixes for sideMenu.php --- */

/* This makes the new h2 headings in the menu look like the old h3s */
.urbangreymenu .headerbar {
  font-size: 13px; /* You already had this, but h2 is bigger by default */
  margin: 0 0 1px 0; /* Add a tiny 1px bottom margin like h3 had */
}

/* This adds the spacing back that the <br> tag was providing */
.urbangreymenu {
  margin-bottom: 1em; /* 1em is about the height of one line of text */
}


/* ===== Styles for Rolling Photo Gallery ===== */

.slideshow-container {
  /* You can change this width to match your old image */
  max-width: 600px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}


.mySlides img {
  vertical-align: middle;
  width: 100%;        /* Make sure it always fills the container's width */
  height: 280px;       /* <-- THIS IS YOUR FIXED HEIGHT */
  object-fit: cover;   /* <-- THIS IS THE MAGIC PART */
}
/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* ===== Styles for All Stars Page ===== */

/*
  This targets the h1, h2, h3 tags ONLY on content pages 
  (like allstars.php), not the main index.php
*/

.content h1 {
  color: #008A76;
  font-size: 24px;
}

.content h2 {
  color: #005B4F;
  font-size: 20px;
}

.content h3 {
  color: #333;
  font-size: 18px;
  margin-top: 20px;
}

/* Styles for the main data tables on the All Stars page 
*/
.all-stars-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.all-stars-table th, 
.all-stars-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.all-stars-table th {
  background-color: #008A76;
  color: white;
  text-align: center;
}

/* Make the smaller "player breakdown" tables narrower */
.all-stars-table.breakdown {
  width: 80%;
  max-width: 600px;
}

.all-stars-table td:nth-child(2) {
  text-align: center; /* Centers the "Awards" column */
}

/* Styles for the position breakdown tables 
*/
.position-breakdown {
  width: 100%;
  max-width: 800px;
  border-collapse: collapse;
  margin: 20px 0;
  background-color: #DEE3E7;
}
 
.position-breakdown td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

.position-breakdown td:first-child {
  background-color: #008A76;
  color: white;
  font-weight: bold;
  width: 100px; /* Give the "Position" column a fixed width */
}

/* Style for the highlight note at the bottom
*/
.highlight-note {
  margin: 20px 0;
  padding: 10px 20px;
  border-left: 4px solid #008A76;
  background-color: #ffffff;
  font-weight: bold;
  color: #008A76;
}

/* ===== Styles for Songs Page ===== */
.content h2 {
  color: #008A76;
}

.song-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.song {
  display: flex;
  flex-direction: column;
  background-color: #efefef;
  padding: 15px;
  border-radius: 5px;
}

.song-info {
  display: flex;
  flex-direction: column;
}

.song-year {
  font-weight: bold;
  margin-bottom: 5px;
  color: #555;
}

.song-title {
  font-weight: bold;
  font-size: 1.1em;
}

.song-audio {
  margin-top: 10px;
}

.song-audio audio,
.song-audio iframe {
  width: 100%;
  max-width: 420px;
  border: none; /* Remove border from iframe */
}

.song-audio img {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
}

.song-thanks {
  margin-top: 20px;
  font-style: italic;
  font-size: 0.9em;
}

/* ===== Styles for Contact Form ===== */

.contact-form {
  max-width: 600px; /* Set a max width for the form */
}

.form-group {
  margin-bottom: 20px; /* Space between form fields */
}

.form-group label {
  display: block; /* Make label appear on its own line */
  font-weight: bold;
  margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%; /* Make fields fill the container */
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  font-size: 1em;
  box-sizing: border-box; /* Important for 100% width */
}

.form-button {
  background-color: #088A4B; /* Your menu's green color */
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
}

.form-button:hover {
  background-color: #0B6138; /* A darker green */
}

/* Styles for the success/error messages */
.form-success {
  background-color: #D0F0C0; /* Light green */
  border: 1px solid #088A4B;
  color: #0B6138;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.form-error {
  background-color: #F8D7DA; /* Light red */
  border: 1px solid #721C24;
  color: #721C24;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

/* --- Add striped rows to all data tables --- */
.all-stars-table tbody tr:nth-child(even) {
  background-color: #f2f2f2; /* Light grey for even rows */
}

.all-stars-table tbody tr:nth-child(odd) {
  background-color: #ffffff; /* White for odd rows */
}

.all-stars-table tbody tr:hover {
  background-color: #e0e0e0; /* A slightly darker grey on hover */
}


/* ===== Styles for Forum Preview List ===== */

/* This is the main container that scrolls */
.forum-preview-list {
  height: 180px; /* Match the iframe height */
  overflow-y: auto; /* Adds a scrollbar if content is too tall */
  border: 1px solid #ddd;
  background-color: #fff;
}

.forum-preview-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.forum-preview-list li {
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
}

/* Style for the topic title link */
.forum-preview-list .topic-title {
  font-family: Tahoma, Arial, sans-serif;
  font-size: 0.9em;
  font-weight: bold;
  color: #005a9c; /* A nice blue link color */
  text-decoration: none;
}

.forum-preview-list .topic-title:hover {
  text-decoration: underline;
}

/* Container for the "by" and "date" info */
.forum-preview-list .topic-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 0.8em;
  color: #666;
}

.forum-preview-list .topic-meta a {
  color: #088A4B; /* Your site's green */
  text-decoration: none;
}

.forum-preview-list .topic-meta a:hover {
  text-decoration: underline;
}