﻿/*
 * Basic Table Demo CSS.
 */

/*@import url(http://fonts.googleapis.com/css?family=Lato:400,700|Montserrat:400,700);*/


body {

  color: #636363;
  /*font-family: 'Lato', sans-serif;*/
  line-height: 1.5;
}

#page {
  padding: 50px 100px;
}

@media only screen and (max-width: 568px) {
  #page {
    padding: 50px 30px;
  }
}



h1 {
  color: #006699;
  font-size: 1.2em;
  font-weight: normal;
  letter-spacing: 1PX;
  margin-bottom: 0.75em;
  text-transform: uppercase;
  font-size: 20px;
    padding: 0 20px;
    margin: 8px 0px;
}

@media only screen and (max-width: 568px) {
  h1 {
    font-size: 2.25rem;
  }
}

h2 {
  color: #578617;
  font-size: 1.75rem;
  margin-bottom: 0.75em;
  margin-top: 2em;
}

h3 {
    color: #a16e29;
    font-size: 20px;
    padding: 0 20px;
    margin: 8px 0px;
}

a,
a:visited,
a:active {

  text-decoration: none;
}

a:hover {

}

p {
  word-break: break-word;
}

p.credits {
  font-size: .8125rem;
  margin-top: 6em;
}

@media only screen and (max-width: 568px) {
  .phone-block {
    display: block;
  }

  .phone-hide {
    display: none;
  }
}

code {
  background: #bcdcfa;
  border-radius: 5px;
  color: #3e678e;
  display: block;
  margin: 2em 0;
  padding: 15px;
  position: relative;
}

code:after {
  bottom: 5px;
  color: #e4ebeb;
  /*font-family: 'Lato', sans-serif;*/
  font-size: 1rem;
  position: absolute;
  right: 10px;
  text-transform: uppercase;
}

code.css:after {
  content: 'css';
}

code.js:after {
  content: 'js';
}

table {
  background: white;
  border-collapse: collapse;
  margin: 0em 0 0;
  width: 100%;
}

table tr td.qua-b:nth-child(4) {
    text-align: left;
}

span.mu03 {
    margin-bottom: 15px;
    display: inline-block;
    color: #36adf9;
}
.qua-c {
    margin: 40px 0px 25px;
}

.sh-cont h5 {
    color: #36adf9;
    margin-bottom: 10px;
    font-weight: bold;
}
table.qua-tab tr:hover {
    background: none;
}
input#SafeCode {
    width: 100px;
}

table tr,
table th,
table td {
    border: none;
    border-bottom: 1px dotted #cad6d6;
    /* font-family: 'Lato', sans-serif; */
    font-size: 16px;
}

table th,
table td {
  padding: 10px 5px;
  text-align: left;
}

td.if-td {
    text-align: center;
}

th.if-td {
    text-align: center;
}

table tr td:nth-child(4),table tr td:nth-child(5),table tr td:nth-child(6),table tr td:nth-child(7),table tr td:nth-child(8) {
    text-align: center;
}

p.qua-p {
    margin-left: 25px;
}

.pua-p p {
    margin-bottom: 0;
}

.pua-p {
    background: #f1f1f1;
    padding: 10px 20px 15px;
    line-height: 30px;
    margin-bottom: 40px;
}


table tr:hover {
    background: #f5f5f5;
}

table th {
	background: #36adf9;
	color: #ffffff;

	font-size:1.2em;
	font-weight: normal;
}
table th a{
	color: #ffffff;

}
table tr td {
  color: #3a3a3a;
}

table tr:nth-of-type(2n+2) td {
  background: #ffffff;
}

table.bt tfoot th,
table.bt tfoot td,
table.bt tbody td {
  font-size: .8125rem;
  padding: 0;
}

table.bt tfoot th:before,
table.bt tfoot td:before,
table.bt tbody td:before {
  background: #36adf9;
  color: white;
  margin-right: 10px;
  padding: 3px 10px;
}

table.bt tfoot th .bt-content,
table.bt tfoot td .bt-content,
table.bt tbody td .bt-content {
  display: inline-block;
  padding: 2px 5px;
}

table.bt tfoot th:first-of-type:before,
table.bt tfoot th:first-of-type .bt-content,
table.bt tfoot td:first-of-type:before,
table.bt tfoot td:first-of-type .bt-content,
table.bt tbody td:first-of-type:before,
table.bt tbody td:first-of-type .bt-content {
  padding-top: 10px;

}

table.bt tfoot th:last-of-type:before,
table.bt tfoot th:last-of-type .bt-content,
table.bt tfoot td:last-of-type:before,
table.bt tfoot td:last-of-type .bt-content,
table.bt tbody td:last-of-type:before,
table.bt tbody td:last-of-type .bt-content {
  padding-bottom: 10px;
}

/*
 * Example 4:
 * Media query over js resize
 */
@media only screen and (max-width: 568px) {
  #table-no-resize thead {
    display: none;
  }

  #table-no-resize tbody td {
    border: none !important;
    display: block;
    font-size: .8125rem;
    padding: 0;
    vertical-align: top;
  }

  #table-no-resize tbody td:before {
    background: #ff7e00;
    content: attr(data-th) ": ";
    color: white;
    display: inline-block;
    font-weight: bold;
    margin-right: 10px;
    padding: 2px 10px;
    width: 6.5em;
  }

  #table-no-resize tbody td .bt-content {
    display: inline-block;
    padding: 2px 5px;
  }

  #table-no-resize tbody td:first-of-type:before,
  #table-no-resize tbody td:first-of-type .bt-content {
    padding-top: 10px;
  }

  #table-no-resize tbody td:last-of-type:before,
  #table-no-resize tbody td:last-of-type .bt-content {
    padding-bottom: 10px;
  }
}

/*
 * Example 5:
 * Two axis styling
 */
table.two-axis tr td:first-of-type {
  background: #ffae5e;
}

@media only screen and (max-width: 568px) {
  table.two-axis tr td:first-of-type,
  table.two-axis tr:nth-of-type(2n+2) td:first-of-type,
  table.two-axis tr td:first-of-type:before {
    background: #dd5e01;
    color: #ffffff;
  }

  table.two-axis tr td:first-of-type {
    border-bottom: 1px solid #e4ebeb;
  }

  table.two-axis tr td:first-of-type:before {
    padding-bottom: 10px;
  }
}

/*
 * Example 6:
 * Max height
 */
.bt-wrapper.active {
  margin-top: 1.5em;
}
.bt-wrapper.active table {
  margin: 0;
}


table {
  width: 100%;
}
.table {
  margin: 30px 0;
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
  border: 1px solid #e0e0e0;
}
.table caption {
  color: #333;
  font-style: italic;
  font-size: 85%;
  line-height: 1;
  padding: 1em 0;
  text-align: center;
}
.table td,
.table th {
  border-left: 1px solid #e0e0e0;
  border-width: 0 0 0 1px;
  font-size: inherit;
  margin: 0;
  overflow: visible;
  padding: 0.5em 1em;
  font-weight: normal;
}
.table td:first-child,
.table th:first-child {
  border-left-width: 0;
}
.table thead,
.table tfoot {
  background-color: #f05050;
  color: #fff;
  text-align: left;
  vertical-align: bottom;
}
.table thead td,
.table tfoot td,
.table thead th,
.table tfoot th {
  border-color: #fff;
}
.table td {
  background-color: transparent;
}
.table_striped tr:nth-child(2n-1) td {
  background-color: #ececec;
}
.table_bordered td {
  border-bottom: 1px solid #e0e0e0;
}
.table_bordered tbody > tr:last-child > td,
.table_bordered thead > tr:last-child > td {
  border-bottom-width: 0;
}
.table_horizontal td,
.table_horizontal th {
  border-width: 0 0 1px 0;
  border-bottom: 1px solid #e0e0e0;
}
.table_horizontal tbody > tr:last-child > td,
.table_horizontal thead > tr:last-child > td {
  border-bottom-width: 0;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  table.bt tbody td .bt-content {
    width: 84.1%!important;
    text-align: left;
  }
  table.bt tbody td {
    border-top: 1px #b2b2b2 dotted!important;
  }

  table.bt tfoot th,
  table.bt tfoot td,
  table.bt tbody td {
  border-top: 1px #b2b2b2 dotted!important;
  }
  
}

/**手機橫向**/
@media screen and (min-width: 640px) and (max-width: 736px) {
  /**  table.bt tbody td .bt-content {
    width: 81.3%!important;
  }**/
  

}

@media screen and (min-width: 414px) and (max-width: 768px) {

  table.bt tfoot th.if-td:before, table.bt tfoot td.if-td:before, table.bt tbody td.if-td:before {
      background: #36adf9;
      color: white;
      margin-right: 10px;
      padding: 13px 10px;
  }

  table.bt tbody td {
    border-top: 1px #b2b2b2 dotted!important;
  }

  th.if-td {
    text-align: left;
  }

  table.bt tbody td .bt-content {
    width: 72%;
    text-align: left;
    font-size: 16px;
  }

  table.bt tbody td:nth-child(3):before {
    padding: 15px 10px;
  }

  table.bt tbody td:nth-child(4):before {
    padding: 15px 10px;
  }
  table.bt tbody td:nth-child(4):before,table.bt tbody td:nth-child(5):before,table.bt tbody td:nth-child(6):before,table.bt tbody td:nth-child(7):before,table.bt tbody td:nth-child(8):before {
    text-align: left;
  }

  table.bt tfoot th:before, table.bt tfoot td:before, table.bt tbody td:before {
    padding: 5px 10px;
  }

  table.bt tfoot th:before, table.bt tfoot td:before, table.bt tbody td:before {
    font-size: 16px;
  }

}

@media screen and (min-width: 320px) and (max-width: 414px) {

  table.bt tfoot th,
  table.bt tfoot td,
  table.bt tbody td {
  border-top: 1px #b2b2b2 dotted!important;
  }

  .label-cbx .checkbox {
    top: 15px!important;
  }

  table.bt tfoot th:before, table.bt tfoot td:before, table.bt tbody td:before {
    padding: 5px 10px;
  }

  table.bt tfoot th:before, table.bt tfoot td:before, table.bt tbody td:before {
    font-size: 16px;
  }

  table.bt tbody td .bt-content {
    width: 67%;
    font-size: 16px;
    text-align: left;
  }

  th.if-td {
    text-align: left;
  }

  table.bt tbody td:nth-child(3):before {
    padding: 30px 10px;
    
  }
  table.bt tbody td:nth-child(4):before {
    padding: 15px 10px;
  }
  table.bt tbody td:nth-child(4):before,table.bt tbody td:nth-child(5):before,table.bt tbody td:nth-child(6):before,table.bt tbody td:nth-child(7):before,table.bt tbody td:nth-child(8):before {
    text-align: left;
    position: relative;
    left: -6px;

  }

}
/**Galaxy S5**/
@media screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3){
  table.bt tbody td .bt-content {
    width: 62%;
  }

  table.bt tbody td:nth-child(3):before {
    padding: 40px 10px;
  }
}


/**「iphone6專用」**/
@media screen and (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2){
  table.bt tbody td .bt-content {
    width: 63.5%;
    font-size: 16px;
    text-align: left;
  }
}

/**「iphone5專用」**/
@media screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2){
  table.bt tbody td .bt-content {
    width: 61.8%;
    font-size: 16px;
    text-align: left;
  }
  table.bt tbody td:nth-child(3):before {
    padding: 40px 10px;
  }

  table.bt tbody td:nth-child(2):before {
    padding: 30px 10px;
  }
  table.bt tfoot th:before, table.bt tfoot td:before, table.bt tbody td:before {
    width: 5.5em!important;
  }
}


/*****/
/*
 * jQuery Basic Table
 * Author: Jerry Low
 */

table.bt thead,
table.bt tbody th {

}

table.bt tfoot th,
table.bt tfoot td,
table.bt tbody td {
  border: none;
  display: block;
  vertical-align: top;
}

table.bt tfoot th:before,
table.bt tfoot td:before,
table.bt tbody td:before {
  content: attr(data-th) " ";
  font-weight: bold;
  width: 6.5em;
  display: inline-block;
}

table.bt tfoot th.bt-hide,
table.bt tfoot td.bt-hide,
table.bt tbody td.bt-hide {
  display: none;
}

table.bt tfoot th .bt-content,
table.bt tfoot td .bt-content,
table.bt tbody td .bt-content {
  vertical-align: top;
}

.bt-wrapper.active {
  max-height: 310px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
