/* =Responsive Structure
----------------------------------------------- */

@media screen and (min-width: 1190px) {
	.site {
		width: 1080px;
	}
	#primary {
		width:820px;
	}
	.primary-css {
		width:820px;
	}
	.page-links,
	.widget,
	blockquote,
	.site-content article,
	.site-content .site-navigation,
	#infinite-handle,
	.comments-title, #reply-title,
	#respond {
		margin-bottom:20px;
	}
	#homepage-message {
		margin-top: 50px;
	}
	article.sticky .featured-post,
	.page-header,
	p,
	.featured-image,
	.entry-content table,
	.comment-content table,
	.widget.widget_catcheverest_social_widget,
	#content .searchform {
		margin-bottom: 40px;
	}
	#header-right .widget,
	.entry-header,
	article.format-aside .entry-title,
	.comments-area article header {
		margin-bottom:20px;	
	}
	.page .entry-header,
	.widget-title,
	#header-right .widget.widget_catcheverest_social_widget, {
		margin-bottom: 20px;
	}
	#featured-post .entry-header {
		margin-bottom: 0;
	}
	.container {
		padding: 0;/*rewrite  0 20px; */
	}
	#site-logo,
	#hgroup,
	#header-right,
	#supplementary,
	#main {
		padding-top:0px;
	}
	#hgroup-wrap,
	.hentry,
	.comments-area article { 
		padding-bottom:0px;
	}
	
	#site-generator .site-info {
		padding: 30px 20px;
	}
	
	/* Font Sizes */
	body,
	button,
	input,
	select,
	textarea {
		font-size: 16px;
		font-size: 1.6rem;
	}
	#site-title {
		font-size: 40px;
	}
	.entry-header .entry-title,
	#homepage-message {
		font-size: 30px;
		font-size: 3rem;
	}
	#homepage-message span {
		font-size: 20px;
		font-size: 2rem;	
	}
	#featured-post .entry-title {
		font-size: 22px;
		font-size: 2.2rem;		
	}	
}
@media screen and (min-width: 1060px) and (max-width: 1190px){
	.site {
		width:960px;
	}
	#primary {
		width: 700px;
	}
	.primary-css {
		width: 700px;
	}
	.page-links,
	.widget,
	blockquote,
	.site-content article,
	.site-content .site-navigation,
	#infinite-handle,
	.comments-title, #reply-title,
	#respond {
		margin-bottom:20px;
	}
	#homepage-message {
		margin-top: 30px;
	}
	article.sticky .featured-post,
	.page-header,
	p,
	.featured-image,
	.entry-content table,
	.comment-content table,
	.widget.widget_catcheverest_social_widget,
	#content .searchform {
		margin-bottom: 20px;
	}
	#header-right .widget,
	.entry-header,
	article.format-aside .entry-title,
	.comments-area article header {
		margin-bottom: 20px;	
	}
	.page .entry-header,
	.widget-title,
	#header-right .widget.widget_catcheverest_social_widget {
		margin-bottom: 10px;
	}
	.container {
		padding: 0;/*rewrite  0 20px; */
	}
	#site-logo,
	#hgroup,
	#header-right,
	#supplementary,
	#main {
		padding-top:0px;
	}
	#hgroup-wrap,
	.hentry,
	.comments-area article { 
		padding-bottom:0px;
	}
	#site-generator .site-info {
		padding: 20px 20px;
	}
	#header-menu ul.menu a, 
	#colophon #access-footer ul.menu a {
		padding: 0 15px;
	}
	.entry-header .entry-title {
		padding-bottom: 0;
	}
	
	/* Font Sizes */
	body,
	button,
	input,
	select,
	textarea {
		font-size: 14px;
		font-size: 1.4rem;
	}
	.entry-header .entry-title,
	#homepage-message {
		font-size: 20px;
		font-size: 2rem;
	}
	#homepage-message span {
		font-size: 15px;
		font-size: 1.5rem;	
	}
	.widget-title {
		font-size: 16px;
		font-size: 1.6rem;		
	}
	.comments-title, #reply-title,
	.entry-content h1, .comment-content h1 {
		font-size: 19px;
		font-size: 1.9rem;
	}
	.entry-content h2, .comment-content h2 {
		font-size: 18px;
		font-size: 1.8rem;
	}
	.entry-content h3, .comment-content h3 {
		font-size: 17px;
		font-size: 1.7rem;
	}
	.entry-content h4, .comment-content h4 {
		font-size: 16px;
		font-size: 1.6rem;	
	}
	.entry-content h5, .comment-content h5 {
		font-size: 15px;
		font-size: 1.5rem;	
	}
	.entry-content h6, .comment-content h6 {
		font-size: 14px;
		font-size: 1.4rem;	
	}
}

@media screen and (max-width: 1060px) {
	.site {
		margin:0px auto;
		width: 720px;
	}
	#primary {
		width: 100%;
	}
	.primary-css {
		width: 100%;
	}
	#secondary{display:none;}
	.secondary-css{display:none;}
	.page-links,
	.widget,
	blockquote,
	.site-content article,
	.site-content .site-navigation,
	#infinite-handle,
	.comments-title, #reply-title,
	#respond {
		margin-bottom:20px;
	}
	#homepage-message {
		margin-top: 30px;
	}
	article.sticky .featured-post,
	.page-header,
	p,
	.featured-image,
	.entry-content table,
	.comment-content table,
	.widget.widget_catcheverest_social_widget,
	#content .searchform {
		margin-bottom: 20px;
	}
	#header-right .widget,
	.entry-header,
	article.format-aside .entry-title,
	.comments-area article header {
		margin-bottom: 20px;	
	}
	.page .entry-header,
	.widget-title,
	#header-right .widget.widget_catcheverest_social_widget {
		margin-bottom: 10px;
	}
	.container {
		padding: 0;/*rewrite  0 20px; */
	}
	#site-logo,
	#hgroup,
	#header-right,
	#supplementary,
	#main {
		padding-top:0px;
	}
	#hgroup-wrap,
	.hentry,
	.comments-area article { 
		padding-bottom:0px;
	}
	#site-generator .site-info {
		padding: 20px 20px;
	}
	#header-menu ul.menu a, 
	#colophon #access-footer ul.menu a {
		padding: 0 15px;
	}
	.entry-header .entry-title {
		padding-bottom: 0;
	}
	
	/* Font Sizes */
	body,
	button,
	input,
	select,
	textarea {
		font-size: 14px;
		font-size: 1.4rem;
	}
	.entry-header .entry-title,
	#homepage-message {
		font-size: 20px;
		font-size: 2rem;
	}
	#homepage-message span {
		font-size: 15px;
		font-size: 1.5rem;	
	}
	.widget-title {
		font-size: 16px;
		font-size: 1.6rem;		
	}
	.comments-title, #reply-title,
	.entry-content h1, .comment-content h1 {
		font-size: 19px;
		font-size: 1.9rem;
	}
	.entry-content h2, .comment-content h2 {
		font-size: 18px;
		font-size: 1.8rem;
	}
	.entry-content h3, .comment-content h3 {
		font-size: 17px;
		font-size: 1.7rem;
	}
	.entry-content h4, .comment-content h4 {
		font-size: 16px;
		font-size: 1.6rem;	
	}
	.entry-content h5, .comment-content h5 {
		font-size: 15px;
		font-size: 1.5rem;	
	}
	.entry-content h6, .comment-content h6 {
		font-size: 14px;
		font-size: 1.4rem;	
	}
}


@media screen and (max-width: 960px) {
	/* iPhone Landscape */	
	.site {
		width: 700px;
	}
	#primary 
	{
		width: 100%;
	}
	.primary-css 
	{
		width: 100%;
	}
	#secondary {display:none;}
	.secondary-css{display:none;}
	#header-menu ul.menu a, #colophon #access-footer ul.menu a {
		padding: 0 10px;
	}
	
	/* Font Sizes */
	body,
	button,
	input,
	select,
	textarea {
		font-size: 13px;
		font-size: 1.3rem;
	}
	.entry-meta {
		font-size: 12px;
		font-size: 1.2rem;	
	}
	#featured-post .entry-title,
	.page-links {
		font-size: 18px;
		font-size: 1.8rem;
	}	

}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : portrait) {
	/* iPad Portrait */	
	.site {
		margin:0 auto;
		width: 660px;
	}
	#primary 
	{
		width: 100%;
	}
	.primary-css 
	{
		width: 100%;
	}
	#secondary {display:none;}
	.secondary-css{display:none;}
}

@media screen and (max-width: 767px) {
	/* Larger Smart Devices */		
	.site {
		width: 80%;;
	}
	#primary 
	{
		width: 100%;
	}
	.primary-css 
	{
		width: 100%;
	}
	#secondary {display:none;}
	.secondary-css{display:none;}
	#site-title {
		font-size: 30px;
		font-size: 3rem;
	}
	#site-description {
		font-size: 13px;
		font-size: 1.3rem;
		line-height: 1.4;
	}
	#header-right {
		max-width: 100%;
		width: 100%;
	}
	#main-slider .entry-container {
		bottom: 0;
		max-width: 100%;
		position: relative;
	}
	.list-index,.list-index-topnews,#main-slider{
		width:100% !important; /*网页元素直接嵌入了width css，这里需要加入优先级声明*/
	}
	#main-slider .entry-header {
		margin-bottom: 0;
	}
	#main-slider .entry-title a {
		background-color: transparent;
		padding: 10px 25px 0;
	}
	#main-slider .entry-content {
		background-color: transparent;
		padding: 0 25px 25px;	
	}
	#slider-nav a {
		font-size: 18px;
		font-size: 1.8rem;
		line-height: 1.4;
		padding: 0 5px;
	}
	.entry-header .entry-title,
	#homepage-message,
	.comments-title, #reply-title {
		font-size: 16px;
		font-size: 1.6rem;
	}
	#featured-post .post,
	#colophon #supplementary .widget-area,
	#site-generator .copyright, 
	#site-generator .powered {
		margin: 0;
		width: 100%;
	}
	#site-generator .copyright, 
	#site-generator .powered {
		text-align: center;
	}
	.menu {
		display: none;
	}
	.tinynav {
		display: block;
	}
	
	.sb-holder {
		display: block;
	}
	.commentlist .children {
		margin-left: 0;
	}
	.widget.widget_nav_menu .sb-holder {
		background-color: #3A3D41;
		color: #fff;
		clear: both;
		display: block;
		width: 100%;
	}
	.widget.widget_nav_menu a,
	.widget.widget_nav_menu a:hover {
		color: #fff;
	}
	/* Pagination */
	#nav-below .wp-pagenavi a, 
	#nav-below .wp-pagenavi span, 
	#nav-below #wp_page_numbers ul li a,
	.page-link span,
	.page-link a span {
		height: 25px;
		font-size:12px;
		line-height: 24px;
		padding:0 10px;
	}	
	#nav-below .wp-pagenavi a, 
	#nav-below .wp-pagenavi span,
	.page-link span {
		margin: 0 0 0 5px;
	}	
	#nav-below #wp_page_numbers ul li,
	#nav-below .wp-pagenavi a, 
	#nav-below .wp-pagenavi span {
		margin-bottom: 5px;
	}
	a#scrollup {
		font-size: 20px;
		padding: 3px;
	}
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
		.list-index{
			width:100%;}
	/* iPhone Landscape */
	.site {
		width: 90%;
	}
		#primary 
	{
		width: 100%;
	}
		.primary-css 
	{
		width: 100%;
	}
	#secondary {display:none;}
	.secondary-css{display:none;}
}
@media screen and (max-width: 480px) {
	.list-index{
	width:100%;}
	/* iPhone Portrait */	
	.site {
		margin:0 auto;
		width: 100%;
	}	
		#primary
	{
		width: 100%;
	}
		.primary-css 
	{
		width: 100%;
	}
	#secondary {display:none;}
	.secondary-css{display:none;}
	.container {
		padding: 0;/*rewrite  0 20px; */
	}
	#hgroup-wrap,
	.hentry,
	.comments-area article { 
		padding-bottom:0px;
	}
	#site-logo,
	#hgroup,
	#header-right,
	#supplementary,
	#main {
		padding-top:0px;
	}
	#homepage-message {
		margin-top: 20px;
	}
	
	/* Font Sizes */
	body,
	button,
	input,
	select,
	textarea {
		font-size: 12px;
		font-size: 1.2rem;
	}
	#site-title {
		font-size: 25px;
		font-size: 2.5rem;
	}
	#site-description {
		font-size: 12px;
		font-size: 1.2rem;
		line-height: 1.4;
	}
	.entry-meta,
	#site-generator {
		font-size: 11px;
		font-size: 1.1rem;	
	}
	#featured-post .entry-title,
	.page-links {
		font-size: 16px;
		font-size: 1.6rem;
	}
}
@media screen and (max-width: 320px) {
		.list-index{
	width:100%;}
	/* Small Devices */	
	.site {
		margin:0;
		width: 100%;
	}	
			#primary
	{
		width: 100%;
	}
		.primary-css 
	{
		width: 100%;
	}
	#secondary {display:none;}
	.secondary-css{display:none;}
	#site-title {
		font-size: 20px;
		font-size: 2rem;
	}
	#site-description {
		font-size: 12px;
		font-size: 1.1rem;
	}
}