/*
 * 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 {
	width: 100%;
	float: left;
	overflow: hidden;
}

aside {
	width: 30%;
	float: right;
}

/**
*
* =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;
}

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

#content-wrap .content #sub-nav a {
	color: #604b3e;
}

#content-wrap .content #sub-nav a:before ,
#content-wrap .content #sub-nav a:last-child:after {
    display: inline-block;
    content: "│";
    font-size: 12px;
    color: #DBDBDB;
    padding: 0 4px;
}


/* +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%;
	}
}