﻿
/*-----------------------------------------------------------
Author : Yejin, son
Creative date :2022. 03. 11
-----------------------------------------------------------*/

/* 메인 컨테이너 */
#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; height:28.5rem; margin-bottom:3.5rem; }
.MC_wrap1 .container::before { content:"";position:absolute; bottom:-3.5rem; left:-7.5rem; width:200%; height:9.15rem; border-radius:2rem 0 0 2rem; background:-webkit-linear-gradient(90deg, rgba(153, 215, 255, 0.25) 0%, rgba(255, 204, 75, 0.25) 100%); background:linear-gradient(90deg, rgba(153, 215, 255, 0.25) 0%, rgba(255, 204, 75, 0.25) 100%); }
.MC_wrap4 .container {padding-top: 3rem; }
.MC_wrap4 .container::before {position: absolute; bottom: 0; right: -7.55rem; width: 56.5rem; height: 100%; background: #eaf7ff; border-radius: 2rem 2rem 0 0; content: ""; z-index: -2;}

.MC_box1 {position:relative; width:65%; height:22.65rem; float: left; margin-top: 2.6rem; } /* 메인비주얼 */
.MC_box1::before {position: absolute; top: 0; left: -13.9rem; width: 11.4rem; height: 10.9rem; background: url('/images/schl/template/T0011/main/0011_cont01_img01.png') no-repeat center / cover; content: ""; }
.MC_box2 {position: relative; width: 33%; height: 21.5rem; float: right; margin-top: 3.75rem; } /* 캘린더 */
.MC_box2::before {position: absolute; width: 14.45rem; height: 2.35rem; background-image: url('/images/schl/template/T0011/main/pop_schedule_table_bg.png'); background-repeat: no-repeat; background-position: center; background-size: contain; top: -1.15rem; left: 50%; transform: translateX(-50%); -webkit-transform: translateX(-50%); content: ""; z-index: 1; }
.MC_box2::after {position: absolute; bottom: -3.5rem; right: -2.2rem; background-image: url('/images/schl/template/T0011/main/0011_pop_schedule_img.png'); background-repeat: no-repeat; background-position: center; background-size: cover; width: 16.1rem; height: 11.85rem; content: ""; }
.MC_box3 {position: relative; width: 29%; height: 14.35rem; float: left; } /* 팝업존 */
.MC_box4 {position: relative; width: 67%; height: 14.35rem; float: right; } /* 게시판 */
.MC_box5 {position: relative; width: 100%; height: 9.85rem; margin:3.5rem 0 2rem;  } /* 바로가기1 */
.MC_box6 {position: relative; width: 29%; height: 20.4rem; float: left; } /* 식단 */
.MC_box6::after{position: absolute; top:0; left: 0; width: 100%; height: 100%;  background: #a3dbff; z-index: -2; content: ""; border-radius: 1rem 1rem 0 0; }
.MC_box6::before {position: absolute; top: 6.5rem; left: -9.7rem; background: url('/images/schl/template/T0011/main/0011_cont01_img02.png') no-repeat center / cover; width: 5.55rem; height: 5.2rem; content: ""; }
.MC_box7 {position: relative; width: 67%; height: 15.2rem; float: right; margin-top: 1.65rem; } /* 갤러리 */

@media screen and (max-width: 1240px){ 
    .MC_wrap1{height: auto; margin-bottom: 2rem; }
    .MC_wrap1 .container::before {display: none; }

    .MC_box1 {width: 100%; height: auto; } /* 메인비주얼 */
    .MC_box1::before{top: auto; bottom: -2rem; left: 0; width: 100vw; height: 50%; border-radius: 2rem 0 0 2rem; background:-webkit-linear-gradient(90deg, rgba(153, 215, 255, 0.25) 0%, rgba(255, 204, 75, 0.25) 100%); background:linear-gradient(90deg, rgba(153, 215, 255, 0.25) 0%, rgba(255, 204, 75, 0.25) 100%); }
    .MC_box2 {position: relative; width: 100%; height: auto; } /* 캘린더 */
    .MC_box2::after {bottom: 0; right: -0.45rem; width: 11.55rem; height: 8.5rem; }
    .MC_box2::before {width: 24.7rem; height: 2.4rem; background-image: url('/images/schl/template/T0011/main/pop_schedule_table_bg_m.png');}
    .MC_box3 {width: 32.2%; } /* 팝업존 */
    .MC_box4 {width: 63.7%; } /* 게시판 */
}

@media screen and (max-width: 1024px){ 
    .MC_wrap4 .container {padding-top: 2.5rem; }
    .MC_wrap4 .container::before {right: 0; border-radius: 0; }

    .MC_box5 {width: 60%; height: auto; min-height:18rem; float: left; } /* 바로가기1 */
    .MC_box6 {position: absolute; top: -22rem; right: 1rem; width: 34.3%; height: 18rem; float: none; } /* 식단 */
    .MC_box6::before {display: none; }
    .MC_box6::after {border-radius: 1rem; }
    .MC_box7 {width: 100%; margin-top: 0; } /* 갤러리 */
}

@media screen and (max-width: 860px){ 
    
    .MC_box3 {width: 100%; height: auto; } /* 팝업존 */
    .MC_box4 {width: 100%; height: auto; margin-top: 2rem; } /* 게시판 */
    .MC_box5 {width: 100%; height: auto; min-height:0px; margin: 1.5rem 0; } /* 바로가기1 */
    .MC_box6 {position: relative; top: auto; right: auto; width: 100%; height: auto; } /* 식단 */
    .MC_box7 {margin-top: 2rem; } /* 갤러리 */
}

@media screen and (max-width: 600px){
    .MC_box2::after {display: none; }
    .MC_box2::before {width: 14.45rem; height: 2.35rem; background-image: url('/images/schl/template/T0011/main/pop_schedule_table_bg.png');}
}

@media screen and (max-width: 400px){
    .MC_box2::before{width: 12rem; }

    .MC_box7 { height: 26.2rem; } /* 갤러리 */
}