@charset "utf-8";

/* Top Search */
.list-tsearch { border:1px solid #ddd; background:#fafafa; padding:20px 15px 3px; margin-bottom:15px; }

/* Category */
.list-category .tabs { margin-bottom:20px; }
.list-category .dropdown { margin-bottom:40px; }
.list-category .active a, .list-category .selected a { color:#f6ca00; font-family: 'Pretendard';}

/* List */
.board-list {margin-top: 55px; margin-bottom: 65px;}
.list-wrap { width:100%; }
.list-admin { text-align:center; margin:15px 0px; padding: 15px 0 0; }
.list-btn .sort-drop { min-width:120px !important; left:auto !important; right:0px !important; }
.list-btn .sort-drop .sort a { color:crimson !important; font-weight:bold !important; }
.is-pc .ko .list-btn .sort-drop { font-size: 12px; }

/* Page */
.list-wrap .pagination a, .view-wrap .pagination a { color:#333 !important; }
.list-wrap .pagination .active a, .view-wrap .pagination .active a { color:#fff !important; background:#444 !important; border-color:#444 !important; }

/* View */
.view-wrap { width:100%; overflow:hidden; }
.view-wrap.view-modal { padding:5px; margin:0px; }
.view-btn { margin:0px 0px 30px; }
.view-btn i { margin-right:2px; }

/* Write */
.write-wrap { width:100%; overflow:hidden; }

@media all and (max-width:991px) {
	.board-list { margin-top: 40px; }
}

@media all and (max-width:460px) {
	.responsive .view-btn i { margin-right:0px; }
}


/* 기본 필터 */
/* 필터 타이틀 */
.filter_container .title_container {
    margin-bottom: 25px;
}

.filter_container .title_container h3 {
    font-size: 24px;
    font-weight: 500;
    font-family: 'Pretendard';
    line-height: 1.2;
    color: #0c0c0c;
}
  
/* 필터 버튼 */
.filter_container .button_container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}
  
.filter_container .filter_btn {
    font-size: 16px;
    font-weight: 400;
    font-family: 'Pretendard';
    line-height: 1.2;
    color: #222;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    padding: 10px 14px;
}

.filter_container .filter_btn.active {
    background-color: #f6ca00;
    color: #222;
    border: 1px solid #f6ca00;
}

/* 필터 더보기 */
.filter_container .filter_btn.more {
    font-size: 16px;
    font-weight: 400;
    font-family: 'Pretendard';
    line-height: 1.2;
    color: #222;
    border: 1px solid #f5f5f5;
    background-color: #f5f5f5;
}

.filter_container .filter_btn span {
    margin-left: 10px;
}

/* 모달창 필터 */
.filter_modal_bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    z-index: 100;
}

.filter_modal_bg.on {
    display: flex;
}

.filter_modal {
    width: 840px;
    background: #fff;
    border-radius: 10px;
    padding: 30px 40px;
    box-shadow: 0 0 17px rgba(72, 72, 72, 0.3);
}

/* 모달창 필터 타이틀 */
.filter_modal .title_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e1e1e1;
}

.filter_modal .title_container h3 {
    font-size: 26px;
    font-weight: bold;
    font-family: 'Pretendard';
    line-height: 1.2;
    color: #111;
}

/* 모달창 필터 닫기 */
.filter_modal .filter_close {
    background: none;
    border: none;
    cursor: pointer;
}

/* 모달창 필터 리스트 */
.filter_modal .modal_list {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0 30px;
}

.filter_modal .filter_group {
    width: calc(50% - 15px);
    margin-bottom: 40px;
}

/* 모달창 필터 리스트 타이틀 */
.filter_modal .group_title {
    font-size: 18px;
    font-weight: 600;
    font-family: 'Pretendard';
    line-height: 1.2;
    color: #111;
    margin-bottom: 22px;
}

/* 모달창 필터 리스트 체크박스 */
.filter_modal .checkbox_grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
}

.filter_modal .checkbox_grid .checkbox_custom {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.filter_modal .checkbox_grid input {
    display: none;
}

.filter_modal .checkbox_grid label {
    font-size: 15px;
    font-weight: 400;
    font-family: 'Pretendard';
    line-height: 1.2;
    color: #666;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.filter_modal .checkbox_grid span{
    display: block;
    width:22px;
    height:22px;
    margin-right: 5px;
}

/* off */
.filter_modal .checkbox_grid input+label span{ 
    background-repeat: no-repeat;
    background-image: url('/img/icon_checkbox_off.png'); /*off 이미지*/
    background-size: cover;
}
/* on */
.filter_modal .checkbox_grid input:checked+label span{
    background-repeat: no-repeat;
    background-image: url('/img/icon_checkbox_on.png'); /*on 이미지*/
    background-size: cover;
}

/* 모달창 필터 리스트 가격 */
.filter_modal .price_container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter_modal .price_container input {
    width: 50%;
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 400;
    font-family: 'Pretendard';
    line-height: 1.2;
    color: #999999;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
}

.filter_modal .price_container span {
    font-size: 15px;
    font-weight: 500;
    font-family: 'Pretendard';
    line-height: 1.2;
    color: #999999;
}

/* 모달창 필터 버튼 */
.filter_modal .modal_btn_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.filter_modal .modal_btn_container button {
    width: 100%;
    border: none;
    padding: 18px;
    font-size: 18px;
    font-weight: bold;
    font-family: 'Pretendard';
    line-height: 1.2;
    border: 1px solid #ffd600;
    border-radius: 5px;
    cursor: pointer;
}

.filter_modal .result_btn {
    background-color: #ffd600;
    color: #222;
}

.filter_modal .reset_btn {
    background-color: #fff;
    color: #f6ca00;
}

/* 검색 결과 */
.filter_result {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 30px;
}

.filter_result span {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Pretendard';
    line-height: 1.2;
    color: #f6ca00;
    margin-right: 5px;
}

.filter_result p {
    font-size: 16px;
    font-weight: 400;
    font-family: 'Pretendard';
    line-height: 1.2;
    color: #5d5d5d;
}

/* 분류 커스텀 */
.custom_cate {
    margin-bottom: 30px;
}

.custom_cate .custom_cate_ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
  
.custom_cate .custom_cate_ul li a {
    display: block;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Pretendard';
    line-height: 1.2;
    color: #222;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    padding: 13px 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.custom_cate .custom_cate_ul li a img.icon_off {display: block;}
.custom_cate .custom_cate_ul li a img.icon_on {display: none;}
.custom_cate .custom_cate_ul li.active a img.icon_off {display: none;}
.custom_cate .custom_cate_ul li.active a img.icon_on {display: block;}

.custom_cate .custom_cate_ul li.active a {
    color: #222;
    border: 1px solid #f6ca00;
    background-color: #f6ca00;
}

@media all and (max-width:991px) {
    /* 기본 필터 */
    /* 필터 타이틀 */
    .filter_container .title_container {
        margin-bottom: 15px;
    }

    .filter_container .title_container h3 {
        font-size: 17px;
    }
    
    /* 필터 버튼 */
    .filter_container .button_container {
        gap: 10px;
        margin-bottom: 12px;
        flex-wrap: wrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .filter_container .button_container::-webkit-scrollbar {display: none;}
    .filter_container .button_container > * {flex: 0 0 auto;}
    
    .filter_container .filter_btn {
        font-size: 12px;
        padding: 10px 14px 8px 14px;
    }

    /* 필터 더보기 */
    .filter_container .filter_btn.more {
        font-size: 12px;
    }

    /* 모달창 필터 */
    .filter_modal {
        width: calc(100% - 30px);
        max-height: calc(100% - 30px);
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        border-radius: 5px;
        padding: 20px;
    }
    .filter_container .filter_modal::-webkit-scrollbar {display: none;}

    /* 모달창 필터 타이틀 */
    .filter_modal .title_container {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .filter_modal .title_container h3 {
        font-size: 18px;
    }

    /* 모달창 필터 리스트 */
    .filter_modal .modal_list {
        flex-direction: column;
    }

    .filter_modal .filter_group {
        width: 100%;
        margin-bottom: 35px;
    }

    /* 모달창 필터 리스트 타이틀 */
    .filter_modal .group_title {
        font-size: 14px;
        margin-bottom: 18px;
    }
    
    .filter_modal .group_title.recommend_model {
        display: none;
    }

    /* 모달창 필터 리스트 체크박스 */
    .filter_modal .checkbox_grid {
        gap: 13px;
    }

    .filter_modal .checkbox_grid label {
        font-size: 13px;
    }

    .filter_modal .checkbox_grid span{
        width:13px;
        height:13px;
    }

    /* 모달창 필터 리스트 가격 */
    .filter_modal .price_container input {
        padding: 12px 15px;
        font-size: 13px;
    }

    .filter_modal .price_container span {
        font-size: 13px;
    }

    /* 모달창 필터 버튼 */
    .filter_modal .modal_btn_container {
        flex-direction: column;
        flex-direction: column-reverse;
        gap: 10px;
    }

    .filter_modal .modal_btn_container button {
        padding: 14px 10px;
        font-size: 14px;
    }

    /* 검색 결과 */
    .filter_result {
        margin-bottom: 18px;
    }

    .filter_result span {
        font-size: 13px;
    }

    .filter_result p {
        font-size: 13px;
    }

    /* 분류 커스텀 */
    .default_cate #categoryLabel.btn {
        font-size: 12px;
        font-weight: 400;
        font-family: 'Pretendard';
        color: #222 !important;
        border-radius: 5px !important;
        padding: 9px 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        outline: none;
    }

    .default_cate #categoryLabel.btn img {
        width: 10px;
    }

    .default_cate .dropdown-menu {
        width: 100%;
        text-align: center;
        padding: 0;
        border: 1px solid #e1e1e1;
        border-radius: 5px;
        margin-top: 12px;
    }

    .default_cate .dropdown-menu li a {
        font-size: 12px;
        font-weight: 500;
        line-height: 1.2;
        color: #999;
        padding: 12px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }

    .default_cate .dropdown-menu li.active a {background: transparent;}
    .default_cate .dropdown-menu li.active a:hover {color: #f6ca00;}

}