﻿/* 메인 컨테이너 */
#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; margin-top: 0.75rem; }
.MC_wrap2 { position: relative; margin-top: 3.5rem; padding: 2.5rem 0 3rem; }
.MC_wrap2::before { position: absolute; top: 0; left: 50%; transform: translateX(-50%); -webkit-transform: translateX(-50%); width: 69rem; height: 100%; border-radius: 2rem 2rem 0 0; background: #effafe; content: ""; }

.MC_box1 { position: relative; width: 100%; height: 29rem; } /* 메인비주얼 */
.MC_box2 { position: relative; width: 26%; height: 19.2rem; float: left; } /* 식단 */
.MC_box3 { position: relative; width: 40%; height: 19.2rem; float: left; margin-left: 5%; } /* 게시판 */
.MC_box4 { position: relative; width: 25%; height: 19.2rem; float: right; } /* 캘린더 */
.MC_box5 { position: relative; width: calc((100% - 4.1rem) / 2); height: 14.25rem; float: left; } /* 갤러리 */
.MC_box6 { position: relative; width: calc((100% - 39.1rem) / 2); height: 14.25rem; float: left; margin-left: 3%; } /* 바로가기1 */
.MC_box7 { position: relative; width: 17.5rem; height: 14.25rem; float: right; } /* 팝업존 */

@media (max-width: 1570px) { 
    .MC_box1 { height: auto; } /* 메인비주얼 */
}

@media (max-width: 1240px) { 
    .MC_wrap2 { margin-top: 1.5rem; padding: 1.5rem 0; }

    .MC_box2 { width: 32%; } /* 식단 */
    .MC_box3 { width: 65%; float: right; margin-left: 0; } /* 게시판 */
    .MC_box4 { width: 100%; height: auto; margin-top: 1.5rem; float: left; } /* 캘린더 */
    .MC_box5 { width: calc((100% - 16.1rem) / 2); } /* 갤러리 */
    .MC_box6 { width: calc((100% - 25.1rem) / 2); } /* 바로가기1 */
}

@media (max-width: 860px) { 
    .MC_box2 { width: 100%; height: auto; } /* 식단 */
    .MC_box3 { width: 100%; height: auto; margin-top: 1.5rem; } /* 게시판 */
    .MC_box5 { width: 100%; height: auto; margin-bottom: 1.5rem; } /* 갤러리 */
    .MC_box6 { width: calc(100% - 19rem); height: auto; margin-left: 0; } /* 바로가기1 */

}

@media (max-width: 640px) { 

    .MC_box6 { width: 100%; margin-bottom: 1.5rem; } /* 바로가기1 */
    .MC_box7 { width: 100%; height: auto; } /* 팝업존 */

}