@charset "utf-8";

/* CSS Document */
body, html{padding:0;margin:0;}
html { overflow:-moz-scrollbars-vertical; overflow-y:scroll; overflow-x: hidden; height:100%; }
body {
	font-family: 'Roboto', 'Noto Sans TC', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #222;
  padding-top: 138px;
  -webkit-overflow-scrolling: touch;
}
body.login { padding-top: 100px; }


a {color:#e42017; outline: none; behavior:expression(this.onFocus=this.blur()); }
a:hover { color:#000; text-decoration: none; -o-transition:all .3s linear;
    -webkit-transition:all .3s linear;
    -moz-transition:all .3s linear;
    transition:all .3s linear;
}
*:focus, button:focus, input:focus, textarea:focus, .btn:focus { outline:0; box-shadow: none; }
:hover { transition: all .3s linear; }
::selection { background: #fffa68; }
::-moz-selection { background: #fffa68; }
input::placeholder { color: #bbb; font-size: .9rem; }
.backsound { position: absolute; left: 0; bottom: 0; z-index:-9 }
#wh-widget-send-button.wh-widget-right { bottom: 30px !important; }

.wrapper {	padding:5rem 0; }
.main-grid {}
.text-green { color: #367145; }
.part { padding: 1rem 0; margin:0; }
.part ol { display: block; margin: 0 0 0 2.3rem; padding: .5rem 0 1rem; list-style-position: outside; }

.badge { margin: 0 3px; padding: .4rem .5rem; font-size: 1rem; }
.badge-success { background-color: #689917; }

.btn { padding: .7rem 1.5rem; border-radius: 2px; }
.btn-main { background: #e42017; border-color: #e42017; color: #fff; }
.btn-main:hover { background: #b71009; border-color: #b71009; color: #fff; }
.btn-default { background: #333; border-color: #333; color: #fff; }
.btn-default:hover { background: #000; border-color: #000; color: #fff; }
.btn-wrap > div i { margin-left: 5px; }
.btn svg { margin-left: 5px; }
.btn-gray { background: #fff; border-color: #ccc; color: #aaa;  }
.btn-gray:hover { background: #fff; border-color: #aaa; color: #999;  }
.btn-fav { background: #fff; border-color: #ccc; color: #aaa;  }
.btn-fav:hover { background: #fff; border-color: #aaa; color: #999; }
.btn-download .btn { font-size: .9rem; padding: .5rem 1rem; }
.btn-sm { padding: .25rem .5rem; font-size: .875rem; }

.tooltips {
  position: relative;
}
.tooltips .tooltiptext {
  visibility: hidden;
  display: inline-block;
  border: 1px solid #aaa;
  box-shadow: 0 0 10px #ccc;
  background: #fff;
  border-radius: 3px;
  padding: 10px;
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  font-size: 15px;
  left: 0;
  right: 0;
  top: 25px;
  min-width: 400px;
  color: #555;
  cursor: help;
}
.tooltips:hover .tooltiptext {
  visibility: visible;
}
.tooltips .tooltiptext img { width: 100%; }
.redtips { color: #e42017; margin-top: 15px; margin-bottom: 5px; }
.redtips > a { margin: 0 5px;  }

/*----------------- begin ------------------------------*/
header { background: #fff; box-shadow: 0 0 15px #ddd; }
.topbar { font-size: 14px; padding: 10px; background: #000;color: #ddd; text-align: right; box-shadow: 0 2px 5px #f5f5f5; clear: both; overflow: hidden; }
.topbar .form-inline { float: right; }
.topbar .form-control { color: #fff; }
.topbar .form-control option {  color: #000;  }
.topbar .label-tit, .footer .label-tit { padding-right: 5px; margin: 0 !important; }
.navbar { padding: 10px 0; }
.navbar-toggler { font-size: 1.765rem; color: #111; border-color: #000; border-width: 2px; border-radius: 2px; }
.navbar-brand { color: #888; margin-right: 2.4rem; font-size: 1.1rem; }
.navbar-brand em { display: inline-block; vertical-align: middle; margin-right: 5px; width: 101px; height: 56px; background-size: 100% auto; background: url(../images/logo.png) center no-repeat; background-size: cover; overflow: hidden; text-indent: -999px; }
.navbar .collapse { padding: 10px 0; margin-left: -1.2rem; margin-right: -1.2rem; }
.navbar .collapse .navbar-nav .nav-item { position: relative; }
.navbar .collapse .navbar-nav .nav-item:before { display: block; content: ''; width: 1px; height: 14px; background: #ccc; position: absolute; right: -1px; top: 50%; margin-top: -7px; }
.navbar .collapse .navbar-nav .nav-item:last-child:before  { display: none; }
.navbar .collapse .navbar-nav .nav-link { padding-left: 1.2rem; padding-right: 1.2rem; position: relative; overflow: hidden; }
.navbar .collapse .nav-link svg { display: none; margin-right: 10px; color: #444; }
.navbar .collapse .navbar-nav a,
.navbar .collapse .navbar-nav a:active,
.navbar .collapse .navbar-nav a:visited { color: #505c48; font-size: 1.15rem; text-transform:capitalize; }
.navbar .collapse .navbar-nav a:hover,
.navbar .collapse .navbar-nav .active > a,
.navbar .collapse .navbar-nav a:hover svg { color: #e42017; }
.navbar .collapse .navbar-nav .dropdown-menu { min-width: 9rem; }
.navbar .collapse .navbar-nav .dropdown-menu .dropdown-item { padding: .5rem 1rem; margin-right: 2rem; color: #888; font-size: 1rem; position: relative; }
.navbar .collapse .navbar-nav .dropdown-menu .dropdown-item:focus,
.navbar .collapse .navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar .collapse .navbar-nav .dropdown-menu .dropdown-item.active { padding-left: 1.7rem; margin-right:1.3rem; background-color: inherit; color: #e42017; }
.navbar .collapse .navbar-nav .dropdown-menu .dropdown-item::before { content: ""; opacity: 0; position: absolute; left: .5rem; top: .8rem; border-left: .35rem solid; border-bottom: .35rem solid transparent; border-right: 0; border-top: .35rem solid transparent;}
.navbar .collapse .navbar-nav .dropdown-menu .dropdown-item:hover::before,
.navbar .collapse .navbar-nav .dropdown-menu .dropdown-item.active::before { opacity: 1; left: 1rem; transition: all 0.3s ease; }
.effect:before, .effect:after { content: ""; position: absolute; transition: transform 0.5s ease; }
.effect:before, .effect:after { left: 0; width: 100%; height: 2px; background: #e42017;}
.effect:before { bottom: 0; transform: translateX(-100%);}
.effect:after { top: 0; transform: translateX(100%);}
.effect:hover:before, .effect:hover:after { transform: translateX(0);}

.nav-right { margin-right: -10x; }
.nav-right > a { display: inline-block; margin: 0 10px; color: #666; font-size: 1rem; }
.nav-right > a:hover { color: #e42017; }
.nav-right > a svg { margin-right: 5px; }

/* Carousel base class */
.banner { position: relative; }
.carousel-item { background-size: cover; background-position: center; background-repeat: no-repeat; height: 400px; position: relative; }
.carousel-indicators { margin-bottom: 10px; display: none; }
.carousel-indicators li { width: 2.5rem;  height: 10px; margin-right: 4px;  margin-left: 4px; }
.carousel-control-prev, .carousel-control-next { display: none; }
.banner .btn-wrap { text-align: center;  position: absolute; left: 0; right: 0; top: 45%; z-index: 99; }
.banner .btn-wrap h2 { flex: 0 0 100%; color: #fff; }
.banner .btn-wrap .form-inline { justify-content: center; margin-bottom: 10px; }
.banner .btn-wrap .form-control { margin: 10px; }
.banner .btn-wrap .btn-main { width: 10rem; }
.banner .overlay { background: #000; opacity: .5; position: absolute; left:0; right: 0; top: 0; bottom: 0; z-index: 2; }


.major-title { text-align: center; margin: 0; padding: 0 0 2rem; color: #666; position: relative;}
.major-title h1 {	font-size: 2rem;	display: inline-block;	margin: 0;	position: relative; text-transform:capitalize; }
.major-title h2 {	font-size: 1.875rem; display: inline-block; margin: 0; position: relative; text-transform:capitalize; }
.major-title b { display: inline-block; padding: 0 10px;}
.major-title h1:before, .major-title h1:after, .major-title h2:before, .major-title h2:after { background: #999; content: " "; height: 1px; position: absolute; top: 17px; left: 100%; width: 4.5rem;}
.major-title h1:after, .major-title h2:after { left: inherit; right: 100%;}
.major-title small { display: block; font-size: .9rem; opacity: .7; padding-top: 5px; font-weight: normal; }
.sub-title { font-weight: 300; text-align: center; color: #aaa; margin-bottom: 1rem; }
.sub-title small { display: block; font-size: 1rem; padding-top: 10px; color: #aaa; font-weight: normal; }
.sub-title svg { margin-right: 5px; }

.new-product { background: url(../images/new_year_background.png); }
.owl-carousel.new-items .owl-item .item {  }
.owl-carousel.new-items .owl-item a { display: block; text-align: center; position: relative; color: #333; }
.owl-carousel.new-items .owl-item a em { position: absolute; left: 0px; top: 0px; right: 0; bottom:0; display: inline-block; background: #e42017; width: 60px; height: 30px; line-height: 30px; font-style: normal; color: #fff; z-index: 2; }
.owl-carousel.new-items .owl-item img { max-width: 100%; display: inline-block; border: 5px solid #e42017; box-shadow: 0 2px 5px #666; }
.owl-carousel.new-items .owl-item a h2 { font-size: 1.25rem; margin-top: 10px; font-weight: bold; }
.owl-carousel.new-items .owl-item a:hover img { opacity: .8; }
.owl-carousel.new-items .owl-dots .owl-dot span { width: 2.5rem;  height: 10px; margin-right: 4px;  margin-left: 4px; background: #ccc; border-radius:0; }
.owl-carousel.new-items .owl-dots .owl-dot.active span,
.owl-carousel.new-items .owl-dots .owl-dot:hover span { background: #e42017; opacity:1; }

.partner-bar { background: #eee; }
.owl-carousel.partner-logo .owl-item .item { display: flex; flex: 1; padding:15px; }
.owl-carousel.partner-logo .owl-item .item .item-box { background: #fff; border-radius: 3px; padding: 30px; font-size: .95rem; }
.owl-carousel.partner-logo .owl-item .item .item-box h4 { font-size: 1.15rem; }
.owl-carousel.partner-logo .owl-item .item .item-box p { margin: 0; margin: 6px 0; padding-left: 20px; position: relative; line-height: 1.2; }
.owl-carousel.partner-logo .owl-item .item .item-box svg { color: #aaa; position: absolute; left: 0; top: 2px; }
.owl-carousel.partner-logo .owl-item .item:hover .item-box h4 { color: #e42017; }
.owl-carousel.partner-logo .owl-item .item:hover .item-box { box-shadow:  0 0 10px #ccc; }
.owl-carousel.partner-logo .owl-nav [class*=owl-] { font-size: 2rem; }


footer {	background:#000000;	color:#ccc; padding: 2rem 0; }
.footer .footer-logo { padding-left: 170px; background: url(../images/logo2.jpg) left top no-repeat; }
.footer .footer-logo h4 { margin: 0; padding: 5px 0 10px; }
.footer .footer-logo p { margin: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer .footer-nav { list-style: none; margin: 0 -10px 1rem; padding: 0; }
.footer .footer-nav li { display: inline-block; vertical-align: middle; }
.footer .footer-nav li a { display: inline-block; padding: 5px 10px; color: #aaa; font-size: 1rem; text-transform:capitalize; }
.footer .footer-nav li a:hover { color: #fff; }

.footer .form-inline select, .topbar .form-inline select { height: 28px; background: transparent; font-size: .9rem; border-radius: 2px; padding: 0 5px; display: inline-block !important; width: auto !important; }
.footer .form-inline .form-group, .topbar .form-inline .form-group { padding-left: 15px; margin-bottom: 0 !important; }
.footer .form-inline img, .topbar .form-inline img {margin-right: 3px; }
.copyright { display: block; padding: .7rem 0; line-height: 31px; background: #101010; color: #777; font-size: 0.85rem; text-align: center; }
.copyright .btn-lang { float: right; line-height: 1; border:1px solid #8e9b90; color: #8e9b90; padding: 8px 12px; border-radius: 1px; }
.copyright .btn-lang:hover { background: #8e9b90; color: #253229; }


.left-content { float: left; width: 220px; }
.main-content { float: right; width: calc(100% - 280px); }
.left-nav { position: relative; }
.left-nav > ul { transition: max-height 0.25s linear; }
.left-nav ul { list-style: none; margin: -10px 0; padding: 0; }
.left-nav li { list-style: none; transition: visibility .25s linear; margin: 10px 0; box-shadow: 0 10px 5px -5px rgba(158, 125, 84, 0.2); position: relative; }
.left-nav li a { display: block; text-align: center; border:1px solid #333; color: #fff; background: #999; border-radius: 2px; padding: 12px 5px; }
.left-nav li a:hover, .left-nav li a.active { box-shadow: 0 10px 5px -5px rgba(228, 32, 23, 0.2); border-color:#e42017; color: #fff; background: rgba(228, 32, 23, 1); }
.left-nav li.sys a { background-color: #666; }
.left-nav li.sys a:hover, .left-nav li.sys a.active { box-shadow: 0 10px 5px -5px rgba(0, 0, 0, 0.2); background-color: #000; border-color: #000; }

.left-nav .sidemenu { list-style: none; margin:-5px 0 20px 0; padding: 0; }
.left-nav .sidemenu li { list-style: none;margin: 0; margin-bottom: -1px;}
.left-nav .sidemenu li a { background-color: #fff; color: #000; border-color: #000; }
.left-nav .sidemenu li a:hover, .left-nav .sidemenu li a.active { background-color: #e42017; color: #fff; }

@media (min-width: 769px) {
  .left-nav li ul {  display: none;  position: absolute; top: 100%; margin-top: 1px; left: -1px; right: -1px; }
  .left-nav li:hover ul { display: block; }
  .left-nav li li { margin: -1px 0 0 0; box-sizing: border-box; width: 100%; }
}
@media (max-width: 768px) {
  .main-content { float: inherit; width: inherit; }
  .left-content { float: inherit; width: inherit; min-height: 60px; position: relative; border-top: 1px solid #e42017; border-bottom: 1px solid #e42017; margin-bottom: 1.5rem; }
  .left-content:before { display: inline-block; content: '會員選單'; font-size: 1.5rem; color: #e42017; position: absolute; left: 5px; top: 12px; }
  .left-nav { position: absolute; width: 100%; z-index: 99; }  
  .left-nav > ul { max-height: 0; overflow: hidden; padding: 1em 4em;  }
  .left-nav li {  visibility: hidden; display: block; margin: 0.5em 0; border: none; }
  .left-nav li ul { margin-top: 0.5em; border-left: 1px solid #000; }
  .left-nav .navbar-handle { display: block; }
  #navbar-checkbox:checked + .left-nav ul { max-height: inherit; background:#fff; box-shadow: 0 10px 10px -10px rgba(158, 125, 84, 0.2); }
  #navbar-checkbox:checked + .left-nav li { visibility: visible; }
  #navbar-checkbox:checked + .left-nav .navbar-handle,
  #navbar-checkbox:checked + .left-nav .navbar-handle:after,
  #navbar-checkbox:checked + .left-nav .navbar-handle:before { border-color: #000; }
}
.navbar-checkbox { display: none;}
.navbar-handle { display: none; cursor: pointer; position: relative;  font-size: 45px; padding: .5em 0; height: 0; width: 1.6666666666666666em; border-top: 0.16666666666666666em solid; }
.navbar-handle:before,
.navbar-handle:after { position: absolute; left: 0; right: 0; content: ' '; border-top: 0.16666666666666666em solid; }
.navbar-handle:before { top: 0.37777777777777777em; }
.navbar-handle:after {  top: 0.8888888888888888em; }
.left-nav .navbar-handle { color: #e42017; position: absolute; font-size: 1.2em; top: 1rem; right: 5px; z-index: 10; }

.breadcrumb { background: none; padding: .5rem 0; justify-content:flex-end; position: relative; }
.breadcrumb-item { font-size: .9rem; }
.breadcrumb-item.active { color: #666; }
.breadcrumb-item a { color: #aaa; }
.breadcrumb-item a:hover { color: #666; }
.breadcrumb .form-control { margin-left: 10px; }
.breadcrumb .btn-wrap { position: absolute; left: 0; top: 10px; }
.breadcrumb .btn { }

.rating { padding: 0; color: #999; /*margin-bottom:1rem; */}
.rating span { padding-right: 6px; }
.rating svg { margin: 0; }
.rating .checked { color: #ffa800; }
.rating em { font-style: normal; }
.starrating > input {display: none;}  /* Remove radio buttons */
.starrating > label { display: inline-block; margin: 2px; font-size: 2rem; }
.starrating > label { color: #ccc; /* Start color when not clicked */}
.starrating > input:checked ~ label { color: #ffa800 ; } /* Set yellow color when star checked */
.starrating > input:hover ~ label { color: #ffa800 ;  } /* Set yellow color when star hover */

.product-box .container { padding-top: 50px; }
.product-box .swrap { margin: 0 auto; position: relative; background: #000;  }
.product-box .swrap:hover img { opacity: .7; }
.product-box .swrap .vplay { display: block; width: 32px; height: 32px; border-radius: 50%; z-index: 2; position: absolute; right: 10px; bottom: 10px; border: 1px solid #fff; background: url(../images/icon_vr.png) center no-repeat; background-color: #e42017; }
.product-box .swrap .vplay:hover { transform: scale(1.1); }
.product-box .swrap .author { padding: 8px 0 8px 15px; font-size: .95rem; min-width: 132px; line-height: 1.2; position: absolute; left: 0; bottom: 10px; background: url(../images/bg_author.png) 0 repeat-y; color: #fff; z-index: 2; }
.product-box .swrap .author p { margin: 0; opacity: .7; font-size: .7rem; }
.product-box .swrap .fav { opacity: 0; position: absolute; right: 10px; top: 10px; color: #fff; font-size: 1.5rem; }
.product-box .swrap:hover .fav { opacity: 1; z-index: 2; }
.product-box h2 { font-size: 1.125rem; margin: 10px auto .6rem; }
.product-box h2 span { float: right; font-size: 1rem; color: #888; }
.product-box .pricebar { font-size: .9rem; line-height: 1; margin-bottom: 15px; clear: both; overflow: hidden; }
.product-box .pricebar span { display: inline-block; padding-left: 5px; color: #e42017; font-size: 1.5rem; font-weight: bold; margin-top: 5px;}
.product-box .pricebar span b { font-size: .8rem; }
.product-box .pricebar .button { float: right; display: inline-block; background: #e42017; color: #fff; padding: 3px 8px; font-size: .75rem; }
.product-box .pricebar .button:hover { background: #b71009; }
.product-box .pricebar .form-control { margin: 0 10px 0 5px; }
.product-box .pricebar .btn { padding: .35rem .75rem; }
.product-box .btn-group { display: flex; }
.product-box [class*=col-] { padding-bottom: 60px; }
.product-box .btn-wrap { text-align: center; padding-top: 1rem; }
.product-box .rating { margin-bottom: 10px; }

.product-info { margin-bottom: 3rem; }
.product-info .img-main { width: 100%; margin-bottom: 10px; }
.product-info .tits { margin-bottom: 2rem; }
.product-info .info-detail p { margin-bottom: .4rem; }
.product-info .info-detail > p { color: #999; }
.product-info .info-detail p span { padding-left: 10px; font-size: 1.25rem; color: #222; }
.product-info .price { margin:0 0 .5rem; padding: 0; font-size: 1.25rem; }
.product-info .price span:before, .product-box .price span:before { content: '$'; font-size: 1rem; }
.product-info .price span.gray:before { display: none; }
.product-info .price span.red { font-weight: bold; font-size: 2rem; color: #e42017;}
.product-info .btn-wrap { padding-top: 1rem; margin-top: 2rem; border-top: 1px solid #ccc; }

.grid-bar span { display: inline-block; color: #999; padding-right: 10px; }

.btn-video { padding: 0; margin: 0 -5px; }
.btn-video li{ display: inline-block; padding: 10px 5px; }
.btn-video li a { display: block; background-color: #e42017; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #fff;  background-position: center; background-repeat: no-repeat; }
.btn-video li a.vr { background-image: url(../images/icon_vr.png);  }
.btn-video li a.mv { background-image: url(../images/icon_mv.png);  }
.btn-video li a:hover { transform: scale(1.1); }
.btn-download { margin: 0 0 20px; }

.item-gallery {  }
#myModal .modal-content { padding: 50px 30px; }
#myModal .modal-content .row [class*=col-] { text-align: center; justify-content: center; }
.red { color: #e42017; }
#vrmodal .modal-dialog { max-width: 1200px; }
#vrmodal .modal-content { padding: 0; }
#vrmodal .modal-header { display: block; text-align: right; height: 55px; position: absolute; left: 0; right: 0; top: 0; background: #fff; z-index: 999; }
#vrmodal .modal-header .slogo { position: absolute; left: 10px; top:5px; height: 40px; }
#vrmodal .modal-body { padding: 10px; }
#vrmodal .modal-body iframe { width: 100%; height: 88vh; }
#vrmodal .modal-footer { display: block; text-align: right; position: absolute; left: 0; right: 0; bottom: 0; background: #fff; z-index: 999; }
#vrmodal .modal-footer p { float: left; text-align: left; }


/* 首頁影音專區 */
.youtube-bar { background: #e42017; }
.youtube-bar .major-title { color: #fff; }
.youtube-bar .major-title h2:before, .youtube-bar .major-title h2:after { background: #fff; }
.youtube-bar .d-flex { flex-wrap: wrap; margin-bottom: 20px; }
.youtube-bar .d-flex .flex-column { flex: 0 0 33.3333%; padding: 10px; }
.youtube-bar .d-flex .flex-column .iframe-body-sty { position: relative; overflow: hidden; padding-bottom: 56.25%; height: 0; }
.youtube-bar .d-flex .flex-column iframe { position: absolute; top:0; left: 0; width: 100%; height: 100%; }


/*-------------------------------------------------- */
.bounce {
  animation-duration: 2s;
}
.fixed-bottom {
  left: inherit;
  right: 1rem;
  bottom: 1.5rem;
  position: fixed; 
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.fixed-bottom a {
  display: block;
  overflow: hidden;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  text-align: center;
}
.fixed-bottom a:hover {
}

.author-bar .row > div { text-align: center; }
.author-bar .cycle { flex: none; display: block; margin: 0 auto; width: 170px; height: 170px; line-height: 170px; background: #ccc; border-radius: 50%; transform:scale(1,1);transition:all .2s ease-out; }
.author-bar .cycle img { display: inline-block; width: 100%; max-width:170px; max-height: 170px; border-radius: 50%; }
.author-bar .cycle:hover { transform:scale(1.05,1.05); }
.author-bar  .row > div h4 { margin: 10px 0; }
.author-bar  .row > div h4 small { font-size: .9rem; color: #999; display: block; padding-top: 5px; }
.author-bar  .row > div p {margin:0; }
.author-bar .rating { margin-bottom: 3rem; }


/* 聯絡我們 */
.form-layout .form-wrap { margin-bottom: 1rem; }
.form-layout .btn-wrap { text-align: center; margin: 1rem auto 3rem; }
.form-right h3 { padding-bottom: 10px; margin-bottom: 20px; border-bottom: 1px solid #367145; }
.form-text { display: block; position: relative; flex: 1 1 auto; margin: 0; padding:.375rem .75rem; font-size:1rem; line-height: 1.5; border:1px solid #d2d2d2; background-color: #f8f8f8; background-clip:padding-box; transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out; }
.form-control:disabled, .form-control[readonly] { background-color: #fff; color: #000; }
.form-layout .input-group { padding: 6px 0; }
.form-layout .form-control, .form-layout .form-text { font-size: 1.125rem; min-height: 48px; border-radius: 0; }
.form-layout .form-text { line-height: 1.5; padding-top: 9px; padding-bottom: 8px; color: #888; }
.form-control:focus { box-shadow:0 0 0 3px rgba(170,173,79,.25); }
.form-control::placeholder { color: #bbb; font-size: .9rem; }
.form-layout .input-group-prepend { width: 7rem; }
.form-layout .input-group-text { width:100%; border-radius: 0; background: #ddd; border-color: #d2d2d2; color: #777; }
.form-layout textarea.form-control { min-height:7rem; resize: vertical;}
.form-layout.contact-form iframe { width: 100%; height: 600px; margin-bottom: -4.5rem; }
.form-layout.contact-form { background: url(../images/bg_city.jpg) no-repeat; background-size: cover; }
.form-layout.contact-form .input-group-text { background-color: #999; color: #fff; }
.form-column { flex: 0 0 30px; display: flex; justify-content: center; align-items: center; }

/* faq */
.accordion-section .panel-default > .panel-heading { padding: 0; border: 0; margin-bottom: 1rem;}
.accordion-section .panel-default > .panel-heading h3 { margin: 0; }
.accordion-section .panel-default .panel-title svg { margin: 0 .5rem 0 0; color: rgba(228, 32, 23, 0.5); }
.accordion-section .panel-default .panel-title a { display: block; border-radius: 1px; font-size: 1rem; padding: 1rem; border:1px solid #e42017; background: #e42017; color: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); }
.accordion-section .panel-default .panel-title a.collapsed { border-color: #ccc; background: rgba(0, 0, 0, 0.05); color: #555; }
.accordion-section .panel-default .panel-title a:hover { box-shadow: 0 0 10px rgba(228, 32, 23, 0.2); border-color: #e42017; background: #e42017; color: #fff; }
.accordion-section .panel-default .panel-body { padding: 1rem 1rem 2rem;}


/* --- login ------*/
body.login { /*background: #eee;*/ background: url(../images/new_year_background.png); /*background-image: linear-gradient(135deg, #000000 0%, #e42017 100%);*/ }
body.login header { text-align: center; }
body.login .navbar-brand { margin: .8rem auto; }
.login-user-wrap { margin: 100px auto 1rem; }
.login-user-wrap .row > div {  }
.login-user-wrap .row > div a { display: block; margin: 0 auto; width: 260px; height: 260px; line-height: 260px; border-radius: 50%; background: #fff; text-align: center;}
.login-user-wrap .row > div a img { display: inline-block; max-width:200px; }
.login-user-wrap .row > div a .btn { display: block; }

.login-wrap { position: relative; }
.logmod {
  display: block;
  z-index: 1;
  margin-bottom: 60px;
}
.logmod::after {
  clear: both;
  content: "";
  display: table;
}
.logmod .tips { font-size: .9rem; }
.logmod__wrapper {
  display: block;
  background: #FFF;
  position: relative;
  max-width: 550px;
  border-radius: 4px;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.2);
  margin: 100px auto 1rem;
}
.logmod__container {
  overflow: hidden;
  width: 100%;
}
.logmod__container::after {
  clear: both;
  content: "";
  display: table;
}
.logmod__tab {
  position: relative;
  width: 100%;
  height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
}
.logmod__tab-wrapper {
  width: 100%;
  height: auto;
  overflow: hidden;
}
.logmod__tab.show {
  opacity: 1;
  height: 100%;
  visibility: visible;
}
.logmod__tabs {
  list-style: none;
  padding: 0;
  margin: 0;
}
.logmod__tabs::after {
  clear: both;
  content: "";
  display: table;
}
.logmod__tabs li.current a {
  background: #FFF;
  color: #675841;
}
.logmod__tabs li a {
  width: 50%;
  position: relative;
  float: left;
  text-align: center;
  background: #ddd;
  line-height: 72px;
  height: 72px;
  text-decoration: none;
  color: #999;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}
.logmod__heading {
  text-align: center;
  padding: 2rem 12px;
}
.logmod__heading-subtitle {
  display: block;
  font-size: 14px;
  color: #888;
}
.logmod__heading-subtitle em { font-size:2.5rem; display: inline-block; margin: 0 auto 1rem; width: 80px; height: 80px; line-height: 80px; background: #ffc000; border-radius: 50%; color: #fff; }
.logmod__form {
  border-top: 1px solid #e5e5e5;
}
.logmod__alter {
  display: block;
  position: relative;
  margin-top: 7px;
}
.logmod__alter::after {
  clear: both;
  content: "";
  display: table;
}
.logmod__alter .connect:last-child {
  border-radius: 0 0 4px 4px;
}
.connect {
  overflow: hidden;
  position: relative;
  display: block;
  width: 100%;
  height: 72px;
  line-height: 72px;
  text-decoration: none;
}
.connect::after {
  clear: both;
  content: "";
  display: table;
}
.connect:focus, .connect:hover, .connect:visited {
  color: #FFF;
  text-decoration: none;
}
.connect__icon {
  vertical-align: middle;
  float: left;
  width: 70px;
  text-align: center;
  font-size: 22px;
}
.connect__context {
  vertical-align: middle;
  text-align: center;
}
.connect.facebook {
  background: #3b5998;
  color: #FFF;
}
.connect.facebook a {
  color: #FFF;
}
.connect.facebook .connect__icon {
  background: #283d68;
}
.connect.googleplus {
  background: #dd4b39;
  color: #FFF;
}
.connect.googleplus a {
  color: #FFF;
}
.connect.googleplus .connect__icon {
  background: #b52f1f;
}
.simform {
  position: relative;
}
.simform__actions {
  display: flex;
  flex-flow: row-reverse;
  padding: 20px;
  font-size: .9rem;
  justify-content: center;
  align-items: center;
}
.simform__actions::after {
  clear: both;
  content: "";
  display: table;
}
.simform__actions .btn { text-transform:capitalize; }
.simform__actions .submit {
  height: 52px;
  line-height: 52px;
  font-size: 1.125rem;
  flex: 0 0 50%;
}
.simform__actions .submit::after {
  clear: both;
  content: "";
  display: table;
}
.simform__actions-sidetext {
  display: inline-block;
  float: left;
  width: 50%;
  padding: 0 10px;
  margin: 5px 0 0 0;
  text-align: center;
}
.simform__actions-sidetext::after {
  clear: both;
  content: "";
  display: table;
}
.simform__actions-sidetext .check { 
  margin-right: 5px;
}
.sminputs { 
  border-bottom: 1px solid #E5E5E5;
}
.sminputs::after {
  clear: both;
  content: "";
  display: table;
}
.sminputs .input {
  display: block;
  position: relative;
  width: 50%;
  min-height: 80px;
  padding: 10px 20px;
  border-right: 1px solid #e5e5e5;
  border-bottom: none;
  float: left;
  background-color: #FFF;
  border-radius: 0;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.sminputs .input.active {
  background: #eee;
}
.sminputs .input.active .hide-password {
  background: #eee;
}
.sminputs .input.full {
  width: 100%;
}
.sminputs .input label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  width: 100%;
  text-transform: uppercase;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  line-height: 24px;
  margin-bottom: 2px;
}
.sminputs .input input {
  position:relative;
  display: inline-block;
  font-size: 1.125rem;
  line-height: 2.5rem;
  vertical-align: middle;
  box-shadow: none;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  border: none;
  padding: 0;
  cursor: pointer;
  background-color: transparent;
}
.sminputs .input .checkcode { width: 8em; }
.sminputs .btn-secondary { padding: 4px 10px 4px 5px; }
.sminputs .hide-password {
  display: inline-block;
  position: absolute;
  right: 0;
  top: 0;
  padding: 0 15px;
  border-left: 1px solid #e4e4e4;
  font-size: 14px;
  background: #FFF;
  overflow: hidden;
  color: #444;
  cursor: pointer;
  margin-top: 12px;
  line-height: 48px;
}
.simform__actions .submit {
  display: inline-block;
  white-space: nowrap;
  vertical-align: middle;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  border: none;
  outline: none;
  outline-offset: 0;
  font-weight: 400;
  box-shadow: none;
  min-width: 90px;
  margin: 0;
}
.simform__actions .submit:focus, .simform__actions .submit:active, .simform__actions .active.submit, .simform__actions .submit:active:focus, .simform__actions .active.submit:focus {
  outline: 0;
  outline-offset: 0;
  box-shadow: none;
}
.text-center .submit { float: inherit; width: 33%; }
.special {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  text-decoration: none;
  transition: all 0.15s ease-out;
}
.remeber { padding-right: 1rem; }
.remeber, .check {
  display: inline-block;
  vertical-align: middle;
  font-style: normal;
  margin-right: 15px;
}
.input .check input, .input .check label {
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
    padding: 5px;
    cursor: pointer;
    width: auto;
    margin: 0;
    font-weight: 400;
    line-height: normal;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: all .2s;
}
.sminputs .tips { padding: 5px 20px; color: #aaa; }
.sminputs .input .flipinput { display: inline-block; width: 8rem; border: 1px solid #aaa; line-height: 1; padding: 4px 5px; border-radius: 2; display: none;}

.rule-iframe { padding: 30px; max-width: 800px; margin: 0 auto; height: 400px; overflow-y: scroll; overflow-x: hidden; margin-bottom: 30px; background: #fff; border-radius: 6px; box-shadow: 0 0 10px #ccc; }
.rule-iframe .part h2 { font-size: 1.125rem; }

/* cart */
.shopping-cart { margin-bottom: 3rem; }
.shopping-cart small.red { padding-left: 5px; font-size: .85rem; }
.shopping-cart .form-control { /*height: 2rem; line-height: 1rem;*/ padding:0 5px; border-radius: 2px; }
.product-image { float: left; min-width: 115px; }
.product-details { float: left;  width: 60%; }
.product-city {  float: left;  width: 8%; text-align: center; }
.product-sales {  float: left;  width: 8%; text-align: center; }
.product-price {  float: right;  width: 8%; text-align: right; }
/*.product-quantity { float: left; width: 5%; text-align: center; }*/
.product-removal { float: left; width: 5%; text-align: center; }
/*.product-line-price {  float: right;  width: 8%;  text-align: right; }*/
/* This is used as the traditional .clearfix class */
.group:before, .shopping-cart:before, .column-labels:before, .product:before, .totals-item:before,
.group:after,
.shopping-cart:after,
.column-labels:after,
.product:after,
.totals-item:after { content: ''; display: table;}
.group:after, .shopping-cart:after, .column-labels:after, .product:after, .totals-item:after { clear: both;}
.group, .shopping-cart, .column-labels, .product, .totals-item {  zoom: 1;}
/* Apply dollar signs */
.product .product-price:before, .product .product-line-price:before, .totals-value:before { content: '$'; font-size: .9rem; padding-right: 2px; }
/* Column headers */
.column-labels label { font-size: .9rem; color: #aaa; margin-bottom: 15px; }
.column-labels .product-details, .column-labels .product-line-price { padding: 0 1rem; }
.column-labels .product-price, .column-labels .product-quantity { padding-right: 1rem; }
.column-labels .product-image, .column-labels .product-removal {  text-indent: -9999px; }
/* Product entries */
.product { margin-bottom: -1px; padding: 1.5rem 1rem; border: 1px solid #e2dbd2; border-radius: 3px; background: rgba(255, 255, 255, .7); }
.product-image { text-align: center; }
.product-image img { width: 100px; margin: 0 15px 0 0; }
.product .product-details .product-title { font-size: 1.25rem; font-weight: bold; margin-right: 20px; }
.product .product-details .product-description { font-size: .95rem; margin: 5px 20px 0 0; }
.product .product-quantity select { width: 50px; display: inline-block; }
.product .remove-product { border: 0; padding: 4px 12px; background-color: #6c757d; color: #fff; font-size: .8rem; border-radius: 2px; height: 2rem; }
.product .remove-product:hover { background-color: #000; }
/* Totals section */
.totals { clear: both; overflow: hidden; padding: 1rem 0 1rem; }
.totals .totals-item { float: right; clear: both; width: 100%; padding: 0 1rem; margin-bottom: 5px; }
.totals .totals-item label { float: left; clear: both; width: 90%; text-align: right; }
.totals .totals-item .totals-value { float: right; width: 10%; text-align: right; }
.totals .totals-item-total { color: #ad4618; font-size: 1.25rem; font-weight: bold; }
.shopping-cart .product:hover { background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); z-index: 9; transform:scale(1.005);  }
.shopping-cart .btn-wrap { text-align: right; margin-left: -10px; margin-right: -10px; }
.shopping-cart .btn-wrap .btn { margin: 0 10px; }
.shopping-cart .btn-wrap .checkout { }
.cart-info .product { padding-top: 1rem; padding-bottom: 1rem; }
.cart-info .product .product-details .product-title { font-size: 1rem; }
.cart-info .information { margin-bottom: 2rem; }
.cart-info .information .input-group-prepend { width: 9rem; }
.cart-info .alert-warning { padding-left: 7rem; font-size: 1rem; }
.cart-info .alert-warning .check { position: absolute; left: 1.5rem; top: .65rem; }
.cart-info .alert-warning .check label { font-size: .9rem; }
.cart-info .payment-method { padding-bottom:3em; }
.cart-info .payment h4 { font-size: 1.25rem; margin: 0; }


@media screen and (max-width: 992px) {
  .column-labels { display: none; }
  .product-image { float: right; width: auto; text-align: right; }
  .product-image img { width: 80px; margin: 0 0 10px 10px;  }
  .product-details {  float: none; margin-bottom: 10px;  width: auto; }
  .product-price { clear: both; width: 70px; }
  .product-quantity { width: 100px; }
  .product-quantity input { margin-left: 20px; }
  .product-quantity:before { content: 'x'; }
  .product-removal { width: auto; }
  .product-line-price { float: right; width: 70px; }
}
@media screen and (max-width: 500px) {
  .product-removal { float: right; }
  .product-line-price { float: right; clear: left; width: auto; margin-top: 10px; }
  .product .product-line-price:before {content: '總金額: $'; }
  .totals .totals-item label {width: 60%; }
  .totals .totals-item .totals-value { width: 40%; }
}

.shopping-step { text-align: center; z-index: 1; margin-bottom: 3rem; }
.shopping-step .progressbar {
  max-width: 600px;
  counter-reset: step;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}
.shopping-step .progressbar li{
  float: left;
  width: 25%;
  position: relative;
  text-align: center;
  font-size: .9rem;
  color: #aaa;
}
.shopping-step .progressbar li a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  line-height: 50px;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -25px;
  z-index: 9;
  display: none;
}
.shopping-step .progressbar li:before{
  content:counter(step);
  counter-increment: step;
  width: 50px;
  height: 50px;
  border: 1px solid #ddd;
  display: block;
  margin: 0 auto 10px auto;
  border-radius: 50%;
  line-height: 50px;
  background: white;
  color: #ddd;
  text-align: center;
  font-weight: bold;
  font-size: 1.5rem;
  font-family: 'Comfortaa', cursive;
  box-shadow: 0 0 5px rgba(0, 0, 0, .1);
}
.shopping-step .progressbar li:after{
  content: '';
  position: absolute;
  width:100%;
  height: 1px;
  background: #999;
  top: 25px;
  left: -50%;
  z-index: -1;
}
.shopping-step .progressbar li:first-child:after{
  content: none;
}
.shopping-step .progressbar li.active + li:after {
 background: #9e7d54;
}
.shopping-step .progressbar.active li:before,
.shopping-step .progressbar li:first-child:before,
.shopping-step .progressbar li.active + li:before {
border-color: #b8a569;
background: #eae2d1;
color: #9e7d54;
box-shadow: 0 0 5px rgba(158, 125, 84, .5);
}
.shopping-step .progressbar.active li, .shopping-step .progressbar li.active, .shopping-step .progressbar li.active + li { color: #b8a569; }
.shopping-step .progressbar li.active a { display: block; }
.shopping-step .progressbar li.active:hover:before { background-color: #9e7d54; color: #fff; }

.modal-body { padding-top: 3rem; }
.modal-open, .modal-open .fixed-top { padding-right: 0 !important; }
.member-wrap .sub-title { text-align: left; }
.member-wrap .sub-title i { margin-right: 10px; }
.member-wrap .check { margin: 2px 0 2px 10px; }
.ekko-lightbox .modal-body { padding-top: 1rem; }
.ekko-lightbox-nav-overlay a span { padding: 0 !important; margin: 0 -40px; font-size: 1.8em; }

.table { color: inherit; }
.table-order-list, .table-report-list { border:1px solid #bbb; margin-bottom: 2rem; }
.table-order-list .badge { padding: .6rem .8rem; font-size: .875rem; font-weight: normal; }
.table-order-list .badge-secondary { background-color: #bbb; }
.table-order-list .badge-warning { background-color: #f6ef6e; color: #7f7800; }
.table-order-list .badge-success { background-color: #ddea00; color: #69771d; }
.table-order-list tr th, .table-order-list tr td,
.table-report-list tr th, .table-report-list tr td { padding: .75rem; vertical-align: middle; }
.table-order-list thead tr th,
.table-report-list thead tr th { font-size: .9rem; line-height: 1.1; font-weight: normal; background: #333; color: #fff; text-transform: capitalize; }
.table-order-list tr th:first-child, .table-order-list tr td:first-child { width: 150px; }
.table-order-list tr th:nth-child(3), .table-order-list tr td:nth-child(3),
.table-order-list tr th:nth-child(4), .table-order-list tr td:nth-child(4) { width: 7rem; text-align: center; }
.table-order-list tr th:last-child, .table-order-list tr td:last-child { width: 20%; text-align: center; }
.table-order-list tr:last-child td { background: #fff; border-bottom: none; }
.table-order-list tr.bottom td { text-align: right; font-size: .9rem; background: #fff; color: #999; border-top: 1px solid #e5e5e5; }
.table-order-list .price:before {content: '$'; }
.table-order-list .num .btn { font-weight: bold; }
.table-order-list .tips { color: #e42017; }
.table-order-list .tips .progress { height: 22px; border-radius: 2px; border: 1px solid #28a745; }
.table-order-list .btn-primary, .table-report-list .btn-primary { font-size: 1.375rem; padding: .3rem 1rem; }

.table-order-info { }
.table-order-info tr th { line-height: 1.1; text-align: center; border-top: none; }
.table-order-info tr td { background: #fff;  }
.table-order-info tr td:first-child { border-right: 1px solid #d2d2d2; width: 8rem; font-size: 1rem; background: #ddd; text-align: right; color: #a8a198; }

.table-report-list.report-tabs { border: none; }
.table-report-list.report-tabs thead tr th { background: none;}
.table-report-list tr th:last-child, .table-report-list tr td:last-child { text-align: right;  }


body.member { background: #eee; }
.avatar-img { position: relative; text-align: center; }
.avatar-img .avatar { display: inline-block; width: 180px; height: 180px; margin: 0 auto; padding: 12px; border-radius: 50%; background: #f5f5f5; border: 1px solid #ccc; margin-bottom: 5px;}
.avatar-img .avatar img { width: 100%;  max-width: 100%;  border-radius: 50%; }
.avatar-img .btn { position: absolute; left: 50%; top: 50%; margin-top: -31px; margin-left: 80px; border-radius: 50%; width: 50px; height: 50px; text-align: center; line-height: 1; font-size: 13px; }
.avatar-img small { color: #aaa; }
.avatar-upload { text-align: center; padding-bottom: 30px; }

.member-wrap-info .form-text { padding-right: 8rem; }
.member-wrap-info .form-text small.gray { display: block; line-height: 1.2rem; padding-top: 5px; }
.member-wrap-info .form-text > span { white-space: nowrap; }
.member-wrap-info .form-text .btn { position: absolute; right: 0; top: -1px; color: #e27500; }
.member-wrap-info .form-text .btn:hover { color: #e42017; }
.member-wrap-info .form-text .btn-vip { background-color: #689917; color: #ffe63e; }
.member-wrap-info .form-text .btn-vip:hover { background-color: #548235; color: #ffe63e; }
.member-wrap-info .form-text .btn-vip i { margin-right: 5px; }
.member-wrap-info .form-pay { max-width: 560px; margin: 0 auto; border: 1px solid #ddd; border-radius: 1px; background: #fff; padding: 2rem; }
.member-wrap-info .form-pay .form-group .ico { font-size: 1.375rem; padding: 3px 5px 0 0; color: #999; }
.member-wrap-info .form-pay .safe-field { display: inline-block; vertical-align: middle; margin: -4px 0 0 4px; font-size: .45rem; width: 20px; height: 20px; line-height: 20px; text-align: center; color: #aaa; border-radius: 50%; border:1px solid #aaa; }
.member-wrap-order .table-order-list:hover { box-shadow: 0 0 10px rgba(158, 125, 84, 0.3); }
.member-wrap-info .table-order-list tr th:first-child,
.member-wrap-info .table-order-list tr td:first-child { width: 80px; text-align: center; }
.member-wrap-info .table-order-list tr th:nth-child(4),
.member-wrap-info .table-order-list tr td:nth-child(4) { width: inherit; }
.member-wrap-info .table-order-list tr td { background: #fff; }


.message-item { list-style: disc; margin: 5px 0; padding: 0; }
.message-item li { display: inline-block; padding: 0; }
.message-item li .badge { margin: 0; }
.message-content, .message-q { font-size: .9rem; color: #888; }
.message-ans { margin-bottom: 3rem; }
.message-q { border: 1px solid #ccc; padding: 15px; margin-bottom: 15px; background: rgba(255,255,255,.6);  }
.flip-wrap { margin-bottom: 30px; }
.btn-flip{ display:block; cursor:pointer;}
.flip-panel {padding:10px; text-align:center;background:rgba(104, 153, 23, 0.1); border:1px solid #689917; display:none;}
.flip-panel textarea { width: 100%; height: 80px; }

.pagination .page-link { color: #999;  }
.pagination .page-item.active .page-link, .pagination .page-link:hover { background-color: #eee; color: #888; border-color: #dee2e6;  }
.pagination .page-item.disabled .page-link { color: #ccc; }


/* ================ RWD ================ */
@media (min-width: 576px) {
	.container { max-width:inherit; }
}
@media (min-width: 768px) {
	.container { max-width:inherit; }
}
@media (min-width: 992px) {
	.container { max-width:inherit; }
}
@media (min-width: 1200px) {
	.container { max-width: 1280px; }
}

@media screen and (max-width: 1150px) {
  body { padding-top: 83px; }
  .wrapper {	padding-top:3rem; padding-bottom: 3rem; }
  .navbar { padding: 10px 0; }
  .navbar-brand em { width: 77px; height: 46px; }
	.navbar .collapse .navbar-nav a,
	.navbar .collapse .navbar-nav a:active,
	.navbar .collapse .navbar-nav a:visited { font-size: 1.325rem; }
  .carousel-item{ height: 400px; }
  .site-canvas { transform:scale(0.8); top: 43%; margin-left: -100px; }
  .test-step-list { margin-left:0; margin-right: 0; } 
}

@media screen and (max-width: 993px) {
  body { padding-top: 116px; }
  header { padding-top: 44px; }
  body.login header { padding-top:0; }

	.navbar { padding: .5rem 15px; }
  .navbar .collapse .nav-link svg { display: inline-block; }
  .nav-right { float: none; position: fixed; top: 0; left: 0; right: 0; background: #000; padding:10px 15px; text-align: right; }
  .nav-right > a { color: #fff; }
  .banner { background: #666; }
  .banner .btn-wrap { position: relative; left: inherit; top: inherit; right: inherit; bottom:  inherit; padding: 30px 0; }
  .banner .overlay { display: none; }
  .banner .myCarousel { display: none; }
  .table-order-list thead { display: none; }
  .table-order-list tr { display: flex; flex-wrap: wrap; align-items: stretch; }
  .table-order-list tr td { display: block; flex: 1; border-bottom: none; }
  .table-order-list tr td:first-child { flex: 0 0 100%; width: auto; }
  .table-order-list tr:first-child td:first-child { background: #333; color: #fff; }
  .table-order-list tr td:last-child { flex: 0 0 100px; }
  .table-order-list tr.bottom td { flex: 0 0 100%; }
  .table-order-list tr td.tips { flex: 0 0 100%; }

  .youtube-bar .d-flex .flex-column { flex: 0 0 50%; }
}

@media screen and (max-width: 768px) {
  .carousel-item{ height: 300px; }
  .test-step-list h4 img { transform:scale(0.7); }
  .test-step-list li:first-child h4 img { margin-left: -5px; }
  .test-step-list li:last-child h4 img { margin-left: -5px; }

  .search-bar:hover { width: auto; }
  .search-bar { width:200px; border-radius: 2px; margin: 0; height: auto;}
  .search-bar input { display: block; padding-right: 35px; position: relative; left: inherit; right: inherit; top: inherit; bottom: inherit; }
  .search-bar .submit { width: 30px; height: 30px; line-height: 24px; }  
  .tab-content iframe { height: 360px; }
  .login-user-wrap { margin-top: 50px; }
}

@media screen and (max-width: 576px) {
  body { background-size: cover; background-position: center; }
  .search-bar:hover{ width: 150px; }
  .carousel-item{ height: 200px; }
  .site-canvas { transform:scale(0.6); top: 33%; margin-left: -80px; }
  .carousel-control-next, .carousel-control-prev { display: flex; width: 6%; }
  .carousel-indicators{ display: none; }
  .test-step-list h4 img { margin: 0; transform: inherit; }
  .test-step-list li { width: 90%; padding-bottom: 4rem; margin:0 auto; }
  .test-step-list li:last-child { padding-bottom: 0; }
  .test-step-list li:before { position: absolute; top: inherit; bottom: 1rem; right: 48%; -moz-transform:rotate(90deg);
  -webkit-transform:rotate(90deg);
  -o-transform:rotate(90deg);
  -ms-transform:rotate(90deg);
  transform:rotate(90deg); }
  .test-step-list li:last-child:before { display: none; }
  .product-info .tits { text-align: center; }
  .product-info .btn-wrap { text-align: center; }
  .nav-tabs .nav-link { padding: .5rem; font-size: 1rem; }
  .nav-tabs-list .nav-btn { padding: .5rem; }
  .table tr th { font-size: .9rem; }
  .form-layout .input-group-prepend, .form-layout.apply-form .input-group-prepend { width: 100%; margin:0 0 -1px 0; }
  .form-layout .form-text { width: 100%; padding-right: .75rem; }
  .member-wrap .check { margin: 6px 10px 0 0; }
  .member-wrap-info .form-text .btn { position: relative; width: 100%; display: block; margin-top: 15px; }
  .shopping-cart .btn-wrap { text-align: center; }
  .tab-content iframe { height: 260px; }

  .youtube-bar .d-flex .flex-column { flex: 0 0 100%; }
  #vrmodal .modal-content .modal-body iframe { height: 70vh; }
}

@media screen and (max-width: 420px) {
  body { padding-top: 147px; }
  .carousel-item { height: 160px; }
  .site-canvas { top: 27%; }
  .sminputs .input { padding-left: 15px; padding-right: 15px; }
  .simform__actions { text-align: center; }
  .simform__actions .submit { float: inherit; }
  .simform__actions-sidetext { display: block; float: inherit; width: 100%; margin-top: 1.5rem; }
  .table-order-list tr td { text-align: center; }
  .table-order-list tr td.num { flex: 0 0 100%; }
  .table-order-list .num .btn { display: block; }

  .table-report-list { border: none; }
  .table-report-list thead { display: none; }
  .table-report-list tr { display: flex; flex-wrap: wrap; align-items: center; background: #fff; border: 1px solid #bfb3a3; margin-bottom: 2rem; }
  .table-report-list tr td { display: block; flex: 1; border: none; }
  .table-report-list tr td:first-child { flex: 0 0 100%; width: 100%; background: #e2dbd2; border-bottom: 1px solid #bfb3a3; }
  .table-report-list tr td:nth-child(2) { flex: 3; }
  .shopping-cart .btn-wrap { margin-left: 0; margin-right: 0; }
  .shopping-cart .btn-wrap .btn { display: block; width: 100%; margin: 0 auto 10px; }
  .tab-content iframe { height: 180px; }
  #vrmodal .modal-content .modal-footer p { font-size: 12px; }
  #vrmodal .modal-content .modal-footer button { font-size: 13px; }
}

@media screen and (max-width: 340px) {
  .major-title h1 { font-size: 1.5rem; }
  .major-title h1:before, .major-title h1:after { width: 34px; height: 20px; }
  .sub-title { font-size: 1.25rem; }
  .carousel-item { height: 140px; }
  .owl-carousel.test-items { padding-right: 25px; padding-left: 25px; }
  .owl-carousel.test-items .owl-nav button.owl-next, .owl-carousel.test-items .owl-nav button.owl-prev, .owl-carousel.test-items button.owl-dot { width: 25px; height: 61px; }
  .owl-carousel.test-items .owl-item a .cycle { width: 160px; height: 160px; line-height: 160px; }
  .owl-carousel.test-items .owl-item a h3 { font-size: 1.125rem; }
  .owl-carousel.test-items .owl-item img { max-width: 40%; }
  .nav-tabs .nav-link { font-size: .8rem; }
  .simform__actions .submit { display: block; width: 100%; }
  .input .check label { padding: 4px 8px; }
  .form-layout .btn-wrap .btn { display: block; margin-bottom: 10px; }
  .shopping-cart .btn-wrap .btn { display: block; margin-bottom: 10px; }
  .table-order-list tr td, .table-report-list tr td { font-size: 1rem; }
}



