/*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 url('https://fonts.googleapis.com/css?family=Noto+Serif+TC:500,600,700,900&subset=chinese-traditional');
/*font-family: 'Noto Serif TC', 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;
}

::selection {
    background: #fff;
    color: #323232;
}

::-moz-selection {
    background: #fff;
    color: #323232;
}

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%);
}

.header-content .translate {
    display: inline-block;
    position: absolute;
    right: 0;
    top: -2px;
    color: white;
}

.header-content .translate a {
    color: white;
}

.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-color: #eeefe8;
    font-size: 0;
}

.top .content {
    background: url(images/9789570852189_topbg.png);
    font-size: initial;
    background-repeat: no-repeat;
    background-position: right center;
}

.topslogan {
    font-size: 0;
    margin: 20px 0;
    background-color: #fff;
    margin-left: 50px;
    border-radius: 10px;
    border: solid 5px #d9d9d2;
    font-weight: bold;
    -webkit-box-shadow: 8px 8px #d9d9d2;
    box-shadow: 8px 8px #d9d9d2;
    max-width: 500px;
    padding: 20px 20px 20px 0;
}

.top_en .topslogan{
    margin: 20px 0;
    padding: 20px;
}

.topslogan .circle {
    background-color: #83a673;
    color: white;
    width: 100px;
    height: 100px;
    text-align: center;
    line-height: 100px;
    border-radius: 100%;
    font-size: 1.3rem;
    font-weight: bold;
    display: inline-block;
    vertical-align: middle;
    margin-left: -50px;
}

.topslogan .text {
    display: inline-block;
    vertical-align: middle;
    width: calc(100% - 100px);
    margin-left: 20px;
}

.top_en .topslogan .text {
    display: block;
    width: 100%;
    margin: 0;
}

.topslogan .text p {
    margin: 0;
    font-size: 1.3rem;
}

.top_en .topslogan .text p {
    margin: 0;
    font-size: 1rem;
    text-align: left;
    font-weight: normal;
}

.top_en .topslogan2{
    margin-top: 30px;
}

.topslogan2 p {
    background-color: #6d6465;
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    display: table;
    padding: 5px 10px;
    margin: 40px 0 20px;
}

.s1 {
    background-color: #6d6465;
}

.s1_en p {
    text-align: left;
}

.s1 .title {
    text-align: center;
    margin-bottom: 50px;
}

.s1 .title h1 {
    font-family: 'Noto Serif TC', serif;
    font-weight: 700;
    font-size: 60px;
    color: #eeefe8;
    display: inline-block;
    vertical-align: middle;
    margin: -3px 15px 0;
    line-height: 60px;
}

.s1_en .title h1 {}

.s1 .titleline {
    width: 2px;
    height: 60px;
    background-color: #eeefe8;
    display: inline-block;
    vertical-align: middle;
}

.s1_en .titleline {
    display: none;
}

.s1 .series {
    color: white;
    position: relative;
}

.s1 .series h2 {
    color: #b1d599;
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
    background-color: #6d6465;
    padding-right: 10px;
    z-index: 2;
}

/*
.s1 .series h2::after{
    content: "";
    display: inline-block;
    background-color: #b1d599;
    width: 1000px;
    height: 2px;
    position: absolute;
    left: 0;
    top: 30px;
    z-index: 1;
}
*/

.s1 .series-line {
    background-color: #b1d599;
    height: 2px;
    width: 100%;
    position: absolute;
    left: 0;
    top: 30px;
}

.s1 .series h2 img {
    vertical-align: middle;
}

.s1 .level {
    color: #483d3f;
    margin-top: 40px;
    display: flex;
    align-items: center;
    margin-bottom: 100px;
}

.s1 .level .left {
    /*    min-width: 500px;*/
    background-color: #fff;
    padding: 30px;
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    -o-flex: 1;
    flex: 1;
    position: relative;
}

.s1 .level-line {
    background-color: #483d3f;
    height: 2px;
    width: calc(100% - 60px);
    position: absolute;
    left: 30px;
    top: 60px;
}

.s1 .level .left h2 {
    margin-bottom: 10px;
    background-color: #fff;
    position: relative;
    z-index: 2;
    display: inline-block;
    padding-right: 10px;
}

.s1 .level .right {
    -webkit-flex: 2;
    -moz-flex: 2;
    -ms-flex: 2;
    -o-flex: 2;
    flex: 2;
}

.feature {
    font-size: 0;
    margin-bottom: 80px;
}

.feature .fe_box {
    display: inline-block;
    width: 25%;
    /*    height: 250px;*/
    vertical-align: top;
    padding: 0 15px 30px;
    color: white;
    position: relative;
}

.feature .fe_box h1 {
    color: #b1d599;
    font-family: 'Noto Serif TC', serif;
    font-size: 70px;
    font-weight: 400;
    line-height: 70px;
    margin-bottom: 10px;
}

.feature .fe_box h1::after {
    content: "";
    display: block;
    width: calc(100% - 75px);
    height: 2px;
    background-color: #b1d599;
    position: absolute;
    right: 15px;
    top: 65px;
}

.feature .fe_box p {
    margin: 0
}

.author {
    display: flex;
    align-items: center;
}

.author .logo {
    width: 170px;
}

.author .au_text {
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    -o-flex: 1;
    flex: 1;
    padding-left: 30px;
    color: white;
    position: relative;
}

.author .au_text h2 {
    color: #b1d599;
    background-color: #6d6465;
    position: relative;
    display: inline-block;
    padding-right: 10px;
    z-index: 2;
}

.s1 .au-line {
    background-color: #b1d599;
    height: 2px;
    width: calc(100% - 30px);
    position: absolute;
    left: 30px;
    top: 30px;
}

.s2 {
    background-color: #ddc7cc;
}

.s2 .content {
    position: relative;
}

.s2 .pic {
    margin-bottom: 80px;
}

.s2 .pinkbg {
    background-color: #d3b2b8;
    width: 800px;
    height: 500px;
    position: absolute;
    z-index: 0;
    margin: auto;
    left: 0;
    right: 0;
}

.s2 .text {
    position: relative;
    text-align: center;
    color: #483d3f;
    padding-top: 30px;
    padding-bottom: 30px;
    max-width: 780px;
    margin: auto;
}

.s2 .img {
    position: relative;
    text-align: right
}

.s2 .img img {
    width: 680px;
}

.s2 .video h2 {
    color: #483d3f;
    margin-bottom: 40px;
}

.s2 video {
    border: solid 30px #d3b2b8;
}

.s4 {
    background-color: #eeefe8;
    background-image: url(images/9789570852189_s3_bg.png);
    background-repeat: no-repeat;
    background-position: top left;
    background-attachment: fixed;
}

.s4 .row {
    display: flex;
}

.s4 .row .book {
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    -o-flex: 1;
    flex: 1;
    margin: 10px;
}

.s4 .no {
    border-bottom: dotted 2px #483d3f;
    padding: 30px 0;
}

.s4 .no.no7 {
    border-bottom: none;
}

.s4 .no .tag {
    color: white;
    display: inline-block;
    padding: 0 20px;
    border-radius: 1.8rem;
    margin-bottom: 30px;
}

.s4 .no1 .tag {
    background-color: #80241f;
}

.s4 .no2 .tag {
    background-color: #db530f;
}

.s4 .no3 .tag {
    background-color: #7a532c;
}

.s4 .no4 .tag {
    background-color: #126537;
}

.s4 .no5 .tag {
    background-color: #014076;
}

.s4 .no6 .tag {
    background-color: #322d86;
}

.s4 .no7 .tag{
    background-color: #000;
}

.s4 .no8 .tag{
    background-color: #000;
}

/*
.s4 .no3 .book:last-of-type,
.s4 .no4 .book:last-of-type,
.uv {
    visibility: hidden;
}
*/

.book p a {
    display: inline-block;
    padding: 3px 15px;
    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: normal;
    border: solid 1px black;
    font-size: 1rem;
}

.book p a:hover {
    background-color: #483d3f;
    color: white;
    border: solid 1px #483d3f;
}


/*-----Desktop-----*/

@media only screen and (min-width: 769px) {

    .header-content {
        padding-left: 30px;
        max-width: 1200px;
    }

    .header-content .translate {
        right: 30px;
    }

    .content {
        max-width: 1200px;
        margin: auto;
        position: relative;
        padding: 100px 100px;
    }

    .fb-like {
        left: 0;
        top: 0;
        padding: 30px 0 0 30px;
    }

}


/*-----Medium Screen-----*/

@media only screen and (max-width: 768px) {

    html {
        font-size: 14px;
    }

    .header-content {
        padding-left: 30px;
        padding-right:
    }

    .header-content .translate {
        right: 30px;
    }

    .content {
        padding: 50px;
    }

    .fb-like {
        left: 0;
        top: 0;
        padding: 30px 0 0 30px;
    }

    .top {
        background-image: url(images/9789570852189_topbg.png);
        background-position: right center;
        background-repeat: no-repeat;
    }

    .top .content {
        background-color: rgba(238, 239, 232, 0.5);
        background-image: url()
    }

    .s1 .level,
    .s1 .level .left,
    .s1 .level .right {
        display: block;
        width: 100%;
    }

    .feature .fe_box {
        width: 50%;
        height: inherit;
    }

    .s1 .au-line {
        display: none;
    }

    .s4 .row {
        display: block;
        font-size: 0;
    }

    .s4 .row .book {
        width: 50%;
        display: inline-block;
        margin: 0;
        padding: 10px;
        vertical-align: top;
    }

    .s4 .row .uv {
        display: none;
    }

    .s4 .row .book p:first-of-type {
        font-size: 1.5rem;
        margin-top: 10px;
    }

}


/*-----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;
    }

    .topslogan {
        margin: 20px 0;
        padding: 20px;
        text-align: center;
        box-shadow: none;
    }

    .topslogan .circle {
        margin: 0;
        width: 100%;
        height: auto;
        line-height: inherit;
        border-radius: 10px;
        margin-bottom: 10px;
        padding: 5px;
    }

    .topslogan .text {
        display: inherit;
        width: 100%;
        margin: 0;
    }

    .s1 .titleline {
        height: 30px;
    }

    .s1 .title h1 {
        font-size: 30px;
        line-height: 40px;
    }

    .feature .fe_box {
        width: 100%;
        height: inherit;
        border-bottom: solid 2px #b1d599;
        padding: 20px 0;
    }

    .feature .fe_box:last-of-type {
        border: none;
    }

    .feature .fe_box h1 {
        display: inline-block;
        width: 60px;
        vertical-align: top;
    }

    .feature .fe_box h1::after {
        content: "";
        display: none;
    }

    .feature .fe_box p {
        font-size: 1.2rem;
        line-height: 2rem;
        width: calc(100% - 60px);
        display: inline-block;
        vertical-align: top;
    }

    .author {
        display: block;
    }

    .author .logo {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
        background-color: #1e2c5a;
        padding: 15px;
    }

    .author .au_text {
        padding: 0;
    }

    .s2 video {
        border: solid 10px #d3b2b8;
    }

    .s4 .row .book {
        width: 100%;
        display: block;
        text-align: center;
        padding: 0 0 30px;
    }

    .s4 .no3 .book:last-of-type,
    .s4 .no4 .book:last-of-type,
    .s4 .row .uv {
        display: none;
    }

}
