.hd_wrap {
  position: fixed;
  width: 100%;
  z-index: 9998;
  left: 0;
  right: 0;
  top: 0;
}

.hd_wrap .hd_wr_bg {
  display: none;
  width: 100%;
  height: 65px;
  background-color: #fff;
  position: absolute;
  z-index: -1;
}

/* 전체메뉴 보일때 body영역 어둡게 */
.wrapper_bg {
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  display: none;
}

.hd_wrap.sticky {
  background-color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.hd_wrap .hd_wr_bg.on {
  display: block;
}

.gnb_total {
  display: block;
}

.gnb_total_mo {
  display: none;
}


/* 헤더(주메뉴) */
.gnb_1depth {
  /* width: 357px; */
  height: 65px;
  align-items: center;
}

.gnb_1depth > li {
  display: inline-block;
  white-space: nowrap;
  margin-right: 24px;
  font-size: 16px;
}

.gnb_1depth > li:last-child {
  margin-right: 0;
}

.gnb_1depth > li > a {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
}

.hd_wrap.sticky .gnb_1depth > li > a {
  color: #45495a;
}


.hd_wrap.sticky .trading_btn_15 a {
  background-color: #3870ff;
  color: #fff;
}

.h_right {
  width: 650px;
  height: 65px;
  justify-content: flex-end;
}


/* 전체메뉴 독립영역 */

.gnb_total_area {
  position: fixed;
  width: 100%;
  top: 65px;
  left: 0;
  z-index: 998;
  background-color: #fff;
  /* border-top: 1px solid rgba(0, 0, 0, 0.1); */
  box-sizing: border-box;
  display: none;
}

/* 2023-03-30 */
.gnb_total_area {
  display: none;
}

.gnb_total_area.active {
  display: block;
}


.gnb_total_area .center_1176 {
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding-bottom: 48px;
}

.gnb_total {
  padding-top: 48px;
  /* padding-bottom: 91px; */
}

.gnb_1 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.gnb_1 > li {
  padding: 0 32px;
  height: auto;
  border-right: 1px solid #f4f4f4;
}

.gnb_1 > li:first-child {
  padding-left: 0;
}

.gnb_1 > li:last-child {
  padding-right: 0;
  border: none;
}

.gnb_1 > li > a {
  display: block;
  width: 100%;
  font-size: 13px;
  font-weight: 400;
  color: #9497a0;
  margin-bottom: 18px;
}

.gnb_1 span {
  display: none;
}

.gnb_2 > li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 30px;
}

.gnb_2 > li > a {
  font-size: 14px;
  font-weight: 400;
  color: #273243;
  line-height: 20.27px;
  display: flex;
  align-items: center;
}

.gnb_2 > li > a > u {
  font-size: 10px;
  letter-spacing: -0.4px;
  padding: 2px 3px 0 2px;
}

.gnb_2 > li:hover > a {
  color: #3870ff;
}

.gnb_1 > li:last-child .gnb_2 > li:nth-last-child(1):hover > a {
  /* color: #fff; */
}

.sub > a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;

  width: 104px;
  padding-right: 12px;
  /* background: yellow; */
}

.sub > a > i {
  margin-top: 4px;
  display: none;
}

.gnb_3 {
  width: auto;
  display: none;
}

.sub.active .gnb_3 {
  display: none;
}

.gnb_3 li a {
  display: block;
  padding-bottom: 6px;
  color: #45495a;
  font-weight: 300;
  height: 32px;
}

.gnb_3 li:last-child a {
  padding-bottom: 0;
}

.gnb_3 li a:hover {
  color: #3870ff;
}


/* 배너광고 */
.banner_menu_area {
  padding-top: 48px;
}

.banner_menu_img {
  width: 360px;
  height: 204px;
  overflow: hidden;
  background-color: #273243;

  display: flex;
  justify-content: center;
  align-items: center;
}

.banner_menu_img img {
  width: 100%;;
}

.banner_menu_area .list_paragraph {
  margin: 0;
}


/* gnb_btn */
.trading_btn_15.gnb_btn {
  display: none;
}

/* 2023-04-20 ellie 추가 */
.gnb_2 .menu_hide {
  /* color: #fff; */
  /*pointer-events: none;*/
}

.gnb_2 .menu_hide:hover {
  /* color: #fff; */
}


/* 미디어쿼리 브레이크포인트 1180px 이하 */
@media screen and (max-width: 1180px) {


  .hd_wrap {
    position: fixed;
    border-bottom: 1px solid #e4e5e7;
  }

  .h_right {
    width: auto;
    height: auto;
  }

  .banner_menu_area {
    display: none;
  }

  .gnb_total {
    display: none;
  }

  .gnb_total_mo {
    display: block;
  }

  .gnb_total_area {
    background: #fff;

    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    padding-top: 65px;
    padding-bottom: 56px;
    overflow-y: scroll;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */

    display: none;
  }

  .gnb_total_area::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera*/
  }

  .gnb_total_area .center_1176 {
    padding: 0;
  }

  .gnb_total {
    width: 100%;
    /* background-color: yellow; */
    padding: 0;
  }

  .gnb_total_mo {
    width: 100%;
  }

  .gnb_1,
  .gnb_2 > li {
    -webkit-box-orient: vertical;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .gnb_1 span {
    display: block;
  }

  .sub i {
    display: none;
  }

  .gnb_1 > li {
    padding: 0;
    height: auto;
    border: 0;
  }

  .gnb_1 > li > a,
  .gnb_2 > li > a,
  .gnb_3 li a {
    padding: 0 32px;
    width: 100%;
  }

  .gnb_1 > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    height: 56px;
    border-bottom: 1px solid #f4f4f4;
    font-size: 15px;
    font-weight: 700;
    color: #273243;
    background: #fff;
  }

  .gnb_1 span {
    display: block;
    width: 20px;
    height: 20px;
  }

  .gnb_1 span img {
    position: absolute;
  }

  .gnb_1 span img:first-child {
    display: none;
  }


  .gnb_2 {
    display: none;
  }

  .gnb_2 > li {
    height: auto;
  }

  .gnb_2 > li > a {
    width: 100%;
    height: 48px;
    background: #f9f9f9;
    border-bottom: 1px solid #e4e5e7;

    display: flex;
    align-items: center;
    color: #45495a;
    font-weight: 400;
  }

  .gnb_3 {
    width: 100%;
    background: #f9f9f9;
    border-bottom: 1px solid #e4e5e7;
    padding: 12px 0;
  }

  .gnb_3 li a {
    padding-bottom: 0;
    height: 32px;
    line-height: 32px;
    font-size: 13px;
  }

  .gnb_2 .menu_hide {
    /* display: none; */
  }


  /* 아코디언 */
  .gnb_1 > li > a.active span Img:first-child {
    display: block;
  }

  .gnb_1 > li > a.active span Img:last-child {
    display: none;
  }

  .trading_btn_15.gnb_btn {
    display: block;
    padding: 0 32px;
    margin-top: 40px;
  }

  .trading_btn_15.gnb_btn a {
    width: 100%;
    border-radius: 0;
    height: 48px;
    text-align: center;
    line-height: 48px;
    font-size: 15px;
    padding: 0;
  }

}

/* 미디어쿼리 브레이크포인트 780px 이하 */
@media screen and (max-width: 780px) {
  .gnb_total_area {
    padding-top: 76px;
  }

}


/* 미디어쿼리 브레이크포인트 700px 이하 */
@media screen and (max-width: 700px) {
  .hd_wrap {
    height: 76px;
  }

  header {
    height: 100%;

  }


  /* .gnb_1>li>a,
  .gnb_2>li>a,
  .gnb_3 li a {
    padding: 0 16px;
  }

  .trading_btn_15.gnb_btn {
    padding: 0 16px;
  } */


}