/*
body {
    background-color: #939598;
}
*/
.BookReader h3 {
  font-size: 20px;
  font-weight: 700;
  color: #dedede;
}
.BookReader a {
  outline: none;
}
.BookReader, .BRfloat {
  font-family: "Helvetica Neue", Arial, Verdana, sans-serif
}
.BookReader {
  font-size: 67.5%;
  margin: 0;
  padding: 0;
  background-color: #3a3b3b;
}

#BookReader {
 position:absolute;
 font-family: arial, sans-serif;
 left:0;
 right:0;
 top:0;
 bottom:0;
}

.BRcontainer {
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  overflow-x: auto;
  overflow-y: scroll;
  position: absolute;
  -webkit-overflow-scrolling: touch;
}

#BRpageview {
  position: relative;
}

.BRpagediv1up {
    overflow:hidden;
    cursor: move;
    background-color: #FEFDEB;
    -webkit-box-shadow: 1px 1px 2px #333;
    -moz-box-shadow: 1px 1px 2px #333;
    box-shadow: 1px 1px 2px #333;
}
.high-contrast .BRpagediv1up {
  background-color: white;
}

.BRpagedivthumb {
    background-color: #FEFDEB;
    overflow:hidden;
    -webkit-box-shadow: 1px 1px 2px #333;
    -moz-box-shadow: 1px 1px 2px #333;
    box-shadow: 1px 1px 2px #333;
}
.high-contrast .BRpagedivthumb {
  background-color: white;
}

.BRpagedivthumb a {
    border: 0;
}

.BRpagedivthumb img {
    border: 0;
}

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

#BRbookcover {
    position: absolute;
    background-image: none;
    -moz-box-shadow: 1px 0 10px #111;
    -webkit-box-shadow: 1px 0 10px #111;
    box-shadow: 1px 0 10px #111;
}

.BRpageimage {
    /* Bird Book */
    background-color: #FEFDEB;
}

.BRPreview .BRpageimage {
    background-color: #eee;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.BRemptypage {
    background-color: #3a3b3b;
}


/* Disable selection on Firefox and WebKit */
.BRnoselect {
    -moz-user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
}

.BRonePageImage {
    background: url(images/loading.gif) 50% no-repeat;
}

.BRleafEdgeR {
    /*
    border-style: solid solid solid none;
    border-color: rgb(51, 51, 34);
    border-width: 1px 1px 1px 0px;
    */
    background: transparent url(images/back_pages.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%; */
    background: transparent url(images/back_pages.png) repeat scroll 0% 0%; /* XXXmang replace file */
    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%; */
    background: transparent url(images/back_pages.png) repeat scroll 0% 0%; /* XXXmang replace file */
    position: absolute;
}

#BRgutter {
    /* border: 1px solid rgb(68, 25, 17); */
    position: absolute;
    z-index: 6;
    background: transparent url(images/booksplit.png) repeat scroll 0% 0%;
}

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

.hidden {
  display: none;
}

.BRpageform {
    display: inline;
}
#BRpagenum {
    border: none;
    background-color: #9A9B9D;
    color: #ccc;
    font-family: arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
}
#BRreturn {
    color: #333;
    font-size: 14px;
    line-height:35px;
    height: 100%;
    overflow-y: hidden;
    padding-top:7px;
    display:block;
    position: absolute;
}
#BRreturn span {}
#BRreturn a {
    /*color: #036daa;*/
    overflow: hidden;
}
.BRreturnTitle {
  font-size: 18px;
  font-weight:bold;
}
.BRicon {
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    vertical-align: middle;
    border: none;
    cursor: pointer;
    background-color: transparent;
    background-image: url(images/BRicons.png);
    background-repeat: no-repeat;
}

i.BRicon { display: inline-block; }
.BRicon.logo {background-position:0 0;}
.BRicon.info {background-position:-40px 0;}
.BRicon.share {background-position:-120px 0;}
.BRicon.read {background-position:-200px 0;}
.BRicon.unread {background-position:-280px 0;}
.BRicon.full {background-position:-360px 0;}
.BRicon.book_left {background-position:-440px 0;}
.BRicon.book_right {background-position:-520px 0;}
.BRicon.zoom_out {background-position:-600px 0;}
.BRicon.zoom_in {background-position:-680px 0;}
.BRicon.play {background-position:-760px 0;}
.BRicon.pause {background-position:-840px 0;}
.BRicon.twopg {background-position:-920px 0;}
.BRicon.onepg {background-position:-1000px 0;}
.BRicon.thumb {background-position:-1080px 0;}
.BRicon.fit {background-position:-1160px 0;}
.BRicon.fit:hover {background-position:-1200px 0;}
.BRicon.download {background-position:-1520px 0;}
.BRicon.return {background-position:-1440px 0;}
.BRicon.fb {background-position:-1600px 0;}
.BRicon.twitter {background-position:-1640px 0;}
.BRicon.email {background-position:-1680px 0;}
.BRicon.timeRemaining {background-position:-1720px 0;}
.BRicon.earlyCheckout {background-position:-1800px 0;}


.no-touch .BRicon.info:hover {background-position:-80px 0;}
.no-touch .BRicon.share:hover {background-position:-160px 0;}
.no-touch .BRicon.read:hover {background-position:-240px 0;}
.no-touch .BRicon.unread:hover {background-position:-320px 0;}
.no-touch .BRicon.full:hover {background-position:-400px 0;}
.no-touch .BRicon.book_left:hover {background-position:-480px 0;}
.no-touch .BRicon.book_right:hover {background-position:-560px 0;}
.no-touch .BRicon.zoom_out:hover {background-position:-640px 0;}
.no-touch .BRicon.zoom_in:hover {background-position:-720px 0;}
.no-touch .BRicon.play:hover {background-position:-800px 0;}
.no-touch .BRicon.pause:hover {background-position:-880px 0;}
.no-touch .BRicon.twopg:hover {background-position:-960px 0;}
.no-touch .BRicon.onepg:hover {background-position:-1040px 0;}
.no-touch .BRicon.thumb:hover {background-position:-1120px 0;}
.no-touch .BRicon.download:hover {background-position:-1560px 0;}
.no-touch .BRicon.return:hover {background-position:-1480px 0;}
.no-touch .BRicon.timeRemaining:hover {background-position:-1760px 0;}
.no-touch .BRicon.earlyCheckout:hover {background-position:-1840px 0;}


.touch .BRicon.info:active {background-position:-80px 0;}
.touch .BRicon.share:active {background-position:-160px 0;}
.touch .BRicon.read:active {background-position:-240px 0;}
.touch .BRicon.unread:active {background-position:-320px 0;}
.touch .BRicon.full:active {background-position:-400px 0;}
.touch .BRicon.book_left:active {background-position:-480px 0;}
.touch .BRicon.book_right:active {background-position:-560px 0;}
.touch .BRicon.zoom_out:active {background-position:-640px 0;}
.touch .BRicon.zoom_in:active {background-position:-720px 0;}
.touch .BRicon.play:active {background-position:-800px 0;}
.touch .BRicon.pause:active {background-position:-880px 0;}
.touch .BRicon.twopg:active {background-position:-960px 0;}
.touch .BRicon.onepg:active {background-position:-1040px 0;}
.touch .BRicon.thumb:active {background-position:-1120px 0;}
.touch .BRicon.download:active {background-position:-1560px 0;}
.touch .BRicon.return:active {background-position:-1480px 0;}
.touch .BRicon.timeRemaining:active {background-position:-1760px 0;}
.touch .BRicon.earlyCheckout:active {background-position:-1840px 0;}

a.logo {
  display: inline-block;
  width: 50px;
  height: 38px;
  margin: 0 25px;
  background: transparent no-repeat center center;
  background-size: contain;
  margin-top: 7px;
}
a.popOff {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background-image: url(images/BRicons.png);
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: -1050px 0;
}
a.popOff:hover {
    background-position: -1100px 0;
}
a.popOff span {
    position: absolute;
    left: -10000px;
}

form.booksearch {
    position:relative;
    top:8px;
}
form.booksearch.mobile {
    position:relative;
    top:0;
    display: flex;
    flex-direction: row;
}
form.booksearch input[type=search] {
    position:relative;
    min-width: 14em;
    height: 35px;
    font-size: 13px;
    -webkit-appearance: none;
    margin: 0 0 0 0;
    outline: none;
    border-radius: 0;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    box-sizing:border-box;
    display:block;
    float:left;
    padding: 0 4px 0 8px;
}
form.booksearch.mobile input[type=search] {
    position:relative;
    min-width: 14em;
    float:left;
    padding: 0 4px 0 8px;
    font-size: 14px;
    padding: 0 0 0 8px;
    width: 150px;
    min-width: inherit;
    float: left;
    font-size: 16px;
    flex: 1;

}
form.booksearch button {
  width: 35px;
  height: 35px;
  border: none;
  background-color: rgb(74,144,226);
  text-align: center;
  color: #fff;
  overflow: hidden;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  box-sizing:boder-box;
  display:block;
  float:right;

}
form.booksearch button img {
  position:relative;
  top: 2px;
}

.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: #000; }
a.BRblack:hover     { text-decoration: none; }
a.BRblack:visited   { color: #000; }

a.BRgrey           { color: #999; }
a.BRgrey:hover     { text-decoration: none; }
a.BRgrey:visited   { color: #666; }

.BRnavlinks {
    float:right;
    padding: 0 20px 0 0;
    margin: 0;
    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: #222;
    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 {
    /* Required to capture mouse on IE */
    background-image: url(images/transparent.png);
}

.BRtwoPagePopUp {
    padding: 6px;
    position: absolute;
    font-family: Arial, sans-serif;
    font-size: 11px;
    color: white;
    background-color: #9A9B9D;
    opacity: 0.85;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    white-space: nowrap;
}

/* COLORBOX POP-UP */

#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999;}
#cboxOverlay{position:fixed; width:100%; height:100%;background:#000;opacity:0.75;filter:Alpha(Opacity=75);}
#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
#cboxContent{position:relative;}
#cboxLoadedContent{display:flex;overflow:hidden;}
#cboxLoadedContent iframe{display:block;border:0;}
#cboxTitle{margin:0;display:none!important;}
#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:25px; left:25px; width:100%;}
#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
#cboxClose{display:none!important;}

.info-color-box-container {display:flex;flex-direction:column;overflow:hidden;}
.info-color-box-body {overflow-y:auto;}

/* per https://github.com/mozilla/pdf.js/issues/2071 */
/* hue-rotate(180deg) remains colors in images in their origin shades of colors. */
/* invert uses middle value */ 
.logo_style {
	max-width:60px;
	max-height:40px;
	filter:invert(64%) contrast(228%) brightness(100%) hue-rotate(180deg);
}

#colorbox{
  background: white;
  border: 2px solid #ccc;
  -webkit-border-radius:12px;
  -moz-border-radius:12px;
  border-radius:12px;
  -webkit-box-shadow: 0px 0px 27px 6px rgba(66, 66, 66, 0.8);
  -moz-box-shadow:    0px 0px 27px 6px rgba(66, 66, 66, 0.8);
  box-shadow:         0px 0px 27px 6px rgba(66, 66, 66, 0.8);
}
  #cboxWrapper {
    /*border:1px solid white;*/

  }
    #cboxContent {
      /*background:#fff;*/
      padding:0;

    }
        #cboxLoadedContent{
          /*background:#fff;*/
          margin:0;
        }
        #cboxLoadingOverlay{background:transparent;}

.shift{
    position:absolute!important;
    left:-10000px!important;
}


button.action {
  margin-left: 5px;
  margin-right: 5px;
  padding: 13px 30px;
  font-size: 14px;
  background-color: transparent;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  background-color: rgb(193,193,193);
  color: white;
  min-width: 150px;
  text-align: center;
}
button.action:active {
  background-color: rgb(171, 171, 171);
}
button.action.primary {
  background-color: #4990E2;
}
button.action.primary:active {
  background-color: #2a76cd;
}
button.action.caution {
  background-color: rgb(240,181,52);
}
button.action.caution:active {
  background-color: rgb(251, 191, 59);
}
button.action.red {
  background-color: rgb(192,57,43);
}
button.action.red:active {
  background-color: rgb(154, 43, 32);
}
button.action.orangeButton {
  background-color: transparent;
  border: 2px solid orange;
  color: orange;
}
button.action.orangeButton:active {
  border-color: rgb(249, 198, 19);
}
button.action.skinny {
  min-width:50px;
}

/*** end BRFloat ***/
div#BRpage {
    position: absolute;
    right: 0;
    width: 220px;
    padding-left:12px;
    text-align: right;
    margin-right: 4px;
}
div#BRpage .BRicon.book_left {
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
  border-right: 2px solid rgb(193,193,193);
  box-sizing: content-box;
}
div#BRpage .BRicon.book_right {
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
  box-sizing: content-box;
}
div#BRpage .BRicon.onepg {
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
  border-right: 2px solid rgb(193,193,193);
  box-sizing: content-box;
}
div#BRpage .BRicon.thumb {
  border-bottom-right-radius: 5px;
  border-top-right-radius: 5px;
  border-left: 2px solid rgb(193,193,193);
  box-sizing: content-box;
}

#BRcurrentpageWrapper {
  position: absolute;
  width: 100%;
  text-align: center;
  padding: 0 0 0 0;
  font-size: 1.1em;
  top: 5px;
}


div#BRfiller {
    position: absolute;
    height: 40px;
    width: 10px;
    background-color: white;
    top: 0;
    left: 0;
    z-index: 102;
}
div#slider {
    position: absolute;
    width: 2500px;
    height: 27px;
    top: 0;
    left: -2478px;
    background-color: #000;
    opacity: .1;
    z-index: 101;
}
div#pager {
    position: absolute;
    width: 23px;
    height: 27px;
    top: 0;
    left: 8px;
    background: url(images/slider.png);
    z-index: 103;
}
div#pagenum {
    display: none;
    position: absolute;
    left: 24px;
    top: -2px;
    font-size: 11px;
    line-height: 19px;
    font-weight: 700;
    padding: 0 5px;
    width: 80px;
    text-align: right;
    background-color: white;
    border: 2px solid #ccc;
    /*font-family: "Lucida Grande", "Arial", sans-serif;*/
}
div#pagenum span {
    /*color: #ffa337;*/
    color: rgb(36,94,131);
    font-style: italic;
}
div.chapter {
    position: absolute;
    top: 0; /* Relative to nav line */
    width: 18px;
    margin-left: -9px; /* Center marker triangle */
    height: 27px;
    background: transparent url(images/marker_chap-off.png) no-repeat;
    cursor: pointer;
}
div.chapter.front {
    background: transparent url(images/marker_chap-on.png) no-repeat;
}
div.chapter div.title {
    display: none;
}
div.title span {
    color: #666;
    padding: 0 5px;
}
div.search {
    position: absolute;
    width: 18px;
    margin-left: -9px; /* Center icon */
    height: 27px;
    bottom: 0;  /* Relative to nav line */
    background-color: transparent;
    background-image: url(images/marker_srch-off.png);
    background-repeat: no-repeat;
    cursor: pointer;
}
div.search.front {
    background: transparent url(images/marker_srch-on.png) no-repeat;
}
div.search div.query,div.searchChap div.query {
    display: none;
}
div.query {
    position: relative;
}
div.query strong {
    color: #000;
    font-weight: 700;
}
div.query span {
    font-size: 10px;
    color: #666;
    font-style: italic;
}
div.query div.queryChap {
    position: absolute;
    top: -40px;
    left: -13px;
    width: 256px;
    overflow: hidden;
    text-align: center;
    background: #000;
    padding: 5px 10px;
    color: #fff;
    font-weight: 700;
    font-size: 11px;
}
div.query div.queryChap span {
    color: #666;
    padding: 0 5px;
    font-style: normal;
}
div.search div.pointer {
    position: absolute;
    left: 121px;
    bottom: -14px;
    width: 18px;
    height: 27px;
    background: transparent url(images/marker_srch-on.png) no-repeat;
}
div.searchChap {
    position: absolute;
    top: -13px;
    width: 18px;
    height: 27px;
    background-color: transparent;
    background-image: url(images/marker_srchchap-off.png);
    background-repeat: no-repeat;
    cursor: pointer;
}
div.searchChap.front {
    background-image: url(images/marker_srchchap-on.png);
}
#mobileSearchResultWrapper {
    margin-top: 20px;
}
.mobileNumResults {
    margin-bottom: 10px;
}
.mobileSearchResult {
    display: block;
    font-size: 14px;
    margin-bottom: 15px;
    text-decoration: none;
    color: black;
}
.mobileSearchResult:active {
    color: rgb(74, 144, 226);
}
.mobileSearchResult .pageDisplay {
    text-decoration: underline;
    color: rgb(74, 144, 226);
    display: block;
    margin-bottom:3px;
}
.mobileSearchResult .searchImgPreview {
    width: 50px;
    height: auto;
    margin-right:5px;
}
.mobileSearchResult table td{
    vertical-align: top;
}
#BRnav .front {
    z-index: 10001;
}
div#BRzoomer {
    position: fixed;
    bottom: 40px;
    right: 0;
    width: 26px;
    height: 190px;
    z-index: 100;
}
div#BRzoompos {
    position: relative;
    width: 26px;
    height: 190px;
    top: 0;
    left: 0;
}
div#BRzoomer button {
    position: absolute;
    left: 0;
    background-color: white;
    width: 26px;
}
div#BRzoomer button:hover {
    background-color: #000;
}
div#BRzoomer .zoom_out {
    top: 0;
    -webkit-border-top-left-radius: 6px;
    -webkit-border-bottom-left-radius: 6px;
    -moz-border-radius-topleft: 6px;
    -moz-border-radius-bottomleft: 6px;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    -webkit-box-shadow: 2px 2px 2px #333;
    -moz-box-shadow: 2px 2px 2px #333;
    box-shadow: 2px 2px 2px #333;
}
div#BRzoomer .zoom_in {
    bottom: 0;
    -webkit-border-top-left-radius: 6px;
    -moz-border-radius-topleft: 6px;
    border-top-left-radius: 6px;
}
div#BRzoomcontrol {
    position: relative;
    top: 40px;
    left:3px;
    width: 23px;
    height: 110px;
}
div#BRzoomstrip {
    position: absolute;
    top: 0;
    left: 0;
    width: 23px;
    height: 110px;
    background-color: #000;
    opacity: .1;
}
div#BRzoombtn {
    position: absolute;
    width: 23px;
    height: 23px;
    top: 0;
    left: 0;
    background: url("images/icon_zoomer.png");
}


.BRprogresspopup {
    position: absolute;
    background-color: #e6e4e1;
    border: none!important;
    font-size: 1.5em;
    z-index: 3;
    padding: 20px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    -moz-box-shadow: 1px 0 3px #000;
    -webkit-box-shadow: 1px 0 3px #000;
    box-shadow: 1px 0 3px #333;
    min-width: 300px;
}

.BRprogresspopup .close-popup {
  position: absolute;
  top: 0;
  right: 0;
  width: 30px;
  width: 30px;
  padding: 0;
  border: 0;
  background-color: transparent;
}
.BRprogresspopup .close-popup .icon.icon-close-dark {
  position: absolute;
  top: 5px;
  right: 5px;
}

.BRprogressbar {
    background-image: url("images/progressbar.gif");
    background-repeat:no-repeat;
    background-position:center top;
}

.BRnavCntl {
    background-color: #868686;
    position: absolute;
    right: 20px;
    width: 40px;
    height: 30px;
    cursor: pointer;
}
#BRnavCntlBtm {
    bottom: 50px;
    -moz-border-radius-topright: 8px;
    -webkit-border-top-right-radius: 8px;
    -moz-border-radius-topleft: 8px;
    -webkit-border-top-left-radius: 8px;
}
#BRnavCntlBtm:hover {
    background-color: rgb(74, 144, 226);
}
#BRnavCntlTop {
    top: 40px;
    -moz-border-radius-bottomright: 8px;
    -webkit-border-bottom-right-radius: 8px;
    -moz-border-radius-bottomleft: 8px;
    -webkit-border-bottom-left-radius: 8px;
    display: none;
}
.BRup {
    background-image: url("images/nav_control-up.png");
    background-repeat: no-repeat;
}
.BRdn {
    background-image: url("images/nav_control-dn.png");
    background-repeat: no-repeat;
}
#BRnavCntlBtm.BRup,#BRnavCntlBtm.BRdn {
    background-position: 8px 4px;
}
#BRnavCntlTop.BRup,#BRnavCntlTop.BRdn {
    background-position: 8px 4px;
}


/************ new styles for general purpose book reader ***********/

body {-webkit-text-size-adjust: none; }
/*nav:not(.mm-menu) {	display: none; }*/
nav { font-family: Arial, Helvetica, Verdana; }
.header,
.footer {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
}
.header.fixed {
	position: fixed;
	top: 0;
	left: 0;
	z-index:100000;
}
.footer.fixed {
	position: fixed;
	bottom: 0;
	left: 0;
}
.header .hamburger a {
	background: center center no-repeat transparent;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABsAAAATCAYAAABhh3Y4AAAAAXNSR0IArs4c6QAAAFZJREFUSA1jrKmpafv//38xELMx0AgwMjL+AuJeFqAlubS0COR+qPm5TED2FJDNNPIU2FiozybT0o5Rs4dBCDCO5jNKYnE0n1ESeiNI72g+oyiyYfkMAKCpRQemMsj0AAAAAElFTkSuQmCC');
	display: block;
	width: 40px;
	height: 40px;
	position: absolute;
	top: 0;
	left: 10px;
}

/** some helper functional css utilities */
.tl { text-align: left; }
.tc { text-align: center; }
.tr { text-align: right; }
.ph10 { padding-left: 10px; padding-right: 10px; }
.ph20 { padding-left: 20px; padding-right: 20px; }
.ph50 { padding-left: 50px; padding-right: 50px; }
.pv10 { padding-top: 10px; padding-bottom: 10px; }
.pv20 { padding-top: 20px; padding-bottom: 20px; }
.pv50 { padding-top: 50px; padding-bottom: 50px; }
.pt10 { padding-top: 10px; }
.pb10 { padding-bottom: 10px; }
.mv10 { margin-top: 10px; margin-bottom: 10px; }
.mv20 { margin-top: 20px; margin-bottom: 20px; }
.mv50 { margin-top: 50px; margin-bottom: 50px; }
.mb10 { margin-bottom: 10px; }
.mb20 { margin-bottom: 20px; }
.mt10 { margin-top: 10px; }
.mt20 { margin-top: 20px; }
.nowrap { white-space: nowrap; }
.grey { color: grey; }
.lighter { font-weight: lighter; }
.f14 { font-size: 14px; }
.b { font-weight: bold; }
.i { font-style: italic; }
.smaller { font-size: .8em; }
.larger { font-size: 1.2em; }
.loader { background: url(images/loading.gif) no-repeat 50%; height: 16px; min-width: 16px;}

@media (max-width: 800px) {
  .smaller-sm { font-size: .8em; }
  .ph10-sm { padding-left: 10px; padding-right: 10px; }
  .ph20-sm { padding-left: 20px; padding-right: 20px; }
  .ph50-sm { padding-left: 50px; padding-right: 50px; }
  .pv10-sm { padding-top: 10px; padding-bottom: 10px; }
  .pv20-sm { padding-top: 20px; padding-bottom: 20px; }
  .pv50-sm { padding-top: 50px; padding-bottom: 50px; }
  .pt10-sm { padding-top: 10px; }
  .pb10-sm { padding-bottom: 10px; }
}

@media (min-width: 801px) {
  .smaller-lg { font-size: .8em; }
  .ph10-lg { padding-left: 10px; padding-right: 10px; }
  .ph20-lg { padding-left: 20px; padding-right: 20px; }
  .ph50-lg { padding-left: 50px; padding-right: 50px; }
  .pv10-lg { padding-top: 10px; padding-bottom: 10px; }
  .pv20-lg { padding-top: 20px; padding-bottom: 20px; }
  .pv50-lg { padding-top: 50px; padding-bottom: 50px; }
  .pt10-lg { padding-top: 10px; }
  .pb10-lg { padding-bottom: 10px; }
  .mv10-lg { margin-top: 10px; margin-bottom: 10px; }
  .mv20-lg { margin-top: 20px; margin-bottom: 20px; }
  .mv50-lg { margin-top: 50px; margin-bottom: 50px; }
}

.DrawerIconWrapper {
  display: block;
  float: left;
  width: 20px;
  height:20px;
  margin-right: 10px;
  text-align: center;
  position:relative;
}
.DrawerIcon {
  height: 18px;
  width: auto;
  position: absolute;
  left:0;
  top:1px;
}
.DrawerSettingsTitle { color: #4990E2; font-size: 14px; font-weight: bold; margin-bottom: 10px; }
.DrawerSettingsWrappper {}
.DrawerSettingsLayoutWrapper {text-align: center; padding: 0; margin-bottom: 20px;}
.DrawerLayoutButton {
  border:none;
  background:none;
  color: #4990E2;
  line-height: 18px;
}
.DrawerLayoutButton:active {color: grey;}

#BRshare div.share-title { margin: 15px 15px 0; font-weight: bold; font-size: 18px; line-height: 22px; }
#BRshare div.share-social { margin: 15px 15px 0;}
#BRshare div.share-social button { padding: 0 5px; height: 40px; text-align: left;}
#BRshare div.share-social button > i { margin-right: 5px; }
#BRshare div.share-social > div { display: inline; }
#BRshare div.share-embed { margin-top: 20px; }
div.share-social button.facebook-share-button { background-color: #3a5998; }
div.share-social button.twitter-share-button { background-color: #429aff; }
div.share-social button.email-share-button { background-color: #c1c1c1; }

.BRfloat button[type=button].share-finished {
  background-color: rgb(74,144,226);
  border: 0;
  color: white;
  border-radius: 3px;
  padding: 10px 25px;
  font-size: 15px;
}
#BRshare.BRfloat {
  width: 600px;
}
.BRfloat label.sub.open-to-this-page { display: block; }

.BRtoolbarMobileTitle { overflow:hidden; width: 100%; }

body.high-contrast #BRpageview img,
body.high-contrast #BRtwopageview img {
  -webkit-filter: grayscale(100%) brightness(120%);
  filter: grayscale(100%) brightness(120%);
}

/* Forked from Bootstrap */
.form-control {
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
  -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s
}
.form-control:focus {
  border-color: #66afe9;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6)
}

.mm-menu .mm-navbar a, .mm-menu .mm-navbar>* {
  color: black;
  font-size: 14px;
}
.mm-menu { background: rgb(247,247,247); }
.mm-panel { font-size: 12px; }
.mm-panel h1 { margin-top: 0; color: rgb(36,94,131); font-size: 14px;}

/* Needed to override mmenu style */
html.mm-background .BookReader {
  background-color: #3a3b3b;
}

.BRtoolbar .BRmobileHamburgerWrapper { display: none; }

/* Responsive Utiltities */
/* Desktop */
@media (min-width: 801px) {
  .hide-desktop { display: none; }
}
/* Mobile */
@media (max-width: 800px) {
  .desktop-only { display: none; }
  .hide-mobile { display: none; }
}

/* Mobile Only */
@media (max-width: 800px) {
  div#BRnavpos { margin-right: 90px; }
  .BRtoolbar { height: 40px; }
  .BRtoolbar.responsive .BRtoolbarbuttons { display: none; }
  .BRtoolbar.responsive .BRmobileHamburgerWrapper { display: block; }
  .BRtoolbar .BRmobileHamburgerWrapper { padding: 0 30px 0 50px; display: block; }
  .fieldset-embed { display: none; }
  .header.responsive {
    height: 40px;
    overflow-y: hidden;
    text-align: center;
  	font-size: 16px;
  	font-weight: bold;
  	color: rgb(74,144,226);
  	line-height: 40px;
  	-moz-box-sizing: border-box;
  	box-sizing: border-box;
  	width: 100%;
  }

  #BRmobileMenu button { -webkit-appearance: initial; }
  button.action { padding: 8px 10px; font-size: 14px; margin-left: 0; margin-bottom: 10px; }
  #BRmobileMenu button.action { display: block; width: 100%;}
  #BRmobileMenu div.share-social button { padding: 0 5px; height: 40px; text-align: left;}


  /* Share */
  #mobileShare { font-size: 14px; }
  #mobileShare div.share-title { font-weight: bold; font-size: 18px; line-height: 22px; }
  #mobileShare div.share-social { margin: 10px 0 20px 0; }
  #mobileShare p { font-weight: bold; }
  #mobileShare fieldset { padding: 0; border: 0; margin-bottom: 30px; }
  #mobileShare fieldset label { display: block; }
  #mobileShare fieldset input[type=text] { width: 95%; }
  #mobileShare button.share-finished { display: none; }
  #mobileShare div.share-embed { border: 1px solid #ccc; padding: 0 10px; }

  .BRprogresspopup { max-width: 80%; min-width: inherit;}
}

/* Mid size breakpoint */
@media (max-width: 1050px) {
  .hide-md { display: none; }
  form.booksearch input[type=search] {
    padding: 0 0 0 8px;
    width: 110px;
    min-width: 110px;
  }

  form.booksearch button {
    float: left;
  }
  form.booksearch.mobile button {
    float: inherit;
    display: inline-block;
  }
  form.booksearch.mobile button img {
    position: relative;
    top: 2px;
    left: -2px;
  }
}


/* --------------------- Begin BRFloat -------------------------------------- */

.BRfloat {
    color: rgb(52,52,52);;
}
.BRfloat a {
    color: #036daa;
}
.BRfloat a:hover {}
.BRfloat a.title {
    color: rgb(52,52,52);
    text-decoration: none;
}
.BRfloat a.title:hover {
    color: #036daa;
    text-decoration: underline;
}

.BRfloat .floatShut {
  position:absolute;
  top: 4px;
  right: 8px;
  display:block;
  width:32px;
  height:32px;
  border: none;
  background-color: transparent;
  background-image:url("images/icon_close-pop.png");
  background-position:0 0;
  background-repeat:no-repeat;
}
.BRfloat .floatShut:hover {background-position:0 -32px;}
.BRfloat fieldset {
    padding: 10px 15px;
    border: none;
}
.BRfloat fieldset.sub {
    margin-top: 0px;
    padding: 10px;
}
.BRfloat fieldset.center {
    text-align: center;
    padding: 10px 20px 30px;
}
.BRfloat label {
    display: block;
    font-weight: 700;
    font-size: 1em;
    margin: 5px 0;
}
.BRfloat label.sub {
    display: inline;
    padding: 10px 30px 10px 0;
    font-weight: normal;
    font-size: 1em;
    color: #666;
}
.BRfloat input[type=text],
.BRfloat textarea {
    display: block;
    margin-top: 10px;
    width: 100%;
    padding: 3px;
    border: 2px inset;
    font-family: "Lucida Grande", "Verdana", "Arial", sans-serif;
    font-size: .8em;
    line-height: 1.25em;
    font-weight: normal;
}
.BRfloat textarea {
    height: 55px;
}

.BRfloat p {
    margin: 15px 15px 0;
}
.BRfloat p.meta {
    font-size: 1.1em;
    color: #748d36;
    margin: 10px 0 0;
}

.BRfloatCover {
    float: left;
    padding: 0 20px 30px 0;
}

.BRfloatHead {
    font-size: 1.2em;
}
.BRfloatHead h2 {
    display: inline;
    font-size: 1.3em;
}
.BRfloatMeta p {
    margin: 0;
    padding: 0;
    font-size: 1.1em;
    line-height: 1.5em;
}
.BRfloatMeta p.moreInfo {
    line-height: 15px;
    margin-top: 30px;
}
.BRfloatMeta p.moreInfo span {
    background: url("images/icon_OL-logo-xs.png") no-repeat;
    display: block;
    float: left;
    width: 26px;
    height: 15px;
}
.BRfloatMeta h3 {
    font-size: 1.1em;
    font-weight: 700;
    line-height: 1.5em;
    margin-top: 30px;
    color: #333;
}
.BRfloatMeta ul.links {
    float: left;
    clear: right;
}
.BRfloatMeta ul.links li {
    list-style-type: none;
    display: block;
    float: left;
    font-size: 1.1em;
    line-height: 1.5em;
}
.BRfloatMeta ul.links li span {
    padding: 0 10px;
}

.BRfloatFoot a, .BRfloatFoot span {}
.BRfloatFoot a.problem, a.problem-icon {
    background: url("images/icon_alert-xs.png") no-repeat;
    padding-left: 20px;
}
.center {
  text-align: center;
}
.right {
  text-align: right;
}

.BRfloatHead,
.BRfloatBody,
.BRfloatFoot {
  width: 100%; box-sizing: border-box;
}


/* Desktop Only */
@media (min-width: 801px) {
  .BRmobileHamburgerWrapper { display: none; }
  .BRmobileMenu { display: none; }
  .mobile-only { display: none; }
  .BRfloat .message,
  .BRfloatBody {
    padding: 10px 15px 10px 15px;
    font-size: 16px;
    line-height: normal;
    margin-top: 0;
    margin-bottom: 0px;
  }
  .BRfloatHead {
    box-sizing: border-box;
    line-height: normal;
    padding: 10px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    border-bottom:1px solid rgb(216,216,216);
    margin-bottom:10px;
  }
  .BRfloatFoot { padding: 10px; }
  button.action { padding: 8px 16px; }
}


/* Mobile Only (with some responsiveness) */
@media (max-width: 800px) {
  .BRfloatBody { padding: 10px 10px; }
  .BRfloat .message,
  .BRfloatBody,
  .BRfloatHead {
    box-sizing: border-box;
    line-height: normal;
    border-bottom:1px solid rgb(216,216,216);
    padding: 10px;
    min-height: initial;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
  }
  .BRfloatFoot { padding: 10px 10px 0 10px; }
  .BRfloatFoot .action { margin-bottom: 10px; }
  .BRfloatFoot { border-top: 1px solid #ccc; }
  #BRnavline .chapter { display: none; } /* hide chapters in mobile */
  #BRnavline .search { display: none; } /* hide search in mobile */
}

@media (min-width: 801px) {
  .BRfloat { max-width: initial; width:455px; }
  .BRfloat.wide { max-width: initial; width:555px; }
}
@media (max-width: 800px) and (min-width: 341px) {
  .BRfloat { max-width: initial; width:340px; }
}
@media (max-width: 340px) {
  .BRfloat { max-width: 95%; width:95%; }
}

/* --------------------- END BRFloat ---------------------------------------- */

/* IA Info dialog */
.BRinfoValueW { margin-bottom: 10px; }
.BRinfoValue { font-size: 16px; }
.BRinfoLabel { font-size: 12px; color: #999; }
.BRinfoMoreInfoW { background-color: rgb(74,144,226); border-radius: 2px; padding:8px; text-align:center;}
.BRinfoMoreInfoW:active { background-color: rgb(80, 155, 242); }
.BRinfoOtherFormats { margin-bottom: 40px; }
.BRinfoRightCol > div { margin-bottom: 15px; }

/* Mobile Only */
@media (max-width: 800px) {
  #mobileInfo { font-size: 14px; line-height: 20px; }
  .BRinfoLeftCol { font-size: 14px; }
  .BRimageW {text-align: center; margin-bottom: 10px;}
  .BRimageW img { height: 200px; width: auto;}
  .BRinfoValue.larger { font-size: 16px; }
  .BRinfoMoreInfoW a { font-size: inherit; color: white; text-decoration: none; }
  .BRinfoOtherFormatsFormat { margin-bottom: 6px; }
  .BRinfoFooter { margin-bottom: 10px; }
  .BRinfoFooter a { display: block;}
  .BRfloatFoot.BRinfoFooter { margin: initial; padding: initial; border: initial; font-size: inherit; }
}

/* Desktop Only */
@media (min-width: 801px) {
  .BRinfoW { font-size: 14px; position: relative; padding: 15px; }
  .BRinfoLeftCol { float: left; width: 40%; min-height: 1px; }
  .BRinfoRightCol { float: left; width: 58%; }
  .BRimageW {text-align: center; margin-bottom: 10px; margin-right: 26px;}
  .BRimageW img { height: 200px; width: 100%;}
  .BRinfoValue.larger { font-size: 20px; line-height: 24px; }
  .BRinfoMoreInfoW a { font-size: 14px; color: white; text-decoration: none; font-weight: bold; }
  .BRinfoOtherFormatsFormat { display: inline; margin-right: 10px; }
  .BRinfoFooter { font-size: 1em; clear:both; }
  .BRinfoFooter a { display: inline; margin-right: 10px;}
}

.timeDisplay {

	position: relative;
	max-width: 20em;
	right: 20px;
	
	opacity: 1;
	background-color: white;
	padding: 1.125em 1.5em;
	font-size: 1.25em;
	border-radius: 1rem;
  box-shadow:	0 0.125rem 0.5rem rgba(0, 0, 0, .3), 0 0.0625rem 0.125rem rgba(0, 0, 0, .2);
}

.timeDisplay::before {

	content: '';
	position: absolute;
	width: 0;
	height: 0;
	bottom: 100%;
	left: 1.5em; /* offset should move with padding of parent */
	border: .75rem solid transparent;
	border-top: none;


	border-bottom-color: #fff;
	filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, .1));
}

/*  ======== New IA Book Reader css classes ========  */

.BRfooter {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  /* important so it overlays over the book pages when showing */
  z-index: 3;
}
.BRfooter button {
  width: 30px;
  height: 30px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  cursor: pointer;
  border: none;
  border-radius: 2px;
  background: transparent;
  outline: none;
}
.BRfooter button:hover .tooltip {
  display: block;
}
.BRfooter button.hide {
  display: none;
}

.BRReadAloudToolbar {
  display: flex;
  justify-content: center;
  margin: 5px;
  padding: 0 8.5px;
  border-radius: 4px;
  align-self: center;
  height: 34px;
  animation: fadeUp 0.2s;
  background-color: #333;
  color: white;
  /* Full mobile styles */
}
.BRReadAloudToolbar a {
  color: white;
}
.BRReadAloudToolbar .BRpager {
  background-color: #4D4D4D;
}
.BRReadAloudToolbar .BRpager .ui-slider-handle {
  background: white;
  border: none;
}
.BRReadAloudToolbar .BRpager .ui-slider-range {
  background: rgba(255, 255, 255, 0.59);
}
.BRReadAloudToolbar .BRpage .BRicon {
  border-left: 1px solid #4D4D4D;
}
.BRReadAloudToolbar .BRpage .BRicon.activated {
  background-color: rgba(255, 255, 255, 0.4);
}
.BRReadAloudToolbar .BRpage .BRicon.activated:before {
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: block;
  border: 3px solid rgba(255, 255, 255, 0.3);
}
.BRReadAloudToolbar .BRnavCntl {
  z-index: 6;
  background-color: #4D4D4D;
}
.BRReadAloudToolbar .BRnavCntlBtm:hover {
  background-color: #0074D1;
}
.BRReadAloudToolbar.BRnavEmbed {
  background-color: white;
  color: black;
}
.BRReadAloudToolbar.BRnavEmbed a {
  color: black;
}
.BRReadAloudToolbar.BRnavEmbed .BRpager.ui-slider {
  background: #B7B7B7;
}
.BRReadAloudToolbar.BRnavEmbed .BRpager.ui-slider .ui-slider-handle {
  background: #0074D1;
}
.BRReadAloudToolbar.BRnavEmbed .BRpager.ui-slider .ui-slider-range {
  background: rgba(0, 116, 209, 0.25);
}
.BRReadAloudToolbar.BRnavEmbed .BRpage .BRicon {
  border-left: 1px solid #979797;
}
.BRReadAloudToolbar.BRnavEmbed .BRpage .BRicon.activated {
  background-color: rgba(0, 116, 209, 0.4);
}
.BRReadAloudToolbar.BRnavEmbed .BRpage .BRicon.activated:before {
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: block;
  border: 3px solid rgba(0, 116, 209, 0.3);
}
.BRReadAloudToolbar.BRnavEmbed .BRnavCntl {
  background-color: #979797;
}
.BRReadAloudToolbar.BRnavEmbed .BRnavCntlBtm:hover {
  background-color: #0074D1;
}
@media (max-width: 800px) {
  .BRbodyMobileNavEnabled .BRReadAloudToolbar, .BRbodyMobileNavEnabledFullscreen.BRfullscreenActive .BRReadAloudToolbar {
    background-color: white;
    color: black;
  }
  .BRbodyMobileNavEnabled .BRReadAloudToolbar a, .BRbodyMobileNavEnabledFullscreen.BRfullscreenActive .BRReadAloudToolbar a {
    color: black;
  }
  .BRbodyMobileNavEnabled .BRReadAloudToolbar .BRpager.ui-slider, .BRbodyMobileNavEnabledFullscreen.BRfullscreenActive .BRReadAloudToolbar .BRpager.ui-slider {
    background: #B7B7B7;
  }
  .BRbodyMobileNavEnabled .BRReadAloudToolbar .BRpager.ui-slider .ui-slider-handle, .BRbodyMobileNavEnabledFullscreen.BRfullscreenActive .BRReadAloudToolbar .BRpager.ui-slider .ui-slider-handle {
    background: #0074D1;
  }
  .BRbodyMobileNavEnabled .BRReadAloudToolbar .BRpager.ui-slider .ui-slider-range, .BRbodyMobileNavEnabledFullscreen.BRfullscreenActive .BRReadAloudToolbar .BRpager.ui-slider .ui-slider-range {
    background: rgba(0, 116, 209, 0.25);
  }
  .BRbodyMobileNavEnabled .BRReadAloudToolbar .BRpage .BRicon, .BRbodyMobileNavEnabledFullscreen.BRfullscreenActive .BRReadAloudToolbar .BRpage .BRicon {
    border-left: 1px solid #979797;
  }
  .BRbodyMobileNavEnabled .BRReadAloudToolbar .BRpage .BRicon.activated, .BRbodyMobileNavEnabledFullscreen.BRfullscreenActive .BRReadAloudToolbar .BRpage .BRicon.activated {
    background-color: rgba(0, 116, 209, 0.4);
  }
  .BRbodyMobileNavEnabled .BRReadAloudToolbar .BRpage .BRicon.activated:before, .BRbodyMobileNavEnabledFullscreen.BRfullscreenActive .BRReadAloudToolbar .BRpage .BRicon.activated:before {
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: block;
    border: 3px solid rgba(0, 116, 209, 0.3);
  }
  .BRbodyMobileNavEnabled .BRReadAloudToolbar .BRnavCntl, .BRbodyMobileNavEnabledFullscreen.BRfullscreenActive .BRReadAloudToolbar .BRnavCntl {
    background-color: #979797;
  }
  .BRbodyMobileNavEnabled .BRReadAloudToolbar .BRnavCntlBtm:hover, .BRbodyMobileNavEnabledFullscreen.BRfullscreenActive .BRReadAloudToolbar .BRnavCntlBtm:hover {
    background-color: #0074D1;
  }
}
.BRReadAloudToolbar--controls {
  display: flex;
}
.BRReadAloudToolbar--controls > * {
  height: 100%;
}
.BRReadAloudToolbar .BRToolbarButton .icon {
  width: 34px;
  height: 34px;
  box-sizing: border-box;
}
.BRReadAloudToolbar .BRToolbarButton.jumpForward .icon, .BRReadAloudToolbar .BRToolbarButton.jumpBackward .icon {
  padding: 9px;
}
.BRReadAloudToolbar button {
  padding: 0;
  margin: 0;
  border: 0px none;
  box-sizing: border-box;
  background: transparent none repeat scroll 0% 0%;
  display: block;
}
.BRReadAloudToolbar .playback-rate-container {
  width: 34px;
  height: 34px;
  position: relative;
}
.BRReadAloudToolbar .playback-rate-container .icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 6px;
  box-sizing: border-box;
  padding-bottom: 1em;
}
.BRReadAloudToolbar .playback-rate-container select {
  cursor: pointer;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  font-size: 0.8em;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  text-align: center;
  text-align-last: center;
  /* Chrome */
  padding-top: 60%;
  padding-left: 10%;
  padding-right: 10%;
  color: #333;
  background: transparent;
  /* IE */
}
.BRReadAloudToolbar .playback-rate-container select::-ms-expand {
  display: none;
}
.BRReadAloudToolbar button:hover, .BRReadAloudToolbar .playback-rate-container:hover {
  background: rgba(50, 50, 50, 0.2);
}

.BRnav {
  box-sizing: border-box;
  height: 35px;
  padding-top: 0;
  overflow: visible;
  display: block;
  display: flex;
  flex-direction: row;
  border-top: 1px solid #222;
  /* Theming */
  background-color: #333;
  color: white;
  /* Full mobile styles */
}
.BRnav.BRnavEmbed {
  padding-top: 0;
  height: auto;
  align-items: center;
}
.BRnav.BRnavEmbed .BRembedreturn {
  flex: 1 auto;
  overflow-x: hidden;
}
.BRnav.BRnavEmbed .logo {
  display: inline-block;
  width: 25px;
  height: 25px;
  margin: 0 10px;
  background: transparent url(images/icon_home.svg) no-repeat center center;
  background-size: contain;
}
.BRnav a {
  color: white;
}
.BRnav .BRpager {
  background-color: #4D4D4D;
}
.BRnav .BRpager .ui-slider-handle {
  background: white;
  border: none;
}
.BRnav .BRpager .ui-slider-range {
  background: rgba(255, 255, 255, 0.59);
}
.BRnav .BRpage .BRicon {
  border-left: 1px solid #4D4D4D;
}
.BRnav .BRpage .BRicon.activated {
  background-color: rgba(255, 255, 255, 0.4);
}
.BRnav .BRpage .BRicon.activated:before {
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: block;
  border: 3px solid rgba(255, 255, 255, 0.3);
}
.BRnav .BRnavCntl {
  z-index: 6;
  background-color: #4D4D4D;
}
.BRnav .BRnavCntlBtm:hover {
  background-color: #0074D1;
}
@media (max-width: 800px) {
  .BRnav {
    height: 34px;
    box-shadow: 0px -1px 3px 0px rgba(102, 102, 102, 0.25);
  }
}


.BRnavpos {
  position: relative;
  margin-right: 10px;
  margin-left: 10px;
  float: left;
  flex: 1 auto;
}

.BRpager.ui-slider {
  position: relative;
  height: 8px;
  top: 13px;
  box-sizing: content-box;
  border-radius: 10px;
  cursor: pointer;
  /* handle active state for touch */
}
.BRpager.ui-slider.ui-widget.ui-widget-content {
  border: none;
}
.BRpager.ui-slider .ui-slider-horizontal .ui-slider-handle,
.BRpager.ui-slider .ui-slider-handle {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  top: -5px;
  margin-left: -9px;
  /* Center icon */
  z-index: 6;
  border: none;
}
.BRpager.ui-slider .ui-slider-range {
  height: 100%;
  border-radius: 10px;
}
.touch .BRpager.ui-slider .ui-slider-handle.ui-state-active {
  width: 24px;
  height: 24px;
  top: -4px;
  margin-left: -11px;
}

/* BRnavlin is where chapters/search are appended */
.BRnavline {
  position: relative;
  height: 1px;
  width: auto;
  top: -1px;
  margin: 0 10px;
  width: 100%;
}

.BRcurrentpage {
  display: inline-block;
  text-align: center;
  padding: 0 0 0 0;
  font-size: 12px;
  margin-left: 5px;
  margin-right: 10px;
  line-height: 1;
}

.BRnavTitle {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 0 0 0;
  font-size: 12px;
  margin-left: 10px;
  margin-right: 5px;
  line-height: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  letter-spacing: 0.5px;
  font-style: italic;
}

.BRpage {
  height: 100%;
  overflow: hidden;
  padding-left: 0;
  text-align: right;
  white-space: nowrap;
  float: left;
  flex: none;
}


.BRpageLparan {
  margin-right: 1px;
  font-size: 0.8em;
  vertical-align: top;
}

.BRpageRparan {
  margin-left: 1px;
  font-size: 0.8em;
  vertical-align: top;
}
.BRcontrols {
  width: 100%;
  /* BookReader defaults overrides */
}
.BRcontrols .tooltip {
  display: none;
  position: absolute;
  width: auto;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  padding: 5px 10px;
  font-weight: bold;
  white-space: nowrap;
  color: #fff;
  border-radius: 3px;
  background: #333;
}
.BRcontrols .full .tooltip {
  left: auto;
  right: 0;
  transform: translateX(0);
}
.BRfullscreenActive .BRcontrols .icon-fullscreen {
  background-image: url("icons/fullscreen_exit.svg");
}
.BRcontrols select.playback-speed {
  width: 24px;
  padding-top: 18px;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  font-size: 10px;
  text-align: center;
  text-align-last: center;
  color: #fff;
  border: none;
  cursor: pointer;
  background: transparent url("icons/playback-speed.svg") 50% 0 no-repeat;
}
.BRcontrols select.playback-speed option {
  background: #333;
}
.BRcontrols .active {
  background: #fff;
}
.BRcontrols li {
  position: relative;
}
.BRcontrols .controls {
  position: relative;
  z-index: 2;
  display: flex;
  padding: 2px 10px;
  margin: 0;
  list-style: none;
  background: #333;
}
.BRcontrols .controls button:hover, .BRcontrols .controls button:active, .BRcontrols .controls button:focus  {
	background-color: #979797;
}

@media (max-width: 800px) {
  .BRcontrols .controls {
    padding-left: 0;
  }
}
.BRcontrols .controls button {
  width: 30px;
  height: 30px;
}
.BRcontrols .read-aloud {
  display: none;
  position: absolute;
  bottom: 100%;
  right: 0;
  left: 0;
  z-index: 1;
  padding: 5px 0;
  margin: 0;
  align-items: center;
  justify-content: center;
  list-style: none;
  background: #333;
}
.BRcontrols .read-aloud.visible {
  display: flex;
  animation: slideUp 0.2s;
}
.BRcontrols .read-aloud li {
  padding: 0 10px;
}
.BRcontrols .read-aloud [name=play] .icon-pause {
  display: none;
}
.BRcontrols .read-aloud [name=play].playing .icon-play {
  display: none;
}
.BRcontrols .read-aloud [name=play].playing .icon-pause {
  display: inline-block;
}
.BRcontrols .scrubber {
  display: flex;
  width: 100%;
  height: 30px;
}
.BRcontrols .frame {
  position: relative;
  width: 100%;
}
.BRcontrols .color-fill {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 8px;
  border-radius: 8px;
}
.BRcontrols .scrubber input[type=range] {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100%;
  background-color: transparent;
  -webkit-appearance: none;
}
.BRcontrols .scrubber input[type=range]:focus {
  outline: none;
}
.BRcontrols .scrubber input[type=range]::-webkit-slider-runnable-track {
  background: transparent;
  border: 0px solid rgba(204, 204, 204, 0);
  border: 0;
  border-radius: 8px;
  width: 100%;
  height: 8px;
  cursor: pointer;
}
.BRcontrols .scrubber input[type=range]::-webkit-slider-thumb {
  margin-top: -4px;
  width: 16px;
  height: 16px;
  background: #ffffff;
  border: 0px solid rgba(0, 0, 0, 0);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  -webkit-appearance: none;
}
.BRcontrols .scrubber input[type=range]::-moz-range-track {
  background: #666666;
  border: 0px solid rgba(204, 204, 204, 0);
  border: 0;
  border-radius: 8px;
  width: 100%;
  height: 8px;
  cursor: pointer;
}
.BRcontrols .scrubber input[type=range]::-moz-range-progress {
  height: 8px;
  background: #ccc;
}
.BRcontrols .scrubber input[type=range]::-ms-track {
  border: none;
  color: transparent;
  background: #666;
}
.BRcontrols .scrubber input[type=range]::-ms-fill-lower {
  background: #ccc;
}
.BRcontrols .scrubber input[type=range]::-ms-tooltip {
  display: none;
}
.BRcontrols .scrubber input[type=range]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #ffffff;
  border: 0px solid rgba(0, 0, 0, 0);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.BRcontrols .scrubber p {
  padding: 0 20px 0 13px;
  margin: 0;
  align-self: stretch;
  font-weight: 700;
  line-height: 26px;
  color: #fff;
}
@media (max-width: 800px) {
  .BRcontrols .scrubber p {
    padding: 0;
  }
}
.BRcontrols .BRnavline {
  top: -4px;
}
.BRcontrols .scrubber .BRpager.ui-slider {
  top: 10px;
  background-color: #666;
}
.BRcontrols .scrubber .BRpager.ui-slider .ui-slider-range {
  background-color: #ccc;
}
.icon {
  display: inline-block;
  background: transparent 50% 50% no-repeat;
}

.icon.hflip {
  transform: scaleX(-1);
}

.active .icon {
  filter: brightness(0.2);
}

.BRfloat .BRinfoValue .collection-path {
 color: rgb(74,133,226);
}

.icon-home {
  width: 11px;
  height: 19px;
  margin-right: 10px;
  background-image: url("icons/home.svg");
}

.icon-onepg {
  width: 11px;
  height: 19px;
  background-image: url("icons/1up.svg");
}

.icon-twopg {
  width: 20px;
  height: 19px;
  background-image: url("icons/2up.svg");
}

.icon-fullscreen,
.icon-fullscreen-exit {
  width: 18px;
  height: 18px;
  background-image: url("icons/fullscreen.svg");
}

.icon-fullscreen-exit {
  background-image: url("icons/fullscreen-exit.svg");
}

.icon-thumb {
  width: 17px;
  height: 19px;
  background-image: url("icons/thumbnails.svg");
}

.icon-playback-speed {
  width: 24px;
  height: 32px;
  background-image: url("icons/playback-speed.svg");
}

.icon-review,
.icon-advance {
  width: 21px;
  height: 19px;
  background-image: url("icons/review.svg");
}

.icon-advance {
  background-image: url("icons/advance.svg");
}

.icon-volume-full {
  width: 23px;
  height: 22px;
  background-image: url("icons/volume-full.svg");
}

.icon-play,
.icon-pause {
  width: 40px;
  height: 40px;
  background-image: url("icons/play.svg");
}

.icon-pause {
  background-image: url("icons/pause.svg");
}

.icon-left-arrow {
  width: 12px;
  height: 14px;
  background-image: url("icons/left-arrow.svg");
}

.icon-magnify {
  position: relative;
  width: 18px;
  height: 18px;
  background-image: url("icons/magnify-minus.svg");
}

.icon-magnify.plus {
  background-image: url("icons/magnify-plus.svg");
}

.icon-search {
  width: 19px;
  height: 19px;
  background-image: url("images/icon_search_button.svg");
}

.icon-chevron {
  width: 5px;
  height: 8px;
  background-image: url("icons/chevron-right.svg");
}

.icon-close {
  width: 12px;
  height: 12px;
  background-image: url("icons/close-circle.svg");
}

.icon-close-dark {
  width: 12px;
  height: 12px;
  background-image: url("icons/close-circle-dark.svg");
}

.icon-read-aloud {
  width: 20px;
  height: 16px;
  background-image: url("icons/read-aloud.svg");
}

.BookReader .BRquery, .BRmobileMenu .BRquery, .BRfloat .BRquery, .BookReader .BRchapter > div, .BRmobileMenu .BRchapter > div, .BRfloat .BRchapter > div {
  display: none;
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  width: 230px;
  padding: 12px 14px;
  color: #fff;
  font-weight: bold;
  background: #333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.BookReader .BRquery:after, .BRmobileMenu .BRquery:after, .BRfloat .BRquery:after, .BookReader .BRchapter > div:after, .BRmobileMenu .BRchapter > div:after, .BRfloat .BRchapter > div:after {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  border: 7px solid transparent;
  border-width: 7px 4px;
  border-bottom: none;
  border-top-color: #333;
}

.BookReader .searchHiliteLayer, .BookReader .ttsHiliteLayer, .BRmobileMenu .searchHiliteLayer, .BRmobileMenu .ttsHiliteLayer, .BRfloat .searchHiliteLayer, .BRfloat .ttsHiliteLayer {
  pointer-events: none;
}
.BookReader .searchHiliteLayer rect, .BookReader .ttsHiliteLayer rect, .BRmobileMenu .searchHiliteLayer rect, .BRmobileMenu .ttsHiliteLayer rect, .BRfloat .searchHiliteLayer rect, .BRfloat .ttsHiliteLayer rect {
  fill: #0000ff;
  fill-opacity: 0.2;
  animation: hiliteFadeIn 0.2s;
}

.BookReader .BRchapter, .BookReader .BRsearch, .BRmobileMenu .BRchapter, .BRmobileMenu .BRsearch, .BRfloat .BRchapter, .BRfloat .BRsearch {
  position: absolute;
  bottom: 0;
  /* Relative to nav line */
  cursor: pointer;
  z-index: 3;
  background-color: transparent;
  background-repeat: no-repeat;
  font-weight: normal;
}

.BookReader .BRsearch, .BRmobileMenu .BRsearch, .BRfloat .BRsearch {
  width: 9px;
  height: 6px;
  margin-left: -10px;
}
.BookReader .BRsearch:before, .BRmobileMenu .BRsearch:before, .BRfloat .BRsearch:before {
  position: absolute;
  left: calc(50% - 2px);
  transform: translateX(-50%);
  width: 2px;
  height: 6px;
  content: "";
  background: #428bca;
  border-radius: 2px;
}
/*
.BookReader .BRsearch:hover .BRquery, .BRmobileMenu .BRsearch:hover .BRquery, .BRfloat .BRsearch:hover .BRquery{
  display: block;
}
*/
.BookReader .BRsearch .BRquery, .BRmobileMenu .BRsearch .BRquery, .BRfloat .BRsearch .BRquery {
  display: none;
}
.BookReader .BRquery b, .BRmobileMenu .BRquery b, .BRfloat .BRquery b {
  color: #adaedc;
  font-weight: bold;
  background-color: #272958;
}
.BookReader .BRbooksearch, .BRmobileMenu .BRbooksearch, .BRfloat .BRbooksearch {
  position: relative;
  box-sizing: border-box;
}
.BookReader .BRbooksearch.desktop, .BRmobileMenu .BRbooksearch.desktop, .BRfloat .BRbooksearch.desktop {
  position: relative;
  height: 30px;
  border: 1px solid white;
  border-radius: 20px;
  display: inline-block;
  line-height: 0;
  vertical-align: top;
  margin-top: 0;
  margin-bottom: 0;
}
.BookReader .BRbooksearch.desktop .BRsearchInput, .BRmobileMenu .BRbooksearch.desktop .BRsearchInput, .BRfloat .BRbooksearch.desktop .BRsearchInput {
  -webkit-appearance: none;
  position: relative;
  width: 130px;
  max-width: 160px;
  height: 100%;
  color: white;
  outline: none;
  border: none;
  padding: 3px 0px 3px 10px;
  margin: 0;
  box-sizing: border-box;
  background: transparent;
  display: block;
  float: left;
  font-size: 14px;
  line-height: 1.2;
  border-radius: 40px;
}
.BookReader .BRbooksearch.desktop .BRsearchSubmit, .BRmobileMenu .BRbooksearch.desktop .BRsearchSubmit, .BRfloat .BRbooksearch.desktop .BRsearchSubmit {
  width: auto;
  height: 100%;
  border: none;
  text-align: center;
  color: #fff;
  overflow: hidden;
  box-sizing: boder-box;
  display: block;
  background: transparent;
  float: left;
  cursor: pointer;
}
.BookReader .BRsearch-navigation, .BRmobileMenu .BRsearch-navigation, .BRfloat .BRsearch-navigation {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  background-color: #333;
  padding: 5px 0;
}
.BookReader .BRsearch-navigation button.toggle-sidebar, .BRmobileMenu .BRsearch-navigation button.toggle-sidebar, .BRfloat .BRsearch-navigation button.toggle-sidebar {
  width: unset;
  padding: 0 10px;
}
.BookReader .BRsearch-navigation button.toggle-sidebar h4, .BRmobileMenu .BRsearch-navigation button.toggle-sidebar h4, .BRfloat .BRsearch-navigation button.toggle-sidebar h4 {
  padding: 0;
  margin: 0;
  font-size: 15px;
  font-weight: normal;
  color: #fff;
}
.BookReader .BRsearch-navigation button.toggle-sidebar h4 span, .BRmobileMenu .BRsearch-navigation button.toggle-sidebar h4 span, .BRfloat .BRsearch-navigation button.toggle-sidebar h4 span {
  vertical-align: middle;
}
.BookReader .BRsearch-navigation .pagination, .BRmobileMenu .BRsearch-navigation .pagination, .BRfloat .BRsearch-navigation .pagination {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
}
.BookReader .BRsearch-navigation .pagination span, .BRmobileMenu .BRsearch-navigation .pagination span, .BRfloat .BRsearch-navigation .pagination span {
  display: inline-block;
  padding: 0 5px;
}
.BookReader .BRsearch-navigation .pagination button[disabled], .BRmobileMenu .BRsearch-navigation .pagination button[disabled], .BRfloat .BRsearch-navigation .pagination button[disabled] {
  opacity: 0.3;
  cursor: default;
}
.BookReader .BRsearch-navigation .pagination button span, .BRmobileMenu .BRsearch-navigation .pagination button span, .BRfloat .BRsearch-navigation .pagination button span {
  width: 8px;
  height: 13px;
  padding: 0;
  background-size: 100% auto;
}
.BookReader .BRsearch-navigation .clear span, .BRmobileMenu .BRsearch-navigation .clear span, .BRfloat .BRsearch-navigation .clear span {
  width: 18px;
  height: 18px;
}
.BookReader .BRsearch-navigation + .BRnav .BRnavCntl, .BRmobileMenu .BRsearch-navigation + .BRnav .BRnavCntl, .BRfloat .BRsearch-navigation + .BRnav .BRnavCntl {
  display: none;
}

@keyframes hiliteFadeIn {
  from {
    fill-opacity: 0;
  }
}
/* Mid size breakpoint */
@media (max-width: 1050px) {
  .BookReader .BRbooksearch .BRsearchInput, .BRmobileMenu .BRbooksearch .BRsearchInput, .BRfloat .BRbooksearch .BRsearchInput {
    padding: 0 0 0 8px;
    width: 110px;
    min-width: 110px;
  }
  .BookReader .BRbooksearch .BRsearchSubmit, .BRmobileMenu .BRbooksearch .BRsearchSubmit, .BRfloat .BRbooksearch .BRsearchSubmit {
    float: left;
  }
}

.BRtoolbarbuttons .BRpill {
  border: 1px solid white;
  background: transparent;
  padding: 5px 10px;
  height: 30px;
  border-radius: 20px;
  color: white;
  line-height: 0;
  vertical-align: middle;
  font-size: 12px;
  cursor: pointer;
}
.BRtoolbarbuttons .BRpill.BRtoolbarHamburger {
  border: none;
  border-radius: none;
}

.BRtoolbarbuttons button:hover, .BRtoolbarbuttons button:active {
	background-color: #979797;
}

/* Toolbar from new IA Book Reader */
.BRtoolbar {
  position: relative;
  top: 0;
  left: 0;
  padding: 10px 10px 4px 10px;
  width: 100%;
  background-color: transparent;
  box-sizing: border-box;
  width: 100%;
  color: white;
  font-size: 14px;
  /* ensure that this displays over book */
  z-index: 3;
}

.BRtoolbar .label {
  font-size: 12px;
  color: #ccc;
}

.BRtoolbar a {
  text-decoration: none;
  color: white;
}
.BRtoolbar a:hover {
  color: white;
  text-decoration: underline;
}

/* desktop header */
.BRtoolbarSection > * {
  margin-left: 6px;
}

.BRtoolbarbuttons {
  white-space: nowrap;
  text-align: right;
  border-spacing: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
}

.BRtoolbarbuttons .BRpill {
  border: 1px solid white;
  background: transparent;
  padding: 5px 10px;
  height: 30px;
  border-radius: 20px;
  color: white;
  line-height: 0;
  vertical-align: middle;
  font-size: 12px;
  cursor: pointer;
}
.BRtoolbarbuttons .BRpill.BRtoolbarHamburger {
  border: none;
  border-radius: none;
}

.BRtoolbarSection {
  white-space: nowrap;
}

.BRtoolbarSectionLogo {
  text-align: center;
  /*display: none;*/
}

.BRtoolbarLeft {
  text-align: left;
  flex: 1 auto;
  overflow-y: hidden;
}

.BRtoolbarRight {
  text-align: right;
  flex: none;
}

@media (max-width: 800px) {
  .BRtoolbar {
    height: 34px;
    padding: 0;
    box-shadow: 0px 1px 3px 0px rgba(102, 102, 102, 0.25);
  }
}

.BRToolbarButton, .BRicon {
  position: relative;
  transition-duration: 0.2s;
  transition-property: background-color, border;
}
.BRToolbarButton:hover, .BRicon:hover {
  background-color: rgba(50, 50, 50, 0.2);
}
.BRToolbarButton:active, .BRicon:active {
  background-color: rgba(255, 255, 255, 0.2);
  background-color: rgba(50, 50, 50, 0.4);
}

