﻿
/*-----------------------------------------------------------
Author : yejin, Son
Creative date :2022. 03. 02
-----------------------------------------------------------*/

/* 메인 컨테이너 */
#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; margin-top:3rem; }
.MC_wrap2 { position:relative; margin:4.1rem 0 6.65rem; }
.MC_wrap3 { position: relative; background: #fafafa; padding-bottom: 4.2rem; }

.con_wrap { float:left; width:36%; }
.con_wrap2 { float:right; width:61%; }

.MC_box1 { position:relative; width:100%; height:23.2rem; } /* 메인비주얼 */
.MC_box2 { position:relative; width:100%; height: 6.8rem; } /* 바로가기1 */
.MC_box3 { position:relative; width:100%; height: 20.05rem; } /* 갤러리 */
.MC_box4 { position: relative; width: 48%; height:11.05rem; float: left; } /* 캘린더 */
.MC_box5 { position: relative; width: 48%; height: 11.05rem; float: right; } /* 팝업존 */
.MC_box6 { position:relative; width:100%; height: 7.05rem; float: left; margin-top: 1.8rem; } /* 식단 */
.MC_box7 { position:relative; width:100%; height: 24.2rem; } /* 게시판 */
.MC_box7::before{ position: absolute; top: 0.4rem; left: -13rem; width: 11.25rem; height: 8.75rem; background: url('/images/schl/template/T0004/main/0004_notice_deco1.png') no-repeat center / cover; content: ""; }
.MC_box7::after{ position: absolute; top: 13.8rem; right: -15.45rem; width: 12.65rem; height: 9.3rem; background: url('/images/schl/template/T0004/main/0004_notice_deco2.png') no-repeat center / cover; content: ""; }

@media (max-width:1240px){
    .MC_wrap2 { margin: 2.5rem 0 5rem; }

    .con_wrap { width: 59%; }
    .con_wrap2 { float: left; width: 100%; margin-top: 1.5rem; }

    .MC_box1 { height: auto; } /* 메인비주얼 */
    .MC_box3 { height: 14.05rem; } /* 갤러리 */
    .MC_box4 { position: absolute; width: 37%; height: 14.05rem; float: none; top: 0; right: 1rem; } /* 캘린더 */
    .MC_box5 { width: 37%; float: left; } /* 팝업존 */
    .MC_box6{ margin-top: 0 ; width: 59%; float: right; height: 11.05rem; } /* 식단 */
}

@media (max-width:1024px){
    .MC_wrap2{ margin: 2rem 0 4rem; }

    .MC_box2 { height: auto; } /* 바로가기1 */
}

@media (max-width:860px){
    .con_wrap{ width: 100%; }
    .con_wrap2 .box_wrap{ width: 100%; }
    .con_wrap2 .box_wrap2{ width: 100%; height: auto; }

    .MC_box4{ position: relative; top: auto; right: auto; width: 48%; height: 11.05rem; float: left; } /* 캘린더 */
    .MC_box5 { width: 48%; float: right; } /* 팝업존 */
    .MC_box6 { width: 100%; height: auto; margin-top: 1.5rem; } /* 식단 */
    .MC_box7{ height: 22.5rem; } /* 게시판 */

}

@media (max-width:680px){
    .MC_wrap3{ padding-bottom: 3rem; }

    .con_wrap2 .box_wrap{ height: auto; margin-top: 1.5rem; }
    .con_wrap2 .box_wrap2{ margin-top: 1.5rem; }

    .MC_box4{ width: 100%; height: 11.05rem; float: none; } /* 캘린더 */
    .MC_box5{ width: 100%; height: auto; float: none; margin-top: 1.5rem; } /* 팝업존 */
    .MC_box7{ height: 15.9rem; } /* 게시판 */
}

@media (max-width:580px){
    .con_wrap{ height: auto; }

    .MC_wrap1{ margin-top: 2rem; }
    .MC_wrap2{ margin: 1rem 0 3.5rem; }
}

@media (max-width:540px){
    .MC_box3 { height: auto; } /* 갤러리 */
}

@media (max-width:480px){
    .MC_box7{ height: auto; } /* 게시판 */
}

