﻿@import url('/resource/css/dgedu/up_pop.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; }
#container ::-webkit-scrollbar-track { background-color: #ddd; }

.MC_wrap1 { position:relative; padding:3rem 0; background: url('/images/dgedu/template/TC32/main/M_visual_bg.png') no-repeat top center; }
.MC_wrap2 { position:relative; display: flex; align-items: center; justify-content: space-between; margin:2rem auto 2.5rem; background:url('/images/dgedu/template/TC32/main/bg_wrap02.png') no-repeat calc(50% - 42.5rem) 3rem;}
.MC_wrap2:before { content: ''; display: block; height: 22rem; width: 500%; position: absolute; top: -2rem; left: -5rem; background: #fff; border-radius: 4rem; z-index: -1; }
.MC_wrap2:after{ display:block; content:url('/images/dgedu/template/TC32/main/bg_wrap02.png'); width:10rem; height: 10rem; position: absolute; left: -10rem; top: -5.5rem;; z-index: -2;}

.MC_wrap1 .container{}
.MC_wrap1 .container::after{display: none;}
.MC_wrap1 .container > div {}

/* ================================================== */
/* 2026-09-04 메인비주얼 내용 수정 시작 */
/* ================================================== */
/*.MC_box1 { position:relative; width:100%; height:25rem; overflow: hidden; }*/ /* 메인비주얼 */
.MC_box1 { position:relative; width:100%; } /* 메인비주얼 */

/* ================================================== */
/* 2026-09-04 메인비주얼 내용 수정 종료 */
/* ================================================== */

.MC_box2 { position:relative; width:100%; margin-top: 4rem;} /* 바로가기1 */

.MC_box3 { position:relative; width:59%; height:18rem; flex-shrink: 0; } /* 게시판 */
.MC_box4 { width:41%; margin-left: 2rem;} /* 바로가기2 */

@media (max-width:1520px) {


}

@media (max-width: 1440px) {
  .MC_wrap1{background-size: 150%; padding-bottom: 2.5rem;}

  .MC_box1{ width: 100%; height:auto; padding-bottom: 1rem; margin-bottom: 0;} /* 메인비주얼 */
  .MC_box2{margin-top: 2rem;}

}

@media (max-width: 1240px) {

    #container{ padding-top:6rem;}
    .MC_wrap1{ margin:0; padding: 1rem 0;}
    .MC_wrap1 .container{ align-items: flex-start;}
    .MC_wrap2{ margin: 1rem 0 2.5rem;}
    .MC_box3{ height:auto; width:50%;} /* 게시판 */
    .MC_box4{ width:auto; margin-top: 0;} /*바로가기2*/
}

@media (max-width: 1024px) {
    .MC_wrap1{ padding-bottom: 1rem; }
    .MC_wrap1 .container{ flex-direction: column; align-items: center; }
    .MC_wrap2{ flex-wrap: wrap; padding: 1rem; margin-top: 0; margin-bottom: 2rem; }
    .MC_wrap2:before{ height: 100%; top: 0; }
    .MC_wrap2:after{ display: none; }

    .MC_box2{ width:100%; max-width: 100%; height:auto; padding: 0;} /* 바로가기1 */

    .MC_box3{ width: 100%; margin-bottom: 2rem; } /* 게시판 */
    .MC_box4{ width: 100%; margin: 0;}/* 바로가기2 */
}

@media (max-width: 768px) {

    .MC_box1{ padding-bottom: 1rem}
    .MC_box2{ position:relative; width:100%; height:auto; right:auto;} /* 바로가기1 */
}

@media (max-width: 640px) {
    .MC_wrap2{flex-flow: column; }

    .MC_box3{width:100%;}
    .MC_box4{width:100%; max-width: 100%; }
}
@media (max-width: 540px) {
    .MC_box1{margin-bottom: 1rem;;}
    .MC_box2{margin-top: 0; }
}

@media (max-width: 460px) {
	#mNav .snb .login li:nth-of-type(2n):before{ display:none; }
}
