/* ----- 5格欄位 ------ */

.col-xs-5ths,
.col-sm-5ths,
.col-md-5ths,
.col-lg-5ths {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
}

.col-xs-5ths {
    width: 20%;
    float: left;
}

@media (min-width: 768px) {
    .col-sm-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 992px) {
    .col-md-5ths {
        width: 20%;
        float: left;
    }
}

@media (min-width: 1200px) {
    .col-lg-5ths {
        width: 20%;
        float: left;
    }
}

/* ----- 7格欄位 ------ */

@media (min-width: 768px){
  .seven-cols .col-md-1,
  .seven-cols .col-sm-1,
  .seven-cols .col-lg-1  {
    width: 100%;
    *width: 100%;
  }
}

@media (min-width: 992px) {
  .seven-cols .col-md-1,
  .seven-cols .col-sm-1,
  .seven-cols .col-lg-1 {
    width: 14.285714285714285714285714285714%;
    *width: 14.285714285714285714285714285714%;
  }
}

/**
 *  The following is not really needed in this case
 *  Only to demonstrate the usage of @media for large screens
 */    
@media (min-width: 1200px) {
  .seven-cols .col-md-1,
  .seven-cols .col-sm-1,
  .seven-cols .col-lg-1 {
    width: 14.285714285714285714285714285714%;
    *width: 14.285714285714285714285714285714%;
  }
}



/* ----- Font ------ */

.ezfont {
    font-family: "微軟正黑體";
}

#nav-footer{
    font-family: "微軟正黑體";
}

#nav-header{
    font-family: "微軟正黑體";
}


body a {
    transition: 0.3s all;
    -webkit-transition: 0.3s all;
    -moz-transition: 0.3s all;
    -o-transition: 0.3s all;
}


/* ----- Content ------ */


.BuLink {
    float: left;
    background-color: #e4b100;
    color: #fff;
    font-size: 15px;
    text-align: center;
    line-height: 50px;
}

.BuLink:hover {
    color: #fff;
    background-color: #d29600;
    transition: 0.3s all;
    -webkit-transition: 0.3s all;
    -moz-transition: 0.3s all;
    -o-transition: 0.3s all;
}

.BuLinkOn {
    float: left;
    background-color: #d29600;
    color: #fff;
    font-size: 15px;
    text-align: center;
    line-height: 50px;
}

.bd1 {
    border-right: 1px #fff solid;
    border-bottom: 1px #fff solid;
}

.bd2 {
    border-bottom: 1px #fff solid;
}


/* ----- Product ------ */

.ezbg0 {
background: #f2ebdf url(../images/bg4.png) center center;
}

.ezbg {
    background: #fff url(../images/bg1v2.png) center center;

}

.TT {
    float: left;
    background-image: url(../images/TT.gif);
    height: 56px;
    background-repeat: no-repeat;
    background-position: 50%;
    color: #fff;
    text-align: center;
    line-height: 50px;
    width: 100%;
}

.Pro {
    width: 100%;
    float: left;
    padding: 10px 0;
    border-bottom: 1px dotted #999;
}

.Pro a {
    background-color: #ffffdc;
    color: #a40001;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
}

.Pro:hover {
    background-color: #ffffdc;
    color: #a40001;
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
}

.ProW {
    color: #111;
    font-size: 15px;
}

.ProM {
    color: #ff3333;
    font-weight: bold;
    text-align: right;
    /*line-height: 35px; */
}

.ProM2 {
    color: #ff3333;
    font-weight: bold;
    text-align: right;
    line-height: 35px;
}

.ProS {
    font-size: 13px;
    color: #be8700;
}

.ProEnd {
    height: 15px;
    width: 100%;
    margin: 0 0 20px 0;
    border: 1px solid #fff;
    background-color: #fff;
    border-radius: 0 0 5px 5px;
    background: #fff url(../images/bg1v2.png) center center;
}


/*GRID*/

.GridBox {
box-shadow: 0px 0px 3px rgba(93,213,221,0.5);
}

.GridBox2 {
box-shadow: 0px 1px 3px rgba(93,213,221,0.3);
}

.ezGrid{
    /*background-color: #000;*/
/*    border-radius: 3px;
    border:1px solid #dddddd;
    margin-bottom:1.5em;*/
}

.GridTxt{
    padding: 0 7px;
}

.ezPro{
    background: #fff;
    padding: 5px;
    border-radius: 3px;
    border:1px solid #dddddd;
    margin-bottom:1em;
/*box-shadow: 0px 0px 3px rgba(93,213,221,0.5);*/
}

.ezPro img {
    width: 100%;
    border-radius: 3px;
}

a.ProTitle {
    color: #5e5e5e;
    font-size: 1.2em;
    font-weight: 600;
    text-decoration:none;
    display:block;
    padding: 10px 0 0 0;
}

.ezLine {
    width:100%;
    height:1px;
    background:#d5d5d5;
    display:block;
    margin: 0.6em 0 0.8em 0;
}

p.sub_head {
    color: #000;
    font-size: 0.875em;
    font-weight: 300;
}

.ezPro p {
    color: #6d6d6d;
    font-size: 14px;
    line-height:1.5em;
    font-weight: 400;
}

.GriPri{
color: #E74231;
font-size: 15px;
font-weight: bold;
text-align: right;
margin: -5px 0 0 0;
}
.red{
font-size: 23px;
font-weight: bold;
font-family: sans-serif;
}

.col-xs-12, .col-ms-6, .col-sm-4, .col-md-3 {
padding-right: 5px;
padding-left: 5px;
}

.ezFix{
    padding: 20px 15px 0px 15px;
}

.spark{background-color: #fff100; padding:1px 3px; border-radius:3px; margin:0 2px;color: #e64651;font-weight: bold;}

/* ----- Top ------ */

.apst-wrapper,
.apst-wrapper::before,
.apst-wrapper::after,
.apst-wrapper *,
.apst-wrapper *::before,
.apst-wrapper *::after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
         -o-box-sizing: border-box;
            box-sizing: border-box;
}

.apst-wrapper {
    display: none;
    position: fixed;
    z-index: 99999;
    cursor: pointer;
    box-sizing: border-box;

    /* No blue highlight when clicking on element on mobile devices */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    }

    .apst-top {
        top: 20px;
        }

    .apst-bottom {
        bottom: 20px;
        }

    .apst-left {
        left: 20px;
        }

    .apst-center {
        left: 50%;
        margin-left: -40px;
        }

    .apst-right {
        right: 20px;
        }

    .apst-button {
        display: block;
        position: relative;
        width: 80px;
        height: 80px;
        background-color: #555;
        -webkit-border-radius: 50%;
           -moz-border-radius: 50%;
            -ms-border-radius: 50%;
             -o-border-radius: 50%;
                border-radius: 50%;
        -webkit-transition: all 0.2s;
           -moz-transition: all 0.2s;
            -ms-transition: all 0.2s;
             -o-transition: all 0.2s;
                transition: all 0.2s;
        }

    .apst-button::before {
        content: "";
        display: block;
        position: relative;
        left: 29px;
        top: 33px;
        width: 22px;
        height: 22px;
        border-right: 6px solid white;
        border-top: 6px solid white;
        -webkit-transform: rotate(-45deg);
           -moz-transform: rotate(-45deg);
            -ms-transform: rotate(-45deg);
             -o-transform: rotate(-45deg);
                transform: rotate(-45deg);
        -webkit-transition: all 0.2s;
           -moz-transition: all 0.2s;
            -ms-transition: all 0.2s;
             -o-transition: all 0.2s;
                transition: all 0.2s;
        }

    .apst-button:hover {
        background-color: #333;
        }

    .apst-button:hover::before {
        border-color: white;
        }

    @media only screen and (max-width: 640px) {
        .apst-center {
            margin-left: -35px;
            }

        .apst-button {
            width: 70px;
            height: 70px;
            }

        .apst-button::before {
            left: 25px;
            top: 27px;
            width: 20px;
            height: 20px;
            }
        }

    @media only screen and (max-width: 400px) {
        .apst-center {
            margin-left: -30px;
            }

        .apst-button {
            width: 60px;
            height: 60px;
            }

        .apst-button::before {
            left: 21px;
            top: 23px;
            width: 18px;
            height: 18px;
            border-width: 5px;
            }
        }



.apst-button {
    background-color: #ffc107 !important;
    }

.apst-button:hover {
    background-color: #212121 !important;
    }








/* item styles */
.item-image {
  position: relative;
  overflow: hidden;
  padding-bottom: 65%;
}
.item-image img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.item-content {
  padding: 15px;
  background: #72cffa;
}
.item-text {
  position: relative;
  overflow: hidden;
  height: 100px;
}