﻿

#container { position:relative; height:100%; overflow:hidden; background:#fff; }


.main_content { position:relative; z-index:7; width:980px; margin:0 auto; }
.main_content:after { content:""; display:block; clear:both; }

.MC_box1 { position:relative; width:100%; height:385px; } /* 메인비주얼 */
.MC_box2 { position:relative; width:49%; height:295px; margin:20px 0; float:left;} /*  공지사항 */
.MC_box3 { position:relative; width:49%; height:295px; margin:20px 0; float:right; } /* 공지사항 */
.MC_box4 { position:relative; width:35%; height:240px; float:left; } /* 행사일정 */
.MC_box5 { position:relative; width:35%; height:240px; margin:0 2.5%; float:left; } /* 오늘의식단 */
.MC_box6 { position:relative; width:25%; height:240px; float:left; } /* 바로가기 */
.MC_box7 { position:relative; width:475px; height:310px; float:right; margin:20px 0; } /* 포토갤러리 */
.MC_box8 { position:relative; width:475px; height:310px; float:left; margin:20px 0; } /* 팝업존 */

@media (max-width: 1024px) {

	#container,
	.main_content,
	.MC_box1, .MC_box2, .MC_box3, .MC_box4, .MC_box5, .MC_box6, .MC_box7, .MC_box8 { -webkit-box-sizing:border-box; -moz-box-sizing:border-box; -ms-box-sizing:border-box; box-sizing:border-box;  }

	.MC_wrap, .MC_wrap2, .MC_box1, .MC_box2, .MC_box3, .MC_box4, .MC_box5, .MC_box6, .MC_box7, .MC_box8 { -webkit-transition:all 0.3s ease; -moz-transition:all 0.3s ease; -ms-transition:all 0.3s ease; transition:all 0.3s ease }


	#container { width:100%; height:auto; }
	.main_content { width:95%;  }
	.MC_box1 { height:auto; }
	.MC_box7 {width:48.5%; } /*포토갤러리*/
	.MC_box8 {width:48.5%; } /* 팝업존 */
}
@media (max-width:860px) {
	.MC_box4 { width:100%; margin-bottom:20px; }
	.MC_box5 { width:49%; margin:0 2% 0 0; }
	.MC_box6 { width:49%; }
}
@media (max-width:860px) {
	.MC_box2 { width:100%; } /*  공지사항 */
	.MC_box3 { width:100%; margin-top:0; } /* 공지사항 */
	.MC_box7 {position:relative; top:auto;  width:100%;margin-top:10px} /* 포토갤러리 */
	.MC_box8 {position:relative; top:auto;  width:100%;margin-top:10px} /* 팝업존 */

 }

@media (max-width: 640px) {
	.MC_box5 {width:100%;} /* 오늘의식단 */
	.MC_box6 {width:100%; margin-top:20px; } /* 바로가기 */
	.MC_box7 {width:100%; } /*포토갤러리*/
}
