@font-face {  
    font-family: 'supermarket';  
    src: url('../font/supermarket.eot');  
    src: local('supermarket'),   local('supermarket'),   url('../font/supermarket.ttf') format('truetype');  
}

@font-face{
    font-family: 'sukhumvitreg';
    src: url('../../font/sukhumvitreg-webfont.eot');
    src: url('../../font/sukhumvitreg-webfont.woff');
}

@font-face{
    font-family: 'sukhumvitlight';
    src: url('../../font/sukhumvitlight-webfont.eot');
    src: url('../../font/sukhumvitlight-webfont.woff');
}


body{
    padding: 0;
    margin: 0;
    font-family: Tahoma,sans-serif;
    font-size: 14px;
}

#lr-wrapper{
    width: 100%;
}
.lr-head{
    width: 100%;
    background: url(images/bg_head.jpg) no-repeat;
    background-size: cover;
    min-height: 400px;
    position: relative;
}
.lr-head:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 5px;
    background: url(images/border_color.jpg) no-repeat;
    left: 0;
    bottom: -5px;
    background-size: cover;
}
.lr-head .lr-wrap{
    text-align: center;
}
.lr-head .lr-wrap:first-child{
    padding: 10px 0;
    position: relative;
}
.lr-head .lr-wrap:first-child:after{
    content: url(images/bg_logo.png);
    display: block;
    position: absolute;
    z-index: 0;
    left: 50%;
    margin-left: -412px;
    top: 0;
}
.lr-head .lr-wrap:last-child h3{
    font-size: 57px;
    color: #FFF;
    margin: 0;
    font-weight: normal;
    font-family: sukhumvitlight;
    padding: 20px 0 50px;
}
.logo-dd{
    position: absolute;
    left: 0;
    top: 30px;
}
.lr-wrap{
    width: 1070px;
    margin: 0 auto;
}
.lr-wrap-title{
    position: relative;
    z-index: 1;
}

.logo-top{
    display: inline-block;
    margin: 0 auto;
    padding: 10px;
    position: relative;
    z-index: 1;
}
.w-group{
    display: inline-block;
    width: 100%;
    max-width: 500px;
    margin: 15px;
    box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.5);
}
.w-group-l{
    background: url(images/bg_l.jpg) no-repeat #d2a05e;
    background-size: cover;
}
.w-group-r{
    background: url(images/bg_r.jpg) no-repeat #d7d7d7;
    background-size: cover;
}
.w-group .wg-border{
    border: solid 1px rgba(255,255,255,0.8);
    margin: 13px;
}
.w-group .wg-border h2{
    font-weight:normal;
    margin: 15px 0 10px;
    font-family: sukhumvitreg;
    font-size: 30px;
}
.w-group .wg-border p{
    font-size: 22px;
    color: #FFF;
    text-shadow: 1px 0px 6px rgba(0,0,0,0.9);
    margin: 10px 0 25px;
    position: relative;
    padding: 0 10px;
}

.w-group .wg-border span{
    display: block;
    font-size: 14px;
}

.box-novel{
    box-shadow: 0px 0px 30px 6px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0px 0px 30px 6px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 30px 6px rgba(0,0,0,0.2);
    -o-box-shadow: 0px 0px 30px 6px rgba(0,0,0,0.2);
    margin: 45px auto;
    position: relative;
    max-width: 1024px;
}
.box-novel.first{
    text-align:center;
    background:#1d0f0c;
    max-width:765px;
    
    overflow:hidden;
    border-radius:4px;
    width:100%;
    margin: 30px auto 50px;
}
.box-novel.first img{
    max-width: 100%;
    display: block;
}
.overlap .box-novel-left{
    filter:blur(5px);
    -webkit-filter:blur(5px);
    -moz-filter:blur(5px);
    -o-filter:blur(5px);
}
.overlap .box-novel-right{
    filter:blur(5px);
    -webkit-filter:blur(5px);
    -moz-filter:blur(5px);
    -o-filter:blur(5px);
}

.overlap:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    top: 0;
    left: 0;
    z-index: 5;
}
.soon{
    position: absolute;
    width: 100%;
    left: 0;
    top: 30%;
    text-align: center;
    color: #FFF;
    z-index: 7;
}
.soon h2{
    margin: 0;
    padding: 10px 0 0px;
    font-family: sukhumvitlight;
    font-weight: normal;
    font-size: 50px;
    display: inline-block;
    border-top:solid 2px #FFF;
    border-bottom:solid 2px #FFF;
}
.soon span{
    font-size: 14px;
    display: block;
    margin: 0 auto;
    padding: 5px 0;
}
.box-novel:after{
    content: "";
    display: block;
    height: 0;
    clear: both;
}
.box-novel h2.headline{
    position: absolute;
    display: inline-block;
    top: 0;
    left: 0;
    z-index: 6;
    padding: 5px 15px;
    margin: 10px 0 0 -10px;
}
.box-novel-legend h2.headline{
    background: #c09257;
}
.box-novel-rewind h2.headline{
    background: #c7c7c7;
}
.box-novel-left{
    width: 50%;
    float: left;
    background: #ece8e3;
    position: relative;
    height: 100%;
    position: relative;
}
.box-novel-left .cover-book{
    display: inline-block;
    float: right;
    position: relative;
    max-width: 32%;
    padding: 15px;
}
.box-novel-left .cover-book a.read{
    position: absolute;
    z-index: 2;
    display: inline-block;
    padding: 3px 0;
    background: #c09257;
    width: 80px;
    left: 50%;
    margin-left: -40px;
    top: 50%;
    margin-top: -10px;
    display: none;
    text-align: center;
    text-decoration: none;
    color: inherit;
    border-radius: 3px;
}
.box-novel-left .cover-book a.read:hover{
    background: #d8af7a;
}
.box-novel-left .cover-book:hover a.read{
    display: inline-block
}
.box-novel-left .novel{
    width: 140px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
    display: inline-block;
    vertical-align: top;
    max-width: 100%;
}
.novel-detail{
    list-style: none;
    padding: 60px 20px 20px;
    margin: 0;
    font-size: 16px;
}
.novel-detail li{
    padding: 5px 0;
    border-bottom: dotted 1px #CCC;
}
.novel-detail li:last-child{
    border-bottom: none;
    text-align: center;
}
.novel-detail li:last-child a{
     display: inline-block;
    padding: 3px 10px;
    background: #c09257;
    margin: 4px 0;
    border-radius: 3px;
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}
.novel-detail li:last-child a:hover{
    background: #d8af7a;
}
.box-novel-rewind .novel-detail li:last-child a{
    background: #c7c7c7;
}
.box-novel-rewind .novel-detail li:last-child a:hover{
    background: #b7b7b7;
}
.box-novel-rewind .box-novel-left .cover-book a.read{
    background: #c7c7c7;
}
.box-novel-rewind .box-novel-left .cover-book a.read:hover{
    background: #b7b7b7
}
.novel-detail span:first-child{
    display: inline-block;
    min-width: 70px;
    vertical-align: top;
}
.novel-detail span:last-child{
    font-weight: bold;
    display: inline-block;
    max-width: 245px;
    vertical-align: top;
}
.writer-avatar{
    border-radius: 50%;
    border: solid 3px #FFF;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.4);
    -webkit-box-shadow: 2px 2px 5px rgba(0,0,0,0.4);
    -moz-box-shadow: 2px 2px 5px rgba(0,0,0,0.4);
    -o-box-shadow: 2px 2px 5px rgba(0,0,0,0.4);
    width: 95px;
}
.box-novel-right{
    width: 50%;
    float: right;
}
.box-novel-right:after{
    display: block;
    height: 0;
    content: "";
    clear: both;
}

.box-novel-right .novel-talk{
    display: block;
    min-width: 96%;
    min-height: 185px;
    border-radius: 15px;
    margin: 2%;
    text-align: center;
    vertical-align: middle;
    float: right;
    position: relative;
}
.box-novel-right .novel-talk:hover .hl-gold{
    background: #d8af7a;
}
.box-novel-right .novel-talk i.fa{
    position: absolute;
    font-size: 22px;
    color: #CCC;
}
.box-novel-right .novel-talk i.fa.fa-quote-left{
    top: 97px;
    left: 5px;
}
.box-novel-right .novel-talk i.fa.fa-quote-right{
    top: 97px;
    right: 5px;
}
.box-novel-right .novel-talk table{
    width: 100%;
    text-align: center;
    font-family: 'sukhumvitreg';
    font-size: 30px;
}
.box-novel-legend .novel-talk{
    border-color: #c09257;
}
.box-novel .novel-talk p{
    margin: 0;
    line-height: 1em;
}

.box-novel .novel-talk a{
    color: inherit;
    text-decoration: none;
}
.hl{
    display: inline-block;
    padding: 3px 10px;
}
.hl-gold{
    background: #c09257;
}
.box-novel-legend .novel-talk i.fa{
    color: #c09257;
}
.box-novel-rewind .novel-talk{
    border-color: #c7c7c7;
}
.box-novel-rewind .novel-talk i.fa{
    color: #c7c7c7;
}
.box-novel-right .novel-btn{
    display: block;
    min-width: 100%;
    margin: 0;
    float: right;
    text-align: center;
    padding: 0 0 10px;
}
.novel-btn-a{
    display: inline-block;
    padding: 8px 20px;
    border-radius: 4px;
    background: #CCC;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 1px 1px 8px rgba(0,0,0,0.2);
    margin: 8px;
    text-align: center;
}
.novel-btn-a-gold{
    background: #c09257;
}
.novel-btn-a-gold:hover{
    background: #BB9563;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
}
.novel-btn-a-silver{
    background: #c7c7c7;
}
.novel-btn-a-silver:hover{
    background: ###BBBABA;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
}

.timeline{
    text-align: center;
    padding: 50px 0 20px;
}
.timeline h2{
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}
ul.time{
    list-style: none;
    padding: 0;
    margin: 0 30px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    margin-top: 7px;
}
ul.time:before{
    content: "";
    display: block;
    width: 100%;
    position: absolute;
    z-index: 0;
    height: 3px;
    background: #d2d2d2;
    left: 0;
    top: 9px;
}
ul.time:after{
    content: "";
    display: block;
    width: 589px;
    position: absolute;
    z-index: 0;
    height: 3px;
    background: #000;
    left: 0;
    top: 9px;
}
ul.time li{
    position: relative;
    display: inline-block;
    width: 17px;
    height: 17px;
    background: #d2d2d2;
    border-radius: 50%;
    border:solid 2px #FFF;
    margin: 0 20px;
    z-index: 3;
}
ul.time li:hover{
    background: #2b2b2b;
}
ul.time li:first-child{
    margin-left: 0;
}
ul.time li:last-child{
    margin-right: 0;
}
ul.time li b{
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    margin-left: -12px;
    margin-top: 8px;
    line-height: 40px;
    color: #ccc;
    font-size: 12px;
}
ul.time li.active{
    z-index: 2;
}
ul.time li.active b{
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2b2b2b;
    position: absolute;
    margin-left: -13px;
    margin-top: -13px;
    line-height: 40px;
    color: #FFF;
    font-size: 16px;
    z-index: 4;
}

ul.time li.active_past b{
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2b2b2b;
    position: absolute;
    margin-left: -13px;
    margin-top: -13px;
    line-height: 40px;
    color: #FFF;
    font-size: 16px;
}
.pop-book{
    width: 200px;
    height: 110px;
    position: absolute;
    left: 50%;
    margin-left: -100px;
    top: -126px;
    background: #CCC;
    border-radius: 5px;
    box-shadow: 1px 1px 8px rgba(0,0,0,0.6);
    display: none;
    /*overflow: hidden;*/
    z-index: 5;
}
.pop-book:after{
    content: url(images/pop-ar.png);
    position: absolute;
    bottom: -15px;
    left: 89px;
}
.pop-book.pop-book-date:after{
    content: "";
    position: absolute;
    bottom: -10px;
    left: 44%;
    border-style: solid;
    border-width: 10px 10px 0;
    border-color: #c09257 transparent;
    display: block;
    width: 0;
    z-index: 5;
}
.btn-time:hover .pop-book{
    display: block;
}

ul.time li:hover .pop-book.pop-book-past {
    z-index: 5;
}

.pop-book-legend{
    width: 50%;
    float: left;
    background: #caa16d;
    height: 100%;
    text-align: center;
}
.pop-book-rewind{
    width: 50%;
    float: right;
    background: #D7D7D7;
    height: 100%;
    text-align: center;
}
.pop-book-legend img,.pop-book-rewind img{
    width: 60%;
    margin: 10px;
    box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.5);
}
.pop-book-date{
    height: 50px;
    top:-70px;
    background: #c09257;
    color: #FFF;
}
.pop-book-date:after{
    border-color: #c09257 transparent;
}
.pop-book-date p{
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0px;
    line-height: 50px;
}
.active .pop-book{
    display: block;
    z-index: 4;
}

/****** footer *******/
.lr-footer{
    background: #1f1f1f;
    position: relative;
    color: #d7d7d7;
    text-align: center;
}
.lr-footer:before{
    content: "";
    position: absolute;
    width: 100%;
    height: 5px;
    background: url(images/border_color.jpg) no-repeat;
    left: 0;
    top: -5px;
    background-size: cover;
}
.lr-footer h2{
    text-align: center;
    color: #d7d7d7;
    font-size: 22px;
    padding: 20px;
    margin: 0;
}
.lr-footer p{
    text-align: center;
    font-size: 12px;
    padding: 0 0 20px;
    margin: 0;
}
.list-writer{
    list-style: none;
    margin: 0;
    padding: 10px 0 20px;
    text-align: center;
}
.list-writer li{
    display: inline-block;
    margin: 5px;
}
.list-writer li:first-child a{
    color: #FBD237;
}
.list-writer li i{
    display: block;
    font-size: 30px;
    margin-bottom: 10px;
}
.list-writer li a{
    display: inline-block;
    padding: 10px 20px;
    border:solid 1px #403E3E;
    border-radius: 4px;
    text-decoration: none;
    color: #d7d7d7;
}
.list-writer li a:hover{
    color: #FFF;
    border:dotted 1px #FFF;
}


@media screen and (max-width: 1024px) {
    .timeline{
        display: none;
    }
    #lr-wrapper{
        overflow: hidden;
    }
    .lr-wrap{
        width: 100%;
    }
    .lr-head .lr-wrap:last-child h3{
        padding-left: 4%;
        padding-right: 4%;
    }
    .logo-top img{
        max-width: 100%;
    }
    .w-group{
        width: 90%;
        margin-left: 5%;
        margin-right: 5%;
    }
    
    .box-novel{
        width: 94%;
        margin-left: 3%;
        margin-right: 3%;
        height: inherit;
    }
    .box-novel-left{
        width: 100%;
    }
    .box-novel-right{
        width: 100%;
    }
    .box-novel-right .novel-btn{
        width: 100%;
        float: none;
    }
    .writer-avatar{
        left: inherit;
        bottom: inherit;
        width: 70px;
        top: -15px;
        right: 10px;
    }
    .box-novel-right .novel-talk{
        min-height: inherit;
        padding: 20px 0;
    }
    .box-novel-right .novel-talk table{
        min-height: inherit;
    }

}

@media screen and (max-width: 750px) {
    .logo-dd{
        position: relative;
        text-align: center;
        display: block;
        z-index: 3;
        top: 0;
    }
    .lr-head .lr-wrap:last-child h3{
        font-size: 2.5em;
        line-height: 1em;
    }

    box-novel-right{
        text-align: center;
        float: none;
    }
    .box-novel-right .novel{
        max-width: 60%;
        float: none;
        display: block;
        margin: 20px auto;
    }
    .box-novel-right .novel-talk{
        margin: 0 3%;
        min-width: 94%;
        float: none;
    }
    .novel-btn-a{
        margin-left: 3%;
        margin-right: 3%;
        display: block;
    }
    .box-novel-right .novel-btn br{
        display: none;
    }
}

@media screen and (max-width: 425px){
    .list-writer li{
        display: inline-block;
        width: 46%;
        vertical-align: top;
    }
    .list-writer li a{
        display: block;
        text-align: left;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }
    .list-writer li i{
        display: block;
        font-size: 14px;
        text-align: center;
        font-size: 20px;
        margin-bottom: 5px;
    }
    .box-novel-left .cover-book{
        float: none;
        margin: 0 auto;
        display: block;
        padding-top: 50px;
    }
    .novel-detail{
        padding-top: 10px;
    }
    .novel-detail span:last-child{
        max-width: 70%;
    }
    .box-novel .novel-talk p br{
    display: none;
}
}