﻿/*-----------------------------------------------------------
Author :hyerim, Park
Creative date :2022. 05. 09
-----------------------------------------------------------*/

/* btnTy */
.btnTy { position:absolute; right:0; top:0; width:1.5rem; height:1.5rem; border-radius:50%; text-align:center; line-height:1.5rem; font-size:1.2rem; -webkit-transition:0.2s; transition:0.2s; }
.btnTy i { position:relative; -webkit-transition:transform 0.2s; transition:transform 0.2s; }
.btnTy:hover i,
.btnTy:focus i { -webkit-transform:rotate(90deg); transform:rotate(90deg);}

/* 메인비주얼 */
.MVisual0051 { position:relative; overflow:hidden; height:100%; border-radius:0 0 5rem 0; }
.MVisual0051 .slick-slider,
.MVisual0051 .slick-list,
.MVisual0051 .slick-track { height:100%;}
.MVisual0051 .item { overflow:hidden; height:100%; line-height:0; }
.MVisual0051 .item img { position:relative; width:auto; height:100%; float:right;} 
.MVisual0051 .control { position:absolute; right:2rem; bottom:2rem; z-index:1; }
.MVisual0051 .control > a { display:inline-block; width:2rem; height:2rem; line-height:2rem; background:rgb(17, 50, 30, 0.5); color:#fff; text-align:center; border-radius:50%; -webkit-transition:all .15s; -ms-transition:all .15s; transition:all .15s; }
.MVisual0051 .control > a.play { display:none; }

/* 게시판 */
.notice0051 { position:relative; height:100%; }  
.notice0051 .titTab ul { font-size:0; margin-right:2rem;}
.notice0051 .titTab ul li{ position:relative; display:inline-block; max-width:25%; vertical-align:top;}
.notice0051 .titTab ul li + li { margin-left:2.2rem;}
.notice0051 .titTab ul li + li:after { content:""; position:absolute; top:50%; left:-1.2rem; width:0.25rem; height:0.25rem; background:#ccc; border-radius:50%; }
.notice0051 .titTab ul li a { position:relative; display:block; font-size:1rem; font-weight:600; padding-top:0.5rem; color:#555; z-index:1; } 
.notice0051 .titTab ul li a:before { content:""; position:absolute; left:0; top:0; width:0.3rem; height:0.3rem; background:#5b4c91; border-radius:50%; opacity:0; -webkit-transition:0.2s; transition:0.2s; }
.notice0051 .titTab ul li a:after { content:""; position:absolute; left:0.5rem; top:0; width:0; height:0.25rem; background:#5b4c91; border-radius:0.25rem; opacity:0; -webkit-transition:0.2s; transition:0.2s;} 
.notice0051 .titTab li a span { display:block; overflow:hidden; white-space:nowrap; }
.notice0051 .list_box { display:none; height:9.8rem; border:1px solid #dcd4ea; margin-top:0.7rem; padding:0.8rem 1rem; border-radius:1.5rem; box-shadow:4px 4px 0 #aba3c4; }  
.notice0051 .list_box li:nth-child(n+6) {display:none;}
.notice0051 .list_box li a { position:relative; display:block; line-height:1.6rem; padding:0 4rem 0 .75rem; font-weight:600; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; color:#333; }
.notice0051 .list_box li a:before { content:""; position:absolute; left:0; top:0.6rem; width:3px; height:3px; background:#224878; border-radius:50%; }
.notice0051 .list_box li a span { position:absolute; right:0; top:0; color:#555; font-size:0.7rem; }   
.notice0051 .list_box li a.new { padding-left:2rem;}
.notice0051 .list_box li a.new:after {content:"N"; position:absolute; left:0.6rem; top:0.2rem; width:1.1rem; height:1.1rem; background:#5b4c91; border-radius:50%; color:#fff; text-align:center; font-size:0.6rem; line-height:1.1rem;}
.notice0051 .btnTy { top:0.5rem; box-shadow:2px 2px 0 #e2e2e2; border:1px solid #ccc; }
/** 게시판 active **/  
.notice0051 .titTab ul li a.current:before,
.notice0051 .titTab ul li a.current:after{ opacity:1;}
.notice0051 .titTab ul li a.current:after { width:1.25rem;}
.notice0051 .titTab ul li a.current,
.notice0051 .titTab ul li a:hover,
.notice0051 .titTab ul li a:focus { color:#5c4d92; font-weight:700; }
.notice0051 .list_box.on { display: block; } 
.notice0051 .list_box li a:hover,
.notice0051 .list_box li a:focus { color:#5c4d92; font-weight:600; }
.notice0051 .btnTy:hover,
.notice0051 .btnTy:focus { background:#aa89bd; border-color:#aa89bd; color:#fff; }
/** 게시판 :데이터 없음 **/ 
.notice0051 .list_box li.no_data { text-align:center; line-height:8rem; font-weight:600; } 

/* 행사일정 */
.pop_schedule0051 { position:relative; height:100%; background:#ffdfe0; border-radius:1.5rem; border:1px solid #f8bcc4; box-shadow:4px 4px 0 #f8bcc4; padding:1rem; } 
.pop_schedule0051 h2 {display:inline-block; font-weight:600; vertical-align:middle; font-size:1rem; max-width:60%; margin-right:1rem; overflow:hidden; white-space:nowrap; }  
.pop_schedule0051 .month {display:inline-block; vertical-align:middle;}
.pop_schedule0051 .month a { display:inline-block; vertical-align:middle; width:1.1rem; height:1.1rem; line-height:1.1rem; background:#f27a8a; border-radius:50%; color:#fff; font-size:0.7rem; text-align:center; }
.pop_schedule0051 .month a i { -webkit-transition:all .3s; transition:all .3s; }
.pop_schedule0051 .month .date { display:inline-block; font-size:0.9rem; color:#525252; vertical-align:middle; padding:0 0.5rem; font-weight:700; }
.pop_schedule0051 .month .date em { color:#ff4d80;}  
.pop_schedule0051 .month .ico { position:absolute; right:0; bottom:1rem; width:4rem; height:4rem; background:#fff; border-radius:50%; padding:0.9rem 0; }
.pop_schedule0051 .lst { position:relative; margin-top:0.5rem; z-index:1; }
.pop_schedule0051 .lst ul { overflow-y:auto; height:2rem; }
.pop_schedule0051 .lst .no_data { padding-left:0; width:100%; font-weight:600; text-align:center; }
.pop_schedule0051 .lst li { width:50%; float:left; padding-top:0.5rem; }
.pop_schedule0051 .lst li a { position:relative; display:block; line-height:1.5rem; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; font-weight:600; padding:0 0.5rem 0 4.2rem; }  
.pop_schedule0051 .lst li a span { position:absolute; left:0; top:0; width:3.8rem; line-height:1.5rem; background:#fff; border-radius:1.5rem; color:#ff4d80; text-align:center; font-weight:700;} 
.pop_schedule0051 .btnTy { top:1rem; right:1rem; background:#ffb8ba; }
/** 행사일정 : active **/ 
.pop_schedule0051 a { -webkit-transition:0.2s; transition:0.2s;}
.pop_schedule0051 .lst li a:hover,
.pop_schedule0051 .lst li a:focus { color:#ff4d80; }
.pop_schedule0051 .month a:hover,
.pop_schedule0051 .month a:focus,
.pop_schedule0051 .btnTy:hover,
.pop_schedule0051 .btnTy:focus { background-color:#ff4d80; color:#fff; }

/* 갤러리 */
.gallery0051 { position:relative; height:100%; background:#aa89bd; border:1px solid #a16bc1; border-radius:1.5rem 1.5rem 0 1.5rem; box-shadow:4px 4px 0 #bda5cb; padding:1rem; } 
.gallery0051 h2 { font-size:1rem; font-weight:600; color:#fff; margin:0 2rem 0.5rem 0; overflow:hidden; white-space:nowrap;}
.gallery0051 .list_box {height:8.65rem; overflow:hidden;}
.gallery0051 .list_box li.no_data{text-align:center; color:#fff; padding:3rem 0; font-size:.9rem;}
.gallery0051 .list_box li { width:100%; height:100%; }
.gallery0051 .list_box a { display:block; text-align:center; }
.gallery0051 .list_box a .img {position:relative; height:7rem; overflow:hidden; border-radius:1.5rem; background:#efefef; }
.gallery0051 .list_box a .img img {position:absolute; top:50%; left:50%; -webkit-transform:translate(-50%, -50%); transform:translate(-50%, -50%); width:auto; height:100%; }
.gallery0051 .list_box a p { display:inline-block; color:#fff; font-weight:600; margin-top:0.5rem; text-overflow:ellipsis; white-space:nowrap; overflow:hidden; -webkit-transition:0.15s; transition:0.15s;}
.gallery0051 .btnTy { background:#fff; top:1rem; right:1rem; color:#474747; }
/** 갤러리 : active **/
.gallery0051 .list_box a:hover p,
.gallery0051 .list_box a:focus p { box-shadow:inset #5b4c91 0 -10px 0; } 
.gallery0051 .btnTy:hover,
.gallery0051 .btnTy:focus { background:#5b4c91; color:#fff;}

/* 식단 */
.meal_menu0051 { position:relative; height:100%; background:#8c5fa6; padding:1rem; box-shadow:4px 4px 0 #6d3c8a; border-radius:1.5rem 1.5rem 1.5rem 0; border:1px solid #a16bc1; }  
.meal_menu0051 h2 { font-size:1rem; font-weight:600; color:#fff; margin:0 2rem 0.5rem 0; overflow:hidden; white-space:nowrap;}
.meal_menu0051 .inner { position:relative; background:#fff; border-radius:1.5rem; padding:1rem; }
.meal_menu0051 .inner ul { overflow:hidden; overflow-y:auto; height:6rem; }
.meal_menu0051 .inner li:not(.no_data) { padding-right:1rem; }
.meal_menu0051 .inner li + li { margin-top:1.5rem; }
.meal_menu0051 .inner .no_data { line-height:6rem; text-align:center; font-weight:600; }
.meal_menu0051 .inner dl { position:relative; height:auto; color:#000; } 
.meal_menu0051 .inner dl dt { color:#8c5fa6; font-weight:700; margin-bottom:0.3rem; }
.meal_menu0051 .inner dl dd { color:#333; font-weight: 600;}
.meal_menu0051 .btnTy { background:#fff; top:1rem; right:1rem; color:#8c5fa6; } 
/** 식단 : active **/
.meal_menu0051 .btnTy:hover,
.meal_menu0051 .btnTy:focus { background:#aa89bd; color:#fff; }
  
/* 바로가기 */
.M_link0051 {height:100%; padding:2.5rem 1rem;}
.M_link0051:before { content:""; position:absolute; left:0; top:0; width:1200px; height:100%; background:url('/images/schl/template/T0051/main/0051_ptrn.png'); border-radius:5rem 5rem 0 0; }
.M_link0051 ul { display:table; table-layout:fixed; width:100%; }
.M_link0051 li { position:relative; display:table-cell; vertical-align:top; z-index:1; }
.M_link0051 li a { display:block; position:relative; width:100%; word-break:keep-all; text-align:center; }
.M_link0051 li a .img { position:relative; display:block; width:4rem; height:4rem; margin:auto; }
.M_link0051 li a img { display:block; width:100%; height:100%; -webkit-transition:all .2s; -ms-transition:all .2s; transition:all .2s; }
.M_link0051 li a p { font-size:0.9rem; line-height:1rem; height:2rem; padding:0 5px; margin-top:1.5rem; overflow:hidden; font-weight:600; color:#333; word-break:break-all; }
.M_link0051 li a,
.M_link0051 li a p { -webkit-transition:all .15s; -ms-transition:all .15s; transition:all .15s; }
/** 바로가기 : active **/ 
.M_link0051 li a:hover img,
.M_link0051 li a:focus img { -webkit-transform:rotateY(180deg); transform:rotateY(180deg);}
 
/* 팝업존 */
.pop0051 { position:relative; width:100%; height:100%; border:1px solid #ccc; background:#fff; border-radius:1.5rem; box-shadow:4px 4px 0 #e5e5e5; padding:2rem 19rem 1.5rem 1.5rem; } 
.pop0051 h2 { color:#222; font-weight:600; font-size:1rem; overflow:hidden; white-space:nowrap; } 
.pop0051 .page { width:3rem; height:3rem; background:#ede7fa; border-radius:50%; color:#111; text-align:center; line-height:3rem; margin:0.5rem 0; }
.pop0051 .page strong { position:relative; padding-right:1rem; font-size:1rem; color:#683386; font-weight:700; }
.pop0051 .page strong:before { content:""; position:absolute; top:50%; right:0.3rem; width:0.5rem; height:2px; background:#999; }
.pop0051 .nss_pg a { display:inline-block; width:1.5rem; height:1.5rem; background:#9c5fa2; color:#fff; text-align:center; line-height:1.5rem; border-radius:50%; -webkit-transition:0.2s; transition:0.2s; }  
.pop0051 .nss_pg .play { display:none; }
.pop0051 .pop_img { position:absolute; right:1rem; top:0.8rem; width:100%; max-width:17.5rem; height:11.25rem; overflow:hidden; text-align:center; border-radius:1.5rem; background:#efefef; }
.pop0051 .pop_img div,
.pop0051 .pop_img .item {height:100%;}
.pop0051 .pop_img .item a { display: block; height:100%; line-height:0; text-align:center; overflow:hidden;}
.pop0051 .pop_img .item img {position:relative; max-width:100%; width:auto; height:100%;} 
/** 팝업존 : active **/
.pop0051 .nss_pg a:hover,
.pop0051 .nss_pg a:focus { background:#683386; }

/* 배너존 */
.banner_zone {line-height: 1; border-top: 1px solid #d1d8e4;}
.banner_zone .container {position: relative; height: 4rem; overflow: hidden;}
.banner_zone h2 {float:left; margin-top: 1.5rem; width: 4rem; font-size: 0.85rem; font-weight: 400; color: #191919;}
.banner_zone .btn {float: left; margin-top: 1.3rem; overflow: hidden; border-left:1px solid #ccc;}
.banner_zone .btn a {float: left; width: 1.4rem; height: 1.4rem; line-height:1.4rem; text-align:center; overflow: hidden; border:1px solid #ccc; border-left:0;}
.banner_zone .btn a.play{display:none;}
.banner_zone .bnWrap { width: calc(100% - 10rem); float:left; padding-top: 0.75rem; padding-left:1.5rem; overflow: hidden;}
.banner_zone .bnWrap a {display: block; height: 2.5rem; line-height: 2.3rem; text-align: center; margin:0 5px; border: 1px solid #c8d1db; overflow: hidden;}
.banner_zone .bnWrap a img {max-width: 100%; max-height: 100%; vertical-align: middle;}
  
@media (max-width:1240px) {  
	/* 팝업존 */
	.pop0051 { padding:1.5rem 19rem 1.5rem 1rem; }
	.pop0051 .nss_pg { width:1.5rem; }
	.pop0051 .nss_pg a + a { margin-top:0.2rem; }

}
@media (max-width:960px) {  
	/* 비주얼 */
	.MVisual0051 .item img { width:100%; height:auto; }

	/* 공지사항 */
	.notice0051 .titTab ul li { max-width:100%; margin-top:0.2rem; }
	.notice0051 .titTab ul li + li { margin-left:1rem;}
	.notice0051 .titTab ul li + li:after { left:-0.6rem;}
	.notice0051 .titTab ul li a { padding-top:0.3rem;}

	/* 바로가기 */
	.M_link0051 { padding:1rem 0;}
	.M_link0051:before { width:100%; border-radius:3rem 1.5rem 0 0;}
	.M_link0051 li a p { margin-top:1rem; }
	.M_link0051 li a .img { width:3rem; height:3rem; }

	/* 팝업존 */
	.pop0051 { padding:1rem; }
	.pop0051 h2 { margin-right:9rem;}
	.pop0051 .pop_img { position:relative; right:auto; top:auto; margin:1rem auto 0; }
	.pop0051 .page { position:absolute; right:6.5rem; top:0.5rem; width:2.5rem; height:2.5rem; margin:0; line-height:2.5rem; }
	.pop0051 .page strong { padding-right:0.7rem; }
	.pop0051 .page strong:before { right:0.15rem;}
	.pop0051 .nss_pg { position:absolute; right:1rem; top:1rem; width:auto;}
	.pop0051 .nss_pg a + a { margin:0; }  
}
@media (max-width:860px) {   
	/* 배너존 */
	.banner_zone h2{display:none;}
	.banner_zone .bnWrap{width:calc(100% - 6rem); padding-left:0.75rem;}
}   
@media (max-width:580px) { 
	/* 공지사항 */
	.notice0051 .titTab ul li a { font-size:0.9rem; }

	/* 행사일정 */
	.pop_schedule0051 h2 { font-size:0.9rem; }
	.pop_schedule0051 .lst ul { height:4rem;}
	.pop_schedule0051 .lst li { float:none; width:100%; }

	/* 갤러리 */
	.gallery0051 h2 { font-size:0.9rem; }

	/* 오늘의 식단 */ 
	.meal_menu0051 { border-radius:1.5rem 0 1.5rem 1.5rem; }
	.meal_menu0051 h2 { font-size:0.9rem; }
	.meal_menu0051 .inner ul { height:5rem;} 	
	.meal_menu0051 .inner .no_data { line-height:5rem;}  

	/* 팝업존 */
	.pop0051 h2 { font-size:0.9rem; } 
    .pop0051 .pop_img{ height:auto; text-align:center; }
    .pop0051 .pop_img .item img { top:auto; left:auto; max-height:15rem; transform: none; -ms-transform: none;}

}
@media (max-width:380px) { 
	/* 행사일정 */
	.pop_schedule0051 .month {display:block; text-align:center;}
	.pop_schedule0051 .lst { margin-top:0; }

	/* 바로가기 */
	.M_link0051 { display:block; }
	.M_link0051 li { width:50%; float:left; }
	.M_link0051 li a .img { width:2.5rem; height:2.5rem;}
}