/* book.css
 *
 */



/* ----------------------------------------------------------------
   Front page Table of Contents
 * ----------------------------------------------------------------*/

/* The chapter entries. */

div.plg-tableofcontents {
  margin-top: -1.75em;
}

div.plg-tableofcontents div.toplevel,
div.plg-tableofcontents div.chapter  {
  margin-left: 15px;
  margin-right: 0.5in;  
  margin-top: 0.5em;
  padding-left: 0px;
  font-weight: normal;  
  position: relative;
  box-sizing: border-box;  
  display: flex;
}

div.plg-tableofcontents div.chapter  {
  display: flex;
  align-items: center;
  flex-direction: row;
  box-sizing: border-box;
}

div.plg-tableofcontents .chapter .title,
div.plg-tableofcontents .toplevel .title {
  flex: 1;
  box-sizing: border-box;  
}

div.plg-tableofcontents div.toplevel a,
div.plg-tableofcontents div.chapter a {
  display: block;
  border-bottom: 1px solid #DDD; 
  font-size: 1.2em; 
  line-height: normal;
  color: black;
  background-color: #F0F0F0; 
  padding: 2px; 
  padding-left: 4px;
}

div.plg-tableofcontents div.toplevel a:hover,
div.plg-tableofcontents .chapter a:hover {
  text-decoration: none;
	color: #003380;  
	background-color: #ffffcc;
}

div.plg-tableofcontents .chapter .arrow {
  display: inline-block;
  padding-right: 4px;
  padding-left: 0px; /*5px;*/
  cursor: pointer;  
  width: 12px;
  font-size: 0.8em;
}

div.plg-tableofcontents .chapter .arrow.opened {
  transform: scale(1.0, 0.75);  
}

div.plg-tableofcontents .chapter .arrow.closed {
  transform: scale(0.75, 1.0);  
}


/* The section entries. */

div.plg-tableofcontents ul {
  margin-top: 1ex;  
  margin-left: 15px;
  margin-right: 0.5in;
  margin-bottom: 1em;
}

div.plg-tableofcontents ul li {
  display: block;
  font-weight: normal;
  list-style-type: none; 
  padding-top: 1px;
  padding-bottom: 1px;
}

div.plg-tableofcontents ul li a {
  box-sizing: border-box;
  display: inline-block;
  width: 100%;
  font-size:1em; 
  line-height: normal;
  border-bottom: none;
  margin-top: 0px;
  padding: 3px;
  padding-right: 0px;
  background-color: white;
  color: #003380;
  border-bottom: 1px dotted #888;
}

div.plg-tableofcontents ul li a:hover {
	text-decoration: none;
	color: #003380;
  background-color: #ffffcc;
}


div.plg-tableofcontents .toctoggle {
  text-align: right;
}

div.plg-tableofcontents .toctoggle img {
  width: 20px;
  padding-left: 2px;
  position: relative;
  top: -57px;
  cursor: pointer;
}

/* The page entries. */
div.plg-tableofcontents ul li.toc-depth-2 {
}

div.plg-tableofcontents ul li.toc-depth-3 {
  margin-left: 20px;  
}

div.plg-tableofcontents li.toc-depth-4 {
  margin-left: 40px;  
}

div.plg-tableofcontents li.toc-depth-5 {
  margin-left: 60px;    
}

/* ----------------------------------------------------------------
   The book side bar Table of Contents
 * ----------------------------------------------------------------*/

/*
#wikitoc {
  padding-top: 0px;
}

#wikitoc a {
  padding-top: 2px;
  padding-bottom: 2px;
}

#wikitoc ul {
  padding-left: 32px;
}

#wikitoc ul ul {
  list-style-type: circle;
  padding-left: 18px;
}

*/
/*
.toctitle {
  margin-bottom: 2ex;
}
*/

/* The chapter entries. */

div.plg-sidebarcontents {
  padding-left: 0px;  
  padding-right: 0px;
  border-bottom: 1px solid #F0F0F0;
}

div.plg-sidebarcontents a {
  text-decoration: none; 
  color: #303030;
  display: block; 
  padding-top: 0px;
  padding-bottom: 0px;  
}


div.plg-sidebarcontents ul {
  list-style-type: square; 
  margin: 0px;
  margin-left: 10px;
  padding-left: 35px;  
}

/*
div.plg-sidebarcontents ul ul {
  padding-left: 0px;
  margin: 0px;
}

div.plg-sidebarcontents ul ul li {
  margin: 0px;
}
*/


div.plg-sidebarcontents ul li a,
div.plg-sidebarcontents ul li a:visited {
  text-decoration: none; 
  color: #303030; 
  font-weight: normal; 
}

div.plg-sidebarcontents div.chapter:hover,
div.plg-sidebarcontents a:hover,
div.plg-sidebarcontents ul li a:hover {
  text-decoration: none;
  color: #003380; 
  background-color: #ffffcc;    
}



/*div.sidebarcontents*/ 
/*
.sidehead {
  padding: 4px 2px 4px 4px;
  font-weight:bold; 
  font-style:normal; 
  color: white;
  background-color: #ccc;  
  margin-top: 20px;
}
*/

div.plg-sidebarcontents .chapter {
  font-size: 1.15em;
  border-top: 1px solid #F0F0F0;
  min-height: 43px;
}


div.plg-sidebarcontents .chapter .title {
  padding-top: 0.85ex;
  display: inline-block;
}

div.plg-sidebarcontents .chapter a,
div.plg-sidebarcontents .chapter a:visited {
 /* padding-left: 4px;*/
}

div.plg-sidebarcontents .chapter.current a,
div.plg-sidebarcontents .chapter.current a:visited {
  font-weight: bold;
}


div.plg-sidebarcontents .toplevel {
  font-size: 1.2em;
  border-top: 1px solid #E8E8E8;
  line-height: 2.5em;  
  padding-left: 1ex;
}

div.plg-sidebarcontents .toplevel a,
div.plg-sidebarcontents .toplevel a:visited {
  padding-left: 4px;
}


div.plg-sidebarcontents .chapter .arrow {
  display: inline-block;
  padding-right: 5px;
  padding-left: 5px;
  cursor: pointer;  
  width: 12px;
  font-size: 0.8em;
  line-height: 2.0em;
}

div.plg-sidebarcontents .chapter .arrow.opened {
  transform: scale(1.0, 0.5);  
}

div.plg-sidebarcontents .chapter .arrow.closed {
  transform: scale(0.5, 1.0);  
}


div.plg-sidebarcontents .chapter .tocshow {
  display: block;
}


div.plg-sidebarcontents .chapter .tochide {
  display: none;
}

div.plg-sidebarcontents .toctoggle {
  text-align: right;
}

div.plg-sidebarcontents .toctoggle img {
  width: 16px;
  padding-left: 2px;
}

/* The page entries. */
div.plg-sidebarcontents ul li.toc-depth-2 {
}

div.plg-sidebarcontents ul li.toc-depth-3 {
  margin-left: 20px;  
}

div.plg-sidebarcontents li.toc-depth-4 {
  margin-left: 40px;  
}

div.plg-sidebarcontents li.toc-depth-5 {
  margin-left: 60px;    
}


/* ----------------------------------------------------------------
   chaptiles environment
 * ----------------------------------------------------------------*/

div.plg-chaptiles {
}

div.plg-chaptiles .group-descp {
  width: 6in;
  display: inline-block;
}

div.plg-chaptiles .group-descp p {
  margin-top: 0px;
  margin-bottom: 0px;
}

div.plg-chaptiles .chaptiles-grid {
  display: grid;
  gap: 35px;
  grid-template-columns: 3in 3in 3in;
  margin-top: 0.35in;
}

div.plg-chaptiles .chapter-tile {
  width: 3in;
  min-height: 2in;
  background-color: #e8e8e8;
  border: 1px solid #888;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 4px 4px 0 rgba(0, 0, 0, 0.19);
  background-image: url('card-bg.png');
  background-repeat: no-repeat;
  background-size: cover;
}

div.plg-chaptiles .chapter-tile:hover {
  cursor: pointer;
  position: relative;
  left: 1px;
  top: 1px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2);
}

div.plg-chaptiles .chapter-tile .title {
  background-image: url('navbg.gif');
  color: white;
  text-align: center;
  padding-top: 2px;
  padding-bottom: 2px;
}

div.plg-chaptiles .chapter-tile .title a,
div.plg-chaptiles .chapter-tile .title a:visited {
  color: white;
}

div.plg-chaptiles .chapter-tile .icon {
  display: table;
  background-color: white;
  height: 0.85in;
  width: 100%;
  border-bottom: 1px solid #ccc;
  text-align: center;
}

div.plg-chaptiles .chapter-tile .icon span {
  display: table-cell;
  vertical-align: middle;
}

div.plg-chaptiles .chapter-tile .descp {
  display: table;
  padding: 2ex;
  font-size: 0.95em;
  height: 1in;
}

div.plg-chaptiles .chapter-tile .descp span {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}