/*
 * w278-1 - zsm type-09
 * http://www.zsm.com.tw/
 *
 * Copyright 2015, evelyn wang
 * 
 * 
 * November 2015
 */


/* +body
*----------------------------------------------------------------------------*/
.wrapper {
	background: url(../../images/10/all/bg-wrapper.jpg) repeat 0 0;
}


/* +header
*----------------------------------------------------------------------------*/
header {
	background: #fff;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.30);
    -webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.30);
	position: relative;
	z-index: 50;
}

header .header-wrap {
	position: relative;
}

/**
*
* =cis
*
**/
header #cis {
	margin: 0 auto;
	width: 215px;
	position: relative;
}

header #cis h2 {
	margin: 0 15px;
	padding: 15px 0;
}

header #cis h2 img {
	width: 100%;
}

/**
*
* =main nav
*
**/
header .nav-func {
	margin-top: 27px;
	width: 50px;
    height: 50px;
	float: right;
	text-align: center;
	line-height: 50px;
	font-size: 30px;
	display: none;
	z-index: 50;
}

header .menu {
	margin-top: -70px;
	padding-bottom: 20px;
}

header .menu ul {
	height: 45px;
}

header .menu ul li {
	margin-right: 90px;
	float: left;
	position: relative;
	transition: all 0.2s linear;
}

header .menu ul li a {
	transition: all 0.2s linear;
	font-size: 16px;
	color: #000;
}

header .menu ul li a i {
	display: block;
	font-size: 70%;
	font-style: normal;
	color: #b3b3b3;
}

header .menu ul li:hover {
	transform:scale(1.05);
}

header .menu ul li:hover a ,
header .menu ul li:hover a i {
	color: #b53e8a;
}

header .menu ul li > ul {
	width: 150%;
	height: auto;
	background: rgba(245,222,213,0.7);
	position: absolute;
	top: 45px;
}

header .menu ul li > ul li {
	margin-right: 0;
	padding: 5px 10%;
	width: 80%;
	border-bottom: 1px #dcbeb2 solid;
	border-top: 1px #ffeee7 solid;
	float: left;
}

header .menu ul li > ul li a {
	display: block;
	font-size: 14px;
}

header .menu ul li:nth-child(4) {
	margin-left: 220px;
}

header .menu ul li:nth-child(4) ,
header .menu ul li:nth-child(5) ,
header .menu ul li:nth-child(6) {
	margin-right: 60px;
}

/**
*
* =top-nav
*
**/
header #top-nav {
	padding-top: 10px;
	position: absolute;
	top: 0;
	right: 0;
}

header #top-nav a {
	margin-bottom: 5px;
	display: block;
	transition:all 0.2s linear;
	text-align: right;
	font-size: 80%;
	color: #b3b3b3;
}

header #top-nav a:hover {
	color: #b53e8a
}


/* +/* +header
*----------------------------------------------------------------------------*/
#content {
	width: 100%;
}


/* +side
*----------------------------------------------------------------------------*/
/* +side
*----------------------------------------------------------------------------*/
#member-function {
	position: fixed;
	right: 0;
	bottom: 10px;
	z-index: 500;
}

#member-function > ul {
	height:54px;
}

#member-function > ul > li {
	height: 54px;
	background: #000;
	float: left;
	opacity: 0.8;
	filter: Alpha(opacity=80);
	transition: all 0.3s;
}

#member-function ul li a {
	width: 100%;
	display: block;
	overflow: hidden;
}

#member-function ul li a:hover {
	color: #fff;
	text-decoration: underline;
}

#member-function ul li i {
	width: 54px;
	height: 54px;
	display: inline-block;
	float: left;
	text-align: center;
	line-height: 54px;
	color: #fff;
}

#member-function ul li a b {
	width: 0;
	display: block;
	float: left;
	transition: all 0.4s ease;
	line-height: 54px;
}

#member-function ul li a:hover b {
	padding-right: 15px;
	width: 70px;
}

#member-function ul li:first-child > i {
	float: left;
	font: normal normal normal 14px/1 FontAwesome;
	line-height: 54px;
}

#member-function ul li:first-child > i:before {
    content: "\f101";
}

#member-function ul li:first-child:hover > i:before {
    content: "\f100";
}

#member-function ul li:nth-child(3) {
	position: relative;
	transition: all 0.4s ease;
}

#member-function ul li:nth-child(3):hover {
	padding-right: 15px;
}

#member-function ul li:nth-child(3) a {
	line-height: 54px;
	color: #fff;
}

#member-function ul li:nth-child(3) ul.sub-order-list {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: -54px;
}

#member-function ul li:nth-child(3) ul.sub-order-list li {
	height: 100%;
	position: relative;
}

#member-function ul li:nth-child(3) ul.sub-order-list li #shopping-list {
	width: 100%;
	background: #fff;
	position: absolute;
	bottom: 0;
}

#member-function ul li:nth-child(3) ul.sub-order-list li #shopping-list .list {
	padding: 10px;
	border-bottom: 1px #444 dotted;
}

#member-function ul li:nth-child(3) ul.sub-order-list li #shopping-list .list h3 {
	margin: 5px 0;
	line-height: 170%;
	font-size: 12px;
}

#member-function ul li:nth-child(3) ul.sub-order-list li #shopping-list .list img {
	width: 100%;
}

#member-function ul li:nth-child(3) ul.sub-order-list li #shopping-list .list p {
	font-size: 12px;
}

#member-function ul li .member-site {
	width: 0;
	background: #000;
	float: left;
	opacity: 0.8;
	transition: all 0.4s ease;
	overflow: hidden;
}

#member-function ul li:hover .member-site {
	width: 250px;
	height: 54px;
	overflow: hidden;
}

#member-function ul li .member-site a {
	width: 125px;
	display: block;
	float: left;
	line-height: 54px;
	color: #fff;
}

#member-function ul li .member-site a i {
	width: 54px;
	height: 54px;
	display: inline-block;
	text-align: center;
	line-height: 54px;
}


/* +mobile-funtion
*----------------------------------------------------------------------------*/
#mobile-funtion {
	display: none;
	width: 100%;
	background: rgba(0,0,0,0.7);
	position: fixed;
	bottom: 0;
	z-index: 99999;
}

#mobile-funtion ul {
	text-align: center;
}

#mobile-funtion ul li {
	width: 50%;
	max-width: 512px;
	display: inline-block;
}

#mobile-funtion ul li a {
	padding: 10px 15px;
	background: rgba(255,0,0,0.7);
	display: block;
	transition:all 0.2s linear;
	opacity: 0.7;
	line-height: 30px;
	text-align: center;
	font-size: 16px;
	color: #fff;
}

#mobile-funtion ul li i {
	font-size: 19px;
}

#mobile-funtion ul li a:hover {
	opacity: 1;
}

#mobile-funtion ul li:nth-child(2) a {
	background: rgba(0,195,0,0.7);
}



/* +footer
*----------------------------------------------------------------------------*/
footer {
	background: #cc4a4c;
}

footer .footer-wrap {
	overflow: hidden;
}

footer .footer-wrap .row {
	width: 33.3%;
	float: left;
}

footer .footer-wrap .row #footerLogo {
	margin-bottom: 10px;
}

footer .footer-wrap .row #footerLogo img {
	width: 100%;
	max-width: 145px;
}

footer .footer-wrap .row .company-info {
	overflow: hidden;
}

footer .footer-wrap .row .company-info #QRcode {
	margin-right: 10px;
	float: left;
}

footer .footer-wrap .row .company-info .company-data {
	line-height: 170%;
	color: #fff;
}

footer .footer-wrap .row nav {
	margin: 10px 0;
}

footer .footer-wrap .row nav ul {
	overflow: hidden;
}

footer .footer-wrap .row nav ul li {
	margin-bottom: 10px;
	font-size: 16px;
}

footer .footer-wrap .row nav ul li a {
	color: #fff;
}

footer .footer-wrap .row iframe {
	width: 100%;
	height: 200px;
}

footer .web {
	padding: 10px 0;
	background: #9f3335;
}

footer .web p {
	text-align: center;
	font-size: 12px;
	color: #fff;
}

footer .web p a {
	color: #fff;
}

.wrapper .container section .content-wrap .contact-form #article  article img {
	height: auto;
	max-width: auto;
}


/* +width:1024 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 1024px) {
	header .menu ul li {
		margin-right: 50px;
	}
	
	header .menu ul li:nth-child(4), 
	header .menu ul li:nth-child(5), 
	header .menu ul li:nth-child(6) {
		margin-right: 40px;
	}
}


/* +width:768 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
	header .header-wrap {
		height: 104px;
	}
	
	header #cis {
		margin: 0;
		float: left;
	}
	
	header .nav-func {
		display: block;
	}
	
	header #top-nav {
		display: none;
	}
	
	footer .footer-wrap .row {
		width: 50%;
	}
	
	footer .footer-wrap .row:nth-of-type(3) {
		margin-bottom: 10px;
		width: 100%;
	}
}

/* +width:480 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 480px) {
	footer .footer-wrap .row {
		width: 100%;
	}
}