/* default */

h3,.copyright, .figure-caption{
    font-weight: 300;
}


p, h6, h5, .page-link, .page-link a,dd ,a{
    font-weight: 300;
    color: #323232;
}
h2, .card-title, dt, dd span, h6{
    font-weight: 400;
    color: #323232;
}
ul{ list-style: none;}
.section-headline{ text-align: center;}
.section-headline h2{
    display: inline-block;
    margin-bottom: 40px;
    position: relative;
    text-align: center;
}

.section-headline h2::after{
    content: "";
    position: absolute;
    border: 1px solid #DA4453;
    bottom: -10px;
    left: 0;
    margin: 0 auto;
    right: 0;
    width: 40%;
}
p{  
    font-size: 1.125rem;
    margin: 0 0 15px;
    line-height: 32px;
}

a{  text-decoration: none;}

img{
    max-width: 100%;
    height: auto;
}

/* figure-caption */
.figure-caption{
    color: #323232;
}


/* 按鈕 */
.btn-more{
    background-color: #DA4453;
    border-radius: 0;
    font-weight: 300;
}

.btn-more:hover, .btn-more:focus{
    background: #dc3545;
}

.btn-border-more{
    display: block;
    width: 96px;
    margin-top: 1.5rem;
    color: #DA4453;
    border: 1px solid #DA4453;
    border-radius: 0;
    font-weight: 300;
}
.btn-border-book{
    display: inline-block;
    padding: 3px;
    width: 90px;
    color: #DA4453;
    border: 1px solid #DA4453;
    border-radius: 0;
    font-weight: 300;
    margin-left: 1rem;
}

.btn-border-more:hover, .btn-border-more:focus ,.btn-border-book:hover, .btn-border-book:focus{
    color: #fff;
    background: #dc3545;
}

.bi {
    margin: .25rem;
    font-size: 1.5rem;
  }

/* pagination 深色背景*/
.pagination{
    justify-content: center;
    margin-top: 1.5rem;
}
.page-link{
    background-color: transparent;
    color: #fff;
    border: none;
    margin: auto 2px;
    border-radius: 0;
}
.page-item.active .page-link{
    background-color:  #DA4453;
}

.page-item:hover .page-link,.page-item:focus .page-link {
    color: #fff;
    pointer-events: none;
    background-color: #bf2030;
    border-color: transparent;
    border-radius: 0;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: transparent;
    border-color: transparent;
}

/* pagination 淺色背景*/

.page-link-light{color: #323232;}



/* 選單 */
.sub-nav{
    display: flex;
    justify-content: center;
    padding: 1.25rem;
    margin-bottom: 0;
    background-color: #fff;
}
.sub-nav li{
    list-style: none;
    display: block;
    padding: .125rem 1.25rem;
    border-left: 1px solid #000;
    cursor: pointer;
}
.sub-nav li:last-child{
    border-right: 1px solid #000;
}
.sub-nav .nav-item a{
    color: #000;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1;
}
.sub-nav .nav-item a:hover{
    color: #AF9F75;
    font-weight: 400;
    padding-bottom: 4px;
    border-bottom: 1px solid #AF9F75;
}
.sub-nav .active a{
    color: #AF9F75;
    font-weight: 400;
    padding-bottom: 4px;
}

@media (max-width: 576px){
    .sub-nav li {
        padding-left: .75rem;
        padding-right: .75rem;
    }
    p{
        font-size: 1rem;
        line-height: 28px;
        margin-bottom: .5rem;
    }
}

/* 自訂bootstrap */
.carousel-indicators li{
    height: 2px;
}

/* list */

.list-item{
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .25);
    padding-left: 0;
}

/* model */
.modal-title{
    font-weight: 400;
    line-height: 2.5rem;
    border-bottom: 2px solid #DA4453;
}
.modal-header{
    border-bottom: 0;
    padding: 1.5rem 1.5rem .5rem;
}
.modal-body{
    font-weight: 300;
    line-height: 2rem;
    padding: 1rem 1.5rem;
}

/* back to top */
.btn-g{
    position: fixed; 
    bottom: 36px; 
    right: 36px; 
    z-index: 99; 
}
#myBtn {
    display: none; 
    border: none; 
    outline: none;
    cursor: pointer;
    color: white; 
    background-color: #E50012; 
    height: 60px;
    width: 60px;
    border-radius: 30px; 
    font-size: 18px;
    padding: 0;
    margin-bottom: 48px;
    
    text-align: center;
}

#myBtn2 {
    background-color: #969696; 
    border: none; 
    outline: none;
    cursor: pointer;
    color: white; 
    height: 60px;
    width: 60px;
    border-radius: 30px; 
    margin-bottom: 8px;
}
#myBtn2 i{
    font-size: 26px;
    margin: 0 auto;
    line-height: 26px;
    text-align: center;
}
#myBtn:hover, #myBtn2:hover {
    background-color: #555; /* Add a dark-grey background on hover */
}


  
