/* 
   Murfreesboro Regional Soccer League style sheet 
   Filename: styles.css

   Author:   Nate Schueller	
   Date:     5 June 2020
   HTML5 and CSS3 Illustrated Unit H, Independent Challenge 2
 */

/* reset styles */
html {
   font-size: 14px;
}
article, aside, body, div, footer, header, h1, h2, h3, img, nav, p, ul, li {
   border: 0;
   padding: 0;
   margin: 0;
}
img {
   max-width: 100%;
   height: auto;
   width: auto;
}
ul {
	list-style-type:none;
}

/* body and page container */
body {
   background: green;
   background: url("images/grass.jpg");
   font-family: Arial, Helvetica, sans-serif;
}
.container {
   margin: 0 auto;
   background-color: #c8f098;
}
p {
   font-size: 1.2em;
}

/* skip navigation link */
p.skipnavigation a {
   position: absolute;
   left: -10000px;
}
p.skipnavigation a:focus {
   left: 1em;
   top: 1em;
   color: black;
   background: ivory;
   z-index: 2;
}

/* header section */
header {
   padding: 1em 2% 0.5em;
   text-align: center;
   background-color: rgb(140,198,63);
}
h1 {
   font-size: 2.4em;
   line-height: 1.4em;
   font-family: Arial, Helvetica, sans-serif;
   font-weight: bold;
   text-shadow: 0 0 5px white;
}


/* site navigation */


/* main content */
article {
   padding: 1em 3%;
   background-color: white;
}
article h2 {
   margin: 0 0 0.4em;
   font-family: Georgia, "Times New Roman", Times, serif;
   font-size: 1.6em;
}
article dt {
   margin: 0 0 0.6em;
   font-family: Georgia, "Times New Roman", Times, serif;
   font-size: 1.2em;
}
article dd {
   margin: 0 0 1em 1em;
   padding-left: 7%;
}
/*main content table*/
table{
	width:90%;
	margin:0 auto;
	border-collapse:collapse;
}

th, td{
	border: 1px solid black;
	padding: 0.5em;
}
th{
	background:#ddd;
}
.red-team-schedule{
	border:5px solid red;
}
.red-team-schedule th{
	border:5px solid red;
}
.blue-team-schedule{
	border:5px solid blue;
}
.blue-team-schedule th{
	border:5px solid blue;
}
.green-team-schedule{
	border:5px solid green;
}
.green-team-schedule th{
	border:5px solid green;
}
.yellow-team-schedule{
	border:5px solid yellow;
}
.yellow-team-schedule th{
	border:5px solid yellow;
}

/*main content unordered list */
article ul{
	margin: 0 0 1em 3em;
	padding-left: 7%;
	list-style-type:disc;
	font-size:1.2em;
}

/* footer section */
footer {
   padding: 0.5em;
   clear: both;
   color: white;
   background-color: black;
   text-align: right;
}

/* print styles */
@media print {
   article {
      position: static;
      margin: 0 auto;
   }
   aside, body, .container, footer, header {
      color: #000;
      background: #fff;
   }
   body {
      max-width: 100%;
   }
   nav {
      display: none;
   }
}
@page {
   margin: 0.75in;
}