.ebookContainter
{
    /*
    width: 120vh;
    height: 67.5vh;
    */
    width: 1200px;
    height: 680px;
    margin: auto;
    margin-top: 5vh;
    position: relative;
}

.ebookContent
{
    width: 80%;
    height: 100%;
    margin: auto;
}

.nav-arrow {
    position: absolute; top: 50%; z-index: 15;
    background: url(../images/arrow-navpage.png);
    width: 34px; height: 136px;
    margin-top: -68px;
}

.nav-arrow.next			{ background-position: 0 0; }
.nav-arrow.next:hover	{ background-position: 0 -186px; }

.nav-arrow.prev			{ right: 0; background-position: 0 -372px; display: none; }
.nav-arrow.prev:hover	{ background-position: 0 -558px; }

.prePage
{
    height: 100%; width: 10%; top: 0; left: 0; background-color: transparent; position: absolute; z-index: 0;
}
.nextPage
{
    height: 100%; width: 10%; top: 0; right: 0; background-color: transparent; position: absolute; z-index: 0;
}

body
{
    background-color: black;
}

.ebookFooter
{
    position: fixed;
    background-color: white;
    bottom: 0;
    right: 0;
    height: 60px;
    width: 100vw;
    z-index: 10;

}

.ebookFooter .menu-bg{
    margin: auto;
    margin-top: 10px;
    height: 40px;
}

.ebookFooter .menu-bg ul {
    list-style: none;
    margin: 0; padding: 0;
}

.ebookFooter .menu-bg li {
    float: left;
    position: relative;
    width: 30px;
    margin: 0 3px;
    list-style: none;
    background:none;
}

a {
    cursor: pointer;
}

#showAllDiaBackground
{
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.5);

}

#showAllDia{
    position: fixed;
    top: 30%;
    left: 0;
    overflow-x:scroll;
    overflow-y:hidden;
    height: 320px;
    width: 100vw;
    background-color: black;
    box-shadow: 0 0 40px rgba(100,200, 211, 0.8);
}

#showAllDia img
{
    width: 200px;
    margin: 0px 10px;
    float: left;
}

#showAllDia .container
{
    margin-top: 20px;
}

#showAllDia .container div{
    border: 1px solid #CCC;
    float: left;
    width: 200px;
    height: 200px;
}

.ebookFooter .menu-bg a {
    font-family: Helvetica, Arial, sans-serif;
    text-decoration: none;
    font-size: 14px;
}

.ebookFooter .menu-bg li a {
    display: block;
    background: url(../images/icons.png) no-repeat;
    width: 30px; height: 40px;
}

.ebookWebMode
{
    display: none;
}

.ebookMobileMode
{
    padding: 10%;
    display: block;
}

@media (min-width: 820px)
{
    .ebookWebMode
    {
        display: block;
    }

    .ebookMobileMode
    {
        display: none;
    }

    body{
        background-color: #666666;
    }
}

.ebookMobileMode .container
{
    width: 371px;
}

.ebookMobileMode .container div
{
    position: relative;
}

.ebookMobileMode .container img
{
    width: 100%;
    margin-top: 10px;
}

.ebookFooterRightMenu
{
    position: absolute;
    right: 0;
    padding: 10px 10px;
    width: 40%;
    min-width: 120px;
}
.ebookMobileLogo
{
    margin-top: 25px;
    margin-left: 10px;
    width: 105px;
}
.ebookMobileModeFooter
{
    position: fixed;
    bottom: 0;
    left: 0;
    height: 105px;
    width: 100%;
    z-index: 99;
    background-color: white;
}
@media (min-width: 480px)
{
    .ebookFooterRightMenu
    {
        position: absolute;
        right: 0;
        padding: 10px 10px;
        width: 80%;
        min-width: 120px;
    }
    .ebookMobileModeFooter
    {
        position: fixed;
        bottom: 0;
        left: 0;
        height: 40px;
        width: 100%;
        z-index: 99;
        background-color: white;
    }
    .ebookMobileLogo
    {
        margin-top: 10px;
        margin-left: 10px;
        width: 55px;
    }
}

.ebookMobileControl
{
    position: fixed;
    z-index: 100;
    bottom: 123px;
    right: 2px;
    width: 39px;
    height: 113px;
    background-color: #a7a9ac;
}

.ebookFooter .menu-bg li a.fb				{ background-position: 0 0; }
.ebookFooter .menu-bg li a.fb:hover		{ background-position: 0 -90px; }

.ebookFooter .menu-bg li a.twitter				{ background-position: 0 -180px; }
.ebookFooter .menu-bg li a.twitter:hover		{ background-position: 0 -270px; }

.ebookFooter .menu-bg li a.download				/*{ background-position: 0 0; }*/ { background-position: 0 -540px; }
.ebookFooter .menu-bg li a.download:hover			/*{ background-position: 0 -90px; }*/ { background-position: 0 -630px; }

.ebookFooter .menu-bg li a.home					/*{ background-position: 0 -180px; }*/ { background-position: 0 -1440px; }
.ebookFooter .menu-bg li a.home:hover				/*{ background-position: 0 -270px; }*/ { background-position: 0 -1530px; }

.ebookFooter .menu-bg li a.contact				{ background-position: 0 -360px; }
.ebookFooter .menu-bg li a.contact:hover			{ background-position: 0 -450px; }

.ebookFooter .menu-bg li a.fullscreen				{ background-position: 0 -1408px; }
.ebookFooter .menu-bg li a.fullscreen:hover			{ background-position: 0 -1450px; }


.ebookFooter .menu-bg li a.show-all				/*{ background-position: 0 -540px; }*/ { background-position: 0 -1260px; }
.ebookFooter .menu-bg li a.show-all:hover			/*{ background-position: 0 -630px; }*/ { background-position: 0 -1350px; }

.ebookFooter .menu-bg li a.zoom-auto				/*{ background-position: 0 -720px; }*/ { background-position: 0 -1080px; }
.ebookFooter .menu-bg li a.zoom-auto:hover		/*{ background-position: 0 -810px; }*/ { background-position: 0 -1170px; }

.ebookFooter .menu-bg li a.zoom-in				/*{ background-position: 0 -900px; }*/ { background-position: 0 -720px; }
.ebookFooter .menu-bg li a.zoom-in:hover			/*{ background-position: 0 -990px; }*/ { background-position: 0 -810px; }

.ebookFooter .menu-bg li a.zoom-original			{ background-position: 0 -1080px; }
.ebookFooter .menu-bg li a.zoom-original:hover	{ background-position: 0 -1170px; }

.ebookFooter .menu-bg li a.zoom-out				/*{ background-position: 0 -1260px; }*/ { background-position: 0 -900px; }
.ebookFooter .menu-bg li a.zoom-out:hover			/*{ background-position: 0 -1350px; }*/ { background-position: 0 -990px; }
