/* body  {background: #EDF2FF}  */
html,body {width: 100%; height: 100%}
/* Custom Google Font Styles  */
@font-face
{
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 300;  
  src: url('Merriweather-Light.ttf');
}

@font-face
{
  font-family: 'OpenSans';
  font-style: normal;
  font-weight: 300;
  src: url('OpenSans-Light.ttf');
}
p{padding:0x; margin:0x;}	


h1	{font-family: 'Merriweather', sans-serif;
    font-size: 32px;
    letter-spacing: 0px;
    line-height: 1.6em;
	color: #3A4858; 
	background-color:#999;
	padding-top:2x;
	padding-left:5px;
	padding-right:5px;
	margin-top:0x;}
	
h2	{font-family: 'Merriweather', sans-serif;
    font-size: 24px;
    letter-spacing: 0px;
    line-height: 1.6em;
	color: #3A4858; 
	background-color:#999;
	padding-top:2x;
	padding-left:5px;
	padding-right:5px;
	margin-top:0x;}



h3 {font-family: 'OpenSans', sans-serif;
    font-size: 18px;
    letter-spacing: 0px;
    line-height: 1.6em;
	color: ##492821;
	padding-top:2x;
	padding-left:2%;
	padding-right:2%;
	margin-top:0x;}
	

#container-main
{
  width: 100%;
  min-height: 100%;
}

/* Nav Bar on Top */

.topnav {
  position: fixed;  /*Navbar stays on top */
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  /*height: 60px; */  
  overflow: hidden;
  background-color: #333;
 
  
 
  /*background-image: url(wood.jpg);*/
}
/* Navbar links */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 17px;
}
/* Navbar hovering */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: #4CAF50;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
  background: black;
  position: absolute;
  padding: 2px 2px;
  right: 0;
  top: 0;
}


#main 
{
	width: 100%;
	overflow: auto;
	margin-top: 1%;
	padding-top: 2%;
			
}

#mainbot 
{
	clear:both
	width: 100%;
	overflow: auto;
	margin-top: 1%;
	padding-top: 2%;
}
#mainbot-left
{	
	float:left;
	width: 45%;
	height:auto;
	overflow: auto;
	background-color: #ddd;
	margin-top:0%;
    padding-top: 0%;	
	padding-left: 2%;
	padding-right: 2%;
	padding-bottom: 2%;
}
#mainbot-right
{   
	float: right;
	width: 45%;
	height:auto;
	overflow: auto;
	background-color: #ddd;
	margin-top:0%;
    padding-top: 0%;	
	padding-left: 2%;
	padding-right: 2%;
	padding-bottom: 2%;
	
}

#foot
{ 
		position: fixed;  /*footer stays on bottom*/
		bottom: 0;
		left: 0;
		z-index: 9999;
	
		text-align:center;
		height: 20px;
		width: 100%;
		border: thin silver solid;
		margin-top: -20px;
		clear:both;		
		background-color: #000;
}
#copyright
{
	font-size:	smaller;
	font-family:  Arial,Helvetica, sans-serif;
	color: #999999;
	text-align:center
}
img#main
{
	display: block; 
	margin-top: auto;
	margin-left: auto;
	margin-right: auto;
	padding: 2%;
	width:20%;
	float: right;
	height:auto;
	
}
img#right
{
	display: block; 
	margin-top: auto;
	margin-left: auto;
	margin-right: auto;	
	width:90%;
	height:auto;
	
}
  
img#left
{	display: block;
	margin-top: auto;
	margin-left: auto;
	margin-right: auto;
	width:90%;
	height:auto
}
/* Social Media Icons */
img#sm{width:30px;height:30px}



#vidback {
		/*position:fixed;*/
		/*z-index:-1; */
}
/* media image rule for video grow-shrink */

@media(min-aspect-ratio: 16/9)
{
	#vidback{
		width:100%;
		height: auto;
	}
}
@media(max-aspect-ratio: 16/9)
{
	#vidback{
		width:auto;
		height: 100%;
	}
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    position:absolute;
	right:0;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {
	 /* position: relative;*/	  
	  position: absolute;
	  right: 0;	  
	  max-width:25%;
	  z-index: 9999;
	  }
  .topnav.responsive a.icon {
    position: absolute;
	display: none;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    display: block;
    
	
  }
}

/* old code for tutorials  */		
		
		
div.vids  { 
		clear:both;
		float:left;
		height: 70%;
		width: 90%;
		border: thin silver solid;
		/*margin: 0.25em;
		padding: 0.25em; */
		margin: auto;
		padding:auto;
		background-color: #000000
		}
div.vidtitle  { 
		clear:both;
		height: 25%;
		width: 90%;
		border: thin silver solid;
		/*margin: 0.25em;
		padding: 0.25em; */
		margin: auto;
		padding:auto;
		background-color: #000000;
		font-family: Arial,
	Helvetica, sans-serif; color: #999999;
		text-align:center}
		

ul.video {
padding:0;
list-style: none;
width: 100%;
height: 20%;
text-align:left;
}

li.video{
background-color: #99ccff;
float: left;
position:relative;
width:30%;
height:100%;
border-width: 1px;
border-style: solid;
border-color: #cccccc #888888 #555555 #bbbbbb;
text-decoration: none;
text-align: left;
}
li.cdshow{
background-color: #99ccff;
float: left;
position:relative;
width:22%;
height:100%;
border-width: 1px;
border-style: solid;
border-color: #cccccc #888888 #555555 #bbbbbb;
text-decoration: none;
text-align: left;
}
		
p 	{font-size: 16px; text-align:center}

