/*Google fonts*/

/*黑體*/

@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
/*font-family: "Noto Sans TC", "微軟正黑體", "sans-serif";*/

/*楷體*/

@import url(https://fonts.googleapis.com/earlyaccess/cwtexkai.css);
/*font-family: "cwTeXKai", serif;*/

/*明體*/

@import url(https://fonts.googleapis.com/earlyaccess/cwtexming.css);
/*font-family: "cwTeXMing", serif;*/

/*思源宋體*/

@import @import url('https://fonts.googleapis.com/css?family=Noto+Serif+TC:200,300,400,500,600,700,900');
/*font-family: 'Noto Serif TC', serif;*/

/*政治與思想系列*/
/*@import url('https://fonts.googleapis.com/css?family=Crimson+Text:700,700i');*/
/*font-family: 'Crimson Text', serif;*/

@import url('https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400i,700');
/*font-family: 'Libre Baskerville', serif;*/

* {
    font-family: "Noto Sans TC", "微軟正黑體", "sans-serif";
    box-sizing: border-box;
    margin: 0;
    /*    transition-duration: 0.5s;*/
}

body,
html {
    width: 100%;
    margin: 0px;
    padding: 0px;
}

html {
    font-size: 16px;
}

a {
    text-decoration: none;
    font-size: 1rem;
    color: black;
}

p,
ul{
    font-size: 1rem;
    line-height: 2rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    text-align: justify;
}

h1{
    font-size: 2.3rem;
}

h2 {
    font-size: 1.8rem;
}

h3 {
    font-size: 1.3rem;
}

h4 {
    font-size: 1.1rem;
}

a img {
    border: 0px;
}

img {
    max-width: 100%;
}

.header {
    height: 35px;
    background-color: #424242;
}

.content {
    position: relative;
    overflow: hidden;
}

#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 10;
}

map *:focus {
    outline: none;
}

.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;
    font-weight: 400;
    color: #333;
}

.top{
    background: url(images/9789570852233_topbg.jpg);
    font-size: 0;
    text-align: center;
}

.top_b{
    text-align: center;
    color: white;
    padding: 40px 0;
    position: relative;
}

.top_b img{
    position: relative;
}

.top_b .bg{
    width: 85%;
    background-color: #604311;
    height: 100%;
    position: absolute;
    mix-blend-mode: multiply;
    left: 0;
    right: 0;
    top: 0;
    margin-left: auto;
    margin-right: auto;
}

.top_b h3{
    max-width: 80%;
    margin: auto;
    font-weight: 400;
    position: relative;
}

.top_b h3 span{
    font-size: 1rem;
    opacity: 0.6;
}

.nav{
    font-size: 0;
    background-color: #684729;
    border-bottom: solid 6px #A57A56;
}

.nav .content{
    padding: 0;
}

.nav ul{
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0;
}

.nav li{
    font-size: 1rem;
    display: inline-block;
    width: 16.66%;
    margin: 0;
    padding: 20px 10px;
    text-align: center;
    max-height: 90px;
}

.nav a{
    color: white;
    width: 100%;
    height: 100%;
}

.nav li:hover{
    background-color: #A57A56;
}

.nav li.li_b:hover{
    background-color: rgba(6,143,61,0.9);
}

.nav li.li_c:hover{
    background-color: rgba(191,11,46,0.9);
}

.nav li.li_d:hover{
    background-color: rgba(232,73,33,0.9);
}

.nav li.li_e:hover{
    background-color: rgba(72,40,105,0.9);
}

.nav-fixed{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
/*    background-color: rgba(104,71,41,0.8);*/
/*    border-bottom: solid 6px rgba(104,71,41,0.8);*/
    transition: height 0.5s ease 0.5s;
}

.nav-fixed li{
    padding: 10px;
}

.s1{
    background-color: #F7F0EB;
}

.s1 .title, .s2 .title{
    text-align: center;
    background-color: #E0D7D1;
    padding: 10px 0;
    line-height: 0;
    margin-bottom: 40px;
}

.title img{
    vertical-align: middle;
}

.features{
    font-size: 0;
    width: 100%;
    max-width: 1000px;
}

.features .box{
    width: 33.33%;
    display: inline-block;
    margin: 20px 0;
    text-align: center;
    vertical-align: top;
}

.box .pic{
    color: white;
    text-shadow: 0px 0px 10px black;
    -webkit-background-size: 100%;
    background-size: 100%;
    background-repeat: no-repeat;
    border-radius: 50%;
    position: relative;
}

.box .pic img{
    border-radius: 50%;
}

.box .pic h2{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    line-height: 0;
    width: 100%;
}

.box .text p{
    margin: 0 auto;
    max-width: 250px;
    font-size: 1.3rem;
    line-height: 2.5rem;
    font-weight: bold;
}

.box .text{
    margin-top: 15px;
}

.select{
    max-width: 900px;
    margin: 50px auto 0;
    padding: 20px 40px;
}

.select p{
    margin: 0;
}

.select a{
    transition: 0.2s;
}

.select span{
    font-size: 1.1rem;
}

.select h3{
    margin-bottom: 10px;
}

.s3 .select{
    border: solid 1px #068F3D;
}

.s3 .select h3{
    color: #068F3D;
}

.s3 .select a{
    color: #068F3D
}

.s3 .select a:hover{
    background-color: #068F3D;
    color: white;
}

.s4 .select{
    border: solid 1px #A86060;
}

.s4 .select h3{
    color: #A86060;
}

.s4 .select a{
    color: #A86060
}

.s4 .select a:hover{
    background-color: #A86060;
    color: white;
}

.s5 .select{
    border: solid 1px #BF7351;
}

.s5 .select h3{
    color: #BF7351;
}

.s5 .select a{
    color: #BF7351
}

.s5 .select a:hover{
    background-color: #BF7351;
    color: white;
}

.s6 .select{
    border: solid 1px #9960AA;
}

.s6 .select h3{
    color: #9960AA;
}

.s6 .select a{
    color: #9960AA
}

.s6 .select a:hover{
    background-color: #9960AA;
    color: white;
}


.s2{
    background-color: #D8D8D8;
}

.s2 .title{
    background-color: #C6C5C4;
}

.s2 .guide{
    max-width: 900px;
    margin: auto;
}

.s2 .guide a{
    background-color: #7C7C7C;
    color: white;
    padding: 3px 10px;
    transition: 0.1s;
/*
    display: inline-block;
    margin-top: 10px;
*/
}

.s2 .guide a:hover{
    background-color: #333;
    padding: 5px 12px;
}

.bgtext{
    font-family: 'Libre Baskerville', serif;
    font-size: 10rem;
    line-height: 10rem;
    position: absolute;
    z-index: 0;
    right: 100px;
    top: 80px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.s3 .bgtext, .s5 .bgtext{
    color: #F2F2F2;
}

.s4 .bgtext, .s6 .bgtext{
    color: #fff;
}

.book_title{
    margin-bottom: 40px;
}

.book_title *{
    text-align: center;
    position: relative;
    margin: auto;
}

.book_title p{
    font-family: 'Libre Baskerville', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: white;
    padding: 0 10px;
    line-height: 32px;
    width: 50px;
    height: 30px;
    z-index: 2;
    letter-spacing: 1px;
}

.book_title h3{
    top: -15px;
    display: table;
    padding: 20px 20px 10px;
}

.book_content{
    width: 100%;
    font-size: 0;
    position: relative;
}

.book_content .left{
    display: inline-block;
    width: 280px;
    text-align: center;
    vertical-align: middle;
}

.book_content .right{
    display: inline-block;
    width: calc(95% - 300px);
    margin-left: 5%;
    vertical-align: middle;
}

.book_content .right .quote{
    padding-left: 45px;
    position: relative;
    margin-bottom: 30px;
}

.book_content .right .quote::before{
    content: "";
    display: block;
    position: absolute;
    width: 16px;
    height: 100%;
    border-radius: 8px;
    left: 0;
    top: 0;
}

.author p:first-child, .foreword p:first-child{
    font-weight: bold;
    font-size: 1.2rem;
}

.author span{
    font-size: 1rem;
}

.s3 .book_title p{
    background-color: #5FAA73;
}

.s3 .book_title h3{
    color: #5FAA73;
    border: solid 1px #5FAA73;
}

.s3 .book_content .right .quote::before{
    background-color: #5FAA73;
}

.s3 .author p:first-child, .s3 .foreword p:first-child{
    color: #5FAA73;
}

.s3 .author{
    border-bottom: solid 1px #5FAA73;
    padding-bottom: 30px;
}

.s3 .foreword{
    padding-top: 30px;
}

.s3 .foreword a{
    background-color: #5FAA73;
    padding: 3px 10px;
    transition: 0.1s;
    color: white;
}

.s3 .foreword a:hover{
    background-color: #068F3D;
    padding: 5px 12px;
}

.s4, .s6{
    background-color: #F7F0EB;
}

.s4 .book_title p{
    background-color: #A86060;
}

.s4 .book_title h3{
    color: #A86060;
    border: solid 1px #A86060;
}

.s4 .book_content .right .quote::before{
    background-color: #A86060;
}

.s4 .author p:first-child, .s4 .foreword p:first-child{
    color: #A86060;
}

.s5 .book_title p{
    background-color: #BF7351;
}

.s5 .book_title h3{
    color: #BF7351;
    border: solid 1px #BF7351;
}

.s5 .book_content .right .quote::before{
    background-color: #BF7351;
}

.s5 .author p:first-child, .s4 .foreword p:first-child{
    color: #BF7351;
}

.s6 .book_title p{
    background-color: #9960AA;
}

.s6 .book_title h3{
    color: #9960AA;
    border: solid 1px #9960AA;
}

.s6 .book_content .right .quote::before{
    background-color: #9960AA;
}

.s6 .author p:first-child, .s4 .foreword p:first-child{
    color: #9960AA;
}

#buy{
    margin-top: 15px;
}

#buy p {
    display: inline-block;
}

#buy a {
    display: inline-block;
    padding: 3px 15px;
    margin-left: 12px;
    font-weight: bold;
    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;
    border: solid 1px black;
    font-size: 1rem;
}

#buy a:hover {
    background-color: #424242;
    color: white;
}

/*---------------------------------*/

.r01 {
    background-color: #F7F0EB;
    background: url(images/9789570852233_topbg.jpg);
    background-attachment: fixed;
    text-align: center;
}

.r01 h4 {
    padding: 0 10px;
}

.r01 h2 {
    color: #684729;
    padding-bottom: 20px;
    border-bottom: 1px solid #A57A56;
    margin-bottom: 20px;
}

.r01-text{
    padding: 50px;
    border: double #452922;
    background-color: #fff;
    position: relative;
    text-align: justify;
}

.r01-text p:last-of-type{
    margin-bottom: 1rem;
}

.r01-text a:last-of-type{
    background-color: #825C3C;
    padding: 3px 10px;
    color: white;
    transition: 0.1s;
}

.r01-text a:last-of-type:hover{
    background-color: #684729;
    padding: 5px 12px;
    color: white;
}



/*-----Desktop-----*/

@media only screen and (min-width: 769px) {

    .header-content {
        padding-left: 30px;
        max-width: 1200px;
    }

    .content {
        max-width: 1200px;
        margin: auto;
        position: relative;
        padding: 100px 100px;
    }

    .fb-like {
        left: 0;
        top: 0;
        padding: 30px 0 0 30px;
    }
    
    .features .box{
        padding: 0 2%;
    }


}

/*nave bar*/

@media only screen and (max-width: 1024px){
    .nav li{
        width: 33.33%;
    }
}

/*-----Medium Screen-----*/

@media only screen and (max-width: 768px) {

    html {
        font-size: 14px;
    }
    
    .header-content {
        padding-left: 30px;
    }

    .content {
        padding: 50px;
    }

    .fb-like {
        left: 0;
        top: 0;
        padding: 30px 0 0 30px;
    }
    
    .title_dec{
        display: none;
    }
    
    .features .box{
        width: 50%;
        padding: 0 15px;
    }
    
    .bgtext{
        right: 50px;
    }
    
    .book_content .left, .book_content .right{
        width: 100%;
        display: block;
        margin: 0 auto;
        max-width: 500px;
    }
    
    .book_content .left{
        margin-bottom: 40px;
    }
    
    .select{
        max-width: 500px;
    }

}


/*-----Phone-----*/

@media only screen and (max-width: 540px) {

    .header-content {
        padding-left: 10%;
        width: 100%;
    }

    .content {
        padding: 50px 30px;
    }

    .fb-like {
        padding-left: 10%;
        padding-top: 15px;
    }

    #back-to-top {
        bottom: 0;
        right: 0;
        width: 30px;
    }
    
    .top_b h3{
        font-size: 1rem;
    }
    
    .nav{
        display: none;
    }
    
    .features .box{
        width: 100%;
        padding: 0;
    }
    
    .bgtext{
        left: 30px;
    }
    
    .select{
        padding: 20px;
    }
    
    .r01-text{
        padding: 20px;
    }

}
