@charset "UTF-8";
body {
    background-image: url(../images/background.png);
    <!--background-repeat: repeat;-->
    background-color: #DEB887;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif, "Microsoft JhengHei";
}
#scroll-up {
  position: fixed;
  bottom: 65px;
  right: 35px;
  opacity: 1;
  z-index: 99999;
  cursor: pointer;
  color: #FFB000;
}
hr{
	margin: 0.5rem 0;
}
#outbox1 .card-img-top {
	width: 50%;
} 

.header-banner {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.footer-area {
    font-weight: normal;
    color: #E3E3E3;
    text-align: center;
    font-size: 0.8em;
    background-color: #554822;
}
.footer-area a {
    text-decoration: none;
}
.book-info-cover {
  width: 100%;
}
.book-info-intro {
  text-align: justify;
  padding-top: 20px;
  padding-right: 15px;
  padding-left: 15px;
  /*background-color: #f3ece2;*/
  background-image: url(../images/background.png);
  border: 1px solid #daaa8e;
  padding-bottom: 10px;
  line-height: 1.2em;
  font-size: 0.95em;
}
.subtitle {
    margin: 0 0 2em 0;
    font-weight: bold;
    font-size: 1.2em;
}
.fancy {
  line-height: 0.5;
  text-align: center;
  margin: 25px;
}
.fancy span {
  display: inline-block;
  position: relative;
}
.fancy span:before, .fancy span:after {
  content: "";
  position: absolute;
  height: 5px;
  border-bottom: 1px solid #dddddd;
  border-top: 1px solid #dddddd;
  top: 0;
  width: 80%;
}
.fancy span:before {
  right: 100%;
  margin-right: 15px;
}
.fancy span:after {
  left: 100%;
  margin-left: 15px;
}
.page-link {
  color: #454545;
}
.page-link:hover {
  z-index: 2;
  color: #454545;
  text-decoration: none;
  background-color: #e9ecef;
  border-color: #dee2e6;
}
.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #454545;
  border-color: #454545;
}
.page-item.disabled .page-link {
  color: #6c757d;
  pointer-events: none;
  cursor: auto;
  background-color: #fff;
  border-color: #dee2e6;
}

.nav-link.bar:hover{
	text-decoration:underline; 
}
.text-center {
    font-weight: bold;
}
.container h3{font-size: 1.3em;font-weight: 600;line-height: 1.8em; text-align: center;padding: 0 10%;}
.container h4{font-size: 1.2em;font-weight: 500;line-height: 1.8em; text-align: center;}

/*20240517 增加頂頭備註*/
.top-memo {
	color:red;
	font-weight:500;
	font-size:22px;
	text-align:center;
}

.book-info-intro img{
	max-width: 100%;
}

#A1,#A2,#A3,#A4,#A5,#A6 {
    position: relative;
    top: -60px; 
    display: block;
    height: 0;
    overflow: hidden;
}

.btn-secondary{
	background-color:#919ba3;
	border-color:#919ba3;
}

.a-btn{
    display: inline-block; /* 使它顯示為按鈕樣式 */
    background-color: buttonface; /* 預設的背景顏色 */
    color: buttontext; /* 預設的文字顏色 */
    border: 1px solid #767676; /* 預設的邊框顏色 */
    padding: 1px 6px; /* 與預設按鈕的內邊距一致 */
	font-weight: 500;
    text-align: center; /* 文字置中 */
    text-decoration: none; /* 去除下劃線 */
    cursor: pointer; /* 游標顯示為手指狀 */
    border-radius: 2px; /* 預設圓角邊框 */
    box-sizing: border-box; /* 計算內邊距不影響元素的總寬度 */
    -webkit-appearance: button; /* 讓 <a> 標籤在 WebKit 引擎瀏覽器中呈現為按鈕 */
    -moz-appearance: button; /* 讓 <a> 標籤在 Firefox 中呈現為按鈕 */
    appearance: button; /* 確保所有瀏覽器都呈現為按鈕 */
	vertical-align: middle;
	text-align: center;
	line-height: inherit;
}

.a-btn:hover {
    background-color: buttonhighlight; /* 滑鼠懸停時的背景顏色 */
	color: #000000;
}

.a-btn:active {
    background-color: buttonshadow; /* 按下時的背景顏色 */
}

.a-btn:focus {
    outline: none; /* 去除焦點框 */
}


h3 input[type="button"]{
	vertical-align: middle;
	border: 1px solid #767676;
    border-radius: 2px; /* 預設圓角邊框 */
	padding: 1px 6px;
	
}
  #outbox3 .hidden{
	display: none;
  }  

@media screen and (min-width:1450px) {
  /*outbox為三個一橫排*/
  #outbox {
    -moz-column-count: 4;
    -moz-column-gap: 10px;
    -webkit-column-count: 4;
    -webkit-column-gap: 10px;
    column-count: 4;
    column-gap: 10px;
    max-width: 1200px;
	/*max-width: 1400px;*/
    margin: 0 auto;
    text-align: center;
	display: flex;
    flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
  }
  #outbox .content_box {
    width: 340px;
	height: 720px;
    display: inline-block;
    border: 1px dotted #4F4F4F;
    padding: 10px;
    margin: 5px 5px 5px 0;
    overflow: hidden;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
  }
  #outbox .a_box{
	display: flex;
    align-items: center;
	justify-content: center;
	height: 340px;
  } 
  #outbox .hidden{
	display: none;
  }  
  /*outbox1 為三個一橫排寬版格式*/
  #outbox1 {
    -moz-column-count: 1;
    -moz-column-gap: 10px;
    -webkit-column-count: 1;
    -webkit-column-gap: 10px;
    column-count: 1;
    column-gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
	display: flex;
    flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;	
  }
  #outbox1 .content_box {
    width: 1030px;
    border: 1px dotted #4F4F4F;
    padding: 0px 10px 0px 10px;
    margin: 5px 5px 5px 0;
    overflow: hidden;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
	flex-direction:row; 
  }
  
  /*outbox2為四個一橫排*/
  #outbox2 {
    -moz-column-count: 4;
    -moz-column-gap: 10px;
    -webkit-column-count: 4;
    -webkit-column-gap: 10px;
    column-count: 4;
    column-gap: 10px;
    /*max-width: 1200px;*/
	max-width: 1450px;
    margin: 0 auto;
    text-align: center;
	display: flex;
    flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
  }
  #outbox2 .content_box {
    width: 340px;
	height: 720px;
    display: inline-block;
    border: 1px dotted #4F4F4F;
    padding: 10px;
    margin: 5px 5px 5px 0;
    overflow: hidden;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
  }
  #outbox2 .a_box{
	display: flex;
    align-items: center;
	justify-content: center;
	height: 340px;
  }
  #outbox2 .hidden{
	display: none;
  }  
    /*outbox3 為四個一橫排寬版格式*/
  #outbox3 {
    -moz-column-count: 1;
    -moz-column-gap: 10px;
    -webkit-column-count: 1;
    -webkit-column-gap: 10px;
    column-count: 1;
    column-gap: 10px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
	display: flex;
    flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;	
  }
  #outbox3 .content_box {
    width: 1390px;
    border: 1px dotted #4F4F4F;
    padding: 0px 10px 0px 10px;
    margin: 5px 5px 5px 0;
    overflow: hidden;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
	flex-direction:row; 
	display:flex;
	align-items:center;
	justify-content:center;
  }
   #outbox3 .a_box{
	display: flex;
    align-items: center;
	justify-content: center;
	width: 70%
  }
  #outbox3 .card-img-top {
	width:70%
  }
  #login {
    -moz-column-count: 4;
    -moz-column-gap: 10px;
    -webkit-column-count: 4;
    -webkit-column-gap: 10px;
    column-count: 4;
    column-gap: 10px;
    max-width: 1200px;
	/*max-width: 1400px;*/
    margin: 0 auto;
    text-align: center;
	display: flex;
    flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
  }
  /*Search */
  .searchbar2 {
    display: none;
  }
  /*Search */
  .searchbar1 {
    margin-bottom: auto;
    margin-top: auto;
    height: 40px;
    background-color: #A79D98;
    border-radius: 20px;
    padding: 5px;
  }
  .search_input {
    color: white;
    border: 0;
    outline: 0;
    background: none;
    width: 0;
    caret-color: transparent;
    line-height: 30px;
    transition: width 0.1s linear;
  }
  .searchbar1:hover > .search_input {
    padding: 0 10px;
    width: 100px;
    caret-color: black;
    transition: width 0.4s linear;
  }
  .searchbar1:hover > .search_icon {
    background: white;
    color: #000;
  }
  .search_icon {
    height: 30px;
    width: 30px;
    float: right;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
  }  
}
@media screen and (min-width:1200px) and (max-width:1449px) {
  #outbox {
    -moz-column-count: 3;
    -webkit-column-count: 3;
    column-count: 3;
	text-align: center;
	display: flex;
    flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
  }
  #outbox .content_box {
    width: 340px;
    display: inline-block;
    border: 1px dotted #4F4F4F;
    padding: 10px;
    margin: 5px 5px 5px 0;
    overflow: hidden;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
	height: 720px;
  }
  #outbox .a_box{
	display: flex;
    align-items: center;
	justify-content: center;
	height: 340px;
  }
  #outbox .hidden{
	display: none;
  }  
   /*outbox1 為三個一橫排寬版格式*/
  #outbox1 {
    -moz-column-count: 1;
    -moz-column-gap: 10px;
    -webkit-column-count: 1;
    -webkit-column-gap: 10px;
    column-count: 1;
    column-gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
	display: flex;
    flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;	
  }
  #outbox1 .content_box {
    width: 930px;
    border: 1px dotted #4F4F4F;
    padding: 0px 10px 0px 10px;
    margin: 5px 5px 5px 0;
    overflow: hidden;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
	flex-direction:row; 
  }
  #outbox2 {
    -moz-column-count: 3;
    -webkit-column-count: 3;
    column-count: 3;
	text-align: center;
	display: flex;
    flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
  }
  #outbox2 .content_box {
    width: 340px;
    display: inline-block;
    border: 1px dotted #4F4F4F;
    padding: 10px;
    margin: 5px 5px 5px 0;
    overflow: hidden;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
	height: 720px;
  } 
  #outbox2 .a_box{
	display: flex;
    align-items: center;
	justify-content: center;
	height: 340px;
  }
  #outbox2 .hidden{
	display: none;
  }  
   /*outbox3 為4個一橫排寬版格式*/
  #outbox3 {
    -moz-column-count: 1;
    -moz-column-gap: 10px;
    -webkit-column-count: 1;
    -webkit-column-gap: 10px;
    column-count: 1;
    column-gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
	display: flex;
    flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;	
  }
  #outbox3 .content_box {
    width: 930px;
    border: 1px dotted #4F4F4F;
    padding: 0px 10px 0px 10px;
    margin: 5px 5px 5px 0;
    overflow: hidden;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
	flex-direction:row; 
	display:flex;
	align-items:center;
	justify-content:center;
  }
  #outbox3 .a_box{
	display: flex;
    align-items: center;
	justify-content: center;
	width: 70%
  }   

  #login {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
	text-align: center;
  }
  /*Search */
  .searchbar2 {
    display: none;
  }
  /*Search */
  .searchbar1 {
    margin-bottom: auto;
    margin-top: auto;
    height: 40px;
    background-color: #A79D98;
    border-radius: 20px;
    padding: 5px;
  }
  .search_input {
    color: white;
    border: 0;
    outline: 0;
    background: none;
    width: 80%;
  }
  .searchbar1:hover > .search_input {
    width: 80%;
    caret-color: black;
    /*transition: width 0.4s linear;*/
  }
  .searchbar1:hover > .search_icon {
    background: white;
    color: #000;
  }
  .search_icon {
    height: 30px;
    width: 30px;
    float: right;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
  } 
  .search{
	  width: 200px;
  }
}
@media screen and (min-width:768px) and (max-width:1199px) {
  #outbox {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    text-align: center;
	display: flex;
    flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
  }
  #outbox .content_box {
    width: 340px;
    display: inline-block;
    padding: 10px;
    margin: 5px 5px 5px 0;
    overflow: hidden;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
	height: 720px;
  }
  #outbox .a_box{
	display: flex;
    align-items: center;
	justify-content: center;
	height: 340px;
  }
  #outbox .hidden{
	display: none;
  }  
   /*outbox1 為三個一橫排寬版格式*/
  #outbox1 {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    text-align: center;
	justify-content: center;
  }
  #outbox1 .content_box {
    width: 780px;
    /*display: inline-block;*/
    padding: 10px;
    margin: 5px 5px 5px 0;
    overflow: hidden;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
	flex-direction:row; 
  }
 
  #outbox2 {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    text-align: center;
	display: flex;
    flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
  }
  #outbox2 .content_box {
    width: 340px;
    display: inline-block;
    padding: 10px;
    margin: 5px 5px 5px 0;
    overflow: hidden;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
	height: 720px;
  }
  #outbox2 .a_box{
	display: flex;
    align-items: center;
	justify-content: center;
	height: 340px;
  }
  #outbox2 .hidden{
	display: none;
  }  
  /*outbox3 為三個一橫排寬版格式*/
  #outbox3 {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    text-align: center;
	display: flex;
    flex-wrap: wrap;
	align-items: flex-start;
	justify-content: center;
  }
  #outbox3 .content_box {
    width: 780px;
    /*display: inline-block;*/
    padding: 10px;
    margin: 5px 5px 5px 0;
    overflow: hidden;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
	flex-direction:row; 
	display:flex;
	align-items:center;
	justify-content:center;
  }
  #outbox3 .a_box{
	display: flex;
    align-items: center;
	justify-content: center;
	width: 75%
  }  
  
  	

  #login {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
    text-align: center;
  }
  /*Search */
  .searchbar1 {
    display: none;
  }
  /*Search */
  .searchbar2 {
    margin-bottom: auto;
    margin-top: auto;
    height: 40px;
    background-color: #A79D98;
    border-radius: 20px;
    padding: 5px;
  }
  .search_input {
    color: white;
    border: 0;
    outline: 0;
    background: none;
    width: 80%;
  }
  .searchbar2:hover > .search_input {
    padding: 0 10px;
    width: 80%;
  }
  .searchbar2:hover > .search_icon {
    background: white;
    color: #000;
  }
  .search_icon {
    height: 30px;
    width: 30px;
    float: right;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
  }
}
@media (max-width:767px) {
	.btn-lg{
		font-size:1rem;
	}
	.container{
		width: 96%;
		max-width:100%;
	}
  #outbox {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
    text-align: center;
  }
  #outbox .content_box {
    max-width: 340px;
    display: inline-block;
    border: 1px dotted #4F4F4F;
    padding: 10px;
    margin: 5px 5px 5px 0;
    overflow: hidden;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
  }
  #outbox1 {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
    text-align: center;
  }
  #outbox1 .content_box {
    max-width: 340px;
    display: inline-block;
    border: 1px dotted #4F4F4F;
    padding: 10px;
    margin: 5px 5px 5px 0;
    overflow: hidden;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
  }
  #outbox2 {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
    text-align: center;
  }
  #outbox2 .content_box {
    max-width: 340px;
    display: inline-block;
    border: 1px dotted #4F4F4F;
    padding: 10px;
    margin: 5px 5px 5px 0;
    overflow: hidden;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
  }
  #outbox3 {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
    text-align: center;
  }

  
  #login {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
    text-align: center;
  }
  
  .top-memo{
	  font-size:18px;
  }
  
   /*Search */
  .searchbar1 {
    display: none;
  }
  /*Search */
  .searchbar2 {
    margin-bottom: auto;
    margin-top: auto;
    height: 40px;
    background-color: #A79D98;
    border-radius: 20px;
    padding: 5px;
	width: 130px;
  }
  .search_input {
    color: white;
    border: 0;
    outline: 0;
    background: none;
    width: 70%;
  }
  .searchbar2:hover > .search_input {
    padding: 0 10px;
    width: 70%;
  }
  .searchbar2:hover > .search_icon {
    background: white;
    color: #000;
  }
  .search_icon {
    height: 30px;
    width: 30px;
    float: right;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
  }
}
