a:link {color:yellow;}    /* unvisited link */
a:visited {color:yellow;} /* visited link */
a:hover {color:cyan;}   /* mouse over link */
a:active {color:cyan;}  /* selected link */
html
{
	background: url(../images/background.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.h3d{
font-family: Garamond, sans-serif;
line-height: 1em;
color: white;
font-weight:bold;
font-size: 24px;
/*text-shadow:0px 0px 0 rgb(231,231,231),1px 1px 0 rgb(216,216,216),2px 2px 0 rgb(202,202,202),3px 3px 0 rgb(187,187,187),4px 4px 0 rgb(173,173,173),5px 5px 0 rgb(158,158,158), 6px 6px 0 rgb(144,144,144),7px 7px 6px rgba(0,0,0,0.6),7px 7px 1px rgba(0,0,0,0.5),0px 0px 6px rgba(0,0,0,.2);*/
padding:8px;
/*padding-bottom: 15px;*/
background: black;
}

.hh3d{
font-family: Verdana, sans-serif;
line-height: 1em;
color: white;
font-size: 20px;
/*text-shadow:0px 0px 0 rgb(230,230,230),1px 1px 0 rgb(215,215,215),2px 2px 0 rgb(199,199,199),3px 3px 0 rgb(184,184,184), 4px 4px 0 rgb(169,169,169),5px 5px 4px rgba(0,0,0,0.3),5px 5px 1px rgba(0,0,0,0.5),0px 0px 4px rgba(0,0,0,.2);
 0 rgb(193,193,193),6px 6px 0 rgb(184,184,184), 7px 7px 0 rgb(175,175,175),8px 8px 7px rgba(0,0,0,0.3),8px 8px 1px rgba(0,0,0,0.5),0px 0px 7px rgba(0,0,0,.2);*/
padding:8px;
/*padding-bottom: 15px;*/
background: black;
}

.hhh3d{

}

.btn3d {
font-family: Garamond, sans-serif;
line-height: 1em;
color: #FAF205;
font-weight:bold;
font-size: 21px;
/*text-shadow:0px 0px 0 rgb(228,228,228),1px 1px 0 rgb(210,210,210),2px 2px 0 rgb(193,193,193),3px 3px 0 rgb(175,175,175),4px 4px 0 rgb(158,158,158), 5px 5px 0 rgb(141,141,141),6px 6px 5px rgba(0,0,0,0.6),6px 6px 1px rgba(0,0,0,0.5),0px 0px 5px rgba(0,0,0,.2);*/

	display: inline-flex;
   border: solid black 2px;
   border-radius: 7pt;
   box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  /* font-family: Arial, sans-serif;*/
   /*line-height: 2.5em;*/
   padding: 8px;
   padding-bottom: 15px;
   text-decoration: none;
   background: black;}

body 
{
   font: 18px Helvetica;
}
h1 
{
	color: #FAF205;
	text-align: center;
	border: 3px double black;
	border-radius: 7pt;

}
h2
{
	color: #FACD05;
	text-align: center;
	border: 3px double black;
	border-radius: 7pt;
	
}
ul
{
    list-style-type: none;
}
.btn { 
   color: yellow;
   display: inline-flex;
   display: -webkit-box;
   border: solid black 2px;
   border-radius: 7pt;
   box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
   font-family: Arial, sans-serif;
   /*line-height: 2.5em;*/
   padding: 5px;
   text-decoration: none;
   background: blue; 
}

#main 
{
   min-height: 700px;
   margin: 0px;
   padding: 0px;
   display: -webkit-box;
   display: -webkit-flex;
   display:         flex;
   -webkit-flex-flow: row;
           flex-flow: row;
    -webkit-box-align: center;       
}
#main > article 
{
   margin: 4px;
   padding: 5px;
   border: 1px solid #cccc33;
   border-radius: 7pt;
   -webkit-flex: 3 1 60%;
           flex: 3 1 60%;
   -webkit-order: 2;
           order: 2;
	filter:alpha(opacity=100); opacity:1.0;
	color: black;
	border: 6px double black;
	padding: 4px;
	border-radius: 10px;
} 
#main > nav 
{
	color: white;
	/*background: #67C454;*/
	/* background: url('../images/solartile.gif');*/
   margin: 4px;
   padding: 8px;
   border: 1px solid #8888bb;
   border-radius: 7pt;
   -webkit-flex: 1 6 20%;
           flex: 1 6 20%;
   -webkit-order: 1;
           order: 1;
	filter:alpha(opacity=75); opacity:.75;
	background: black;
	color: white;
	border: 6px double black;
	padding: 4px;
	border-radius: 10px;
} 
#main > aside 
{
	/*background: white;*/
	/* background: url('../images/solartile.gif');*/
   margin: 4px;
   padding: 5px;
   border: 1px solid #8888bb;
   border-radius: 7pt;
   -webkit-flex: 1 6 20%;
           flex: 1 6 20%;
   -webkit-order: 3;
           order: 3;
   background: black;
	filter:alpha(opacity=75); opacity:.75;
	color: white;
	border: 6px double black;
	padding: 4px;
	border-radius: 10px;
}
header, footer 
{
	text-align: center;
   display: flex;
   margin: auto;
   padding: 5px;
   min-height: 30px;
   border: 1px solid #eebb55;
   border-radius: 7pt;
   width:intrinsic;
   width:-moz-fit-content;
   width:-webkit-fit-content;
   width:fit-content;
}
img.medium {
	filter:alpha(opacity=100); 
	opacity: 1.0;
	margin: 1px;
  width:100%;
  max-width:auto;
  height:auto;
}
img.third {
	display: block;
	margin: 1px;
  width:32%;
  max-width:auto;
  height:auto;

}
img.quarter {
	margin: 1px;
  width:24%;
  max-width:auto;
  height:auto;
}
img.half {
	display: block;
	margin: 1px;
  width:50%;
  max-width:auto;
  height:auto;
    margin-left: auto;
  margin-right: auto;
}
img.nav {
	margin: 1px;
  width:100%;
  max-width:100px;
  height:auto;
}
img.aside {
	margin: 1px;
  max-width:100%;
  height:auto;
}
/* Too narrow to support three columns */
@media all and (max-width: 640px) 
{
  
   #main, #page {
   	display: -webkit-box;
   	display: box;
    -webkit-flex-flow: column;
            flex-flow: column;
            flex-direction: column;
      -webkit-box-flow: column;      
   }

   #main > article, #main > nav, #main > aside {
    /* Return them to document order */
    -webkit-box-ordinal-group: 0;
    -webkit-order: 0;
            order: 0;
   }
  
   #main > nav, #main > aside, header, footer {;
    min-height: 50px;
    max-height: 800px;
   }
   .btn
   {
   	font-size: 12px;
   }
}

