﻿@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; margin-right: calc((100% - 70rem) / 2); }
.MC_wrap1::after{display: block; content: ''; clear: both;}
.MC_wrap2 { position:relative; margin-top: 1.75rem;}
.MC_wrap2::before{width: 11.5rem; height: 12.85rem; background: url('/images/dgedu/template/TC28/main/con_bg1.png') no-repeat left center / contain; position: absolute; left: 0; bottom: 2rem; content: '';}
.MC_wrap2::after{width: 5.95rem; height: 5.95rem; background: url('/images/dgedu/template/TC28/main/con_bg2.png') no-repeat right center / contain; position: absolute; right: 1.25rem; bottom: 8.7rem; content: '';}

.MC_wrap2 + .comCont{ margin-top:2.5rem;}

.MC_wrap1 .container{ display: flex; justify-content: space-between; align-items: center; }

.MC_box1 { position:relative; width:calc(100% - 15rem); height:25rem; float: left; } /* 메인비주얼 */
.MC_box2 { position:relative; width: 15rem; height: 28rem; float: left;} /* 바로가기 */
.MC_box2::before{width: 300%; height: 100%; background: #477fc7; position: absolute; left: 0; top: 0; border-bottom-left-radius: 3rem; box-shadow: -0.25rem 0.25rem 0.25rem rgba(71, 127, 199, 0.3); z-index: 2; content: '';}
.MC_box3 { position:relative; width: calc(100% - 19rem); float: left; height: 17.5rem;} /* 바로가기2 */
.MC_box4 { position:relative; width:17.25rem; float: right; height:17.5rem; } /* 바로가기2 */
.MC_box5 { position:relative; width: 100%; height: 8rem; float: left; display: flex; align-items: center; margin-top: 3rem;} /* 바로가기3 */
.MC_box5::before{width: 150%; height: 100%; background: #ecf2ff; border-radius: 0 2.5rem 0 0; position: absolute; right: -7.75rem; bottom: 0; z-index: -1; content: '';}

@media (max-width: 1440px) {
    .MC_wrap1{margin-right: 0; padding-right: 1rem;}
}

@media (max-width: 1240px) {

    #container{ padding-top:6rem;}
    .MC_wrap1{padding-right: 0;}
    .MC_wrap2{margin-top: 1.5rem;}
    .MC_wrap2::before, .MC_wrap2::after{display: none;}

    .MC_box1{width: 100%; height: auto;}
    .MC_box2{width: 100%; height: auto; margin-right: 0; margin-top: 4rem;}
    .MC_box2::before{width: calc(100% + 2rem); left: -1rem; border-radius: 0;}
    .MC_box3{width: 100%; height: auto; margin-top: 1rem;}
    .MC_box4{width: 100%; height: auto; margin-top: 1rem;}
    .MC_box5{margin-top: 1rem; height: auto;}
    .MC_box5::before{width: calc(100% + 2rem); right: -1rem; border-radius: 0;}
}

@media (max-width: 580px) {

    .MC_wrap2 + .comCont{ margin-top:2rem;}

    .MC_box3{margin-top: 0.5rem;}
    .MC_box4{margin-top: 1.5rem;}
}

@media (max-width:460px){ 
	#mNav .snb .login li:nth-of-type(2n):before{ display:none; }
}