body    {
        font-size: 100%;
        }

#banner {
	position: absolute;
        top: 12px;
	left: 50px;
        width: 100%;
        max-width: 800px;
        height: 225px;    
        margin: 0px;
	    border-top: 3px solid; 
        border-bottom: 3px solid;
        padding: 3px 0px 0px 0px;  
	    font-family:palatino, georgia, serif; 
        text-align: left;
	overflow: hidden;
	}

#banner h1 {
        font-size: 3em;
        font-variant: small-caps;
        margin-top: -175px;
        text-indent: 0.8em;
        color: yellow;
        border: 0px;
        padding: 0px;
        z-index: 2;
        }

#banner h2 {
	position: absolute;
        font-size: 1.5em;
        margin-top: -15px;
        left: 70px;
        color: yellow;
        border: 0px;
        padding: 0px;
        z-index: 2;
        }

#banner img {
        z-index: 1;
        }

#outline {
        position: absolute;
        top: 270px;
        left: 10px;
        margin: 0px;
	    width: 210px;
        padding: 5px;    
        border: 1px solid;
	    font-family:palatino, georgia,  serif; 
        background-color:#FFFFDD;
	}
    


#outline p {
	margin-top: 0em; 
	margin-bottom: 0em;
	}
    
#outline .outlinecontents {
        font-size: 1.7em;
        font-variant: small-caps;
        font-weight: bold;
        text-align: center;
        }

#outline .outlinehead {
        font-size: 1.3em;
        font-weight: bold;
        }

#outline .outlinelink {
        font-size: 1.1em;
        padding-left:2em; 
	    text-indent: -1em;
        }



#content {
	position:absolute; 
	top: 250px; 
	left: 241px; 
    	margin: 0px 20px 0px 20px;
    	max-width: 600px;  
	font-family: palatino, georgia,  serif;
    	background-color:#FFFFFF;
	}

#content h1 {
        text-align: center;
        margin-top: 0.5em;
        margin-bottom: 0.2em;
        padding-top: 0em;
        padding-bottom: 0em;
        font-size: 2.4em;
        }

#content h3 {
        margin-top: 1.0em;
	margin-bottom: 0.2em;
        font-size: 1.7em;
	}

#content h4 {
        margin-top: 1.0em;
	margin-bottom: 0.2em;
        font-size: 1.4em;
	}


#content hr { 
        margin: 6px;
        padding: 0px;
        border-top: 1px solid;
        border-bottom: 1px solid;
        border-left: 0px;
        border-right: 0px;
        height: 0px;    
        color: black;
        background-color: black;
        }

#content sup {
        font-size: 85%;
        vertical-align: 0.8ex;
        }
#content sub {
        font-size: 85%;
        vertical-align: -0.8ex;
        }

#content p {
	margin-top: 0in; 
	margin-bottom: 0in; 
	text-indent: 1.5em;
        font-size: 1.2em;
        line-height: 1.3em;
	}

#content .noindent {
	margin-top: 0in; 
	margin-bottom: 0in; 
	text-indent: 0em;
	}

#content .equation {
	font-family: monospace; 
	text-align: center; 
	margin-top: 1.0em; 
	margin-bottom: 1.0em;
	}

#content .reference {
	padding-left:1.5em; 
	text-indent: -1.5em; 
	margin-top: 0.3em;
	}

#content .referencenoprint {
	padding-left:1.5em; 
	text-indent: -1.5em; 
	margin-top: 0.3em;
	}

#content .smallnote {
	font-size: 1em;
        line-height: 1.4em;
        margin-top: 0.5em;
        margin-bottom: 0.5em;
	}

#content .footnote {
	font-size: 1em;
        line-height: 1.4em;
        margin-top: 1.2em;
        text-indent: 0em;
	}

#content .footnotenoprint {
	font-size: 1em;
        line-height: 1.4em;
        margin-top: 2.4em;
        text-indent: 0em;
	}

#content .noscreen {
        display: none;
        }

#content .overbar {
        border-top: 1px solid;
        }

#content li {
        margin-top: 5pt;
        }

#content pre {
        padding-left: 2em;
        margin-top: 0em;
        margin-bottom: 0em;
        font-size: 1.3em;
        }

#content kbd {
        padding-left: 0.2em;
        padding-right: 0.2em;
        font-size: 1.2em;
        }

#content li {
        font-size: 1.2em;
        }

#content table {
	border-spacing: 0em;  
	border-width: 3px; 
	border-style: solid none solid none; 
	margin-left: 0em;
	margin-top: 1.4em; 
	margin-bottom: 1.4em;
        font-size: 1.1em;
        caption-side: top;
	}

#content caption {
        border-width: 0px;
        text-align: left;
        margin: 0 0 0 0;
        font-size: 0.9em;
        }

#content th {
	border-width: 1px; 
	border-style: none none solid none; 
	text-align: center; 
        vertical-align: bottom;
	padding: 1px 15px 1px 5px;
	}

#content td {
	padding: 1px 5px 1px 5px;
	border-width: 1px; 
	border-style:  none none none none;
	text-align: right;
        padding: 1px 25px 1px 1px;
	}

#content .tableline {
        border-style: none none solid none;
        }

#content .centered-table {
	margin-left: auto; 
	margin-right: auto;
	}

#content .right-table {
        float:right;
        margin-left: 1.4em;
	}

#content .left-table {
        float:left;
	margin-right: 1.4em;
	}



#content img {
	padding-bottom: 0px;
	}

#content figure {
        margin-top: 12px;
        margin-bottom: 12px; 
	border-spacing: 0px; 
	border-style: none none none none; 
        padding: 8px 8px 8px 8px;
        font-size: 1.1em;               
        font-weight: bold;
        text-align: center;
	}

#content figcaption {
        margin-top: 1em;
        }
#content .left-figure {
	float:left;
        padding: 8px 8px 8px 8px;
	}
        
#content .right-figure {
	float:right;
	padding: 8px 8px 8px 8px;
	}

#content .centered-figure {
        margin-left: auto;
        margin-right: auto; 
	padding: 8px 8px 0px 8px;
	}

/*IMG RE-SIZE*/
#content img {
    position: relative;
    width: 100%;
    max-width: 650px;
}



/*ADAPTIVE MEDIA QUERIES*/

/* FOR WINDOWS GREATER THAN 950px */

@media only screen and (min-width : 951px) {
        /*Centers content when window size is bigger than 950px*/
        #page-wrap {
          position: relative;
          width: 900px;
          margin: 0 auto;
        }

        /*Hides Contents/outline link*/
        .hide {
          display: none;
        }
}

/* FOR WINDOWS 780 to 950px */

@media only screen and (max-width : 950px) {
        /*Sets up positioning*/
        #page-wrap {
          position: relative;
          width: 100%;
          margin: 0 auto;
        }

/* @@@@@ substitutes smaller banner @@@@@ */
        #banner {
        width: 750px;
        height: 214px; 
  

        /*centers banner*/
        left: 50%;
        margin-left: -375px;   
	}

        #banner h1 {
        font-size: 2.6em;
        margin-top: -152px;
        text-indent: 0.7em;
        }

        #banner h2 {
        font-size: 1.3em;
        margin-top: -18px;
        }

        #banner img {
        width: 750px;
        height: 211px;
        }

/* @@@@@ moves the outline and content up to fit the smaller banner @@@@@ */

        #outline {
        top: 261px;
        }
  
        #content {
        top: 243px;
        }

        /*Hides Contents/outline link*/
        .hide {
          display: none;
        }

        /*Centers content and allows to resize with the window*/
        #content-wrap {
          width: 100%;
          max-width: 780px;
        }

        #content {
          width: 68%;
          margin: 0 auto;
        }
}

/* FOR WINDOWS 494 to 780px */

@media only screen and (max-width : 780px) {
        /*Resets default margin so banner can span full width of page in smaller sizes*/
        body {
          margin-left: 0px;
          margin-right: 0px;
        }
        
/* @@@@@ substitutes smaller banner @@@@@ */
        #banner {
        width: 480px;
        height: 138px; 
        /*centers banner*/
        left: 50%;
        margin-left: -240px;     
	}

	#banner img {
	width: 480px;
	height: 135px;
	}

        #banner h1 {
        font-size: 1.8em;
        margin-top: -118px;
        text-indent: 1em;
        }

        #banner h2 {
        font-size: 1.4em;
        margin-top: -10px;
        left: 2.6em;
        }

 

/* @@@@@ moves the content up to fit the smaller banner @@@@@ */

        #content {
        top: 697px;
        }

        /*centers the outline*/
        #outline {
        left: 50%;
        margin-left: -110px; 
        top: 170px;
        }


        /*Centers content and allows to resize with the window*/
        #content-wrap {
          width: 100%;
          max-width: 780px;
        }

        #content {
          position: relative;
          width: 90%;
          left: 0px;
          margin: 0 auto;
        }

	#content .right-table {
	  float: none;
          margin: 0 auto;
          }

	#content .left-table {
	  float: none;
          margin: 0 auto;
          }

 	#content .right-figure {
          float: none;
          margin: 0 auto;
          }

 	#content .left-figure {
          float: none;
          margin: 0 auto;
          }
}

/* FOR WINDOWS 320 to 480px */

/*Re-sizes & moves nav links for smaller sizes*/ 
@media only screen and (max-width : 494px) {

        body {
        font-size: 65%;
        }

  /* @@@@@ substitutes smaller banner @@@@@ */
        #banner {
        width: 320px;
        height: 80px;  
        background-color: Blue;  
        left: 50%;
        margin-left: -160px; 
	}

        #banner h1 {
        font-size: 1.6em;
        margin-top: 5px;
        left: 3em;
        }

        #banner h2 {
        font-size: 1.1em;
        margin-top: -5px;
        left: 4em;
        }

        #banner img {
        display: none;
        }

        #content {
        top: 557px;
        }

        /*centers the outline*/
        #outline {
        left: 50%;
        margin-left: -105px; 
        top: 120px;
        }

        #content .navarrow {
          font-size: 1.3em;
        }

	#content .nosmall {
          display: none;
        }

        #content .referencenoprint {
          display: none;
        }

	#content h1 {
          font-size: 1.7em;
        }

	#content h3 {
          font-size: 1.5em;
        }

	#content h4 {
          font-size: 1.3em;
        }

	#content pre {
          font-size: 0.9em;
        }
}

/* FOR WINDOWS LESS THAN 320 px */
@media only screen and (max-width : 320px) {

/* @@@@@ substitutes smaller banner @@@@@ */
        #banner {
        width: 240px;
        height: 48px; 
        /*centers banner*/
        left: 50%;
        margin-left: -120px;    
	}

        #banner h1 {
        font-size: 1.2em;
        margin-top: 0px;
        text-indent: 0.4em;
        }

        #banner h2 {
        font-size: 1.0em;
        margin-top: -5px;
        text-indent: 8em;
        }


/* @@@@@ moves the navbox, outline and content up to fit the smaller banner @@@@@ */

        #content {
        top: 67px;
        }

}


