@charset "utf-8";

/* 게시판 우측 퀵 메뉴 이동. */
.pb-board-tools,
.pb-view-side-tools,
.pb-webzine-quick,
.pb-webzine-view-quick,
.pb-webzine-write-quick,
.pb-gallery-quick,
.pb-gallery-tools,
.pb-gallery-quick-menu,
.pb-gallery-side-tools,
.pb-gallery-view-quick,
.pb-gallery-write-quick,
.pb-qna-quick,
.pb-qna-side-tools,
.pb-write-side-tools,
.pb-board-side-tools,
[data-pb-board-quick] {
    transition: top .18s ease
}

/* 배너 게시판 우측 퀵 메뉴. */
.pb-banner-side-tools {
    position: fixed;
    z-index: 900;
    top: 180px;
    right: max(80px, calc(50% - (1024px / 2) - 80px));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0
}

.pb-banner-side-tool {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid #dbe2ee;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
    cursor: pointer
}

.pb-banner-side-tool:hover,
.pb-banner-side-tool:focus-visible {
    border-color: #b9a5f8;
    color: #6d42e8;
    outline: 0
}

.pb-banner-side-tool i {
    font-family: FontAwesome;
    font-style: normal;
    line-height: 1
}

.pb-banner-side-tool.is-write {
    border-color: #9823f5;
    background: #9823f5;
    color: #fff
}

.pb-banner-side-tool[data-tooltip]::after {
    position: absolute;
    top: 50%;
    right: calc(100% + 10px);
    z-index: 10;
    padding: 7px 10px;
    border-radius: 7px;
    background: rgba(25, 32, 46, .96);
    color: #fff;
    content: attr(data-tooltip);
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(6px, -50%);
    transition: opacity .16s ease, visibility .16s ease, transform .16s ease
}

.pb-banner-side-tool[data-tooltip]:hover::after,
.pb-banner-side-tool[data-tooltip]:focus-visible::after {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%)
}

/* 배너 게시판 검색 레이어. */
.pb-banner-search-layer {
    position: fixed;
    z-index: 10030;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, .5)
}

.pb-banner-search-layer[hidden] {
    display: none
}

.pb-banner-search-box {
    width: min(100%, 460px);
    padding: 22px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .24)
}

.pb-banner-search-box h3 {
    margin: 0 0 16px;
    font-size: 20px
}

.pb-banner-search-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 8px
}

.pb-banner-search-row select,
.pb-banner-search-row input {
    width: 100%;
    height: 42px;
    border: 1px solid #d8dce5;
    border-radius: 8px;
    background: #fff
}

.pb-banner-search-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 14px
}

@media(max-width:768px) {
    .pb-board-tools,
    .pb-view-side-tools,
    .pb-webzine-quick,
    .pb-webzine-view-quick,
    .pb-webzine-write-quick,
    .pb-gallery-quick,
    .pb-gallery-side-tools,
    .pb-gallery-view-quick,
    .pb-gallery-write-quick,
    .pb-qna-quick,
    .pb-qna-side-tools,
    .pb-write-side-tools,
    .pb-board-side-tools,
    [data-pb-board-quick] {
        transition: none
    }

    .pb-banner-side-tools {
        position: static;
        flex-direction: row;
        justify-content: flex-end;
        width: min(calc(100% - 24px), 1024px);
        margin: 0 auto 16px
    }

    .pb-banner-side-tool[data-tooltip]::after {
        display: none
    }

    .pb-banner-search-row {
        grid-template-columns: 1fr
    }
}
