:root {
	--headerBG: #8eee8e;
	--dropdownMenuBG: #779974;
	--bodyBG: #0d5e02;
	--tableBG: lightgoldenrodyellow;
	--footerBG: #000;
	--formAreaBG: darkgrey;
}

body {
	font-family: 'Comic Sans MS', 'Comic Neue', cursive !important;
	font-size: 16px !important;
	background: url('images/grass.jpg'); 		/* var(--bodyBG); */
	background-size: cover;
}

#header {
	background: var(--headerBG);
	text-align: center;
	padding-top: 5px;

	position: fixed;
	width: 100vw;
	margin: 0;
	top: 0;
	z-index: 9999;
}

h2 {
	color: maroon;
	text-align: center;
}

/* Force submenu items to stay on one line */
.dropdown-item {
	white-space: nowrap;
}

hr {
	margin-top: 8px !important;
	margin-bottom: 8px !important;
}

.error {
	font-size: 18px;
	font-weight: bold;
	color: red;
	margin-bottom: 12px;
}

#datepicker {
	width: 190px;
}

.add {
	width: 55px;
	float: right;
	margin-top: -41px;
}

.pushright {
	margin-left: 100px;
}


.madepts input[type=text]{
	width: 50px;
}

td {
	vertical-align: top;
}

.line2 {
	margin-top: 12px;
}

.newLine {
	display: block;
	margin-left: 20px;
}

.form-control {
	border: 1px solid #545555;
}
	
.center {
	margin: 0 auto;
	width: fit-content;
}

table.narrow {
	width: auto;
	min-width: 90%;  

/*
	width: 99%;
	max-width: 99%;
	--bs-gutter-x: 0 !important;
*/
}

table.narrow th:first-child,
table.narrow td:first-child {
    padding-left: 5px;
}

table.narrow th:last-child,
table.narrow td:last-child {
    padding-right: 5px;
}

@media all and (min-width: 320px) {
	#siteTitle {
	  font-family: 'Comic Sans MS', 'Comic Neue', cursive;
	  font-size: 18px;
	  font-weight: bold;
	  color: Maroon;
	  margin-top: 20px;
	  margin-bottom: 10px;
	  margin-left: 20px;
	  text-align: left;
	}	

	#loginout {
	  float: right;
	  margin-top: -50px;
	  margin-right: 25px;
	}
	
	.homebackground {
		height: 80vh;
		background: url(stanne-background.jpg) no-repeat;
		background-size: cover;
	}
	
	.nav-link {
		color: #fff;
	}
	
	.nav-link:hover {
		color: var(--headerBG);
	}
	
	.container-fluid {
		position: relative;
		margin-top: 130px;		
		margin-bottom: 25px;
	}
	
	.inner-container {
		width: 95%;
		background: #fff;
		padding-top: 30px;
		padding-bottom: 30px;
		min-height: calc(100vh - 136px - 50px);		/* subtract header and footer height */
	}
	
	.formContainer {
		width: fit-content;
		margin: 0 auto;
	}
	
	.updateForm {
		background: var(--formAreaBG);
		margin-top: 20px;
		padding: 10px;
	}
	
	.updateForm input[type="submit"], .updateFormWide input[type="submit"] {
		margin-top: 25px;
		margin-bottom: 25px;
	}

	
	img.p {
		margin-top: 2px;
	}

	
	table {
		background: var(--tableBG);
		width: 90%;
		margin: 0 auto;
	}  
	
	.scrollTable {
		padding-bottom: 25px;
		font-size: 0.9em;
	}
	
	tr {
		border: 1px solid darkgreen;
	}
		
	#footer {
		background: var(--footerBG);
		height: 50px;
		color: #fff;
	}
	


	label {	
		display: inline-block;
		max-width: 100%;
		margin-bottom: 5px;
		font-weight: 700;
		margin-right: 12px;
		margin-top: 4px;
	}
	
	label.textArea {
		vertical-align: top;
	}

	textarea {
		width: 100%;
	}
	
	.Rainout {
		color: red;
		font-size: 1.8em;
	}

	.RainoutSmall {
		color: red;
		font-size: 1em;
	}

	.RainoutXSmall {
		color: red;
		font-size: .8em;
	}

	.sheaDiv {
		background-color: #d2ffbf;
	}
	.slepDiv {
		background-color: #ffbfbf;
	}


	.hideme {
		display: none;
	}

	.small-screen {
		display: block;
	}
	
	.large-screen {
		display: none;
	}

	.flex-container {
		display: -webkit-flex;
		display: flex;
		width: 100%;
		height: 250px;
		background-color: green;
	}

	.flex-item {
		background-color: cornflowerblue;
		width: 100px;
		height: 100px;
		margin: 10px;
	}

		

	.flex-row {
	  width: 100%;
	  display: flex;
	  flex-flow: row wrap;
	}

	.flex-col {
		width: 100%;
		display: flex;
	}

	.break {
		width: 0px;
		height: 0px;
		overflow: hidden;
	}
	
	.edit-score {
		width: 100px;
		margin-left: 3px;
	}
	
	.schedCol1 {
		width: 20%;
		margin-left: 3px;
	}

	.schedCol1-edit {
		width: 10%;
		margin-left: 3px;
	}
	
	.weekNbr {
		font-weight: bold;	
	}

	.schedCol2 {
		width: 45%;
		display: flex;
	}
	
	.schedCol2-edit {
		width: 28%;
		display: flex;
	}
	
	.schedDate {
		width: 62%;
		font-weight: bold;
	}

	.frontback {
		width: 35%;
		font-weight: bold;
	}
	
	.schedCol3 {
		width: 10%;
	}
	.schedCol4 {
		width: 12%;

	}
	.schedCol5 {
		width: 10%;

	}
	
	.schedCol6 {
		width: 20%;
		margin-left: 3px;
	}

	.schedCol6-edit {
		width: 10%;
		margin-left: 3px;
	}
	
	.schedCol7 {
		width: 45%;
		display: flex;
	}

	.schedCol7-edit {
		width: 30%;
		display: flex;
	}
	.schedCol8 {
		width: 10%;

	}
	.schedCol9 {
		width: 12%;

	}
	.schedCol10 {
		width: 10%;

	}

	.filters {
		margin: 20px 0 0 20px;
		display: inline-flex;
	}

	.fit-c {
		min-width: 33px;
	}
	
	#imagesSection {
		display: flex;
		flex-wrap: wrap;
	}

	#uploadImages,
	#showImages {
		width: 100%;
	}

	#uploadImages {
		float: left;
		max-height: 325px;
		margin: 0 auto;
		margin-right: 40px;
		padding: 8px;
		margin-top: 30px;
		margin-bottom: 40px;
		background: #fff;
		border: 1px solid darkgrey;
	}

	#uploadImages .btn-success {
		margin-top: 20px;
	}
	
	#showImages {
		margin: 0 auto;
	}
	
	#imagesTable {
		background: #fff;
		padding: 8px;
		width: 80%;
	}	
	
	#imagesSection {
		display: flex;		
	}
	
	
	
}

@media only screen and (min-width: 600px) {

	
}


@media only screen and (min-width: 768px) {
	#siteTitle {
	  font-size: 30px;
	  margin-top: 20px;
	  margin-bottom: 10px;
  	  margin-left: 0;
	  text-align: center;
	}	

	.scrollTable {
		padding-bottom: 25px;
		font-size: 1em;
	}
	
	
}


@media (min-width: 992px) {
	
	.navbar .dropdown:hover .dropdown-menu {
		display: block;
		margin-top: 0;
	}
	
	.navbar .dropdown-menu {
		background: var(--dropdownMenuBG);
	}
	
	.small-screen {
		display: none;
	}
	
	.large-screen {
		display: block;
	}

	.flex-container {
		display: -webkit-flex;
		display: flex;
		width: 400px;
		height: 250px;
		background-color: green;
	}

	.flex-item {
		background-color: cornflowerblue;
		width: 100px;
		height: 100px;
		margin: 10px;
	}

		

	.flex-row {
	}

	.flex-col {
		width: 50%;
	}

	.flex-col60 {
		display: flex;
		width: 65%;
	}


	.schedCol1 {
		width: 20%;
		margin-left: 10px;
	}

	.weekNbr {
		font-weight: bold;	
	}

	.schedCol2 {
		width: 50%;
		display: flex;
	}

	.schedDate, .frontback {
		width: 48%;
		font-weight: bold;
	}

	.schedCol3 {
		width: 8%;
	}
	.schedCol4 {
		width: 10%;

	}
	.schedCol5 {
		width: 8%;

	}
	.schedCol6 {
		width: 20%;

	}
	.schedCol7 {
		width: 50%;
		display: flex;
	}
	.schedCol8 {
		width: 8%;

	}
	.schedCol9 {
		width: 10%;

	}
	.schedCol10 {
		width: 8%;

	}

	.filters {
		margin: 20px 0 0 20px;
		display: inline-flex;
	}
	
	#uploadImages,
	#showImages {
		width: 45%;
	}
		
	
}

@media print {
	.printTable {
		width: 100%;
	}

	.printCol50 {
		width: 50%;
	}
	
	h2 {
		margin-top: 8px !important;
		margin-bottom: 5px !important;
	}
	
	#loginout {
		display: none;
	}
	
	.container-fluid,
	#scheduletable {
		height: auto;
	}
	
	.filters { display: none;}
	
}

.container .gallery a img {
  float: left;
  width: 20%;
  height: auto;
  border: 2px solid #fff;
  -webkit-transition: -webkit-transform .15s ease;
  -moz-transition: -moz-transform .15s ease;
  -o-transition: -o-transform .15s ease;
  -ms-transition: -ms-transform .15s ease;
  transition: transform .15s ease;
  position: relative;
}

.container .gallery a:hover img {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -o-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
  z-index: 5;
}

.clear {
  clear: both;
  float: none;
  width: 100%;
}

.red {
	color: red;
}


.ms-auto {
	margin-left: 30px !important;
}


.marquee {
	max-width: 99vw;
	display: inline-block;
	background: transparent;
	white-space: nowrap;
	animation: floatText 20s infinite linear;
	padding-left: 100%; 	/* Initial offset, which places the text off-screen */
}

.marqueeMsg {
	display: inline-block;
	width: fit-content;
	background: #fff;
	opacity: 0.7;
	padding: 8px;
}

@keyframes floatText {
  to {
    transform: translateX(-100%);
  }
}

.marquee:hover {
	animation-play-state: paused;
}

