/*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;
}

a {
    text-decoration: none;
    color: black;
}

p, ul {
    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;
}

#back-to-top {
    position: fixed;
    bottom: 50px;
    right: 50px;
    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;
}

.fb-top{
    left: 0;
    top: 0;
    margin: 30px 0 0 30px;
}

.top{
    background-color: #f4ede5;
    text-align: center;
}

.top-bg{
    background-image: url(images/9789570851342_bg01.jpg);
    background-size: cover;
    background-position: center center;
    clip-path: ellipse(130% 100% at 50% 0%);
    -webkit-clip-path: ellipse(130% 100% at 50% 0%);
    padding-bottom: 60px;
}

.top img{
    max-width: 100%;
}

.top h2{
    max-width: 800px;
    color: white;
    margin: 20px auto;
    font-weight: 600;
    text-shadow: 1px 1px 10px black;
}

.intro{
    background-color: #f4ede5;
    font-size: 0;
    padding: 50px 0px;
}

.book{
    width: 45%;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
}

.book img{
    width: 100%;
    max-width: 330px;
}

.book p{
    color: black;
    text-align: center;
    margin-top: 20px;
}

.book span {
    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;
    color: black;
    border: solid 1px black;
}

.book span:hover {
    border: solid 1px #cc4f3c;
    color: #cc4f3c;
}

.intro-right{
    width: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-left: 5%;
}

.intro-right ul{
    color: #cc4f3c;
    list-style-type: none;
    padding: 0;
}

.intro-right ul li::before{
    content: "✦ "
}

.rec{
    background-color: #cc4f3c;
    color: white;
    text-align: center;
}

.rec p, .rec h5{
    display: inline-block;
    margin: 10px 0;
}

.rec span{
    font-weight: bold;
    font-size: 1.3rem;
}

.rec span:last-of-type{
    font-size: 1rem;
    color: #ffd940;
    font-weight: normal;
}

.preface{
    background-image: url(images/9789570851342_bg02.jpg);
    background-size: cover;
    color: white;
    padding: 80px 0;
    font-weight: 300;
}

.preface .line{
    width: 90px;
    height: 2px;
    background-color: #fff;
    margin-bottom: 30px;
}

.spaceimg{
    font-size: 0;
    text-align: center;
    padding: 50px 0;
    background-color: #f4ede5;
}

.spaceimg .content::after{
    content: "";
    clear: both;
    display: block;
}

.img-container{
    float: left;
    width: 33.33%;
    padding: 5px;
}

.img-container a{
    cursor: zoom-in;
}

.img-container:nth-of-type(2){
    padding-top: 30px;
}

.img-container img{
    width: 100%;
}

.modal>img{
    width: 100%;
}

.modal>p{
    font-size: 0.8rem;
    margin-bottom: 0;
    line-height: 1.2rem;
}

.author{
    background-color: #f4ede5;
    padding-bottom: 50px;
}

.author h5,.author h2{
    display: inline-block;
    margin: 0;
/*    vertical-align: middle;*/
}

.author h5{
    color: #cc4f3c;
    border: solid 1px #cc4f3c;
    padding: 2px 5px;
    margin-right: 8px;
}

.author p{
    margin-top: 20px;
}

.read{
    background-color: #cebcaa;
    padding: 50px 0;
}

.paper{
    background-color: #fff;
    padding: 30px 40px 0;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4)4;
/*    box-shadow: -2px -30px 40px rgba(161, 146, 150, 0.6) inset;*/
    position: relative;
}

.paper1{
    margin-bottom: 50px;
}

.paper::after{
    content: "";
    display: block;
    clear: both;
}

.title{
    display: inline-block;
}

.title-right h3{
    display: inline-block;
    margin: 0;
}

.title-right{
    float: right;
}

.paper-line{
    background-color: #000;
    width: 100%;
    height: 4px;
    margin: 20px 0;
}

.paper1>img{
    float: left;
    margin-right: 30px;
    width: 40%;
    max-width: 350px;
}

.paper h1{
    font-size: 4rem;
    margin: 0;
    font-weight: 900;
}

.paper a{
    color: #cc4f3c;
}

.paper a:hover{
    text-decoration: underline;
}

.paper p{
    margin: 5px 0 0;
    padding-bottom: 40px;
}

.shadow{
    width: 100%;
    background: -moz-linear-gradient(top, rgba(161,146,150,0) 0%, rgba(161,146,150,1) 80%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(161,146,150,0) 0%,rgba(161,146,150,1) 80%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(161,146,150,0) 0%,rgba(161,146,150,1) 80%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    background: -o-linear-gradient(top, rgba(161,146,150,0) 0%,rgba(161,146,150,1) 80%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00a19296', endColorstr='#a19296',GradientType=0 );
    /* IE6-9 */
    height: 47px;
    position: absolute;
    left: 0;
    bottom: 0;
    max-width: 900px;
    mix-blend-mode: multiply;
}

.paper2>img{
    max-width: 100%;
}

.paper2 h1{
    text-align: center;
}

.paper2 h2{
    color: #03549d;
    font-size: 1.4rem;
    margin: 20px 0 0;
}

.paper2>img:nth-of-type(2){
    float: left;
    margin-right: 30px;
    margin-top: 20px;
}

.r01{
    margin: 0 auto;
    padding: 60px 0;
    background-color: #f4ede5;
}

.r01 h2{
    color: #cc4f3c;
    margin-top: 0;
}

.r01 h3{
    color: #c99359;
    margin: 0;
}

.r01img01{
    float: left;
    margin: 0 20px 20px 0;
}

.r01img02{
    width: 100%;
}

.r01img03{
    float: left;
    margin: 0 20px 20px 0;
}




/*-----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: 0 100px;
    }
    
    .top img:nth-of-type(2){
        display: none;
    }
    
}

/*-----Medium Screen-----*/

@media only screen and (min-width: 541px) and (max-width: 768px){
    
    .header-content {
        padding-left: 30px;
    }
    
    .content{
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .top img:nth-of-type(2){
        display: none;
    }
    
    h2{
        font-size: 1.3rem;
    }
    
    .img-container{
        width: 80%;
        max-width: 320px;
        float: inherit;
        padding: 0;
        margin: 10px auto;
    }
    
    .img-container:nth-of-type(2){
        padding-top: 0px;
    }
    
    .paper h1{
        font-size: 5.6vw;
    }
    
    .paper2 h2{
        font-size: 1.2rem;
    }
    
}


/*-----Phone-----*/

@media only screen and (max-width: 540px){
    
    #back-to-top {
        right: 20px;
        bottom: 50px;
    }
    
    #back-to-top img{
        width: 60px;
    }

    .header-content {
        padding-left: 10%;
        width: 100%;
    }
    
    .content{
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .fb-top{
        left: 0;
        top: 0;
        margin: 20px 0 0 10%;
    }
    
    .top-bg{
        clip-path: ellipse(180% 100% at 50% 0%);
        -webkit-clip-path: ellipse(180% 100% at 50% 0%);
    }
    
    .top img:nth-of-type(1){
        display: none;
    }
    
    h2{
        font-size: 1.2rem;
    }
    
    .intro .content{
    }
    
    .book{
        width: 100%;
        margin-bottom: 50px;
    }
    
    .intro-right{
        width: 100%;
        margin: 0;
    }
    
    .img-container{
        width: 100%;
        max-width: 320px;
        float: inherit;
        padding: 0;
        margin: 10px auto;
    }
    
    .img-container:nth-of-type(2){
        padding-top: 0px;
    }
    
    .paper{
        padding: 30px 20px 0;
    }
    
    .paper h1{
        font-size: 2rem;
    }
    
    .paper1>img{
        float: inherit;
        margin-right: 0px;
        width: 100%;
    }
    
    .paper2>img:nth-of-type(2){
        margin-top: 10px;
        margin-right: 0;
        width: 100%;
        float: inherit;
    }
    
    .paper2 h2{
        margin-top: 20px;
    }
    
    .r01{
        padding: 30px 0;
    }
    
    .r01img01{
        float: inherit;
        margin: 0 auto 20px;
        display: block;
        max-width: 100%;
    }
    
    .r01img03{
        float: inherit;
        margin: 0 auto 20px;
        display: block;
        max-width: 100%;
    }
    
}
