/* ==========================================================================
    clear
 ========================================================================== */

.clear,
.clearfix{
    clear: both;
}
a, 
a:hover, 
a:active, 
a:focus, 
a:visited{
    text-decoration: none;
    outline: 0;
    outline-offset: 0px;
}
a[href="javascript:void(0)"]{
    cursor: text;
}

/* Remove tap highlight on iOS */
button,
input,
select,
textarea,
a {
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

button,
input,
select,
textarea {
    font-size: 100%;
    margin: 0;
}

button,
input {
    line-height: normal;
    outline: 0;
}

button,
select {
    text-transform: none
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    nowhitespace: afterproperty;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

button {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}
textarea.form-control{
    resize: none;
}
figure,
address {
    padding: 0;
    margin: 0;
}

/* ==========================================================================
   html
   ========================================================================== */
html {
    box-sizing: border-box;
    position: relative;
    height: 100%;
    min-height: 100% !important;
    font-size: 100%;
    -ms-overflow-style: scrollbar;
}
* {
    outline: 0;
    -webkit-font-smoothing: antialiased;
}
*,
*::before,
*::after,
*:before,
*:after{
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}
html,
body{
    height: 100%;
}
body{
    position: relative;
    margin: 0;
    min-height: 100% !important;
    font-size: 100%;
}
body .wp{
    opacity: 0;
    height: auto;
    /*overflow: hidden !important;*/
    min-width: 320px ;
}
section{
    background: transparent;
}
body, p, li, a, h1, h2, h3, h4, h5, h6, span, label, input, select, button, tr, th, td, .txt{
    font-family: "Open Sans", Arial, Verdana, "微軟正黑體", "Heiti TC", "Microsoft JhengHei";
    letter-spacing: 0px;
    font-size: 15px;
}
.html img,
.maxpic img {
    max-width: 100%;
}
.maxpic {
    text-align: center;
    margin: 0 0 25px 0;
}
.textHidden{
    clip: rect(1px, 1px, 1px, 1px) !important;
    height: 0px !important;
    overflow: hidden !important;
    position: absolute !important;
    width: 0px !important;
    text-indent: 100%!important;
    white-space: nowrap!important;
}

/*@media screen and (max-width: 1599px) {
    html{
        font-size: 90%;
    }
}
@media screen and (max-width: 1439px) {
    html{
        font-size: 80%;
    }
}
@media screen and (max-width: 1199px) {
    html{
        font-size: 75%;
    }
}
@media screen and (max-width: 991px) {
    html{
        font-size: 70%;
    }
}
@media screen and (max-width: 767px) {
    html{
        font-size: 62.5%
    }
}
@media screen and (max-width: 479px) {
    html{
        font-size: 50%
    }
}*/

/* ==========================================================================
   Rows
   ========================================================================== */

.rows,
ul.rows,
ol.rows,
dl.rows {
    margin: 0;
    padding: 0;
    list-style: none
}

.rows .listItem,
ul.rows > li,
ol.rows > li,
dl.rows > dt,
dl.rows > dd {
    margin: 0;
    padding: 0;
    display: block;
    clear: both
}


/* ==========================================================================
   Columns [float]
   ========================================================================== */

.columns,
ul.columns,
ol.columns,
dl.columns {
    margin: 0;
    padding: 0;
    list-style: none;
}

.columns:after,
ul.columns:after,
ol.columns:after,
dl.columns:after {
    content: "";
    clear: both;
    width: 0;
    height: 0;
    display: block;
    overflow: hidden;
    visibility: hidden;
}

.columns .list-item,
ul.columns > li,
ol.columns > li,
dl.columns > dt,
dl.columns > dd {
    margin: 0;
    padding: 0;
    float: left;
}


/* ==========================================================================
   Columns [inline]
   ========================================================================== */

.columns.inline,
ul.columns.inline,
ol.columns.inline,
dl.columns.inline {
    letter-spacing: -0.31em;
}

opera-hack:-o-prefocus,
ul.columns.inline,
ol.columns.inline,
dl.columns.inline {
    *word-spacing: -0.43em;
}

.columns.inline .listItem,
ul.columns.inline > li,
ol.columns.inline > li,
dl.columns.inline > dt,
dl.columns.inline > dd {
    float: none;
    display: inline-block;
    vertical-align: top;
    letter-spacing: normal
}

opera-hack:-o-prefocus,
ul.columns.inline > li,
ol.columns.inline > li,
dl.columns.inline > dt dl.columns.inline > dd {
    word-spacing: normal;
    letter-spacing: normal;
}


/* ==========================================================================
   Responsive Data Tables
   ========================================================================== */

.data-table { 
  width: 100%; 
  border-collapse: collapse; 
}
.data-table th { 
  background: #eee; 
  color: white; 
}
.data-table th,
.data-table td { 
  padding: 9px 15px; 
  border: 1px solid #ccc; 
  text-align: left; 
}
@media screen and (max-width: 767px), (min-width: 768px) and (max-width: 1024px) {

    .data-table, 
    .data-table thead, 
    .data-table tbody, 
    .data-table th,  
    .data-table tr,
    .data-table td { 
        display: block; 
    }
    .data-table thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .data-table tr { 
        border: 1px solid #ccc; 
    }
    .data-table td { 
        border: none;
        border-bottom: 1px solid #eee; 
        position: relative;
        padding-left: 50%; 
    }
    .data-table td:before { 
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%; 
        padding-right: 10px; 
        white-space: nowrap;
    }
    .data-table td:nth-of-type(1):before { content: "First Name"; }
    .data-table td:nth-of-type(2):before { content: "Last Name"; }
    .data-table td:nth-of-type(3):before { content: "Job Title"; }
    .data-table td:nth-of-type(4):before { content: "Favorite Color"; }
    .data-table td:nth-of-type(5):before { content: "Wars of Trek?"; }
    .data-table td:nth-of-type(6):before { content: "Porn Name"; }
    .data-table td:nth-of-type(7):before { content: "Date of Birth"; }
    .data-table td:nth-of-type(8):before { content: "Dream Vacation City"; }
    .data-table td:nth-of-type(9):before { content: "GPA"; }
    .data-table td:nth-of-type(10):before { content: "Arbitrary Data"; }
}


/* ==========================================================================
    文字
========================================================================== */

a:hover {
    text-decoration: none;
}

a {
    color: #000;
}

time {
    font-size: 10px;
    color: #999;
    margin: 0;
    padding: 0;
}

address {
    font-style: normal;
    font-weight: normal;
}

.more {
    font-family: Verdana, sans-serif;
}


/*備註文字*/

.notes {
    color: #999;
    font-size: 12px;
}

.num {
    font-family: Constantia, "Lucida Bright", "DejaVu Serif", Georgia, serif;
}


/*自動100%撐開*/

.auto {
    overflow: hidden;
    zoom: 1;
}

.auto .left {
    float: left;
}

.auto .right {
    overflow: hidden;
    zoom: 1;
}


/*穿透*/

.pointer {
    pointer-events: none;
}


/*圓角*/

.radius {
    border-radius: 5px;
}


/*文字陰影*/

.text-shadow {
    text-shadow: 1px 1px 2px #777;
}

/*區塊陰影*/

.box-shadow {
    box-shadow: 0px 0px 5px #E3E3E3;
}

/*手指效果*/

.cursor {
    cursor: pointer;
}

/*3角型*/

[class^="caret-"]:after,
[class*="caret-"]:after {
    display: inline-block;
    margin-left: 10px;
    content: '';
    border-width: 4px;
    border-color: transparent;
    border-style: solid;
}

.caret-t:after {
    border-top-width: 0;
    border-bottom-color: #000000;
}

.caret-b:after {
    border-bottom-width: 0;
    border-top-color: #000000;
}

.caret-r:after {
    border-right-width: 0;
    border-left-color: #000000;
}

.caret-l:after {
    border-left-width: 0;
    border-right-color: #000000;
}

/*去除div無物件的區塊不影響階層*/

.pointer-events {
    pointer-events: none;
    /*外圍物件*/
    pointer-events: auto;
    /*外圍物件*/
}


/*ie9以上支援*/

:root .root {}


/*動畫*/

.transition {
    transition: background-color 1s, color 0.5s;
    -webkit-transition: background-color 1s, color 0.5s;
    -moz-transition: background-color 1s, color 0.5s;
    -ms-transition: background-color 1s, color 0.5s;
    -o-transition: background-color 1s, color 0.5s;
    transition: transform 0.4s, background-color 1s;
    -webkit-transition: transform 0.4s, background-color 1s;
    -moz-transition: transform 0.4s, background-color 1s;
    -ms-transition: transform 0.4s, background-color 1s;
    -o-transition: transform 0.4s, background-color 1s;
}

.transition:hover {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
}


/*正中央*/

.centert {
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    text-align: center;
    display: inline-block;
    position: absolute;
}
.tcenter{
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
}
.vcenter{
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}
.hcenter{
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

.centerh {
    left: 50%;
    bottom: auto;
    right: auto;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    text-align: center;
    display: inline-block;
    position: absolute;
}
.centerv {
    top: 50%;
    bottom: auto;
    right: auto;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    text-align: center;
    display: inline-block;
    position: absolute;
}

.max-sm-size .centert.no-sm {
    left: inherit;
    top: inherit;
    bottom: inherit;
    right: inherit;
    transform: none;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    text-align: center;
    display: block;
    position: relative;
}

.center {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.middle {
    display: table;
    height: 100%;
    width: 100%;
}

.middle-inline {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    height: 100%;
    width: 100%;
}

/* ==========================================================================
    joe-smoothscroll
 ========================================================================== */

/* html {
    box-sizing: border-box;
    position: relative;
    height: 100%;
    min-height: 100% !important;
    font-size: 100%;
    -ms-overflow-style: scrollbar;
}
* {
    outline: 0;
    -webkit-font-smoothing: antialiased;
}
*,
*::before,
*::after,
*:before,
*:after{
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}
html,
body,
.wp{
  width: 100%;
  height: 100%;
}
body{
  overflow: hidden;
}
.wp{
  position: relative;
  overflow: auto;
}
.textHidden{
    clip: rect(1px, 1px, 1px, 1px) !important;
    height: 0px !important;
    overflow: hidden !important;
    position: absolute !important;
    width: 0px !important;
    text-indent: 100%!important;
    white-space: nowrap!important;
} */