@charset "utf-8";
/* CSS Document */

@import url(reset.css);

/* 多國語言開關：display:none;表示關閉；註解display:none;則表示開啟 */
.tab-nav { display:none; }
#lang-en { display:none; }
#lang-cn { display:none; }
#lang-jp { display:none; }
#lang-kr { display:none; }

* {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

html { height:100%; }
body { min-height:100%; }

body {
	background-color:#DDEEF2;
	color:#333;
	font-family:"微軟正黑體", "LiHei Pro", "新細明體", sans-serif;
	font-size:14px;
	line-height:1.6;
}

a { color:#004E98; text-decoration:none; }
a:hover { color:#D70000; }

[class*="col-"] {  /* 套用在class屬性的值包含 col- 的樣式 */
	float:left;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	box-sizing:border-box;
}

.col-2 { width:50%; }

.col-3 { width:33.33%; }

.col-4 { width:25%; }

.col-5 { width:20%; }

.b-box {
	-webkit-box-sizing:border-box;  /* Safari, Chrome */
	-moz-box-sizing:border-box;     /* Firefox */
	box-sizing:border-box;          /* IE8+, Opera */
}

.note {
	color:#D70000;
}

.albumTitle {
	color:#F60;
	font-size:16px;
	font-weight:bold;
	text-align:center;
}

hr {
	background:#EEE;
	border:none;
	height:1px;
	margin:20px 0;
}

hr.r6_c1 {
	background:url(../images/r6_c1.gif) repeat-x;
	border:none;
	height:5px;
	margin:5px 0;
}

.text-left {
	text-align:left !important;
}

.text-center {
	text-align:center !important;
}

.text-right {
	text-align:right !important;
}

.m_menu {
	display:none;
}

.wrapper {
	position:relative;
	min-width:360px;
}

.wrap {
	width:960px;
	background:#FFF;
	border:1px solid #DDD;
	margin:10px auto;
}
@media screen and (max-width: 960px) {
.wrap {
	width:100%;
	margin:0 auto;
}
}

/*** 網頁頭 ***/
.topArea {
	background:url(../images/admin_bg.jpg) no-repeat 0 0;
	position:relative;
}
.topArea .admin_logo {
	float:left;
}
.topArea .admin_logo a {
	display:block;
	background:url(../images/admin_logo.png) no-repeat 0 0;
	width:168px;
	height:80px;
	text-indent:110%;
	white-space:nowrap;
	overflow:hidden;
}
.topArea h1 {
	float:left;
	color:#0065B2;
	font-size:26px;
	font-weight:bold;
	/*text-shadow:1px 1px 2px #BBB;*/
	padding:30px 0 0 30px;
}
.topArea .rightBox {
	float:right;
	color:#0065B2;
	font-size:18px;
	padding:40px 20px 0 0;
}
@media screen and (max-width: 640px) {
.topArea h1 {
	float:none;
	padding:0;
	position:absolute;
	top:15px;
	right:10px;
}
.topArea .rightBox {
	float:none;
	padding:0;
	position:absolute;
	bottom:0;
	right:10px;
}
}

/* 選單區 */
.menuArea {
	background:url(../images/nav_bg.gif) repeat-x;
	margin-top:5px;
}
ul.menu {
	float:right;
}
ul.menu li {
	float:left;
	padding:0 20px;
	position:relative;
}
@media screen and (max-width: 480px) {
ul.menu li {
	padding:0 10px;
}
}
ul.menu li:before {
	display:block;
	content:"";
	background:#FFF;
	width:1px;
	height:16px;
	position:absolute;
	left:0;
	top:50%;
	margin-top:-8px;
}
ul.menu li:first-child:before {
	content:none;
}
ul.menu li a {
	color:#FFF;
	font-size:16px;
	font-weight:bold;
	line-height:40px;
}
ul.menu li a:hover {
	color:#EEE;
}

/*** 頁尾資訊 ***/
.footer .copyright {
	text-align:center;
	padding:20px 0;
}

/* 資料集 - Navigation Builder 資料集分頁CSS */
.page_navigation {
	margin-top:10px;
}

/* 分頁導覽列 */
.pagination {
  display: inline-block;
  padding-left: 0;
  margin: 10px 0;
  border-radius: 4px;
}
.pagination > li {
  display: inline;
}
.pagination > li > a {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #337ab7;
  text-decoration: none;
  background-color: #ffffff;
  border: 1px solid #dddddd;
}
.pagination > li > a:hover,
.pagination > li > a:focus {
  z-index: 2;
  color: #23527c;
  background-color: #eeeeee;
  border-color: #dddddd;
}
.pagination > li:first-child > a {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.pagination > li:last-child > a {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus {
  z-index: 3;
  color: #ffffff;
  cursor: default;
  background-color: #337ab7;
  border-color: #337ab7;
}
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  color: #777777;
  cursor: not-allowed;
  background-color: #ffffff;
  border-color: #dddddd;
}

.page_navigation .total_rows {
	text-align:right;
	padding:5px;
}
@media screen and (max-width: 640px) {
.page_navigation .leftBox {
	float:none;
	width:100%;
}
.page_navigation .rightBox {
	float:none;
	width:100%;
}
.page_navigation .total_rows {
	text-align:center;
}
}

.no_data {
	line-height:100px;
	text-align:center;
}

/*** 內頁部份 ***/
/* 主區塊 */
.mainArea {
	min-height:420px;
	padding:10px 20px;
}
@media screen and (max-width: 960px) {
.mainArea {
	padding:10px;
}
}

/* 首頁登入區塊 */
.loginBox {
	width:330px;
	margin:20px auto;
}
.loginBox p {
	margin-top:5px;
}
.loginBox .login {
	padding:10px 20px;
}
.loginBox label {}
.loginBox input[type="text"],
.loginBox input[type="password"] {
	display: inline-block;
	width: 80%;
	height: 34px;
	padding: 6px 12px;
	margin-bottom:5px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-family: inherit;
	-webkit-box-sizing:border-box;  /* Safari, Chrome */
	-moz-box-sizing:border-box;     /* Firefox */
	box-sizing:border-box;          /* IE8+, Opera */
}
.loginBox .btn {
	margin-top:10px;
}

/* 頁面標題區塊 */
.mainArea .titleBox {
	margin-bottom:15px;
	position:relative;
}
.mainArea .titleBox h2 {
	background:url(../images/arrowAdmin.gif) no-repeat left center;
	font-weight:normal;
	padding-left:36px;
}
.mainArea .titleBox h2 em {
	margin-left:10px;
}

/* 麵包屑導航條 bread */
.mainArea .titleBox .bread {
	position:absolute;
	right:0;
	top:0;
}
@media screen and (max-width: 640px) {
.mainArea .titleBox .bread {
	position:static;
	text-align:right;
}
}
.mainArea .titleBox .bread a {}

/* 內容區塊 */
.contentBox {
	margin-bottom:15px;
}

/* 首頁選單項目 */
ul.itemList {
	text-align:center;
	padding:10px 0;
	margin:0 -10px;
}
ul.itemList li {
	float:left;
	padding:20px 10px;
}
@media screen and (max-width: 767px) {
ul.itemList li {
	width:25%;
}
}
@media screen and (max-width: 640px) {
ul.itemList li {
	width:33.33%;
}
}
@media screen and (max-width: 480px) {
ul.itemList li {
	width:50%;
}
}
ul.itemList li .Img {}
ul.itemList li .Txt {
	padding:10px;
}

/* 表格樣式 */
.table-wrap {
	border:1px solid #DDD;
}

table {
	width:100%;
	max-width:100%;
}
table th,
table td {
	line-height:2.0;
	padding:5px;
}

/* 列表頁面 table1 */
.table1 {}
.table1 th {
	background-color:#DDD;
	font-weight:normal;
	border:1px solid #EEE;
}
.table1 td {
	border:1px solid #EEE;
	text-align:center;
}

/* 新增、編輯頁面 table2 */
.table2 {}
.table2 em {
	color:#D70000;
}
.table2 b {
	color:#666;
	font-weight:normal;
}
.table2 th {
	width:16%;
	background-color:#DDD;
	font-weight:normal;
	text-align:right;
	border:1px solid #EEE;
	vertical-align:middle;
}
@media screen and (max-width: 767px) {
.table-responsive {
	overflow-x:auto;
	overflow-y:hidden;
}
.table-responsive > table > tbody > tr > th,
.table-responsive > table > tbody > tr > td {
	white-space:nowrap;
}
.table2 th {
	display:none;
}
}
.table2 td {
	border:1px solid #EEE;
}
.table2 label {
	display:none;
}
@media screen and (max-width: 767px) {
.table2 label {
	display:block;
	text-align:left;
	margin-bottom:5px;
}
}

/* table2 表單樣式 */
.form-style {
	display: block;
	width: 100%;
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #333;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-family: inherit;
	-webkit-box-sizing:border-box;  /* Safari, Chrome */
	-moz-box-sizing:border-box;     /* Firefox */
	box-sizing:border-box;          /* IE8+, Opera */
}
textarea.form-style {
	height:auto;
}
.form-style::-moz-placeholder {
  color: #999;
  opacity: 1;
}
.form-style:-ms-input-placeholder {
  color: #999;
}
.form-style::-webkit-input-placeholder {
  color: #999;
}

/* table3 商品次分類表格框線 */
.table3 td {
	border:none;
}

/* 前端的語言標示(多國語言用) */
.input-group {  /* 3816 */
  position: relative;
  display: table;
  border-collapse: separate;
  margin-bottom:5px;
}
.input-group .form-style {  /* 3826 */
  position: relative;
  z-index: 2;
  float: left;
  width: 100%;
  margin-bottom: 0;
  margin-top:0;
}
.input-group-addon,  /* 3882 */
.input-group-btn,
.input-group .form-control {
  display: table-cell;
}
.input-group-addon,  /* 3892 */
.input-group-btn {
  width: 1%;
  white-space: nowrap;
  vertical-align: middle;
}
.input-group-addon {  /* 3898 */
  padding: 6px 12px;
  font-size: 14px;
  font-weight: normal;
  line-height: 1;
  color: #ADADAD;
  text-align: center;
  background-color: #eee;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.input-group .form-style:first-child,  /* 3923 */
.input-group-addon:first-child {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.input-group-addon:first-child {  /* 3933 */
  border-right: 0;
}
.input-group .form-style:last-child,  /* 3936 */
.input-group-addon:last-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* Tab 頁籤(多國語言用) */
.tab-nav {
	padding:0 0 10px;
}
.tab-nav a {
	display:inline-block;
	/*float:left;*/
	/*background:#ADADAD;*/
	font-size:14px;
	color:#333;
	border:1px solid #DDD;
	border-radius:4px;
	padding:6px 30px;
	margin:0 5px;
}
.tab-nav a:hover {
	background:#DDD;
}
.tab-nav a.current {
	color:#FFF;
	background:#09F; /*#1170b7*/
	border-color:#09F;
}
 /* 頁籤內容 */
.tab-content {
	margin-top:-1px;
	border-top:1px solid transparent;
	padding:0;
}
.tab-content > div {
	display:none;
}
.tab-content .textEditor {
	/*margin:0;*/
}
.tab-content h3.sectionTitle {
	/*display:none;*/
}

/* 按鈕樣式 */
button::-moz-focus-inner,  /* 138 */ /* 可讓Firefox的input與btn等高 */
input::-moz-focus-inner {
  padding: 0;
  border: 0;
}
.btn {
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 0;
	font-family: inherit;
	font-size: 14px;
	font-weight: normal;
	text-align: center;
	white-space: nowrap;
	vertical-align: bottom;
	cursor: pointer;
	background-image: none;
	border: 1px solid transparent;
	border-radius: 4px;
	line-height: 1.42857143; /*可讓btn與input等高*/
}
a.btn {
	line-height: 1.42857143;
	/*padding: 5px 12px;*/
}
.btn-default {
	background-color:#FFF;
	border-color:#CCC;
	color:#333;
}
.btn-default:hover {
	background-color:#E6E6E6;
}
.form-style[disabled],
.form-style[readonly],
.btn[disabled] {
	cursor:not-allowed;
	opacity:0.65;
}

/* 嵌入效果 */
.well {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
}

/* 管理相片集 */
ul.photoList {
	border:1px solid #EEE;
	padding:5px;
}
ul.photoList li {
	float:left;
	padding:5px;
}
@media screen and (max-width: 767px) {
ul.photoList li {
	width:25%;
}
}
@media screen and (max-width: 640px) {
ul.photoList li {
	width:33.33%;
}
}
@media screen and (max-width: 480px) {
ul.photoList li {
	width:50%;
}
}

.photobox {
	/*float: left;*/
	display:block;
	/*width: 150px;
	height: 150px;*/
	background-color: #EEE;
	border: 1px solid #DDD;
	text-align:center;
	padding: 5px;
}
.photobox img {
	width:100%;
	max-width:100%;
}
.photobox h3 {
	font-weight:normal;
	margin-top:5px;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}
.photobox p {
	margin-top:5px;
}

.btn-set {
	text-align:center;
	padding:5px;
	border-color:#EEE;
	border-style:solid;
	border-width:0 1px 1px 1px;
}
