html, body, h4 {
	margin:0px;
	padding:0px;
}
body {
    font-family: Calibri, sans-serif;
    background-color: #f5f5f5;
    text-align: center;
}
h4 {
	color: #060;
	text-transform: uppercase;
	font-size:18px;
}
.medal {
	font-weight:bold;
	border: solid 1px gray;
	border-collapse: collapse;
	margin-left: auto;
	margin-right: auto;
}
.sched{
	width:70%;
	margin-left: auto;
	margin-right: auto;
}
.sched iframe{
	margin-left: auto;
	margin-right: auto;
}
.foot-sign{
	margin-top:50px;

}
.foot-sign section{
	text-align:left !important;
	padding-bottom: 10px;
}

.foot-sign div{
	float:left;
	width:33%;
	text-align:center;
}
.navi td {
	padding: 2px 10px;
	border: 1px solid #ccc;
}

/*.sticky {
  position: sticky;
  top: 0;
}
.sticky1 {
  position: sticky;
  margin-top: 10px;
}*/

.tbl-evt tr td, .medal tr td{
	padding: 5px;
	width: 150px;
}

.medal-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
	//margin: 20px auto;
}
.sub-btn, .btn-print {
	width: 150px;
	padding: 5px;
	float: left;
	margin-top: 10px;
	background: #006500;
	border: solid 1px #ccc;
	border-radius: 5px;
	font-weight: bold;
	color:#fff;
	font-size: 14px;
}
.evt {
	height:30px;
	font-size:12px;
}

.medal-table th {
    background-color: #181484; /* Dark Greenish Gold */
    color: white;
    font-weight: bold;
}

th[colspan="3"] {
    background-color: #060; /* Green for school headers */
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

.total-row {
    background-color: #FFD7007D; /* Gold background for the total row */
    font-weight: bold;
}

.medal-table td:nth-child(3n+3), .gold-cell { /* Gold Medal Column */
    background-color: #FFD7007D;
    font-weight: bold;
}

.medal-table td:nth-child(3n+4), .silver-cell { /* Silver Medal Column */
    background-color: #C0C0C05E;
    font-weight: bold;
}

.medal-table td:nth-child(3n+5), .bronze-cell { /* Bronze Medal Column */
    background-color: #CD7F32B5;
    font-weight: bold;
}

a {
    color: green;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}


/* Total Row Background */
.total-row {
    background-color: #222; /* Keep the dark background */
    font-weight: bold;
    color: white; /* Keep white text for contrast */
}

/* Remove background colors from the total row cells */
.total-row td {
    background-color: transparent !important; /* Remove all colors */
    color: rgb(0, 0, 0); /* Keep text white for visibility */
}


/* Total Medals Row */
.total-row {
    background-color: #ffffff; /* Dark background */
    font-weight: bold;
    color: white; /* Default text color */
}

/* Gold Medal Font Color */
.total-row td:nth-child(3n+2) {
    color: #FFD700; /* Gold */
}

/* Silver Medal Font Color */
.total-row td:nth-child(3n+3) {
    color: #C0C0C0; /* Silver */
}

/* Bronze Medal Font Color */
.total-row td:nth-child(3n+4) {
    color: #CD7F32; /* Bronze */
}

@media print {
	.foot-sign {
		visibility: visible;
	}
	.noprint {
	  visibility: hidden;
	}
	  @page {
    size: landscape;
    margin: 1in; /* Allow space for headers/footers */
  }
	.sticky {
	position: sticky;
	top: 0;
	}
	.sticky1 {
	position: sticky;
	margin-top: 10px;
	}

  body {
    -webkit-print-color-adjust: exact !important; /* For Safari/Chrome */
    print-color-adjust: exact !important;         /* For Firefox */
    background-color: #fff; /* Optional: ensure white background */
  }
}

.foot-sign {
	visibility: hidden;
}







