﻿
/* 메인 컨테이너 */
#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: 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; }
.MC_wrap2 { position: relative; }
.MC_wrap3 { position: relative; }
.MC_wrap3 .container { padding: 2.5rem 0; }
.MC_wrap3 .container::before { position: absolute; top: 0; right: -6.7rem; width: 200vw; height: 100%; background: #f7f7f7; content: ""; z-index: -1; }
.MC_wrap4 { margin: 3rem 0 ; }


.MC_box1 { position: relative; right:30%; width:49.7rem; height:32rem; } /* 메인비주얼 */
.MC_box2 { position: relative; width: 50%; height: 13.75rem; float: left; padding-top: 3.2rem; } /* 바로가기1 */
.MC_box3 { position: absolute; top: -32rem; right: 0; width:42%; height:32rem; padding: 2.6rem 0 2.5rem; } /* 게시판 */
.MC_box4 { position: relative; width: 47%; height: 13.75rem; float: right; } /* 식단 */
.MC_box5 { position: relative; width: calc(100% - 20.4rem); float: left; } /* 캘린더 */
.MC_box6 { position: relative; width: 17.5rem; float: right; } /* 팝업존 */


@media (max-width:1630px){
    .MC_box1 { position: relative; right: auto; width: 100%; height:30rem; } /* 메인비주얼 */
    .MC_box3 { position: relative; top: auto; right: auto; float: left; width: 100%; height: auto; padding: 1.5rem 0; } /* 게시판 */
    .MC_box2 { position: absolute; top: 21rem; left: 1rem; padding-top: 0; }
}

@media (max-width:1240px){
    .MC_wrap3 .container { padding: 2.5rem 1rem; }
}


@media (max-width:1024px){
	.MC_wrap3 .container::before { background: url('/images/template/T0006/main/0006_ptrn.png');}
}


@media (max-width:960px){
    .MC_wrap4 { margin: 1.5rem 0; }
    .MC_wrap3 .container { padding: 1.5rem 1rem; }

    .MC_box1 { height: auto; } /* 메인비주얼 */
    .MC_box2 { position: relative; top: auto; left: auto; width: 100%; height: auto; padding: 1.5rem 0 0; } /* 바로가기1 */
    .MC_box4 { width: 100%; height: auto; } /* 식단 */
    .MC_box5 { width: 100%; height: auto; } /* 캘린더 */
    .MC_box6 { width: 100%; height: auto; margin-top: 1.5rem; } /* 팝업존 */
}

@media (max-width:480px){
    .MC_wrap3 .container { padding: 1.5rem 0.5rem; }

}
