@charset "utf-8";

/*
Site Name: 
Description: layout
*/

@media all and (max-width: 767px) {
#header-inner,
#footer-inner,
.content-inner{
	margin: 0px auto;
}

#header{
	margin-bottom: 25px;
}

#main{
	/*width: 320px;*/
	width: 304px;
	float: none;
	text-align: left;
	margin: 0px auto;
	word-wrap: break-word;
}
#contents #main .main-article-header{
	padding-top: 5px;
	margin-bottom: 20px;
	background-image: url(../img/smart_main_article_header_bg.gif);
	background-position: center top;
	background-repeat: no-repeat;
}
#contents #main .main-article-footer{
	padding-bottom: 5px;
	background-image: url(../img/smart_main_article_footer_bg.gif);
	background-position: center bottom;
	background-repeat: no-repeat;
}
#contents #main .main-article{
	padding: 15px 20px;
	background-image: url(../img/smart_main_article_bg.gif);
	background-position: center top;
	background-repeat: repeat-y;
	overflow: hidden;
}

#sub{
	width: 274px;
	float: none;
	margin: 0px auto;
	word-wrap: break-word;
}
#footer{
	text-align: center;
	background-image: url(../img/footer_bg.gif);
	background-position: center top;
	background-repeat: repeat-x;
	background-color: #0E54B9;
	overflow: hidden;
}


/* responsive layout
----------------------------------------- */	
.content-inner,
#header-inner,
#footer-inner{
	width: 320px;
}
.row,
.thumbnails {
	margin-left: 10px;
	margin-right: 10px;
}
.row .row {
	margin-left: 0;
	margin-right: 0;
}
.thumbnails > li {
	float: none;
	margin-left: 0;
}
[class*="span"]{
	float: none;
	display: block;
	width: 100%;
	margin-left: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
	
}

@media (max-width: 479px) {
/*#main,
#sub,
.content-inner {
	width: 320px;
}*/
}