﻿
/* 메인 컨테이너 */
#container { position:relative; z-index:2; width:100%; }
#container:before { content:""; position:absolute; left:0; bottom:4rem; width:100%; height:25rem; background:#e0f7fa; z-index:-1; }
#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:-10.5rem; }
.MC_wrap2 { position:relative; margin:1rem auto 2.5rem; }
.MC_wrap2:before { content:""; position:absolute; left:-8rem; bottom:10.5rem; width:calc(100% + 16rem); height:21rem; background:#f5f9ff; border-radius:4.5rem; z-index:-1;}
.MC_wrap3 { position:relative; padding-bottom:4rem; background:url('/images/dgedu/template/TB04/main/MC_wrap3_bg.png') no-repeat bottom center; } 

.MC_box1 { position:relative; height:36.5rem; overflow:hidden; } /* 메인비주얼 */
.MC_box2 { position:relative; width:100%; max-width:35rem; margin-bottom:4rem; } /* 바로가기1 */
.MC_box3 { position:relative; width:70%; height:16rem; float:left; } /* 게시판 */
.MC_box4 { position:relative; width:27%; height:16rem; float:right; } /* 팝업존 */
.MC_box5 { position:relative; width:70%; margin:2rem 0; float:left; } /* 바로가기2 */
.MC_box6 { position:relative; width:27%; margin-top:3.5rem; float:right;} /* 바로가기3 */
.MC_box7 { position:relative; width:70%; float:left;} /* 사용자별서비스 */
.MC_box8 { position:relative; width:100%; height:auto; } /* 갤러리 */
  
@media (max-width: 1440px) {
    .MC_box1  { height:auto;}
} 
@media (max-width: 1240px) {

    #container{ padding-top:6rem;}
    
    .MC_wrap1 { position:relative; margin-top:-8rem; }
    .MC_wrap2:before{ height:30rem;}

    .MC_box3 {width:60%;} /* 공지사항 */
    .MC_box4 {width:38%;} /* 팝업존 */
    .MC_box5 {width:60%; float:left; } /* 바로가기2 */
    .MC_box6 {width:38%; margin:2rem 0; float:right;} /* 바로가기3 */
    .MC_box7 {width:100%;} /* 사용자별서비스 */
} 
@media (max-width: 860px) {
    .MC_wrap1 { margin-top:-2rem; }
    .MC_wrap2 { margin-top:1.5rem; }
    .MC_wrap2:before{ display:none;}

    .MC_box2 {max-width:100%; margin-bottom:1.5rem;} /* 바로가기 */
    .MC_box3 {width:100%; height:auto; float:none; } /* 공지사항 */
    .MC_box4 {width:100%; height:auto; float:none; margin-top:1.5rem; } /* 팝업존 */
    .MC_box5 {width:100%; float:none; margin:1.5rem 0; overflow:hidden; } /* 바로가기2 */
    .MC_box6 {width:100%; margin:0 0 1.5rem; float:none;} /* 바로가기3 */
} 
@media (max-width: 680px) {
    #container:before { height:57rem; }

    .MC_wrap3 { padding-bottom:0; background-size:cover;} 
}
@media (max-width:460px){ 
	#mNav .snb .login li:nth-of-type(2n):before{ display:none; }
}
@media (max-width: 420px) { 
    .MC_wrap1 { margin-top:0; }
}
