@font-face {
  font-family: 'MElle-HK-Xbold';
  src: url('../font/MElle-HK-Xbold.ttf');
}
body {
  background-color: #e0f0fa !important;
}
#main-content {
  color: #1b1b1b;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
hr {
  margin: 20px 0 !important;
}
.wrap {
  padding: 0 15px;
}
.grid {
  width: 100% !important;
  padding: 0 15px !important;
}
.row {
  margin-left: -15px;
  margin-right: -15px;
}
.fz-36 {
  font-size: 36px;
}
.fz-24 {
  font-size: 24px;
}
.fz-20 {
  font-size: 20px;
}
.fz-18 {
  font-size: 18px;
}
.fz-16 {
  font-size: 16px;
}
.fz-14 {
  font-size: 14px;
}
.fz-12 {
  font-size: 12px;
}
.fz-10 {
  font-size: 10px;
}
.spacer-10 {
  height: 10px;
}
.spacer-20 {
  height: 20px;
}
.spacer-40 {
  height: 40px;
}
.spacer-90 {
  height: 90px;
}
/*Cyrus*/
.nm {
  list-style: square;
}
.colorbox-wrap1 {
  position: absolute;
  left: 0;
  bottom: 0;
}
.colorbox {
  display: block;
  float: left;
  margin-right: 3px;
  border: 1px solid #999;
}
.colorbox.active {}
.colorbox-inner {
  display: block;
  height: 20px;
  width: 20px;
  text-align: center;
  line-height: 20px;
  color: #333;
}
.colorbox-inner .fa-stack {
  display: none;
  font-size: 8px;
}
.colorbox.active .colorbox-inner .fa-stack {
  display: inline-block;
}
.colorbox1 {
  display: block;
  float: left;
  border: 1px solid #ccc;
  margin-right: 3px;
}
.colorbox1.active {
  border: 1px solid #000;
}
.colorbox-inner1 {
  display: block;
  background-color: #ff0;
  border: 2px solid #fff;
  height: 20px;
  width: 20px;
}
.colorbox1.active .colorbox-inner1 {
  border: 2px solid #000;
}
.btn-n {
  display: inline-block;
}
.btn-o {
  display: none;
}
.btnCate-xs.selected .btn-n {
  display: none;
}
.btnCate-xs.selected .btn-o {
  display: inline-block;
}
.ico-edu {
  width: 60%;
}
.owl-theme .owl-controls {
  margin-top: 0;
  padding-top: 20px;
}
.price-wrap {
  height: 40px;
  background-color: #333;
  line-height: 40px;
  color: #fff;
}
a.btn-reg {
  padding: 10px 20px;
  color: #FFFFFF !important;
  background-color: rgba(235, 36, 42, 1.0);
  font-size: 20px;
  margin: 15px;
}
a.btn-buy {
  padding: 0 15px;
  height: 40px;
  display: block;
  color: #FFFFFF !important;
  background-color: rgba(235, 36, 42, 1.0);
}
a.btn-sold {
  background-color: #666666;
  color: #fff !important;
  padding: 0 15px;
  height: 40px;
}
a.btn-buy:hover, a.btn-buy:active, a.btn-reg:hover, a.btn-reg:active {
  background-color: rgba(109, 165, 76, 0.7);
}
/*a.btn-sold:hover, a.btn-sold:active {background-color:#666666; color: #fff !important;}*/
a.btn-count {
  padding: 0 15px;
  height: 40px;
  display: block;
  background: #e93a14 !important;
  color: #FFFFFF !important;
}
a.btn-end {
  padding: 0 15px;
  height: 40px;
  display: block;
  background: #666666 !important;
  color: #FFFFFF !important;
}
.hvr-shutter-out-vertical:before {
  background: #2e568f !important;
}
.modal-content {
  width: 600px;
  margin: 0 auto;
}
.modal-header {
  padding: 15px !important;
}
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.8) !important;
}
#idList {
  display: none;
}
.b_cat {
  font-size: 24px !important;
  padding: 5px 10px;
}
.s_cat {
  font-size: 16px !important;
  padding: 15px 20px;
}
.s_cat.highlight {
  padding: 0;
}
.s_cat.on {
  display: block;
}
.grid {
  max-width: 1070px !important;
}
.popimg img {
  width: 80%;
}
.list-group {
  margin: 0 auto !important;
}
.list-group li {
  padding: 5px 0px;
  border-top: 1px solid;
}
.list-group li.skin {
  padding: 0px
}
.sub-group {
  margin: 0 auto !important;
  font-size: 14px;
}
.sub-group li {
  padding: 3px 0px;
  border-top: 0px solid;
  border-bottom: 1px solid;
}
.sub-group li.last {
  border-top: 0px solid;
  border-bottom: 0px solid;
}
.re_banner {
  width: 100%;
}
/* reset */
.modal {
  display: none;
}
.nav > li > a:focus, .nav > li > a:hover {
  background-color: transparent !important;
  text-decoration: none;
}
.clearfix::before, .clearfix::after, .container::before, .container::after, .container-fluid::before, .container-fluid::after, .row::before, .row::after, .form-horizontal .form-group::before, .form-horizontal .form-group::after, .btn-toolbar::before, .btn-toolbar::after, .btn-group-vertical > .btn-group::before, .btn-group-vertical > .btn-group::after, .nav::before, .nav::after, .navbar::before, .navbar::after, .navbar-header::before, .navbar-header::after, .navbar-collapse::before, .navbar-collapse::after, .pager::before, .pager::after, .panel-body::before, .panel-body::after, .modal-footer::before, .modal-footer::after {
  content: " ";
  display: table;
}
.clearfix::after, .container::after, .container-fluid::after, .row::after, .form-horizontal .form-group::after, .btn-toolbar::after, .btn-group-vertical > .btn-group::after, .nav::after, .navbar::after, .navbar-header::after, .navbar-collapse::after, .pager::after, .panel-body::after, .modal-footer::after {
  clear: both;
}
.form-control {
  background-color: #fff !important;
  background-image: none !important;
  border: 1px solid #ccc !important;
  border-radius: 0px !important;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset !important;
  color: #777 !important;
  display: block !important;
  font-size: 14px !important;
  height: 34px !important;
  line-height: 1.42857 !important;
  padding: 6px 12px !important;
  transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
  width: 100%;
}
.radio, .checkbox {
  min-height: 18px;
  padding-left: 0 !important;
}
/* new */
.grad1 {
  background-color: #000000;
  color: #fff;
  font-size: 24px;
  height: 50px;
  line-height: 50px;
}
.hidden {
  display: none;
}
.content {
  display: none;
}
.content.on {
  display: block;
}
/*Tak*/
.fs-white {
  color: #FFFFFF !important;
}
/*menu*/
.catMenu {
  background-color: #e0f1fa;
}
nav {
  height: 50px;
}
.catMenu.fixedTop {
  position: fixed;
  width: 100%;
  z-index: 100;
  top: 0;
}
.main-nav {
  list-style: none;
  margin: 0 !important;
}
.main-nav li {
  float: left;
  padding-right: 4px;
  background: #2f5790;
  width: 20%;
  height: 53px;
  margin: 0;
  transition: all .5s linear;
}
.main-nav li:first-child {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
.main-nav li:last-child {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}
.main-nav a {
  text-align: center;
  line-height: 53px;
  text-decoration: none;
  text-transform: uppercase;
  display: block; /*force box to take out full width and height so user can click on the whole box and go next page*/
  color: #ffffff;
  font-size: 16px;
  position: relative;
}
.main-nav li:hover, .main-nav li a.active, .main-nav li a:hover {
  background: #FFFFFF;
  color: #2f5790;
}
.main-nav li a:hover::after, .main-nav li a.active::after {
  content: url(../images/snow_on.png);
  position: absolute;
  z-index: 100000;
  left: 30px;
  top: 6px;
}
.main-nav li a:hover::before, .main-nav li a.active::before {
  content: url(../images/snow_on.png);
  position: absolute;
  z-index: 100000;
  right: 30px;
  top: 6px;
}
.main-nav li:first-child:hover, .main-nav li:first-child a.active, .main-nav li:first-child a:hover {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
.main-nav li:last-child:hover, .main-nav li:last-child a.active, .main-nav li:last-child a:hover {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}
.nav-mobile {
  padding: 15px;
}
.btn-show i {
  font-size: 24px;
  vertical-align: bottom !important;
}
.offer-tab-d {
  background-color: #fe5c47;
  margin: 5px;
  border-radius: 30px;
}
.offer-tab-d span {
  color: #FFFFFF;
  border-radius: 20px;
  height: 20px;
  line-height: 20px;
}
/*.ecoupon{ padding:4px 40px 8px 40px;  font-size:20px; background-color:#FFFFFF; }
.btn-elink{ background-color:#ff6c00; padding:8px 25px; border-radius:0; color:#FFFFFF; font-size:16px;}
.btn-elink:hover, .btn-elink:active{ background-color:#cf5b06; color:#FFFFFF;}*/
.code {
  background-color: #25a0b8;
  color: #FFFFFF;
  padding: 15px;
  text-align: center;
  margin: 15px auto;
  font-size: 16px;
}
.code div {
  padding: 0;
}
.code div:nth-child(2) {
  background-color: #FFFFFF;
  color: #000000;
}
.btn-elink {
  background-color: #ff6c00;
  padding: 8px 25px;
  border-radius: 0;
  color: #FFFFFF;
  font-size: 16px;
}
.btn-elink:hover, .btn-elink:active {
  background-color: #cf5b06;
  color: #FFFFFF;
}
.tnc {
  margin: 15px auto;
  border: 1px solid #2e568f;
}
.tnc h4 {
  font-size: 16px;
  padding: 15px;
  background-color: #2e568f;
  color: #FFFFFF;
}
.tnc ol {
  list-style-type: decimal;
  font-size: 12px;
}
.topmsg {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 20;
  background-color: rgba(236, 59, 20, 0.7);
  padding: 3px 5px;
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 18px;
  height: 60px;
  width: 60px;
  line-height: 20px;
  padding-top: 10px;
}
.topmsg img {
  width: 100%;
  max-width: 80px;
}
.offer {
  margin: 40px 0;
}
.hvr-bounce-to-top {
  width: 100%;
  height: 150px;
  padding: 25px 35px;
  -webkit-box-shadow: 0px 0px 11px -2px rgba(0, 0, 0, 0.68) !important;
  -moz-box-shadow: 0px 0px 11px -2px rgba(0, 0, 0, 0.68) !important;
  box-shadow: 0px 0px 11px -2px rgba(0, 0, 0, 0.68) !important;
  background-color: #FFFFFF !important;
  position: relative;
  margin: 15px 0;
  text-align: center;
}
.hvr-bounce-to-top .txt {
  padding-left: 100px
}
.hvr-bounce-to-top .txt p {
  color: #f06423 !important;
  font-size: 20px;
  font-weight: 800;
  line-height: 24px;
  margin-bottom: 2px;
}
.hvr-bounce-to-top .txt p:nth-child(2) {
  color: #292929 !important;
  font-size: 14px;
}
.hvr-bounce-to-top .icon1::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 5%;
  right: 71%;
  bottom: 10px;
  margin: 0 auto;
  background: url(../images/icon/icon1.png) no-repeat top center;
  -moz-background-size: 100% 9px;
  background-size: 100% 100%;
  z-index: 999;
}
.hvr-bounce-to-top .icon2::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 5%;
  right: 71%;
  bottom: 10px;
  margin: 0 auto;
  background: url(../images/icon/icon2.png) no-repeat top center;
  -moz-background-size: 100% 9px;
  background-size: 100% 100%;
  z-index: 999;
}
.hvr-bounce-to-top .icon3::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 5%;
  right: 71%;
  bottom: 10px;
  margin: 0 auto;
  background: url(../images/icon/icon3.png) no-repeat top center;
  -moz-background-size: 100% 9px;
  background-size: 100% 100%;
  z-index: 999;
}
.hvr-bounce-to-top .icon4::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 5%;
  right: 71%;
  bottom: 10px;
  margin: 0 auto;
  background: url(../images/icon/icon4.png) no-repeat top center;
  -moz-background-size: 100% 9px;
  background-size: 100% 100%;
  z-index: 999;
}
.hvr-bounce-to-top:hover .icon1::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 5%;
  right: 71%;
  bottom: 10px;
  margin: 0 auto;
  background: url(../images/icon/icon1_on.png) no-repeat top center;
  -moz-background-size: 100% 9px;
  background-size: 100% 100%;
  z-index: 999;
}
.hvr-bounce-to-top:hover .icon2::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 5%;
  right: 71%;
  bottom: 10px;
  margin: 0 auto;
  background: url(../images/icon/icon2_on.png) no-repeat top center;
  -moz-background-size: 100% 9px;
  background-size: 100% 100%;
  z-index: 999;
}
.hvr-bounce-to-top:hover .icon3::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 5%;
  right: 71%;
  bottom: 10px;
  margin: 0 auto;
  background: url(../images/icon/icon3_on.png) no-repeat top center;
  -moz-background-size: 100% 9px;
  background-size: 100% 100%;
  z-index: 999;
}
.hvr-bounce-to-top:hover .icon4::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 5%;
  right: 71%;
  bottom: 10px;
  margin: 0 auto;
  background: url(../images/icon/icon4_on.png) no-repeat top center;
  -moz-background-size: 100% 9px;
  background-size: 100% 100%;
  z-index: 999;
}
.hvr-bounce-to-top:hover .txt p, .hvr-bounce-to-top:hover .icon, .hvr-bounce-to-top.fc-orange:hover .txt p:nth-child(2) {
  color: #FFFFFF !important;
}
.hvr-bounce-to-top:before {
  background: #f06423 !important;
}
#product-wrap {
  margin-top: 30px;
}
.promotion {
  display: none;
  padding: 15px;
  text-align: center;
  font-size: 18px;
  border: 1px solid #ec3b14;
  margin: 10px 0;
  color: #ec3b14;
}
.promotion.active {
  display: block;
}
.promoiton-date {
  text-align: center;
  margin: 30px 0;
}
.promoiton-date span {
  border-radius: 20px;
  background-color: #ec3e17;
  color: #FFFFFF;
  padding: 10px 15px;
}
.offer h4 {
  color: #980c1d;
  letter-spacing: 2px;
  font-family: MElle-HK-Xbold;
  font-size: 32px;
}
/*.offer h4 span{padding: 5px 20px; border: 3px solid #980c1d; border-radius: 30px;}*/
.offer h4 span {
  padding: 5px 20px;
  border: 3px solid #980c1d;
  border-radius: 30px;
  position: relative;
}
.btn-point {
  color: #333333 !important;
}
.box-img {
  position: absolute;
  top: -70px;
  left: 13%;
  right: 13%;
  padding: 10px;
  border: 8px solid #ffffff;
  border-radius: 50%;
  background-color: #FF7D00;
  width: 100%;
  max-width: 160px;
  -webkit-box-shadow: 0px 0px 10px -4px rgba(115, 115, 115, 1);
  -moz-box-shadow: 0px 0px 10px -4px rgba(115, 115, 115, 1);
  box-shadow: 0px 0px 10px -4px rgba(115, 115, 115, 1);
  z-index: 20;
}
.whiteBox {
  -webkit-box-shadow: 0px 0px 10px -4px rgba(115, 115, 115, 1);
  -moz-box-shadow: 0px 0px 10px -4px rgba(115, 115, 115, 1);
  box-shadow: 0px 0px 10px -4px rgba(115, 115, 115, 1);
  background-color: #FFFFFF;
  padding: 100px 15px 15px 15px;
  font-size: 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.whiteBox > .slideup {
  position: absolute;
  width: 100%;
  top: 100%;
  left: 0;
  right: 0;
  height: 0;
  overflow: hidden;
  background: #1ec5b7;
  color: #FFFFFF;
  padding-top: 115px;
  transition: all 1s;
}
.whiteBox:hover > .slideup {
  top: 0;
  height: 100%;
}
.bold {
  font-weight: 600;
  font-family: 'Noto Sans TC';
}
.fc-gift {
  color: #C30104;
}
.fc-green {
  color: #2f5790;
}
.fc-red {
  color: #2f5790;
  font-size: 18px;
  font-weight: 600;
}

.red-border {
  position: absolute;
  top: 10px;
  bottom: 10px;
  right: 10px;
  left: 10px;
  border-radius: 15px;
  border: 3px solid #980c1d;
  overflow: hidden;
}
.flip-card {
  background-color: transparent;
  width: 100%;
  height: 200px;
  border: 1px solid #f1f1f1;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}
/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}
/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}
/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 15px;
  -webkit-box-shadow: 0px 0px 29px -6px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 29px -6px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 29px -6px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}
.snow {
  position: absolute;
  top: -30px;
  left: -40px;
  z-index: 10;
  opacity: 0.5;
}
.snow img {
  width: 100px;
}
.flip-card-back p {
  color: #FFFFFF !important;
  font-size: 36px;
  padding-top: 30px;
}
/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #FF7D00;
  color: #FFFFFF;
}
/* Style the back side */
.flip-card-back {
  background-image: url("../images/gift/rebbg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-color: #eb242a;
  color: white;
  transform: rotateY(180deg);
}
.flip-card-back div {
  position: relative;
  top: 30%;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 24px;
}
.h300 {
  height: 300px;
}
@media (max-width:767px) {
	.flip-card{
		height: 190px;
	}
	.h300 {
  height: 300px;
}
  nav {
    height: auto;
  }
  .catMenu {
    background-color: #2f5790;
  }
  .mid-nav {
    height: 100%;
  }
  .main-nav li {
    float: inherit;
    padding-right: 0;
    width: 100%;
    height: 50px;
  }
  .main-nav {
    margin: 0 !important;
  }
  .main-nav a {
    font-size: 16px;
  }
  .main-nav li:first-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .main-nav li:last-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  .main-nav li:first-child:hover, .main-nav li:first-child a.active, .main-nav li:first-child a:hover {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .main-nav li:last-child:hover, .main-nav li:last-child a.active, .main-nav li:last-child a:hover {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  .hvr-bounce-to-top .icon1::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 5%;
    right: 65%;
    bottom: 10px;
    margin: 0 auto;
    background: url(../images/icon/icon1.png) no-repeat top center;
    -moz-background-size: 100% 9px;
    background-size: 100% 100%;
    z-index: 999;
  }
  .hvr-bounce-to-top .icon2::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 5%;
    right: 65%;
    bottom: 10px;
    margin: 0 auto;
    background: url(../images/icon/icon2.png) no-repeat top center;
    -moz-background-size: 100% 9px;
    background-size: 100% 100%;
    z-index: 999;
  }
  .hvr-bounce-to-top .icon3::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 5%;
    right: 65%;
    bottom: 10px;
    margin: 0 auto;
    background: url(../images/icon/icon3.png) no-repeat top center;
    -moz-background-size: 100% 9px;
    background-size: 100% 100%;
    z-index: 999;
  }
  .hvr-bounce-to-top .icon4::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 5%;
    right: 65%;
    bottom: 10px;
    margin: 0 auto;
    background: url(../images/icon/icon4.png) no-repeat top center;
    -moz-background-size: 100% 9px;
    background-size: 100% 100%;
    z-index: 999;
  }
  .hvr-bounce-to-top:hover .icon1::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 5%;
    right: 65%;
    bottom: 10px;
    margin: 0 auto;
    background: url(../images/icon/icon1_on.png) no-repeat top center;
    -moz-background-size: 100% 9px;
    background-size: 100% 100%;
    z-index: 999;
  }
  .hvr-bounce-to-top:hover .icon2::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 5%;
    right: 65%;
    bottom: 10px;
    margin: 0 auto;
    background: url(../images/icon/icon2_on.png) no-repeat top center;
    -moz-background-size: 100% 9px;
    background-size: 100% 100%;
    z-index: 999;
  }
  .hvr-bounce-to-top:hover .icon3::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 5%;
    right: 65%;
    bottom: 10px;
    margin: 0 auto;
    background: url(../images/icon/icon3_on.png) no-repeat top center;
    -moz-background-size: 100% 9px;
    background-size: 100% 100%;
    z-index: 999;
  }
  .hvr-bounce-to-top:hover .icon4::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 5%;
    right: 65%;
    bottom: 10px;
    margin: 0 auto;
    background: url(../images/icon/icon4_on.png) no-repeat top center;
    -moz-background-size: 100% 9px;
    background-size: 100% 100%;
    z-index: 999;
  }
  .hvr-bounce-to-top .txt {
    padding-left: 70px;
  }
  .hvr-bounce-to-top .txt p {
    margin-bottom: 1px;
  }
  .offer h4 {
    font-size: 20px;
  }
}