/* JD.css */

*, *:before, *:after {
  box-sizing: border-box;
}
body {
  width: 100%;
  margin: 0;
  padding: 0 175px; /* for nav */
  background-color: #E0E0E0;  /* #ffcc99 */
  color: maroon;
  font-size: 16px;
  font-family: Times New Roman, serif;
}
p {
  font-size: 16px;
  text-align: justify;
}
/*a:link { color: maroon; }
a:visited { color: maroon; }
a:hover { color: blue; }*/
img {  vertical-align: top;  }
.small {  font-size: 13px; }
sup {  font-size: 13px; }



/* --- Navigation --- */
.in-iframe {
  padding: 0;
}
.in-iframe nav {
  display: none;
}

nav {
  position: fixed;
  top: 0px;
  height: 100%;
  width: 175px;
  /*z-index: 2;*/
}
.nav {
  padding: 8px;
  color: white;
  font-size: 14px;
}

#nav-left {
  left: 0px;
  overflow-y: auto;
  border-right: 2px solid #bbb;
  box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.1);
  background-color: #D60000; /*#FAEBD7*/
}
#nav-right {
  right: 0px;
  overflow-y: auto;
  /*border-left: 1px solid #bbb;
  box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.1);*/
  background-color: black;
  /*text-align: right;*/
}
/*#nav-list {
  margin-left: 7px;
}*/

.nav a:link { color: white; }
.nav a:hover { color: #E0E0E0; } /* =rgba 87% */
.nav a:visited { color: #D7F5CE; } /*#A5DE94;*/
.nav h3, .nav h3 a:link { color: yellow; }
.nav h3 a:hover { color: rgba(255,255,0,0.8); }
.nav h3 {
  margin: 0;
}
.nav > div {
  margin-bottom: 40px;
}
.nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}



/* ToC <ul> */
.toc {
  list-style-type: none;
  margin: 0 0 4px 4px;
  padding: 0;
}
.toc .indent {
  padding-left: 14px;
}
.toc .active {
  font-weight: bold;
  /*background-color: rgba(0,0,0,0.08);*/
}
.toc label {
  cursor: pointer;
}
.toc input[type="checkbox"] {
  display: none;
}
.toc > input ~ li label.nav-expand::after {
    content: "(Expand)";
}
.toc > input:checked ~ li label.nav-expand::after {
    content: "(Contract)";
}
.toc label.nav-expand {
  font-style: italic;
  font-size: smaller;
}
.toc li>ul {
  display: none;
  list-style-type: none;
  margin: 0;
  padding: 0 0 4px 14px;  /*padding: 2px 0 2px 28px;*/
  /*font-size: 13px;*/
}
.toc li.nav-open > ul {
  display: block;
}
.toc li input[type="checkbox"] + label {
  margin-left: -14px; }
.toc li input[type="checkbox"] + label::before {
  content: "\025b8 "; } /* \025ba */
.toc li input[type="checkbox"]:checked + label::before {
  content: "\025bf "; }
.toc li input[type="checkbox"] ~ ul {
  display: none; }
.toc li input[type="checkbox"]:checked ~ ul {
  display: block; }




/*nav #A2 > ul > a::first-letter {
  font-size: 200%;
}*/



/* --- MAIN --- */
.container {
  height: 100vh;
  width: 100%;
  padding: 0 12px 80px;
  overflow-y: scroll;
  /*z-index: 1;*/
}
.container .content {
  max-width: 860px;
}
.container .title {
  text-align: center;
}
.container .toc {
  margin-bottom: 32px;
}
.container .include {
  margin-bottom: 120px;
}


.roster-block {
  /*padding: 12px 0;*/
  margin-bottom: 32px;
  width: 100%;
  position: relative;
}
.roster-block h2 {
  margin: 0;
  text-transform: uppercase;
  font-weight: normal;
}
.roster-block h3 {
  margin: 6px 0 0;
  font-weight: normal;
}
.roster-block .btt {
  font-size: 10px;
  /*margin-top: -12px;
  position: absolute;
  right: 0;*/
}

.roster-block table {
  background-color: #F5F5DC;
  /*min-width: 800px;*/
  border-collapse: collapse;
  border: 1px solid maroon;
  margin-bottom: 12px;
}
.roster-block table thead tr {
  background-color: #FFE4C4; /* #EEE */
  text-align: left;
  /*border-bottom: 2px solid maroon;*/
}
.roster-block table tr, .roster-block table td, .roster-block table th {
  border: 1px solid maroon;
  padding: 2px;
}
.roster-block table th:nth-child(1) { width: 160px; }
.roster-block table.roster-incidental th:nth-child(1), .roster-block table.roster-incidental td:nth-child(1) { display: none; }
.roster-block table th:nth-child(2) { width: 80px; }
.roster-block table th:nth-child(3) { width: 80px; }
.fl {
  float: right;
  font-size: xx-small;
  margin: 4px 0 0 4px;
}
.roster-img {
  float: left;
  text-align: center;
  padding: 4px;
}
/*.roster-img img {
  max-height: 90px;
  max-width: 100%;
}*/

/*.roster-block table tbody tr:nth-child(odd) {
  background-color: rgba(255, 255, 255, 0.4);
}*/


/* labels page */
#labels input {
  max-width: 100%;
}
#labels ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
#labels li {
  display: inline-block;
  margin: 6px; /*0 6px 2px 0*/
  min-width: 45px;
}



/*table.sortable th {
  cursor: pointer;
}
table.sortable th.sorttable_nosort {
  cursor: auto;
}
table.sortable th:not(.sorttable_nosort):after {
  content: " ";
  display: block;
  line-height: 100px;
  vertical-align: middle;
  float: right;
  width: 12px;
  height: 12px;
  margin: 4px 0;
  background: url(data:image/gif;base64,R0lGODlhCwALAJEAAAAAAP///xUVFf///yH5BAEAAAMALAAAAAALAAsAAAIUnC2nKLnT4or00PvyrQwrPzUZshQAOw==) no-repeat center right;
}
table.sortable th.sorttable_sorted:after {
  background:url(data:image/gif;base64,R0lGODlhCwALAJEAAAAAAP///xUVFf///yH5BAEAAAMALAAAAAALAAsAAAIRnC2nKLnT4or00Puy3rx7VQAAOw==) no-repeat center right;
}
table.sortable th.sorttable_sorted_reverse:after {
  background:url(data:image/gif;base64,R0lGODlhCwALAJEAAAAAAP///xUVFf///yH5BAEAAAMALAAAAAALAAsAAAIPnI+py+0/hJzz0IruwjsVADs=) no-repeat center right;
}*/
