﻿@charset "utf-8";
/* bookturn CSS */
* {
    border: none;
    margin: 0;
    padding: 0;
}

.hidden {
    display: none !important;
    visibility: hidden !important;
}

html {
    background: #FFFCEE url(../images/all/bg.png) repeat;
}

body {
    font-family: '微軟正黑體';
    /*background-color: transparent;
    font-family: "PMingLiU", "新細明體";
    font-size: 14px;
    color: #333;
    border-top: solid 5px #9B0004;*/
}

.header .logo {
    margin: 0;
}

.header .logo a {
    position: absolute;
    width: 180px;
    display: inline-block;
    margin: 20px 30px;
    top: 0;
    z-index: 9;
}

.header .logo a img {
    width: 100%;
    height: auto;
}

.main .btn_backhome {
    width: 45px;
    height: 45px;
    background: url(_images/tools_30.png) no-repeat 8px -23px;
    background-color: #666;
    background-color: rgba(0, 0, 0, 0.5);
    text-indent: -9999px;
    border-radius: 100%;
    display: block;
    /*position: absolute;
    top: 15px;
    right: 10px;*/
    z-index: 27;
    filter: alpha(opacity=40);
    -moz-opacity: 0.4;
    opacity: 0.4;
    /* float:right; */
    /* margin-top:45px; */
    position: absolute;
    right: 5%;
    top: 100px;
}

.touch .main .btn_backhome,
.main .btn_backhome:hover {
    filter: alpha(opacity=40);
    -moz-opacity: 0.4;
    opacity: 0.4;
}

/********************* for PC (mode01) *********************/
.thumbnails ul {
    margin: 0;
    padding: 0;
    /*width: 100% !important;*/
    text-align: left;
    -webkit-transform: none;
    -moz-transform: none;
    -o-transform: none;
    -ms-transform: none;
    transform: none;
    width:30000px !important;
}

.thumbnails ul li {
    transition: transform 100ms ease-in-out 0s;
}

.thumbnails .thumb-hover {
    -webkit-transform: scale3d(1.1, 1.1, 1);
    -moz-transform: scale3d(1.1, 1.1, 1);
    -o-transform: scale3d(1.1, 1.1, 1);
    -ms-transform: scale3d(1.1, 1.1, 1);
    transform: scale3d(1.1, 1.1, 1);
    -webkit-box-shadow: 0 0 10px #666;
    -moz-box-shadow: 0 0 10px #666;
    -ms-box-shadow: 0 0 10px #666;
    -o-box-shadow: 0 0 10px #666;
    box-shadow: 0 0 10px #666;
}

.thumbanils-touch ul {
    -webkit-transform: none;
    -moz-transform: none;
    -o-transform: none;
    -ms-transform: none;
    transform: none;
}

.thumbnails-hover ul {
    -webkit-transform: none;
    -moz-transform: none;
    -o-transform: none;
    -ms-transform: none;
    transform: none;
}

.thumbnails > div {
    margin: 0 50px !important;
    overflow: hidden;
    width: auto;
    position: relative;
    padding: 10px 0;
    height: 120px;
}

.thumbnails > a.nav {
    background: url(_images/arrow.png) no-repeat;
    width: 50px;
    height: 50px;
    text-indent: -9999px;
    display: block;
    position: absolute;
    top: 40px;
    color: transparent;
}

.thumbnails > a.nav.prev {
    left: 10px;
    background-position: 0 0;
}

.thumbnails > a.nav.next {
    right: 10px;
    background-position: right 0;
}

.thumbnails {
    overflow: hidden;
    height: 100px;
    max-height: 120px;
}

.thumbnails ul li img {
    width: auto;
    height: 80px;
}

.thumbnails ul li {
    position: relative;
}

.thumbnails ul li span {
    bottom: -20px;
    color: #3f8ccc;
    cursor: default;
    display: none;
    font: bold 15px/30px arial;
    height: 20px;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 2;
    text-align: center;
}

.thumbnails ul li.current span {
    display: block;
}


.magazine-viewport {
    position: relative;
    z-index: 1;
}

.magazine-viewport .container {
    margin: -30px auto auto auto;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 922px;
    height: 600px;
}

.magazine-viewport .magazine {
    left: -346px;
    top: -225px;
    width: 922px;
    height: 600px;
}
/*thumbnails styles*/
.thumbnails {
    background-color: #aaa;
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.2);
    height: 120px;
    bottom: 29px;
    left: 0;
    right: 0;
    position: fixed;
    z-index: 4;
    width: 100%;
}

nav#tools {
    background-color: #000;
    background-color: rgba(0,0,0,0.5);
    padding: 5px 20px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    z-index: 5;
}

nav#tools .pages {
    color: #fff;
    height: 40px;
    font-size: 16px;
    position: relative;
    top: 5px;
}

nav#tools .pages > span {
    margin: 0;
}

nav#tools a {
    background-image: url(_images/tools_30.png);
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    text-indent: -9999px;
    display: inline-block;
    margin: 0 10px;
}

nav#tools a.back {
    background-position: 0 -30px;
}

nav#tools a.first {
    background-position: -30px -30px;
}

nav#tools a.prev {
    background-position: -60px -30px;
}

nav#tools a.next {
    background-position: -90px -30px;
}

nav#tools a.last {
    background-position: -120px -30px;
}

nav#tools a.share {
    background-position: -150px -30px;
    display: none;
}

nav#tools a.help {
    background-position: -240px -30px;
    display: none;
}

nav#tools a.play {
    background-position: -270px -30px;
    display: none;
}

nav#tools a.full {
    background-position: -300px -30px;
    display: none;
}

nav#tools a.thumbs {
    background-position: -330px -30px;
}

nav#tools a.back:hover {
    background-position: 0 -90px;
}

nav#tools a.first:hover {
    background-position: -30px -90px;
}

nav#tools a.prev:hover {
    background-position: -60px -90px;
}

nav#tools a.next:hover {
    background-position: -90px -90px;
}

nav#tools a.last:hover {
    background-position: -120px -90px;
}

nav#tools a.share:hover {
    background-position: -150px -90px;
}

nav#tools a.help:hover {
    background-position: -240px -90px;
}

nav#tools a.play:hover {
    background-position: -270px -90px;
}

nav#tools a.full:hover {
    background-position: -300px -90px;
}

nav#tools a.thumbs:hover {
    background-position: -330px -90px;
}

nav#tools a.play.on {
    background-position: -270px 0px;
}

nav#tools a.full.on {
    background-position: -300px 0px;
}

nav#tools a.thumbs.on {
    background-position: -330px 0px;
}

nav#tools a.play.on:hover {
    background-position: -270px -60px;
}

nav#tools a.full.on:hover {
    background-position: -300px -60px;
}

nav#tools a.thumbs.on:hover {
    background-position: -330px -60px;
}

nav#tools a.thumbs {
    position: absolute;
    right: 20px;
    top: 5px;
    background-color: #666;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

nav#tools sep {
    display: inline-block;
    width: 30px;
    height: 30px;
}



/* for Touch (mode02) */
.mode02 {
    position: relative;
    z-index: 10;
}

.mode02 .bxslider a img {
    width: 100%;
    height: auto;
}

.touch .mode02 .bx-wrapper .bx-controls-direction {
    filter: alpha(opacity=40);
    -moz-opacity: 0.4;
    opacity: 0.4;
}
