@charset "utf-8";
/* CSS Document */

body {
    background-color: rgb(253, 250, 245);
}

a {
    text-decoration:none;
    color: #000000;
}

a:hover {
    /* color: #b64900; */
    color: #ff6600;
}

.w150 {
    width: 150px;
}

.w200 {
    width: 200px;
}

.w250 {
    width: 250px;
}

.w300 {
    width: 300px;
}


.w450 {
    width: 450px;
}

.logotyple {
    display: block;
    font-size: 3rem;
    padding: 0;
    margin: 0;
}

.logotyple_en {
    display: block;
    line-height: -1rem;
}

.p_counting {
    font-size: 0.85rem;
    padding-bottom: 0.15rem;
}

.homemap {
    font-size: 0.8em;
    right: 0px;
    top: -34px;
}


/*nav*/

.alilin_nav {
    background-color: #ff6600;

    /* margin-bottom: 1.7rem; */
}


.alilin_nav li a {
    display: block;
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    padding:0.7rem 0;
}

.alilin_nav li ul li a {
    color: #000;
}

.dropdown-menu li a{
    padding: 0.15em 1em;
}

.alilin_nav li ul li a:hover {
    color: #fff;
}

.alilin_nav li a:hover {
    background-color: #b64900;
}

.alilin_nav ul li span {
    display: block;
    font-size: 0.7rem;
    line-height: 0.7rem;
    padding-bottom: 0.3rem;
}

.dropdown:hover .dropdown-menu{
    display: block; /*滑鼠移過去下拉選單*/
}

.textrange {
    padding: 0.35rem;
    border: #ff6600 solid 1px;
    border-radius: 5px;
    bottom: 2px;
}

.textrange0 {
    padding: 0.35rem;
    border: #ff6600 solid 0px;
    border-radius: 5px;
}

.alilin_navbar {
    margin: 0.5rem 0 0.5rem auto;
}

/*首頁BOX*/

.relative{
    position: relative;
}

.absolute{
    position: absolute;
}

.topbook_more{
    display: block;
    position: absolute;
    right: 0;
    bottom: 15px;
    padding: 1em;
    font-size: 1em;
}

.title_h2 span {
    display: inline-block;
    font-size: 0.2rem;
    letter-spacing: 0.05rem;
}

.title_h2{
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    padding-bottom: 0.7rem;
    color: #ff6600;
    border-bottom: solid 1px  #ff6600;
    position: relative;
}

/* .title_h2::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 0;
    width: 40%;
    height: 2px;
    background: #ff6600;
    transform: translateX(-50%);/*更改X軸起始點達到置中
} */

.title_h2_w{
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    padding-bottom: 0.7rem;
    color: #fff;
    border-bottom: solid 1px  #fff;
    position: relative;
}

.title_h2_w span {
    display: inline-block;
    font-size: 0.2rem;
    letter-spacing: 0.05rem;
}

.title_h2_w::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40%;
    height: 2px;
    background: #fff;
}

.topbooks a {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 顯示2行 */
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;

    font-size: 1rem; 

    margin: 1em 0 0 0;
    height: 2.75em;
    line-height: 1.375em;
}

.indextable td a {
    color: black;
}
.time_th {
    display: inline-block;
    color: #fff;
    background-color: #ff6600;
    padding: 0 1rem;
    border-radius: 1rem;
}

.time_th a {
    display: inline-block;
    color: #fff;
    background-color: #ff6600;
    padding: 0 1rem;
    border-radius: 1rem;
}

.periodicals_h3 h3 {
    color: #ff6600;
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
}

/* 如果沒有效果，請在 CSS 加入這段 */
.row.periodicals_h3 {
    display: flex;
    flex-wrap: wrap;
}
.row.periodicals_h3 > .col-6 {
    display: flex;
    flex-direction: column;
}

/*booklist*/

.sidebarlist{
    padding-left: 0;
    list-style: none;
    padding-top:1rem;
    right: -5rem;
}
.sidebarlist li a{
    display: block;
    padding:0.25rem;
}

.sidebarlist li ul {
  /*display: none;*/
  padding-left: 2.5rem;
}

.sidebarlist li:hover ul {
  display: block;
}

.booklist_1 li {
    color: #aa6407;
}

.booklistsidebar button {
    font-weight: bold;
    display: block;
    color: #fff;
    background-color: #646464;
}

.booklistsidebar button:hover {
    color: #fff;
    background-color: #ff6600;
}

.booklistsidebar li a:hover {
    color: #fff !important;
    background-color: #ff6600;
}

.booklistsidebar li a.active {
    color: #fff !important;
    background-color: #ff6600;
}

.keywords_book li a {
    display: block;
    padding: 0 6px;
    margin: 0 4px 4px 0;
    border: #ff6600 solid 1px;
    border-radius: 8px;
    font-size: 1rem;

}

.bookinfo_h2{
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
    padding-bottom: 0.7rem;
    color: #ff6600;
    border-bottom: solid 1px  #ff6600;
    position: relative;
}

/* .bookinfo_h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 25%;
    height: 5px;
    background: #ff6600;
} */

.readbtn {
    background-color: #ff6600;
    border-color: #ff6600;
    font-size: 2em;
    padding: 0.5em 0;
}

.award_h2{
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.1rem;
    padding-bottom: 0.2rem;
    border-bottom: solid 1px  #141414;
    position: relative;
}

.award_h2::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 0;
    width: 10%;
    height: 2px;
    background: #141414;
    transform: translateX(-50%);/*更改X軸起始點達到置中*/
}

.award p {
    margin-top: 0.75rem;
    font-weight: bold;
}

.page-link{
    color: #ff6600;
}

.page-item a:hover{
    color: #ff6600;
}

/*footer*/

.alilin_footer {
    background-color: #464646;
}

.footer_text_s {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color:#fff;
    opacity: 0.7;
}

.footer_number{
    font-size: 1.3rem;
}

/*list*/

.table_time {
    display: inline-block;
    color: #ff6600;
}

/*content*/
.content_p {
    font-size: 1.25rem;
}

/*contact*/

.contact_bg {
    border: #ff6600 solid 1px;
}

.contact_icon {
    font-size: 8rem;
}

.contact_p {
    font-size: 1.2rem;
}


/*periodicals*/
/*milo加入*/
/*無障礙網頁*/
.skip-nav {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 99;
    width: 1px;
    height: 1px;
    white-space: nowrap;
    overflow: hidden;
    color: #000;
}

.skip-nav:focus {
    width: auto;
    height: auto;
    padding: 6px;
    background-color: #fff;
}

a:focus {
    background: #FFBF47 !important;
    color: #000000;
    font-weight: 700;
}

:focus-visible {
    outline: -webkit-focus-ring-color auto 1px;
    outline-color: -webkit-focus-ring-color;
    outline-style: auto;
    outline-width: 1px;
}

.linkyellow:hover {
    background: #FFBF47 !important;
    color: #000000;
    font-weight: 700;
    outline: -webkit-focus-ring-color auto 1px;
    outline-color: -webkit-focus-ring-color;
    outline-style: auto;
    outline-width: 1px;
}
#ACCC {
    color: rgba(255,255,255);
    position: absolute;
    margin-left: -1rem;
    white-space: nowrap;
    z-index: 100;
}
#ACCU {
    color: rgba(255,255,255);
}

#ACCZ {
    color: #252E36;
}
/* 字體大小按鈕  */
.fontBig {
    font-size: 1.375rem;
}

.fontSmall {
    font-size: 0.8rem;
}
/*寬度*/
.w300 {
    max-width: 300px;
}

.w150 {
    width: 150px;
}

.w200 {
    width: 200px;
}

.w250 {
    width: 250px;
}

.w450 {
    width: 450px;
}
/*長寬限制*/
.w-max40em {
    max-width: 40em;
}

.w-min40 {
    min-width: 40em;
}

.h-min30 {
    min-height: 30em;
}
/*自訂品牌色#ff6600  #a41c21,rgb(166, 28, 33)hsl(358, 71%, 38%)*/
.text-brand {
    color: #ff6600 !important;
}
/*
.text-bg-brand {
    color: #fff !important;
    background-color: #ff6600 !important;
}*/

/*.link-brand {
    color: #ff6600 !important;
}

.link-brand:hover, .link-brand:focus {
    color: #741417 !important;
}*/

.btn-brand {
    --bs-btn-color: #fff;
    --bs-btn-bg: #ff6600;
    --bs-btn-border-color: #ff6600;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #ff6600;
    --bs-btn-hover-border-color: #ff6600;
    --bs-btn-focus-shadow-rgb: 224, 82, 86;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #ff6600;
    --bs-btn-active-border-color: #ff6600;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #ff6600;
    --bs-btn-disabled-border-color: #ff6600;
}

.btn-outline-brand {
    --bs-btn-color: #000;
    --bs-btn-border-color: #ff6600;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #ff6600;
    --bs-btn-hover-border-color: #ff6600;
    --bs-btn-focus-shadow-rgb: 166, 28, 33;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #ff6600;
    --bs-btn-active-border-color: #ff6600;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #ff6600;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #ff6600;
    --bs-gradient: none;
}

.border-brand {
    border-color: rgba(166, 28, 33, 1) !important;
}

.bg-brand {
    background-color: rgba(166, 28, 33, 1) !important;
}
/*
.table-brand {
    --bs-table-color: #000;
    --bs-table-bg: #f8d8d9;
    --bs-table-border-color: #dfc3c4;
    --bs-table-striped-bg: #eccbcc;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #dfc3c4;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #e5c7c8;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
}

.alert-brand {
    --bs-alert-color: #832023;
    --bs-alert-bg: #f8d8d9;
    --bs-alert-border-color: #f5c2c3;
}

.alert-brand .alert-link {
    color: rgba(0, 0, 0, 0.125);
}

.list-group-item-brand {
    color: #832023;
    background-color: #f8d8d9;
}

.list-group-item-brand.list-group-item-action:hover, .list-group-item-brand.list-group-item-action:focus {
    color: #832023;
    background-color: #dfc3c4;
}

.list-group-item-brand.list-group-item-action.active {
    color: #fff;
    background-color: #832023;
    border-color: #832023;
}*/
.overridedanger {
    background-color: #ff6600;
    border-color: #ff6600;
}

/*H1標題*/
div.titleH1 {
    position: relative;
    letter-spacing: .1em;
    margin: 25px auto 25px;
    text-align: left;
    border-bottom: solid 1px #a41c21;
    padding-bottom: 10px;
}

div.titleH1:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 280px;
    height: 3px;
    background: #ff6600;
}

div.titleH1 h1 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff6600;
    letter-spacing: .1em;
    margin-top: 0px;
    margin-bottom: 0px;
}
/* pagination 分頁按鈕 */
.cd-pagination {
    width: 90%;
    max-width: 768px;
    margin: 2em auto 2em 0;
    letter-spacing: normal;
    text-align: left;
    font-family: 'Century Gothic', 'Microsoft JhengHei';
    padding: 0;
}

.cd-pagination li {
    /* hide numbers on small devices */
    display: none;
    margin: 0 -3px;
}

.cd-pagination li.button {
    /* make sure prev next buttons are visible */
    display: inline-block;
}

.cd-pagination li.button span {
    display: inline-block;
}

.cd-pagination a, .cd-pagination span {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /* use padding and font-size to change buttons size */
    font-size: .83rem;
    padding: 11px 17px;
    line-height: 1.42857143;
    text-decoration: none;
    color: #747474;
    background-color: #ffffff;
    border: 1px solid #929292;
    margin: 0 auto;
}

.cd-pagination a:hover {
    color: #FFF;
    background-color: #646464;
    border-color: #929292;
}

.no-touch .cd-pagination a:hover {
    background-color: #f7f7f7;
}

.cd-pagination a:active {
    /* click effect */
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -o-transform: scale(0.9);
    transform: scale(0.9);
}

.cd-pagination li.disabled a {
    /* button disabled */
    color: rgba(46, 64, 87, 0.4);
    pointer-events: none;
}

.cd-pagination li.disabled a::before::before, .cd-pagination li.disabled a::after {
    opacity: .4;
}

.cd-pagination .button:first-of-type a::before {
    content: '\00ab  ';
    font-size: 1.2rem;
}

.cd-pagination .button:last-of-type a::after {
    content: ' \00bb';
    font-size: 1.2rem;
}

.cd-pagination .active span {
    color: #FFF;
    background-color: #646464;
    border-color: #929292;
}

@media only screen and (min-width: 768px) {
    .cd-pagination li {
        display: inline-block;
    }

    .cd-pagination li.button span {
        display: none;
    }
}

.info_sitemap {
    line-height: 1.8rem;
    min-height: 100px;
    margin-bottom: 50px;
}

.sitemapBox a {
    color: #000;
}

.sitemapBox a:hover {
    color: #850001;
}