/*
 * iweb51 - RWD system type-00
 * http://www.iweb51.apseo.com.tw/
 *
 * Copyright 2015, evelyn wang
 * 
 * 
 * September 2015
 */


/* +products
*----------------------------------------------------------------------------*/
#products ,
#products ul {
	overflow: hidden;
}

/**
*
* =products list
*
**/
#products ul li {
	margin: 0 5% 15px 0;
	width: 30%;
	border-top: 1px #e2e2e2 solid;
	float: left;
}

#products ul li h2 {
	margin-bottom: 15px;
	padding: 0;
	border: none;
	text-align: left;
	font-size: 16px;
}

#products ul li span {
	margin-bottom: 5px;
	display: block;
}

#products ul li article {
	margin-bottom: 15px;
	width: 100%;
	height: 66px;
	overflow: hidden;
	text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
	line-height: 170%;
	font-size: 13px;
	color: #7d7d7d;
}

#products ul li .price {
	padding: 15px 20px;
	border: 1px #e2e2e2 solid;
}

#products ul li .price p {
	margin-bottom: 5px;
}

#products ul li .price p span {
	margin: 0;
	font-size: 24px;
	color: #E31417;
}

#products ul li p span.money-sale {
	color: #d7d7d7;
	text-decoration: line-through;
}

#products ul li .photo {
	margin: 10px;
	height: 215px;
	display: block;
	vertical-align: middle;
	overflow: hidden;
	text-align: center;
}

#products ul li .photo img {
	width: 100%;
	min-height: 215px;
}

#products ul li:nth-child(3n) {
	margin-right: 0;
}

#products ul li p a {
	padding: 0 26px;
	height: 46px;
	background: #3b3b3b;
	display: inline-block;
	line-height: 46px;
	font-size: 15px;
	color: #fff;
}

#products ul li p a i {
	margin-right: 10px;
	font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
    line-height: normal;
    vertical-align: baseline;
    background-image: none;
    background-position: 0 0;
    background-repeat: repeat;
}

#products ul li p a i:before {
    content: "\f07a";
}

#products ul li:nth-child(even) p a i:before {
    content: "\f03a";
}


/* +product article
*----------------------------------------------------------------------------*/
.product-deta {
	margin-bottom: 30px;
}

/**
*
* =product title
*
**/
.product-deta h3 {
	margin: 0;
	padding: 5px 0;
	font-size: 22px;
}

/**
*
* =products main img
*
**/
.product-deta .main-pro-img {
	margin-bottom: 20px;
	text-align: center;
}

.product-deta .main-pro-img img {
	width: auto;
	max-width: 100%;
}

/**
*
* =order function
*
**/
.product-deta .orderfunction {
	padding-top: 20px;
	border-top: 1px #e2e2e2 solid;
	font-size: 16px;
}

.product-deta .orderfunction p {
	margin-bottom: 5px;
}

.product-deta .orderfunction article {
	margin-bottom: 20px;
	line-height: 170%;
}

.product-deta .orderfunction .price-detail {
	padding: 7px 0;
	border-top: 1px #e2e2e2 solid;
	border-bottom: 1px #e2e2e2 solid;
}

.product-deta .orderfunction .price-detail p {
	font-size: 14px;
	color: #7d7d7d;
}

.product-deta .orderfunction .price-detail p span {
	font-size: 16px;
	color: #D40104;
	font-weight: bold;
}

.product-deta .orderfunction .price-detail p span.money-sale {
	font-size: 14px;
	color: #7d7d7d;
	text-decoration: line-through;
	font-weight: normal;
}

.product-deta .orderfunction .order-site {
	margin-top: 20px;
	text-align: right;
}

.product-deta .orderfunction .order-site p {
	display: inline-block;
	font-size: 14px;
	color: #7d7d7d;
}

.product-deta .orderfunction .order-site p label {
	margin-right: 5px;
}

.product-deta .orderfunction .order-site p input[type="number"] {
	padding: 0 15px 1px;
	width: 100px;
    height: 39px;
	background-color: #fff;
	border: 1px solid #ededed;
	line-height: 15px;	
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
	transition: border linear .2s, box-shadow linear .2s;
    color: #b2b2b2;
}

.product-deta .orderfunction .order-site p input[type="number"]:focus {
	border-color: #ccc;
}

.product-deta .orderfunction .order-site p.add {
	position: relative;
}

.product-deta .orderfunction .order-site p.add input {
	padding: 0 20px 0 40px;
	height: 39px;
	background: #3b3b3b;
	font-size: 18px;
	color: #fff;
}

.product-deta .orderfunction .order-site p.add i {
	width: 20px;
	height: 20px;
	position: absolute;
	left: 20px;
	top: 12px;
	z-index: 5;
	font-size: 16px;
	color: #fff;
}

/**
*
* =products detail
*
**/
#pro-article {
	margin-bottom: 30px;
	overflow: hidden;
	position: relative;
}

#pro-article ul.tabs {
	width: 100%;
	height: 30px;
	border-bottom: 1px #444 solid;
	overflow: visible;;
}

#pro-article ul.tabs li {
	margin: 0 3px -1px 0;
	height: 29px;
	border: 1px #765C30 solid;
	border-bottom: 1px #444 solid;
	float: left;
	overflow: hidden;
	position: relative;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

#pro-article ul.tabs li a {
	padding: 0 10px;
	height: 29px;
	display: block;
	text-align: center;
	line-height: 35px;
	font-size: 14px;
}

#pro-article ul.tabs li.active {
	border: 1px #444 solid;
	border-bottom: 1px #fff solid;
}

#pro-article ul.tabs li.active a {
	color: #000;
	font-weight: bold;
}

#pro-article #tabs_container {
	clear: left;
	margin: 15px 0 0;
	width: 100%;
}

#pro-article #tabs_container .tab_content {
	margin: 0 10px;
	line-height: 170%;
	font-size: 16px;
}

#pro-article #tabs_container #tab2 ,
#pro-article #tabs_container #tab3 {
	display: none;
}

/**
*
* =products detail
*
**/
.ask {
	margin: 20px 0;
	float: right;
	position: relative;
}

.ask a {
	padding: 0 20px 0 40px;
    height: 39px;
    background: #3b3b3b;
	display: inline-block;
	line-height: 39px;
    font-size: 18px;
    color: #fff;
}

.ask i {
	width: 20px;
	height: 20px;
	position: absolute;
	left: 20px;
	top: 12px;
	z-index: 5;
	font-size: 16px;
	color: #fff;
}

/**
*
* =other product
*
**/
.other-product {
	clear: both;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px #e2e2e2 solid;
}

.other-product h3 {
	font-size: 26px !important;
	color: #3b3b3b;
}

.other-product ul {
	overflow: hidden;
}

.other-product ul li {
	margin-right: 5%;
	width: 30%;
	float: left;
}

.other-product ul li h2 {
	margin-top: 10px;
	padding: 0 !important;
	border-bottom: none !important;
	font-size: 16px !important;
}

.other-product ul li .photo {
	height: 270px;
	display: block;
	overflow: hidden;
}

.other-product ul li .photo img {
	width: 100%;
}

.other-product ul li:last-child {
	margin: 0;
}


/**
*
* =sub product img
*
**/
.sub-pro-img {
	margin-bottom: 30px;
}

.sub-pro-img ul {
	overflow: hidden;
}

.sub-pro-img ul li {
	margin: 0 2% 10px 0;
	width: 49%;
	height: 150px;
	float: left;
	overflow: hidden;
}

.sub-pro-img ul li img {
	width: 100%;
	min-height: 150px;
}

.sub-pro-img ul li:nth-child(2n) {
	margin-right: 0;
}