﻿/* 메인 컨테이너 */
#container { position:relative; z-index:2; width:100%; }
#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; height: 3px; }
#container ::-webkit-scrollbar-thumb { background-color: #aaa; border-radius:10px; }
#container ::-webkit-scrollbar-track { background-color: #ddd; border-radius:10px; }

.MC_wrap1 { position:relative; margin-top:-6.65rem; }
.MC_wrap3 { position: relative; margin: 2rem 0 2.5rem;}

.MC_box1 { position:relative; width:100%; height:27.5rem; } /* 메인비주얼 */
.MC_box2 { position:relative; width:100%; height: 11.25rem; margin-bottom: 2rem; background: #fff; border-radius: 2rem; box-shadow: 0 0 10px rgba(0,0,0,.1); } /* 바로가기1 */
.MC_box3 { position: relative; width: 100%; height: 18.5rem; margin-bottom:1.7rem; } /* 게시판 */
.MC_box4 { position: relative; width: 64%; height: 14.4rem; float: left; } /* 갤러리 */
.MC_box4:before { position: absolute; content:''; left:0.86rem; bottom:-2.2rem; width: 300%; height: 11.8rem; background:url('/images/template/T0017/main/0017_bg_gallery.png') repeat 0 0; border-radius: 5rem 0 0 5rem; } /* 갤러리 */
.MC_box5 { position: relative; width: 29%; height: 14.4rem; float: right; } /* 팝업존 */
.MC_box6 { position: relative; width: 100%; height: 14.2rem; margin-top: 3.7rem; } /* 캘린더 */
.MC_box7 { position: relative; width: 100%; height: 5rem; float: left; margin-top: 1.8rem; } /* 식단 */

@media (max-width: 1240px) {
    .MC_wrap1 { margin-top: -1rem; }

    .MC_box1 { height: auto; } /* 메인비주얼 */
    .MC_box2 { width: 100%; height: auto; } /* 바로가기 */
    .MC_box2::before{ width: 200vw; left: -100%;}
}

@media (max-width: 1024px) {
	.MC_wrap3 { margin: 1.5rem 0 2rem;}
	
	.MC_box2 { margin-bottom: 1.5rem; } /* 바로가기1 */
    .MC_box3 { margin-bottom:1.05rem; } /* 게시판 */
    .MC_box6 { margin-top: 3.3rem; } /* 캘린더 */
    .MC_box7 { margin-top: 1.5rem; } /* 식단 */
}

@media (max-width: 980px) {
    .MC_box3 { height: auto; } /* 게시판 */
    .MC_box4 { width: 60%; } /* 갤러리 */
    .MC_box5 { width: 35%; } /* 팝업존 */
}

@media (max-width: 680px) {
    .MC_wrap3 { margin: 2.8rem 0 2rem; }

    .MC_box2 { margin-bottom: 1.5rem; } /* 바로가기1 */
    .MC_box3 { margin-bottom: 1.5rem; }
    .MC_box4 { width: 100%; height: auto; } /* 갤러리 */
    .MC_box4:before { left:-5rem; bottom:-18rem; height: 26.5rem; border-radius: 0; } /* 갤러리 */
    .MC_box5:before { left:-2rem; bottom:auto; top:6rem; height:183%; border-radius:0; } /* 갤러리 */
    .MC_box5 { width: 100%; height: auto; margin-top: 1.5rem; } /* 팝업존 */
    .MC_box6 { margin-top: 1.5rem; } /* 캘린더 */
    .MC_box7 { height: auto; margin-top: 3.5rem; } /* 식단 */
}

@media (max-width: 480px) {
	.MC_box2 { margin-bottom: .5rem; } /* 바로가기1 */
	.MC_box4:before { bottom:-20rem; height: 28.5rem; } /* 갤러리 */
    .MC_box5 { margin-top: 3.2rem; } /* 팝업존 */
    .MC_box6 { height: auto; margin-top:.6rem; } /* 캘린더 */
    .MC_box7 { height: auto; margin-top: 1.6rem; } /* 식단 */
}