﻿/*超出第二行用...代替*/
.ellipsis-2 {
    min-height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
/*背景音樂player格式*/
.volume{
    background-color: white;
    width: 175px;
}
.volume div a{
    font-size: 18px;
    color: gray !important;
    padding: 3px 0;
}
.volume div .select{
    color: brown !important;
}
input[type="range"]{
    -webkit-appearance: none;
    border-radius:2px;
    /*width:130px;*/
    width: 80%;
    height:3px;
    background-image:-webkit-linear-gradient(left, #444444 0%, #444444 20%, #AAAAAA 20%, #AAAAAA 100%);
    outline : none;
    transition:.1s;
    vertical-align: middle;
}
input[type="range"]::-webkit-slider-thumb{
    -webkit-appearance: none;
    width:10px;
    height:10px;
    background:#444444;
    border-radius:50%;
    transition:.1s;
}
.fa-volume-up, .fa-volume-mute {
    width: 7%;
}
.coverpic {
    width: 370px;
    text-align: center;
}
/*royal audio player*/
.audiopage {
    display: flex;
    display: -webkit-flex;
}
.audiopage .item:nth-child(2) {
    width: calc(100% - 370px);
}
.audiopage .item:nth-child(2) .player {
    width: 90%;
    margin: auto;
}
/*內頁*/
.display-flex .item:first-child {
    width:250px;
}
.lblClass {
    color:black !important;
    width:auto !important;
}
.gotopage {
    font-size: 15px;
    color: #FFFFFF !important;
    padding: 5px 10px;
    background-color: #d75e37;
    border-radius: 10px;
    display: inline-block;
    min-width: 60px;
    text-align: center;
}
.gotopage.color2 {
    background-color: #18768b;
}
.outline {
    margin: 0px;
}
.detail-flex .noborder a {
    color: blue !important;
    text-decoration: underline !important;
}
.detail-flex .noborder a:hover, .detail-flex .noborder a:focus {
    color: #518cc8 !important;
}
/*統一樣式*/
.wrapper2 {
    width: 1365px;
    margin: auto;
    position: relative;
}
.wrapper2.minH {
    min-height: 70vh;
}
.title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #454545;
}
/*header*/
.news {
    background-color: #E5D2B4;
    min-height: 40px;
}
.news ul {
    margin: 0px;
    display: inline-flex;
}
.news li {
    list-style:none;
    float:left;
    margin-right: 25px;
}
.news li a {
    color:#454545;
    padding:10px;
    display:block;
    position:relative;
    font-size : 17px;
}
.news li a::after {
    content:'';
    display:block;
    position:absolute;
    width:100%;
    height:0;
    background-color:rgba(255,255,255,0.2);
    overflow:visible;
    visibility:visible;
    bottom:0;
    left:0;
    opacity:0;
    -webkit-transition:all 0.3s ease-in-out;
    transition:all 0.3s ease-in-out
}
.news li:hover>a::after{
    height:100%;
    opacity:1;
}

/* 首頁 */
.btn-Mode {
    background-color: #18768b;
    width: 25px;
    height: 25px;
    border-radius: 50px;
    padding: 15px;
    font-size: 20px;
    line-height: 25px;
    color: white !important;
}
.btn-Mode:hover {
    opacity: 0.7;
}

/*搜尋頁*/
.searchtable {
    width:100%;
}
.searchtable tr td:nth-child(7) {
    min-width: 350px;
}
.tab-pane a {
    color: gray;
}
/*訂購頁*/
.purchase {
    background-color:#E5D2B4;
    margin-top: 20px;
}
.purchase .inner {
    text-align: left;
    width: 35%;
    margin: auto;
}
.purchase h3 {
    display: inline;
    margin-right: 15px;
}
.purchase input, .purchase select {
    border: none;
    border-bottom: 1px solid #ED6A40;
    background-color: inherit;
    padding: 5px;
    font-size: large;
}
.purchase .btn-send {
    background-color: #ED6A40;
    color: white;
    font-size: 14px;
    padding: 5px 13px;
    border: 1px solid #ED6A40;
}
/*網站導覽*/
.sitetour span {
    border: 1px solid #ED6A40;
    padding: 7px;
    border-radius: 10px;
}
/*智慧推薦客製*/
#cboxLoadedContent {
    background-color: white;
}
ul.forms li {
    border-bottom: none;
}
/*Responsive*/
@media all and (max-width: 1365px) {
    .wrapper2 {
        width: 100%;
    }
    .news ul {
        display: inline;
    }
}

@media all and (max-width: 1180px) {
    .wrapper {
        width: 90%;
    }
}

@media all and (max-width: 1025px) {
    .detailImg {
        width: 40%;
    }
}

@media all and (max-width: 768px){
    .coverpic {
        width: 58%;
        align-self: flex-end;
    }
    .volume {
        width: 32%;
        align-self: flex-end;
        height: 100%;
    }
     .audiopage {
         display: block;
     }
     .audiopage .item:first-child {
         display: flex;
         display: -webkit-flex;
         margin-bottom: 15px;
     }
     .audiopage .item:nth-child(2) {
        width: 100%;
    }
     .audiopage .item:nth-child(2) .player {
         width: 100%;
     }
     .header.wrapper2 {
         width: 90%;
     }
     .purchase .inner {
         width: 50%;
     }
}
@media all and (max-width: 479px) {
    .news ul {
        margin: 0px;
        display: flex;
        justify-content: center;
    }
    .purchase .inner {
         width: 90%;
     }
    .volume div a {
        letter-spacing: -1.3px;
    }
}
/* for player頁面用 */
@media all and (max-width: 400px) { 
    .volume div a {
        font-size: 17px;
        letter-spacing: -1.3px;
    }
}
/*個人書房書籤筆記*/
.func {
    position:fixed;
    width:1345px;
    bottom:0px;
}
.func .mark {
    height:0;
    margin:0px;
    position:absolute;
    bottom:0px;
    background-color:#f4dbc2;
    padding:0px;
    flex-direction:column;
}
.func .note {
    height:0;
    margin:0px;
    position:absolute;
    bottom:0px;
    right:0px;
    background-color:lightgoldenrodyellow;
    padding:0px;
    flex-direction:column;
}
/*操作說明適用*/
.wrapper .slide svg {width: 100%; padding-bottom: 5px;}

@media all and (max-width: 1365px){
    .func {        
        width: calc(100% - 20px);
    }
}
@media all and (max-width: 479px){
    .func .mark, .func .note {
        position: relative;
        max-width: 100%;
    }
}
@media all and (max-width: 340px){
    .audiopage .item {
        flex-direction: column;
    }
    .coverpic {
        width: 100%;
    }
    .volume {
        width: 70%;
    }
    .volume div a {
        font-size: 18px;
        letter-spacing: 0px;
    }
}

/* 無障礙 */
div:focus, a:focus, input:focus, button:focus,
a:active, input:active, .item-list li a:hover {
    outline: 3px dashed #8b4a3c !important;
}
.playlist-item:focus {
    border: 3px dashed #8b4a3c !important;
    box-sizing: border-box;
}
.sidebar .panel-collapse a:focus {
    padding: 0;
}
.gotopage:focus, .gotopage:hover {
    background-color: #E5D2B4;
    color: #8a360a !important;
    outline: 3px dashed #8b4a3c;
}
.gotopage.color2:hover {
    background-color: #18768b;
    color: white !important;
    outline: 3px dashed midnightblue;
    opacity: 0.7;
}
.coverpic .gotopage:hover {
    background-color: #f9f0e2;
}