﻿

/*-----------------------------------------------------------
Author : yejin, Son
Creative date : 2022. 05. 16
-----------------------------------------------------------*/

/* 메인 컨테이너 */
#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 .container { padding: 2.55rem 0; }
.MC_wrap1 .container::before { position: absolute; top: 0; left: 28.2rem; width:100%; height: 100%; background: #1a9faf url('/images/schl/template/T0068/main/visual_bg.png') no-repeat bottom left 18.4rem; content: ""; border-radius: 4rem 0 4rem 4rem; }
.MC_wrap2 { margin-top: 2.5rem;}
.MC_wrap3 .container { padding-bottom: 3.1rem; }
.MC_wrap3 .container::before { position: absolute; width: 200vw; height: 12.4rem; bottom: 0; right: 0; left: -13rem; background: #faf4e8; border-radius: 5rem 0 0 0;  content: ""; }

[class^="MC_box"]:after { content:""; display:block; clear:both; }
.MC_box1 { position:relative; width: 100%; height:24rem; } /* 메인비주얼 */
.MC_box1::before { position: absolute; top: 0; left: 0;  width: calc(100% - 2rem); height: calc(100% + 1.35rem); background: url('/images/schl/template/T0068/main/0068_ptrn.png'); content: ""; border-radius: 5rem; }
.MC_box2 { position: relative; width: 68%; height: 15rem; float: left; } /* 게시판 */
.MC_box3 { position: relative; width: 29%; height: 15rem; float: right; } /* 캘린더 */
.MC_box4 { position: relative; width: 100%; height: 7.7rem; margin: 3rem 0 2rem; } /* 바로가기 */
.MC_box5 { position: relative; width: 100%; height: 5rem; margin-bottom: 3rem; } /* 식단 */
.MC_box6 { position: relative; width: 68%; height: 16.5rem; float: left; } /* 갤러리 */
.MC_box7 { position: relative; width: 29%; height: 13.3rem; float: right; margin-top:1.3rem; } /* 팝업 */

/* responsive */

@media (max-width:1240px){
	.MC_wrap1 .container { padding: 1.5rem 1rem 2.55rem; }

	.MC_box1 { height: auto; } /* 메인비주얼 */
	.MC_box2 { width: 57%; } /* 게시판 */
	.MC_box3 { width: 40%; } /* 캘린더 */
}

@media (max-width:960px){
	.MC_wrap2 { margin-top: 1.5rem; }
	
	.MC_box1::before { border-radius: 2rem; width: calc(100% - 1rem); }
	.MC_box4 { height: auto; margin: 1.5rem 0 1rem; } /* 바로가기 */
	.MC_box6 { width: 60%; } /* 갤러리 */
	.MC_box7 { width: 37%; } /* 팝업 */
	
}

@media (max-width:860px){
	.MC_wrap1 .container::before {left: auto; right: 0; width: calc(100% - 15rem); }

	.MC_box5 { height: auto; margin-bottom: 1.5rem; } /* 식단 */
}

@media (max-width:800px){
	.MC_wrap3 .container { padding-bottom: 1.5rem; }

	.MC_box2 { width: 100%; height: auto; } /* 게시판 */
	.MC_box3 { width: 48%; float: left; margin-top: 1.5rem; } /* 캘린더 */	
	.MC_box6 { width: 100%; height: auto; } /* 갤러리 */
	.MC_box7 { position: absolute; top: -16.4rem; right: 1rem; width: 46%; margin-top:0;} /* 팝업 */
}

@media (max-width:640px){
	.MC_wrap3 .container::before { height: 30rem; }
	.MC_box3 { width: 100%; height: auto; } /* 캘린더 */
	.MC_box7 { position: relative; top: auto; right: auto; width: 100%; height:auto; margin-top: 1.5rem; } /* 팝업 */
}

@media (max-width:500px){
	.MC_wrap1 .container::before { width: calc(100% - 8rem); }
}



