@charset "utf-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css?family=Open+Sans|Raleway|Titillium+Web');

/**/
html,
body {
	margin: 0;
	padding: 0;
	border: 0;
}

body {
	font-family: "Arial", '微軟正黑體', sans-serif;
	font-size: 14.5px;
	word-spacing: 0.2em;
	-webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
h4,
p,
ul,
li,
blockquote,
a {
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: normal;
}

a {
	text-decoration: none;
	color: #333;
}

a img {
	border: none;
}

p {
	color: #333;
	line-height: 1.8em;
	font-size: 14px;
}

.text-danger {
	color: #dc3545 !important;
}

.en {
	font-family: 'Open Sans', sans-serif;
}

.tw {
	font-family: '微軟正黑體', sans-serif;
}

.bg-w {
	background-color: #FFF !important;
}

img {
	display: block;
}

.main {
	position: relative;
	/* margin-top: 72px; */
}

/* navbar */
.top {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	padding: 0 30px;
	z-index: 999;
	background: transparent;
	box-sizing: border-box;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-pack: justify;
	justify-content: space-between;
	transition: all 1s ease-out;
}

#logo {
	display: inline-block;
	font-size: 1.25rem;
	line-height: inherit;
	white-space: nowrap;
}

.logo-img {
	width: 140px;
	fill: #fff;
	display: -webkit-flex;
	/* Safari */
	display: flex;
	-webkit-align-items: center;
	/* Safari 7.0+ */
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	transform: translate(0, 0);
}

.short .logo-img {
	fill: #000;
}

.logo-img img {
	width: 100%;
}

.logo-svg {
	width: 100%;
	height: 100%;
	position: relative;
}

#menu {
	flex-grow: 1;
	text-align: right;
}

#menu span {
	display: block;
}

.nav-item {
	position: relative;
	display: inline-block;
	text-align: center;
	margin: 25px 0 25px 30px;
}

.nav-item .en {
	opacity: 1;
}

.nav-item .tw {
	opacity: 0;
	margin-top: -18px;
}

.nav-item:hover .en {
	opacity: 0;
}

.nav-item:hover .tw {
	opacity: 1;
}

.nav-item:hover::after {
	position: absolute;
	content: '';
	left: 50%;
	width: 100%;
	height: 2px;
	bottom: -10px;
	background: #CCC;
	display: block;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
}

.dropdown-menu {
	position: absolute;
	z-index: 1000;
	display: none;
	min-width: 10rem;
	padding: 0.5rem 0;
	text-align: left;
	display: none;
	position: absolute;
	background-color: #fff;
	box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
	z-index: 1;
}

.dropdown-item {
	display: block;
	width: calc(100% - 3rem);
	padding: 0.25rem 1.5rem;
	font-weight: 400;
	color: #212529;
	clear: both;
	text-align: inherit;
	white-space: nowrap;
	background-color: transparent;
	border: 0;

}

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

.dropdown .dropdown-menu .dropdown-item .en {
	opacity: 1;
}

.dropdown .dropdown-menu .dropdown-item .tw {
	opacity: 0;
}

.dropdown .dropdown-menu .dropdown-item:hover .en {
	opacity: 0;
}

.dropdown .dropdown-menu .dropdown-item:hover .tw {
	opacity: 1;
}

.dropdown .dropdown-menu .dropdown-item:hover {
	color: #16181b;
	text-decoration: none;
	background-color: #f8f9fa;
}
.top a{
	color: #fff;
}
.top .dropdown a.dropdown-item{
	color: #333;
}

.short {
    background: #fff;
	box-shadow: 0 4px 12px -2px rgba(20%, 20%, 20%, 0.1);
	
}
.short a{
	color: #333;
}
/* mobileMenu */
.mobileMenu {
	z-index: 50;
	cursor: pointer;
	width: 30px;
	height: 30px;
	display: none;
}

.menuBar {
	width: 30px;
	height: 2px;
	background: #fff;
	margin: 8px 0px;
	-webkit-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
}
/* .openMenu{
	background: #fff;
} */
.short .menuBar {
	background: #838c74;
}
.mobileMenu div:nth-child(1) {
	margin-top: 0;
}
.openMenu .mobileMenu div:nth-child(1) {
	margin-top: 10px;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}


.openMenu .mobileMenu div:nth-child(2) {
	width: 0;
}

.openMenu .mobileMenu div:nth-child(3) {
	margin-top: -20px;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.openMenu {
    background: #fff;
	box-shadow: 0 4px 12px -2px rgba(20%, 20%, 20%, 0.1);
	transition: none
}
.openMenu #menu{
	transition: all 1s ease-out;
}

.openMenu .logo-img {
	fill: #000;
}
.openMenu a{
	color: #333;
}
.openMenu .menuBar {
	background: #838c74;
}
/*  */
.side-icon {
	position: fixed;
	width: 25px;
	right: 24px;
	opacity: 1;
	z-index: 100;
	cursor: pointer;
	background: #fff;
	padding: 7.5px;
}

.side-icon img ,.up svg {
	width: 25px;
	/*opacity: .5;*/
}

.side-icon:hover a,.side-icon:hover img{
	filter: opacity(0.8)/* drop-shadow(0 0 5px #838c74)*/;
}

.edit {
	bottom: 230px;
}

.line {
	bottom: 180px;
}

.fb {
	bottom: 130px;
}

.phone {
	bottom: 80px;
}

.up {
	bottom: 30px;
}

.up svg polygon {
	fill: #000 !important;
}

.txt {
	background: #FFF;
}

/* title */
.title {
	padding: 30px 0;
	background: rgba(131, 140, 116, 0.1);
	text-align: center;
}

.title h1 {
	position: relative;
	font-family: 'Raleway', sans-serif;
	font-size: 2em;
	padding-bottom: 15px;
	color: #666;
}

.title h1::after {
	position: absolute;
	content: '';
	background: #838c74;
	height: 2px;
	width: 200px;
	left: 50%;
	bottom: 5px;
	margin-left: -100px;
}

.title h2 {
	font-size: 1.1em;
	padding-top: 15px;
}


/* footer */
footer {
	background: rgba(131, 140, 116, 0.1);
	font-size: 0.8em;
	text-transform: uppercase;

}

.footer {
	margin: 0 30px;
	padding: 70px 0;
	display: flex;
	color: #999;
}

footer p {
	color: #999;
	line-height: 1.2em;
}

footer a {
	color: #999;
}

.footer-a {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 66.666666%;
	flex: 0 0 66.666666%;
	max-width: 66.666666%;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-a p {
	margin-right: 20px;
}

.icon-link {
	margin: 1.5em 0 50px 0;
}

.icon-link a {
	display: inline-block;
	max-width: 20px;
	margin: 0 25px 0 0;
}

.icon-link a:hover {
	filter: opacity(0.5) drop-shadow(0 0 5px #838c74);
}

.icon-link a:last-child {
	margin: 0
}

.icon-link img {
	max-width: 100%;
}

.footer-b {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 33.333333%;
	flex: 0 0 33.333333%;
	max-width: 33.333333%;
	font-size: 14px;
	line-height: 20px;

}

.footer-b .tel {
	margin-top: 50px;
}
.footer-b li a{
	text-transform:none;
}
.fa-map-marker:hover {
	color: #838c74;
}

/**/
#loading {
	position: fixed;
	top: -50px;
	left: 0;
	right: 0;
	bottom: -50px;
	background: #FFF;
	z-index: 9999;
	-webkit-perspective: 800px;
	-moz-perspective: 800px;
	-ms-perspective: 800px;
	-o-perspective: 800px;
	perspective: 800px;
}

.pLoading {
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -40px 0 0 -40px;
	-webkit-transform-style: preserve-3d;
	-moz-transform-style: preserve-3d;
	-ms-transform-style: preserve-3d;
	-o-transform-style: preserve-3d;
	transform-style: preserve-3d;
	-webkit-animation: loading 8s infinite linear;
	-moz-animation: loading 8s infinite linear;
	-o-animation: loading 8s infinite linear;
	animation: loading 8s infinite linear;
}

.pLoading,
.pLoading img {
	width: 80px;
	height: 80px;
}

.back {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #75796f;
	color: #FFF;
	text-align: center;
	line-height: 80px;
	font-size: 0.6em;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
	-ms-transform: rotateY(180deg);
	-o-transform: rotateY(180deg);
	transform: rotateY(180deg);
}

.front img {
	width: 60px;
}

.front {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	-o-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transform: rotateY(0deg);
	-moz-transform: rotateY(0deg);
	-ms-transform: rotateY(0deg);
	-o-transform: rotateY(0deg);
	transform: rotateY(0deg);
}

.list-box {
	display: flex;
	flex-wrap: wrap;
	margin: 30px 78px;
	justify-content: space-between;
}

.list-item {
	flex: 0 0 auto;
	width: calc(33.3333333333% - 20px);
	margin: 30px 0;
}

.list-pic {
	position: relative;
}

.list-title {
	color: #838c74;
}

.list-text {
	color: #666;
}

/* btn style */
.controlBtn {
	position: relative;
	width: 300px;
	margin: auto;
	display: flex;
	margin-top: 30px;
}

.controlBtn a {
	position: relative;
	display: block;
	width: fit-content;
	margin: auto;
	padding: 10px 20px;
	border: #838c74 solid 1px;
	font-weight: bold;
	font-family: 'Open Sans', sans-serif;
	color: #666;
	letter-spacing: 0.05em;
}

.controlBtn a:hover {
	background: #838c74;
	color: #fff;
}

/* video rwd */
.embed-container {
	position: relative;
	padding-bottom: calc(56.25% * 0.5);
	height: 0;
	overflow: hidden;
	max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

@-webkit-keyframes loading {
	0% {
		-webkit-transform: rotateY(0deg);
	}

	15% {
		-webkit-transform: rotateY(-180deg);
	}

	50% {
		-webkit-transform: rotateY(-180deg);
	}

	65% {
		-webkit-transform: rotateY(-360deg);
	}

	100% {
		-webkit-transform: rotateY(-360deg);
	}
}

@-moz-keyframes loading {
	0% {
		-moz-transform: rotateY(0deg);
	}

	15% {
		-moz-transform: rotateY(-180deg);
	}

	50% {
		-moz-transform: rotateY(-180deg);
	}

	65% {
		-moz-transform: rotateY(-360deg);
	}

	100% {
		-moz-transform: rotateY(-360deg);
	}
}

@-o-keyframes loading {
	0% {
		-o-transform: rotateY(0deg);
	}

	15% {
		-o-transform: rotateY(-180deg);
	}

	50% {
		-o-transform: rotateY(-180deg);
	}

	65% {
		-o-transform: rotateY(-360deg);
	}

	100% {
		-o-transform: rotateY(-360deg);
	}
}

@keyframes loading {
	0% {
		transform: rotateY(0deg);
	}

	15% {
		transform: rotateY(-180deg);
	}

	50% {
		transform: rotateY(-180deg);
	}

	65% {
		transform: rotateY(-360deg);
	}

	100% {
		transform: rotateY(-360deg);
	}
}

@media screen and (min-width:1100px) {
	.nav-item.active::after {
		position: absolute;
		content: '';
		left: 50%;
		width: 100%;
		height: 2px;
		bottom: -10px;
		background: #838c74;
		display: block;
		transform: translateX(-50%);
		-webkit-transform: translateX(-50%);
	}

}

@media screen and (max-width:1100px) {
	.up {
		display: block;
	}

	.top {
		padding: 0;
	}

	.logo {
		margin: 15px 30px;
	}

	.mobileMenu {
		display: block;
		margin: 15px 30px;
	}

	#menu {
		display: none;
		position: relative;
		overflow: hidden;
		-webkit-transition: all 1s ease-out;
		transition: all 1s ease-out;
	}

	.openMenu #menu {
		display: block;
		position: relative;
		width: 100%;
		margin: 0;
		-ms-flex-preferred-size: 100%;
		flex-basis: 100%;
		-ms-flex-positive: 1;
		flex-grow: 1;
		-ms-flex-align: center;
		align-items: center;
	}

	#menu ul {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}

	.nav-item {
		text-align: left;
		width: calc(100% - 60px);
		margin: 0;
		padding: 15px 30px;
	}

	.nav-item:hover,
	.nav-item.active,
	.dropdown:hover .dropdown-menu,
	.dropdown.active .dropdown-menu  {
		text-decoration: none;
		background-color: #f8f9fa;
	}

	.nav-item:hover::after {
		display: none;
	}

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

	.dropdown-menu {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 1000;
		display: none;
		float: left;
		min-width: 10rem;
		padding: 0.5rem 0;
		margin: 0.125rem 0 0;
		font-size: 1rem;
		color: #212529;
		text-align: left;
		list-style: none;
		background-color: #fff;
		background-clip: padding-box;
		border-radius: 0.25rem;
		box-shadow: none
	}

	.dropdown .dropdown-menu {
		position: static;
		float: none;
	}

	.dropdown-item {
		margin: 0;
		padding: 15px 20px;
		width: calc(100% - 40px);
	}

	.dropdown .dropdown-menu.show {
		display: block;
		margin-top: 10px;
	}

	/* .main {
		margin-top: 91px;
	} */

	.list-item {
		width: calc(50% - 20px);
	}
}

@media screen and (max-width:900px) {
	.footer {
		flex-direction: column-reverse;
	}

	.footer-a {
		padding-top: 50px;
		-webkit-box-flex: 0;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}

	.footer-a .icon-link {
		margin: 1.5em 0;
	}

	.footer-b {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
		font-size: 14px;
	}

	.footer-b .tel {
		margin-top: 1.5em;
	}


}

@media screen and (max-width: 768px) {
	.list-box {
		margin: 30px;
	}

	.list-item {
		width: calc(100% - 20px);
	}

	.side-icon {
		right: 10px;
	}
	.controlBtn{
		width: auto;
	}
}