/*
 * w417 - cc-design iweb51-style04
 * http://www.cc-design.com.tw/
 *
 * Copyright 2015, 
 * 
 * 
 * 2015 / 8
 */


/* +header
*----------------------------------------------------------------------------*/
header {
	position: relative;
	box-shadow: 0 2px 1px rgba(0, 0, 0, 0.20)
}


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

#content-wrap .content {
	margin: 0 auto;
	padding: 40px 0 50px;
	width: 1160px;
	overflow: hidden;
}

#content-main {
	overflow: hidden;
}

/**
*
* =page title
*
**/
#content-wrap .content h2 {
	text-align: center;
	font-size: 15px;
	color: #292929;
}

#content-wrap .content span.subtitle {
	display: block;
	text-align: center;
	font-family: 'Audiowide';
	font-size: 52px;
	color: #604b3e;
}

/**
*
* =article title
*
**/
#content-main h3 {
	margin-bottom: 25px;
	padding: 5px 0;
	border-bottom: 1px dotted #CBCBCB;
	font-size: 19px;
	color: #000;
}

/**
*
* =article text
*
**/
#content-main #article {
	line-height: 170%;
	font-size: 16px;
}

#content-main #article p.Quo {
	margin: 10px 0;
	font-size: 12px;
}

/**
*
* =sub-nav
*
**/
#content-wrap .content #sub-nav ul {
	margin-bottom: 40px;
	text-align: center;
	font-size: 16px;
}

#content-wrap .content #sub-nav ul li {
	position: relative;
	display: inline-block;
}

#content-wrap .content #sub-nav ul li a {
	padding: 10px 20px;
	color: #604b3e;
	display: inline-block;
}

#content-wrap .content #sub-nav ul li.action a {
	background: rgba(96, 75, 62, 0.8);
	border-radius: 5px;
	color: #fff;
}

#content-wrap .content #sub-nav ul li ul.sub-category {
	position: absolute;
	margin: 0;
	display: none;
	width: 100%;
	background: #826452;
	animation-name: fadeInUp;
	-webkit-animation-name: fadeInUp;
	-webkit-animation-duration: 0.5s;
	z-index: 1;
}

#content-wrap .content #sub-nav ul li:hover ul.sub-category {
	display: block;
}

#content-wrap .content #sub-nav ul li ul.sub-category li {
	margin: 5px 0;
	padding: 5px 0;
	border-bottom: 1px #ccc solid;
	text-align: center;
	width: 100%;
}

#content-wrap .content #sub-nav ul li ul.sub-category li a {
	padding: 5px;
	color: #fff;
}

#content-wrap .content #sub-nav ul li ul.sub-category li:hover {
	background: #B59785;
}

#content-wrap .content #sub-nav ul li.action ul.sub-category li a {
	background: none;
	border-radius: 0;
}


/* +width:1024 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 1024px) {
	#content-wrap .content {
		width: 960px;
	}
	
	#content-main #article img {
		width: 100%;
	}
}
	
	
/* +width:768 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
	#content-wrap .content {
		margin: 0 15px;
		width: auto;
	}
	
	div#content-main ,
	aside {
		width: 100%;
	}
}