﻿
/*page form*/
table {
    border: 0px solid #f46f44;
    border-collapse: collapse;
    width: 100%;
}
table th {
    font-size: 18px;
    border-bottom: #ccc 1px solid;
    padding: 5px 5px 5px 5px;
    text-align: center;
    vertical-align: middle;
    font-weight: normal;
}
table td {
    font-size: 16px;
    border-bottom: #ccc 1px solid;
    padding: 5px 5px 5px 5px;
    text-align: center;
    vertical-align: middle;
    font-weight: normal;
    color: #3e3e3e;
}
table tr {
    vertical-align: middle;
    font-weight: normal;
}
table a {
    color: #2aacc8;
    /*border-bottom: 1px solid #2aacc8;*/
    text-decoration: none;
}
table a:link, table a:visited {
    color: #2aacc8;
    /*border-bottom: 1px solid #2aacc8;*/
    text-decoration: none;
}
table a:hover {
    color: #b91515;
    /*border-bottom: 1px solid #b91515;*/
    text-decoration: none;
}
/*pro*/
#tb_pro {
    border: 0px solid #f46f44;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 30px;
}
#tb_pro thead th {
    font-size: 18px;
    border-bottom: #f46f44 3px solid;
    border-right: #fff 1px solid;
    padding: 12px 5px 12px 5px;
    text-align: center;
    vertical-align: middle;
    font-weight: normal;
    color: #362e2b;
    background-color: #fec408;
}
#tb_pro tbody td {
    font-size: 16px;
    border-bottom: #ccc 1px solid;
    padding: 10px 5px 10px 5px;
    text-align: center;
    vertical-align: middle;
    font-weight: normal;
    color: #362e2b;/*background-color:#fff;*/
}
#tb_pro tfoot td {
    font-size: 16px;
    border-bottom: #f46f44 2px solid;
    text-align: center;
    background-color: #dedede;
    height: 1px;
}
#tb_pro tr {
    vertical-align: middle;
    font-weight: normal;
}
#tb_pro tr:hover, #tb_pro tr:focus {
    background-color: #e8e8e8;
}
/*prolist*/
#tb_prolist {
    border: 0px solid #f46f44;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 30px;
}
#tb_prolist thead th {
    font-size: 18px;
    /*border-bottom: #f46f44 3px solid;*/
    border-right: #fff 1px solid;
    padding: 12px 5px 12px 5px;
    text-align: center;
    vertical-align: middle;
    font-weight: normal;
    color: #362e2b;
    background-color: #fec408;
}
#tb_prolist tbody td {
    font-size: 16px;
    border-bottom: #ccc 1px solid;
    padding: 10px 5px 10px 5px;
    text-align: center;
    vertical-align: middle;
    font-weight: normal;
    color: #362e2b;/*background-color:#fff;*/
}
#tb_prolist tfoot td {
    font-size: 16px;
    /*border-bottom: #f46f44 2px solid;*/
    text-align: center;
    background-color: #dedede;
    height: 1px;
}
#tb_prolist tr {
    vertical-align: middle;
    font-weight: normal;
}
#tb_prolist tr:hover, #tb_pro tr:focus {
    background-color: #e8e8e8;
}

@media screen and (max-width:767px) {
table tr {
    vertical-align: middle;
    font-weight: normal;
}
.bggray {
    background-color: #f6f6f6;/*faf5d2*/
    border-bottom: #d9d08e 2px solid;
    padding: 10px 5px 10px 5px;
}
table thead th {
    display: none!important;
    text-align: left;
    vertical-align: middle;
    font-weight: normal;
    padding: 5px 5px 5px 5px;
}
table td {
    display: block;
    border: none;
    border-bottom: #ccc 1px solid;    
	text-align: left!important;
    padding: 5px 5px 5px 5px;
    vertical-align: middle;
    font-weight: normal;
}
table td:link, table td:visited {
    display: block;
    border: none;
}
/* 只用在 class="bg-number" TD */
table td.bg-number:hover,
table td.bg-number:focus,
table td.bg-number:active{
  outline: 0;
  background-color: #014099; /* #f8fcc0 #faf5d2 */
  transition: background-color .15s ease;
  color: #fff;
}
table td:hover, table td:focus, table td:active {
    outline: 0;
    background-color: #f8fcc0;/*faf5d2*/
}
table td:before {
    content: attr(data-th) " ";
    vertical-align: middle;
    float: left;
    /*padding-top: 3px;*/
    font-weight: bold;
}
#tb_pro tr {
    vertical-align: middle;
    font-weight: normal;
    border-bottom: #ccc 1px solid;
}
#tb_pro thead th {
    font-size: 18px;
    border-bottom: #f46f44 3px solid;
    border-right: #fff 1px solid;
    padding: 8px 5px 8px 5px;
    text-align: center;
    vertical-align: middle;
    font-weight: normal;
    color: #362e2b;
    background-color: #fec408;
}
#tb_pro .bg {
    color: #362e2b;
    text-align: left;
    font-weight: normal;
    background-color: #fec408;
    border-bottom: #f46f44 3px solid;
    padding: 10px 5px 10px 5px;
}
#tb_pro tbody td {
    font-size: 16px;
    border-bottom: #ccc 1px solid;
    border-right: #ccc 1px solid;
    border-left: #ccc 1px solid;
    padding: 10px 5px 10px 5px;
    text-align: left;
    vertical-align: middle;
    font-weight: normal;
    color: #000000;/*background-color:#fff;*/
}
#tb_pro tfoot td {
    display: none;
}
#tb_pro td:before {
    content: attr(data-th) " ";
    float: left;
    font-weight: bold;
}
	
	#tb_prolist tr {
    vertical-align: middle;
    font-weight: normal;
    border-bottom: #ccc 1px solid;
}
#tb_prolist thead th {
    font-size: 18px;
    border-bottom: #f46f44 3px solid;
    border-right: #fff 1px solid;
    padding: 8px 5px 8px 5px;
    text-align: center;
    vertical-align: middle;
    font-weight: normal;
    color: #362e2b;
    background-color: #fec408;
}
#tb_prolist .bg {
    color: #362e2b;
    text-align: left;
    font-weight: normal;
    background-color: #fec408;
    border-bottom: #f46f44 3px solid;
    padding: 10px 5px 10px 5px;
}
#tb_prolist tbody td {
    font-size: 16px;
    border-bottom: #ccc 0px solid;
    border-right: #ccc 0px solid;
    border-left: #ccc 0px solid;
    padding: 10px 5px 10px 5px;
    text-align: left;
    vertical-align: middle;
    font-weight: normal;
    color: #000000;/*background-color:#fff;*/
}
#tb_prolist tfoot td {
    display: none;
}
#tb_prolist td:before {
    content: attr(data-th) " ";
    float: left;
    font-weight: bold;
}
}

.footable {
	border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  /*border: solid #ccc 1px;*/
  -moz-border-radius: 0px;
  -webkit-border-radius: 0px;
  border-radius: 0px;
  font-family:微軟正黑體, Microsoft JhengHei, Verdana, Arial, Helvetica, sans-serif, 新細明體;
  font-size: 16px;
  color: #3e3e3e;
}

.footable.breakpoint > tbody > tr > td.expand {
  background: url('img/plus.png') no-repeat 5px center;
  padding-left: 40px;
}

.footable.breakpoint > tbody > tr.footable-detail-show > td.expand {
  background: url('img/minus.png') no-repeat 5px center;
}

.footable.breakpoint > tbody > tr.footable-row-detail {
  background: #eee;
}

.footable > tbody > tr:hover {
  background: #ececec;
}
    .footable tbody tr.zebra {
      background:#E7F2FA;/*#eaeaea*/
    }
	.footable tbody tr.zebra:hover {
  background: #ececec;
}
.footable.breakpoint > tbody > tr:hover:not(.footable-row-detail) {
  cursor: pointer;
}
.footable .white {
    background: #fff!important;
}
	.footable .white:hover {
  background: #ececec!important;
}
.footable > tbody > tr > td {
  border-left: 0px solid #ccc;
 border-right: 1px solid #ccc;	
  border-top: 0px solid #ccc;
  padding: 10px;
  text-align: center;
}
.footable > thead > tr > th {
  border-left: 1px solid #fff;
  border-top: 0px solid #ccc;
	border-bottom: #ddd 3px solid;
  padding: 10px;
  text-align: left;
}
.footable > tbody > tr > td.first-bg {
  border-left: 1px solid #ccc;
}
.footable > tbody > tr > td.first-name {
  border-left: 1px solid #ccc;
}
.footable > tbody > tr > td.bg-number {
  border-left: 1px solid #ccc!important;
}

.footable > tbody > tr > td.footable-cell-detail {
  border-left: none;
}

.footable > thead > tr > th, .footable > thead > tr > td {
  color: #fff;
  background-color: #014099;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#014099), to(#014099));
  background-image: -webkit-linear-gradient(top, #014099, #014099);
  background-image: -moz-linear-gradient(top, #014099, #014099);
  background-image: -ms-linear-gradient(top, #014099, #014099);
  background-image: -o-linear-gradient(top, #014099, #014099);
  background-image: linear-gradient(to bottom, #014099, #014099);
  -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
  -moz-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
  border-top: none;
	font-size: 18px;
	text-align: center;
	font-family:微軟正黑體, Microsoft JhengHei, Verdana, Arial, Helvetica, sans-serif, 新細明體;
}

.footable > thead > tr:first-child > th.footable-first-column, .footable > thead > tr:first-child > td.footable-first-column {
  -moz-border-radius: 0px 0 0 0;
  -webkit-border-radius: 0px 0 0 0;
  border-radius: 0px 0 0 0;
}

.footable > thead > tr:first-child > th.footable-last-column, .footable > thead > tr:first-child > td.footable-last-column {
  -moz-border-radius: 0 0px 0 0;
  -webkit-border-radius: 0 0px 0 0;
  border-radius: 0 0px 0 0;
}

.footable > thead > tr:first-child > th.footable-first-column.footable-last-column, .footable > thead > tr:first-child > td.footable-first-column.footable-last-column {
  -moz-border-radius: 0px 0px 0 0;
  -webkit-border-radius: 0px 0px 0 0;
  border-radius: 0px 0px 0 0;
}

.footable > tbody > tr:last-child > td.footable-last-column {
  -moz-border-radius: 0 0 0px 0;
  -webkit-border-radius: 0 0 0px 0;
  border-radius: 0 0 0px 0;
}

.footable > tbody > tr:last-child > td.footable-first-column.footable-last-column {
  -moz-border-radius: 0 0 0px 0px;
  -webkit-border-radius: 0 0 0px 0px;
  border-radius: 0 0 0px 0px;
}

.footable > thead > tr > th.footable-first-column, .footable > thead > tr > td.footable-first-column,
.footable > tbody > tr > td.footable-first-column {
  border-left: none;
}

.footable > tbody img {
  vertical-align:middle;
}

.footable > tfoot > tr > th, .footable > tfoot > tr > td {
  background-color: #014099;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#014099), to(#014099));
  background-image: -webkit-linear-gradient(top, #014099, #014099);
  background-image: -moz-linear-gradient(top, #014099, #014099);
  background-image: -ms-linear-gradient(top, #014099, #014099);
  background-image: -o-linear-gradient(top, #014099, #014099);
  background-image: linear-gradient(to bottom, #014099, #014099);
  -webkit-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
  -moz-box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset;
  border-top: 1px solid #ccc;
  text-shadow: 0 1px 0 rgba(255,255,255,.5);
  padding: 10px;
}
.bg-number{background-color:rgba(255,255,255,.0);}
.bg-beige{background-color:rgba(255,255,255,.0);}

@media screen and (max-width:767px) {
.footable > tbody > tr > td {
  border-left: 0px solid #ccc;
  border-right: 0px solid #ccc;
  border-top: 0px solid #ccc;
  padding: 10px;
  text-align: left!important;
  word-wrap: break-word;
  word-break: break-all;
}
.bg-number{background-color:#014099;/*#B6EBEF #FBECC2 #fdf6dc*/color: #fff;}
.bg-beige{background-color:#014099;}
	}


/*table*/
th {
  background-color: #675791; /*#00a8ff*/
  color: #fff !important;
  padding: 10px;
  text-align: center;
  border: 1px solid #fff;
  font-size: 18px;
  padding: 10px 10px 10px 10px;
  vertical-align: middle;
  font-weight: normal;
  line-height: 30px;
}
td {
  padding: 10px 10px 10px 10px;
  border: 1px solid #ddd;
  font-weight: normal;
  font-size: 16px;
  line-height: 26px;
}
@media screen and (max-width:420px) {
  th {
    background-color: #675791; /*#00a8ff*/
    color: #fff !important;
    padding: 10px;
    text-align: center;
    border: 1px solid #fff;
    font-size: 18px;
    padding: 10px 10px 10px 10px;
    vertical-align: middle;
    font-weight: normal;
    line-height: 30px;
  }
  td {
    padding: 10px 10px 10px 10px;
    border: 1px solid #ddd;
    font-weight: normal;
    font-size: 15px;
    line-height: 26px;
  }
  .first-head {
    color: #fff;
    background: #014099; /*#675791 #f9f9f9 #E7F2FA*/
    font-size: 18px !important;
  }
  .head-list {
    color: #fff;
    background: #014099; /*#675791 #f9f9f9 #E7F2FA*/
    font-size: 18px !important;
  }
}
table a {
  color: #17a2b8;
  /*border-bottom: 1px solid #00a0e9;*/
}
table a:active {
  color: #17a2b8;
  /*border-bottom: 1px solid #00a0e9;*/
}
table a:focus {
  color: #dc3545; /*E98B2A*/
  /*border-bottom: 1px solid #df8120;*/
}
table a:hover {
  color: #dc3545;
  /*border-bottom: 1px solid #df8120;*/
}
.tb-hover table tr:hover {
  background-color: #e6e5e1 !important;
}
table.dataTable tbody td {
  padding: 8px 10px;
}
table.dataTable thead th, table.dataTable thead td {
  padding: 5px 25px 5px 10px;
}
.tb-hover .table-vertical > tbody > tr:nth-of-type(odd) {
  background: #E7F2FA; /*#f9f9f9*/
}
.table-vertical > tbody {
  background: #fff;
}
.table-vertical > thead > tr > th {
  color: #000;
  font-weight: bold;
}
.table-vertical > tbody > tr > td, .table-vertical > thead > tr > th {
  border-top: 1px solid #ddd;
  vertical-align: middle;
}
.first-head {
  color: #fff;
  background: #014099; /*#675791 #f9f9f9 #E7F2FA*/
  font-size: 22px;
}
.head-list {
  color: #fff;
  background: #014099; /*#675791 #f9f9f9 #E7F2FA*/
  font-size: 18px;
}
.first-title {
  background: #f8fcc0; /*#f9f9f9 #E7F2FA*/
}
.first-name {
  background: #E7F2FA; /*#ececec f9f9f9 #E7F2FA #f8fcc0*/
  font-size: 18px;
	color: #000;
  font-weight: normal;
}
.first-second {
  background: #E7F2FA; /*#f9f9f9 #E7F2FA #f8fcc0*/
}
.first-width {
  width: 20%;
  text-align: left;
}
.tb-select {
  width: 20%;
}
/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media only screen and (max-width: 767px) {/*991*/
  /* Force table to not be like tables anymore */
/*	 .hidden-tr
	 {
    display: none;
  }
  table, thead, tbody, th, td, tr {
    display: block;
  }*/
  /* Hide table headers (but not display: none;, for accessibility) */
  .table-vertical thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  .table-vertical > thead > tr, .table-vertical > tbody > tr {
    border: 1px solid #ccc;
  }
  .table-vertical > thead > tr > td, .table-vertical > tbody > tr > td {
    /* Behave  like a "row" */
    border: none;
    border-bottom: 1px solid #ddd;
  }
  .table-vertical > tbody > tr > td:before {
    /* Now like a table header */
    padding-right: 10px;
    white-space: nowrap;
  }
  .table-vertical > tbody > tr > td, .table-vertical > thead > tr > th {
    text-align: left!important;
  }
.table-vertical > tbody > tr > td.first-name {
    text-align: center!important;
}
	.footable > tbody > tr > td.first-name {
    text-align: center!important;
		border-left: 0px solid #ccc;
}
	.footable > tbody > tr > td.bg-number {
		text-align: center!important;
		border-left: 0px solid #ccc!important;
}
	.footable > tbody > tr > td.first-bg {
    border-left: 0px solid #ccc!important;
}
	.first-name {
  text-align: center !important;
}
  /*
	Label the data
	*/
  .table-vertical > tbody > tr > td:before {
    content: attr(data-th);
    display: block;
    font-weight: bold;
  }
  .first {
    background: #f8fcc0; /*#f9f9f9 #E7F2FA*/
  }
  .first-name {
    background: #E7F2FA; /*#f9f9f9 #E7F2FA #f8fcc0*/
  }
  .first-width {
    width: auto;
    text-align: left;
  }
  .tb-select {
    width: 100%;
  }
}
/*//table*/
.table-vertical ol {
  margin: 0px 0px 0px 0px !important;
  padding: 0px 0px 0px 2px !important;
}
.table-vertical .list li {
  list-style-type: none;
  margin: 0px 0px 10px 0px;
}
.table-vertical .list li:before {
  content: "❖"; /*★➤*/
  margin-right: 8px;
  color: #E98B2A; /*#ed6d00*/
}
.table-vertical ol.listli li {
  list-style-type: none;
  margin: 0px 0px 10px 0px;
}
.table-vertical ol.listli li:before {
  content: ""; /*❖★➤*/
  color: #000000;
  margin: 0px 0px 0px 0px;
}
.table-vertical ol.listli {
  margin-left: 20px !important;
}
.table-vertical ol.list2 li {
  list-style-type: none;
  margin: 0px 0px 10px 0px;
}
.table-vertical ol.list2 li:before {
  content: ""; /*❖★➤*/
  color: #000000;
  margin: 0px 0px 0px 0px;
}
.table-vertical ol.list2 {
  margin-left: 2px !important;
}

/* md(≥768px)特殊設定partnerships */
td.first-col{
  border-left: 1px solid #ccc!important;
  }
@media (max-width: 768px){
  td.first-col{
  outline: 0;
  background-color: #014099; /* #f8fcc0 #faf5d2 */
  transition: background-color .15s ease;
  color: #fff;
  border-left: 0px solid #ccc!important;
  }
td.first-col:hover, td.first-col:active, td.first-col:focus{
  outline: 0;
  background-color: #014099; /* #f8fcc0 #faf5d2 */
  transition: background-color .15s ease;
  color: #fff;
  border-left: 0px solid #ccc!important;
  }
}