@charset "UTF-8";

/* FAQ 목록 상단은 공통 CSS/JS가 후순위로 적용돼도 건수는 왼쪽,
   검색창은 오른쪽에 유지한다. */
.faq-anchor .bn-list-faq01.type04 .box-info {
    display: flex;
    flex-flow: row wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.faq-anchor .bn-list-faq01.type04 .box-info .bn-search01.type04 {
    flex: 0 0 360px;
    width: 360px;
    max-width: 100%;
    margin: 0 0 0 auto;
}

.faq-anchor .bn-list-faq01.type04 .bn-search01.type04 form,
.faq-anchor .bn-list-faq01.type04 .bn-search01.type04 .b-search-wrap {
    width: 100%;
    margin: 0;
}

.faq-anchor .bn-list-faq01.type04 .bn-search01.type04 .b-form-search,
.faq-anchor .bn-list-faq01.type04 .bn-search01.type04 .b-input-box {
    position: relative;
    width: 100%;
}

.faq-anchor .bn-list-faq01.type04 .bn-search01.type04 input[type="text"] {
    display: block;
    width: 100%;
    height: 52px;
    margin: 0;
    padding: 0 52px 0 20px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    box-sizing: border-box;
}

.faq-anchor .bn-list-faq01.type04 .bn-search01.type04 .b-search-btn {
    position: absolute;
    top: 50%;
    right: 18px;
    width: 20px;
    height: 20px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent url('/_res/nsu/_share/img/iacf/ico-input02.png') no-repeat center;
    transform: translateY(-50%);
    font-size: 0;
    cursor: pointer;
}

/* 관리자 수정 링크와 FAQ 펼침 화살표의 오른쪽 영역을 분리한다. */
.faq-anchor .bn-list-faq01.type04 .b-quest-box > .b-modify-box {
    flex: 0 0 auto;
    margin-right: 40px;
}

@media screen and (max-width: 600px) {
    .faq-anchor .bn-list-faq01.type04 .box-info {
        flex-direction: column;
        align-items: stretch;
    }

    .faq-anchor .bn-list-faq01.type04 .box-info .bn-search01.type04 {
        flex-basis: auto;
        width: 100%;
        margin-left: 0;
    }
}
