html{
	min-width: 1280px;
	width: 100%;
	height: 100%;
	font-family: Microsoft JhengHei;
}
body {
	width: 100%;
	height: 100%;
    background: url(../imgs/global/bg.png) center center fixed no-repeat;
    -moz-background-size: cover;
    background-size: cover;
}
/* scrollbar 樣式 */
::-webkit-scrollbar {
      	width: 10px;
}
::-webkit-scrollbar-track {
      	background-color: #c0baae;
}
::-webkit-scrollbar-thumb {
      	background-color: #53524d;
}
::-webkit-scrollbar-button {
		height: 10px;
      	background-color: #f0f0e6;
}
/* scrollbar end */
a{
	text-decoration: none;
}
.cursor{
	cursor: pointer;
}
.main{
	width: 100vw;
	height: 100vh;
	position: relative;
}
.logo_location{
	z-index: 999;
	position: fixed;
	top: 2%;
    left: 2%;
}
.logo_style{
	width: 168px;
	height: 70px;
	background-size: 100%;
	background-image: url(../imgs/global/logo.png);
}
.login{
	width: 30px;
	height: 30px;
	margin-right: 10px;
	margin-top: 20px;
	display: block;
	float: left;
}
.cart{
	width: 30px;
	height: 30px;
	margin-right: 10px;
	margin-top: 20px;
	display: block;
	float: left;
	position: relative;
}
.badge{
	text-align: center;
	line-height: 15px;
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: #a30909;
	border-radius: 50%;
	color: #fafafa;
	font-size: 5px;
	width: 15px;
	height: 15px;
	border: 1px solid #f8f8f8;
}
.icons_location{
	position: absolute;
	right: 10px;
	z-index: 999;
}
.icons_style{
	height: 80px;
}
.icons_style img{
	width: 30px;
	height: 30px;
}

/* 導覽列 */
.nav {
    position: fixed;
    z-index: 1;
    top: 100px;
    left: 49px;
    width: 130px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.nav__block {
	margin-top: 20px;
    overflow: hidden;
    padding-bottom: 10px;
}

.nav__list {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: column wrap;
    -ms-flex-flow: column wrap;
    flex-flow: column wrap;
    height: 320px;
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

.nav__list--active {
	-webkit-transform: translate(0, -100%);
    transform: translate(0, -100%);
    -webkit-transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.175);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.175);
    
}

.nav__item {
    -webkit-box-flex:1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    position: relative;
}

.nav__link {
	display: block;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    color: #524a4b;
    font-size: 18px;
    -webkit-transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.175);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.175);
}

.nav__link:hover {
    color: #859dff;
}
a{
    display: block;
}


.burger {
    height: 64px;
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    z-index: 2;
    cursor: pointer;
    -webkit-transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.175);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.175);
}

.burger:hover .burger__patty {
    background: #859dff;
}
.burger:hover .burger__patty:before {
    background: #859dff;
}
.burger:hover .burger__patty:after {
    background: #859dff;
}

.burger__patty1 {
    position: relative;
    height: 4px;
    width: 36px;
    background: #524a4b;
}

.burger__patty2 {
    position: absolute;
    top: 20px;
    left: 0;
    height: 4px;
    width: 36px;
    background: #524a4b;
}

.burger__patty3 {
    position: absolute;
    top: 10px;
    left: 0;
    height: 4px;
    width: 36px;
    background: #524a4b;
}

.burger__patty1, .burger__patty2, .burger__patty3 {
    will-change: transform;
    -webkit-transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.175);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.175);
}

/*倒三角*/
.burger--active .burger__patty1 {
    -webkit-transform: rotate(60deg) translate(-1px, 10px) scaleX(0.7);
    transform: rotate(60deg) translate(-3px, 6px) scaleX(0.7);
}

.burger--active .burger__patty2 {
    -webkit-transform: rotate(-45deg) translate(-9px, 20px) scaleX(0.7);
    transform: rotate(-60deg) translate(-6px, 9px) scaleX(0.7);
}

.burger--active .burger__patty3 {
    -webkit-transform: rotate(0deg) translate(0px, 10px) scaleX(0.7);
    transform: rotate(0deg) translate(-0.5px, 10px) scaleX(0.7);
}



/* 會員icon 購物車icon */
.sub2 i{
	margin-right: 5px;
}
.sub2 i.fa-history{
	color: #53524d;
}

.sub2 i.fa-heart{
	color: #D32A2A;
}
.sub1 li{
	display: inline-block;
	position: relative;
}
.nav_member{
	position: fixed;
	right: 40px;
	z-index: 9999;
}
.sub1 a{
	display: inline-block;
	font-size: 14px;
	padding: 10px 10px;
	text-decoration: none;
	color: #111;
}
.hover_imgs_style {
	width: 40px;
	height: 40px;
	float: left;
}
.tet {
	height: 40px;
	line-height: 40px;
	float: left;
}
.nav_member .sub2 {
	float: left;
	position: absolute;
	left: -10000px;
	width: 120px;
	margin-top:10px;
	z-index: -1;
	opacity: .2;
	padding-top: 10px;
	transition:opacity .2s;
	text-align: center;
}
.nav_member .sub2:before{
	position: absolute;
	z-index: 1;
	content: '';
	display:block;
	width: 0;
	height: 0;
	top: 0;
	left: 50px;
	border-bottom: 10px solid #333333;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
}
.nav_member .sub2:after{
	position: absolute;
	z-index: 1;
	content: '';
	display:block;
	width: 0;
	height: 0;
	top: 1px;
	left: 50px;
	border-bottom: 10px solid #E8E6DF;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
}
.nav_member .sub2 li{
	display: block;
	background-color: #E8E6DF;
}
.sub1 > li:hover .sub2{
	position: absolute;
	top: 50px;
	left: 15px;
	opacity: 1;
	margin-top: 0;
	transition:opacity .5s .1s;
}
.sub2 a{
	display: block;
	border-top: 1px dotted #aaa;
}
.sub2 a:hover{
	background-color: #F9EFD7;
	color: #757063;
}
.sub2 li{
	border-left:1px solid #333333;
	border-right:1px solid #333333;
}
.sub2 li:first-child{
	border-top:1px solid #333333;
}
.sub2 li:last-child{
	border-bottom:1px solid #333333;
}
.sub2 li:first-child a{
	border-top: none;
}

/* 登入會員的小提示 css */
.prompt_login_text:before{
	position: absolute;
	z-index: 1;
	content: '';
	display:block;
	width: 0;
	height: 0;
	top: -8px;
	left: 48px;
	border-bottom: 8px solid #53524d;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
}
.prompt_login_text:after{
	position: absolute;
	z-index: 1;
	content: '';
	display:block;
	width: 0;
	height: 0;
	top: -8px;
	left: 48px;
	border-bottom: 8px solid #53524d;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
}
.prompt_login_text{
	display: none;
	position: absolute;
	top: 80px;
	left: -26px;
	padding: 10px;
	border-radius: 2px;
	background-color: #53524d;
	color: #f0f0f0;
}

/* 購物車的小提示 css */
.prompt_join_text:before{
	position: absolute;
	z-index: 1;
	content: '';
	display:block;
	width: 0;
	height: 0;
	top: -8px;
	left: 58px;
	border-bottom: 8px solid #53524d;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
}
.prompt_join_text:after{
	position: absolute;
	z-index: 1;
	content: '';
	display:block;
	width: 0;
	height: 0;
	top: -8px;
	left: 58px;
	border-bottom: 8px solid #53524d;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
}
.prompt_join_text{
	display: none;
	position: absolute;
	top: 60px;
	right: 0;
	padding: 10px;
	border-radius: 2px;
	background-color: #53524d;
	color: #f0f0f0;
}
.prompt_delete_text{
	display: none;
	position: absolute;
	top: 60px;
	right: 0;
	padding: 10px;
	border-radius: 2px;
	background-color: #53524d;
	color: #f0f0f0;
}
.fa-times{
	display: none;
	color: #D32A2A;
	position: absolute;
	transform: scale(5);
	right: 42px;
	top: 88px;
}

/* 購物車hover後的小顯示框 */
.cart_lite{
	position: fixed;
	top: 60px;
	right: 20px;
	display: none;
	box-shadow: 0px 0px 8px rgba(30%,30%,30%,0.8), 
				0px 0px 12px rgba(30%,30%,30%,0.4), 
				0px 0px 24px rgba(30%,30%,30%,0.4);
	background-color: #E2D9CA;
	border: 1px solid #53524d;
	overflow-x:hidden;
	width: 100px;
	height: 0;
	overflow-y:scroll;
	
}
.cart_lite_img{
	position: relative;
	width: 50px;
	height: 50px;
	line-height: 50px;
}
.cart_lite_img img{
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	margin: auto;
	width: 30px;
}
.cart_lite_name,.cart_lite_qn{
	height: 50px;
	line-height: 50px;

}
.cart_lite_qn{
	
}
.cart_lite_img,.cart_lite_name,.cart_lite_qn{
	display: inline-block;
	vertical-align : top;
}
.box{
	font-size: 15px;
}
.box_product{
	border-top: 1px #aaa dotted;
}



/* bread crumbs 麵包屑 */
.bread_crumbs{
	position: absolute;
	top: 140px;
	left: 240px;
	opacity: 0;
}
.bread_crumbs a,.bread_crumbs div,.bread_crumbs img{
	display: block;
	float: left;
	text-decoration: none;
	color: black;
}
.bread_crumbs img{
	width: 25px;
	height: 25px;
	position: absolute;
	left: -30px;
	top: -5px;
}


