/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, input, button {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    text-decoration:none;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
    background: #595758;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Body */


.clear {
clear:both;
}

html, body {
height: 100%;
}

h1#title {
	text-align:center;
	padding-top: 8px;
}
h1#title.intro {
	line-height: 72px;
	padding-top: 0;
}

#book {
	position: relative;
	border-top: 1px solid #3b3939;
	background: #595758;
}

img {
	display:block;
	margin:0 auto;
}

#controls {
	position: relative;
	border-bottom: 5px solid #fcb912;
	font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	height: 67px;
	background: #3b393a url("../images/viewinside-logo.jpg") no-repeat 7px 7px;
	color: white;
	line-height: 28px;
	z-index: 300;
	font-size: 21px;
}

#controls .logo {
	text-indent: -10000px;
	height: 53px;
	width: 134px;
	position: absolute;
	top: 7px;
	left: 7px;
	background: url("../images/viewinside-logo.jpg");
}

#controls #paging {
	
}



#controls #paging input {
	
}

#controls #current {

}

#prev {
	position: absolute;
	left:0;
	top:0;
	background-position: center center;
	background-repeat: no-repeat;
	text-align: center;
	background: url('../images/viewinside-prev.png') no-repeat left center;
	height: 47px;
	width: 56px;
}

#prev:hover {
	background: url('../images/viewinside-prev-hover.png') no-repeat left center;
}

#next {
	position: absolute;
	right:0;
	top:0;
	background-position: center center;
	background-repeat: no-repeat;
	text-indent: -10000px;
	background: url('../images/viewinside-next.png') no-repeat right center;
	height: 47px;
	width: 58px;
}

#next:hover {
	background: url('../images/viewinside-next-hover.png') no-repeat right center;
}


#paging {
    position: absolute;
    top: 0;
    right: 20px;
}
#paging span {
    font-size: 14px;
    display: block;
}
#paging input {
    display: inline-block;
    text-align: center;
}
#paging .pager {
	background: #fdb813;
	color: #3b3939;
	font-weight: bold;
	text-transform: uppercase;
	padding: 0 10px;
    cursor: pointer;
    display: inline-block;
}
#paging .pager:hover {
	background: #be8a0e;
}

#current {
    text-align: center;
}

/* Dialog */
.ui-dialog {
	background:white;
	font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	display: none;
}

.ui-dialog-titlebar {
	text-align:center;
	background: #3b393a;
	color: white;
	font-size: 21px;
	font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	line-height: 35px;
	border-bottom: 2px solid #fcb912;
	cursor: move;
}

.ui-dialog-titlebar-close {
	display:none;
}

.ui-dialog-buttonset {
	text-align:center;
	
	padding-bottom: 18px;
	display: none;
}

.ui-button-text {
	background:#fcb912;
	color:white;
	display: block;
	font-weight: bold;
	padding: 7px 15px;
	color: #3b393a;
	cursor: pointer;
}

#dialog-message {
	padding: 18px 26px 26px;
}

#dialog-message p {
	margin-bottom:20px;
}

#dialog-message a {
	text-decoration:underline;
	color:black;
}

#dialog-message p a#start {
	display:block;
	margin:0 auto;
	width: 120px;
	text-align: center;
	background: #333;
	color: white;
	line-height: 27px;
	text-decoration:none;
}

.ui-icon {
	display:none;
}

.ui-widget-overlay {
    position: absolute;  top: 0;  left: 0;  width: 100%;  height: 100%;
	
    zoom: 1;  
    opacity: 0.5;  
    background: #333;  filter: Alpha(Opacity=50);
}


form {
    font-size: 16px;
}

form p {
    
}

form label {
    display: block;
    margin-top: 10px;
}

form input[type="text"],
form select {
    border: 1px solid black;
    display: block;
    width: 100%;
}

form input[type="submit"] {
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    padding: 5px 12px;
    text-decoration: none;
    color: white;
    display: inline-block;
    background: #2479C5;
    margin-top: 20px;
}

form .error-block {
    color: red;
    font-size: 14px;
}

#zoom {
	position: fixed;
	top: 88px;
	right: 20px;
	display: flex;
	flex-direction: column;
	z-index: 1;
}

#zoom {
	background-color: rgba(0, 0, 0, 0.5);
}
#zoom button {
	cursor: pointer;
	width: 53px;
	height: 42px;
	background-color: transparent;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
}
.zoom-in {
	background-image: url(../images/btn_zoom.png);
}
.zoom-out {
	background-image: url(../images/btn_zoom_out.png);
}
.zoom-value {
	color: #fff;
	font: bold;
	font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#zoom .line {
	width: 70%;
	height: 1px;
	background-color: #595758;
	margin: 0 auto;
}


html,body {
	height: 100%;
	width: 100%;
	max-height: 100%;
}
#book {
	width: 100%;
	position: absolute;
	top: 72px;
	left: 0;
	height: calc(100% - 73px);
	overflow: auto;
}