@charset "utf-8";
/* CSS Document */
/*【default】*/
/* 捲軸 */
	::-webkit-scrollbar {
		background: #ddd;
		width: 10px;
		height: 10px;
	}
	::-webkit-scrollbar-thumb {
		background: #999;
	}
	::-webkit-scrollbar-thumb:hover {
		background: #666;
	}
	body *::-webkit-scrollbar {
		border-radius: 8px;
	}
	body *::-webkit-scrollbar-thumb {
		border-radius: 8px;
	}
/*-------------整體預設架構---------------------*/
	body {
		padding-top: 70px;
	}
	header,main,footer{
		text-align:center;
	}
	header img,main img,footer img{
		display: block;
	}
	body.nav-open {
		overflow: hidden;
	}
/*-----------wrapper----------*/
	#wrapper{
		width:100%;
	}
/*-----------header--------------*/
	header{
		position: fixed;
		z-index: 1001;
		top:0;
		left: 0;
		width: 100%;
		height: 60px;
		background-color: rgba(255, 255, 255, 0.95);
		transition: height 0.3s ease ,box-shadow 0.3s ease;
		box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
	}
	#banner{
		background-size: cover;
		background-position: center;
	}
/*------------------logo----------------------*/
	.logo {
		position: absolute;
		transition: .3s;
		z-index: 2;
	}
	.logo:hover{
		filter: brightness(1.3);
	}
	.logo img{
		width: auto;
		height: 70px;
		transition: .3s;
	}
/*--------------------nav---------------------*/
	nav{
		position: absolute;
		top: 0;
		right: -100%;
		width: 100%;
		height: 100vh;
		background-color: #2d324a;
		z-index: 4;
		overflow-y: auto;
		transition: right .3s;
	}
	body.nav-open nav{
		right: 0;
	}
	nav ul {
		list-style: none;
	}
	nav li {
		letter-spacing: 2px;
	}
	nav a {
		display: block;
		padding: 10px 20px;
		transition: .3s;
		color: #eee;
	}
	nav > ul {
		width: 100%;
		margin: 50px 0;
	}
	nav li ul {
		display: none;
		background-color: #4a5589;
	}
	nav li.active ul {
		display: block;
	}
	nav li.active > a,
	nav li.active > a:hover {
		background-color: #993300;
	}
	nav li.active.dropdown > a {
		background-color: inherit;
	}

	#cart-cnt {
		background: red;
		color: white;
		border-radius: 50%;
		display: inline-block;
		padding: 2px 3px 1px 4px;
		line-height: 1;
		font-family: arial;
		font-size: 11px;
	}

	#language {
		position: fixed;
		z-index: 2;
		bottom: 0;
		box-sizing: border-box;
		width: 100%;
		padding: 5px;
		margin: 0;
		background-color: rgba(0,0,0,0.8);
		text-align: right;
	}
	#language a {
		display: inline-block;
		-ms-transition: .3s;
		transition: .3s;
	}
	#language a:hover {
		filter: brightness(1.3);
	}

	header .fa-bars {
		position: absolute;
		top: 5px;
		right: 0;
		z-index: 5;
		padding: 10px;
		cursor: pointer;
		transform: rotate(0deg);
		transition: .3s;
	}
	header .fa-bars:hover {
		transform: rotate(180deg);
	}
	body.nav-open header .fa-bars,
	body.nav-open header .fa-bars:hover {
		color: #eee;
		transform: rotate(360deg);
		right: 10px;
	}
/* search */
	header .search-box {
		position: fixed;
		bottom: 0;
		z-index: 3;
		margin: 5px;
		background-color: #fff;
		border-radius: 3px;
		padding-left: 3px;
		border: 1px solid #ddd;
	}
	header .search-box input,
	header .search-box button {
		border: none;
		font-size: inherit;
		line-height: 1.42857143;
	}
	header .search-box input {
		background: transparent;
		width: 150px;
	}
	header .search-box button {
		background: #eee;
		border-radius: 0 3px 3px 0;
		cursor: pointer;
	}
	header .search-box button:hover {
		background: #ddd;
	}
/*-----------footer-------------------------------------*/
	footer{
		clear: both;
		padding: 40px 20px;
		background-color: #2d324a;
		color: #fff;
	}
	footer h5{
		padding-bottom: 15px;
	}
	footer h5:last-child{
		padding-bottom:0;
	}
	footer h6 a{
		margin-left: 20px;
		color: #fff;
	}
	footer a {
		color: #ffec86;
	}
	footer a:hover, footer a:active {
		color: #ffd55b;
	}
/*---------------------------buttonTop----------------------------*/
	footer #buttonTop {
		background:url(../img/buttonTop.png) no-repeat center;
		position: fixed;
		z-index: 1000;
		right: 0;
		bottom: 0;
		display: none;
		cursor: pointer;
		width: 90px;
		height:81px;
		transition: background 0.3s ease;
	}
	footer #buttonTop #arrow{
		background:url(../img/arrow.png) no-repeat center;
		position: absolute;
		right: 12px;
		bottom: 9px;
		width: 15px;
		height: 28px;
		transition: background 0.3s ease , bottom 0.3s ease;
	}
	footer #buttonTop:hover{
		background:url(../img/buttonTop_hover.png) no-repeat center;
	}
	footer #buttonTop:hover #arrow{
		background:url(../img/arrow_hover.png) no-repeat center;
		bottom: 15px;
	}

@media (max-width:767px) {
	footer #buttonTop {
		bottom: 35px;
		background-size: 75%;
		background-position: right bottom;
	}
	footer #buttonTop #arrow{
		bottom: 4px;
		right: 7px;
	}
	footer #buttonTop:hover{
		background-size: 75%;
		background-position: right bottom;
	}
	footer #buttonTop:hover #arrow{
		bottom: 4px;
		right: 7px;
	}
}
@media (min-width:768px) {
	#language {
		background-color: initial;
		width: initial;
		bottom: initial;
	}
	header .search-box {
		bottom: initial;
	}
}
@media (min-width:768px) and (max-width:1024px) {
	#language {
		top: 16px;
		right: 48px;
	}
	header .search-box {
		top: 12px;
		right: 125px;
	}
}
@media (max-width:1024px) {
	body {
		padding-top: 60px;
	}
	.logo img {
		height: 60px;
	}
	#line1{
		transform: rotate(45deg);
	}
	#line2{
		transform: rotate(-45deg) translate(0 , -2px);
	}
	footer .up{
		padding: 50px 10px;
	}
	footer .up h4{
		padding-bottom: 20px;
	}
	footer #buttonTop:hover{
		background:url(../img/buttonTop.png) no-repeat center;
	}
	footer #buttonTop:hover #arrow{
		background:url(../img/arrow.png) no-repeat center;
		bottom: 9px;
	}
}
@media (min-width:1025px) {
	header {
		height: 70px;
	}
	header > * {
		float: right;
	}
	nav{
		display: block !important;
		position: initial;
		width: initial;
		height: initial;
		background-color: initial;
	}
	nav > ul {
		margin: 0;
		width: initial;
	}
	nav > ul > li {
		float: left;
		display: block;
	}
	nav li ul {
		display: block !important;
		position: absolute;
		opacity: 0;
		visibility: hidden;
		background-color: #eee;
		text-align: left;
		min-width: 120px;
		transition: .3s;
	}
	nav li {
		font-size: 18px;
	}
	nav li li {
		display: block;
	}
	nav li:hover ul {
		opacity: 1;
		visibility: visible;
	}
	nav > ul > li > a{
		padding: 10px;
	}
	nav ul a,
	nav ul a:visited {
		color: #565656;
	}
	nav ul a:hover {
		background-color: #9E9E9E;
		color: #fff;
	}
	nav > ul > li.active > a,
	nav > ul > li.active > a:hover,
	nav li.active.dropdown > a {
		background-color: #9E9E9E;
		color:#fff;
	}
	nav li li.active > a,
	nav li li.active > a:hover {
		color:#eee;
	}
	#language {
		position: initial;
	}
	header .fa-bars {
		display: none;
	}
}
@media (min-width:1025px) and (max-width:1199px) {
	header .search-box {
		top: 0;
		right: 0;
	}
	#language {
		margin-top: 36px;
	}
	nav {
		margin-top: 27px;
	}
}
@media (min-width:1025px) and (max-width:1440px) {
	.logo {
		left: 10px;
	}
	nav > ul > li > a{
		padding: 10px 5px;
		font-size: smaller;
	}
}
@media (min-width:1200px) {
	header .search-box {
		background-color: initial;
		margin-top: 21px;
		position: initial;
	}
	nav{
		margin-top: 13px;
	}
	#language {
		margin-top: 22px;
	}
}
@media (min-width:1441px) {
	.logo {
		left: 50px;
	}
	#language {
		margin-right: 20px;
	}
}

/* bootstrap like */
.row {
	margin:0 -15px;
}
.row:after {
	content: ' ';
	display: table;
	clear: both;
}
.col-xs-5, .col-xs-7, .col-xs-12,
.col-sm-3, .col-sm-5, .col-sm-7, .col-sm-9,
.col-lg-5, .col-lg-7 {
	box-sizing: border-box;
	padding: 0 15px;
	float: left;
}
.col-xs-5 {
	width: 41.7%;
}
.col-xs-7 {
	width: 58.3%;
}
.col-xs-12 {
	width: 100%;
}
@media (min-width:554px) {
	.col-sm-3 {
		width: 25%;
	}
	.col-sm-5 {
		width: 41.7%;
	}
	.col-sm-7 {
		width: 58.3%;
	}
	.col-sm-9 {
		width: 75%;
	}
}
@media (min-width:992px) {
	.col-lg-5 {
		width: 41.7%;
	}
	.col-lg-7 {
		width: 58.3%;
	}
}

