html, body {
	/* Allow the #wrapper div to stretch 100% in both directions */
  height: 100%;
	width: 100%;
	margin: 0;
	}

@media (max-width: 599px), (max-height: 700px) {
  .BRicon.book_up, .BRicon.book_down, .zoom, .page, .BRicon.two_page_mode {
    display: none;
  }
  .BRicon.full_screen_view {
  	background-position: 0 -443px;
  }
  /* #BookReaderSearch {
      position:fixed;
      top: 0;
      right: 0;
      bottom: 0;
      /* left: 75px;
      width: 90%; */
  } */
}

.menuIcon {
  display: none;
  font-size: x-small;
}

.itemGroup {
  display: contents;
}

@media (max-width: 900px) {
  div#BookReaderSearch {
    /* display: none; */
    background-color: transparent;
  }
  #BookReader {
    /* right: 5px; */
  }
}
@media screen and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {

	div#BRtoolbar {
		-webkit-transform: scale(2,2);
		width: 50% !important;
		-webkit-transform-origin: top left;
		height: 52px !important;
	}
  div#BookReader {
    right: 0;
    left: 0;
  }
	#BRtoolbarbuttons {
		float:none !important;
	}

	div#BRcontainer {
		top:104px;
	}

	div.custom-tweet-button {
		/* float:right !important; */
		position: fixed;
		/* right: 0; */
		/* top:0; */
    display: inline-flex;
	}
  span.css-17v7rf0 {
    height: 48px;
    width: 48px;
    opacity: 75%;
    font-size: xx-large;
  }
  div#container-body {
      height: calc(100% - 125px);
  }
}
html > body #container-body {
  position: relative;
  height: calc(100% - 108px);
  padding: 0;
  margin: 2px auto -17px auto;
}

#breadcrum * {
  display: inline;
  }

html > body > div.m-2{
  bottom: 0;
  margin: 0;
  padding-top: 39px;
  margin-top: -50px;

}

#footer-nav > div:nth-child(1) {
  display: none;
}

/* div.row.mt-3 {
  display: block;
} */
/* div.row {
  display: none;
} */

#BookReader {
 font-family: arial, sans-serif;
}

#BRtoolbar {
    width:100%;
	height: 26px;
	position: absolute;
	background: #1e1f1e url(../../ui/book_files/bgToolbar.gif) repeat-x;
	}

#BRtoolbarbuttons {
	border-right: 1px solid #0d0d0d;
	border-left: 1px solid #363636;
	}

#BRtoolbar .label {
    font-size: 10px;
	position: relative;
	color: #a0a0a0;
	text-transform: uppercase;
	text-shadow: 0px -1px 0px #000;
filter: dropshadow(color=#000000, offx=0, offy=-1);
	padding: 7px 10px 0;
	height: 26px;
	float: left;
	/* width: 7.5em; */
	white-space: nowrap;
	overflow: hidden;
	text-align: center;
	border-left: 1px solid #0d0d0d;
	border-right: 1px solid #363636;
}

#BRtoolbar .BRpageform .label {
	padding-top: 0;
	}

#BRtoolbar #BRzoom {
	color: white;
	}
#BRtoolbar #BRpagenum {
	color: white;
	background-color: black;
	border: none;
overflow: hidden;
	width: 3.5em;
	padding: 4px;
	position: relative;
	margin-left: .4em;

	}

#BRcontainer {
    top:26px;
    bottom:0px;
    width:100%;
    overflow-x:auto;
    overflow-y:scroll;
    position:absolute;
    background-image: url(../../ui/book_files/background.gif);
	  background-color: #4f5152;
}

.BRfullScreen {
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    position: fixed;
}
.BRSearchfullScreen {
    top:0;
    right: 0;
    bottom: -54px;
    position: fixed;
}

.brSearchForm {
  /* margin: 0; */
}


#BRpageview {
	}

.BRpagediv1up {
    background-color: #FFFFEE;
    overflow:hidden;
    cursor: move;
  	-webkit-box-shadow: 0px 4px 8px #000000;
    -moz-box-shadow: 0px 4px 8px #000000;
    box-shadow: 0px 4px 8px #000000;
    text-align: center;
}

.BRpagediv1up img {
    background-color: white;
}

.BRpagedivthumb {
    background-color: #EEE;
    overflow:hidden;
	-webkit-box-shadow: 0px 2px 4px #000000;
-moz-box-shadow: 0px 2px 4px #000000;
box-shadow: 0px 2px 4px #000000;
}

.BRpagedivthumb a {
    border: 0;
}

.BRpagedivthumb img {
    border: 0;
}

/* Must come after .BRpagedivthumb rules in order to override them */
.BRpagedivthumb_highlight {
    background-color: #FFFFEE;
    overflow:hidden;
    border: 1px solid #000000;
}

.BRpagediv2up {
    background-color: rgb(234, 226, 205);
    overflow:hidden;
}

#BRbookcover {
    border: 1px solid rgb(68, 25, 17);
    background-color: #663929;
    -moz-border-radius: 6px;
    -moz-box-shadow: 3px 3px 8px #222;
    -webkit-border-radius: 6px;
    -webkit-box-shadow: 2px 2px 8px #222;
}

.BRpageimage {
    background-color: rgb(234, 226, 205);
}

.BRleafEdgeR {
    border-style: solid solid solid none;
    border-color: rgb(51, 51, 34);
    border-width: 1px 1px 1px 0px;
    background: transparent url(images/right_edges.png) repeat scroll 0% 0%;
    position: absolute;
}

.BRleafEdgeL {
    border-style: solid none solid solid;
    border-color: rgb(51, 51, 34);
    border-width: 1px 0px 1px 1px;
    background: transparent url(images/left_edges.png) repeat scroll 0% 0%;
    position: absolute;
}

.BRleafEdgeTmp {
    border-style: solid none solid solid;
    border-color: rgb(51, 51, 34);
    border-width: 1px 0px 1px 1px;
    background: transparent url(images/left_edges.png) repeat scroll 0% 0%;
    position: absolute;
}

#BRbookspine {
    border: 1px solid rgb(68, 25, 17);
    background-color: rgb(68, 25, 17);
    position: absolute;
}
#BRbooktitle {

/*
	position:absolute;
	text-align:center;
	left: 0px;
    right: 0px;*/
}

/* search sidebar */
#BookReaderSearch {
    font-family: arial, sans-serif;
}

#BookReaderSearch form {
	background-image: url(../../ui/book_files/bgSidebarToolbar.gif);
	height: 26px;
	background-color: red;
  margin: 0;
}

.BookReaderSearchHilite {
    opacity: 0.20;
    filter: alpha(opacity = 20);
    background-color: #00f;
    position:absolute;
}

.BRpageform {
    display: inline;
}

.BRicon {
    width: 29px;
    height: 27px;
    padding: 0px;
    margin: 0px;
    vertical-align: middle;
    border: none;
	background: transparent url(../../ui/book_files/bookreader-toolbar-sprites.png) no-repeat left top;
	float: left;
}

.BRicon.full_screen_view {
	background-position: 0 0;
	}
.BRicon.one_page_mode {
	background-position: 0 -26px;
	}
.BRicon.two_page_mode {
	background-position: 0 -52px;
	}
.BRicon.thumbnail_mode {
	background-position: 0 -78px;
	}
.BRicon.zoom_out {
	background-position: 0 -104px;
	}
.BRicon.zoom_in {
	background-position: 0 -130px;
	}
.BRicon.book_leftmost {
	background-position: 0 -156px;
	}
.BRicon.book_left {
	background-position: 0 -182px;
	}
.BRicon.book_right {
	background-position: 0 -208px;
	}
.BRicon.book_rightmost {
	background-position: 0 -234px;
	}
.BRicon.book_top {
	background-position: 0 -260px;
	}
.BRicon.book_up {
	background-position: 0 -286px;
	}
.BRicon.book_down {
	background-position: 0 -312px;
	}
.BRicon.book_bottom {
	background-position: 0 -338px;
	}
.BRicon.help {
	background-position: 0 -364px;
	}
.BRicon.twitter-share-button {
  background-position: 0 -390px;
  }
.BRicon.crop {
  background-position: 0 -416px;
  }
.BRicon.pdf {
  background: url(../../ui/book_files/pdf-icon.png) no-repeat;
  background-position: 5px 0;
  }

/* Absolute path used since the html might be generated at /stream/id or elsewhere */
.BRicon.logo { background: url(images/logo_icon.png) no-repeat; }
.BRicon.embed { background: url(images/embed_icon.png) no-repeat; }


.BRicon.play { background: url(images/control_play_icon.png) no-repeat; }
.BRicon.pause { background: url(images/control_pause_icon.png) no-repeat; }

/* Icons with this class should have a 48x24 image which contains
   the regular and hover images side-by-side */
.BRicon.rollover:hover {
	background-position-x: -30px;
	cursor: pointer;
	}
.BRicon.rollover:active {
	background-position-x: -60px;
	cursor: pointer;
	}

/* Special logic for the logo, which is an actual link */
a.BRicon {
    display: block;
    text-decoration: none;
    border: none;
    float: left;
}

/* footer stuff, from Rebecca's demo */
#BRfooter {
    position:absolute;
    bottom: 1px;        /* ensure no vertical scroll bar in FF */
    left: 0px;
    /*width: 100%;*/    /* this causes horizontal scroll bar in FF */
    right: 0px;
    clear: both;
    color: #000000;
    padding: 0px 0px 0px 10px;
    background: #CCCCCC;
    height: 2em;
    line-height: 25px;
    vertical-align: middle;
    font-family: arial, sans-serif;
    font-size: 12px;
}

.BRlogotype {
    float:left;
    font-weight: bold;
    height: 25px;
    line-height: 25px;
    vertical-align: middle;
}

a.BRwhite               { color: #fff }
a.BRwhite:hover         { text-decoration: none; }
a.BRwhite:visited       { color: #fff }

a.BRblack           { color: #000000 }
a.BRblack:hover     { text-decoration: none; }
a.BRblack:visited   { color: #000000 }

#BRtoolbar .English {
	font-family: Georgia, "Times New Roman", Times, serif;
	position: relative;
	top: 2px;
	}

.BRnavlinks {
    float:right;
    padding: 0px 20px 0px 0px;
    margin: 0px;
    height: 25px;
    line-height: 25px;
    vertical-align: middle;
}

/* thumnbail view, from Rebecca's demo */
.BRpdstatus-footer {
    position:absolute;
    height: 65px;
    bottom: 25px;
    width: 100%;
    background-color: #f8f8f8;
    border-top: 1px solid #ccc;
    text-align: right;
    padding: 0px 0px 0px 0px;
}

.BRwidgetlabel {
    color: #919070;
    padding: 8px 8px 4px 8px;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 10px;
    float: left;
}

.BRfliparea {
    background-image: url(images/transparent.png); /* Required to capture mouse on IE*/
}

.BRtwoPagePopUp {
    border: 1px solid black;
    padding: 2px 6px;
    position: absolute;
    font-family: sans-serif;
    font-size: 14px;
    background-color: rgb(255, 255, 238);
    opacity: 0.85;
}

.jcrop-tracker {
  touch-action: none;
}


#ReaderMask {
	top: -100px;
	bottom: -53px;
	right: -1px;
	left: -1px;
	position: absolute;
	background-color: #000000;
	filter: alpha( opacity = 75);
	z-index: 2;
	}

#BookReader {
	/*right: 345px;*/
	z-index: 3;
	min-width: 526px;
	}

#BookReaderSearch {
	width: 340px;
	right: 5px;
	top: 50px;
	bottom: 5px;
	z-index: 3;
	}

#BookReaderSearch a {
	text-decoration: none;
	/*color: #000000;	*/
	-webkit-transition: background .2s ease-out;
	-moz-transition: background .2s ease-out;
	-o-transition: background .2s ease-out;
	transition: background .2s ease-out;
}

.Urdu#BookReaderSearchResults > h3 > a {
  font-size: larger;
}
#BookReaderSearchResults > div > ul > li > a {
  min-width: 48px;
  min-height: 48px;
  font-size: larger;
  display: -webkit-inline-box;
}

#BookReaderSearchResults {
    top: 0;
    bottom: 0px;
    overflow: hidden;
    position: absolute;
    left: 0px;
    right: 0px;
    /*font-size: 11px;*/
}

#accordianParent {
    top: 25px;
    bottom: 0px;
    overflow:auto;
    position: absolute;
    left: 0px;
    right: 0px;
    /*font-size: 11px;*/
}

#BookReaderSearch li li.jstree-leaf a {
	padding-left: 72px;
	width: 284px;
	}

	#BookReaderSearch li li a {
		padding-left: 54px;
		width: 284px;
		margin-left: -54px;
		}

			#BookReaderSearch li li li.jstree-leaf a {
				padding-left: 70px;
				width: 268px;
				}

			#BookReaderSearch li li li a {
				padding-left: 56px;
				width: 264px;
				margin-left: -54px;
				}

				#BookReaderSearch li li li li.jstree-leaf a {
					padding-left: 70px;
					width: 250px;
					margin-left: -54px;
					}
				#BookReaderSearch li li li li a {
					padding-left: 70px;
					width: 250px;
					margin-left: -72px;
					}
					#BookReaderSearch li li li li li.jstree-leaf a {
						padding-left: 82px;
						width: 238px;
						margin-left: -72px;
						}
					#BookReaderSearch li li li li li a {
						padding-left: 70px;
						width: 250px;
						margin-left: -72px;
						}


#BookReaderSearch a:hover {
	color: #056700 !important; /* remove important after inline style is removed */
	background-color: white;

	}


	#BookReaderText {
		font-size:large;
		background-color:#FFF;
		}

	#BookReaderText a:link    {
	  /* Applies to all unvisited links */
	  text-decoration:  none;
	  font-weight:      bold;
	  }
	#BookReaderText a:visited {
	  /* Applies to all visited links */
	  text-decoration:  none;
	  font-weight:      bold;
	  }
	#BookReaderText a:hover   {
	  /* Applies to links under the pointer */
	  text-decoration:  none;
	  font-weight:      bold;
	  color:			#000;

	  }
	#BookReaderText a:active  {
	  /* Applies to activated links */
	  text-decoration:  none;
	  font-weight:      bold;
	}

/*
#BookReaderSearch li:hover {
	background-color:#CCCCCC;
}*/

.Urdu #BookReaderSearch {
	font-family: "Jameel Noori Nastaleeq", "Nafees Web Naskh", "Urdu Naskh Asiatype", "Nafees Web Naskh";
	text-align: right;
	direction: rtl;
	}

#BRbooktitle {
	white-space: nowrap;
	display: inline;
	padding: 3px 0 0 8px;
}

.Urdu #BRbooktitle {
	padding-top:0px;
}

#BRbooktitle a {
	color: #616364;
	text-decoration: none;
	text-transform: uppercase;
	text-shadow: 0px 1px 0px rgba(255,255,255,0.35);
	filter: dropshadow(color=#ffffff, offx=0, offy=-1);
	/*font-size: 10px;*/
	font-weight: bold;
	}

.English #BRbooktitle a {
	font-size: 10px;
}

div.BRSearchSlide {
  right: 338px;
}

.css-17v7rf0:hover {
  height: 48px;
  width: 48px;
  opacity: 75%;
  font-size: xx-large;
}
.brSearchForm a,.css-17v7rf0 {
  z-index: 500;
}

.css-17v7rf0 a {
  font-size: larger;
}
.css-17v7rf0 {
  /* span tag for menu icon */
  left:0;
  display: none;
  text-align:center;
  background-image: initial;
  background-position-x: 0px;
  background-position-y: center;
  background-size: initial;
  background-repeat-x: initial;
  background-repeat-y: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: #999;
  border-top-width: 0px;
  border-right-width: 0px;
  border-bottom-width: 0px;
  border-left-width: 0px;
  border-top-style: initial;
  border-right-style: initial;
  border-bottom-style: initial;
  border-left-style: initial;
  border-top-color: initial;
  border-right-color: initial;
  border-bottom-color: initial;
  border-left-color: initial;
  border-image-source: initial;
  border-image-slice: initial;
  border-image-width: initial;
  border-image-outset: initial;
  border-image-repeat: initial;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
  box-shadow: rgba(9, 30, 66, 0.0784314) 0px 0px 0px 1px, rgba(9, 30, 66, 0.0784314) 0px 2px 4px 1px;
  color: rgb(107, 119, 140);
  cursor: pointer;
  height: 24px;
  width: 24px;
  opacity: 1;
  outline-color: initial;
  outline-style: initial;
  outline-width: 0px;
  padding-top: 0px;
  position: absolute;
  top: 1px;
  transition-duration: 100ms, 100ms, 300ms, 300ms;
  transition-timing-function: linear, linear, cubic-bezier(0.2, 0, 0, 1), cubic-bezier(0.2, 0, 0, 1);
  transition-delay: initial, initial, initial, initial;
  transition-property: background-color, color, opacity, transform;
  transform: translate(-50%);
}
