/* CSS Style sheet by Andy Collinson  */

body {
    font-family: Verdana, Tahoma, "Luxi Serif", sans-serif;
    font-size: 1.1em;
    color: black;
    margin: 0 0 0 15px;
    background-color: white;
  }


.margin {
  margin: 4em 10px 0px 90px;
  min-width: 600px;
}

h1 {
    font-size : 1.6em;
    color : red;
    text-decoration : underline;
  }

.table-head {
	margin-left: auto;
	margin-right: auto;
    background-image : url('jpgs/sch_bg.jpg');
   background-position: center center;
    height : 150px;
    width : 100%;
    border-collapse: collapse;
  }


.table-head td {
	font-size: 35px;
	color: red;
	text-align: right;
	vertical-align: center;
}	

.table-head td.left {
position: absolute; left: 0px; top: 0px;
width: 200px;
}	

	
.table-nav {
  background-image: url(nav_bg.jpg);
  height: 27px;
  width: 100%;
  border-collapse: collapse;
}


.table-ry {
	margin: 1.5em;
   background-color : #fffeaf;
   border-collapse: collapse;
   text-align: right;
   border: 2px solid red;
   padding: 1px; 
     }

.table-ry th {
	border: 0;
	background-color: aqua;
   color: blue;
}
.table-ry td.hl {
	padding: 3px;
	border: 1px solid black;
	background-color: yellow;
   color: blue;
}


.table-ry td {
	padding: 3px;
	border: 1px solid black;
	   }


.nav {
	margin-bottom: 2em;
	position: absolute; top: 150px; left: 0px;
	width: 100%;
	background-image: url(nav_bg.jpg); height: 27px;
  /*background-image: url(navbg.gif); height: 25px;*/
  	}
		  	

.nav ul {
display: inline;	
	}

.nav li {
	display: inline;
	padding: 0 0.5em;
   border-right: 1px solid #3a3a3a;
   text-align: center;
   margin-bottom: 2em;
	}	


.nav a:link, .nav a:visited {
  text-decoration: none;
  color: #a0522d;
  }
  
.nav a:hover, .nav a:focus {
	color: #ffd700;
  }
 
.nav a.current {
    color: blue;
     } 



.nav1 a:link, .nav1 a:visited {
  text-decoration: none;
  color: #A0522D;
}


.nav1 a:hover, .nav1 a:focus {
  color: #ffd700;
}


.circuits a:link, .circuits a:visited { 
font: 16pt Verdana, Nimbus-sans;
text-decoration: none;
color: blue;
 }


.circuits a:hover, .circuits a:focus {
	color: #ff6f0f;
	 }


#title {
    font-size : 1.4em;
    color : green;
    text-decoration: none;
    border: 2px groove blue;
    width: 100px;
         }

#large {
    font-size : 1.7em;
    color : blue;
   }


h2 {
    color: purple;
  }



#heading {
    color : blue;
    font-size : 1.3em;
    text-decoration : underline;
  }

#headingred {
    color : red;
    font-size : 1.4em;
    text-decoration : underline;
  }

#heading1 {
    color : blue;
    font-size : 1.3em;
    }

#heading2 {
    color : red;
    font-size : 1.3em;
  }

#heading3 {
    color : blue;
    font-size : 1.2em;
    }


#small {
    color : green;
    font-size : 0.9em;
    }

code { font-size: 1em;
       background-color: #FFFFCC;
 }
    
.answer {
    border: 2px solid brown;
    background-color: #ff0;   
     
    padding: 2px;
    color: blue;	
    }
    
   
.fraction {
	text-align: center;
	vertical-align: middle;
	margin-top: 1em;
	margin-bottom: 1em;
	line-height: 1.5em;
		}     
    
.formula {
	font-size: 1.2em;
	color: blue;
	text-align: center;
	vertical-align: middle;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	line-height: 1.5em;
		}  

.formula sub {
	font-size: 0.7em;
		}  

.vinculum {
	border-top: 2px solid black;
}


.border img {
background-position: center center;
border: 1px solid blue;
padding: 2px;
margin: 5px;
}

.round_corner {
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    -khtml-border-radius: 20px;
    border-radius: 20px;
}

.hlblue {
font-size: 0.9em;
background: url(pngs/bl_head.png) repeat-x;
color: white;
}

.hlgreen {
font-size: 0.9em;
background: url(pngs/hl_green.png) repeat-x;
color: white;
}

.hlpurple {
font-size: 0.9em;
background: url(pngs/hl_purple.png) repeat-x;
color: white;
}

.hlred {
font-size: 1.1em;
padding: 2px;
background: url(pngs/hl_red.png) repeat-x;
color: black;
text-decoration: underline;
}

.clearer {
  clear: both;
}


#return {
	display: block;
	background: url(pngs/bl_head.png) repeat-x;
   width: 280px;
	text-align: center;
	text-decoration: none;
   margin: 2em 0 2em 40%;
   border: 2px solid #ff6f0f;
   -moz-border-radius: 20px;
   -webkit-border-radius: 20px;
   -khtml-border-radius: 20px;
   border-radius: 20px;
      }
      
#return a:link {
text-decoration: none;
color: black;
	}
      
#return a:hover {
	/*padding: 0em 1.2em;*/
	/*background: url(pngs/hl_green.png) repeat-x;*/
	background-color: yellow;
	color: red;
   -moz-border-radius: 20px;
   -webkit-border-radius: 20px;
   -khtml-border-radius: 20px;
   border-radius: 20px;
}      
