/* [S] GNB Old */

.gnb.gnb-old {
  /* overflow: hidden; */
  display: block;
  -webkit-background-size: 370px auto;
  background-size: 370px auto;
  font-size: 0;
  top: 0;
  left: 0;
  left: constant(safe-area-inset-left);
  left: env(safe-area-inset-left);
  right: 0;
  right: constant(safe-area-inset-right);
  right: env(safe-area-inset-right);
  height: 41px;
  background-color: #fff;
  z-index: 90;
  border-bottom: 1px solid #d4d4d4;
  -webkit-transition: background-color 0.2s ease-in-out;
  -o-transition: background-color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out;
}

/* [D] 가이드용 posttion reset */

#stove-m-gnb .gnb.gnb-old.pos-reset {
  position: inherit;
}

#stove-m-gnb .gnb.gnb-old.pos-reset .widget-gnb {
  position: relative;
}

#stove-m-gnb .gnb .icon-stove {
  margin-top: 2px;
}

#stove-m-gnb .gnb-menu-l {
  position: absolute;
  top: 5px;
  left: 5px;
  height: 30px;
}

#stove-m-gnb .gnb-menu-r {
  position: absolute;
  top: 5px;
  right: 10px;
  height: 30px;
}

#stove-m-gnb .gnb-menu-link {
  float: left;
  position: relative;
  width: 30px;
  height: 30px;
  margin: 0 4px;
}

#stove-m-gnb .gnb-menu-link.dropdown-btn {
  margin: 0;
}

#stove-m-gnb .gnb-menu-link .sp {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#stove-m-gnb .gnb-menu-link .icon-user {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: top;
}

#stove-m-gnb .gnb-menu-link .sp.icon-new-sm {
  top: auto;
  bottom: 4px;
  left: auto;
  right: 0;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  margin: 16px 0 0 8px;
  width: 12px;
  height: 12px;
  vertical-align: top;
}

#stove-m-gnb .gnb-menu-text {
  display: inline-block;
  padding: 8px 0;
  font-size: 16px;
  line-height: 1;
  color: #666;
  white-space: nowrap;
  vertical-align: middle;
}

#stove-m-gnb .gnb-menu-text.primary {
  color: #ff5000;
}

#stove-m-gnb .gnb-menu-link .gnb-user {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 3px;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}

#stove-m-gnb .gnb-sign-link {
  display: inline-block;
  line-height: 22px;
  height: 24px;
  padding: 0 10px;
  margin-top: 4px;
  font-size: 12px;
  color: #333;
  font-weight: bold;
  border: 1px solid #ccc;
  -webkit-border-radius: 12px;
  border-radius: 12px;
  vertical-align: top;
}

#stove-m-gnb .gnb-title {
  width: 100%;
  text-align: center;
  height: 41px;
}

#stove-m-gnb .gnb-title-link {
  display: inline-block;
  height: 20px;
  margin: 10px 0;
  font-size: 16px;
  line-height: 20px;
  font-weight: bold;
  text-align: center;
  color: #111;
  overflow: hidden;
  vertical-align: top;
}

/*
.gnb-search {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  padding: 11px 20px;
  background-color: #fff;
}
*/

#stove-m-gnb .gnb-menu-r .dropdown-contents {
  max-height: 75vh;
  overflow: auto;
}

/* gnb 드롭다운 */

.gnb-menu-r .dropdown-menu-list {
  position: absolute;
  top: 35px;
  right: 0;
  width: 220px;
  background-color: #fff;
  z-index: 1201;
  border: 1px solid #ccc;
  -webkit-border-radius: 8px;
  border-radius: 8px;
}

.gnb-menu-r .dropdown-menu-list.is-active {
  display: block !important;
}

.gnb-menu-r .dropdown-header {
  position: relative;
  background-color: #f7f7f7;
  -webkit-border-top-right-radius: 8px;
  border-top-right-radius: 8px;
  -webkit-border-top-left-radius: 8px;
  border-top-left-radius: 8px;
}

.gnb-menu-r .dropdown-header-link {
  display: block;
  height: 52px;
}

.gnb-menu-r .dropdown-header-link .thumb {
  position: absolute;
  top: 9px;
  left: 15px;
}

.gnb-menu-r .dropdown-header-link .info {
  position: absolute;
  display: inline-block;
  width: 100%;
  margin-top: 9px;
  padding: 0 24px 0 56px;
  font-size: 10px;
  color: #a5a5a6;
  line-height: 13px;
  overflow: hidden;
  white-space: nowrap;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gnb-menu-r .dropdown-header-link .info .name {
  display: block;
  font-size: 15px;
  color: #222;
  font-weight: bold;
  line-height: 18px;
  overflow: hidden;
  white-space: nowrap;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}

.gnb-menu-r .dropdown-menu-list .icon-next-arrow {
  position: absolute;
  top: 50%;
  right: 12px;
  margin-top: -5px;
}

.gnb-menu-r .content-link {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  min-height: 44px;
  padding: 6px 13px;
  font-size: 13px;
  font-weight: bold;
  color: #000;
  line-height: 16px;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  word-break: break-word;
  word-wrap: break-word;
}

.gnb-menu-r .content-link:before {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  width: 24px;
  height: 24px;
  min-width: 24px;
  margin-right: 8px;
  font-size: 0;
  vertical-align: top;
  white-space: nowrap;
  content: '';
}

.gnb-menu-r li {
  border-top: 1px solid #f6f6f6;
}

.gnb-menu-r li.drop_info .content-link:before {
  background: url(../../images/gnb-old/svg-menu-notice.svg) no-repeat;
}

.gnb-menu-r li.drop_game .content-link:before {
  background: url(../../images/gnb-old/svg-menu-console.svg) no-repeat;
}

.gnb-menu-r li.drop_noti .content-link:before {
  background: url(../../images/gnb-old/svg-menu-bell.svg) no-repeat;
}

.gnb-menu-r li.drop_message .content-link:before {
  background: url(../../images/gnb-old/svg-menu-letter.svg) no-repeat;
}

.gnb-menu-r li.drop_coupon .content-link:before {
  background: url(../../images/gnb-old/svg-menu-coupon.svg) no-repeat;
}

.gnb-menu-r li.drop_stove .content-link:before {
  background: url(../../images/gnb-old/svg-menu-shield.svg) no-repeat;
}

.gnb-menu-r li.drop_customer .content-link:before {
  background: url(../../images/gnb-old/svg-menu-cs.svg) no-repeat;
}

.gnb-menu-r li.drop_report .content-link:before {
  background: url(../../images/gnb-old/svg-menu-report.svg) no-repeat;
}

.gnb-menu-r li.drop_logout .content-link:before {
  background: url(../../images/gnb-old/svg-menu-signout.svg) no-repeat;
}

.gnb-menu-r li.drop_auth .content-link:before {
  background: url(../../images/gnb-old/svg-menu-lock.svg) no-repeat;
}

.gnb-menu-r .content-link .icon-new-sm {
  display: inline-block;
  margin-left: 8px;
  width: 12px;
  min-width: 12px;
  height: 12px;
  vertical-align: top;
}

/* [S] icon */

/* size 12 */

.icon-new-sm {
  background: url(../../images/gnb-old/icon-new-sm.png) no-repeat;
  background-size: cover;
  width: 12px;
  height: 12px;
  display: block;
}

/* size 18 */

.icon-home {
  background: url(../../images/gnb-old/icon-home.png) no-repeat;
  background-size: cover;
  width: 18px;
  height: 18px;
  display: block;
}

.icon-search {
  background: url(../../images/gnb-old/icon-search.png) no-repeat;
  background-size: cover;
  width: 18px;
  height: 18px;
  display: block;
}

.icon-user {
  background: url(../../images/gnb-old/icon-user.png) no-repeat;
  background-size: cover;
  width: 18px;
  height: 18px;
  display: block;
}

.icon-back {
  background: url(../../images/gnb-old/icon-back.png) no-repeat;
  background-size: cover;
  width: 18px;
  height: 18px;
  display: block;
}

/* size image */

.icon-stove {
  background: url(../../images/gnb-old/icon-stove.png) no-repeat;
  background-size: cover;
  width: 78px;
  height: 18px;
  display: block;
}

.icon-next-arrow {
  background: url(../../images/gnb-old/icon-next-arrow.png) no-repeat;
  background-size: cover;
  width: 7px;
  height: 11px;
  display: block;
}

/* [E] icon */

/* 썸네일 */

.thumb {
  display: inline-block;
  overflow: hidden;
  width: 33px;
  height: 33px;
  /*border:1px solid #f3f3f3;*/
  -webkit-border-radius: 100%;
  border-radius: 100%;
  -webkit-background-size: 100% 100%;
  background-size: 100%;
  vertical-align: top;
}

.thumb img {
  width: 100%;
  height: 100%;
  border: 2px solid #ff5000;
  -webkit-border-radius: 100%;
  border-radius: 100%;
  box-sizing: border-box;
}

.thumb_sq {
  display: inline-block;
  position: relative;
  overflow: hidden;
  width: 74px;
  height: 74px;
  -webkit-background-size: 100% 100%;
  background-size: 100%;
}

.thumb_sq:after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  content: '';
}

.thumb_sq img {
  width: 100%;
  height: 100%;
}

.gnb.gnb-old .widget-gnb {
  height: 41px;
}

.gnb.gnb-old .gnb-inner {
  height: 41px;
}

.gnb.gnb-old .gnb-inner::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 41px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1));
  z-index: -1;
}

.gnb.gnb-old {
  background-color: transparent;
  border-bottom: none;
}

.gnb.gnb-old .icon-stove {
  background: url(../../images/gnb-old/icon-stove-w.png) no-repeat;
  background-size: cover;
}

.gnb.gnb-old .icon-user {
  background: url(../../images/gnb-old/icon-user-w.png) no-repeat;
  background-size: cover;
}

.gnb.gnb-old .icon-home {
  background: url(../../images/gnb-old/icon-home-w.png) no-repeat;
  background-size: cover;
}

.gnb.gnb-old .icon-back {
  background: url(../../images/gnb-old/icon-back-w.png) no-repeat;
  background-size: cover;
}

.gnb.gnb-old .icon-search {
  background: url(../../images/gnb-old/icon-search-w.png) no-repeat;
  background-size: cover;
  display: none !important;
}

.gnb.gnb-old .gnb-sign-link {
  border: 1px solid #fff;
  color: #fff;
}

.gnb.gnb-old.white {
  background-color: #fff;
  z-index: 99;
}

.gnb.gnb-old.white .icon-stove {
  background: url(../../images/gnb-old/icon-stove.png) no-repeat;
  background-size: cover;
}

.gnb.gnb-old.white .icon-user {
  background: url(../../images/gnb-old/icon-user.png) no-repeat;
  background-size: cover;
}

.gnb.gnb-old.white .icon-home {
  background: url(../../images/gnb-old/icon-home.png) no-repeat;
  background-size: cover;
}

.gnb.gnb-old.white .icon-back {
  background: url(../../images/gnb-old/icon-back.png) no-repeat;
  background-size: cover;
}

.gnb.gnb-old.white .icon-search {
  background: url(../../images/gnb-old/icon-search.png) no-repeat;
  background-size: cover;
}

.gnb.gnb-old.white .gnb-sign-link {
  border: 1px solid #ccc;
  color: #333;
}

.gnb.gnb-old.white .gnb-inner::after {
  content: none;
}

/* [E] GNB Old */
