
/*header*/
@media screen and (max-width:500px) {
	#wrapper{padding-top:90px;}
	#header{height:89px;}
}

/*footer*/
@media screen and (max-width:1180px) {
	#in_footer {width:100%;}
}
@media screen and (max-width: 1024px) {
	#in_footer{width:90%; max-width:530px; padding:30px 0; word-break:keep-all; }
	.copy_logo {float:none; margin:0; text-align:center;}
	address {text-align:center;}
	address br{display:none; }
}

/*content*/
@media screen and (max-width:1180px) {
	.in_visual {width:100%;}
	#container {width:880px;}
}

@media screen and (max-width: 880px) {

	#container {width:760px;}

	.grid-sizer,.grid-item {width:240px;}

	.box-w2 {width:500px;}
	.box-w3 {width:240px;}
	.sermon {background-size:cover;}

	.content_tit {font-size:11px; line-height:14px; padding:10px 0 10px 84px; margin-bottom:20px;}
	.content_tit > span {font-size:16px; line-height:36px; color:#fff; display:block;}
}

@media screen and (min-width: 769px) and (max-width: 880px) {
	.worship_list{width:50%; }
	.main_map{width:46%; margin:22px 0 0 0;}
}

@media screen and (max-width: 768px) {

	#container {width:580px;}

	.grid-sizer,.grid-item {width:280px;}

	.box-w2 {width:580px;}
	.box-w3 {width:280px;}

	.content_tit {font-size:13px; line-height:14px; padding:10px 0 10px 84px; margin-bottom:20px;}
	.content_tit > span {font-size:22px; line-height:36px; color:#fff; display:block;}

	#menu_all {border:none; background:none;}
}

@media screen and (max-width: 580px) {

	#container {width:500px;}

	.grid-sizer,.grid-item {width:240px;}

	.box-w2 {width:500px;}
	.box-w3 {width:240px;}
	.sermon {background-size:cover;}

	.content_tit {font-size:11px; line-height:14px; padding:10px 0 10px 84px; margin-bottom:20px;}
	.content_tit > span {font-size:16px; line-height:36px; color:#fff; display:block;}

	/*.link_worship,.generation {float:none; margin-right:0;}

	.sermon {width:280px;}
	.sermon > h3 {font-size:14px; line-height:24px; color:#333;}
	.sermon_latest {width:100%;}
	.sermon_tit {font-size:16px; line-height:24px;}
	.sermon_latest dd {font-size:14px; line-height:20px;}*/

	.worship {height:auto;}
	.worship_list {float:none; width:100%; margin-bottom:20px;}
	.main_map{float:none; margin:0; width:100%;}
}

@media screen and (max-width: 500px) {

	#container {width:340px;}

	.grid-sizer,.grid-item {width:340px;}

	.box-w2 {width:340px;}
	.box-w3 {width:100%; }

	.weekly,
	.pastor{display:block; }

	.weekly img,
	.pastor img{width:100%; }

	.sermon {background-size:cover; background-position:86% 0; padding:20px; }

	.sj_board,.generation {display:none;}

	.content_tit {font-size:11px; line-height:14px; padding:10px 0 10px 84px; margin-bottom:20px;}
	.content_tit > span {font-size:16px; line-height:36px; color:#fff; display:block;}

	.sermon > h3 {font-size:14px; line-height:24px; color:#333;}
	.sermon_latest {margin-bottom:170px;  width:70%; }
	.sermon_tit {font-size:16px; line-height:24px;}
	.sermon_latest dd {font-size:14px; line-height:20px;}

	.location {margin:0; width:100%;}
}

@media screen and (max-width:414px) {

	#container {width:280px;}

	.grid-sizer,.grid-item {width:280px;}

	.content_tit {font-size:13px; line-height:14px; padding:10px 0 10px 84px; margin-bottom:20px;}
	.content_tit > span {font-size:22px; line-height:36px; color:#fff; display:block;}

}


@media screen and (max-width: 320px) {
	#wrapper {min-width:320px;}

}
