@import "/assets/css/_lib";
@import '/assets/css/_scroll';

.ly_filter {
    overflow: hidden;
    width: 300px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}
.search_wrap {
    position: relative;
    margin: 14px 16px 10px;
    .input_search {
        width: 100%;
        height: 36px;
        padding: 9px 47px 9px 16px;
        border-radius: 18px;
        background-color: #eee;
        box-sizing: border-box;
        font-size: 14px;
        line-height: 20px;
        vertical-align: top;
        outline: none;
        &:focus {
            color: #000;
            background-color: #fff;
            border: 1px solid #16dccf;
        }
        &::placeholder {
            color: #888;
        }
    }
    .btn_search {
        position: absolute;
        top: 0;
        right: 0;
        padding: 10px 17px 10px 10px;
    }
}
.btn_detail {
    @include ellipsis;
    position: relative;
    display: block;
    width: 100%;
    font-size: 14px;
    line-height: 42px;
    padding: 0 43px 0 16px;
    text-align: left;
    &[aria-disabled=true] {
        color: #ddd;
    }
    &[aria-pressed="true"] {
        display: block;
    }
    .ico_check {
        display: none;
        position: absolute;
        top: 18px;
        right: 18px;
    }
}
.ico_check {
    position: absolute;
}
.detail_list {
    overflow: auto;
    max-height: 168px;
    @include scroll;
}
.btn_area {
    padding: 20px 16px;
    display: flex;
    .btn {
        flex: 1 1 auto;
        height: 37px;
        border-radius: 18px;
        border: 1px solid #ddd;
        font-size: 14px;
        font-weight: 700;
        line-height: 35px;
        &[aria-disabled=true] {
            border-color: #f5f5f5;
            background-color: #f5f5f5;
            color: #ccc;
        }
        & + .btn {
            margin-left: 8px;
        }
    }
    .btn_reset {
        font-weight: 400;
    }
    .btn_apply {
        border-color: #16dccf;
        color: #16dccf;
    }
}
.btn_detail {
    @include ellipsis;
    position: relative;
    display: block;
    width: 100%;
    font-size: 14px;
    line-height: 42px;
    padding: 0 43px 0 16px;
    text-align: left;
    &[aria-disabled] {
        color: #ddd;
    }
    &[aria-pressed="true"] {
        .ico_check {
            display: block;
        }
    }
    &::after {
        @include clear;
    }
    .ico_check {
        display: none;
        position: absolute;
        top: 18px;
        right: 18px;
    }
    .thumb_area {
        float: left;
        height: 20px;
        margin: 10px 4px 0 0;
    }
    .name_area {
        display: block;
        @include ellipsis;
    }

}
.ico_check {
    position: absolute;
}

