.d_filter_con2 {display: none;}
.d_filter_tit2 {display: none;}

/* MARKET */
.d_market_page {
  background: url("../img/footer/pattern_main.jpg");
  padding: 0;
}
.d_market_page .d_flex_box {
  display: flex;
}
.d_filter_con {
  position: relative;
  width: 340px;
  top: -50px;
}
.d_filter_con .d_filter_tit {
  position: relative;
  width: 100%;
  background-color: #4b7095;
  color: #fff;
  padding: 12px 0;
  padding-left: 60px;
}
.d_filter_con .d_filter_tit h2 {
  font-size: 1.08875rem;
  position: relative;
}
.d_filter_tit h2::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translate(-100%,-50%);
  width: 20px;
  height: 20px;
  background: url("../img/sub_market/d_filter.png") no-repeat;
}
.d_filter_con .d_filter_tit span {
  position: absolute;
  bottom: 5px;
  right: 25px;
}
.d_filter_con .d_filter_tit span img {
  margin-right: 10px;
}
.d_filter_con > ul > li > a {
  display: block;
  font-size: 1.25rem;
  color: #6796c4;
  padding: 12px 0;
  padding-left: 60px;
}

/* Price */
.d_price_detail {
  padding-left: 60px;
  padding-right: 25px;
  padding-bottom: 20px;
  padding-top: 20px;
  text-align: right;
}
.d_price_detail input[type="text"] {
  width: 100%;
  height: 38px;
  border: 1px solid #6796c4;
  margin-bottom: 20px;
}
.d_price_detail .d_count_num:nth-of-type(1) {
  margin-bottom: 10px;

}
.d_price_select {
  border: 1px solid #6796c4;
  position: relative;
  width: 100%;
  height: 38px;
  text-align: left;
  line-height: 38px;
  margin-bottom: 18px;
  /* padding-left: 10px; */
  background: url("../img/sub_market/d_side_select_arrow.png") no-repeat 95% 50%;
}
.d_price_select span {
  vertical-align: middle;
  margin-right: 10px;
  padding-left: 10px;
}
.d_price_detail .d_price_select >li >a,
.d_price_detail .d_price_select >li >ul>li >a {
  display: block;
  width: 100%;
  height: 100%;
}
.d_price_detail .d_price_select >li >ul {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  display: none;
}

.d_price_detail .d_price_select>li>ul>li {
  background-color: #fff;
  border: 1px solid #6796c4;
}
.d_price_detail .d_price_select li:last-of-type {
  border-top: none;
}
.d_price_detail .d_count_num label {
  margin-right: 15px;
}
.d_price_detail .d_count_num input {
  width: 180px;
  height: 38px;
  border: 1px solid #6796c4;
}
input[type="number"]::placeholder {

  /* Firefox, Chrome, Opera */
  text-align: right;
}
.d_price_btn {
  width: 256px;
  height: 36px;
  color: #fff;
  cursor: pointer;
  background-color: #edab1b;
  margin-top: 20px;
}
.d_filter_con > ul {
  background-color: #fff;
  height: 100%;
}
.d_filter_con > ul > li {

  transition: .4s;
}
.d_filter_con > ul > li > a span {
  position: relative;
}
.d_filter_con > ul > li > a {
  border-bottom: 1px solid #d5d5d5;
  position: relative;
  transition: .4s;
  background-color: #fff;
}
.d_filter_con > ul > li.on > a {
  color: #fff;
  background: #7fa4c9;
}
.d_filter_con > ul > li.on > a span::before {
  background: url("../img/sub_market/d_checked.png") no-repeat;
}
/* .d_market_page .d_filter_con > ul > li:hover > a {
  color: #fff;
  background: #7fa4c9;
} */
.d_filter_con > ul > li > a span::before {
  content: '';
  position: absolute;
  width: 19px;
  height: 20px;
  background: url("../img/sub_market/d_checked_blue.png") no-repeat;
  left: -15px;
  top: 50%;
  transform: translate(-100%,-50%);
  transition: .4s;
}
/* .d_filter_con > ul > li:hover > a span::before {
  background: url("../img/sub_market/d_checked.png") no-repeat;
} */
.d_filter_con > ul > li > ul {
  padding: 20px 0;
}
.d_filter_con > ul > li > ul > li > a {
  position: relative;
  display: block;
  font-size: 1.25rem;
  padding: 5.5px 0;
  padding-left: 60px;
  z-index: 0;
  transition: .4s;
}
.d_filter_con > ul > li > ul > li > a::before {
  /* content: '';
  position: absolute;
  width: 77%;
  height: 100%;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  background: #6796c4;
  z-index: -1;
  opacity: 0; */
}
.d_filter_con > ul > li > ul > li:hover > a {
  /* color: #fff; */
}
.d_filter_con > ul > li > ul > li:hover > a::before {
  /* opacity: 1; */
}

.d_filter_con > ul > li > ul > li > a img {
  margin-right: 10px;
}
.filter_second {display: none;}
















.d_list_con {
  width: 100%;
  flex: 1;
}
.d_list_con {
  display: flex;
  flex-wrap: wrap;
}
.d_list_con li {
  /* flex: 1; */
  display: flex;
  flex-direction: column;
  width: 250px;
  /* height: 450px; */
  height: auto;
  background-color: #fff;
  margin: 12px;
  padding: 15px 10px;
  border-radius: 5px;
}
.d_list_con li:hover {
  box-shadow: rgb(4 17 29 / 25%) 0px 0px 8px 0px;
  transition: all 0.1s ease 0s;
  transform: translateY(-2px);
}
.d_list_con li .d_list_top {
  display: flex;
  align-items: center;
}
.d_list_con .d_list_top .d_fava {
  font-size: 1rem;
  font-weight: bold;
  margin-right: 20px;
}
.d_list_con .d_list_top .d_fava span {
  margin-right: 10px;
  vertical-align: middle;
  cursor: pointer;
}
.d_list_con .d_list_top .d_fava span.d_hover_ef {
  background: url(../img//sub_market/d_star.png);
  width: 21px;
  height: 21px;
  display: inline-block;
  vertical-align: top;
}
.d_list_con .d_list_top .d_fava span.d_hover_ef.hover {
  background: url(../img//sub_market/d_star_hover.png);
  width: 21px;
  height: 21px;
  display: inline-block;
  vertical-align: top;
}
.d_list_con .d_list_top .d_fava span.d_hover_ef2 {
  background: url(../img//sub_market/d_eye.png);
  width: 22px;
  height: 14px;
  display: inline-block;
  vertical-align: inherit;
}
.d_list_con .d_list_top .d_favaL:nth-child(2) {
  margin-right: 0;
}
.d_list_con figure {
  /* width: 224px; */
  width: 100%;
  height: 270px;
  margin: 5px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #d5d5d5;
  overflow:hidden;

}
.d_list_con figure img {
  display: block;
  width: 100%;
}
.d_list_con .d_list_bot dl {
  margin-top: 5px;
}
.d_list_con .d_list_bot dl dt {
  font-size: 1.125rem;
  font-weight: 300;
  border-bottom: 1px solid rgba(12 19 25 / 10%);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.d_list_con .d_list_bot dl dd {
  font-size: 0.75rem;
  font-weight: 300;
  padding: 5px 0;
  border-bottom: 1px solid rgba(12 19 25 / 80%);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.d_list_con .d_list_bot .d_price {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}
.d_list_con .d_list_bot .d_price h4 {
  font-size: 1rem;
  color: #44494f;
}
.d_list_con .d_list_bot .d_price span {
  font-size: 1.125rem;
  color: #0c1319;
  font-weight: bold;
}
.d_list_con .d_list_bot .d_price span img {
  margin-right: 12px;
}
.d_list_con .d_list_bot .d_state {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  height: 28px;
  background-color: #e2e2e2;
}
.d_list_con .d_list_bot .d_state--days,
.d_list_con .d_list_bot .d_state--times {
  background-color: #b3cae1;
}
.d_list_con .d_list_bot .d_state span {
  font-size: 0.75rem;
  color: #44494f;
  font-weight: 500;
}
.d_list_con .d_list_bot .d_state span img {
  margin-left: 15px;
  vertical-align: text-bottom;
}
.d_list_con .d_list_bot .d_state b {
  margin-left: 5px;
  font-size: 0.875rem;
  font-weight: 500;
}
.d_list_con .d_list_bot .d_state--days b {
  margin-left: 10px;
  font-size: 0.875rem;
  font-weight: 500;
}
.d_list_con .d_list_bot .d_state--times b {
  margin-left: 10px;
  font-size: 0.875rem;
  font-weight: 500;
}
#d_header.d_market_head {
  position: static;
  padding-top: 60px;
}
#d_header.d_market_head .d_inner {
  max-width: none;
}
#d_header .d_hb_bot.d_hb_bot_off {
  display: none;
}
#d_header.d_market_head .d_hb_bot .d_search {
  padding-right: 18px;
  display: flex;
  align-items: center;
}
#d_header.d_market_head .d_hb_bot .d_search .d_sort_list {
  position: relative;
  margin-right: 23px;
  width: 100px;
}
#d_header.d_market_head .d_hb_bot .d_search .d_sort_list h4 {
  position: relative;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.02rem;
  padding: 0 5px;
  cursor: pointer;
}
#d_header.d_market_head .d_hb_bot .d_search .d_sort_list h4 span {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
}
#d_header.d_market_head .d_hb_bot .d_search .d_sort_list ul {
  position: absolute;
  top: 100%;
  z-index: 99;
  background-color: #fff;
  width: 100%;
  display: none;
}
#d_header.d_market_head .d_hb_bot .d_search .d_sort_list ul li {
  padding: 10px 20px;
  border-bottom: 1px solid #d5d5d5;
  line-height: 1;
  transition: .4s;
}
#d_header.d_market_head .d_hb_bot .d_search .d_sort_list ul li:hover {
  box-shadow: 0 0 8px rgba(12 19 25 / 80%);
}
#d_header.d_market_head .d_hb_bot .d_search .d_icon {
  right: 0;
  left: 10px;
}
#d_header.d_market_head .d_hb_bot .d_search input {
  padding-right: 15px;
  padding-left: 35px;
}

@media (max-width: 1070px) {
  .d_filter_con2 {display: block;}
  .d_filter_tit2 {display: block;}
  .dm_filter_nav {display: block;}
  #d_header .d_hb_bot.d_hb_bot_off {
    display: block;
  }
  /* .d_market_head {display: none;} */
  .d_market_page .d_filter_con {
    position: relative;
    width: 340px;
    top: -50px;
    display: none;
  }
  .d_market_head .d_search form {
    display: none;
  }
  #d_header.d_market_head .d_hb_bot {
    height: 80px;
    background-color: #d4d8dc;
  }
  /* .dm_filter_off {display: none;} */
  .d_flex_box.d_flex_box2 {
    width: 50%;
  }
  .d_flex_box.d_flex_box2 .d_filter_con h2 {
    text-align: center;
  }
  #d_header.d_market_head .d_hb_bot .d_search {
    width: 50%;
  }
  #d_header.d_market_head .d_hb_bot .d_search .d_sort_list {
    width: 100%;
  }
  #d_header.d_market_head {
    padding-top: 80px;
  }
  .d_filter_con2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    background: #fff;
    display: none;
    overflow-y: auto;
  }
  .d_filter_tit.d_filter_tit2 {
    width: 50%;
    height: 100%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #7fa4c9;
  }
  .d_filter_tit2 h2 {
    position: relative;
  }
  .d_filter_con2 .d_filter_tit h3 img {
    height: 30px;
  }
  .d_filter_con2 .d_price_btn {
    display: block;
    margin: auto;
    width: 255px;
    height: 47px;
    border: 2px solid #dae4ed;
    font-size: 2.1rem;
    margin-top: 90px;
  }
  /* #d_header.d_market_head .d_hb_bot .d_inner {
    height: 40px;
  } */
  #d_header.d_market_head .d_hb_bot .d_search {
    padding-right: 0;
    height: 100%;
    line-height: 1;
  }
  #d_header.d_market_head .d_hb_bot .d_search .d_sort_list {
    margin-right: 0;
    height: 100%;
  }
  #d_header.d_market_head .d_hb_bot .d_search .d_sort_list h4 {
    text-align: center;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .d_filter_con .d_filter_tit {
    padding-left: 30px;
  }
  .d_list_con {
    justify-content: center;
    margin-top: 14px;
  }
  /* filter nav mobile */
  #d_header.d_market_head .d_hb_bot .d_inner {height: 40px;}
  #d_header.d_market_head .d_hb_bot {height: 40px;}
  .d_filter_con > ul > li > a {font-size: 1.7rem;}
  .d_price_detail {padding-right: 60px;}
  .d_filter_con > ul > li > ul > li > a {font-size: 1.8rem;}
  #d_header.d_market_head .d_hb_bot .d_search .d_sort_list ul li{
    font-size: 1.7rem;
    text-align: center;
  }
  #d_header.d_market_head .d_hb_bot .d_search .d_sort_list h4 {
    font-size: 1.3rem;
  }
  .d_filter_tit2 h2 {
    font-size: 1.3rem;
  }
}
@media (max-width: 720px) {
  .d_list_con figure{height: auto;}
  .d_list_con li {
    width: calc(100% - 50px);
  }
  .d_list_con .d_list_top .d_fava {
    font-size: 1.7rem;
    font-weight: bold;
    margin-right: 20px;
  }
  .d_list_con .d_list_bot dl {
    margin-top: 10px;
  }
  .d_list_con .d_list_bot dl dt {
    font-size: 1.84rem;
  }
  .d_list_con .d_list_bot dl dd {
    font-size: 1.3rem;
    padding: 10px 0;
  }
  .d_list_con .d_list_bot .d_price span {
    font-size: 1.7rem;
  }
  .d_list_con .d_list_bot .d_state {
    height: 35px;
  }
  .d_list_con .d_list_bot .d_state b {
    font-size: 1.4rem;
  }
  .d_list_con .d_list_top .d_fava span.d_hover_ef {
    vertical-align: unset;
  }
}