html {
    /* IE Tweak */
        scrollbar-arrow-color: gray;
        scrollbar-base-color: black;
        scrollbar-dark-shadow-color: black;
        scrollbar-track-color: black;
        scrollbar-face-color: black;
        scrollbar-shadow-color: gray;
        scrollbar-highlight-color: silver;
        scrollbar-3d-light-color: black;
}


*{
	margin:0;
	padding:0;
}



body {
	background:#212121;
	/*overflow:hidden;*/
	font-family:Arial, Helvetica, sans-serif;
	font-size:10px;
}



::-webkit-scrollbar{
    width:0.8em;
    height:0.8em;
    background-color:#212121;
}
::-webkit-scrollbar:hover{
    background-color:#212121;
}
::-webkit-resizer{
    -webkit-border-radius:4px;
    background-color:#212121;
}
::-webkit-scrollbar-thumb{
    min-height:0.8em;
    min-width:0.8em;
    -webkit-border-radius:4px;
    background-color: #888;
}
::-webkit-scrollbar-thumb:hover{
    background-color: #888;
}
::-webkit-scrollbar-thumb:active{
    background-color:#888;
}



::-moz-scrollbar{
    width:0.8em;
    height:0.8em;
    background-color:#212121;
}
::-moz-scrollbar:hover{
    background-color:#212121;
}
::-moz-resizer{
    -webkit-border-radius:4px;
    background-color:#212121;
}
::-moz-scrollbar-thumb{
    min-height:0.8em;
    min-width:0.8em;
    -webkit-border-radius:4px;
    background-color: #888;
}
::-moz-scrollbar-thumb:hover{
    background-color: #888;
}
::-moz-scrollbar-thumb:active{
    background-color:#888;
}

.bookmarkBadgeOn {
    background-image: url(../imgs/bookmark_badge_on.png);
    width: 34px;
    height: 46px;
    position:absolute; 
    top:0px; 
    left:45px;
    z-index: 1000;
}

.bookmarkBadgeOff {
    background-image: url(../imgs/bookmark_badge_off.png);
    width: 34px;
    height: 46px;
    position:absolute; 
    top:0px; 
    left:45px;
    z-index: 1000;
}


#bookmarksBtn {
    z-index:1000; 
    position:absolute; 
    top:0px; 
    left:90px;
    background-image: url(../imgs/bookmark_badge_all.png);
    width: 25px;
    height: 34px;
}

.bm_item:nth-child(n) {
    border-bottom-color: #ddd;
    border-bottom-style:dashed;
    border-bottom-width: 1px;
}

.bm_item:last-child {
    border-bottom: none;

}


#bookmarksMenu {
    -moz-border-radius: 0px 0px 2px 2px;
    -webkit-border-radius: 0px 0px 2px 2px;
    border-radius: 0px 0px 2px 2px;
    -moz-box-shadow: 0px 0px 5px #999;
    -webkit-box-shadow: 0px 0px 5px #999;
    box-shadow: 0px 0px 5px #999;
    display: none;
    z-index:1000; 
    position:absolute; 
    top:34px; 
    left:90px;
    width: 230px;
    opacity: 0.9;
	background-color: lightgray;
}

#bookmarksMenu .bm_text {
    background-image: url(../imgs/bookmarkRibbon.png);
    background-repeat: no-repeat;
    color: #000;
    cursor: pointer;
    width: 170px;
    overflow: hidden;
    height: 25px;
    float: left;
    position: relative;
    top: 10px;
    left: 5px;
    padding: 2px 0px 0px 25px;
    font-family: Arial;
    font-size: 12px;
    font-weight: bold;
}


#bookmarksMenu .bm_remove {
    background-image: url(../imgs/removeBookmark.png);
    background-repeat: no-repeat;
    background-position: 0px 9px;
    padding: 10px 0px 10px 0px;
    color: #000;
    width: 20px;
    height: 20px;
    position: relative;
    left: 205px;
}


#outer_container{
    position:fixed;
    bottom:-160px;	/*-160px to hide*/
    margin:0px 0px 30px 0px;
    height:130px;
    padding:0;
    -webkit-box-reflect:
    below 5px -webkit-gradient(
            linear,
            left top,
            left bottom,
            from(transparent),
            color-stop(0.6, transparent),
            to(rgb(18, 18, 18))
    );
}


#pagesMenu {
    width: 40px;
    height: 40px;
    background-image: url(../imgs/icon_pages.png);
    background-repeat: no-repeat;
    z-index:1000; 
    position:absolute; 
    left: 125px;
    top: 0px;
}




#searchDoc {
    width: 25px;
    height: 25px;
    background-image: url(../imgs/search.png);
    background-repeat: no-repeat;
    z-index:1000; 
    position:absolute; 
    left: 165px;
    top: 5px;
}


#search {
    position: absolute;
    top: 40px;
    left: 90px;
    padding: 15px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    background-color: #000;
    margin-top:0px;
    z-index:20000;    
}

.searchTerm {
    color: #fff;
    display:block;
    padding: 0px 0px 10px 0px;
}

#searchStr {
    margin-bottom: 10px;
}

#searchBox input:first-child {
    float:left;
    display: inline;
    font-size: 18px;
}

#searchBox input {
    float:left;
    display: inline;
    font-size: 14px;
}


#triangle-up { 
    width: 0; 
    height: 0; 
    border-left: 20px solid transparent; 
    border-right: 20px solid transparent; 
    border-bottom: 40px solid black; 
    top:30px;
    left:30px;
    margin-top:0px;
    position:absolute;
    display: none;
} 



.searchHeaderText {
    font-size:22px;
}


#showContentListBtn {
    width: 32px;
    height: 32px;
    background-image: url(../imgs/icon_contents.png);
    background-repeat: no-repeat;
    z-index:1000; 
    position:absolute; 
    left: 200px;
    top: 1px;
}


#zoomOut {
    width: 25px;
    height: 25px;
    background-image: url(../imgs/zoomTextMinus.png);
    background-repeat: no-repeat;
    z-index:1000; 
    position:absolute; 
    left: 240px;
    top: 7px;
}


#zoomIn {
    width: 25px;
    height: 25px;
    background-image: url(../imgs/zoomTextPlus.png);
    background-repeat: no-repeat;
    z-index:1000; 
    position:absolute; 
    left: 275px;
    top: 3px;
}


/* THE TRIANGLE
------------------------------------------------------------------------------------------------------------------------------- */

/* creates triangle */
#triangle {
	content:"";
	position:absolute;
	top:32px; /* value = - border-top-width - border-bottom-width */
	left:126px; /* controls horizontal position */
	border-width:0 15px 15px; /* vary these values to change the angle of the vertex */
	border-style:solid;
	border-color:#eee transparent;
    /* reduce the damage in FF3.0 */
    display:none; 
    width:0;
    z-index:3;
}


#thumbScrollerContainer {
    width: 30%;
    height: 30%;
    padding: 20px;
    position:absolute;
    overflow:auto;
    overflow-x:hidden;
    left: 100px;
    top: 46px;
    background-color: white;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;
    -moz-box-shadow: 0px 0px 5px #999;
    -webkit-box-shadow: 0px 0px 5px #999;
    box-shadow: 0px 0px 5px #999;
    background:#eee; /* default background for browsers without gradient support */
    /* css3 */
    background:-webkit-gradient(linear, 0 0, 0 100%, from(#eee), to(#ccc));
    background:-moz-linear-gradient(#eee, #ccc);
    background:-o-linear-gradient(#eee, #ccc);
    background:linear-gradient(#eee, #ccc);
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    border-radius:10px;
    border: 1px #999 solid;
    z-index: 2;
    display: none;
}


#thumbScrollerContainer .content {
    position:relative;
    float:left;
    margin: 5px 5px 5px 5px;
    border: 2px solid f000;
}


#thumbScrollerContainer .contentMenu {
    position:relative;
    float:left;
    margin: 5px 5px 5px 5px;
    border: 2px solid f000;
    cursor: pointer;
    background-color: black;
}

#thumbScrollerContainer .contentTitle {
    position: absolute;
    display:inline;
    top: 0px;
    left: 0px;
    padding: 3px 6px 3px 6px;
    background-color: #000;
    color: #fff;
    text-align: center;
    font-size:11px;
    opacity:0.7;
}


#thumbScrollerContainerCloseBtn {
    position: fixed;
    right: 10px;
    top: 10px;
    width: 16px;
    height: 16px;
    background-image: url(../imgs/icon_close.png);
    background-repeat: no-repeat;
    cursor:pointer;
    display:none;
}

/*#thumbScroller{
    position:relative;
    left:0px;
    top: 0px;
    z-index: 2;
}



*/

.navBtn {
    width: 104px;
}

.current {
    background-color: #f00 !important;
}

.fp_loading{
	display:none;
	position:fixed;
	top:50%;
	left:50%;
	margin:-35px 0px 0px -35px;
	background:#000 url(../imgs/pfloader.gif) no-repeat center center;
	width:70px;
	height:70px;
	-moz-border-radius:10px;
	-webkit-border-radius:10px;
	border-radius:10px;
	z-index:999;
	opacity:0.7;
}

.fp_next,
.fp_prev{
	width:50px;
	height:100%;
	position:fixed;
	top:0;
	cursor:pointer;
	opacity:0;
}

.fp_next:hover,
.fp_prev:hover{
	opacity:0.9;
}

.fp_next{
	background:#000 url(../imgs/pfnext.png) no-repeat center center;
	right:-50px;
}

.fp_prev{
	background:#000 url(../imgs/pfprev.png) no-repeat center center;
	left:-50px;
}

.fp_thumbtoggle{
	height:50px;
	background:#000;
	width:200px;
	text-align:center;
	letter-spacing:1px;
	text-shadow:1px 1px 1px #000;
	position:fixed;
	left:50%;
	margin-left:-100px;
	bottom:-50px;
	line-height:50px;
	cursor:pointer;
	opacity:0.8;
}

.fp_thumbtoggle:hover{
	opacity:1.0;
}

img.fp_preview{
	position:absolute;
	left:0px;
	top:0px;
}

#image_container {
	position:absolute;
	left:0px;
	top:0px;
        display:none;
}

#flipImage {
	display:none;
}


#instructions {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    background-color: #000;
    color: #fff;
}



#instructionImageTitle img{
    width:350px;
    height:110px;
    position:fixed;
    left: 50%;
    top:0;
    margin-top: 20px;
    margin-left: -175px;
}



#instructionImageBack img {
    width:100px;
    height:167px;
    position:fixed;
    left: 0px;
    top:50%;
    margin-top: -80px;
}


#instructionImageForward img{
    width:100px;
    height:167px;
    position:fixed;
    right: 0px;
    top:50%;
    margin-top: -80px;
}


#instructionImageBookmarks img{
    width:160px;
    height:150px;
    position:fixed;
    left: 100px;
    top:40px;
}


#instructionImageSwipe img {
    display: none;
}


#instructionImageNavigation img {
    display:none;
}