﻿ 
/*-----------------------------------------------------------
Author :JI, cohi
Creative date :2021. 09. 14
-----------------------------------------------------------*/
/*imgcut*/
div[class*="gallery"] .img { position: relative; }
div[class*="gallery"] .img > img { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); -webkit-transform: translate(-50%, -50%); -moz-transform: translate(-50%, -50%); -ms-transform: translate(-50%, -50%); transition: 0.5s; -webkit-transition: 0.5s; -moz-transition: 0.5s; -ms-transition: 0.5s; }
div[class*="gallery"] a { display: block; }

/* 메인비주얼 */
.MVisual3021{position:relative;margin:auto;max-width:27.2rem;height:24rem;overflow:hidden;}
.MVisual3021 #m_visual li{overflow:hidden; }
.MVisual3021 #m_visual li img{position:relative; left:50%; transform:translateX(-50%); -webkit-transform:translateX(-50%); -ms-transform:translateX(-50%); -moz-transform:translateX(-50%);}
.MVisual3021 .bx-wrapper{position:relative;  height:100%;}
.MVisual3021 .bx-controls{position:absolute; bottom:1rem; left:0; width:100%; height:1.3rem; text-align:center;}
.MVisual3021 .bx-controls-direction{display:none;}
.MVisual3021 .bx-controls a{display:inline-block; margin:0 3px; color:transparent; overflow:hidden; vertical-align:middle;}
.MVisual3021 .bx-controls-auto{font-size:0; vertical-align:middle;}  
.MVisual3021 .bx-controls-auto,
.MVisual3021 .bx-pager,
.MVisual3021 .bx-pager-item{display:inline-block;}
.MVisual3021 .bx-controls-auto a{width:1.3rem; height:1.3rem; background:no-repeat center / 100%;}
.MVisual3021 .bx-controls-auto a.bx-start{display:none; background-image:url('/00_common/images/con_com/btn_play.png');}
.MVisual3021 .bx-controls-auto a.bx-stop{display:inline-block; background-image:url('/00_common/images/con_com/btn_stop.png');}
.MVisual3021 .bx-pager{height:0.8rem; vertical-align:middle;}
.MVisual3021 .bx-pager-item{height:100%;}
.MVisual3021 .bx-pager a{width:0.8rem; height:100%; vertical-align:top; border:1px solid #0e426f; border-radius:50%;} /* 비주얼 버튼 색상 */
.MVisual3021 .bx-pager a.active{background-color:#0e426f;}/* 비주얼 버튼 색상 */

/* 바로가기 */
.M_link3021{position:relative;height:24rem;overflow:hidden;background: #fff;}
.M_link3021 ul{overflow:hidden; padding:0 1rem;}
.M_link3021 ul li + li {border-top: 1px dotted #cecece;} 
.M_link3021 ul li a{position:relative;display:block;padding:0.45rem 0;height:100%;overflow:hidden;}
.M_link3021 ul li a .ico{display:block; text-align:center; font-size:0; float:left; }
.M_link3021 ul li a .ico img{width: 2.5rem; height: 2.5rem; transition: 0.3s; -webkit-transition: 0.3s;}
.M_link3021 ul li a em{position:absolute; width:calc(100% - 70px); max-height:2rem; right:0; top:50%; -webkit-transform:translateY(-50%); -ms-transform:translateY(-50%); -moz-transform:translateY(-50%); transform:translateY(-50%); line-height:1rem; font-size:0.75rem; overflow:hidden;} 
.M_link3021 ul li a:hover .ico img{transform: rotateY(180deg); -webkit-transform: rotateY(180deg);}
.M_link3021 ul li a:hover em{text-decoration: underline;}
 
/* 행사일정 */
.pop_schedule3021{position:relative;background: #fff6e2;} 
.pop_schedule3021 h2{position:relative;display:block;padding: 0.5rem 2rem 0 0.5rem;width:7.5rem;height:2.5rem;line-height:2.5rem;font-size:0.9rem;color: #333;text-align:center;border-radius:2.5rem 2.5rem 2.5rem 0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;z-index:2;} 
.pop_schedule3021 .sche_wrap {position:relative;margin-top:-1.25rem;padding:2rem 1rem 1rem;border-radius:1.5rem;}
.pop_schedule3021 .month{position:relative; text-align:center; width:100%; height:2rem; line-height:2rem; margin: 0 auto; font-size: 0.8rem; background:#fff; border-radius:2rem;}
.pop_schedule3021 .month em {color: #ffb000;font-size:0.9rem;}
.pop_schedule3021 .month a{position:absolute; top:0; width:2rem; height: 2rem; font-size:1.2rem; -webkit-transition:0.3s; -ms-transition:0.3s; -moz-transition:0.3s; transition:0.3s;}
.pop_schedule3021 .month a.prev{left:0.5rem;}
.pop_schedule3021 .month a.next{right:0.5rem;}
.pop_schedule3021 .btn_more{position:absolute;top: 0.5rem;left:5.8rem;width:1rem;line-height:2.5rem;text-align:center;color: #333;font-size:1.1rem;z-index:2;-webkit-transition:transform 0.3s;-ms-transition:transform 0.3s;-moz-transition:transform 0.3s;transition:transform 0.3s;} 
.lst_schedule{width:calc(100% - 1rem); height:6rem; line-height:2rem; margin-top: 0.5rem; overflow-y:auto;}
.lst_schedule > li{white-space:nowrap; text-overflow:ellipsis; overflow:hidden;} 
.lst_schedule > li .date{display:inline-block;margin-right:8px;width:1.6rem;height:1.6rem;line-height:1.6rem;text-align:center;border-radius:50%;background: #fff;border: 1px dotted #ffb000;color: #ffb000;font-weight:400;transition: 0.3s;-webkit-transition: 0.3s;} 
.lst_schedule > .no_Data{line-height:3rem; text-align:center;}
/* active */  
.pop_schedule3021 .month a.prev:hover, 
.pop_schedule3021 .month a.prev:focus {left:0;}
.pop_schedule3021 .month a.next:hover, 
.pop_schedule3021 .month a.next:focus {right:0;}
.lst_schedule > li a:hover,
.lst_schedule > li a:focus{text-decoration:underline;} 
.lst_schedule > li a:hover .date,
.lst_schedule > li a:focus .date{background: #ffb000; color: #fff;}
.pop_schedule3021 .btn_more:hover,
.pop_schedule3021 .btn_more:focus { -webkit-transform:rotate(180deg); -ms-transform:rotate(180deg); -moz-transform:rotate(180deg); transform:rotate(180deg);}



/* 오늘의식단 */
.meal_menu3021{position: relative;background: #ffe4e6;} 
.meal_menu3021 .imgbox{position: absolute; left: 1.5rem; bottom: 0.5rem;}
.meal_menu3021 h2{position:relative;display:block;padding: 0.5rem 2rem 0 0.5rem;width: 8.5rem;height:2.5rem;line-height:2.5rem;font-size:0.9rem;color: #333;text-align:center;border-radius:2.5rem 2.5rem 2.5rem 0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;z-index:2;}
.meal_menu3021 .meal_wrap {position:relative;margin-top:-1.25rem;padding:2rem 1rem 1.5rem;border-radius:1.5rem;}
.meal_menu3021 .meal_box{ height:5rem; overflow-y: auto;}
.meal_menu3021 .meal_box li{margin-bottom: 0.5rem;}
.meal_menu3021 ul li.no_Data{text-align:center; line-height:3rem;} 
.meal_menu3021 .meal_box dt{width:100%; height:2rem; border-radius:2rem; background:#fff; line-height:2rem; text-align:center; }
.meal_menu3021 .meal_box dt strong {color:#f73c49;}
.meal_menu3021 .meal_box dd{width:100%; padding-top: 0.3rem; line-height: 1.2rem;}
.meal_menu3021 .meal_box dd .no_data{text-align: center; line-height: 2rem;}
.meal_menu3021 .btn_more{position:absolute;top: 0.5rem;left:6.5rem;width:1rem;line-height:2.5rem;text-align:center;color: #333;font-size:1.1rem;z-index:2;-webkit-transition:transform 0.3s;-ms-transition:transform 0.3s;-moz-transition:transform 0.3s;transition:transform 0.3s;} 
.meal_menu3021 .btn_more:hover,
.meal_menu3021 .btn_more:focus { -webkit-transform:rotate(180deg); -ms-transform:rotate(180deg); -moz-transform:rotate(180deg); transform:rotate(180deg);}



/* 게시판 */
.notice3021{position:relative; height:100%; }
.notice3021 h2{position:relative;display:inline-block;padding:0;height:2.5rem;line-height:2.5rem;font-size:0.9rem;color:#fff;text-align:center;border-radius: 1.2rem 1.2rem 0 0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:calc((100% - 1.5rem) / 3);}
.notice3021 h2 a{position:relative; display:block; color:#777; overflow:hidden; padding: 0 1rem; transition: 0.3s; -webkit-transition: 0.3s; }
.notice3021 .list_box{position:absolute; top:3.25rem; display:none; width: 100%;  height:calc(100% - 3.25rem); }
.notice3021 .list_box:before {content:""; display:block; position:absolute; width:100%; height:2px; top:-0.8rem; background:#1b619d;}
.notice3021 .list_box.on { display:block; }
.notice3021 .list_box .top_news { position:relative; display:block; min-height:4.15rem; margin-bottom:0.5rem; padding:0.7rem 0 1.2rem 4.5rem; border-bottom:1px solid #dfdfdf; }
.notice3021 .list_box .top_news span { display:block; text-overflow:ellipsis; overflow: hidden; white-space:nowrap; }
.notice3021 .list_box .top_news span.tit { font-size:0.8rem; }
.notice3021 .list_box .top_news span.tit:before{content:'N';display:inline-block;width:1.25rem;height:1.25rem;line-height:1.25rem;color:#fff;font-size:0.7rem;text-align:center;border-radius:50%;background: #f73c49;margin-right:0.2rem;} 
.notice3021 .list_box .top_news span.txt { font-size:0.7rem; }
.notice3021 .list_box .top_news .time {position:absolute;left:0;top:0;display:block;width:3.5rem;height:3.5rem;background: #1b619d;border-radius: 1rem;color:#fff;font-size:0.65rem;text-align:center;padding:0.6rem;}
.notice3021 .list_box .top_news .time strong { display:block; font-size:0.8rem; }
.notice3021 .list_box ul{overflow:hidden;}  
.notice3021 .list_box ul > li{padding-left: 0.5rem; position: relative;}
.notice3021 .list_box ul > li::before{width: 4px;height: 4px;background: #1b619d;border-radius: 50%;position: absolute;left: 0;top:0.7rem;content: "";}
.notice3021 .list_box ul > li > a{position:relative; display:block; width:100%; line-height:1.5rem; padding-right:4rem; color:#333; white-space:nowrap; text-overflow:ellipsis; overflow:hidden;} 
.notice3021 .list_box ul > li.new > a {padding-left:1.5rem;}
.notice3021 .list_box ul > li.new > a:before{content:'N'; position:absolute; top:50%; left:.15rem; display:block; width:1.25rem; height:1.25rem; margin-top:-.625rem; line-height:1.25rem; color:#fff; font-size:0.7rem; text-align:center; border-radius:50%; background:#f73c49; margin-right:0.5rem;}
.notice3021 .list_box .date{position:absolute; top:0; right:0; color:#858585; font-size:0.75rem; } 
.notice3021 .list_box .date i{padding-right: 0.2rem;}
.notice3021 .btn_more{position:absolute; top:-3.25rem; right:0; line-height:2.5rem; text-align:center; border-radius:50%; font-size:1.1rem; -webkit-transition:transform 0.3s; -ms-transition:transform 0.3s; -moz-transition:transform 0.3s; transition:transform 0.3s; }
/* active */ 
.notice3021 h2 a.current {background: #1b619d;color:#fff;}
.notice3021 h2 a:hover:not(.current),
.notice3021 h2 a:focus:not(.current) { color:#1b619d; }
.notice3021 .list_box .top_news:hover span,
.notice3021 .list_box .top_news:focus span { text-decoration:underline; }
.notice3021 .list_box ul > li a:hover,
.notice3021 .list_box ul > li a:focus { text-decoration:underline; }
.notice3021 .btn_more:hover,
.notice3021 .btn_more:focus { -webkit-transform:rotate(180deg); -ms-transform:rotate(180deg); -moz-transform:rotate(180deg); transform:rotate(180deg);}
 
.notice3021 .list_box .NoData {display:table; width:100%; height:100%; text-align:center; font-size:.75rem; background:#f3f3f3;}
.notice3021 .list_box .NoData span {display:table-cell; vertical-align:middle;}
 
/* 포토앨범 */
.gallery3021{position:relative; height:100%;overflow:hidden;} 
.gallery3021:before {content:"";position:absolute;left:0;top:2.5rem;display:block;width:100%;height: 2px;background: #2eb3a8;}
.gallery3021 h2{position:relative;display:block;padding:0 1rem;width:8rem;height:2.5rem;line-height:2.5rem;font-size:0.9rem;color:#fff;text-align:center;border-radius: 1.2rem 1.2rem 0 0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;background: #2eb3a8;margin-bottom:0.5rem;}   
.gallery3021 .gall_list { margin:0 -0.75rem;}
.gallery3021 .gall_list li{display:block; width:33.333%; padding:0 0.75rem; float:left; } 
.gallery3021 .gall_list li .img{position:relative;width:100%;height:9.5rem;overflow:hidden;background:#eee;}
.gallery3021 .gall_list li .img img{position:absolute; left:50%; top:50%; -webkit-transform:translate(-50%, -50%); -ms-transform:translate(-50%, -50%); -moz-transform:translate(-50%, -50%); transform:translate(-50%, -50%); -webkit-transition:transform 0.3s; -ms-transition:transform 0.3s; -moz-transition:transform 0.3s; transition:transform 0.3s;}
.gallery3021 .gall_list li .txt{margin-top:0.75rem; padding: 0 0.5rem; text-align:center; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.gallery3021 .btn_more{position:absolute; top:0; right:0; line-height:2.5rem;  font-size:1.1rem; -webkit-transition:transform 0.3s; -ms-transition:transform 0.3s; -moz-transition:transform 0.3s; transition:transform 0.3s;} 
/* active */ 
.gallery3021 .gall_list li .img:hover img,
.gallery3021 .gall_list li .img:focus img{transform:translate(-50%, -50%) scale(1.2); -webkit-transform:translate(-50%, -50%) scale(1.2); -ms-transform:translate(-50%, -50%) scale(1.2); -moz-transform:translate(-50%, -50%) scale(1.2);}
.gallery3021 .btn_more:hover,
.gallery3021 .btn_more:focus { -webkit-transform:rotate(180deg); -ms-transform:rotate(180deg); -moz-transform:rotate(180deg); transform:rotate(180deg);}

.gallery3021 .NoData {display:table; width:100%; height:11.5rem; text-align:center; font-size:.75rem; background:#f3f3f3;}
.gallery3021 .NoData span {display:table-cell; vertical-align:middle;}

/* 팝업존 */
.pop3021{height:100%;} 
.pop3021:before {content:"";position:absolute;left:0;top:2.5rem;display:block;width:100%;height: 2px;background: #2eb3a8;}
.pop3021 h2{position:relative;display:block;padding:0 1rem;width:5.5rem;height:2.5rem;line-height:2.5rem;font-size:0.9rem;color:#fff;text-align:center;border-radius: 1.2rem 1.2rem 0 0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;background: #2eb3a8;margin-bottom:0.5rem;}
.pop3021 .nss_pg{position:absolute; right:0.5rem; top:0; line-height: 2.25rem;}
.pop3021 .nss_pg span{display:inline-block;} 
.pop3021 .nss_pg span .now{color: #2eb3a8;}
.pop3021 .nss_pg a{display:inline-block; margin:0 0.1rem; text-align:center;} 
.pop3021 .nss_pg .play{display:none;} 
.pop3021 .pop_wrap{width: 100%;background: #eee;overflow:hidden;}
.pop3021 .bx-wrapper{position:relative;margin:0 auto;width:100%;overflow:hidden;text-align:center;} 
.pop3021 .pop_img li { position:relative; width:100%; height: 11.3rem; font-size:0; }
.pop3021 .pop_img li a { display: block; height:100%; background:#daf1ef; }
.pop3021 .pop_img li img {position:absolute; left:50%; top:50%; -webkit-transform:translate(-50%, -50%); -ms-transform:translate(-50%, -50%); -moz-transform:translate(-50%, -50%); transform:translate(-50%, -50%);  max-width: 100%; max-height:100%; vertical-align:middle; overflow:hidden;}
 
/* 팝업리스트 레이어 추가 */
.pop3021 .pop_layer_box{position:absolute; top:0; left:0; display:none; width:100%; height:100%; border-radius:1rem; background:#394b61;}
.pop3021 .pop_layer_box .pop_layer{position:relative; padding:1rem;}
.pop3021 .pop_layer_box .pop_layer h3{font-size:0.9rem; color:#fff;}
.pop3021 .pop_layer_box .pop_layer ul{margin-top:0.75rem; padding:1rem 2rem; height:10rem; line-height:1.1rem; text-align:left; background:#576c85; overflow-y:auto;}
.pop3021 .pop_layer_box .pop_layer ul li{list-style-type:disc; color:#fff;}
.pop3021 .pop_layer_box .pop_layer ul li a:hover,
.pop3021 .pop_layer_box .pop_layer ul li a:focus{text-decoration:underline;}
.pop3021 .pop_layer_box .pop_layer a.pop_close{position:absolute; top:0.75rem; right:1.25rem; display:block; padding:0.25rem 0.5rem; color:#fff; background:#576c85; border-radius:5px;}



/* 배너존 */
.banner_zone {line-height: 1; border-top: 1px solid #d1d8e4;}
.banner_zone .container {position: relative; height: 4rem; overflow: hidden;}
.banner_zone h2 {float: left; display:block; margin-top: 1.5rem; width: 4rem; font-size: 0.85rem; font-weight: 400; color: #191919;}
.banner_zone .btn {float: left; margin-top: 1.35rem; overflow: hidden;}
.banner_zone .btn a {float: left; width: 27px; height: 28px; color: transparent; background: no-repeat center / 100%; overflow: hidden;}
.banner_zone .btn a.prev {background-image: url('/00_common/images/common/btn_b_prev.png');}
.banner_zone .btn a.stop {background-image: url('/00_common/images/common/btn_b_stop.png');}
.banner_zone .btn a.play {display:none; background-image: url('/00_common/images/common/btn_b_play.png');}
.banner_zone .btn a.next {background-image: url('/00_common/images/common/btn_b_next.png');}
.banner_zone .btn a.list {background-image: url('/00_common/images/common/btn_b_list.png');}
.banner_zone .bx-wrapper {float: left; display:block; padding-top: 0.75rem; padding-left:1.5rem; width: calc(100% - 10rem); overflow: hidden;}
.banner_zone ul li { display: inline-block; margin-bottom: 0.75rem; padding: 0 0.25rem; width: 20%;}
.banner_zone ul li a {display: block; height: 2.5rem; line-height: 2.3rem; text-align: center; border: 1px solid #c8d1db; overflow: hidden;}
.banner_zone ul li a img {width: 100%; height: 100%; }


@media (max-width: 1440px){
	/* 학교행사 */
    .lst_schedule {width:100%;} 

}
@media (max-width:1024px){ 
	/* 오늘의 식단 */
	.meal_menu3021 .meal_box { height:6rem; }

	/* 학교행사 */
	.lst_schedule { height:4rem; }

	/* 포토앨범 */ 
	.gallery3021 .gall_list li{ width:50%; } 
	.gallery3021 .gall_list li + li + li { display:none; } 

	/* 배너존 */
	.banner_zone h2 {position: absolute; top: 0; left: 0; margin: -1px; padding: 0; width: 1px; height: 1px; border: 0; clip: rect(0, 0, 0, 0); overflow: hidden;}
	.banner_zone .btn {position: absolute; top: 50%; left: 0; margin-top: 0; transform: translateY(-50%); -webkit-transform: translateY(-50%);}
	.banner_zone .bx-wrapper {margin-left: 6rem; width: calc(100% - 6rem);}
}
@media (max-width:800px){   
	/* 메인비주얼 */
	.MVisual3021 { height:auto;}
	.MVisual3021 #m_visual li img { width:100%; }
	
	/* 바로가기 */
	.M_link3021 { height:auto; }
	.M_link3021 ul li { width:50%; float:left;margin-top:-1px; } 

	/* 학교행사 */
    .lst_schedule { height:6rem; }
}
@media (max-width:600px){	  
	/* 공지사항 */ 
	.notice3021 h2 a { padding:0 0.5rem; }
}  
@media (max-width:480px){  
	/* 포토앨범 */ 
	.gallery3021 .gall_list li{ width:100%; } 
	.gallery3021 .gall_list li:nth-child(2) { display:none; } 
	
} 
@media (max-width:380px){    
	/* 바로가기 */
	.M_link3021 ul li { width:100%; margin-top:0; }
	.M_link3021 ul li a .ico img { width:2rem; height:2rem;}
	.M_link3021 ul li a em { width:calc(100% - 2.5rem); }
}
@media (max-width:320px){  
	/* 공지사항 */
	.notice3021 h2 { font-size:0.8rem; }
	.notice3021 h2 a { padding:0 0.5rem; }
}
