/* gallery skin mobile-first layout */

#listWrap {
    padding: 20px 0;
    box-sizing: border-box;
}

.searchTop {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: transparent;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.searchBox {
    display: flex;
    align-items: center;
    gap: 0;
    width: auto;
    max-width: 620px;
    box-sizing: border-box;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    padding: 20px;
}

.searchWrap {
    position: relative;
    align-items: center;
    width: 100%;
    display:flex; align-items:center; justify-content:space-between; border:1px solid #e0e0e0;
    font-size: 1.1em;
}
.searchWrap span {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}
.searchWrap span:before {content:''; display:inline-block; width:1px; height:28px; position:absolute; left:84px; top:9px; 
                         background-color:#e0e0e0;
                        }

.searchBox select,
.searchBox input {
    border: none;
    background: #fff;
    height: 45px;
    color: #333;
}

.searchBox select {
    min-width: 84px;
    padding: 0 14px;
    text-align: center;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 45px;
}

.searchBox input {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 18px;
    outline: none;
    display: block;
}

.searchBox button {
    width: 80px;
    height: 45px;
    margin: 0;
    background: #d42b81;
    color: #fff;
    border: none;
    cursor: pointer;
    flex: 0 0 80px;
    display: block;
}

.searchBox input::placeholder {
    color: #999;
}

.searchBox button {
    width: 80px;
    height: 45px;
    margin: 0;
    background: #424242;
    color: #fff;
    border: none;
    cursor: pointer;
    line-height: 45px;
}

.searchBox button:hover {
    /* background: #d42b81; */
}

.GalleryList {
    width: 100%;
}

.GalleryList ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.GalleryList li {
    margin:0 1% 10px;
    background:#fff;
    -webkit-box-shadow:0px 0px 20px -5px rgba(0,0,0,0.1);
    -moz-box-shadow:0px 0px 20px -5px rgba(0,0,0,0.1);
    box-shadow:0px 0px 20px -5px rgba(0,0,0,0.1);
    position:relative;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, box-shadow;
}

.GalleryList li > .select_btn {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    margin: 0;
    line-height: 1;
}

.GalleryList li > .select_btn input {
    display: block;
    margin: 0;
}

.GalleryList li:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.GalleryList li > a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.GalleryList .Gimg {
    width: 100%;
    aspect-ratio: 900 / 500;
    overflow: hidden;
    background: #fff;
}

.GalleryList .Gimg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.GalleryList .itemText {
    padding: 10px;
}

.GalleryList .title,
.GalleryList .date {
    display: block;
    padding: 0 0 0;
}

.GalleryList .title {
    font-size: 16px;
    line-height: 1.4;
    color: #404040;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight:500;
}

.GalleryList .date {
    font-size: 0.9em;
    color: #777;
    text-align: right;
    font-weight: 500;
}

.boardButton {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    color: #777;
}

.boardButton span {
    background: transparent;
    display: inline-block;
    padding: 0;
}

.boardButton a {
    display: inline-block;
    padding: 0 20px;
    min-height: 50px;
    line-height: 50px;
    background: #d42b81;
    color: #fff;
    font-size: 16px;
    border: none;
    text-align: center;
}

.pageList {
    margin-top: 22px;
}

@media (min-width: 768px) {
    .GalleryList ul {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }

    .searchBox {
        justify-content: space-between;
    }

    .searchBox input {
        flex: 1 1 400px;
    }

.GalleryList .itemText {
    padding: 20px;
}


}
