@charset "utf-8";


#wrap{ position:relative; min-width:1200px; min-height:100%; overflow:hidden; font-family:Malgun Gothic, '맑은고딕', sans-serif;}

/*배경그림자*/
#shadow_device {display:none; position:fixed; top:0; left:0; width:100%; height:100%; z-index:1000; background:#000; opacity:0.7; }
/*터치영역*/
#touchArea {display:none; position:absolute; top:0; left:0; width:100%; height:100%; z-index:880;}
/*모바일메뉴*/
#topmenu{ display:none; overflow-y:auto; overflow-x:hidden; position:absolute; top:0; right:-230px; width:230px; height:100%; background:#404142; z-index:1002; box-shadow:0px 0px 10px #333;}

/*헤더*/
.gnb_box_top {position:fixed; top:-80px; z-index:1200; }
#header {position:relative; width:100%; height:169px; background:url('/images/org/web/mygifted/common/bg_header.png') repeat-x; z-index:999;}
#snb {position:relative; width:1200px; margin:0 auto;}
#snb h1 { position:absolute; top:55px; left:0}

/* 교육청 홈페이지 바로가기 */
#snb .btn_gneHome{ display:block; position:absolute; top:0; left:0; padding:0 15px 0 14px; height:34px; line-height:36px; background-color:#fff;}
#snb .btn_gneHome a { display:block; color:#4b6686; font-size:13px;}
#snb .btn_gneHome a img { margin-right:5px; margin-top:-2px;}

/* 검색 */
.search_btn {display:none; position:absolute; left:2.5%; top:13px;}
.search_btn button, .search button, .search .cont_box button, .search_close button{font-size:0; line-height:0; text-indent:-10000px;}
.search_btn button {width:50px; height:50px; background:#003663 url('/images/org/web/mygifted/common/totalsearch_ico2.png') no-repeat 50%; background-size:34px auto}
.search {position:absolute; top:54px; left:50%; width:360px; height:40px; margin-left:-180px; z-index:200;}
.search .search_wrap {position:relative; width:356px; height:36px; color:#5b5a5a; border:2px solid #14468f; background:#fff; z-index:2; overflow:hidden;}
.search .cont_box {position:relative; display:block;}
.search .cont_box button {position:absolute; top:0; right:0; width:40px; height:40px; background:#14468f url('/images/org/web/mygifted/common/btn_search_w.png') no-repeat 50%}
.search input{margin:0 6px 2px 6px; padding:0; width:70%; height:34px; font-size:13px; color:#5b5a5a; border:0; background-color:#fff;}
.search_close{display:none; position:absolute; top:-67px; left:2.5%; z-index:10;}
.search_close button {width:50px; height:50px; background:#003663 url('/images/org/web/mygifted/common/totalsearch_close.png') no-repeat 50%}
.search .cont_box img{margin-left: 10px;width: 22%;}

/* SNS & 사용자메뉴 */
.global_mn .global {position:absolute; right:0; top:0; height:34px; line-height:32px; padding:0 4px; background:#2558a4; overflow:hidden}
.global_mn .global li {float:left; font-size:13px; position:relative}
.global_mn .global li:before { content:''; width:1px; height:10px; background-color:#637ca2; position:absolute; top:13px; left:0}
.global_mn .global li:first-child { background-image:none}
.global_mn .global li:first-child:before { display:none}
.global_mn .global a {display:block; padding:0 15px 0 16px; color:#fff; }
.global_mn .top_sns {position:absolute; right:0; top: 55px; overflow:hidden;}
.global_mn .top_sns li {float:left; margin-left:14px; width:42px; height:42px;}
.global_mn .top_sns li a {display:block;}

/* 메뉴 */
#gnb {position:absolute; top:115px; left:0; width:100%; z-index:52; background:#fff; border-bottom:2px solid #02397a}
#gnbwrap { background:url('/images/org/web/mygifted/common/bg_menu.png') repeat-x}
#animate {position:relative; width:1200px; height:52px; margin:0 auto; z-index:10; overflow:hidden;}
#tnb {position:relative; padding-right:1px}
#tm{ display:table; width:100%; padding-left:1px; background:url('/images/org/web/mygifted/common/menu_line.png') no-repeat left 54px;}
#tm:after { content:""; clear:both; display:table}

#tm li.th1 {text-align:center; width:12.5%; display:table-cell; background:#fff url('/images/org/web/mygifted/common/menu_line.png') no-repeat right 54px;}
#tm li.th1.on {background:#f2f4f7 url('/images/org/web/mygifted/common/menu_line.png') no-repeat right 54px;}
#tm li.th1:first-child { width:auto}
#tm li.th1 a.th1_lnk {display:block; background-color:#fff; font-weight:bold; font-size:17px; color:#222; height:52px; line-height:50px;}
#tm li.th1 a.current, #tm li.th1 a:hover {text-decoration:none; color:#3d7dd5;}

#tm li ul.th2 {padding:8px 0 12px; border-top:2px solid #02397a; text-align:left; font-size:13px;}
#tm li ul.th2 li {line-height:22px; position:relative; padding-right:1px; word-break:keep-all}
#tm li ul.th2 li a.th2_link {display:block; color:#333; padding:3px 12px 5px;}
#tm li ul.th2 li a:hover{background-color:#dbe1eb; text-decoration:none; }
#tm li ul.th2 li a.ov{ background-color:#1f5aa0; color:#fff; font-weight:bold; text-decoration:none; }

/* 3차메뉴 추가 */  
#tm li ul.th3 { display:none; padding:6px 0; font-size:12px; border-bottom:1px solid #ddd;}
#tm li li:last-child ul.th3 {border-bottom:0;}
#tm li ul.th3 li {line-height:18px;}
#tm li ul.th3 li a.th3_link { background:url('/images/org/web/mygifted/common/snb_btn_dot.gif') no-repeat 15px 11px; display:block; color:#666; padding:3px 12px 3px 24px}
#tm li ul.th3 li a.ov, #tm li ul.th3 li a:active, #tm li ul.th3 li a:hover{ background-color:transparent; color:#36C; text-decoration:underline; font-weight:bold}
/* 2차메뉴 아이콘 */  
#tm li ul.th2 li.row > a:after{display:block; position:absolute; content:'';}
#tm li ul.th2 li.row > a:after{background:url('/images/org/web/mygifted/common/icon_arrow_off.png') no-repeat; width:5px; height:8px; right:13px; top:12px;}
#tm li ul.th2 li.on > a:after{ background:url('/images/org/web/mygifted/common/icon_arrow_on.png') no-repeat; width:8px; height:5px; right:12px; top:14px;}
/* 새창 아이콘 */
#tm li > a[target='_blank']:after{display:inline-block; vertical-align:middle; position:relative; content:''; background:url('/images/org/web/mygifted/common/icon_blank.png') no-repeat; width:11px; height:11px; margin:-1px 0 0 8px;}

/* SNS & 사용자메뉴 */
#topmenu .mobile_global {overflow:hidden; }
#topmenu .mobile_global .mt_sns {overflow:hidden;}
#topmenu .mobile_global .mt_sns a {display:block; width:25%; height:40px; float:left; color:#fff; text-indent:-10000px;}
#topmenu .mobile_global .mt_sns a.btn_sns_f {background:url('/images/org/web/mygifted/common/btn_sns_f.png') no-repeat 50% #4965b5;}
#topmenu .mobile_global .mt_sns a.btn_sns_t {background:url('/images/org/web/mygifted/common/btn_sns_t.png') no-repeat 50% #00aeef;}
#topmenu .mobile_global .mt_sns a.btn_sns_n {background:url('/images/org/web/mygifted/common/btn_sns_n.png') no-repeat 50% #4bb53d;}
#topmenu .mobile_global .mt_sns a.btn_sns_i {background:url('/images/org/web/mygifted/common/btn_sns_i.png') no-repeat 50% #ff7fa9;}
#topmenu .mobile_global .mt_global {padding:10px 0; background:#252627;}
#topmenu .mobile_global .mt_global a {display:block; margin:3px 20px; text-align:center; line-height:30px; color:#fff; border:1px solid #000;} 

/* 모바일 */
.nav_mobile {display:none; position:absolute; top:13px; right:2.5%;}
.nav_mobile a {display:block; width:50px; height:50px; background:#1ba3c8 url('/images/org/web/mygifted/common/btn_sitemap.png') no-repeat 50%;}
.nav_mobile a span { position:absolute; top:-9999px; left:0; overflow:hidden; height:0; font-size:0; }

.nav_mobile_close{display: none; position: absolute; right:2.5%; top:13px; z-index: 9999;}
.nav_mobile_close a { display:block; width:50px; height:50px; background:#1ba3c8 url('/images/org/web/mygifted/common/slide_map_close.png') no-repeat 50%;}
.nav_mobile_close a span { position:absolute; top:-99999px; left:0; overflow:hidden; height:0; font-size:0; }

#topmenu {display:none;}
#gnb_device > li {border-bottom:1px solid #252627; background:#404142; }
#gnb_device > li > a { display:block; height:22px; padding:14px 18px; background:url('/images/org/web/mygifted/common/mo_menu_ov.png') no-repeat right top; font-size:16px; color:#fff; }
#gnb_device > li > a.on,
#gnb_device > li > a:hover,
#gnb_device > li > a:focus,
#gnb_device > li > a:active {background:url('/images/org/web/mygifted/common/mo_menu_off.png') no-repeat right top; text-decoration:none; }

#gnb_device > li > ul { padding:10px 0; background:#2b2c2e; }
#gnb_device > li > ul > li {background:#2b2c2e; }
#gnb_device > li > ul > li > a {display:block; padding:6px 20px 6px 25px; font-size:14px; color:#fff; background:url('/images/org/web/mygifted/common/snb_btn_dot.gif') no-repeat 15px 13px; }
#gnb_device > li > ul > li > a.ov,
#gnb_device > li > ul > li > a:hover,
#gnb_device > li > ul > li > a:focus,
#gnb_device > li > ul > li > a:active {color:#00baff; }
#gnb_device > li > ul > li > ul {padding:10px 20px; background:#161718; }
#gnb_device > li > ul > li > ul > li {padding:8px 0; border-bottom:1px dotted #404142;}
#gnb_device > li > ul > li > ul > li:last-child {border-bottom:0;}
#gnb_device > li > ul > li > ul > li > a {line-height:1.4; font-size:13px; color:#ccc;}
#gnb_device > li > ul > li > ul > li > a.ov, #gnb_device > li > ul > li > ul > li > a:hover, #gnb_device > li > ul > li > ul > li > a:focus, #gnb_device > li > ul > li > ul > li > a:active {color:#fff; }

/* footer */
.area_footer {position:relative; background:#fff url('/images/org/web/mygifted/common/ft_bg.png') repeat-x;}
.box_footer {position:relative; width:1200px; margin:0 auto; padding-bottom:35px;}

/* 푸터 메뉴 */
.footer_link {position:relative; padding:10px 0 0; overflow:hidden; z-index:10;}
.footer_link li {float:left; height:30px; line-height:28px; font-size:14px;}
.footer_link li a {display:block; padding:0 12px; color:#727272}
.footer_link li a:hover {text-decoration:underline;}
.footer_link li.point a{padding-left:0; color: #378fcf;}
.box_footer .box_info { padding:30px 0 0; line-height:20px; font-size:13px; color:#666;}
.box_footer .box_info .copyright {margin-top:5px; color:#9ba5ad;}

/* 방문자수 */
.visitant {position:absolute; right:0; top:70px; width:375px; height: 48px; border:1px solid #ccc;}
.visitant h2 {display:none}
.visitant ul {overflow:hidden;}
.visitant ul li {width:49.5%; float:left; line-height:48px;}
.visitant ul li.total {border-left:1px solid #ccc;}
.visitant ul li strong {margin-right:10px; font-weight:normal;}
.visitant ul li.today strong {padding-left:10px; color:#f25953; }
.visitant ul li.total strong {padding-left:10px; color:#048bdd; }
.visitant ul li img {vertical-align:middle; margin:-2px 0 0 15px}

.btn_top{ position:fixed; right:35px; bottom:35px; z-index:100} 


/********** media query mobile *************/
@media screen and (max-width:1019px) {
	
	#wrap{min-width:320px; overflow-y:visible; width:100%; height:100%}
	#header, #snb,
	.search, .search .search_wrap, .search input, 
	.footer_link li { width:100%; -webkit-box-sizing:border-box; -moz-box-sizing:border-box; -ms-box-sizing:border-box; box-sizing:border-box}
	
	#header {height:80px; background:#fff; position:fixed; background-image:none; border-bottom:4px solid #205a9f;}
	#snb h1 { position:relative; top:auto; left:auto; text-align:center; padding-top:18px;}
	
	/* 교육청 홈페이지 바로가기 */
	#snb .btn_gneHome{ display:none}

	/* 검색 */
	.search_btn {display:block}
	.search {display:none; top:80px; left:0; height:120px; margin-left:0; padding:39px 2.5%; background:#8d9ba9;}
	.search .search_wrap {width:100%; height:42px; border:0; border-radius:0; overflow:visible }
	.search .cont_box {padding-right:60px;}
	.search .cont_box button {top:0; right:0; width:60px; height:42px; background:#1f5aa0 url('/images/org/web/mygifted/common/totalsearch_ico2.png') no-repeat 50%; background-size:26px auto}
	.search input {margin:0;padding:0 10px;width: calc(100% - 104px);height:42px;line-height:42px;}
	.search_close{display:block}
	.search .cont_box img{margin-left: 10px;width: 65px;}


	/* SNS & 사용자메뉴 */
	.global_mn {display:none;}

	/* 메뉴 */
	#gnb {display:none;}

	/*모바일 */
	.nav_mobile {display:block;}

	/* footer */
	.area_footer {background-image:none; border-top:1px solid #ccc;}
	.box_footer {width:95%; padding:20px 0 35px;}


	/* 푸터 메뉴 */
	.footer_link {border-left:1px solid #ccc; border-bottom:1px solid #ccc; padding:0}
	.footer_link li {width:25%; height:35px; line-height:35px; border-right:1px solid #ccc; border-top:1px solid #ccc; }
	.footer_link li a {text-align:center; background-image:none; background-color:#fbfbfb}
	.box_footer .box_info { padding:15px 0 0}
	
	/* 방문자수 */
	.visitant {display:none;}
	
	.btn_top{bottom:2.5%; right:2.5%;}

	
	
}

@media screen and (max-width: 800px){
	
		
	/* 푸터 메뉴 */
	.footer_link li {width:50%;}

}

@media screen and (max-width: 580px){
	
	#header {height:60px; border-bottom-width:2px}
	#snb h1 {padding-top:15px;}
	#snb h1 img {height:28px;}

	/* 검색 */
	.search_btn {top:9px;}
	.search_btn button {width:40px; height:40px; background-size:24px auto}
	.search {top:60px}
	.search_close{ top:-51px;}
	.search_close button {width:40px; height:40px;}
	
	/* 모바일 */
	.nav_mobile {top:9px}
	.nav_mobile a {width:40px; height:40px; background-size:24px auto}
	
	.nav_mobile_close{top:9px;}
	.nav_mobile_close a {width:40px; height:40px}


}


