﻿
/*-----------------------------------------------------------
Author :hyerim, Park
Creative date :2022. 05. 18
-----------------------------------------------------------*/

/* 메인 컨테이너 */
#container { position:relative; z-index:2; width:100%; font-weight:400;}
#container *{ scrollbar-arrow-color:#ddd; scrollbar-Track-Color:#ddd; scrollbar-base-color:#aaa; scrollbar-Face-Color:#aaa; scrollbar-3dLight-Color:#aaa; scrollbar-DarkShadow-Color:#aaa; scrollbar-Highlight-Color:#aaa; scrollbar-Shadow-Color:#aaa;}
#container ::-webkit-scrollbar { width:5px; }
#container ::-webkit-scrollbar-thumb { background-color:#aaa; border-radius:10px; }
#container ::-webkit-scrollbar-track { background-color:#ddd; border-radius:10px; }

.MC_wrap1 {position: relative; overflow: hidden; padding-top: 3.5rem; background: #e8f8f8;} 
.MC_wrap1 .MC_cont{width: 35rem; float: left; }
.MC_wrap1 .MC_cont::after{display: block; content: ''; clear: both;}
.MC_wrap2 { position:relative; margin:2.5rem 0;}

.MC_box1 {position: relative; width:calc((100% - 60rem) / 2 + 25rem); height:27.25rem; float: left;} /* 비주얼 */
.MC_box2 {position: relative; width:50%; height:16rem; float: left;} /* 바로가기 */
.MC_box3 {position: relative; width:50%; height:16rem; float: left;} /* 캘린더 */
.MC_box3::before{width: 300%; height: 100%; background: #697ef1; position: absolute; left: 0; top: 0; content: '';}
.MC_box4 { width:50%; height:11.25rem; float: left;} /* 팝업존 */
.MC_box5 {position: relative; width:50%; height:11.25rem; float: left;}  /* 식단 */
.MC_box5::before{width: 300%; height: 100%; background: #fff; position: absolute; left: 0; top: 0; content: '';}
.MC_box6 { width:22.5rem; height:14rem; float: left; } /* 갤러리 */
.MC_box7 { width:calc(100% - 25rem); float:right;} /* 공지사항1 */

  
@media (max-width:1240px) {  
	.MC_wrap1 .MC_cont{width: 55%; padding-right: 1rem;}
	.MC_wrap2{margin: 1.5rem 0;}

	.MC_box1{width: 45%;}
	.MC_box6{width: 44%;}
	.MC_box7{width: 54%;}
}
@media (max-width:920px) {  
	.MC_wrap1 {padding: 0;}
	.MC_wrap1 .MC_cont{width: 100%;}

	.MC_box1{width: 100%; height: auto;}
	.MC_box6{width: 100%; height: auto;}
	.MC_box7{width: 100%; height: auto; margin-top: 1.5rem;}
}
@media (max-width:620px) { 
	.MC_wrap1 .MC_cont{padding-right: 0;}

	.MC_box2 {width: 100%; height: auto;}
	.MC_box3{width: 100%; height: auto;}
	.MC_box4{width: 100%; height: auto;}
	.MC_box5 {width: 100%; height: auto;}
}