@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro');

*{
    font-family: "Noto Sans TC","微軟正黑體", "sans-serif";
    box-sizing: border-box;
}

body, html{
    width: 100%;
    margin: 0px;
    padding: 0px;
}

body{
    background-color: #DDDDDD;
}

a{
    text-decoration: none;
    color: black;
}

a img{
    border: 0px;
}

.header{
    height: 35px;
    background-color: #424242;
}

.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;
    font-family: "Noto Sans TC","微軟正黑體", "sans-serif";
}

img{
    border: 0px;
}

#back-to-top{
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 10;
}

map *:focus{
    outline: none;
}

.top .content{
    background-image: url(images/9789570850994_head_bg.jpg);
    background-position: left top;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}

/*
.top .content::after{
    content: "";
    display: block;
    clear: both;
}
*/

.top-img{
    display: block;
}

.t1{
    padding: 30px 0 100px 0;
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 572px;
}

.t2{
    right: 0px;
    position: absolute;
    right: 0px;
    top: 0px;
    width: 50%;
    max-width: 487px;
}

.top p{
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
    display: inline-block;
    padding: 5px 10px;
    bottom: 200px;
    right: 100px;
}

.intro .content, .author .content, .read .content{
    background-color: #F7F7F7;
    padding-top: 60px;
}

.honor .content{
    background-color: #EAEAEA;
    background-image: url(images/9789570850994a_03.png);
    background-repeat: no-repeat;
    background-position: right bottom;
}

.intro .content::after{
    content: "";
    display: block;
    clear: both;
}

.intro-left, .intro-right{
    float: left;    
}

.intro-left{
    width: 60%;
    display: inline-block;
    margin-right: 2%;
}

.intro-left p{
    text-align: justify;
}

.quote{
    border: solid 2px #AE0012;
    border-bottom: solid 5px #AE0012;
    padding: 25px;
    color: #AE0012;
    font-weight: 600;
}

.intro-text{
    margin-top: 30px;
}

.intro-right{
    display: inline-block;
    width: 38%;
    text-align: center;
}

.intro-right img{
    width: 70%;
}

.intro-right a img{
    -webkit-filter: drop-shadow(8px 8px 5px rgba(0, 0, 0, 0.4));
    filter: drop-shadow(8px 8px 5px rgba(0, 0, 0, 0.4));
}

.intro-right span{
    padding: 5px 20px;
    margin-left: 12px;
    color: black;
    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: 500;
    border: solid 1px black;
}

.intro-right p{
    margin-top: 20px;
    text-align: center;
    color: black;
/*    font-size: 0.9rem;*/
}

.recommend{
/*    display: inline-block;*/
    background-color: #EAEAEA;
    padding: 25px;
    margin: 40px 0;
    float: left;
}

.recommend p{
    color: #606060;    
}

.name{
    font-weight: 600;
    color: black;
    padding-right: 3px;
}

.photo{
    width: 30%;
    max-width: 300px;
    min-height: 453px;
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    background-image: url(images/9789570850994_author.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.author .content{
    font-size: 0;
}

.author-text{
    width: 70%;
    display: inline-block;
    vertical-align: middle;
    padding: 25px;
    color: white;
    position: relative;
    max-height: 453px;
    overflow-y: scroll;
    background: #1d1e1e; /* Old browsers */
    background: -moz-linear-gradient(-45deg, #1d1e1e 83%, #111111 83%); /* FF3.6-15 */
    background: -webkit-linear-gradient(-45deg, #1d1e1e 83%,#111111 83%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(135deg, #1d1e1e 83%,#111111 83%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1d1e1e', endColorstr='#111111',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.author-text p{
    text-align: justify;
    font-weight: 300;
}

.author-text h4{
    color: #FFF000;
    margin: 10px 0;
}

.author-title{
    display: inline-block;
    background-color: #AE0012;
    padding: 10px 8px;
    position: absolute;
    top: 0;
    right: 20px;
    color: white;
}

.honor h4{
    display: inline-block;
    margin: 30px 0;
    color: #FFF000;
    background-color: #AE0012;
    font-weight: 400;
    padding: 10px 20px;
}

.honor-text{
    -moz-column-count: 2; /* Firefox */
    -webkit-column-count: 2; /* Safari and Chrome */
    column-count: 2;
    -moz-column-gap: 40px; /* Firefox */
    -webkit-column-gap: 40px; /* Safari and Chrome */
    column-gap: 40px;
    padding-bottom: 40px;
}

.honor-text p:nth-of-type(2n){
    color: #AE0012;
}

.honor-text p:nth-of-type(2n+1){
    margin-top: 20px;
}

.honor-text p:first-of-type{
    margin-top: 0;
}

.honor::before{
    content: "";
    display: block;
    height: 70px;
    background-image: url(images/9789570850994_border_top.jpg);
    max-width: 1200px;
    margin: 0 auto;
    background-position: top center;
}

.honor::after{
    content: "";
    display: block;
    height: 70px;
    background-image: url(images/9789570850994_border_bottom.jpg);
    max-width: 1200px;
    margin: 0 auto;
    background-position: bottom center;
}

.read-title{
    position: relative;
}

.read-title h4{
    position: absolute;
    display: inline-block;
    right: 0;
    bottom: 10px;
    margin: 0;
    color: #AE0012;
}

.read-title h1{
    border-bottom: solid 3px #DDDDD3;
    position: relative;
    color: #AE0012;
    padding-bottom: 10px;
    margin-bottom: 0;
}

.read-title h1::before{
    content: "";
    display: inline-block;
    width: 25px;
    height: 25px;
    background-image: url(images/9789570850994a_04.png);
    margin-right: 10px;
    vertical-align: middle;
}

.read-text h6{
    margin: 10px 0;
    color: #6B6A62;
}

.read-text a{
    color: #A39B11;
}

.read-text a:hover{
    text-decoration: underline;
}

.read-section{
    padding-bottom: 50px;
}

.r01 .content{
    background-color: #F7F7F7;
    padding-top: 60px;
    padding-bottom: 60px;
}

.r01 .content h5{
    margin: 0;
    font-weight: 500;
}

.r01 .content h3{
    margin: 0;
    color: #AE0012;
    font-weight: 500;
}

.r01 .content h4{
    margin: 0 0 30px;
    font-weight: 400;
    color: #6B6A62;
}

.r01 .content p{
    text-align: justify;
}

/*-----Desktop-----*/

@media only screen and (min-width: 481px){
    
    html{
        font-size: 18px;
    }
    
    p{
        font-size: 1rem;
        line-height: 2rem;
        margin-top: 0px;
        margin-bottom: 0px;
    }
    
    .header-content{
        padding-left: 30px;
        max-width: 1200px;
    }
    
    .content{
        max-width: 1200px;
        margin: auto;
        padding: 0 80px;
    }
    
    .top p{
        line-height: 1.5rem;
        font-size: 1.1rem;
    }
    
    .fb-like{
        padding-top: 20px;
    }
    
    .fb-down{
        padding-top: 0;
        padding-bottom: 40px;
    }
        
    .intro-right p{
        font-size: 0.9rem;
    }
    
    .quote p{
        font-size: 1.05rem;
    }
    
    .recommend p{
        font-size: 0.8rem;
        line-height: 1.5rem;
    }
    
    .recommend span:last-of-type{
        font-size: 1.1rem;
    }
    
    .name{
        font-size: 1.1rem;
    }
    
    .author-text h4{
        font-size: 1.3rem;
        font-weight: 400;
    }
    
    .author-text h6{
        font-size: 0.5rem;
        font-weight: lighter;
        margin: 0 50px 20px 0 ;
    }
    
    .author-title{
        font-size: 0.9rem;
    }
    
    .photo .author-title{
        display: none;
    }
    
    .honor h4{
        font-size: 1.3rem;
    }
        
    .honor-text p:nth-of-type(2n){
        font-size: 0.9rem;
        line-height: 1.7rem;
    }
    
    .read-title h4{
        font-weight: 500;
        font-size: 0.9rem;
    }
    
    .read-title h1{
        font-weight: 500;
        font-size: 1.4rem;
    }
    
    .read-text h6{
        font-weight: 400;
        font-size: 0.8rem;
    }
    
    .r01 .content h5{
        font-size: 0.8rem;
    }
    
    .r01 .content h3{
        font-size: 1.4rem;
    }
    
    .r01 .content h4{
        font-size: 0.9rem;
    }
    
        
}

@media only screen and (max-width: 1024px){
        
    .intro-left{
        width: 100%;
        margin: 0;
        float: inherit;
    }
    
    .intro-right{
        width: 80%;
        display: block;
        float: inherit;
        margin: 40px auto 0;
    }
    
    .intro-right img{
        width: 80%;
        max-width: 400px;
    }
        
}

@media only screen and (max-width: 768px){
    
    .content{
        padding: 0 50px;
    }
    
    .top p{
        right: 30px;
        font-size: 1rem;
    }
    
    .photo{
        width: 100%;
        max-width: 100%;
        display: block;
        background-color: #1D1E1E;
        background-position: left;
    }
    
    .author-text{
        width: 100%;
        overflow: inherit;
        max-height: inherit;
    }
    
    .author-text .author-title{
        display: none;
    }
    
    .photo .author-title{
        display: inline-block;
    }    
    
    .author-text h6{
        margin-right: 0;
    }
    
    .honor-text{
        -moz-column-count: 1; /* Firefox */
        -webkit-column-count: 1; /* Safari and Chrome */
        column-count: 1;
    }
    
    .honor-text p:nth-of-type(2n){
        border-bottom: solid 1px #999999;
        padding-bottom: 30px;
    }
    
    .honor-text p:last-of-type{
        border: 0;
    }
    
    .honor-text{
        padding-bottom: 0px;
    }
    
}


/*-----Phone-----*/

@media only screen and (max-width: 480px){
    
    html{
        font-size: 10px;
    }
    
    .header-content{
        padding-left: 10%;
        width: 100%;
    }
    
    .content{
        width: 100%;
        overflow: hidden;
        padding: 0 10%;
    }
    
    p{
        font-size: 1.6rem;
        line-height: 2.5rem;
    }
    
    .footer{
        font-size: 1.5rem;
        padding: 10px 50px;
    }
    
    .top p{
        font-size: 1.5rem;
        line-height: 1.6rem;
        margin: 0;
    }
    
    .intro-right img{
        width: 100%;
    }
    
    .recommend span:last-of-type{
        font-size: 2rem;
    }
        
    .name{
        font-size: 2rem;
    }
    
    .author .content{
        padding-top: 0px;
    }
    
    .author-text h6{
        font-size: 0.5rem;
        font-weight: lighter;
        margin: 0 0 20px 0;
    }
    
    .author-text h4{
        font-size: 2rem;
        font-weight: 400;
        margin-bottom: 0px;
    }
    
    .author-title{
        font-size: 1.5rem;
    }
    
    .honor h4{
        font-size: 2rem;
    }
    
    .honor-text p:nth-of-type(2n){
        margin: 0;
    }
    
    .honor-text p:nth-of-type(2n+1){
        margin-bottom: 0;
    }
    
    .read-section{
        padding-bottom: 30px;
    }
    
    .read-title h4{
        font-weight: 500;
        font-size: 1.5rem;
    }
    
    .read-title h1{
        font-weight: 500;
        font-size: 2rem;
        margin: 0;
    }
    
    .read-text h6{
        font-weight: 400;
        font-size: 1.5rem;
    }
    
    .fb-like{
        padding-top: 20px;
    }
    
    .fb-down{
        padding-top: 0;
        padding-bottom: 40px;
    }
    
    .r01 .content h5{
        font-size: 1.5rem;
    }
    
    .r01 .content h3{
        font-size: 2.5rem;
    }
    
    .r01 .content h4{
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .r01 .content p{
        margin-bottom: 10px;
    }
    
}
