/*
 * Board category tabs
 * Loaded from head.sub.php after the common theme styles.
 */
#bo_list #bo_cate,
#bo_gall #bo_cate,
#bo_cate {
    margin: 40px 0 80px;
    padding: 0;
    background: #fff;
}

#bo_cate > h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

#bo_list #bo_cate > #bo_cate_ul,
#bo_gall #bo_cate > #bo_cate_ul,
#bo_cate > #bo_cate_ul {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 15px;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0 14px;
    overflow-x: auto;
    overflow-y: hidden;
    list-style: none;
    background: #fff;
    border: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

#bo_cate > #bo_cate_ul::-webkit-scrollbar {
    display: none;
}

#bo_list #bo_cate > #bo_cate_ul > li,
#bo_gall #bo_cate > #bo_cate_ul > li,
#bo_cate > #bo_cate_ul > li {
    float: none;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}

#bo_list #bo_cate > #bo_cate_ul > li > a,
#bo_gall #bo_cate > #bo_cate_ul > li > a,
#bo_cate > #bo_cate_ul > li > a {
    display: block;
    position: relative;
    box-sizing: border-box;
    width: auto;
    min-width: 118px;
    height: 58px;
    margin: 0;
    padding: 15px 35px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #111;
    font-size: 21px;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: -0.04em;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: none;
}

#bo_list #bo_cate > #bo_cate_ul > li > a:hover,
#bo_list #bo_cate > #bo_cate_ul > li > a:focus,
#bo_list #bo_cate > #bo_cate_ul > li > a:active,
#bo_gall #bo_cate > #bo_cate_ul > li > a:hover,
#bo_gall #bo_cate > #bo_cate_ul > li > a:focus,
#bo_gall #bo_cate > #bo_cate_ul > li > a:active,
#bo_cate > #bo_cate_ul > li > a:hover,
#bo_cate > #bo_cate_ul > li > a:focus,
#bo_cate > #bo_cate_ul > li > a:active {
    border: 0;
    background: transparent;
    color: #111;
    text-decoration: none;
}

#bo_list #bo_cate > #bo_cate_ul > li > #bo_cate_on,
#bo_gall #bo_cate > #bo_cate_ul > li > #bo_cate_on,
#bo_cate > #bo_cate_ul > li > #bo_cate_on {
    border: 0;
    border-radius: 30px;
    background: #f4f4f4;
    color: #111;
    font-weight: 700;
}

#bo_cate > #bo_cate_ul > li > #bo_cate_on::after {
    display: none;
}

@media (max-width: 767px) {
    #bo_list #bo_cate, #bo_gall #bo_cate, #bo_cate {
        margin-bottom: 30px;
        
    }
    #bo_list #bo_cate > #bo_cate_ul,
    #bo_gall #bo_cate > #bo_cate_ul,
    #bo_cate > #bo_cate_ul {
        gap: 8px;
    }

    #bo_list #bo_cate > #bo_cate_ul > li > a,
    #bo_gall #bo_cate > #bo_cate_ul > li > a,
    #bo_cate > #bo_cate_ul > li > a {
        min-width: 96px;
        font-size: 17px;
    }
}
