:root {
	--app-height:100%;
}
html{
	height: 100vh;
	height: var(--app-height);
}
body {
	font-family:Arial,'微軟正黑體','新細明體','LiHei Pro', sans-serif;
	color: #333;
	font-size: 16px;
	line-height: 1.4em;
	margin:0;
	padding:0;
}
a,
a:hover,
a:visited,
a:active,
a:focus{
	outline: none;
	text-decoration:none;
}
a:focus {
	outline-offset:0;
}
ul {
	list-style: none;
}
*{
	box-sizing:border-box;
}
select,
input[type=text],
input[type=password] {
	color: #555;
	background-color: #fff;
	border: 1px solid #ccc;
	height: 40px;
	font-size: 16px;
	width: 100%;
	border-radius: 0;
	outline:0;
}
::placeholder {
	color:#aac1d9;
}
input:focus::placeholder {
    color:rgba(255,255,255,0);
}
.form-control{
	font-size:16px;
	height: 34px;
}
.block20{
	display:block;
	height:20px;
}
.block50{
	display:block;
	height:50px;
}
input[class$=_btn],
div[class$=_btn] {
	font-size: 16px;
	letter-spacing: 1px;
	margin: 0 5px;
	display: inline-block;
	vertical-align: top;
	border-radius: 4px;
	text-align: center;
	cursor: pointer;
	text-shadow: #000000 1px 1px 1px;
	font-weight: bold;
	border: 0;
	padding: 0;
	line-height: 34px;
	text-decoration: none;
}
.msg{
	color:red;
	line-height:34px;
}
#login-wrapper,
#login-wrapper > .container-fluid,
.login_box,
.login_box > .log_button,
.navbar>.container-fluid .navbar-brand,
#main-wrapper,
.top60,
.info60,
.sum,
.sumdiv_box,
.single_sum,
.single_sum > .Bk_i,
.pagination,
.single_sum > .bottom,
.single_sum > .bottom_btn,
[class^=myBook_],
.myBook_i > .single_sum .dele,
#myBook .myBook_T,
.pw_box,
#chgPW-wrapper,
#chgPW-wrapper .container-fluid,
#register-wrapper,
#register-wrapper .container-fluid{
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: flex;
	display: -webkit-flex;
}
.total_BK{
    display:inline-block;
    color:red;
    margin:0 3px;
}
.tip{
    color:red;
    color:#1e00d3;
    margin-bottom:10px;
    padding:0;}


/************************Header************************/
.navbar-fixed-top{
	border:0;
}
.container-fluid>.navbar-header{
	background: #fff;
	margin: 0;
	padding:10px;
}
.navbar-default{
    background:#e9e6d7;
	border-color:transparent;
}
.navbar{
	height:110px;
	margin-bottom:0px;
}
#navbar > span{
    margin-left: 15px;
    margin-top:55px;
    display: inline-block;
    font-size:30px;
    font-weight: bold;
    color: #3a4163;
}
#navbar > span > a,
.navbar > .container-fluid .navbar-brand > span > a{
    color: #3a4163;
}
#navbar > span > a .home{
    font-size: 15px;
    font-weight: normal;
}
#navbar > span>img{width:100px;}
.navbar-default .navbar-toggle{
	margin:18px 0;
	background-color:#3a4163;
	border-color:#fff;
}
.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
	background-color:#9f5e48;
}
.navbar-default .navbar-toggle .icon-bar{
	background-color:#fff;
}
.navbar-default .navbar-right>li>a{
	font-weight:bold;
	color:#72321d;
	padding-top:8px;
	padding-bottom:5px;
	margin-left:10px;
	overflow:hidden;
	position:relative;
}
.navbar-right a span{
	margin-right:5px;
}
.navbar-right > li.hello{
	color:#fff;
	font-weight:bold;
}
.navbar-right > li.hello span{
	margin-left:5px;
}
.navbar-right > li#login>a,
.navbar-right > li#chk_btn>a,
.navbar-right > li#recommend>a,
.navbar-right > li#help>a{
    font-weight: bold;
    color: #fff;
    background:#3b4168;
    border-radius: 6px;
    width:fit-content;
    padding: 5px;
    text-align: center;
}
.navbar-right > li#login>a{
    margin-left: 5px;
    padding: 5px 10px;
}
.navbar-right > li#login>a > img{
    vertical-align: top;
    margin-left:5px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(99%) saturate(0%) hue-rotate(24deg) brightness(107%) contrast(100%);
}
.navbar-right > li#recommend > .total_BK{
    color:#ffff00;
}
.navbar-right > li#help>a{
    background:#94666a;
}
#main-wrapper,
#chgPW-wrapper,
#register-wrapper {
	position: relative;
	margin-top:110px;
	min-width:320px;
	min-height:calc(100vh - 110px - 43px);
	min-height:calc(var(--app-height) - 110px - 43px);
	flex-direction: column;
	flex-wrap: nowrap;
	-webkit-flex-wrap:nowrap;
	-ms-flex-wrap:nowrap;
	flex-direction: column\0;
	flex-wrap: nowrap\0;
	-webkit-flex-wrap:nowrap\0;
	-ms-flex-wrap: nowrap\0;
	-webkit-justify-content: flex-start;
	justify-content: flex-start;
}
.container-fluid{
	width: 94%;
	margin: 0 auto;
	padding: 30px 0;
	max-width: 1200px;
}
.navbar > .container-fluid{
	padding:0;
}
.navbar-default .navbar-collapse{
	position:relative;
}
#main-wrapper.noLogin{
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: #c10000;
    background:url(/manduebook/images/msg_pop.svg),#e9e6d7;
    background-position:center center;
    background-repeat: no-repeat;
    background-size: 70vh;    
    border-top: 2px solid #bba686;
}
.navbar > .container-fluid.noGroup{
    max-width:initial;
}
.navbar > .container-fluid.noGroup > .navbar-header{
    background:none;
    width:0;
    padding:0;
}
/************************Login************************/
.mask{
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: block;
    position: absolute;
    z-index: 998;
}
.log .msg{
    width:100%;
	padding:10px 0 0;
	text-align:center;}
.login_box,
.pw_box{
	position: absolute;
    top: 150px;
    left:calc((100% - 70%) / 2);
    z-index: 9999;
    background: #fff;
    border: 3px solid #666;
    width:70%;
    margin: 0;
    line-height: 26px;
    border-radius:5px;  
	-webkit-flex-wrap:wrap;
	-ms-flex-wrap:wrap;
	flex-wrap: wrap;
    padding:35px;
}
.login_box > .close ,
.pw_box > .close {
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 5px 10px;
    background: #a4a4a4;
    color: #ffffff;
    opacity: 1;
    font-weight: normal;
}
.login_box .d_th,
.pw_box .d_th{
	font-weight: bold;
	line-height:40px;
	text-align: center;
	letter-spacing:10px;
	width:70px;
	color:#954c33;
}
.login_box .d_td,
.pw_box .d_td{
	width:calc(100% - 70px);
}
.login_box > div,
.pw_box > div{
	padding:10px 0px;
}
.login_box > div.d_td > input.form-control,
.pw_box > div.d_td > input.form-control{
	color: #555;
	background-color: #fff;
	border: 1px solid #ccc;
	height: 40px;
	font-size: 16px;
	width: 100%;
	border-radius: 0;
	outline: 0;
}
.login_box > .log_button{
	padding:0;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top:15px;
}
.log_button span.ip {
	line-height:40px;
	color:#9a5d46;
}
input.login_ok,
.register,
.forget_pw{
	color: #ffffff;
	font-weight:bold;
	line-height:36px;
	font-size: 16px;
	letter-spacing: 1px;
	width: 100px;
	text-align: center;
	cursor: pointer;
	text-shadow: #000000 1px 1px 1px;
	border: 1px solid #9f5e48;
    background: #9f5e48;
	text-decoration: none;
    margin:0 8px;
    border-radius: 6px;
}
.login_box > .log_button a{
    color:#fff;
}
.register{
    background: #43475d;
    border-color: #000;
}
.forget_pw{
    background: #ab8961;
    border-color:#957044;
}
#pwPanel{
    display:none;
}
.pw_box .forget_pw{
    width: fit-content;
    margin: 0 0 0 10px;
    padding: 0 12px;
}



/************************首頁************************/
#main-wrapper .cont60{
	width:100%;
	padding:0;
}
.top60{
    position: relative;
    width: 100%;
    background:#fff;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
}
.info60{
	padding:0;
	font-weight:bold;
    margin-bottom: 10px;
}
.info60 input[type=text]{
	width:50px;
	text-align:center;
}
.search_box {
    white-space: nowrap;
    padding-right: 80px;
    padding-left: 0;
    margin-bottom: 10px;
}
.search_box > input[type=text]{
    width:calc(100% - 90px);
    max-width: 500px;
    min-width:120px;
    display: inline-block;
}
.search_box > input[type=submit]{
    display: inline-block;
    text-align: center;
    width: 80px;
    padding: 8px 10px;
    background: #3b4164;
    color: #fff;
    margin-left: 6px;
    border: 1px solid #000;
    border-radius: 5px;
    vertical-align: bottom;
}
.gobtn{
	display:inline-block;
	line-height:40px;
	border-radius:5px;
	width:60px;
	text-align:center;
	background:#757575;
	font-weight:bold;
	color:#fff;
}
.gobtn > a{
	display:block;
	color:#fff;
}
.pg_num{
	padding:0;
    margin-bottom:10px;
}
.pagination{
	justify-content: flex-end;
    margin:0;
}
.pagination>li>a,
.pagination>li>span {
	color:#626586;
	background-color: #ffffff;
	border: 1px solid #97bccb;
	line-height: 40px;
	height: 40px;
	padding: 0 11px;
    border-radius: 4px;
    margin-left: 10px;
}
.pagination>li span{
	line-height:0;
}
.pagination>li span.glyphicon{
	top:2px;
}
.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>span:focus,
.pagination>li>span:hover {
	background-color:#22345e;
	border-color: #9db9c6;
	color: #fff;
}
.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
    color: #fff;
    background-color: #22345e;
    border-color: #9db9c6;
}
.sum{
	flex-direction: column;    
	align-items: flex-start;
	width: 100%;
	margin: 0;
}
.sumdiv_box{
	flex-wrap: wrap;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    align-items: stretch;
    padding:0;    
}
.single_sum{
    border:1px solid #ccc;
	padding:10px 10px 50px 10px;
    margin-bottom:20px;
    margin-right:15px;
	cursor:default;
    flex-direction: column;
    flex-wrap: nowrap;
    position:relative;
}
.single_sum > div{
    width:100%;
    margin-bottom:10px;
}
.cover img{
	width:100%;
    border:1px solid #e0e0e0;
}
.single_sum > .Bk_i{
    margin-bottom: 0;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: nowrap;
}
.Bk_i td{
    line-height: 1.4em;
    vertical-align: top;
    position: relative;
    font-size: 14px;
}
.Bk_i td.Bk_dd{
    display: none;
}

.Bk_i td.Bk_ti{
    color:#2f4c7b;
    padding:0 0 6px 0;
}
.Bk_i td.Bk_ti > a,
.myForm_i td.Bk_ti{
    display: block;
    color:#1a53b0;
    font-weight: bold;
    font-size: 18px;
    line-height: 1.4em;
}
.sumdiv_box .Bk_i td.Bk_ti > a,
.Bk_i td.Bk_au{
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; 
}
.sumdiv_box .Bk_i td.Bk_ti > a{
    max-height: 50px;
}
.Bk_i td.Bk_au {
    max-height: 40px;
} 
.Bk_i td.item{
    color:#976200;
} 
.single_sum > .bottom{
    position: absolute;
    bottom: 0px;
    left: 0;
    border-top: 1px solid #ccc;
    margin: 0 -10px 0 0;
    align-items: center;
    font-weight:normal;   
    text-shadow: none;
    text-align: center;
    justify-content: flex-end;
    background:#fff ;
}  
.bottom > a {
    width:calc(100% / 2);
    display: inline-block;
    padding: 0px 8px;
    margin: 0px;
    border-right: 1px solid #1e4659;
    line-height: 40px;
    font-weight: bold;
    color: #ffffff;
    background: #546E7A;
    position:relative;
}
.bottom > a.recom,
.bottom > a.chk,
.bottom > a.chk_ok,
.bottom > a.recom_ok{
    border-right:0;
    border-left: 1px solid #b6c9d2;
    min-width: 70px;
}
.bottom > a.chk_ok{
    background:#b57b4f;
}
.bottom > a.recom_ok{
    background:#662f32;
}
.bottom > a.recom_ok:hover {
    cursor: default;
    color:#fff;
}
.bottom > a.recom_ok:after {
    background: none;
}

/*******我的推薦*******/
#myBook{
    width:100%;
}
#myBook span.clear_box {
    border-radius: 6px;
    border: 1px solid #795548;
    width: 50px;
    padding: 5px 0;
    text-align: center;
    cursor: pointer;
    margin-left:10px;    
    display: inline-block;
}
#myBook > table{
    width:calc(100% - 20px);
    margin:10px;
}
#myBook .myBook_T{
    align-items: center;
    justify-content: space-between;
    padding: 5px 0 10px 0;
    margin-bottom: 10px;
    border-bottom: 3px solid #b19779;
}
.myBook_T h1{
    margin:0;
    padding:0;
    font-size:20px;
    font-weight:bold;
    color:#D84315;
    width:calc(100% - 50px);
}
#myBook h1 > img{
    filter: brightness(0) saturate(100%) invert(29%) sepia(52%) saturate(2940%) hue-rotate(356deg) brightness(94%) contrast(90%);
}
.myBook_i{
    flex-direction: column;
    counter-reset: item;
}
.myBook_i > .single_sum::before {
    counter-increment: item;
    content: counter(item) ". ";
    padding-right: 5px;
    color: #3b4164;
    font-size: 18px;
}
.myBook_i > .single_sum:nth-child(n){
    border: 0;
    border-radius: 0;
    padding: 10px 0;
    cursor: initial;
    width: 100%;
    margin: 0;
    flex-direction: row;
    border-bottom: 1px dotted #aaa;
    border-top: 1px solid #ffffff;
    align-items: center;
}
.myBook_i > .single_sum > div{margin-bottom:0;}
.myBook_i > .single_sum > .Bk_i{
    margin:0 10px;
    padding:0;
    width:calc(100% - 150px - 80px);
}
.myBook_i > .single_sum > .cover{width:150px;}
.myBook_i > .single_sum .cover > img{
    width:100%; 
    border:1px solid #555;    
}
.myBook_i > .single_sum .dele{
    width: 80px;
    padding:5px;
    border-left:1px dotted #666;
    color: #555;
    font-weight: bold;     
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    cursor:pointer;
    letter-spacing: 1px;    
}
.myBook_i > .single_sum .dele>span{
    display: block;
    font-size: 24px;
    color:#ef6c00;
    margin-bottom: 10px;
}
.myBook_B{
    padding-top:20px;
    justify-content: end;
    align-items: center;
}    
.myBook_B > a{
    display:inline-block;
    padding:5px 8px;
    border-radius:6px;
    background:#999;
    color:#fff;    
    margin-left: 10px;
}
.myBook_B > a.home{
    background:#546E7A;
}
.myBook_B > a.active{
    background:#D84315
}
.myBook_i .Bk_i td{
    font-size:16px;
}
.tp_version,.botpg{
    display:none;
}

/************************忘記密碼/註冊************************/
#chgPW-wrapper .container-fluid,
#register-wrapper .container-fluid{
	padding:0;
	width: 70%;
    max-width:600px;
	min-width: 320px;
	flex-wrap: wrap;
    align-content: flex-start;
    align-items: center;
}
#chgPW-wrapper .container-fluid h1,
#chgPW-wrapper .container-fluid .msg,
#register-wrapper .container-fluid h1,
#register-wrapper .container-fluid .msg {
    width: 100%;
    text-align: center;
}
#chgPW-wrapper .container-fluid > *,
#register-wrapper .container-fluid > *{
    margin-bottom:20px;
}
#chgPW-wrapper .container-fluid h1,
#register-wrapper .container-fluid h1{
    font-size: 22px;
    margin:30px auto 15px;
    font-weight: bold;
    padding: 7px 15px;
    border-radius: 50%;
    border: 2px solid #db4b19;
    width: auto;
    border-top: 0;
}
#chgPW-wrapper .container-fluid .d_th,
#register-wrapper .container-fluid .d_th{
    font-weight: bold;
    font-size: 18px;
    width: 110px;    
    line-height: normal;
}
#chgPW-wrapper .container-fluid .d_td,
#register-wrapper .container-fluid .d_td{
    width: calc(100% - 110px);
}
#chgPW-wrapper .container-fluid .id{
    color:#2961d1;
    font-weight:bold;
}
#chgPW-wrapper .container-fluid input[type=password]{
    width:100%;
}
#chgPW-wrapper .container-fluid input[type=submit],
#register-wrapper .container-fluid input[type=submit]{
    padding: 0 10px;
    color: #ffffff;
    font-weight: bold;
    line-height: 36px;
    text-shadow: #000000 1px 1px 1px;
    background: #ab8961;
    border:1px solid #957044;
    border-radius: 6px;
    width:150px;
    text-align:center;
    margin-top:15px;
}
#register-wrapper .container-fluid input[type=submit]{
    background: #43475d;
    border:1px solid #000;
}

/************************Footer************************/
#footer-wrapper{
	background:#bda688;
	padding:10px 15px;
	color:#fff;
	font-size: 13px;
	text-align: center;
	letter-spacing:2px;
}


/************************GoTop************************/
#T_Btn {
	position: fixed;
	bottom: 10px;
	right: 10px;
	z-index: 99;
	cursor: pointer;
	width:50px;
	height:50px;
	border-radius:100%;
	background:#507696;
	color:#fff;
	text-align: center;
	line-height: 50px;
	opacity:0;
}
#T_Btn.show{
	opacity:1;
	-webkit-transition: 0.5s ease;
	-moz-transition: 0.5s ease;
	-o-transition: 0.5s ease;
	transition: 0.5s ease;
}
#T_Btn.show:before {
    content: "TOP";
    position: absolute;
    top: 2px;
    left: 10px;
}
#T_Btn.show:hover{
    bottom: 20px;;
}
#T_Btn.show:hover:before{
    content: "▲";
    left: 15px;
    top: 0px;
    font-size: 22px;    
}
