@charset "utf-8";

/* Header */
#header,
#header_mo {
  transition: all 0.4s;
  background-color: #fff;
  left: 0;
  top: 0;
  z-index: 999;
}

.logo_area {
  width: 160px;
}

#header .logo_area .main,
#header_mo .logo_area .main {
  display: block;
}

#header .logo_area .sub,
#header_mo .logo_area .sub {
  display: none;
}

#header .navbar-nav {
  margin: 27px 0 0;
}

#header .navbar-nav > li.dropdown {
  position: relative;
}

#header .navbar-nav > li.dropdown::after {
  content: "";
  position: absolute;
  left: 4%;
  bottom: 15px;
  height: 3px;
  width: 85%;
  background: #03166b;
  transform: scaleX(0);
  margin-left: 50%;
  transform-origin: left;
  transition: transform 500ms ease, margin-left 0.5s ease;
}

#header .navbar-nav > li.dropdown:hover::after {
  transform: scaleX(1);
  margin-left: 5px;
}

#header .navbar-nav > li > a:hover,
#header .navbar-nav > li > a:focus,
#header .navbar-nav > li > a:visited {
  background: none;
}

#header .navbar-nav > li > a {
  position: relative;
  padding: 0px 20px 34px 20px;
  font-size: 20px;
  color: #000;
  font-family: "GmarketSansMedium";
}

#header .navbar-brand {
  position: relative;
  left: 0;
  top: -25px;
  padding-top: 8px;
  padding-left: 3px;
  font-size: 0;
  line-height: 0;
}

#header .navbar-brand-01 {
  position: absolute;
  /*top: -9px;*/
  left: 0;
  padding-top: 8px;
  padding-left: 3px;
  width: 300px;
  height: 95px;
  font-size: 0;
  line-height: 0;
  background-size: 100% auto;
}

#header .dropdown-menu {
  background-color: #fff;
  border-radius: 0;
  border-top: none;
  margin-top: 9px;
  box-shadow: none;
}

#header .dropdown:last-child > .dropdown-menu {
  right: -60px;
}

#header .dropdown-menu > li > a {
  font-size: 16px;
  line-height: 2;
  color: #fff;
}

.page_home #header .dropdown-menu > li > a {
  color: #000;
}

#header .dropdown-menu > li > a:focus,
#header .dropdown-menu > li > a:hover {
  background-color: #03166b;
}

#header.affix .dropdown-menu > li > a,
#header.affix .dropdown-menu > li > a {
  color: #000;
}

#header.affix .dropdown-menu > li > a:focus,
#header.affix .dropdown-menu > li > a:hover {
  background-color: rgba(255, 255, 255, 0.4);
  color: #000;
}

#header .general-nav .navbar-nav {
  float: right;
  height: 39px;
  margin: 0 auto;
}

#header .general-nav .navbar-nav > li > a {
  padding: 8px 9px;
  color: #175282 !important;
  font-size: 13px;
  font-weight: 500;
}

.page_home #header .general-nav .navbar-nav > li > a {
  color: #fff !important;
}

#header.affix {
  top: 0;
  width: 100%;
  z-index: 9999 !important;
}

#header.affix + .mainwrap,
#header.affix + .subwrap {
  padding-top: 132px;
}

#header.affix {
  height: 93px;
  border-top: none;
}

#header.affix .general-nav {
  display: none;
}

#header .container-fluid {
  padding: 0;
}

.page_home #header:not(.affix),
.page_home #header_mo:not(.affix) {
  position: relative;
  z-index: 1000;
}

.page_home #header:not(.affix),
.page_home #header_mo:not(.affix) {
  border-bottom: 1px solid #b9b9b999;
  position: absolute;
}

.page_home #header:not(.affix),
.page_home #header_mo:not(.affix) {
  position: relative;
  z-index: 1000;
}

.page_home #header:not(.affix),
.page_home #header_mo:not(.affix) {
  border-bottom: 1px solid #b9b9b999;
  position: absolute;
}

.page_home #header:not(.affix) .navbar-nav > li > a {
  color: #101010;
}

.page_home #header:not(.affix) .dropdown-menu > li > a:focus,
.page_home #header .dropdown-menu > li > a:hover {
  background-color: #00166b;
  color: #fff;
}

.nav .open > a,
.nav .open > a:focus,
.nav .open > a:hover {
  background-color: rgba(0, 0, 0, 0);
}

.navbar-collapse {
  padding: 0;
}

#header .dropdown-menu {
  margin-top: 0px;
}

.navbar-nav {
  flex-direction: inherit;
  margin: 0px 0 0 !important;
}

#header .navbar {
  float: right;
}

#header .navbar-nav {
  margin: 0px 0 0;
}

.dropdown-toggle::after {
  display: none;
}

#header .general-nav .navbar-nav {
  margin: 15px auto;
}

#header .navbar-nav > li.dropdown::after {
  bottom: 0px;
  top: 30px;
}

.open > .dropdown-menu {
  display: block;
}

#header .dropdown-menu {
  /* border: 1px solid rgba(255, 255, 255, 0.4); */
  background-color: #fff;
  border-radius: 0;
  border-top: none;
  margin-top: 29px;
  box-shadow: none;
}

.dropdown-menu {
  position: absolute !important;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 0;
  margin: 2px 0 0;
  font-size: 14px;
  text-align: left;
  list-style: none;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.dropdown-menu > li > a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: 400;
  line-height: 1.42857143;
  color: #333;
  white-space: nowrap;
}

.navbar-btn-rs {
  display: flex;
  margin-bottom: 5px;
}

.navbar-btn-rs a {
  font-family: "GmarketSansMedium";
}

.navbar-btn {
  padding-left: 6px;
}

.navbar-btn a {
  border: 2px solid;
  border-radius: 4px;
  color: #333333;
  font-size: 14px !important;
  font-weight: 400;
  padding: 4px 10px 2px !important;
}

.navbar-btn a:hover {
  background: #e9ebf7;
}

/* 모바일 */
#header_mo.nav_mo .logo_area {
  width: 150px;
  font-size: 30px;
}

#header_mo.nav_mo .nav2 li a {
  color: #fff;
  font-size: 17px;
}

#header.t2,
#header_mo.t2 {
  height: 86px;
  width: 100%;
  position: fixed !important;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  align-items: center;
}

#header.t2 h1,
#header_mo.t2 h1 {
  padding: 0;
  height: 55px;
  float: left;
  line-height: 55px;
}

#header.t2 .lang a,
#header_mo.t2 .lang a {
  border: 2px solid;
  border-radius: 4px;
  color: #333333;
  font-size: 14px !important;
  font-weight: 400;
  /* position: absolute; */
  padding: 4px 10px 2px !important;
}

#header.t2 .lang,
#header_mo.t2 .lang {
  /* text-align: right; */
  /* padding-right: 105px; */
  /* padding-top: 5px; */
}

#header .btnCategory,
#header_mo .btnCategory {
  /* position: absolute; */
  /* right: 12px; */
  /* top: 50%; */
  /* margin-top: -15px; */
}

#header .btnCategory a,
#header_mo .btnCategory a {
  display: block;
  background-size: 27px auto;
  text-indent: -9999px;
  font-size: 0;
  width: 30px;
  height: 30px;
}

#header.t2 .btnCategory a,
#header_mo.t2 .btnCategory a {
  background: url(/img/ico_menu_b.png) 50% 50% no-repeat;
  background-size: 20px auto;
}

.btn_area {
  font-family: "GmarketSansMedium";
  display: flex;
  align-items: center;
  gap: 10px;
}

/* mslide(모바일 햄버거 메뉴) 시작 */
.modalBg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
  filter: alpha(opacity=0);
  opacity: 100% !important;
  -moz-opacity: 0;
  width: 100%;
  height: 100%;
  z-index: 300;
}

#mslide {
  display: none;
  position: fixed;
  top: 0;
  left: -250px;
  z-index: 301;
  height: 100%;
  width: 100%;
}

#mslide .mslideBg {
  background-color: #fff;
  width: 100%;
  height: 100%;
}

#mslide .sldclose {
  position: absolute;
  top: 16px;
  left: 15px;
  display: block;
  background-color: #fff;
  background: url(/img/ico_close.png) 0 50% no-repeat;
  background-size: 17px auto;
  text-indent: -9999px;
  font-size: 0;
  width: 20px;
  height: 20px;
}

#mslide .sldtitle {
  background-color: #4e6995;
  height: 0px;
  margin-top: 86px;
}

#mslide .sldtitle .sldtit {
  display: block;
  color: #fff;
  font-size: 15px;
  padding: 17px 0 0 47px;
}

#mslide li {
  background-color: #fff;
  border-bottom: 1px solid #e8e8e9;
}

#mslide li .depth1 {
  display: block;
  background: url(/img/ico_plus.png) 100% 50% no-repeat;
  background-size: 36px auto;
}

#mslide li .depth1.none {
  background-image: none;
}

#mslide li .depth1 a {
  display: block;
  background: url(/img/ico_lnb.png) 20px 50% no-repeat;
  background-size: 22px auto;
  font-size: 13px;
  padding: 0 10px 0 52px;
  line-height: 48px;
  height: 48px;
}

#mslide li .depth2 {
  display: block;
}

#mslide li .depth2 a {
  display: block;
  background: url(/img/ico_lnb.png) 20px 50% no-repeat;
  background-size: 22px auto;
  font-size: 13px;
  padding: 0 10px 0 52px;
  line-height: 48px;
  height: 48px;
}

#mslide li .depth3 {
  display: block;
}

#mslide li .depth3 a {
  display: block;
  background-size: 22px auto;
  font-size: 13px;
  padding: 0 10px 0 52px;
  line-height: 48px;
  height: 48px;
  /*color: #cbcbcb;*/
}

#mslide li ul {
  display: none;
}

#mslide li li {
  font-size: 13px;
  background-color: #f8f8f8;
  border: 0;
  border-top: 1px solid #e8e8e9;
}

#mslide li li a {
  display: block;
  color: #4b4b4b;
  padding: 0 10px 0 52px;
  line-height: 41px;
  height: 41px;
  font-weight: 700;
}

#mslide li.selected .depth1 {
  background-image: url(/img/ico_minus.png);
}

#mslide li.selected .depth1.none {
  background-image: none;
}

#mslide li.selected ul {
  display: block;
}

#mslide .bottom {
  background: #000;
}

#mslide .bottom li {
  float: left;
  width: 100%;
  text-align: center;
  background: #000;
  height: 40px;
  line-height: 40px;
}

#mslide .bottom li a {
  line-height: 40px;
  height: 40px;
  color: #fff;
  font-size: 12px;
}

.depth0 {
  /* width: 47%; */
  width: 100%;
  display: inline-block;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}

.ls0 {
	display: flex;
}

.ls0 strong.depth0:first-child {
  border-right: 1px solid #ccc;
}

/* mslide(모바일 햄버거 메뉴) 끝 */

/* head 반응형 처리 */
div#header.nav_pc {
  display: block;
  position: fixed !important;
}

div#header_mo.nav_mo {
  display: none;
}

/* Mobile (319 ~ 767px) */
@media (min-width: 320px) and (max-width: 767px) {
  div#header.nav_pc {
    display: none;
  }

  div#header_mo.nav_mo {
    display: flex;
  }
}

/* Tablet (768px ~ 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  div#header.nav_pc {
    display: none;
  }

  div#header_mo.nav_mo {
    display: blflexock;
  }
}

/* Small Desktop (1024px ~ 1279px) */
@media (min-width: 768px) and (max-width: 1279px) {
  div#header.nav_pc {
    display: none;
  }

  div#header_mo.nav_mo {
    display: flex;
  }
}

/* Large Desktop (1280px 이상) */
@media (min-width: 1280px) {
  #header .wraparea {
    margin: 0 auto;
    display: flex;
    width: 1420px;
    padding: 30px 0 20px 0;
    align-items: center;
    justify-content: space-between;
  }

  #header_mo.nav_mo ul.nav2 {
    float: right;
    height: 40px;
    margin-right: 55px;
    margin-top: 15px;
    padding: 0;
    text-align: right;
  }

  #header_mo.nav_mo ul.nav2 li {
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    font-size: 9px;
  }
}

/* 백업 */
/* header 내에 있던 코드 */
@media screen and (max-width: 468px) {
  #subImg {
    height: 250px;
  }
}
