﻿

/* 메인 컨테이너 */
#container { position:relative; z-index:2; width:100%; background: #f1f9fe;}
#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; }
#container ::-webkit-scrollbar-track { background-color: #ddd; }

.MC_wrap1 { position:relative; padding-bottom:3rem; }
.MC_wrap2 { position:relative; margin:2.5rem auto 2rem; padding-bottom:2.5rem; display: flex; justify-content: space-between; background:url('/images/dgedu/template/TC04/main/bg_wrap02.png') no-repeat calc(50% - 42.5rem) 3rem;}
.MC_wrap2:before { content: ''; display: block; height: 20rem; width: 500%; position: absolute; top: -3rem; left: -5rem; background: #fff; border-radius: 4rem; z-index: -1; }
.MC_wrap2:after{ display:block; content:url('/images/dgedu/template/TC04/main/bg_wrap02.png'); width:10rem; height: 10rem; position: absolute; left: -10rem; top: -5.5rem;; z-index: -2;}
.MC_wrap3 { position:relative; background:url('/images/dgedu/template/TC15/main/bg_wrap02_1.png') no-repeat calc(50% - 42.5rem) 3rem;}

.MC_wrap1 .container{ display: flex; justify-content: space-between; align-items: center;}
.MC_wrap1 .container > div {}

.MC_box1 { position:relative; width:65.7%; height:25.95rem; max-width:46rem; overflow: hidden; border-radius: 0 0 2rem 2rem; } /* 메인비주얼 */
.MC_box2 { position:relative; width:34.3%; height:23.25rem; padding-left: 1rem; border-radius: 0 0 2rem 2rem} /* 바로가기 */
.MC_box3 { position:relative; width:47%; height:15rem; flex-shrink: 0; } /* 게시판 */
.MC_box4 { position:relative; width:17.25rem; height:15rem; margin:0 2rem;} /* 팝업존 */
.MC_box5 { position:relative; width:17.25rem; height:15rem; } /* 고객센터 */

@media (max-width: 1240px) {

    #container{ padding-top:6rem;}
    .MC_wrap1{ margin:0; padding-bottom: 0;}
    .MC_wrap1 .container{ align-items: flex-start;}
    .MC_wrap2{ margin-top: 4rem;}

    .MC_box1{ height:auto; } /* 메인비주얼 */
    .MC_box2{ width:43%; height:20rem;} /* 바로가기 */
    .MC_box3{ width:40%; height:auto;} /* 게시판 */
    .MC_box4{ width: 15.25rem; } /* 팝업존 */
}

@media (max-width: 1024px) {
    .MC_wrap1{ padding-bottom: 0; }
    .MC_wrap1 .container{ flex-direction: column; align-items: center; }
    .MC_wrap2{ flex-wrap: wrap; background: #fff; padding:2.5rem 1rem; margin: 0 0 2rem;}
    .MC_wrap2:before{ display: none; }
    .MC_wrap2:after{ display: none; }

    .MC_box1{ width:100%;} /* 메인비주얼 */
    .MC_box2{ width:100%; height:auto; padding: 0; } /* 바로가기 */
    .MC_box3{ width:100%; height:auto; margin-bottom: 2rem; } /* 게시판 */
    .MC_box4{ width:48%; height:auto; margin: 0; } /* 팝업존 */
    .MC_box5{ width:48%; height:auto; } /* 고객센터 */
}

@media (max-width: 768px) {

    .MC_wrap2{padding: 2.5rem 1rem; }

    .MC_box2{ position:relative; width:100%; height:auto; right:auto;} /* 바로가기 */
    .MC_box3{ width:100%; height:auto; margin:0 0 2rem 0 ;} /* 게시판 */
    .MC_box4{ margin:0 0 2rem 0 ;} /* 팝업존 */
}

@media (max-width:600px) {
    .MC_box4{ width:100%; } /* 팝업존 */
    .MC_box5{ width:100%; } /* 고객센터 */
}

@media (max-width: 540px) {
    .MC_box1{margin-bottom: 1rem;}
    .MC_box4{ width:100%; height:auto; padding-right: 0;} /* 팝업존 */
    .MC_box5{ width:100%; height:auto; padding-left: 0; } /* 고객센터 */
}

@media (max-width:460px){ 
	#mNav .snb .login li:nth-of-type(2n):before{ display:none; }
}