/* Program Name: style8.css
   Purpose: Style sheet for grid-layout SIW website pages
   Original written by: Joe Bolan
   Last update: 1-27-24 (re-adjust text color)
*/


html{
  min-height: 100%;
  font-size: 12pt;
}

*{
  box-sizing: border-box;
}


#wrapper {
}

body{
	color:#000099; 
	/*background:url(sitepix/margin.jpg); 
	background-attachment:fixed; 
	background-color:#000088; */
	background-color: #F8D150;
	margin-left:auto; 
	margin-right:auto; 
	margin-top:0; 
	width:100%;
	font-weight: bold
}

header{
	height:200px; 
	width:100%; 
	margin-left:auto; 
	margin-right:auto; 
	width:100%; 
	padding-left:20px; 
	padding-right:20px; 
	background:url(sitepix/pghdr.jpg); 
	background-size: 100%; 
	text-align:left; 
	font-size:3.0em; 
	font-weight:bold; 
	color:#ffffff; 
	border-bottom: solid #000000 2px; 
	border-left: solid #000000 0px; 
	border-right: solid #000000 0px 
}

header img {
	width:150px; 
	height:150px; 
	border: 0px; 
	margin-right: 20px; 
	margin-top:20px
}

header a { 
	font-size:0.6em; 
	font-weight:bold; 
	font-style:italic; 
	text-shadow: 1px 0px 0px rgba(153,51,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);
}

header a:link { 
	color: #ffffff 
}

header a:visited { 
	color: #ffffff 
}

header a:active { 
	color: #ffffff 
}

header a:hover { 
	color: #ff0000; 
	background: transparent; 
	text-shadow: 1px 0px 0px rgba(255,255,255,1.0), 0px 1px 0px rgba(255,255,255,1.0), -1px 0px 0px rgba(255,255,255,1.0), 0px -1px 0px rgba(255,255,255,1.0); 
}


h1 { 
	font-size:3.0em; 
	font-weight:bold; 
	color:#ff0000;
	text-align: center
}

h2 { 
	font-size:1.6em; 
	font-weight:bolder; 
	font-style:italic; 
	color: #000000; 
	text-align:center 
}

h3 { 
	font-size:1.2em; 
	font-weight:bolder; 
	font-style:normal; 
	color: #000000; 
	text-align:left
}

h4 {
	font-size:1.4em; 
	font-weight:bolder; 
	font-style:italic; 
	color: #ffffff; 
	text-align:center 
}	

h5 { 
	font-size:0.6em; 
	font-style:italic
}

h6 {
	font-size: 1em;
	font-weight: bold
}

p {
	font-size: 1.2em;
	font-weight: bold;
	text-align: left;
}

li {
	font-size: 1.2em;
	font-style: italic;
	font-weight: bold;
	text-align: left;
}

hr { 
	color: #0000cd; 
}

nav {
	border-bottom: solid #000000 2px; 
	padding-left:10px; 
	display:flex; 
	flex-direction: row; 
	flex-wrap: wrap;
	justify-content: space-evenly;
	/*align-items: baseline;*/
	align-content: space-between;	
	width:100%; 
	/*clear:both; */
	background:url(sitepix/menu1.png)
}

nav a {
	width:120px; 
	float:left; 
	display:block; 
	text-align:center; 
	color: #0000bb;
	background-color:#eeeeee; 
	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:#ff0000; 
	background-color:#ffffff; 
	border:4px solid #dd0000

}

.pagehead {
  padding: 2em;
}

.leftcol{
  padding: 0.5em;
  text-align: center;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.midcol{
  padding: 0.5em;
}

.rightcol{
  padding: 0.5em;
  text-align: center;
}

.pagefoot {
  padding: 2em;
}


@media only all and (min-width: 750px){
  html{
    font-size: 13pt;
  }

  #wrapper {
    display: grid;
    grid-template-columns: 33% 33% 33%;
    grid-template-rows: auto auto auto auto auto;
  }

  header{
    grid-row: 1 / 2;
    grid-column: 1 / 4;
    }

  nav{
    grid-row: 2 / 3;
    grid-column: 1 / 4;
  }

  .pagehead {
	grid-row: 3 / 4;
	grid-column: 1 / 4;
  }

  .leftcol {
    grid-row: 4 / 5;
    grid-column: 1 / 2;
    border-right: 3px red solid;
    padding: 0.5em;
  }

  .midcol{
    grid-row: 4 / 5;
    grid-column: 2 / 3;
    padding: 0.5em;
  }

  .rightcol{
    grid-row: 4 / 5;
    grid-column: 3 / 4;
    border-left: 3px red solid;
    padding: 0.5em;
  }
  
  .pagefoot {
	grid-row: 5 / 6;
	grid-column: 1 / 4;
  }
}

@media only all and (min-width: 1000px){
  html{
    font-size: 14pt;
  }
}
