body{
	font-family: Times, serif;
	background-color: #666666;
	color: #000000;
}

#globalWrapper{
  width:90%;
  margin:4%;
  padding:1%; 
  background-color:#c0c0c0;
  min-width: 520px;
}

.outer{
  border-left-width: 260px;
  border-color: #c0c0c0;
  border-style: solid;
  width: auto;
}

.navigation{
  float: left;
  margin-left: -260px;
  width: 259px;
  position: relative;
}

@media only screen and (max-device-width: 667px) {
/* and (pointer: coarse) using pointer above to detect touch-screen devices, could also use hover */  
/* max-width distiguishes iPad/tablets from phones.
  .outer{
    border-left-width: 0px;
    border-color: #c0c0c0;
    border-style: solid;
    width: auto;
  }

  .navigation{
    display: none; /* Temp until replaced by drop-down*/
  }
}

.content{
  width: 100%;
  margin: 0px;
}

.page{
  float: left;
  position: relative;
  width: 100%;
  margin-left: 5px;
}

.book{
  font-family: Arial, Trebuchet, sans-serif;
  color: #884400;
  font-size: 80%;
}

table{
  font-size:100%;
  color:black;
  background-color:white;
}

a{
  text-decoration:none;
  color:#002bb8;
  background:none;
}

a:visited{
  color:#5a3696;
}

a:active{
  color:#faa700;
}

a:hover{
  color: #880000;
  text-decoration:underline;
}

a.stub{
  color:#772233;
}

a.new,#p-personal a.new{
  color:#ba0000;
}

a.new:visited,#p-personal a.new:visited{
  color:#a55858;
}

img{
  border:none;vertical-align:middle;
}

img.center{
  display: block;
  margin-left: auto;
  margin-right: auto;
}
p{
  margin:.4em 0 .5em 0;
  line-height:1.5em;
}

p img{
  margin:0;
}

hr{
  height:1px;color:#666;
  background-color:#666;
  border:0;
  margin:.2em 0 .2em 0;
  width: 50%;
}

h1,h2,h3,h4,h5,h6{
  color: #880000;
  font-weight:normal;
  margin:0;
  padding-top:.5em;
  padding-bottom:.17em;
}

h1{
  font-size:188%;
  border-bottom:1px solid #880000; 
}

h2{
  font-size:150%;
}

h3,h4,h5{
  border-bottom:none;
  font-weight:bold;
}

h3{
  font-size:132%;
}

h4{
  font-size:116%;
}

h5{
  font-size:100%;
}

ul{
  line-height:1.5em;
  list-style-type:square;
  margin:.3em 0 0 1.5em;
  padding:0;list-style-image:url(bullet.gif);
}

ol{
  line-height:1.5em;
  margin:.3em 0 0 3.2em;
  padding:0;
  list-style-image:none;
}

li{
  margin-bottom:.1em;
}

dt{
  font-weight:bold;
  margin-bottom:.1em;
}

dl{
  margin-top:.2em;
  margin-bottom:.5em;
}

dd{
  line-height:1.5em;
  margin-left:2em;
  margin-bottom:.1em;
}

abbr,acronym,.explain{
  border-bottom:1px dotted black;
  color:black;
  background:none;
  cursor:help;
}

q{
  font-family:Times,"Times New Roman",serif;
  font-style:italic;
}

code{
  background-color:#f9f9f9;
}

pre{
  padding:1em;
  border:1px dashed #2f6fab;
  color:black;
  background-color:#c0c0c0;
  line-height:1.1em;
}


div.thumb{
  margin-bottom:.5em;
  border-style:solid;
  border-color:white;
  width:auto;
}

div.thumbinner{
  border:1px solid #ccc;
  padding:3px !important;
  background-color:#c0c0c0;
  font-size:94%;
  text-align:center;
  overflow:hidden;
}

html .thumbimage{
  border:1px solid #ccc;
}

html .thumbcaption{
  border:none;
  text-align:left;
  line-height:1.4em;
  padding:3px!important;
  font-size:94%;
}

div.magnify{
  float:right;
  border:none!important;
  background:none!important;
}

div.magnify a,div.magnify img{
  display:block;
  border:none!important;
  background:none!important;
}

div.tright{
  float:right;
  margin-left: .5em;
  border-width:.5em 0 .8em 1.4em;
}

div.tleft{
  float:left;
  margin-right:.5em;
  border-width:.5em 1.4em .8em 0;
}

div.visualClear{
  clear: both;
}

.hiddenStructure{
  display:none;
  speak:none;
}

img.tex{
  vertical-align:
  middle;
}

span.texhtml{
  font-family:serif;
}

table.rimage{
  float:right;
  position:relative;
  margin-left:1em;
  margin-bottom:1em;
  text-align:center;
}


div.floatleft,table.floatleft{
  clear:none;
}

div.tright{
  clear:none;
}

div.tleft{
  clear:none;
}

ul,ol{
  margin-left:0;
  padding-left:1.5em;
}
 
.allpagesredirect{
  font-style:italic;
}

td,th,tr{
  vertical-align:top;
}

table td ul,table td ol,table td dl,table td li,table td dd,table td dt{
  margin-top:0;
  border-top-width:0;
  padding-top:0;
  margin-bottom:0;
  border-bottom-width:0;
  padding-bottom:0;
}

table.wikitable,table.prettytable{
  margin:1em 1em 1em 0;
  background-color:#f9f9f9;
  border:1px #aaaaaa solid;
  border-collapse:collapse;
}

table.wikitable th,table.wikitable td,table.prettytable th,table.prettytable td{
  border:1px #aaaaaa solid;
  padding:0.2em;
}

table.wikitable th,table.prettytable th{
  background-color:#efefef;
  text-align:center;
}

pre{
  background-color:#EFE1BC;
}

table{
  background-color:#FBEFD5;
}

table.diff,td.diff-otitle,td.diff-ntitle{
  background-color:#FDF5E6;
}

div.tleft,div.tright,div.tnone{
  border-color:#c0c0c0;
}

code{
  background-color:#FDF5E6;
}

div.thumb div{
  background-color:#d0d0d0;
}

/* styles for accordian menu */
input.navlevel1 {
  display: none;
}

div.navbtn {
  display: block;
  padding: 3px;
  border: 1px black solid; 
  border-radius: 5px;
  margin: 1px;
  margin-right: 1em;
}

div.chapter {
  display: none;
}

#chapter1:checked ~ .chapter.ch1,
#chapter2:checked ~ .chapter.ch2,
#chapter3:checked ~ .chapter.ch3,
#chapter4:checked ~ .chapter.ch4,
#chapter5:checked ~ .chapter.ch5,
#chapter6:checked ~ .chapter.ch6,
#chapter7:checked ~ .chapter.ch7,
#chapter8:checked ~ .chapter.ch8,
#chapter9:checked ~ .chapter.ch9,
#chapter10:checked ~ .chapter.ch10,
#chapter11:checked ~ .chapter.ch11,
#chapter12:checked ~ .chapter.ch12 {
  display: block;
}

@media only screen and (pointer: coarse) {
/* differences for touch-screen devices */
/* radio button styles for accordian menu */

} 
