

* {
   box-sizing: border-box; 
  }
body {
    margin: 0;
    font-family: Arial, sans-serif;
    font-size: 12pt;
	background: #000;
		background-image: url("../images/mkg_cornerstone_1.jpg");
	background-repeat: repeat;
	color: #000;
  }
  
hr {text-align: center;
	width: 60%;
	margin: auto;
	margin-top: 15;
	margin-bottom: 15;
}
  
p {margin: 6px 0 12px 0;
  }
h1 {
	font-family: sans-serif; 
	margin: 0.6em 0; 
	font-size: 30pt; 
	line-height: 1em;
	font-weight: bold;
	color: #222222;
	}
h2 {
	font-size: 24pt;
	padding-top: 6pt;
	font-family: sans-serif; 
	margin: 0 0 0.6em 0; 
	font-weight: bold;
	line-height: 1em;
	color: #3300cc;}
	
h3 {font-size: 20pt;
	color: #3300cc;
	}
	
a:link {text-decoration: none; color: #292065; font-weight: 600;}    
a:visited {COLOR: #575757; TEXT-DECORATION: none}
a:hover {COLOR: #0099ff; font-weight: bold; TEXT-DECORATION: underline}
a:active {color: #200081; 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;
	width: 96%;
	margin: auto;
	border-top-style: solid;
    border-top-color: #f0f0f0;
    border-top-width: 2px;
	border-bottom-style: solid;
    border-bottom-color: #f0f0f0;
    border-bottom-width: 2px;
  }
#main > article {
    flex: 1;
  }
#main > nav {
    order: -1;
    border-right-style: solid;
    border-right-color: #f0f0f0;
    border-right-width: 2px;
    flex: 0 0 20vw;
	background: url("../images/soltile.jpg");
	background-repeat: repeat-y;
	background-color: rgba(47,41,137, 0.8);
	max-width: 150px;
  }

#main > aside {
    flex: 0 0 20vw;
    background: url("../images/soltile.jpg");
	background-repeat: repeat-y;
	max-width: 150px;
	background-color: rgba(47,41,137, 0.8);
	border-left-style: solid;
    border-left-color: #f0f0f0;
    border-left-width: 2px;
  }


  
article {
    padding-top: 0.5em;
	padding-bottom: 1em;
	max-width: 600px; 
	padding-left: 20px;
	padding-right: 20px;
  }
  
nav, aside {
	padding: 1em
    }  
	
nav p {
	font-size: 0.8em;
	color: #fff;
	text-align: left;
	line-height: 1em;
	text-shadow: 2px 2px 2px black;
	font-weight: 400;
	} 
	
nav a:link {text-decoration: none; color: #fff;}    
nav a:visited {COLOR: #a3acff; 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: 2px 2px 2px black;
	font-weight: 400;
	} 
  
aside a:link {text-decoration: none; color: #fff;}    
aside a:visited {COLOR: #a3acff; TEXT-DECORATION: none}
aside a:hover {COLOR: #0099ff; TEXT-DECORATION: underline}
aside a:active {color: #bbbbbb; text-decoration: none;}
	
header {
	background: url('../images/mkg_cornerstone_3.jpg'); 
	background-position: top left; 
	background-repeat: no-repeat; 
	overflow: hidden;
    height: 100px;
	padding-left: 200px;
	padding-top: 2px;
    padding-bottom: 6px;
	margin-right: 20px;
  }
  
header p {
	padding: 2px;
}
  
footer {
    height: auto;
	padding-top: 5px;
  }
footer img {
	padding: 1;
}
footer p {
	font-family: 'Century Gothic', sans-serif;
	font-size:0.66em;
	color: #444444;
	text-align: center;
}



div.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 20;
}


/* ****** MOBILE ****** */
@media only screen and (max-width: 600px) {
body, footer, article {
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	padding-left: 2%;
	padding-right: 2%;
}

header {padding-left: 15px;
		padding-top: 5px;
		padding-right: 10px;
		padding-bottom: 2px;}

header p {text-align: right;}

img {
max-width: 90%;
height: auto;
margin: auto;
}