﻿

/* 메인 컨테이너 */
#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:2rem; }
.MC_wrap2 { position:relative; margin:0 auto 1.5rem; padding-bottom:2.5rem; background:url('/images/dgedu/template/TC12/main/bg_wrap02.png') no-repeat calc(50% - 42.5rem) 3rem;}
.MC_wrap2:before { content: ''; display: block; height: 24rem; 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/TC12/main/bg_wrap02.png'); width:10rem; height: 10rem; position: absolute; left: -10rem; top: -5.5rem;; z-index: -2;}

.MC_wrap1 .container{ display: flex; justify-content: space-between; align-items: center; }
.MC_wrap1 .container > div {}

.MC_box1 { position:relative; width:65.7%; height:518px; max-width:46rem; overflow: hidden; border-radius: 0 0 2rem 0; } /* 메인비주얼 */
.MC_box2 { position:relative; width:34.3%; height:518px; padding-left: 1rem; border-radius: 0 0 2rem 2rem; display: flex; flex-direction:column;} /* 바로가기 */
.MC_box3 { position:relative; width: 100%; height:4.5rem; line-height: 4.5rem; margin-bottom: 2rem; border-radius: 4rem; background: url('/images/dgedu/template/TC12/main/bg_wage.png') no-repeat;} /* 최저임금 */
.MC_box4 { position:relative; width:100%; height:18rem; flex-shrink: 0; } /* 게시판 */

@media (max-width:1520px) {


}

@media (max-width: 1440px) {
    .MC_box3 {height: auto; background-size: cover; background-position: center;}
}

@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: 1rem;}

    .MC_box1 {width:60%; height: 20rem;} /* 메인비주얼 */
    .MC_box2{ width:40%; height: 20rem;} /* 바로가기 */
    .MC_box4{ height:auto;} /* 게시판 */
}

@media (max-width: 1024px) {
    .MC_wrap1{ padding-bottom: 0; }
    .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: auto; top: 5rem; bottom: 0; }
    .MC_wrap2:after{ display: none; }

    .MC_box1 {width:100%; height:auto; margin-bottom: 1rem;} /* 메인비주얼 */
    .MC_box2{ width:100%; height:auto; padding: 0;} /* 바로가기 */
    .MC_box3{ border-radius: 2rem; background-position: left;} /* 기부현황 */
    .MC_box4{ margin-bottom: 2rem; } /* 게시판 */
}

@media (max-width: 768px) {

    .MC_box2{ position:relative; width:100%; height:auto; right:auto;} /* 바로가기 */
    .MC_box4{ margin:.5rem 0 1.5rem 0;} /* 게시판 */
}

@media (max-width: 540px) {
    .MC_box1{margin-bottom: 0.5rem;}
    .MC_box2{margin-top: 0; }
    .MC_box3{ border-radius: 1.5rem; background:url('/images/dgedu/template/TC12/main/bg_wage_m.png') no-repeat; background-size: cover;} /* 기부현황 */
}

@media (max-width: 460px) {
	#mNav .snb .login li:nth-of-type(2n):before{ display:none; }
}
