﻿
@import url("/resource/font/TitilliumWeb/fonts.css");

/* 메인 컨테이너 */
#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; }
#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: -9rem; padding-bottom: 2rem;}
.MC_wrap1::before{width: 100%; height: 100%; background: #f3f3f3; position: absolute; bottom: 0; left: 0; z-index: -1; content: '';}
.MC_wrap2 {position: relative; padding: 2rem 0;}

.MC_box1 { position:relative; width: 100%; height:34.5rem;} /* 메인비주얼 */
.MC_box2 { position: relative; width: calc(100% - 17.5rem); height: 15rem; float: left;} /* 게시판 */
.MC_box3 { position: relative; width: 17.5rem; height: 14.2rem; float: left; margin-top:-2rem; } /* 팝업존 */ 
.MC_box4 { position: relative; width: 100%; height: 6.5rem; float: left; margin-top: 2rem;} /* 바로가기1 */
.MC_box5 { position: relative; width: 19rem; margin-right: 2rem; float: left; height: 13rem; } /* 행사일정 */
.MC_box6 { position: relative; width: 12rem; float: left; height: 13rem;} /* 오늘의식단 */
.MC_box7 { position: relative; width: 25rem; float: right; height: 13rem;} /* 포토앨범 */

@media (max-width:1440px){
    .MC_box1{height: auto;} /* 메인비주얼 */
}

@media (max-width:1240px){
    .MC_wrap1{padding-bottom: 1rem; margin-top: -4rem;}

    .MC_box4{height: auto;} /* 바로가기1 */
    .MC_box5{width: 100%; margin-bottom: 1rem; height: auto;} /* 행사일정 */
    .MC_box7{width: calc(100% - 14rem);} /* 포토앨범 */
}

@media (max-width:860px){
    .MC_wrap1{margin-top: -2rem;}

    .MC_box2{width: 100%; height: auto;} /* 게시판 */
    .MC_box3{width: 100%; height:auto; margin-top: 2rem;} /* 팝업존 */ 
}

@media (max-width: 768px){
    .MC_box6{width: 100%; height: auto;} /* 오늘의식단 */
    .MC_box7{width: 100%; margin-top: 1rem; height: auto;} /* 포토앨범 */
}

@media (max-width:580px){
    .MC_wrap1{padding: 1rem 0 0.5rem;}
    .MC_wrap2{padding: 1rem 0 1.5rem;}
}
