:root {
  --nd-user-header-margin-bottom: 1.875rem;
  --global-border-color: #e8e8e9;
}

.user-header {
  --user-header-border-color: #ccc;
  --gl-flex-offset: center;
  /* gnb */
  --nd-gnb-padding: 1rem 0;
  /* update */
  --nd-updated-font-size: 0.8125rem;
  --nd-updated-color: #6c757d;
  /* login */
  --nd-account-margin: 0 1.25rem 0 auto;
  --nd-account-font-size: 0.8125rem;
  --nd-account-color: var(--nd-updated-color);
  --nd-account-item-padding-x: 0.5rem;
  --nd-account-divider-color: rgba(var(--nd-black-rgb, 0, 0, 0), 0.2);
  /* menu btn */
  --nd-menu-btn-width: 1.875rem;
  --nd-menu-btn-height: var(--nd-menu-btn-width);
  --nd-menu-btn-padding-y: 0;
  --nd-menu-btn-padding-x: 0;
  --nd-gl-menu-btn-icon-width: 1rem;
  --nd-gl-menu-btn-icon-height: 0.125rem;
  --nd-gl-menu-btn-icon-bg: #000;
  --nd-gl-menu-btn-icon-gutter: 0.4375rem;
  /* search */
  --nd-search-action-width: var(--nd-menu-btn-width);
  --nd-search-action-height: var(--nd-menu-btn-hegith);
  --nd-search-action-font-size: 1.3125rem;
  --nd-search-offset-x: calc(var(--nd-search-action-width) + 10px);
  --nd-search-width: 12.5rem;
  --nd-search-height: 2.5rem;
  --nd-search-font-size: 0.8125rem;
  --nd-search-padding-x: 0.5rem;
  --nd-search-bg: #fff;
  --nd-search-border-width: 1px;
  --nd-search-border-color: var(--user-header-border-color);
  --nd-search-border-radius: 0;
  --nd-search-focus-bg: var(--nd-search-bg);
  --nd-search-focus-border-color: var(--nd-search-border-color);
  --nd-search-btn-padding-x: 0.6875rem;
  --nd-search-btn-padding-y: 0.5rem;
  --nd-search-btn-font-size: 1.125rem;
  --nd-search-btn-color: #212529;
  --nd-search-btn-bg: #fff;
  --nd-search-btn-border: 1px solid var(--nd-search-border-color);
  --nd-search-btn-hover-color: var(--nd-search-btn-color);
  --nd-search-btn-hover-bg: var(--nd-search-btn-bg);
  --nd-search-btn-hover-border-color: var(--nd-search-border-color);
  --nd-search-btn-active-color: var(--nd-search-btn-color);
  --nd-search-btn-active-bg: var(--nd-search-btn-hover-bg);
  --nd-search-btn-active-border-color: var(--nd-search-border-color);
  /* menu */
  --nd-menu-margin: 0 calc(-1 * var(--nd-menu-link-padding-x)) 0 0;
  --nd-menu-font-size: 1.125rem;
  --nd-menu-font-weight: 600;
  --nd-menu-link-padding-y: 0.5rem;
  --nd-menu-link-padding-x: 1.25rem;
  --nd-menu-sub-width: max-content;
  --nd-menu-sub-min-width: 6.25rem;
  --nd-menu-sub-font-size: 0.875rem;
  --nd-menu-sub-link-padding-x: 0.875rem;
  --nd-menu-sub-link-padding-y: 0.5rem;
  --nd-menu-sub-link-color: #6c757d;
  --nd-menu-sub-text-align: center;
  --nd-menu-sub-border: 1px solid var(--user-header-border-color);
  --nd-menu-link-bar-height: 0;
  position: relative;
  z-index: 99;
  background-color: #fff;
  box-shadow: var(--global-box-shadow);
}

.gl-nav .index-width, .gl-gnb .index-width {
  display: flex;
  flex-wrap: wrap;
  align-items: var(--gl-flex-offset);
}

.gl-menu-btn {
  flex: 0 0 auto;
  width: var(--nd-menu-btn-width);
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  height: var(--nd-menu-btn-height);
  margin-right: 0.5rem;
  overflow: unset;
}
.gl-menu-btn .icon {
  position: relative;
  display: block;
  width: var(--nd-gl-menu-btn-icon-width);
  height: var(--nd-gl-menu-btn-icon-height);
  background-color: var(--nd-gl-menu-btn-icon-bg);
}
.gl-menu-btn .icon::after, .gl-menu-btn .icon::before {
  content: "";
  position: absolute;
  z-index: 3;
  right: 0;
  display: block;
  width: calc(4px + var(--nd-gl-menu-btn-icon-width));
  height: var(--nd-gl-menu-btn-icon-height);
  background-color: var(--nd-gl-menu-btn-icon-bg);
}

.gl-menu-btn .icon::before {
  top: calc(-1 * var(--nd-gl-menu-btn-icon-gutter));
}
.gl-menu-btn .icon::after {
  bottom: calc(-1 * var(--nd-gl-menu-btn-icon-gutter));
}
.user-search input::placeholder {
  text-align:left;
  color:rgba(0,0,0,.55);
  letter-spacing:-.05em;
}

.gl-search-container.is-active .gl-search-action i::before {
  --nd-ndfonts-icon: "\e921";
}
.gl-logo {
  flex: 0 0 auto;
  width: 13.75rem;
  max-width: 100%;
  margin-bottom: 1rem;
}
.gl-menu {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.gl-menu-item.active {
  --nd-menu-link-bar-height: 0.125rem;
}
.gl-menu-sub.gl-menu-vert {
  --nd-menu-sub-padding-x: 0;
  --nd-menu-sub-padding-y: 0;
}

/* 검색 */
#user-nav .user-search {display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:flex-end;width:240px;margin-left:40px;justify-content:flex-end}
#user-nav .user-search > .clearfix {-ms-flex:0 0 240px;flex:0 0 240px;display:block;max-width:240px;border-bottom:2px solid #000}
#user-nav .user-search input#search {float:left;width:calc(100% - 30px);height:38px;margin:0;font-size:.8125rem;background:transparent;border:none;box-shadow:none}
#user-nav .user-search button[onclick] {float:left;width:30px;height:38px;font-size:1.125rem;font-weight:400;color:#333;text-align:right;cursor:pointer}

/* sns */
#user-gnb .user-sns .item {display:inline-block;margin:0;width:30px;height:30px;text-align:center;line-height:30px;font-size:18px;border-radius:50%;}
#user-gnb .user-sns .item.po {background-color:#03db60;color:#fff}
#user-gnb .user-sns .item.bl {background-color:#03db60;color:#fff}
#user-gnb .user-sns .item.ts {background-color:#f54;color:#fff}
#user-gnb .user-sns .item.tw {background-color:#000;color:#fff}
#user-gnb .user-sns .item.yt {background-color: #ff0000;color: #fff;}
