@import url(//fonts.googleapis.com/earlyaccess/notosanstc.css);
body{
	color: #000;
    font-family:'Noto Sans TC', sans-serif !important;
    font-weight: 500;
	font-size: 16px !important;
}
ul{
	list-style-type: none;
}
h1,h2,h3,h4,h5,
.h1.h2.h3.h4.h5{
	margin: 0px !important;
    font-family:'Noto Sans TC', sans-serif !important;
}
/***************navbar****************/
/* General Demo Style */
@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700);

@font-face {
	font-family: 'fontawesome';
	src:url('../fonts/fontawesome.eot');
	src:url('../fonts/fontawesome.eot?#iefix') format('embedded-opentype'),
		url('../fonts/fontawesome.svg#fontawesome') format('svg'),
		url('../fonts/fontawesome.woff') format('woff'),
		url('../fonts/fontawesome.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

body, html { font-size: 100%; 	padding: 0; margin: 0;}

/* Reset */
*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
/*******search20180917*****/
body > header {
  position: relative;
  color: #fff;
  background-color: #191917 !important;
}
body > header:after {
  content: "";
  display: table;
  clear: both;
}
body > header h1 {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  margin: 0;
  width: 100%;
  line-height: 60px;
  font-size: 2.4em;
  font-weight: 300;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.3em;
}

.header-button {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-indent: -119988px;
  overflow: hidden;
  text-align: left;
  text-transform: capitalize;
  position: relative;
  z-index: 1;
  display: block;
  width: 60px;
  height: 60px;
  margin: 0;
  padding: 0;
  outline: none;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAA8CAQAAABlJ1gMAAABfElEQVR42u3ZsU7CUBhA4U6Iib5IITigOzMzzwUMmNA3MRofwMSRCDB1MPIAOoDBHAch0VhUCb2Ecr4uBJb23Oa/FKJIkiRJkiRJkiRJygENElJSEhpEmxz6W+Z7Vu43S71PlxvTZsiMGQ+0iTe7szY6EuCOmJg7IClwaEr0eOOzN/ocBwqdwnJhYyAtbGhK3ACQcEGZMhckANxSChIayHxduNCXwISzL6deYQT0Chma3+RzmRUWQO3b+2fAgkrOgbd0vfsQurN2A0qATgFD72hwDIHzzNM/B4YBRkbW6Chg6DlwlHn6R8Dc0PmHPgWeA22C//lsT2f0+tFRBwaGDrMZdgsYekejo7rm610NWFA1dIgHlqtgDyoHEXr1CN6nTokT6vQBgAktZ/Q2j6wfla6ZAOMcUx9g6I9h0WXEKy8M6FIlosU419SHNjp+WPp8Uxs6UGpDZ6Y2dJDUedzRTz/uSFP/nN3WAjaZrs38SNPQkiRJkiRJkiRJKoB36w+U2Cj/A/EAAAAASUVORK5CYII=");
  border: none;
  cursor: pointer;
}

#toggle-menu ,#toggle-menu-mobile{
  float: left;
  background-position: 0 0;
  background-color: #bc0023;
}

#toggle-search ,#toggle-search-mobile{
  float: right;
  background-position: -60px 0;
}
#toggle-search.open:after ,#toggle-search-mobile.open:after {
  top: 40px;
}
#toggle-search:after ,#toggle-search-mobile:after{
  -moz-transition: top, 0.5s;
  -o-transition: top, 0.5s;
  -webkit-transition: top, 0.5s;
  transition: top, 0.5s;
  position: absolute;
  top: 52px;
  left: 50%;
  margin-left: -8px;
  content: "";
  border-color: transparent transparent #e1e4e7;
  border-style: solid;
  border-width: 8px 8px 12px;
}

#toggle-basket {
  position: relative;
  float: right;
  background-position: -120px 0;
}
#toggle-basket:before {
  position: absolute;
  top: 5px;
  left: 0;
  width: 2px;
  height: 50px;
  content: "";
  background-color: #000;
}

#search-form ,#search-form-mobile{
  -moz-transition: max-height, 0.5s;
  -o-transition: max-height, 0.5s;
  -webkit-transition: max-height, 0.5s;
  transition: max-height, 0.5s;
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  z-index:999;
  background-color: #e1e4e7;
}
#search-form.open ,#search-form-mobile.open{
  max-height: 60px;
}
#search-form fieldset ,#search-form-mobile fieldset{
  position: relative;
  margin: 0 60px 0 0;
  padding: 0;
  border: none;
}
#search-form input,#search-form-mobile input {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: block;
  height: 60px;
}
#search-form input[type="search"],#search-form-mobile input[type="search"] {
  color:#191917;
  width: 100%;
  padding: 0 5px 0 22px;
  background: transparent;
  border: none;
}
#search-form input[type="submit"], #search-form-mobile input[type="submit"]{
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  margin: 0;
  padding: 0;
  font-weight: 700;
  text-transform: uppercase;
  color: #516270;
  background: #c6cacd;
  border: none;
  cursor: pointer;
}
.navbar-toggle {
  margin-top: 14px !important;
}
/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before,
.clearfix:after {
	content: " ";
	display: table;
}

.clearfix:after {
	clear: both;
}

body {
    font-family: 'Lato', Calibri, Arial, sans-serif;
    color: #47a3da;
	background:url(https://www.flag.com.tw/assets/img/category/background.png);
	background-repeat:repeat;
	background-size:auto;
}

a {
	color: #f0f0f0;
	text-decoration: none;
}

a:hover {
	color: #000;
}
#gotop {
    position: fixed;
    border-radius: 50px;
    right: 20px;
    bottom: 30px;
    padding: 10px 20px;
    font-size: 25px;
    background: rgba(0, 170, 232,0.7);
    color: #fff;
    cursor: pointer;
    z-index: 1000;
}
.anim {
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
}
/*******header********/
.header{
	background: #ffffff;
}
.book-container{
	width: 70%;
	margin: auto;
	position: relative;
	padding:0 1.875em;
	max-width:70em;
}
.header-bottom p{
	text-align: left;
}
.header_homelogo{
	float: left;
	height: 60px;
}
.right{
	float: right;
}
.header_buttons{
	text-align:right;
	padding: 28px 0 4px;
}
.header_homelogo a:hover img{
	filter: opacity(70%);
}
/*******header_text*****/
.header h1{
	color: #8c8c8c;
}
/******headersearchbar+logo*****/

.header_buttons li {
	display: inline-block;
	vertical-align: middle;
}

.header_buttons .buttons a {
	position:relative;
	vertical-align:top;
	display: inline-block;
	width:70px;
	height:30px;
	padding: 9px 0px 8px;
	line-height:1em;
	text-align:left;
	box-sizing: border-box;
	color:#333;
	letter-spacing:1px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	background:#fff; 
	font-weight: bold;
}
.header_buttons .buttons a:hover{
	text-decoration:none;
	filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
	opacity: 0.8;
}
/*
.header_buttons .buttons a:before{
	display:inline-block;
	vertical-align:top;
	width:12px;
	height:12px;
	content: "";
	margin-right:7px;
}
*/
.header_buttons .buttons a.to_sp_btn {
	width:160px;
	text-align:center;
	background:#B90000;
}

.books .header_buttons .buttons a.to_sp_btn {
	background:#07AF9B;
}
/******header arrow****/
.header a span.hover_arrow {
	width: 180px;
	height: 18px;
	position: absolute;
	top: 38px;
	left: -4px;
	background-size: 180px 38px;
	background-position: 0 0;
	background-repeat: no-repeat;
	filter: alpha(opacity=0);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0)";
    -moz-opacity: 0;
    opacity: 0;
}
.header a:hover span.hover_arrow {
	background-position: 0 -20px;
	filter: alpha(opacity=100);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=100)";
    -moz-opacity: 1;
    opacity: 1;
}

.header a.menu01{
	/*原本102px*/
width:180px;
height:32px;
white-space:nowrap;
text-indent:100%;
/*overflow:hidden;*/
background:url(https://www.flag.com.tw/assets/img/flag_shopping.png) -1px -32px no-repeat #2F2F2F;
background-size: 180px 60px;
border: 1.5px solid #2F2F2F;
}

.header a:hover.menu01{
background-position:0 -1px;
}

.header a.menu02{
width:180px;
height:32px;
white-space:nowrap;
text-indent:100%;
/*overflow:hidden;*/
background:url(https://www.flag.com.tw/assets/img/flag_contact.png) -1px -32px no-repeat #2F2F2F;
background-size: 180px 60px;
border: 1.5px solid #2F2F2F;
}

.header a:hover.menu02{
background-position:0 -1px;
}
/*******header search input*******/
.search_button{
	margin-top: 2px;
}
input {
	outline: none;
}
input[type=search] {
	-webkit-appearance: textfield;
	-webkit-box-sizing: content-box;
	font-family: inherit;
	font-size: 100%;
}
input::-webkit-search-decoration,
input::-webkit-search-cancel-button {
	display: none; 
}


input[type=search] {
	background: #ededed url(https://www.flag.com.tw/assets/img/search-icon.png) no-repeat 9px center;
	border: solid 1px #ccc;
	padding: 8px 8px 8px 35px;
	width: 55px;
	
	-webkit-border-radius: 10em;
	-moz-border-radius: 10em;
	border-radius: 10em;
	
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	transition: all .5s;
}
input[type=search]:focus {
	width: 150px;
	background-color: #fff;
	border-color: #ccc;
	
	-webkit-box-shadow: 0 0 5px rgba(109,207,246,.5);
	-moz-box-shadow: 0 0 5px rgba(109,207,246,.5);
	box-shadow: 0 0 5px rgba(109,207,246,.5);
}


input:-moz-placeholder {
	color: #999;
}
input::-webkit-input-placeholder {
	color: #999;
}

/* Demo 2 */
.demo-2 input[type=search] {
	width: 40px;
	padding-left: 10px;
	color: transparent;
	cursor: pointer;
}
.demo-2 input[type=search]:hover {
	background-color: #fff;
}
.demo-2 input[type=search]:focus {
	width: 150px;
	padding-left: 32px;
	color: #000;
	background-color: #fff;
	cursor: auto;
}
.demo-2 input:-moz-placeholder {
	color: transparent;
}
.demo-2 input::-webkit-input-placeholder {
	color: transparent;
}
/*******gnav****/
.gnav {
/*	padding-top:10px; */
/*	background: url(../img/common/bg_head_deepred.png) repeat-x left top; */
}
/*******books*******/

	.books .gnav .inner{
		height: 36px;
/*		background: url(../img/common/bg_head_green.png) repeat-x left top;*/
		background: #38D5FF;
	}

/******gnav li*****/

/*****books*****/
	 .gnav ul li a {
		text-decoration: none;
		transition: 0.3s;
	}
 .gnav ul li a:hover,
 .gnav ul li:hover{
	color: #ffffff;
}

/******gnav item*****/
.gnav .item01 a:before {
	display:inline-block;
	vertical-align:middle;
	width:17px;
	height:15px;
	content: "";
	margin-right:7px;
}
.gnav .item01 a:before {
	background: url(https://www.flag.com.tw/assets/img/icon_check_sprite3.png) no-repeat left top;
}
/* --(books)-- */
	.books .gnav .item01 a:before {
		background: url(https://www.flag.com.tw/assets/img/icon_check_sprite3.png) no-repeat left top;
	}
/* --(books/end)-- */
/* item hover */
.gnav .item01 a:hover:before {
	background-position: left -20px;
}
/* item active */
.gnav .item01 a.active{
	font-weight:bold;
}
.gnav .item01 a.active:before {
	background-position: left -20px;
}
/****nav item active***/

nav.fixed .inner,
.books nav.fixed .inner  {
  padding: 5px 0 0 0;
  display: block;
  border: none;
}
nav.fixed .inner a {
	color: #000;
}
nav.fixed .inner a:hover{
	color: #8e8e8e;
}
nav.fixed .inner .item01 a:before {
	background: url(https://www.flag.com.tw/assets/img/icon_check_sprite3.png) no-repeat left top;
}
/* item hover */
nav.fixed .inner .item01 a:hover:before {
	background-position: left -20px;
}
/* item active */
nav.fixed .inner .item01 a.active{
	font-weight:bold;
}
nav.fixed .inner .item01 a.active:before {
	background-position: left -20px;
}


nav .head_short_unit {
  	display: none;
  }
	
nav.fixed .head_short_unit {
  	display: block;
  	padding: 2px 0; 
	background-color: #fff;
}
nav.fixed .head_short_unit_inner {
	width: 70%;
	margin: 0 auto;
}
nav.fixed .nav_logo {
	width: 134px;
	float: left;
  	padding: 4px 0 0; 
	margin: 0px;
}
nav.fixed .head_short_btn {
	float:right;
	text-align: right;
}
nav.fixed .head_short_btn p {
	font-size: 11px;
	font-weight: bold;
	color: #8c8c8c;
}
nav.fixed .head_short_btn .header_buttons {
	text-align: right;
	padding: 4px 0 0;
}
nav.fixed .head_short_btn ul li {
	float: none;
}

nav.fixed .head_short_btn ul li a {
	margin: 0;
}


nav.fixed .head_short_unit_inner:after {
	clear: both;
	content: "";
	display: block;
}

/****nav fixed arrow***/
nav.fixed ul .buttons{
	margin: 6px;
}
nav.fixed ul .buttons a span.hover_arrow {
	width: 153px;
	height: 15px;
	position: absolute;
	top: 42px;
	left: -4px;
	background-size: 153px 30px;
	background-position: 0 0;
	background-repeat: no-repeat;
	filter: alpha(opacity=0);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0)";
    -moz-opacity: 0;
    opacity: 0;
}
nav.fixed ul .buttons a:hover span.hover_arrow {
	background-position: 0 -20px;
	filter: alpha(opacity=100);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=100)";
    -moz-opacity: 1;
    opacity: 1;
}

nav.fixed ul .buttons a.menu01{
width:153px;
height:29px;
white-space:nowrap;
text-indent:100%;
/*overflow:hidden;*/
background:url(https://www.flag.com.tw/assets/img/flag_shopping.png) 0px -25px no-repeat #2f2f2f;
background-size: 153px 50px;
border: 1.5px solid #2f2f2f;
}

nav.fixed ul .buttons a:hover.menu01{
background-position:0 0px;
}

nav.fixed ul .buttons a.menu02{
width:153px;
height:29px;
white-space:nowrap;
text-indent:100%;
/*overflow:hidden;*/
background:url(https://www.flag.com.tw/assets/img/flag_contact.png) 0px -25px no-repeat #2f2f2f;
background-size: 153px 50px;
border: 1.5px solid #2f2f2f;
}

nav.fixed ul .buttons a:hover.menu02{
background-position:0 0px;
}
/**********cbphrmenu***********/
.cbp-hrmenu {
	width: 100%;
	margin:0 auto;
	border-bottom: 4px solid #47a3da;
}

/* general ul style */
.cbp-hrmenu ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

/* first level ul style */
.cbp-hrmenu > ul,
.cbp-hrmenu .cbp-hrsub-inner {
	width: 70%;
	max-width: 70em;
	margin: 0 auto;
	padding:0 1.875em;
}

.cbp-hrmenu > ul > li {
	display: inline-block;
}

.cbp-hrmenu > ul > li > a {
	padding: 1em 1em;
	color: #fff;
	display: inline-block;
	text-decoration:none;
	transition:0.1s;

}
.cbp-hrmenu ul li:nth-child(1) a{
    background-color:#47a3da;
}
.cbp-hrmenu > ul > li > a:hover {
	color: #fff;
}
.cbp-hrmenu > ul > li:nth-child(1) > a:hover {
	background-color:#47a3da;
}
.cbp-hrmenu > ul > li:nth-child(2) > a:hover {
	background-color:#f19413;
}
.cbp-hrmenu > ul > li:nth-child(3) > a:hover {
	background-color:#e3217e;
}
.cbp-hrmenu > ul > li:nth-child(4) > a:hover {
	background-color:#5c1e7a;
}


/* sub-menu */
.cbp-hrmenu .cbp-hrsub {
	display: none;
	position: absolute;
	width: 100%;
	left: 0;
}
.cbp-hrmenu > ul > li:nth-child(1) > .cbp-hrsub  {
	background-color:#47a3da;
}
.cbp-hrmenu > ul > li:nth-child(2) > .cbp-hrsub  {
	background-color:#f19413;
}
.cbp-hrmenu > ul > li:nth-child(3) > .cbp-hrsub  {
	background-color:#e3217e;
}
.cbp-hrmenu > ul > li:nth-child(4) > .cbp-hrsub  {
	background-color:#5c1e7a;
}
.cbp-hropen .cbp-hrsub {
	display: block;
	padding: 1em 0;
	z-index:1;
}

.cbp-hrmenu .cbp-hrsub-inner > div {
	width: 33%;
	float: left;
	padding: 0 10px;
}

.cbp-hrmenu .cbp-hrsub-inner:before,
.cbp-hrmenu .cbp-hrsub-inner:after {
	content: " ";
	display: table;
}

.cbp-hrmenu .cbp-hrsub-inner:after {
	clear: both;
}

.cbp-hrmenu .cbp-hrsub-inner > div a {
	line-height: 2em;
}

.cbp-hrsub h4 {
	color: #afdefa;
	margin: 0;
	font-size: 130%;
	font-weight: 300;
}
@media only screen and (max-width:1177px){
	.cbp-hrsub h4 {
	font-size:16px;
	}
}
.cbp-hrsub h4 a{
		color: #fff !important;
}
.cbp-hrsub h4 a:hover{
		color: #cccccc !important;
}
/* Examples for media queries */

@media screen and (max-width: 52.75em) { 

	.cbp-hrmenu {
		font-size: 80%;
	}

}

@media screen and (max-width: 43em) { 

	.cbp-hrmenu {
		font-size: 120%;
		border: none;
	}

	.cbp-hrmenu > ul,
	.cbp-hrmenu .cbp-hrsub-inner {
		width: 100%;
		padding: 0;
	}

	.cbp-hrmenu .cbp-hrsub-inner {
		padding: 0 2em;
		font-size: 75%;
	}

	.cbp-hrmenu > ul > li {
		display: block;

	}

	.cbp-hrmenu > ul > li > a { 
		display: block;
		padding: 1em 3em;
	}

	.cbp-hrmenu .cbp-hrsub { 
		position: relative;
	}

	.cbp-hrsub h4 {
		padding-top: 0.6em;
	}

}

@media screen and (max-width: 36em) { 
	.cbp-hrmenu .cbp-hrsub-inner > div {
		width: 100%;
		float: none;
		padding: 0 2em;
	}
}
/******navbackground****/
.navbar{
	margin-bottom: 0px !important;
	border-radius: 0px !important;
}
.navbar-background{
	background-color: #8d8d8d;
}
.navbar-background .navbar-brand img{
	height: 50px;
}
.navbar-background .navbar-brand {
	color: #9d9d9d
}
.navbar-background .navbar-brand:focus, .navbar-background .navbar-brand:hover {
	color: #fff;
	background-color: transparent
}
.navbar-background .navbar-text {
	color: #9d9d9d
}
.navbar-background .navbar-nav>li>a {
	color: #9d9d9d
}
.navbar-background .navbar-nav>li>a:focus, .navbar-background .navbar-nav>li>a:hover {
	color: #fff;
	background-color: transparent
}
.navbar-background .navbar-nav>.active>a, .navbar-background .navbar-nav>.active>a:focus, .navbar-background .navbar-nav>.active>a:hover {
	color: #fff;
	background-color: #080808
}
.navbar-background .navbar-nav>.disabled>a, .navbar-background .navbar-nav>.disabled>a:focus, .navbar-background .navbar-nav>.disabled>a:hover {
	color: #444;
	background-color: transparent
}
.navbar-background .navbar-toggle {
	border-color: #333
}
.navbar-background .navbar-toggle:focus, .navbar-background .navbar-toggle:hover {
	background-color: #333
}
.navbar-background .navbar-toggle .icon-bar {
	background-color: #fff
}
.navbar-background .navbar-collapse, .navbar-background .navbar-form {
	border-color: #101010
}
.navbar-background .navbar-nav>.open>a, .navbar-background .navbar-nav>.open>a:focus, .navbar-background .navbar-nav>.open>a:hover {
	color: #fff;
	background-color: #080808
}

.navbar-background .navbar-link {
	color: #9d9d9d
}
.navbar-background .navbar-link:hover {
	color: #fff
}
.navbar-background .btn-link {
	color: #9d9d9d
}
.navbar-background .btn-link:focus, .navbar-background .btn-link:hover {
	color: #fff
}
.navbar-background .btn-link[disabled]:focus, .navbar-background .btn-link[disabled]:hover, fieldset[disabled] .navbar-background .btn-link:focus, fieldset[disabled] .navbar-background .btn-link:hover {
	color: #444
}
.navbar-nav{
	width: 450px !important;
	float: none !important;
	margin: 0 auto !important;
}
.navbar-nav li{
	margin-right:15px;
	text-align:center;
}
.navbar-nav li a {
	font-size: 16px;
	color: #fff !important;
}
.navbar-nav li a:hover{
	color: #DBDBDB !important;
}
#company{
	color: #fff;
}
.navbar-brand{
	margin-left: 50px !important;
	padding: 0px !important;
}
/***********bookfashion*******/
.books-fashion{
	width: 80%;
	margin: 10px auto 0;
}
.books-fashion ul li img{
	display: block;
	width: 80%;
	margin: 0 auto;
}
.books-fashion .lSAction{
	display: none !important;
}
/**********allbooks********/
.allbooks{
	width: 60%;
	margin: 20px auto 0px;
}
.rwd-table{
	background: #fff;
	overflow: hidden;
}
.rwd-table img{
	display: block;
	margin: auto;
	width:183px;
	height:248px;
		box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
	-o-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
	-ms-box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);

	-moz-transition:0.3s linear;
	-webkit-transition:0.3s linear;
	-o-transition:0.3s linear;
	-ms-transition:0.3s linear;
}
.rwd-table p {
	text-align: center;
	width:183px;
	margin:10px auto;
}
.rwd-table th,
.rwd-table td{
	margin: 0.5em 1em;
}
.rwd-table{
	min-width: 100%
}
.rwd-table .odd td:nth-child(odd),
.rwd-table .double td:nth-child(even){
	background-color: #DCDCDC;
}
.rwd-table .odd td:nth-child(even),
.rwd-table .double td:nth-child(odd){
	background-color: #C0C0C0;
}
.rwd-table th {
    display: none;
}

.rwd-table td {
	display: block;
	vertical-align:text-top;
}
.rwd-table td a {
	text-decoration: none;
	color: #000;
}
.rwd-table th,
.rwd-table td{
	text-align: left;
}
.rwd-table th,
.rwd-table td:before{
	color: #D20B2A;
	font-weight: bold;
}
@media(min-width:850px){
	.rwd-table td:before{
	    display: none;
	}
	.rwd-table th,.rwd-table td{
	    display: table-cell;
		padding: 0.25em 0.5em;
	}
	.rwd-table th:first-child,
	.rwd-table td:first-child{
		padding-left: 0;
	}
	.rwd-table th:last-child,
	.rwd-table td:last-child{
		padding-right: 0;
	}
	.rwd-table th,
	.rwd-table td{
		padding: 1em !important;
	}
}
/******footer******/
footer {
	width:100%;
	background:#111111;
	font-size: 14px;
	font-size: 1.4rem;
	color:#9b9b9b;
	line-height:200%;
}
footer img{
	height: 55px;
	float: left;
}
footer .footer-top {
	margin: 0 auto;
	width: 80%;
	padding:10px 5% 0;
}
footer .clmtable{
	margin: 10px auto 0;
}
footer .clmtable td {
	padding: 0 80px;
}
footer .clmtable a {
	color:#9b9b9b;
}
footer .clmtable a:hover {
	color:#ffffff;
	text-decoration:none;
}
footer .footer-bottom{
	width: 95%;
	margin: 0 auto;
	padding: 0 1%;
	text-align: left;
}

footer p{
	display: inline-block ;
}
@media screen and (max-width:960px){
	.book-container{
	width:85%;
	}
	.allbooks{
		width:85%;
	}
	.books-fashion{
	    width:85%;
	}
	.books-fashion ul li img {
		width:100%;
	}
}
@media screen and (max-width:900px){
	.books-fashion ul li img{
		width: 500px;
	}
}
@media screen and (max-width: 768px) {
/****header****/
.navbar-brand{
	margin-left:20px !important;
}
.book-container {
    width: 90%
}
	.header-bottom p{
		margin: 0 auto;
		text-align: center;
	}
	.header_homelogo{
		float: none;
	}
	.right{
		float: none;
	}
	.header_buttons{
		padding: 5px 0 0 ;
		text-align: center;
	}
	nav.fixed .head_short_unit_inner{
		margin: 0;
		width: 70%;
	}
	.head_short_btn{
		display: none;
	}
	/****button****/
	
.header a.menu01{
	/*原本102px*/
width:120px;
height:22px;
white-space:nowrap;
text-indent:100%;
/*overflow:hidden;*/
background:url(https://www.flag.com.tw/assets/img/flag_shopping.png) -1px -21px no-repeat #2F2F2F;
background-size: 120px 40px;
border: 1.5px solid #2F2F2F;
}

.header a:hover.menu01{
background-position:0 -1px;
}

.header a.menu02{
width:120px;
height:22px;
white-space:nowrap;
text-indent:100%;
/*overflow:hidden;*/
background:url(https://www.flag.com.tw/assets/img/flag_contact.png) -1px -21px no-repeat #2F2F2F;
background-size: 120px 40px;
border: 1.5px solid #2F2F2F;
}

.header a:hover.menu02{
background-position:0 -1px;
}
/******search-button******/
.search_button{
display:none !important;
}
	/****bookfashion****/
	.bookfs-back .book-text{
		margin: 20px auto;
	}
	.bookfs-back .bookfs-text{
	color: #ffffff;
    text-align:center;
	vertical-align: middle;
	margin:0px;
}	
	/****books-fashion***/
	.books-fashion ul li img{
		width: 100%;
	}
	/****table****/
	.rwd-table th, .rwd-table td {
    padding: 1em !important;
}
.rwd-table th,
.rwd-table td{
	margin: 0;
}
#gotop{
	right:10px;
}
.flagcontainer > header img{
	display:block;
	margin:0 auto;
}
}
@media screen and (max-width:690px){
	.search-loc{
	display:none !important;
	}
}
/**************************/
@media(max-width:480px){
	.navbar-background{
		background-color:#191917;
	}
	header{
		display:none !important;
	}
	/**search-btn**/
	#search-form ,#search-form-mobile{
		top:60px;
	}
}
/**************************/
@media only screen and (min-width:480px){
.navbar-brand{
	display: none !important;
}
.mobile-search{
	display: none !important;
}
}
@media only screen and (min-width:690px){
.small-only{
	display: none !important;
}
	.col-md-3{
		display: none !important;
	}
}