
@import url("/resource/font/Sora/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; }
#container ::-webkit-scrollbar-track { background-color: #ddd; }

.MC_wrap1 { margin: 2rem 0 3rem; }
.MC_wrap2 { position: relative; background: #f1f5ff; }
.MC_wrap2 .container {padding: 2.9rem 0 3rem;padding-bottom: 0;}
.MC_wrap3 { margin: 2.8rem 0 3rem; }
.MC_wrap4 { background: #e5f7f7; }
.MC_wrap4 .container { padding: 2.7rem 0 5.25rem; }

.MC_wrap4 + .comCont{ margin-top:2.5rem;}

.con_wrap1 { width: 23.5rem; float: right; }
.con_wrap2 { width: 23.5rem; float: right; }

.MC_box1 { position: relative; width: calc(94% - 23.5rem); height: 30rem; float: left; } /* 메인비주얼 */
.MC_box2 {position: relative;width: 100%;height: 18.8rem;display: none;} /* 포토뉴스 */
.MC_box3 {position: relative;width: 100%;height: 30rem;padding-top: 0.35rem;overflow: hidden;} /* 공지사항 */
.MC_box4 { position: relative; width: calc((88% - 23.5rem)/2); height: 40.1rem; float: left; } /* 학생기자단 기사 */
.MC_box5 { position: relative; width: calc((88% - 23.5rem)/2); height: 40.1rem; float: left; margin-left: 5%; } /* 사랑기자단 기사 */
.MC_box6 {position: relative;width: 100%;height: 15.5rem;box-sizing: border-box;padding-bottom: 1rem;} /* 대구교육신문 */
.MC_box7 { position: relative; width: 100%; height: 26.5rem; margin-top: 1.5rem; } /* 으뜸기사 */
.MC_box8 {position: relative;width: 100%;height: 20.2rem;} /* 팝업존 */
.MC_box8::before { position: absolute; bottom: 0; left: 0; width: 100%; height: 0.5rem; border-radius: 2rem; background: url('/images/dgedu/template/TC31/main/ptrn01.png'); content: ""; } 
.MC_box9 { position: relative; width: calc(100% - 27.5rem); height: 18.4rem; float: left; } /* 많이 읽는 기사 */
.MC_box10 { position: relative; width: 23.5rem; height: 18.4rem; float: right; } /* 교육 NEWS */
.MC_box11 { position: relative; width: 100%; height: 16.6rem; } /* 교육영상 */

@media (max-width:1440px){
    .MC_wrap2 .container {padding: 2.9rem 1rem 0;}
    .MC_wrap4 .container { padding: 2.7rem 1rem 5.25rem; }

    .MC_box9 { width: calc(100% - 25.5rem); } /* 많이 읽는 기사 */
}

@media (max-width: 1240px) {

    /* #container{ padding-top:6rem;} */
    #container{ padding-top:3.5rem;}

    .MC_box1 { width: calc(97% - 23.5rem); }
    .MC_box4 { width: calc((94% - 23.5rem)/2); } /* 학생기자단 기사 */
    .MC_box5 { width: calc((94% - 23.5rem)/2); margin-left: 3%; } /* 사랑기자단 기사 */


    /* 영역 height + 헤더 height */
    .open.upPop #container{ padding-top:calc(6.5rem + 3.5rem); }
    .hldy #container,
    .hldy.upPop #container{ padding-top:calc(2rem + 3.5rem); }
    .open.hldy.upPop #container{ padding-top:calc(9.15rem + 3.5em); }
}

@media (max-width:1024px){

    .MC_wrap4 + .comCont{ margin-top:2rem;}

    .con_wrap1 { width: 41%; }
    .con_wrap2 { width: 100%; margin-top: 1.5rem; }

    .MC_box1 { width: 55%; height: auto; } /* 메인비주얼 */
    .MC_box4 { width: 48%; } /* 학생기자단 기사 */
    .MC_box5 { width: 48%; float: right; margin-left: 0; } /* 사랑기자단 기사 */
    .MC_box6 { width: 23.5rem; height: auto; float: left; } /* 대구교육신문 */
    .MC_box7 { width: calc(100% - 25rem); height: auto; float: right; margin-top: 0; } /* 으뜸기사 */
    .TC31_popup .pop_img{height: 16rem;}

}

@media (max-width:940px){
    .MC_box6 { width: 100%; height: auto; } /* 대구교육신문 */
    .MC_box7 { width: 100%; margin-top: 1.5rem; } /* 으뜸기사 */
    .MC_box9 { width: 100%; height: auto; } /* 많이 읽는 기사 */
    .MC_box10 { width: 100%; height: auto; margin-top: 1.5rem; } /* 교육 NEWS */
}

@media (max-width:768px) {
    .MC_wrap1 { margin: 1.5rem 0; }
    .MC_wrap2 .container { padding: 1.5rem 1rem; }
    .MC_wrap3 { margin: 1.5rem 0; }
    .MC_wrap4 .container { padding: 1.5rem 1rem 4.5rem; }

    .con_wrap1 { width: 100%; margin-top: 1.5rem; }

    .MC_box1 { width: 100%; height: auto; } /* 메인비주얼 */
    .MC_box2 { width: 100%; height: auto; } /* 포토뉴스 */
    .MC_box3 {width: 100%;height: auto;margin-top: 1.5rem;max-height: 10rem;overflow: hidden;} /* 공지사항 */
    .MC_box4 { width: 100%; height: auto; } /* 학생기자단 기사 */
    .MC_box5 { width: 100%; height: auto; margin-top: 1.5rem; } /* 사랑기자단 기사 */
    .MC_box8 { height: auto; padding-bottom: 2rem; margin-bottom: 1.5rem; } /* 팝업존 */
}

@media (max-width: 580px) {

    /* 영역 height + 헤더 height */
    .open.upPop #container{ padding-top:calc(6rem + 3.5rem); }
    .hldy #container,
    .hldy.upPop #container{ padding-top:calc(1.75rem + 3.5rem); }
    .open.hldy.upPop #container{ padding-top:calc(8.25rem + 3.5em); }
}

@media (max-width:460px) {
    .MC_wrap4 .container { padding: 1.5rem 1rem; }

    .MC_box11 { height: auto; } /* 교육영상 */
	#mNav .snb .login li:nth-of-type(2n):before{ display:none; }
}

@media (max-width: 340px) {

    /* 영역 height + 헤더 height */
    .open.upPop #container{ padding-top:calc(6.75rem + 3.5rem); }
    .open.hldy.upPop #container{ padding-top:calc(9rem + 3.5em); }
}
