/*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;
}

a {
    text-decoration: none;
    color: black;
}
pt {
    font-size: 18px;
    line-height: 3rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    text-align: justify;
	font-weight: bold;
}
p {
    font-size: 17px;
    line-height: 2rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    text-align: justify;
}

h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #383838;
}

h3 {
    font-size: 1.3rem;
    color: #b35019;
    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;
}

.top {
    background-image: url(images/9789570851083_top_bg.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    font-size: 0;
    max-height: 600px;
}

.top-img-l {
    vertical-align: middle;
    max-width: 100%;
    padding: 45px 50px;
}

.top-img-m {
    vertical-align: middle;
    max-width: 100%;
    padding: 30px 50px;
}

.wan{
    background-color: #D85E41;
}

.wan .content{
    padding: 30px 50px;
}

.wan-text{
    max-width: 1000px;
    margin: auto;
}

.wan-text h3{
    color: #EDAC9D;
    display: inline-block;
    margin: 0;
}

.wan-text h3:first-of-type{
    margin-right: 10px;
}

.wan-text h2{
    color: white;
    display: inline-block;
    margin: 0;
    margin-right: 10px;
}

.wan-text p{
    margin-top: 5px;
}

.wan-text a{
    color: #EDAC9D;
}

.wan-text a:hover{
    text-decoration: underline;
}

.intro .content {
    padding: 80px 50px;
    background-image: url(images/9789570851083a_03.jpg);
    background-repeat: no-repeat;
    background-position: right bottom;
}

.marx200 {
    text-align: center;
}

.marx200 h2 {
    margin: 0;
}

.line {
    height: 1px;
    background-color: #727272;
    width: 150px;
    margin: 30px auto 50px;
}

.intro-text {
    background-image: url(images/9789570851083a_01.png);
    background-repeat: no-repeat;
    background-position: left top;
    max-width: 1000px;
    margin: 0 auto;
}

.intro-text p:first-of-type,
.intro-text p:nth-of-type(2){
    font-family: 標楷體, serif;
}

.intro-text h3,
.rec-text h3 {
    margin-left: 80px;
}

.author {
    background-color: #EDEDED;
}

.author .content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 80px 50px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.author-left h3 {
    display: inline-block;
    margin: 0 0 0 10px;
    vertical-align: middle;
}

.author-left img {
    vertical-align: middle;
}

.author-left p:first-of-type {
    margin-top: 20px;
}

.author-right span {
    padding: 5px 20px;
    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;
}

.author-right span:hover {
    border: solid 1px #E84B37;
    color: #E84B37;
}

.author-right {
    text-align: center;
}


.author-right img {
    width: 80%;
    min-width: 200px;
    max-width: 350px;
}

.author-right p {
    text-align: center;
    margin-top: 20px;
}

.recommend {
    background-color: #050404;
}

.rec-text > div {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    columns:2;
    -webkit-column-gap: 40px;
    -moz-column-gap: 40px;
    column-gap: 40px;
    -webkit-column-fill: auto;
    -moz-column-fill: auto;
    column-fill: auto;
    padding-top: 20px;
}

.rec-text {
    background-image: url(images/9789570851083a_02.png);
    background-repeat: no-repeat;
    background-position: left top;
    max-width: 1000px;
    margin: 0 auto;
}

.rec-text p {
    color: white;
}

.rec-text span {
    color: #C4645C;
}

.recommend .content {
    padding: 80px 50px;
    background-image: url(images/9789570851083a_04.png);
    background-repeat: no-repeat;
    background-position: left top;
}

.read, .r01 {
    background-color: #EDEDED;
}

.read .content {
    padding: 80px 50px;
}

.r {
    max-width: 1030px;
    margin: auto;
    padding: 30px 50px;
    position: relative;
}

.r1 {
    background-color: #E84B37;
}

.r2 {
    background-color: #EFDADA;
    margin: 50px auto;
}

.r2:last-of-type {
    margin-bottom: 0;
}

.r1_rec_left {
    position: absolute;
    top: 0;
    left: 0;
}

.r1_rec_right {
    position: absolute;
    right: 0;
    bottom: 0;
}

.r1 h2 {
    color: white;
    display: inline-block;
    margin: 0;
}

.r2 h2 {
    display: inline-block;
    margin: 0;
}

.r h3 {
    color: #EDAC9D;
    display: inline-block;
    margin: 0 0 0 10px;
}

.r1 a {
    color: #EFDADA;
}

.r2 a {
    color: #E84B37;
}

.r a:hover {
    text-decoration: underline;
}

.read-line {
    width: 100%;
    height: 1px;
    background-color: white;
    margin: 20px 0;
}

.books .content{
    padding: 80px 50px;
}

.books .content::after{
    content: "";
    display: block;
    clear: both;
}

.b1{
/*    border: solid 1px;*/
    float: left;
    width: 250px;
    margin-top: 30px;
}

.b-img{
    text-align: center;
}

.b-img img{
    height: 250px;
    width: auto;
}

.b-text{
    padding: 15px 20px;
    text-align: justify;
}

.b-text a:first-of-type{
    color: #E84B37;
}

.b-text a:hover{
    text-decoration: underline;
}

.r01 .content{
    padding: 12px 50px;
}

.r01-text{
    max-width: 1000px;
    margin: auto;
}

.r01-text p{
    margin-bottom: 3px;
}

/*-----Desktop-----*/

@media only screen and (min-width: 769px) {

    html {
        font-size: 16px;
    }

    .fb-top {
        left: 30px;
        top: 20px;
    }

    .header-content {
        padding-left: 30px;
        max-width: 1200px;
    }

    .content {
        max-width: 1200px;
        margin: auto;
        position: relative;
        padding: 0 100px;
    }

    .top-img-m {
        display: none;
    }

    .author .content {
        background-image: url(images/9789570851083a_06.jpg);
        background-repeat: no-repeat;
        background-position: 85% 70%;
    }

    .author-left {
        flex: 6.5;
    }

    .author-right {
        flex: 3.5;
        margin-left: 50px;
    }

}

@media only screen and (max-width: 768px) {

    html {
        font-size: 16px;
    }

    .fb-top {
        left: 30px;
        top: 20px;
    }

    .header-content {
        padding-left: 30px;
    }

    .top-img-l {
        display: none;
    }

    .author .content {
        background-image: url(images/9789570851083a_06.jpg);
        background-repeat: no-repeat;
        background-position: 20% 20%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
    }

    .author-right {
        margin-bottom: 50px;
    }


}

/*-----Phone-----*/

@media only screen and (max-width: 540px) {

    html {
        font-size: 16px;
    }

    .fb-top {
        left: 10%;
        top: 20px;
    }

    #back-to-top {
        right: 20px;
        bottom: 20px;
    }

    .header-content {
        padding-left: 10%;
        width: 100%;
    }

    .top .content {
        width: 100%;
        padding: 0;
    }

    .content {
        padding-left: 10%;
        padding-right: 10%;
        margin: auto;
    }

    .intro .content {
        padding: 60px 0;
        padding-left: 10%;
        padding-right: 10%;
        background-position:
    }

    .rec-text > div {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }
    
    .b1{
        float: inherit;
        display: block;
        width: 100%;
    }

}
