@import url(//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSans-kr.css);
#balaan,
#balaan *,
#balaan span {
  font-family: 'SpoqaHanSans', 'Spoqa Han Sans', 'Lato', 'Noto' !important;
}

.list-filter-wrapper {
    position: sticky;
    top: 0;
    z-index: 101;
}

#event .list-filter-wrapper {
    top: 5rem;
}

/* 발란위크때문에 임시 추가 */
#event.event-1820 .list-filter-wrapper, #event.event-1822 .list-filter-wrapper,
#event.event-1745 .list-filter-wrapper, #event.event-1746 .list-filter-wrapper{
    top: 3.5rem !important;
}

.list-filter {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    background-color: #fff;
}

.list-filter .filter-container {
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    padding: 1rem 1.6rem;
    align-items: center;
    color:#020202;
}

.list-filter .filter-chip-container {
    width: 90%;
}

.list-filter-chip .filter-reset {
    width: 10%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1.6rem;
}

.list-filter-chip .filter-reset > img {
    width: 1.6rem;
}

.list-filter .filter-container::-webkit-scrollbar {
    display: none;
}

.list-filter-chip {
    background-color: #f9f9f9;
    min-height: 3rem;
}

.filter-select {
    border: 1px solid #cccccc;
}

.filter-select.swiper-slide, .filter-chip.swiper-slide {
    width: auto;
}

.filter-select.on {
    border-color: #10069f;
    color: #10069f;
}

.filter-chip {
    background-color: #e2eaf6;
    color: #122f5c;
}

.filter-chip[data-value="today_pick"] {
    background-color: #F6EDF5;
}

.filter-select {
  border-radius: 3rem;
  padding: 0.7rem 0.8rem 0.5rem 1rem;
  margin-right: 0.4rem;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  flex: 0 0 auto;
  line-height: 1.43;
}

.filter-chip {
  border-radius: 3rem;
  padding: 0.5rem 1rem 0.5rem;
  margin-right: 0.4rem;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  flex: 0 0 auto;
  height: 1.8rem;
}

.filter-chip img.icon-express {
  width: 5.5rem;
}

.filter-select div:first-child {
    margin-right: 0.3rem;
}

.filter-select .icon-express-text-blue {
    width: 6.9rem;
}

.filter-select .icon-express-text-blue img {
  display: block;
}

.filter-select .img-wrap {
  /*margin-left: 0.3rem;*/
  padding-top: 0 !important;
}

.filter-select .img-wrap:after {
  content: '';
  background: url(https://i.balaan.io/mobile/img/icons/icon-arrow-down-gray-20.png);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;

  width: 1.7rem;
  height: 1.7rem;
  display: block;
}

.filter-select.on .img-wrap:after {
  background: url(https://i.balaan.io/mobile/img/icons/icon-arrow-down-blue-20.png);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: center;
}



/*.filter-chip.last,*/
.filter-select.last {
    margin-right: 1.6rem;
}

.filter-container .img-wrap {
    /*margin-left: 0.4rem;*/
    padding-top: 0.2rem;
}

.filter-container .img-wrap.rocket {
    margin-left: 0;
    margin-right: 0.4rem;
}

.filter-container .img-wrap > img {
    width: 1.4rem;
}

.filter-chip-container .img-wrap {
    padding: 0;
}

/*.filter-chip-container .img-wrap > img {*/
/*    width: 0.8rem;*/
/*}*/



/*하단 필터*/
#filter-selector {
    display: none;
}
#filter-selector.on {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: row wrap;
    z-index: 10000001 !important;
}
#filter-selector .selector {
    display: none;
}
#filter-selector .selector.on {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    flex: 1;
    background-color: #fff;
    z-index: 10;
    max-height:90%;
}
#filter-selector .selector>div {
    width: 28.8rem;
    margin-right: auto;
    margin-left: auto;
}

#filter-selector .selector.price .divider {
    height: 0;
}

#filter-selector .selector.price .price-range-wrapper {
    text-align: center;
}

#filter-selector .selector.price .price-range-wrapper .range_txt {
    margin-top: 2rem;
    font-size: 1.4rem;
    font-weight: bold;
}

#filter-selector .selector.price .price-range-wrapper .irs-bar {
    background-color: #868ceb;
}

#filter-selector .selector-header {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin: 1.8rem 0 1.3rem 0;
    font-size: 1.3rem;
}

#filter-selector .selector-header .selector-title {
    width: 100%;
    font-weight: bold;
}

#filter-selector .selector.category .selector-header .last-depth {
    margin: 0.3rem 0;
}

#filter-selector .selector.category .selector-header .higher-depth {
    font-size: 1rem;
    font-weight: normal;
    color: #999;
}

#filter-selector .selector.category .selector-header .higher-depth.pseudo {
    visibility: hidden;
}

#filter-selector .selector-header .to-back {
    float: left;
    position: absolute;
    left: 1.6rem;
}

#filter-selector .selector-header .to-back img {
    width: 2rem;
}

#filter-selector .selector-header .reset {
    border: 1px solid #ccc;
    font-size: 1rem;
    color: #ccc;
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    margin-left: auto;
    float: right;
    position: absolute;
    right: 1.6rem;
}
#filter-selector .selector-header .reset.on {
    border: 1px solid #000;
    color: #000;
}
#filter-selector .selector-header .reset.real img {
    width: 1rem;
    margin-top: -0.1rem;
    margin-right: 0.2rem;
}
#filter-selector .selector-header .reset.pseudo {
    visibility: hidden;
    margin-right: auto;
    margin-left: 0;
}
#filter-selector .selector-body {
    margin-bottom: 1.6rem;
    overflow-x: hidden;
    overflow-y: auto;
    /* max-height: 31.5rem; */
    min-height: 10rem;
    -ms-overflow-style: none;
}
/*
#filter-selector .selector.category .selector-body {
    max-height: 31.5rem;
}

#filter-selector .selector.brand .selector-body {
    height: 31.5rem;
}

#filter-selector .selector.price .selector-body {
    height: 23rem;
}
*/

#filter-selector .selector.size .selector-body .no-category,
#filter-selector .selector.category .selector-body .no-gender,
#filter-selector .selector.size .selector-body .improper-category {
    margin: 6rem 0;
    text-align: center;
    line-height: 2.6rem;
    font-size: 1.3rem;
}

#filter-selector .selector-body::-webkit-scrollbar {
    display: none;
}

#filter-selector .selector.brand .selector-body .no-wish-designer {
    text-align: center;
    margin: 6rem 0;
    line-height: 2.6rem;
    font-size: 1.3rem;
}

#filter-selector .selector-body .select-item {
    display: flex;
    flex-flow: row-reverse nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0.2rem;
}

#filter-selector .selector-body .select-item .arrow-right {
    color: #666;
}

#filter-selector .selector-body .select-item img.arrow-right {
    width: 1.2rem;
    margin-right: 0.4rem;
}

#filter-selector .selector-body .select-item input[type=radio] {
    -webkit-appearance: none;
    padding: 0;
    width: 2.1rem;
    height: 2.1rem;
    vertical-align: top;
    cursor: pointer;
    border: 0;
    position: relative;
}

#filter-selector .selector-body .select-item input[type=radio]:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 2.1rem;
    height: 2.1rem;
    background: #fff;
    box-sizing: border-box;
}

#filter-selector .selector-body .select-item input[type=radio]:after {
    content: '';
    display: block;
    position: absolute;
    left: 0.7rem;
    top: 0.4rem;
    width: 0.5rem;
    height: 0.8rem;
    border: solid #dedede;
    border-width: 0 0.2rem 0.2rem 0;
    transform: rotate(45deg);
}

#filter-selector .selector-body .select-item label {
    width: 100%;
    color: #666;
    display: flex;
    align-items: center;
}

#filter-selector .selector-body .select-item label span img{
    margin-left: 0.3rem;
    width: 0.8rem;
}

#filter-selector .selector-body .select-item:not(:last-child) {
    border-bottom: 1px solid #e5e5e5;
}
#filter-selector .selector-body .select-item input[type=checkbox]:before,
#filter-selector .selector-body .select-item input[type=radio]:before {
    border: 0;
}
#filter-selector .selector-body .select-item input[type=checkbox]:checked:before,
#filter-selector .selector-body .select-item input[type=radio]:checked:before {
    background-color: #fff;
}
#filter-selector .selector-body .select-item input[type=checkbox]:checked:after,
#filter-selector .selector-body .select-item input[type=radio]:checked:after {
    border-color: #000;
}
#filter-selector .selector-body .select-item input:checked+label {
    color: #000;
    font-weight: bold;
}

#filter-selector .layer {
    position: absolute;
    width:100%;
    height:100%;
    background:rgba(0, 0, 0, 0.5)
}

#filter-selector .selector-footer {
    display: flex;
    justify-content: center;
    margin-bottom: 1.6rem;
}
#filter-selector .selector-footer .filter-apply {
    flex: 1;
    padding: 1rem 0;
    background-color: #f1f1f1;
    color: #999;
    border-radius: 0.2rem;
}

#filter-selector .selector-footer .filter-apply.on {
    background-color: #000;
    color: #fff;
}

#filter-selector .selector-body.hashtag {
    display: flex;
    flex-flow: row wrap;
}
#filter-selector .selector-body.hashtag label input {
    display: none;
}
#filter-selector .selector-body.hashtag label span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.05rem;
    margin-right: 0.4rem;
    margin-bottom: 1rem;
    color: #555;
    transition: 0.1s;
    border-radius: 2rem;
    border: 1px solid #eee;
    font-size: 1.2rem;
    cursor: pointer;
}
#filter-selector .selector-body.hashtag label input:checked ~ span {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

#filter-selector .selector.brand .selector-tab {
    display: flex;
    flex-flow: row nowrap;
    color: #999;
    align-items: center;
    margin-bottom: 1rem;
}

#filter-selector .selector.brand .selector-special-tab {
    display: flex;
    flex-flow: row nowrap;
}

#filter-selector .selector.brand .selector-special-tab .special-tab {
    border: 1px solid #e5e5e5;
    border-radius: 3rem;
    padding: 0.4rem 0.8rem;
    margin-right: 0.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
}

#filter-selector .selector.brand .selector-special-tab .special-tab.famous {
    padding: 0.3rem 0.81rem 0.2rem;
}

#filter-selector .selector.brand .selector-special-tab .special-tab.wish,
#filter-selector .selector.brand .selector-special-tab .special-tab.search {
    width: 1.57rem;
    height: 1.59rem;
    padding: 0.63rem 1.21rem;
}

#filter-selector .selector.brand .selector-special-tab .special-tab.on {
    background-color: #e7e8f9;
    border: 1px solid #E7E8F9;
    color: #4348a2;
}

#filter-selector .selector.brand .selector-total-tab {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    width: 86%;
}

#filter-selector .selector.brand .selector-total-tab .tab-title {
    margin-right: 1rem;
    display: none;
}

#filter-selector .selector.brand .selector-total-tab .total-tab-slide-wrapper {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    overflow-x: auto;
    width: 70%;
    -ms-overflow-style: none;
    padding: 0.3rem 0;
}

#filter-selector .selector.brand .selector-total-tab .total-tab-slide-wrapper::-webkit-scrollbar {
    display: none;
}

#filter-selector .selector.brand .selector-total-tab .total-tab-slide-wrapper .total-tab-slide {
    border: 1px solid #e5e5e5;
    border-radius: 5rem;
    padding: 0.4rem 0.5rem;
    margin-right: 0.5rem;
    font-size: 1.7rem;
    text-align: center;
    min-width: 3rem;
}

#filter-selector .selector.brand .selector-total-tab .total-tab-slide-wrapper.swiper-wrapper .total-tab-slide {
    width: auto;
}

#filter-selector .selector.brand .selector-total-tab .total-tab-slide-wrapper .total-tab-slide.on {
    background-color: #e7e8f9;
    border: 1px solid #E7E8F9;
    color: #4348a2;
}

#filter-selector .selector.brand .selector-total-tab .total-tab-slide-wrapper .custom-margin {
    margin-left: 2.6rem;
}

#filter-selector .selector.price .price-presets,
#filter-selector .selector.size .size-presets {
    display: flex;
    flex-flow: row wrap;
}

#filter-selector .selector.price .price-presets .filter-chip,
#filter-selector .selector.size .size-presets .filter-chip {
    margin-bottom: 1rem;
    color: #020202;
    border: 1px solid #ccc;
    background: #fff;
}

#filter-selector .selector.price .price-presets .filter-chip.on,
#filter-selector .selector.size .size-presets .filter-chip.on {
    border-color: #e7e8f9;
    background: #e7e8f9;
    color: #1c1073;
}

.brand-filter-search-wrapper {
    position: sticky;
    top: -0.1rem;
    background-color: #fff;
    z-index: 2;
    padding-top: 0.2rem;
    padding-bottom: 0.8rem;
}

.brand-filter-search-container {
    display: flex;
    flex-flow: row nowrap;
    border: 1px solid #ccc;
    box-sizing: border-box;
    border-radius: 0.2rem;
    padding: 0.6rem;
    background-color: #fff;
}

.brand-filter-search-container img {
    width: 1.4rem;
}

.brand-filter-search-container img.big {
    width: 2rem;
}

.brand-filter-search-input {
    flex: 1;
    border: none!important;
    font-size: 1.2rem;
}

.brand-filter-search-input::placeholder {
    color: #ccc!important;
    font-weight: 300!important;
}

.brand-filter-search-input:focus {
    outline: none!important;
}

.search-input-clear-wrapper,
.search-input-button {
    display: flex;
    align-items: center;
    margin: 0 0.6rem;
}

.selector.brand .selector-body .select-item span.n {
    float: left;
    position: relative;
    padding-left: 2.5rem;
    font-size: 1.2rem;
    line-height: 1.5rem;
    vertical-align: top;
    box-sizing: border-box;
    font-family: 'Prata', serif!important;
    width: 4.8rem;
    padding-top: 0.2rem;
}

.selector.brand .selector-body .select-item span.n:before {
    content: '';
    display: block;
    position: absolute;
    left: 0.5rem;
    top: 50%;
    width: 0.7rem;
    height: 0.1rem;
    margin-top: -0.1rem;
    background: #666;
}

.selector.brand .selector-body .select-item span.n.up:before {
    width: 0;
    height: 0;
    margin-top: -0.3rem;
    border-left: 0.5rem solid transparent;
    border-right: 0.5rem solid transparent;
    border-bottom: 0.8rem solid #c11628;
    background: transparent;
}

.selector.brand .selector-body .select-item span.n.down:before {
    width: 0;
    height: 0;
    margin-top: -0.4rem;
    border-left: 0.5rem solid transparent;
    border-right: 0.5rem solid transparent;
    border-top: 0.8rem solid #333;
    background: transparent;
}

@media screen and (min-width:550px) {

  #filter-selector.on { overflow-x: hidden; width: 550px; left: 50%; transform: translateX(-50%); }
  #filter-selector .selector.on { width: 100%; }
  #filter-selector .selector>div { width: 100%; }
  #filter-selector .selector-header .to-back { left: 1rem; }
  #filter-selector .selector-header .reset { right: 1rem; }
  #filter-selector .selector-body { padding-right: 1rem; padding-left: 1rem; box-sizing: border-box; }
  #filter-selector .selector-body .select-item { padding-right: 1rem; padding-left: 1rem; }
  #filter-selector .selector-footer { padding-right: 1rem; padding-left: 1rem; box-sizing: border-box; }

  #filter-selector .selector.brand .selector-tab { padding-left: 1rem; }
}
