/* Program Name: styleBox.css
   Purpose: Responsive style sheet for iframe test (testing grid layout)
   Original written by: Joe Bolan
   Last update: 3-5-24 (not showing content boxes)
*/

/* for screens less than 400 px */
* {
	/* box-sizing: border-box; */
	font-size: 12px
}

body {
	font:1.0em verdana, arial, sans-serif; 
	margin: 0 auto
} 

#wrapper {
    display: grid;
    grid-template-columns: 25% 75%;
    grid-template-rows: auto auto auto auto auto;
	background-color: #F8D150;
}


header {
	grid-row: 1 / 2;
	grid-column: 1 / 3;
}

nav {
	grid-row: 2 / 3;
	grid-column: 1 / 3;
	padding-left: 0px; 
	display: flex; 
	flex-flow: row wrap; 
	justify-content: space-evenly;
	/*align-items: baseline;*/
	align-content: space-between;
	width:100%; 
	/*clear:both; */
	background: url(sitepix/menu1.png); 
	border-top: 3px solid #000000; 
	border-bottom: 3px solid #000000
}

nav a {
	width:90px; 
	float:left; 
	display:block; 
	text-align:center; 
	color:#ffffff; 
	background-color:#0000bb; 
	font-weight:bold; 
	float:left; 
	display:block; 
	padding:5px; 
	margin:8px; 
	border-radius:10px; 
	border-top:4px solid #dddddd; 
	border-right:4px solid #dddddd; 
	border-bottom:4px solid #aaaaaa; 
	border-left:4px solid #aaaaaa
}

nav a:hover {
	background: radial-gradient(circle, #fdff00, #ffffff); 
	color:#0000bb; 
	background-color:#ffffff; 
	border:4px solid #ff0000
}

/* Dropdown Button */
.dropbtn {
	width:140px; 
	float:left; 
	display:block; 
	text-align:center; 
	color:#ffffff; 
	background-color:#0000bb; 
	font-weight:bold; 
	float:left; 
	display:block; 
	padding:5px; 
	margin:8px; 
	border-radius:10px; 
	border-top:4px solid #dddddd; 
	border-right:4px solid #dddddd; 
	border-bottom:4px solid #aaaaaa; 
	border-left:4px solid #aaaaaa
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 120px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: white;
  padding: 6px 6px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
	background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
	display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
	background-color: #3e8e41;
}

/* for Read More/Read Less Buttons */
#more {
	display: none;
}

.bannerhead {
	display: block;
	background: url(sitepix/header.png);
	background-color: #ff0000;
	width: 100%;
	height: 125px;
}

.flag {
	float: left;
	width: 95px;
	margin-left:5px;
}

.banner {
	margin: 0 5px 0px 5px;
}

.jersey {
	float: right;
	width: 115px;
	margin-right: 5px;
}

.photorow {
	height: 200px; 
	width:100%; 
	background:#000000; 
	overflow-x:hidden; 
	overflow-y:hidden; 
	white-space: nowrap; 
	display: inline-block;
}

.welcome {
	grid-row: 3 / 4;
	grid-column: 1 / 3;
	text-align: center;
}


aside {
	grid-row: 4 / 5;
	grid-column: 1 / 2;
}


.frame {
	grid-row: 4 / 5;
	grid-column: 2 / 3;
	padding-left: 2px; 
	background-color: #F8D150;
	/*background: url(sitepix/menu1.png); */
	/*border-top: 3px solid #000000; 
	border-bottom: 3px solid #000000 */
}

.vert button {
	width:90px; 
	display: block;
	text-align:center; 
	color:#ffffff; 
	background-color:#0000bb; 
	font-weight:bold; 
	padding:5px; 
	margin:8px; 
	border-radius:10px; 
	border-top:4px solid #dddddd; 
	border-right:4px solid #dddddd; 
	border-bottom:4px solid #aaaaaa; 
	border-left:4px solid #aaaaaa
}

.leftside {
	grid-row: 5 / 6;
	grid-column: 1 / 3;
}

.news {
	grid-row: 6 / 7;
	grid-column: 1 / 3;
	text-align: center;
}

.news img {
	width: 200px;
}

.sponsors {
	grid-row: 7 / 8;
	grid-column: 1 / 3;
	background-color:#ffffff; 
	border: 0px solid #000088; 
	margin-left: 5px; 
	margin-right: 2px; 
	margin-bottom:10px; 
	padding-top:5px; 
	padding-left:5px; 
	padding-right:5px; 
	text-align:center
}

.sponsors img {
	height: 30px; 
	padding: 5px;
	float: left; 
	display: flex; 
	flex-direction: column;  
}

footer {
	grid-row: 8 / 9;
	grid-column: 1 / 3;
	width:100%; 
	background:url(sitepix/footer.jpg); 
	border-top: solid #000011 2px; 
	border-bottom: solid #000011 2px; 
	text-align:center; 
	font-size:0.6em; 
	font-weight:bolder; 
	color:#ffffff; 
	clear:both
}

footer a {
	text-decoration: none; 
	color:#ffffff
}

footer a:hover {
	background:#ffff00; 
	color:#0000ff

}

h1 {
	font: 2em times new roman; 
	color: #ffffff; 
	font-weight: bolder; 
	text-shadow: 1px 0px 0px rgba(0,0,0,1.0), 0px 1px 0px rgba(0,0,0,1.0), -1px 0px 0px rgba(0,0,0,1.0), 0px -1px 0px rgba(0,0,0,1.0)
}

h2 {
	font-size: 1.4em; 
	font-weight: bolder; 
	color: #0000bb; 
	font-style: italic; 
	text-align: center
}

h3 {
	font-size: 1.2em; 
	font-weight: bolder; 
	color: #0000bb; 
	font-style: italic; 
	text-align:center
}

h5 {
	font-size: 0.6em; 
	font-style: italic
}

.gold {
	background-color: #eed90c;
	display: flex; 
	flex-wrap: wrap;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.silver {
	background-color: #e9e7df;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.bronze {
	background-color: #eeb80c;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}

.inkind {
	background-color: #daf7a6;
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	align-items: center;
	justify-content: center;
}


.gold img {
	height: 35px;
	padding: 6px;
}
.silver img {
	height: 30px;
	padding: 5px;
}

.bronze img {
	height: 25px;
	padding: 4px;
}

.inkind img {
	height: 25px;
	padding: 4px;
}

.boxes {
	text-align: center;
}

.boxes a {
	text-decoration: underline; 
	color:#ff0000
}

.boxes a:hover {
	background:#ff0000; 
	color:#ffffff
}

.boxes img {
	border: 0px solid #000000; 
	padding-top:10px; 
	padding-bottom: 10px
}









@media only screen and (min-width: 850px) {
	/* Larger than phones: */
	
	* {
		font-size: 14px
	}
	
	#wrapper {
		display: grid;
		grid-template-columns: 10% 28% 62%;
		grid-template-rows: auto auto auto auto;
	}

	header {
		grid-row: 1 / 2;
		grid-column: 1 / 4;
	}

	nav {
		grid-row: 2 / 3;
		grid-column: 1 / 4;
		padding-left:0px; 
		display:flex; 
		flex-direction: row; 
		flex-wrap: wrap; 
		width:100%; 
		clear:both; 
		background:url(sitepix/menu1.png); 
		border-top:3px solid #000000; 
		border-bottom:3px solid #000000
	}

	nav a {
		width:100px; 
		float:left; 
		display:block; 
		text-align:center; 
		color:#ffffff; 
		background-color:#0000bb; 
		font-weight:bold; 
		float:left; 
		display:block; 
		padding:5px; 
		margin:8px; 
		border-radius:10px; 
		border-top:4px solid #dddddd; 
		border-right:4px solid #dddddd; 
		border-bottom:4px solid #aaaaaa; 
		border-left:4px solid #aaaaaa
	}

	nav a:hover {
		background: radial-gradient(circle, #fdff00, #ffffff); 
		color:#0000bb; 
		background-color:#ffffff; 
		border:4px solid #ff0000
	}

	.bannerhead {
		display: block;
		background: url(sitepix/header.png);
		background-color: #ff0000;
		width: 100%;
		height: 145px;
	}
	
	.flag {
		float: left;
		width: 110px;
		margin-left:5px;
	}

	.banner {
		margin: 0 5px 0px 5px;
	}

	.jersey {
		float: right;
		width: 135px;
		margin-right: 5px;
	}

	.photorow {
		height: 250px; 
		width:100%; 
		background:#000000; 
		overflow-x:hidden; 
		overflow-y:hidden; 
		white-space: nowrap; 
		display: inline-block;
	}

	.welcome {
		grid-row: 3 / 4;
		grid-column: 1 / 4;
	}


	aside {
		grid-row: 4 / 5;
		grid-column: 1 / 2;
	}

	.vert button {
		width: 120px; 
	}

	.frame {
		grid-row: 4 / 5;
		grid-column: 2 / 3;
		padding-left: 8px; 
		/*background: url(sitepix/menu1.png); */
		background-color: #F8D150;
		/*border-top: 3px solid #000000; 
		border-bottom: 3px solid #000000 */
	}

	.leftside {
		grid-row: 4 / 5;
		grid-column: 3 / 4;
		border-left: 3px red solid;
		padding: 0.5em;
	}

	.news {
		grid-row: 5 / 6;
		grid-column: 1 / 4;
	}
	
	.news img {
		width: 400px;
	}

	.sponsors {
		grid-row: 6 / 7;
		grid-column: 1 / 4;
		background-color:#ffffff; 
		margin-left: 10px; 
		margin-right: 4px; 
		margin-bottom:20px; 
		padding-top:10px; 
		padding-left:10px; 
		padding-right:10px; 
		text-align:center;
	}

	.sponsors img {
		height:45px; 
		padding: 8px;
		float: left; 
		display: flex; 
		flex-direction: column;  
	}

	footer {
		grid-row: 7 / 8;
		grid-column: 1 / 4;
	}

	h1 {
		font: 2.3em times new roman; 
		color: #ffffff; 
		font-weight: bolder; 
		text-shadow: 1px 0px 0px rgba(0,0,0,1.0), 0px 1px 0px rgba(0,0,0,1.0), -1px 0px 0px rgba(0,0,0,1.0), 0px -1px 0px rgba(0,0,0,1.0)
	}

	h2 {
		font-size: 1.4em; 
		font-weight: bolder; 
		color: #0000bb; 
		font-style: italic; 
		text-align: center
	}

	h3 {
		font-size: 1.2em; 
		font-weight: bolder; 
		color: #0000bb; 
		font-style: italic; 
		text-align:center
	}

	h5 {
		font-size: 0.6em; 
		font-style: italic
	}

	.gold img {
		height: 50px;
		padding: 8px;
	}
	.silver img {
		height: 45px;
		padding: 8px;
	}

	.bronze img {
		height: 40px;
		padding: 7px;
	}

	.inkind img {
		height: 40px;
		padding: 7px;
	}
	
	



