

* {
   box-sizing: border-box; 
  }
body {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 12pt;
    color: #fff;
	background: #000;
	background-image: url("images/texturednavy.jpg");
	background-repeat: repeat;

  }
  
hr {text-align: center;
	width: 60%;
	margin: auto;
	margin-top: 15;
	margin-bottom: 15;
}
  
p {margin: 1em 0;
  }
h1 {
	font-family: sans-serif; 
	margin: 0.6em 0; 
	font-size: 40pt; 
	font-weight: bold;
	color: #ff00ff;
	}
h2 {
	font-family: sans-serif; 
	margin: 0 0 0.6em 0; 
	font-size: 26pt; 
	font-weight: bold;
	line-height: 1em;
	color: #ffffff;}
	
a:link {text-decoration: none; color: #cc99cc; }    
a:visited {COLOR: #ff66ff; TEXT-DECORATION: none}
a:hover {COLOR: #0099ff; font-weight: bold; TEXT-DECORATION: underline}
a:active {color: #460497; text-decoration: none;}



small {
	font-size: 0.66em;
	margin: 6 0 3 0;
	}

img {
  font-family: sans-serif;
  font-weight: 300;
  font-size:0.75em;
  color: #999999;
  line-height: 1;  
  text-align: center;
  display: block;
  position: relative;
  max-width: 100%;
  height: auto;
  padding-top: 6;
  padding-bottom: 6;
  margin: auto;
}

img:before { 
  content: ""; 
  display: block;
  margin-bottom: 3px;
  background-image: url("images/404img.png"); width:150; height:48;
  background-repeat: no-repeat;
  margin: auto;
}

img:after { 
  content: "(url: " attr(src) ")";
  display: block;
  margin: auto;
  font-size: 12px;
}

footer img {
	max-width: 100%;
	}
#main {
    display: flex;
    min-height: calc(100vh - 40vh);
	line-height: 1.25em;
  }
#main > article {
    flex: 1;
  }
#main > nav {
    order: -1;
    border-right-style: solid;
    border-right-color: #f0f0f0;
    border-right-width: 1px;
    flex: 0 0 20vw;
	background: url("images/maintile.jpg");
	background-repeat: repeat-y;
	max-width: 150px;
  }

#main > aside {
    flex: 0 0 20vw;
    background: url("images/maintile.jpg");
	background-repeat: repeat-y;
	max-width: 150px;
	border-left-style: solid;
    border-left-color: #f0f0f0;
    border-left-width: 1px;
  }


  
article {
    padding-top: 0.5em;
	padding-bottom: 1em;
	padding-left: 15%;
	padding-right: 15%;
  }
  
nav, aside {
	padding: 1em
    }  
	
nav p {
	font-size: 0.8em;
	color: #fff;
	text-align: left;
	line-height: 1em;
	text-shadow: 1px 1px 2px black;
	font-weight: 600;
	} 
	
nav a:link {text-decoration: none; color: #fff;}    
nav a:visited {COLOR: #d3d3d3; TEXT-DECORATION: none}
nav a:hover {COLOR: #0099ff; TEXT-DECORATION: underline}
nav a:active {color: #bbbbbb; text-decoration: none;}
	
aside p {
	font-size: 0.8em;
	color: #fff;
	text-align: left;
	line-height: 1em;
	text-shadow: 1px 1px 2px black;
	font-weight: 600;
	} 
  
aside a:link {text-decoration: none; color: #fff;}    
aside a:visited {COLOR: #d3d3d3; TEXT-DECORATION: none}
aside a:hover {COLOR: #0099ff; TEXT-DECORATION: underline}
aside a:active {color: #bbbbbb; text-decoration: none;}
	
header {
    padding-top: 0.5em;
	padding-bottom: 0.5em;
	padding-left: 15vw;
    height: auto;
    border-bottom-style: solid;
    border-bottom-color: #f0f0f0;
    border-bottom-width: 1px;
  }
  
header p {
	margin: 0 0 3 0;
}
  
footer {
    height: auto;
	padding-top: 5px;
    border-top-style: solid;
    border-top-color: #f0f0f0;
    border-top-width: 1px;
  }
footer img {
	padding: 1;
}
footer p {
	font-family: 'Century Gothic', sans-serif;
	font-size:0.66em;
	color: #ea8bfd;
	text-align: center;
}

  
  
.links  {
    color: #ffffff;
	margin: 0;
    font-family: Arial, sans-serif;
    font-size: 10pt;
}

.links h2 {font-size: 2.6em; font-weight: bold; font-family: monospace; margin: 0 0 15 0;}



.fuchsia {
    color: #ffffff;
	margin: 0;
    font-family: Arial, sans-serif;
    font-size: 14pt;
	padding: 0 5%;
}


.special {
    color: #cc99cc;
}
	
.scarlet {
    color: #ffffff;
	margin: 0;
    font-family: Arial, sans-serif;
    font-size: 12pt;
	padding: 0 5%;
}
.scarlet A:link {text-decoration: none; color: #f9f9a1; }    
.scarlet A:visited {COLOR: #670703; TEXT-DECORATION: none;}
.scarlet A:hover {COLOR: #0099ff; font-weight: bold; TEXT-DECORATION: underline;}
.scarlet A:active {color: #bbbbbb; text-decoration: none;}

/*.otc {
	color: #ffaa55;
}
*/


#small {
	color: #fff;
	font-size: 8pt;
	text-align: center;
	margin: auto;
	padding: 0 5%;
}

#white {
	color: #fff;
	font-size: 12pt;
	font-family: monospace;
	padding: 0 5%;
}
#white A:link {text-decoration: none; color: #fff;}    
#white A:visited {COLOR: #ff00cc; TEXT-DECORATION: none}
#white A:hover {COLOR: #0099ff; TEXT-DECORATION: underline}
#white A:active {color: #bbbbbb; text-decoration: none;}

div.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 20;
}


/* ****** MOBILE ****** */
@media only screen and (max-width: 600px) {
body, header, footer, article {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	padding-left: 2%;
	padding-right: 2%;
}
h1 {font-size: 10vw;}
h2 {font-size: 5.5vw;}

img {
max-width: 90%;
height: auto;
margin: auto;
}