/* ----- 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格欄位 ------ */

.col-xs-7ths,
.col-sm-7ths,
.col-md-7ths,
.col-lg-7ths {
  position: relative;
  min-height: 1px;
  padding-right: 10px;
  padding-left: 10px;
}

.col-xs-7ths {
  width: 14.285714285714285714285714285714%;
  float: left;
}

@media (min-width: 768px) {
  .col-sm-7ths {
    width: 14.285714285714285714285714285714%;
    float: left;
  }
}

@media (min-width: 992px) {
  .col-md-7ths {
    width: 14.285714285714285714285714285714%;
    float: left;
  }
}

@media (min-width: 1200px) {
  .col-lg-7ths {
    width: 14.285714285714285714285714285714%;
    float: left;
  }
}

/* ----- 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;
}
/* ----- text-color ------ */
.text-red {
  color: red;
}

/* ----- Product ------ */
.ezbg {
  background-color: #fff;
  padding-top: 5px;
  margin: 0 -8px;
}

/* ----- BACK TO 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: cornflowerblue !important;
}

.apst-button:hover {
  background-color: #fb7aab !important;
}

/* ----- 內容標題 ------ */
.Info {
  line-height: 30px;
  padding: 20px;
}

.NoteUl {
  list-style: disc;
  margin-left: 2%;
}

.NoteUl li {
  background-image: none;
  padding-left: 0;
  padding-bottom: 0.1%;
}

.NoteHot {
  color: #e41519;
}
.NoteLink {
  text-decoration: underline;
}

h3 {
  font-size: 18px;
  color: #fffdfd;
  text-align: left;
  line-height: 35px;
  background-color: #00a0e9;
  padding-left: 2%;
  margin: 1% auto;
  font-weight: bold;
}
