body {
	font-family: "微軟正黑體", sans-serif;
	/* font-family: Noto Sans TC,"微軟正黑體",sans-serif; */
	/*g-font-size:16*/
	font-size: 1.14286rem;
	color: #333333;
}

a {
	color: rgb(51, 51, 51);
	;
}

ul ul,
ol ul {
	list-style-type: none;
}

.g-min-width-60 {
	min-width: 60px !important;
}

.g-bg-lightred {
	background-color: #cd0000 !important;
}

.g-bg-lightred--hover:hover {
	background-color: #cd0000 !important;
}

.g-bg-gray-2 {
	background-color: #CD0000;
}

.g-bg-line {
	background-color: #00B900;
}

.g-bg-blue-2 {
	background-color: #00389A;
}

.g-bg-blue-2--hover:hover {
	background-color: #316DD6;
}

.g-bg-blue-3 {
	background-color: #316DD6;
}

.g-bg-gray-2 {
	background-color: #989898;
}

.g-bg-gray-3 {
	background-color: #404040;
}

.g-bg-gray-3--hover:hover {
	background-color: #2d2d2d;
}

.only-one-line {
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.only-two-line {
	overflow: hidden;
	word-wrap: break-word;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.only-three-line {
	overflow: hidden;
	word-wrap: break-word;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.mid-banner {
	/* background-size: cover;
	background-repeat: no-repeat;
	background-position: center; */
	background-repeat: repeat-y;
	background-position: center;
	background-attachment: fixed;
	background-size: cover;
}

.text-shadow-1 {
	text-shadow: 2px 2px 3px #434a54;
}

.box-shadow-1 {
	box-shadow: 0 2px 10px 2px rgba(0, 0, 0, 0.25);
}

.g-ma-auto {
	margin: auto;
}

.btn-link {
	color: #e91e63;
}

.btn-link:hover {
	color: #c11d55;
}

.g-bg-red-2 {
	border-color: #E9677C !important;
}

.g-brd-red-2 {
	border-color: #E9677C !important;
}

[class*="u-nav-v5"].u-nav-primary .nav-link.active {
	border-color: #CD2838;
	color: #CD2838;
}

@media (max-width: 1199.99px) {
	.responsive-width {
		width: 1000px;
	}
}

.origin-price {
	text-decoration: line-through;
}

/*頁籤*/
.page-item.active .page-link {
	z-index: 1;
	color: #fff;
	background-color: #9a9a9a;
	border-color: #9a9a9a;
}

.page-link {
	border: 1px solid #ccc;
	padding: 3px 10px 3px 10px;
	margin-right: 8px;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	background: #fff;
	text-decoration: none;
	color: #999;
}

.page-link:hover {
	z-index: 2;
	text-decoration: none;
	border: 1px solid #31ACE2;
	background-color: #31ACE2;
	color: #fff;
}

.page-link:focus {
	border: 1px solid #31ACE2;
	background: #F0FDFF;
	color: #31ACE2;
}

.page_one {
	border: 1px solid #31ACE2;
	background: #F0FDFF;
	color: #31ACE2;
}

.page {
	display: flex;
	justify-content: center;
}

/*按鈕*/
.btn-danger {
	color: #fff;
	background-color: #9a9a9a;
	border-color: #9a9a9a;
}

.btn-danger:hover {
	color: #fff;
	background-color: #525252;
	border-color: #525252;
}

.btn-danger:not(:disabled):not(.disabled).active,
.btn-danger:not(:disabled):not(.disabled):active,
.show>.btn-danger.dropdown-toggle {
	color: #fff;
	background-color: #525252;
	border-color: #525252;
}

.btn-danger:not(:disabled):not(.disabled).active:focus,
.btn-danger:not(:disabled):not(.disabled):active:focus,
.show>.btn-danger.dropdown-toggle:focus {
	box-shadow: 0 0 0 0rem #868686 !important;
}

.btn-danger-2 {
	color: #fff;
	background-color: #dc3545;
	border-color: #dc3545;
}

.btn-danger-2:hover {
	color: #fff;
	background-color: #c82333;
	border-color: #bd2130;
}

/*手機版右上按鈕*/
.navbar-light .navbar-toggler {
	color: rgba(0, 0, 0, .8);
	border-color: rgba(0, 0, 0, 1);
}

.hamburger-inner,
.hamburger-inner:after,
.hamburger-inner:before {
	position: absolute;
	width: 24px;
	height: 2px;
	transition-timing-function: ease;
	transition-duration: .15s;
	transition-property: transform;
	border-radius: 0px;
	background-color: #000;
}

.hamburger {
	padding-top: 20px;
}

/*上橫幅修改*/
@media (min-width: 1200px) {
	.g-bg-header {
		background-color: #fff;
	}

	/* .navbar-light .navbar-nav .nav-link {
		color: #000;
	} */

	.navbar-light .navbar-nav .nav-link:focus,
	.navbar-light .navbar-nav .nav-link:hover {
		color: #000;
	}

	.navbar-light .navbar-nav .show>.nav-link {
		color: #000;
	}
}

@media (max-width: 1199px) {
	.g-bg-header {
		background-color: #fff;
	}

	.navbar-light .navbar-nav .nav-link {
		color: #fff;
		font-weight: 400;
		font-size: 1rem;
	}

	.navbar-light .navbar-nav .nav-link {
		color: #fff;
		font-weight: 400;
	}
}

@media (min-width: 1200px) {
	.navbar-expand-xl .navbar-nav .nav-link {
		font-size: 18px;
		padding-right: 1rem;
		padding-left: 1rem;
	}
}

.dropdown-toggle::after {
	margin-left: 0.05em;
}

.box-shdow-all {
	box-shadow: 0px 8px 8px 0px #e8e8e8;
}

.box-shdow-page {
	box-shadow: 0px 0px 7px 0px #e4e4e4;
}

.box-shdow-page--hover:hover {
	box-shadow: 0px 0px 7px 0px #e4e4e4;
}

.dropdown-item.active,
.dropdown-item:active {
	color: #16181b;
	text-decoration: none;
	background-color: #f8f9fa;
}

/*主功能列*/
.navbar {
	box-shadow: 0px 8px 6px 0px #e8e8e8;
}

@media (min-width: 1199px) {
	.navbar-nav li {
		padding-top: 8px !important;
		padding-bottom: 8px !important;
	}
}

.dropdown:hover .dropdown-menu {
	display: block;
}

.dropdown-menu {
	padding: .5rem 0;
	margin: 0;
	color: #212529;
	text-align: left;
	list-style: none;
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, .15);
	border-radius: 0rem;
}

.dropdown-toggle::after {
	display: inline-block;
	width: 0;
	height: 0;
	/* margin-left: .255em; */
	vertical-align: .255em;
	content: "";
	border-top: 0;
	border-right: 0;
	border-bottom: 0;
	border-left: 0;
}

/*上橫幅動效*/
@media (min-width: 1199px) {

	ul.menu-bg .menu-select a:after {
		width: 100%;
		left: 0;
	}

	.navbar-light .navbar-nav.menu-li-color>.menu-select>a,
	.navbar-light .navbar-nav.menu-li-color>.menu-select>a:focus {
		color: #39af4a;
	}

	ul.menu-bg li:hover a:after {
		width: 100%;
		left: 0;
	}

	ul.menu-li-color li a:after,
	.navbar-light ul.menu-li-color ul li:after {
		content: "";
		background: #39af4a;
	}

	.navbar-light .navbar-nav.menu-li-color>li:hover>a,
	.navbar-light .navbar-nav.menu-li-color>li>a:focus {
		color: #39af4a;
	}

	ul.menu-bg>li>a:after,
	.navbar-light .navbar-nav ul li:after {
		content: "";
		transition-duration: 0.3s;
		-o-transition-duration: 0.3s;
		-webkit-transition-duration: 0.3s;
		width: 0px;
		right: 0px;
		background: #39af4a;
		height: 3px;
		display: block;
		position: absolute;
		bottom: 0px;
	}
}
.navbar-brand img{
	width: 300px;
}
/*手機版 logo限制寬度*/
@media (max-width: 1400px) {
	.navbar-brand img {
		width: 220px;
	}
}

/*產品特效*/
.opacity-blue {
	background-color: rgba(54, 129, 228, 0.9);
	width: 100%;
	height: 100%;
	top: 0px;
}

.opacity-blue {
	transition: opacity .5s;
	opacity: 0;
}

.opacity-blue:hover {
	opacity: 1;
}

.opacity-red {
	background-color: rgba(173, 20, 87, 0.9);
	width: 100%;
	height: 100%;
	top: 0px;
}

.opacity-red {
	transition: opacity .5s;
	opacity: 0;
}

.opacity-red:hover {
	opacity: 1;
}

.btn-default-2 {
	color: #333;
	background-color: #fff;
	border-color: #ccc;
}

.btn-select,
.btn-select:focus,
.btn-select:hover {
	color: #ffffff;
	background-color: #616161;
	border-color: #616161;
}

a:hover {
	text-decoration: none;
}

/*
 * youtube跳窗
 */
.mfp-fade.mfp-bg {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out;
	-moz-transition: all 0.15s ease-out;
	transition: all 0.15s ease-out;
}

.mfp-fade.mfp-bg.mfp-ready {
	opacity: 0.8;
}

.mfp-fade.mfp-bg.mfp-removing {
	opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out;
	-moz-transition: all 0.15s ease-out;
	transition: all 0.15s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
	opacity: 1;
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
	opacity: 0;
}


/**
 *  Owl Carousel
 */

@media (max-width: 1199px) {
	.owl-nav {
		display: none;
	}
}

.owl-theme .owl-nav [class*=owl-] {
	border-radius: 25px;
	background: #ffffff;
}

#sync-index.owl-theme {
	position: relative;
}

#sync-index.owl-theme .owl-next,
#sync-index.owl-theme .owl-prev {
	width: 40px;
	height: 40px;
	margin-top: -37px;
	position: absolute;
	top: 50%;
}

#sync-index.owl-theme .owl-prev {
	left: 10px;
}

#sync-index.owl-theme .owl-next {
	right: 10px;
}

.owl-theme .owl-nav {
	margin-top: 5px;
}

#sync1 .item .item {
	background: #fff;
	padding: 80px 0px;
	margin: 5px;
	color: #FFF;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	text-align: center;
}

#sync2 .item {
	background: #fff;
	/* padding: 5px 0px; */
	margin: 5px;
	color: #FFF;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	text-align: center;
	cursor: pointer;
}

#sync2 .item h1 {
	font-size: 18px;
}

#sync2 .current .item {
	background: #fff;
}

#sync2 .current .item img {
	opacity: .7 !important;
}

.owl-theme .owl-nav [class*='owl-'] {
	transition: all .3s ease;
}

.owl-theme .owl-nav [class*='owl-'].disabled:hover {
	background-color: #D6D6D6;
}

#sync1.owl-theme {
	position: relative;
}

#sync1.owl-theme .owl-next,
#sync1.owl-theme .owl-prev {
	width: 22px;
	height: 40px;
	margin-top: -20px;
	position: absolute;
	top: 50%;
}

#sync1.owl-theme .owl-prev {
	left: 10px;
}

#sync1.owl-theme .owl-next {
	right: 10px;
}

.owl-theme .owl-nav {
	margin-top: 5px;
}

/* Styles for dialog window */
[id|=custom-dialog] {
	background: white;
	padding: 20px 30px;
	text-align: left;
	max-width: 400px;
	margin: 40px auto;
	position: relative;
}

/**
 * Fade-move animation for second dialog
 */

/* at start */
.my-mfp-slide-bottom .zoom-anim-dialog {
	opacity: 0;
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;

	-webkit-transform: translateY(-20px) perspective(600px) rotateX(10deg);
	-moz-transform: translateY(-20px) perspective(600px) rotateX(10deg);
	-ms-transform: translateY(-20px) perspective(600px) rotateX(10deg);
	-o-transform: translateY(-20px) perspective(600px) rotateX(10deg);
	transform: translateY(-20px) perspective(600px) rotateX(10deg);

}

/* animate in */
.my-mfp-slide-bottom.mfp-ready .zoom-anim-dialog {
	opacity: 1;
	-webkit-transform: translateY(0) perspective(600px) rotateX(0);
	-moz-transform: translateY(0) perspective(600px) rotateX(0);
	-ms-transform: translateY(0) perspective(600px) rotateX(0);
	-o-transform: translateY(0) perspective(600px) rotateX(0);
	transform: translateY(0) perspective(600px) rotateX(0);
}

/* animate out */
.my-mfp-slide-bottom.mfp-removing .zoom-anim-dialog {
	opacity: 0;

	-webkit-transform: translateY(-10px) perspective(600px) rotateX(10deg);
	-moz-transform: translateY(-10px) perspective(600px) rotateX(10deg);
	-ms-transform: translateY(-10px) perspective(600px) rotateX(10deg);
	-o-transform: translateY(-10px) perspective(600px) rotateX(10deg);
	transform: translateY(-10px) perspective(600px) rotateX(10deg);
}

/* Dark overlay, start state */
.my-mfp-slide-bottom.mfp-bg {
	opacity: 0;

	-webkit-transition: opacity 0.3s ease-out;
	-moz-transition: opacity 0.3s ease-out;
	-o-transition: opacity 0.3s ease-out;
	transition: opacity 0.3s ease-out;
}

/* animate in */
.my-mfp-slide-bottom.mfp-ready.mfp-bg {
	opacity: 0.8;
}

/* animate out */
.my-mfp-slide-bottom.mfp-removing.mfp-bg {
	opacity: 0;
}

/* 會員 */
.member_menu {
	display: block;
	text-align: center;
	color: #cccccc;
	transition: .3s;
}

nav.member-nav {
	position: relative;
	margin: 20px 0;
	width: 100%;
	height: 50px;
	background: #a9cab5;
	border-radius: 8px;
	font-size: 0;
	font-weight: 700;
	-webkit-box-shadow: inset 1px 4px 8px -5px #333;
	box-shadow: inset 1px 4px 8px -5px #333;
}

nav.member-nav a {
	font-size: 15px;
	text-transform: uppercase;
	color: white;
	text-decoration: none;
	line-height: 50px;
	position: relative;
	z-index: 1;
	display: inline-block;
	text-align: center;
}

nav.member-nav .animation {
	position: absolute;
	height: 100%;
	/* height: 5px; */
	top: 0;
	/* bottom: 0; */
	z-index: 0;
	border-radius: 8px;
	-webkit-transition: all .5s ease 0s;
	transition: all .5s ease 0s;
	border-color: #82ca9c;
	background: -webkit-gradient(linear, left bottom, left top, from(#6cc08b), to(#82ca9c));
	background: linear-gradient(to top, #6cc08b 0%, #82ca9c 100%);
	-webkit-box-shadow: inset 0 1px #6cc08b, 0 1px 2px rgba(0, 0, 0, 0.2);
	box-shadow: inset 0 1px #6cc08b, 0 1px 2px rgba(0, 0, 0, 0.2);
}

nav.member-nav a:nth-child(1) {
	width: 50%;
}

nav.member-nav a:nth-child(2) {
	width: 50%;
}

nav.member-info-nav .start-home,
nav.member-info-nav a:nth-child(1):hover~.animation {
	width: 50%;
	left: 0;
}

nav.member-remit-nav .start-home {
	width: 50%;
	left: 50%;
}

nav.member-remit-nav a:nth-child(1):hover~.animation {
	width: 50%;
	left: 0%;
}

nav.member-info-nav a:nth-child(2):hover~.animation {
	width: 50%;
	left: 50%;
}