@charset "utf-8";

a:hover, a:focus {text-decoration: none !important;  }

/** Common Style **/
.footer_menu    { background-color:#363a3f }
.fix-layout		{ position: relative; max-width: 1600px; margin-left: auto; margin-right: auto; box-sizing: border-box; }
.fix-layout  .footer_menu_list  li  { display:inline-block; padding:13px 20px ;}
.fix-layout  .footer_menu_list  a  { color:#fff; }
.fix-layout  .footer_menu_list  a:hover  { color:#ffa3ab; }

section	.fix-layout {background-image: url('/resources/images/egsv/common/body_bg_line.gif') repeat-y ;}

/* 컨텐츠 영역 */
.content { padding: 0 !important; /*width: 1200px; min-height: 500px; margin-bottom: 100px;*/ }
.content-pane .content {min-height: 50px;}
.wrapper .content-header {box-shadow: none !important; padding:0 !important;}
#body {margin:0 10px 80px; /*width: 100%;*/ width: calc(100% - 300px);float: left;}
#body h1 { margin-top:40px; padding-bottom: 33px; border-bottom: 1px solid #e1e1e1; color: #333333; font-size: 34px;}

/************************************************
	Site Menu
*************************************************/

#tnb								{ position: relative; background-color:rgba(0, 0, 7, 0.8); border-bottom:1px solid #4a4d51;}
#tnb > .fix-layout:after			{ content: ""; display: block; position: relative; clear: both;}
#tnb > .fix-layout .top-logo  { position:absolute; left:0; top:0;  background-color:#be222f; width:186px; height:145px; text-align:center; z-index:600;}
#tnb > .fix-layout .top-logo img {margin-top:36px;}
#tnb ul								{ height: 39px; float:right;}
#tnb li								{ display: block; position: relative; float: left; padding:10px;}
#tnb li a							{ display: block; position: relative; width: 100%; height: 100%; color:#858588;}
#tnb li a:hover						{ color: #ffa3ab; }
#tnb li a:before					{ content: ""; display: block; position: absolute; top: 0; left: 0; right: 0; bottom: 0; font-family: 'icon'; color: #49a5bf; font-size: 23px; text-indent: 0; text-align: center; line-height: 45px; }
#tnb li a:after						{ content: ""; display: block; position: absolute; top: 0; left: 0; right: 0; bottom: 0;}


/************************************************
	Header
*************************************************/

header													{ position: static;  /*position: absolute;*/ top: 0; left: 0; right: 0; z-index: 99; background:#fff;}
header h1												{ position: absolute; top: 0; left: 0; z-index: 2; }

@media all and (max-width: 1000px) { 
	header				{ /*padding-top: 70px;*/ min-height: 0; }
	header h1			{ top: 10px; }

	header #site_search_box								{ width: 200px; right: 65px; top: 10px; }
	header #site_search_box fieldset input[type="text"]	{ height: 40px; }
	header #site_search_box button[type="submit"]		{ height: 40px; line-height: 40px; }
}
@media all and (max-width: 400px) { 
	header #site_search_box								{ width: 100px; }
}


/************************************************
	Footer
*************************************************/

/*footer			{ clear: both; margin-top: 0px; padding: 20px 0; border-top: 0px solid #e1e1e1; text-align: center; }
footer p		{ font-size: 11px; }*/


/************************************************
	Section Style
*************************************************/

section						{ position: relative; padding: 0px; }
section.contDetail			{ margin-top: 0; }
@media all and (max-width: 1000px) { 
	section		{ /*margin-top: 78px; */}
}


/************************************************
	Sub Page Style
*************************************************/

.sub-page					{ padding-top: 20px; }

.sub-page #page_nav							{ display: block; position: absolute;right: 15px; top: 25px; }
.sub-page #page_nav li						{ display: inline-block; position: relative; font-size: 11px; padding-left: 20px;  color: #888; vertical-align: middle; }
.sub-page #page_nav li:before				{ content: ">"; display: block; position: absolute; top: 0; left: 0; width: 20px; bottom: 0; line-height: 21px; font-size: 10px; text-align: center; }
.sub-page #page_nav li:first-child			{ text-indent: -999px; overflow: hidden; width: 20px; height: 21px; padding-left: 0;  text-align: left; }
.sub-page #page_nav li:first-child:before	{ content: "\e900"; font-family: 'icon'; font-size: 15px; text-indent: 0; }

/************************************************
	LNB Menu Style
*************************************************/
#lnb		{display: block;left: 0px;z-index: 20;/* top: 300px; */ height: 315px;}
#lnb:after	{ content: ""; display: block; position: relative; clear: both; }
#lnb .pull-right {display:none;}
#lnb #sub_visual i {display:none;}

#lnb > ul {position: relative;width: 215px;top:212px;}
#lnb > ul > li {height: auto;}
#lnb > ul > li a {font-size: 25px;font-weight: 600;display: block;padding-top: 55px;padding-bottom: 30px;text-align: left;border-bottom: 2px solid #4d4d4d;/*letter-spacing: -0.12em;*/}
#lnb > ul > li > ul { padding-top:20px}
/*#lnb > ul > li > ul a {text-align: left;border-bottom: 0px;}
#lnb > ul > li > ul > li {padding-left: 0px;}
#lnb > ul > li > ul > li > a {color:#444444 !important;font-size: 18px;padding:10px 10px;font-weight: 500;}
#lnb > ul > li > ul > li > a:focus,*/
/*#lnb > ul > li > ul > li > a:hover {background: #bf2f3c;color:#ffffff !important;padding:10px}*/
#lnb > ul > li > ul > li > a:hover {/* background: #bf2f3c; color: #bf2f3c !important;*/padding:10px;border: 2px solid #bf2f3c;border-radius: 4px; font-weight: 500;}

/* 3 depth */
#lnb > ul > li > ul > li > ul						{ position: relative; padding: 3px 10px; border: 1px solid #eaeaea; background: #fafafa; }
#lnb > ul > li > ul > li > ul > li > a				{ padding: 3px 10px; font-size: 12px; border-top: 1px solid #eaeaea; }
#lnb > ul > li > ul > li > ul > li > a:hover		{ font-weight: 800; }
#lnb > ul > li > ul > li > ul > li:first-child > a	{ border-top-width: 0; }


.lnb-item					{ position: relative; float: left; width: 170px; height: 42px; max-width: 33.33%; font-size: 16px; font-weight: 200; border: 0px ; }
.lnb-item > ul				{ position: absolute; top: 0; left: 0; right: 0; padding-top: 42px; height: 0px; overflow: hidden;}
.lnb-item > ul .check		{ position: absolute; top: 0; left: 0; right: 0; height: 42px; background: rgba(0, 0, 0, 0);}
.lnb-item > ul .check.open a{ color: #ffffff ; font-weight: 400; background:#1f1f1f; }
.lnb-item > ul .check.open a:active, .lnb-item > ul .check.open a:focus { color: #ffffff ; }
.lnb-item > ul:hover			{ background:rgba(0, 0, 0, 0.26); }

/*.lnb-item a						{ display: block; position: relative; height: 42px; line-height: 42px; padding: 0 10px; overflow: hidden; text-overflow: ellipsis; color: #ffffff; white-space: nowrap; border-top-width: 0px; box-sizing: border-box; }
.lnb-item a:hover				{ color:#ffffff; }
.lnb-item .check > a			{ border-left-width: 0; margin-left: 0; border-top-width: 1px; padding-right: 20px; bottom: 2px; }
.lnb-item .check > a:after		{ content: ""; display: block; position: absolute; width: 30px; height: 30px; background: url('/resources/images/site/ico-lnb-open.png') no-repeat 50% 50%; right: 0px; top: 5px; }
.lnb-item .check.open > a:after	{ background-image: url('/resources/images/site/ico-lnb-close.png'); }*/
.lnb-item ul > li				{ background:rgba(0, 0, 0, 0.5); }

/*.lnb-item.first > ul		{ top: -50px; font-size: 25px;}*/
.lnb-item.first a			{ border-left-width: 1px; }
.lnb-item.first a:after		{ /*display: none;*/ }
.lnb-item.first > a:after		{ content: ""; display: block; position: absolute; width: 30px; height: 30px; background: url('/resources/images/site/ico-lnb-open.png') no-repeat 50% 50%; right: 0px; top: 5px; }
.lnb-item.first.open > a:after	{ background-image: url('/resources/images/site/ico-lnb-close.png'); }

@media all and (max-width: 1200px) {

.fix-layout	{ position: static; }

#lnb		{ top:0px; height: 80px; }
#lnb > ul { padding-left: 20px;}
/*#sub_visual h3 { top: 130px; padding-left: 20px; text-align: left !important; }*/

#body { width: 100%; margin: 0; margin-bottom: 50px; padding:20px; }
#body h1 { padding: 25px 0 30px 20px;}
#body .sub-content { margin-top: 20px; }

}

@media all and (max-width:1200px) and (min-width:768px) {
#lnb > ul {top: 165px; }

}

@media all and (max-width:767px) {
#lnb > ul { top: 180px; }
#sub_visual	h3 { top: 120px;}
#body h1 { padding-top:0px;}
}


@media all and (max-width: 640px) {
.lnb-item { border: 1px solid rgba(255, 255, 255, 0.2);}

}


@media all and (max-width:420px) {
	
#sub_visual h3 { font-size:26px;}
}

/* 2025-08-06 추가 */
/* 기본 레이아웃 */
.layout {
  display: flex;
  /*min-height: 100vh;
  min-height: 100svh;   
  min-height: 100dvh;*/   /* 대체안 */
}

/* 왼쪽 메뉴 */
.sidebar {
  width: 300px;
  background: #fff;
  border-right: 0px solid #ddd;
  padding: 20px;
  font-weight:500;
}

.sidebar .menu-title {
  font-size: 35px;
  margin-bottom: 10px;
  color:#0a0a0b;
  text-align:center;
  border-bottom: 2px solid #4d4d4d;
  padding-bottom:20px;
}

.sidebar .menu-list {
  list-style:none; margin:0; padding:0; 
}

/*.sidebar .menu-list li {
  margin-bottom: 8px;
  border-bottom:1px solid #e5e5e5;
}*/
.sidebar .menu-list li:last-child { border-bottom:1px solid #e5e5e5; } 

/* 1차 메뉴 (타이틀) */
.sidebar .menu-list > ul > li > a { display:block;
  pointer-events: none;   /* 클릭 불가 */
  cursor: default;
  font-size: 20px;
  font-weight: bold;
  color: #000;
  padding: 15px 14px;
  background: none;
  border-bottom: 2px solid #000; /* 아래 구분선 */
  text-align:center
}

/* 2차 메뉴 */
.sidebar .menu-list > ul > li > ul > li {
  border-bottom: 1px solid #e5e5e5;
}
.sidebar .menu-list > ul > li > ul > li:last-child {
  border-bottom: none;
}

/* 2차 메뉴 링크 */
.sidebar .menu-list > ul > li > ul > li > a {
  display: block;
  padding: 12px 14px 12px 24px; /* 들여쓰기 */
  color: #333;
  text-decoration: none;
  transition: color .2s, background .2s;
}
.sidebar .menu-list > ul > li > ul > li > a:hover {
  background: #f8fafc;
  color: #0a58ca;
}

/* 활성화 상태 (2차 메뉴) */
.sidebar .menu-list > ul > li > ul > li.active > a {
  background: #eef4ff;
  color: #0a58ca;
  font-weight: 700;
  position: relative;
}
.sidebar .menu-list > ul > li > ul > li.active > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #0a58ca;
}


/* 오른쪽 콘텐츠 */
.gsv-content {
  /*flex: 1;*/
  padding: 50px;
}
.gsv-content h2 {font-family: 'Gmarket'; color:#131313; font-size:50px; margin-bottom:50px;}
@media (max-width: 768px) {
.gsv-content {padding:10px;}
.gsv-content h2 {font-size:25px;}
}

/* 반응형 처리 (모바일에서 메뉴 위쪽으로) */
@media (max-width: 1000px) {
  .layout {
    flex-direction: column;
  }
  .sidebar {
    width:100%; border-right:none; border-bottom:1px solid #eee;
  }
.menu-list {
  position: relative;
  box-sizing: border-box;
  border:1px solid #ccc;
  border-radius:8px;
  background:#fff;
  padding-top:44px; /* 라벨 높이 */
}

/* 내부 ul 기본 여백 제거 (margin-collapsing 방지) */
.menu-list > ul { margin:0; padding:0; list-style:none; }

/* 닫힌 상태: 높이 강제 고정 + 잘라내기 */
.menu-list:not(.open) { height:44px; overflow:hidden; }

/* 라벨 */
.menu-list::before {
  content: attr(data-selected);
  position:absolute; left:1px; right:1px; top:1px;
  height:42px; line-height:42px;
  padding:0 40px 0 12px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
  background:#fff; border-radius:7px; border-bottom:1px solid #e5e5e5;
  z-index:2; pointer-events:none;
}

/* 화살표 */
.menu-list::after {
  content:""; position:absolute; right:12px; top:14px;
  width:16px; height:16px;
  background:url('data:image/svg+xml;utf8,<svg fill="%23333" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5"/></svg>') no-repeat center/contain;
  z-index:3; pointer-events:none; transition:transform .2s;
}
.menu-list.open::after{ transform: rotate(180deg); }

/* 열린 상태 항목 */
.menu-list.open li { display:block; }
.menu-list.open a { display:block; padding:12px 14px; }

/* 닫힌 상태 항목 숨김 (보너스 안정성) */
.menu-list:not(.open) li { display:none; }

}


/****************************lnb 재수정 *********************************/
#lnb{
  position: relative !important;
  max-width: 1600px !important;   /* ✅ 내용 영역 폭 */
  width: 100%;
  margin: 0 auto;                 /* ✅ 가운데 정렬 */
  padding: 14px 24px;             /* 바 높이/내부 여백 */
  display: flex;                  /* 아이콘 + 메뉴 한 줄 */
  align-items: center;
  gap: 16px;
  z-index: 20;
  height: auto !important;  z-index: 3000;      /* 기존 315px 고정 무력화 */
}
#lnb > *{ position: relative; z-index: 1; } 
/* 화면 전체 폭에 붉은 배경(라인) */
#lnb::before{
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 100vw;                   /* ✅ 뷰포트 전체 폭 */
  transform: translateX(-50%);
  background: #002445;            /* 원하는 빨강으로 교체 가능 */
  z-index: 0;pointer-events: none;                 /* 내용 뒤로 */
}

/* 테마 잔여 before/after 제거 */
#lnb::before{ display:block !important; }

/* 아이콘 표시 */
#lnb .fa-home{
  display: inline-flex !important;
  align-items: center;
  font-size: 20px;
  color:#fff;
}

/* 1뎁스/2뎁스 리스트 가로 정렬 + 기존 위치값 무력화 */
#lnb > ul{
  position: static !important;
  width: auto !important;
  top: auto !important;
  margin: 0;
  padding: 0;
  display: flex !important;
  align-items: center;
  gap: 16px;
}

/* 1뎁스 */
#lnb > ul > li{ display:flex; align-items:center; }
#lnb > ul > li > a{
  padding: 0 !important;
  border: 0 !important;
  color:#fff !important;
  font-size:18px !important;
  font-weight:600 !important;
  letter-spacing:0 !important;
}

/* 구분 화살표 */
#lnb > ul > li > a::after{
  content:"";
  display:inline-block;
  width:6px; height:6px;
  border-right:2px solid rgba(255,255,255,.9);
  border-bottom:2px solid rgba(255,255,255,.9);
  transform: rotate(-45deg);
  margin: 0 12px 1px 12px;
  opacity:.85;
}

/* 2뎁스: 현재(check)만 보이기 */
#lnb > ul > li > ul{ display:flex !important; gap:16px; padding:0 !important; }
#lnb > ul > li > ul > li{ display:none; }
#lnb > ul > li > ul > li.check{ display:block; }
#lnb > ul > li > ul > li > a{
  padding:0 !important;
  border:0 !important;
  color:#fff !important;
  font-size:18px !important;
  font-weight:500 !important;
}
/*#lnb > ul > li > ul > li > a::after{
  content:"";
  display:inline-block;
  width:0; height:0;
  margin-left:8px;
  border-left:5px solid transparent;
  border-right:5px solid transparent;
  border-top:6px solid #ffffff; /* ↓ 방향 */
  vertical-align: middle;
  opacity:.95;
}*/
/* 잔여 스타일 리셋 */
#lnb > ul > li a,
#lnb > ul > li > ul > li > a{
  background: transparent !important;
  border-bottom: 0 !important;
}
#lnb > ul > li > ul > li > ul{ display:none !important; } /* 3뎁스 숨김 */

/* 반응형(선택) */
@media (max-width:1200px){
  #lnb{ padding:12px 20px; }
  #lnb > ul{ flex-wrap: wrap; gap:12px; }
  #lnb > ul > li > a,
  #lnb > ul > li > ul > li > a{ font-size:16px !important; }
}
@media (max-width:768px){
  #lnb{ padding:10px 16px; }
  #lnb .fa-home{ font-size:18px; }
  #lnb > ul{ gap:10px; }
  #lnb > ul > li > a,
  #lnb > ul > li > ul > li > a{ font-size:15px !important; }
}
.navbar-default { background-color: #fff; border-color: #fff;}

/* footer */
.footer {background-color: #222; /* 배경색 */color: #ccc;font-size: 16px;padding: 0px 0;}
.footer-container { max-width: 1690px;margin: 0 auto;display: flex;justify-content: space-between;align-items: center;flex-wrap: wrap; padding: 50px 20px;}
/*.footer-left, .footer-center, .footer-right {flex: 1;}*/
.footer-left {flex: 0 0 40%;line-height: 1.6;}
.footer-center {flex: 0 0 20%;text-align: center;}
.footer-right {flex: 0 0 40%; text-align: right; font-size: 12px; color: #aaa;}
.footer-left {line-height: 1.6; font-size:16px; text-align:left; font-size: 16px; font-weight:500;}
.footer-center {text-align: center;}
.footer-center .footer-logo {vertical-align: middle; height: 40px;margin-right: 8px;}
.footer-center span {display: inline-block; vertical-align: middle;font-weight: bold;color: #fff;}
.footer-right {text-align: right;font-size: 16px;color: #aaa; font-weight:500;}

/* 반응형 대응 */
@media (max-width:1199px){
  .footer-left   { flex-basis:45%; }
  .footer-center { flex-basis:30%; }
  .footer-right  { flex-basis:45%; font-size:14px; text-align:left;}
  .footer-container{ padding:20px; }
}

/* 모바일(<=768px): 세로 스택 100% */
@media (max-width:768px){
  .footer-container{ flex-direction:column; gap:10px; text-align:center; }
  .footer-left, .footer-center, .footer-right{
    flex:0 0 100%; text-align:center;
  }
  .footer-right{ font-size:11px; }
  .footer-center .footer-logo{ height:36px; }
}

