
.grid-container {
  display: grid;
  grid-template-columns: auto auto;
  gap: 10px;
  padding: 10px;
  margin: auto;
  width: 70%;

}
.grid-container > div {
  color: #000;
  padding: 10px;
  font-size: 20px;
  text-align: center;
}


h1 {
	font-family: arial, sans-serif;
	font-size: 30px;
	color: #;
}

h2 {
	font-family: arial, sans-serif;
	font-size: 25px;
	color: #;
	margin-bottom: 0;
}

h3 {
	font-family: arial, sans-serif;
	vertical-align: center;
	margin-bottom: 0;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}

input[type=number] {
  -moz-appearance: textfield;
}

input[type=submit], input[type=button] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-family: arial, sans-serif;
	font-size: 16px;
	padding: 15px 30px;
	color: white;
	background-image: linear-gradient(to right, #, #);
	border: 0;
	cursor: pointer;
	-webkit-border-radius: 0px;
	border-radius: 0px;
}

input[type=button] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-family: arial, sans-serif;
	font-size: 16px;
	padding: 1px 16px;
	color: white;
	background-image: linear-gradient(to right, #, #);
	border: 0;
	cursor: pointer;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

input[type=submit]:hover, input[type=button]:hover {
	color: black;
	background-image: linear-gradient(to right, #, #);
}


/* Style for the question mark icon */
.tooltip-container {
      display: inline-block;
      position: relative;
      cursor: pointer;
      font-size: 16px;
      color: #;
    }

.tooltip-container .tooltip-icon {
      font-weight: bold;
      border: 1px solid #;
      border-radius: 50%;
      font-size: 16px;
      padding: 1px 4px;
      background-color: #;
    }

    /* Tooltip styling       width: 200px;   */
.tooltip-container .tooltip-text {
      visibility: hidden;
      background-color: #333;
      color: #fff;
      text-align: center;
      border-radius: 5px;
      padding: 8px;
      position: absolute;
      bottom: 125%; 		/* Position above the icon */
      left: 50%;
      transform: translateX(-50%);
      z-index: 1;
      opacity: 0;
      transition: opacity 0.3s;
    }

    /* Tooltip arrow */
.tooltip-container .tooltip-text::after {
      content: '';
      position: absolute;
      top: 100%; /* Arrow pointing down */
      left: 50%;
      transform: translateX(-50%);
      border-width: 5px;
      border-style: solid;
      border-color: #333 transparent transparent transparent;
    }

    /* Show tooltip on hover */
.tooltip-container:hover .tooltip-text {
      visibility: visible;
      opacity: 1;
    }





table {
	font-family: arial, sans-serif;
	border: 0;
	border-collapse: collapse;
	text-align: left;
}

td, th {
	border: 0;
	text-align: left;
	white-space: nowrap;
}


.navbar {
  width: 100%;
  overflow: hidden;
  background-color: #;

}

.navbar a {
  font-family: arial, sans-serif;
  font-size: 16px;
 /* font-weight: bold;  */
  font-weight: bold;
  text-decoration: none;
  -webkit-text-decoration:none;
  color: #;
  float: left;
  margin: 0px 20px 0px 0px; 
  text-align: center;
  padding: 0px 0px;
}

.dropdown {
  float: left;
  margin: 22px 0px 0px 0px; 
  overflow: hidden;
}

.dropdown .dropbtn {
  font-family: arial, sans-serif;
  font-size: 16px;  
  font-weight: bold;
  border: none;
  outline: none;
  color: #;
  padding: 0px 0px;
  background-color: inherit;
  margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  color: #;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 120px;
  margin: 0px 0px 0px 0px; 
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}






#menu a {
	font-family: arial, sans-serif;
	font-size: 16px;
	text-decoration: none;
	-webkit-text-decoration:none;
	color: black;
}

#menu a:hover {
	color: #;
}

#signon table {
	font-family: arial, sans-serif;
	border-collapse: collapse;
}

#signon td {
	text-align: left;
	vertical-align: bottom;
}

#signon th {
	text-decoration-line: underline;
}

#signon select {
	height: 30px; 
	font-size: 16px;
	font-weight:700;
}

#racechoice table {
	font-family: arial, sans-serif;
	border: 10px solid #dddddd;
	border-collapse: collapse;
}

#racechoice td, #racechoice th {
	border: 1px solid #dddddd;
	text-align: left;
	padding: 3px;
}

#racechoice th {
	background-color: #;
	color: white;
}

#racechoice tr:nth-child(even) {
	background-color: #;
}

#racechoice tr:nth-child(odd) {
	background-color: #;
}

#resultstable table {
	font-family: arial, sans-serif;
	border: 10px solid #dddddd;
	border-collapse: collapse;
}

#resultstable td, #resultstable th {
	border: 1px solid #dddddd;
	text-align: center;
	padding: 5px;
	white-space:nowrap;
}

#resultstable th {
	background-color: #;
	color: white;
}

#resultstable tr:nth-child(even) {
	background-color: #;
}

#resultstable tr:nth-child(odd) {
	background-color: #;
}

#resultstable input[type=submit] {
	background-image: linear-gradient(to right, #, #);
	background-color: #;
	font-size: 12px;
	padding: 5px 5px;
	color: white;
	font-weight:700;
	border: 0;
	cursor: pointer;
}

#resultstable input[type=submit]:hover {
	color: black;
}

#resultsmenu input[type=submit] {
	background-image: linear-gradient(to right, #, #);
	background-color: #;
	padding: 10px 10px;
	color: white;
	border: 0;
	cursor: pointer;
}

#resultsmenu input[type=submit]:hover {
	color: black;
}

#racetable table {
	font-family: arial, sans-serif;
	border: 10px solid #dddddd;
	border-collapse: collapse;
}

#racetable td, #racetable th {
	border: 1px solid #dddddd;
	text-align: center;
	padding: 3px;
	white-space:nowrap;
}

#racetable th {
	background-color: #;
	color: white;
}

#racetable tr:nth-child(even) {
	background-color: #;
}

#racetable tr:nth-child(odd) {
	background-color: #;
}

#racekey table {
	font-family: arial, sans-serif;
	border: 0;
	border-collapse: collapse;
}

#racekey td, #racekey th {
	background-color: #;
	color: black;
	border: 0;
	font-size: 10px;
	text-align: left;
	padding: 2px;
}

#resultstable input[type=submit] {
	background-color: #;
	color: white;
	font-weight:700;
	border: 0;
	cursor: pointer;
}

#sailnumber input[type=text] {
	padding: 5px 15px;
	background-color: #;
	color: white;
	caret-color: white;
	-webkit-text-fill-color: transparent ;
}

#sailnumber {
	padding: 5px 15px;
	background-color: #;
	font-size: 20px;
	color: white;
	font-weight:700;
}

.calendar dl {
	border-collapse: collapse;
	width: 70%;
	margin: auto;
	border: 0;
}

.calendar dt {
	font-size: 20px;
	color: white;
	padding: 4px 0px;
	border-bottom: 1px solid #;
	cursor: pointer;
}

.calendar dd {
	color: #; 
	font-size: 18px;
	padding: 5px 0px;
}

.calendar span {
	background-color: #; 
	color: #ffffff;
	padding: 5px 10px;
}

#racelisttable table {
	font-family: arial, sans-serif;
	font-size: 18px;
	border: 0px solid #dddddd;
	border-collapse: collapse;
}

#racelisttable td, #racelisttable th {
	color: #;
	border: 0px solid #dddddd;
	padding: 5px;
	white-space:nowrap;
}

.highlight {
    background-color: #;
    color: white;
}


/* The Modal (this is used for displaying the random images that are added to the footer) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 10%;
  top: 3%;
  width: 80%; /* Full width */
  height: 90%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
}


/* Modal Content (image) */ 
.modal-content {
  margin: auto;
  display: block;
  width: 90%;
  max-width: 700px;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
  .modal-content {
    width: 100%;
  }
}

/* The Close Button */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* These next few styles are used for the videos on the results page */
.gallery {
  display: grid;
 /* grid-template-columns: repeat(auto-fit, minmax(150px, 250px));*/
  grid-template-columns: 150px 150px 150px 150px;
  gap: 20px;
  padding: 20px;
}
.video-container {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
video {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.video-title {
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
  color: #333;
}





