body {
    background-color: #ffffff;
    background: url(blue_top.png) repeat-x top left;
    color: #333333;
    margin: 0;
    padding: 0;
    text-align: left;
    font-family: Helvetica, "Bitstream Vera Sans", sans-serif;
    font-size: 1em;
}


/* Page layout 
   ================================================
 */

/* Container */
#container {
    background-color: inherit;
    color: #333333;
    margin: 0 auto;
    padding: 0;
    display: block;
    text-align: left;
    width: 760px;
    font-size: smaller;
}

html>body #container{
    width: 760px;
}

/* Header section */
#header {
    width: 758px;
    min-height: 80px;
    height: 80px;
    display: block;
    margin: 0 auto;
    padding: 0;
    text-align: left;
    font-size: medium;
}


#header h1 {
    margin: 0;
    padding-top: 10px;
    color: #ffffff;
    background-color: inherit;
    font-weight: bold;
    font-size: large;
}

#header h1 a, #header h1 a:hover {
    font-weight: bold;
    font-size: large;
    color: #ffffff;
    background-color: inherit;
    text-decoration: none;
}

#header p {
    font-size: medium;
    color: #ffffff;
    background-color: inherit;
    margin: 0px;
}

#topsearch {
 float: right;
 margin:0 auto;
 padding:10px;
 text-align: right;
 max-width:30em;	

}

#content {
 clear: both;
 border: 0;
 margin: 0;
 padding: 0;
}

#main {
 float: left;
 padding: 10px 0 0 0;
 width: 500px;
 overflow:hidden;
}

#right-column {
 float: right;
 width: 250px;
 margin: 10px auto;
 padding: 0;
 color: #555555;
 background-color: inherit;
}

/* Footer section */

#footer {
    clear:both;
    letter-spacing: 1px;
    border-top: 1px dotted #babdb6;
    margin-top: 40px;
    color: #999999;
    background-color: inherit;
    padding: 10px;
}

#footer a {
    text-decoration: none;
    color: #999999;
    background-color: inherit;    
}

#footer a:hover {
  text-decoration: underline;
}

#footer p {
    font-size: smaller;
    margin: 0 0 10px 0;
}


/* Text layout
   ================================================
 */

h1, h2, h3, h4 {
    margin-top: 0;
    color: #3366aa;
    background-color: inherit;
}

h1 a, h2 a, h3 a, h4 a{
    color: #3366aa;
    background-color: inherit;
    text-decoration: none;
}

h1 { font-size: large;   }
h2 { font-size: medium;  }
h3 { font-size: small;   }
h4 { font-size: x-small; }

hr {
    display: none;
}

p, li, td {
 font-size: 1em;
 line-height: 1.5em;
 text-align: justify;
}

a {
    font-weight: normal;
    text-decoration: none;	
    color: #3366aa;
    background-color: inherit;
}

a:hover {
    color: #99bb22;
    text-decoration: underline;
}

a:visited {
    font-weight: normal;
    text-decoration: none;
    color: #ff5500;
    background-color: inherit;
}

a:visited:hover {
 font-weight: normal;
 text-decoration: underline;
 color: #ff5500;
 background-color: inherit;
}




img.inline {
 vertical-align: middle;
}

cite, cite a {
 color: #990000;
 background-color: inherit;
 font-size: 12px;
 font-weight: normal;
 font-style: normal;
 text-decoration: none;
}

.details {
 color: #666666;
 background-color: inherit;
}

/* Blockquote
   ================================================
 */

blockquote {
  margin: 0;
  background-color: #F9FAF9;
  border-right: 1px solid #EFF1EF;
  border-bottom: 1px solid #EFF1EF;
}
blockquote p {
  font: italic 90%/150% Georgia, "MS Sans Serif", Geneva, sans-serif;
  background: url(/apmr/images/right-grey-quote.gif) no-repeat 99% 95%;
  color: #808080;
  margin: 0.5em;
  padding: 0.5em;
}

blockquote p:first-letter {
  background: url(/apmr/images/left-grey-quote.gif) no-repeat;
  display: block;
  padding-left: 15px;
  width: 100px;
  height: 100px;
  padding-top: 4px;
}


/* Table of contents
   ================================================
 */


ul.contents {
    list-style-type: none;
    float: left;
    border: 1px solid #3366aa;
    background-color: #f4f4f4;
    padding: 0px;
    margin-left: 10px;
    margin-top: 0px;
    margin-bottom: 10px;
    width: 240px;
}

ul.contents li {
    margin: 0;
    padding: 0 5px 0 5px;
}

ul.contents li a {
    text-decoration: none;
    color: #333333;
    background-color: #f4f4f4;
}

ul.contents li a:hover {
    text-decoration: underline;
    color: #000000;
    background-color: #f4f4f4;
}



ul.contents li.title {
    font-weight: bold;
    color: #ffffff;
    background-color: #3366aa;
}

/* See also
   ================================================
 */

ul.seealso {
    list-style-type: none;
    float: left;
    border: 1px solid #b0d040;
    background-color: #f4f4f4;
    padding: 0px;
    margin-left: 10px;
    margin-top: 0px;
    margin-bottom: 10px;
    width: 240px;
}

ul.seealso li {
    margin: 0;
    padding: 0 5px 0 5px;
}

ul.seealso li a {
    text-decoration: none;
    color: #333333;
    background-color: #f4f4f4;
}

ul.seealso li a:hover {
    text-decoration: underline;
    color: #000000;
    background-color: #f4f4f4;;
}



ul.seealso li.title {
    font-weight: bold;
    color: #ffffff;
    background-color: #b0d040;
}


/* Resource
   ================================================
 */

ul.resource {
    list-style-type: none;
    float: left;
    border: 1px solid #3366aa;
    background-color: #f4f4f4;
    padding: 0px;
    margin-left: 10px;
    margin-top: 0px;
    margin-bottom: 10px;
    width: 240px;
}

ul.resource li {
    margin: 0;
    padding: 0 5px 0 5px;
}

ul.resource li a {
    text-decoration: none;
    color: #333333;
    background-color: #f4f4f4;
}

ul.resource li a:hover {
    text-decoration: underline;
    color: #000000;
    background-color: #f4f4f4;
}



ul.resource li.title {
    font-weight: bold;
    color: #ffffff;
    background-color: #3366aa;
}




/* Comment
   ================================================
 */

ul.comment {
    list-style-type: none;
    float: left;
    border: 1px solid #999999;
    background-color: #f4f4f4;
    padding: 0px;
    margin-left: 10px;
    margin-top: 0px;
    margin-bottom: 10px;
    width: 240px;
}

ul.comment li {
    margin: 0;
    padding: 0 5px 0 5px;
}

ul.comment li a {
    text-decoration: none;
    color: #333333;
    background-color: #f4f4f4;
}

ul.comment li a:hover {
    text-decoration: underline;
    color: #000000;
    background-color: #f4f4f4;
}



ul.comment li.title {
    font-weight: bold;
    color: #ffffff;
    background-color: #999999;
}




/* Login
   ================================================
 */

ul.login {
    list-style-type: none;
    float: left;
    border: 1px solid #bbbbbb;
    background-color: #f4f4f4;
    padding: 0px;
    margin-left: 20px;
    margin-top: 0px;
    margin-bottom: 10px;
    width: 150px;
}

ul.login li {
    margin: 0;
    padding: 0 5px 0 5px;
}

ul.login li a {
    text-decoration: none;
    color: #333333;
    background-color: #f4f4f4;
}

ul.login li a:hover {
    text-decoration: underline;
    color: #000000;
    background-color: #f4f4f4;;
}



ul.login li.title {
    font-weight: bold;
    color: #ffffff;
    background-color: #bbbbbb;
}


/* 
   ================================================
 */



table.withlines {
  border-bottom: 3px solid #B2B2B2; 
  margin: 0 0 2em;
}


caption {
  padding: 0.75em; 
  border: 1px solid #B2B2B2; 
  border-width: 1px 0 2px;
  color: inherit;
  background-color: #eeeeee;
}


th, td {
  padding: 0.5em 1em;
  border: 1px solid #CCC;
  border-width: 0 0 1px 1px;
}

th.nolines, td.nolines {
  padding: 0;
  border: none;	
}

th.first, td.first, tbody th {
  border-left: none;
}

thead th {
  text-transform: uppercase; 
  text-align: left;
}

tbody th {
  width: 20%;
}

tfoot {
  display: none;
}




/* Figure
   ================================================
 */

#figure {
/*  float: right;
  width: 25%; */
  border: thin silver solid;
  margin: 0.5em;
  padding: 0.5em;
}
#figure p {
  text-align: justify;
  font-style: italic;
  text-indent: 0;
}



