﻿
/*-----------------------------------------------------------
Author :hyerim, Park
Creative date :2022. 05. 24
-----------------------------------------------------------*/

/* 메인 컨테이너 */
#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; border-radius:10px; }
#container ::-webkit-scrollbar-track { background-color:#ddd; border-radius:10px; }

.MC_wrap1 {position:relative;}
.MC_wrap1:before {content:""; position:absolute; left:calc(50% - 42.5rem); top:0; width:12.5rem; height:20rem; background:url('/images/schl/template/T0099/main/0099_bg1.png') no-repeat;}
.MC_wrap1:after {content:""; position:absolute; right:0; top:0; width:50%; height:13.3rem; background:#f6fbff url('/images/schl/template/T0099/main/0099_bg2.png') no-repeat right top; z-index:-1;}
.MC_wrap2 {position:relative; margin-top:2.5rem; padding:2.3rem 0 1.4rem; }
.MC_wrap2:before {content:""; position:absolute; right:calc(50% - 740px); top:0; width:100%; height:11.7rem; background: rgb(229,241,251); background: -moz-linear-gradient(90deg, rgba(229,241,251,1) 0%, rgba(238,255,248,1) 100%); background: -webkit-linear-gradient(90deg, rgba(229,241,251,1) 0%, rgba(238,255,248,1) 100%); background: linear-gradient(90deg, rgba(229,241,251,1) 0%, rgba(238,255,248,1) 100%); z-index:-1; }
.MC_wrap2:after {content:""; position:absolute; right:calc(50% - 740px); top:8.2rem; width:0; height:0; border-bottom:3.5rem solid #fff; border-left:3.5rem solid transparent; z-index:-1;}
.MC_wrap3 {position:relative; padding-bottom:2rem;}
.MC_wrap3:before { content:""; position:absolute; left:0; top:-10rem; width:206px; height:252px; background:url('/images/schl/template/T0099/main/0099_bg3.png') no-repeat; z-index:-1;}
.MC_wrap3:after { content:""; position:absolute; right:0; bottom:0; width:315px; height:266px; background:url('/images/schl/template/T0099/main/0099_bg4.png') no-repeat; z-index:-1;}


.MC_box1 { width:100%; height:25rem; margin-bottom:2.8rem; } /* 비주얼 */
.MC_box2 { width:calc(100% - 19rem); float:left; } /* 공지사항 */
.MC_box3 { width:17.5rem; float:right;} /* 팝업존 */
.MC_box4 { width:calc(100% - 19rem); float:left; } /* 바로가기 */   
.MC_box5 { width:17.5rem; float:right;} /* 식단 */
.MC_box6 { width:17.5rem; float:left;} /* 일정 */
.MC_box7 { width:calc(100% - 19rem); float:right; } /* 포토갤러리 */ 

@media (max-width:1540px) {
    .MC_wrap2:before { right:0;}
    .MC_wrap2:after {right:0;}
}
@media (max-width:1240px) {     
    .MC_wrap1:before, 
    .MC_wrap1:after {display:none; }
    .MC_wrap2 {margin-top:1.5rem; padding:1.5rem 0;}
    .MC_wrap3:before,
    .MC_wrap3:after {display:none; }

    .MC_box1 { height:auto; margin:1rem 0 1.5rem; } /* 비주얼 */
}
@media (max-width: 1024px) {  
    .MC_wrap2:before { height:calc(100% - 6rem); right:0;}
    .MC_wrap2:after {display:none;}
    
    .MC_box2 { width:100%; } /* 공지사항 */
    .MC_box3 { width:100%; margin-top:1rem;  } /* 팝업존 */
    .MC_box4 { width:100%; } /* 바로가기 */
    .MC_box5 { width:100%; margin-top:1rem; } /* 식단 */
} 
@media (max-width:768px){  
    .MC_box6 { width:100%; } /* 일정 */
    .MC_box7 { width:100%; margin-top:1rem; } /* 포토갤러리 */  
}
@media (max-width:580px){  
} 
@media (max-width:480px){
}