#br-container { position: relative; overflow: hidden; border: 1px solid #e9e9e9; }
.BookReader { width: 100%; height: 80vh; }

.BRfullscreenActive {
	position: fixed;
	width: 100%;
	height: 100%;
	max-height: 100%;
	top: 0;
	left: 0;
	margin: 0;
}

.BRfullscreenActive header,
.BRfullscreenActive #wpadminbar {
	position: fixed;
	width: 0;
	height: 0;
	display: none;
}

.BRfullscreenActive #colorbox,
.BRfullscreenActive #cboxOverlay,
.BRfullscreenActive #cboxWrapper {
    z-index: 10005;
}

.BRfullscreenActive #br-container {
	position: fixed;
	width: 100%;
	height: 100%;
	max-height: 100%;
	top: 0;
	left: 0;
	margin: 0;
	z-index: 10004;
}

/* Parent container settings */
.BookReader,
.BookReader.fullscreenActive {
	background-color: #fff;
}

.BookReader,
.BRmobileMenu,
.BRfloat {
	font-family: 'GTWalsheim';
}

.BookReader a,
.BookReader button,
.BRfloat a,
.BRfloat button {
	transition: revert;
	font-weight: 400;
}

.BookReader a,
.BookReader a:hover {
	text-decoration: none;
}
.BookReader button {
	border-radius: initial;
}
.BookReader button.BRpill {
	border-radius: initial;
	background-color: white;
	color: black;
}
.BookReader button.share {
	display: none;
}
.BookReader button:hover {
	background-color: #c9c9c9;
}

/* Header bar */
.BRtoolbar {
	padding: 10px;
}
.BRtoolbarSectionTitle a {
	font-family: 'Cormorant Garamond';
	color: #0f6cb5;
	font-size: 1.5rem;
}
.BRtoolbarSectionTitle a:hover {
	color: #771b4a;
}

.BRtoolbarSection .toc-icon {
	font-size: inherit;
	display: inline-flex;
}

/* Book display */
.BRbookcover {
	box-shadow: none;
}

.BRleafEdgeR {
	border: 0;
}

/* Page display and nav elements */
.BRnav {
	background-color: #e9e9e9;
	color: #000;
}
.BRnav .BRpage .BRicon {
	background-color: initial;
}
.BRnav .BRpage .BRicon:hover {
	background-color: rgba(50, 50, 50, 0.2);
}

.BRnav .BRnavCntl {
	background-color: #fff;
	border: 1px solid #121212;
}

.BRnav .BRnavCntl:hover {
	background-color: rgba(50, 50, 50, 0.2);
}

.BRnavCntlBtm {
	-moz-border-radius-topright: unset;
	-webkit-border-top-right-radius: unset;
	-moz-border-radius-topleft: unset;
	-webkit-border-top-left-radius: unset;
}
/* Colorbox */
#colorbox, #cboxOverlay, #cboxWrapper {
    z-index: 10000000000;
}
#colorbox .floatShut {
	display: none;
}
#colorbox #cboxClose {
	display: block !important;
	position: absolute;
	top: 4px;
	right: 8px;
    border: 1px solid white;
    background: white;
    padding: 5px 10px;
    height: 30px;
    border-radius: initial;
    color: black;
    line-height: 0;
    vertical-align: middle;
    font-size: 12px;
	font-weight: 400;
    cursor: pointer;
}
#colorbox #cboxClose:hover {
    background-color: #c9c9c9;
}