@charset "utf-8";
/* CSS Document */

#bookinfo{
	display: flex;
	justify-content: flex-start;
	align-items: flex-end;
	width: 100%;
	height: 136px;
	font-family: 'Lato', sans-serif;
	color: #fff;
	text-shadow: 1px 1px 1px #000;
	margin-bottom: 0;
	background-color: var(--secondary-color);
}


#bookinfowrap{
	margin: 0;
	padding: 0 10px 5px 10px;
	width: 100%;
}

#bookinfo strong {
	font-size: 17pt;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
	text-transform: uppercase;
	display: block;
	padding-right:15px;
}
#bookinfo span {
	font-size: 12pt;
	font-weight: normal;
	display: block;
}


#tocUL{
	font-family: 'Lato', sans-serif;
	height: calc(100vh - 200px);
	height: calc(100svh - 200px);
	background: #efefef;
	list-style: none;
	border-right: 1px solid #ddd;
	/*smooth scroll for ios*/
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
	
	/*scroll bar hide*/
	-ms-overflow-style: none;  
    scrollbar-width: none;  
}

#tocUL::-webkit-scrollbar { 
    display: none;  
}


#tocUL li.chapCompleted a:before{
	 content:  "\2713 ";
}

#tocUL li ul {
	list-style: outside none none;
}
#tocUL li a {
	color: #4e5e68;
	text-decoration: none;

}
/*TREE VIEW STYLES*/
#toclist, #toclist ul, #toclist li {
	position: relative;
}
#toclist ul {
	list-style: none;
	padding-left: 15px;
}

#toclist li ul {
	list-style: none;
	padding-left: 18px;
}

#toclist li::before, #toclist li::after {
	content: "";
	position: absolute;
	left: -12px;
}
#toclist li::before {
	border-top: 1px solid #000;
	top: 9px;
	width: 8px;
	height: 0;
}
#toclist li::after {
	border-left: 1px solid #000;
	height: 100%;
	width: 0px;
	top: 2px;
}
#toclist ul > li:last-child::after {
	height: 8px;
}

#toclist #tocUL li.level_0::before{
	border-left: 15px solid #000; 
	height: 1.5em;
	top: 0;
	width: 0;
	margin-left: -5px;
}

#toclist #tocUL li.level_0::after {
 border-left-width: 0;
}


#toclist #tocUL li.level_0 a.level_0 {
	margin-left: 0px;
}

/*END TREE VIEW STYLES*/

#toclist #tocUL a.level_0{
	font-size:1.1em;
	line-height: 1.5em;
}

#tocUL #level2Contain, #tocUL li.active a {
	background: #fff;
}
#tocUL li.active a{
	color: var(--primary-color);
}
#tocUL li.active a {
	font-weight: bold;
	display: inline-block;
	width: 100%;
}
#tocUL #level2Contain li a.active:after {
	content: '	➤ ';
	display: inline-block;
	-webkit-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-o-transform: rotate(180deg);
	transform: rotate(180deg);
	margin-left: 5px;
	vertical-align: middle;
}
#tocUL li.active #level2Contain li span {
	color: #b9b8b8;
	font-weight: bold;
	background: none;
}
#tocUL li.active #level2Contain li a {
	color: var(--secondary-color);
}

#tocUL li.active #level2Contain li a.active {
	color: var(--primary-color);
}

#tocUL li a.chapterLink span.checkMark{
	background-color: transparent;
	color: #FF552E;
	/*font-size: 1.5em;*/
	font-weight: bold;
	display:inline;
	padding-right: 5px;
}

#tabIcon {
	background: #000;
	text-align: center;
	width: 100vw;
	border: 1px solid #000;
	color: #596871;
	display: none;
  	cursor: pointer;
	position: fixed;
	bottom: 0;
}

#tabIcon .bar1, #tabIcon .bar2, #tabIcon .bar3 {
  width: 35px;
  height: 5px;
  background-color: #FFF;
  margin: 6px auto;
  text-align: center;
  transition: 0.4s;
}

/* Rotate first bar */
#tabIcon.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-9px, 6px) ;
  transform: rotate(-45deg) translate(-9px, 6px) ;
}

/* Fade out the second bar */
#tabIcon.change .bar2 {
  opacity: 0;
}

/* Rotate last bar */
#tabIcon.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-8px, -8px) ;
  transform: rotate(45deg) translate(-8px, -8px) ;
}

#theresMoreSB{
	display: none;
	position: absolute;
	bottom: 0;
	left: 335px;
	padding: 10px;
	font-size:1em;
	background-color: #000;
	color: #FFF;
}

#level2Contain .sideLocked{
	display: none;
}

body.mobileView #sidebar #tocUL{
	background-color: #efefef;
}

body.contrast #wrapper #sidebar *{
	color:  var(--primary-color);
}

body.contrast #wrapper #sidebar #tocUL li.active a{
	color:  var(--secondary-color);
}

