/*Google fonts*/

/*黑體*/

@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
/*楷體*/

@import url(https://fonts.googleapis.com/earlyaccess/cwtexkai.css);
/*明體*/

@import url(https://fonts.googleapis.com/earlyaccess/cwtexming.css);

* {
    font-family: "Noto Sans TC", "微軟正黑體", "sans-serif";
    box-sizing: border-box;
    /*    transition-duration: 0.5s;*/
}

body,
html {
    width: 100%;
    margin: 0px;
    padding: 0px;
}

html{
    font-size: 16px;
    background-color: #000;
    background-image: url(images/9789570851304_bg.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: black;
}

p {
    font-size: 1rem;
    line-height: 2rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    text-align: justify;
}

h2 {
    font-size: 1.6rem;
    font-weight: 800;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

a img {
    border: 0px;
}

.header {
    height: 35px;
    background-color: #424242;
}

.content {
    position: relative;
}

.header-content {
    margin: auto;
    position: relative;
    top: 50%;
    transform: translateY(-40%);
}

.footer {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #999;
    clear: left;
}

.footer h5 {
    margin: 0px;
    letter-spacing: 4px;
    font-weight: 400;
}

img {
    border: 0px;
}

#back-to-top {
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 10;
}

map *:focus {
    outline: none;
}

.fb-top, .fb-bottom{
    max-width: 1200px;
    margin: 30px auto;
}

.fb-bottom{
    margin-bottom: 60px;
}

.top-img{
    text-align: center;
    margin-top: 40px;
}

.top-img img{
    max-width: 100%;
}

.top-text{
    max-width: 800px;
    margin: 40px auto;
}

.top-text h1{
    color: #f6c819;
    margin: 0;
    font-size: 2.5rem;
}

.top-text h3{
    margin: 0;
    color: white;
}

.intro{
    font-size: 0;
}

.intro-text{
    color: white;
    display: inline-block;
    vertical-align: middle;
    width: 60%;
    padding-right: 40px;
}

.intro-book{
    width: 40%;
    display: inline-block;
    vertical-align: middle;
    color: #f6c819;
    text-align: center;
}

.intro-book img{
    max-width: 100%;
}

.intro-book p{
    color: #f6c819;
    text-align: center;
    margin-top: 20px;
}

.intro-book span {
    padding: 3px 15px;
    margin-left: 12px;
    transition-duration: 0.5s;
    -moz-transition-duration: 0.5s;
    /* Firefox 4 */
    -webkit-transition-duration: 0.5s;
    /* Safari 和 Chrome */
    -o-transition-duration: 0.5s;
    /* Opera */
    font-weight: 400;
    color: #f6c819;
    border: solid 1px #f6c819;
}

.intro-book span:hover {
    border: solid 1px #ad2913;
    color: #ad2913;
}

.rec{
    margin: 80px auto;
}

.rec-box-out{
    background-color: rgba(201,147,89,0.8);
    padding: 13px;
    max-width: 950px;
    margin: 0 auto;
}

.rec-box-in{
    border: solid 1px #472e16;
    padding: 20px 50px;
    position: relative;
}

.rec-box-in .dot{
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: #472e16;
}

.rec-box-in .dot1{
    left: -5px;
    top: -5px;
}

.rec-box-in .dot2{
    right: -5px;
    top: -5px;
}

.rec-box-in .dot3{
    left: -5px;
    bottom: -5px;
}

.rec-box-in .dot4{
    right: -5px;
    bottom: -5px;
}

.rec-box-in h3{
    margin: 0 0 20px;
    text-align: center;
    color: #ad2913;
    font-size: 1.75rem;
}

.rec-box-in p{
    line-height: 2.3rem;
    margin-bottom: 0;
}

.rec-box-in span{
    font-size: 1.4rem;
    font-weight: bold;
}

.author{
    font-size: 0;
    margin: 120px auto;
}

.author-img{
    width: 33%;
    display: inline-block;
    vertical-align: top;
}

.author-img img{
    max-width: 100%;
    border: solid 1px white;
}

.author-text{
    width: 67%;
    display: inline-block;
    vertical-align: top;
    padding-left: 30px;
}

.author-text .title{
    margin-bottom: 20px;
}

.author-text .title h3{
    color: #c99359;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
}

.author-text .title img{
    vertical-align: middle;
    margin-left: 20px;
}

.author-text p{
    color: white;
}

.read{
    font-size: 0;
    margin: 120px auto 40px;
}

.read-left{
    display: inline-block;
    width: 65%;
    vertical-align: top;
    padding-right: 30px;
}

.readbox{
    border: solid 2px white;
    max-width: 100%;
/*    height: 200px;*/
    box-shadow: 0px 0px 10px white, inset 0px 0px 15px white;
    -webkit-box-shadow: 0px 0px 10px white, inset 0px 0px 15px white;
    -moz-box-shadow: 0px 0px 10px white, inset 0px 0px 15px white;
    padding: 30px 50px;
    position: relative;
    margin-bottom: 40px;
}

.readbox p:first-of-type{
    color: #f6c819;
    font-size: 2rem;
    font-weight: 500;
    padding-left: 20px;
    text-align: left;
}

.readbox span{
    font-size: 1.3rem;
}

.readbox p:first-of-type::before{
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background-color: white;
    position: absolute;
    left: 0;
    margin-top: 30px;
    top: 1rem;
    box-shadow: 0px 0px 10px white, inset 0px 0px 15px white;
    -webkit-box-shadow: 0px 0px 10px white, inset 0px 0px 15px white;
    -moz-box-shadow: 0px 0px 10px white, inset 0px 0px 15px white;
}

.readbox .dot{
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 100%;
    position: absolute;
    margin-top: 30px;
    top: 12.5px;
    box-shadow: 0px 0px 10px white, inset 0px 0px 15px white;
    -webkit-box-shadow: 0px 0px 10px white, inset 0px 0px 15px white;
    -moz-box-shadow: 0px 0px 10px white, inset 0px 0px 15px white;
}

.readbox .line{
    width: 100%;
    height: 1px;
    background-color: rgba(225, 225, 225, 0.8);
    margin: 20px 0;
}

.readbox p:nth-of-type(2){
    color: white;
}

.readbox a{
    color: #f6c819
}

.readbox a:hover{
    text-decoration: underline;
}

.read-right{
    display: inline-block;
    width: 35%;
    vertical-align: top;
    padding-left: 30px;
}

.read-right h3{
    color: #c99359;
    margin: 0;
}

.read-right .line{
    width: 100px;
    height: 5px;
    background-color: #c99359;
    margin: 30px 0;
}

.read-right p{
    color: white;
}

.read-right span{
    color: #c99359
}

.r01{
    color: white;
    margin: 80px auto;
}

.r01 h2{
    color: #f6c819
}

.r01 h3{
    color: #c99359
}

.r01 h2 span{
    font-size: 1.3rem;
}

.r01 a{
    color: #f6c819
}

.r01 a:hover{
    text-decoration: underline;
}

/*-----Desktop-----*/

@media only screen and (min-width: 769px){
    
    .header-content {
        padding-left: 30px;
        max-width: 1200px;
    }
    
    .fb-top{
        padding-left: 30px;
    }

    .content {
        max-width: 1200px;
        margin: auto;
        position: relative;
        padding: 0 100px;
    }
    
    .top-img img:nth-child(2){
        display: none;
    }
    
}


/*-----Medium Screen-----*/

@media only screen and (max-width: 768px){
    
    .header-content {
        padding-left: 30px;
    }
    
    .fb-top {
        padding-left: 30px;
    }
    
    .content{
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .top-img img:nth-child(2){
        display: none;
    }
    
    .intro-text{
        width: 100%;
        padding-right: 0;
        padding-top: 30px;
        border-top: solid 1px white;
    }
    
    .intro-book{
        width: 100%;
    }
    
    .read-left{
        width: 100%;
        padding: 0;
    }
    
    .readbox{
        margin-bottom: 60px;
    }
    
    .read-right{
        width: 100%;
        padding: 0;
    }
    
}


/*-----Phone-----*/

@media only screen and (max-width: 540px){
    
    #back-to-top {
        right: 0px;
        bottom: 0px;
    }

    .header-content {
        padding-left: 10%;
        width: 100%;
    }
    
    .fb-top {
        padding-left: 10%;
    }
    
    .fb-bottom{
        padding-left: 30px;
    }
    
    .top-img img:first-child{
        display: none;
    }
    
    .top-img img:nth-child(2){
        display: inherit;
    }
    
    .top-text h1{
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .rec-box-in{
        padding: 20px;
    }
    
    .author-img{
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .author-text{
        width: 100%;
        padding-left: 0;
    }
    
        
    
}