#gallery {}

#gallery .top-wrapper {
    position: relative;
    height: 485px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#gallery .top-wrapper .banner-scale {
    width: 100%;
    min-width: 2200px;
    animation: banner-scale 2s ease-in-out;
}

#gallery .top-wrapper .txt-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    padding-top: 80px;
}


#gallery .top-wrapper .txt-wrapper .tit1 {
    font-size: 78px;
    font-weight: 500;
    color: white;
}

#gallery .top-wrapper .txt-wrapper .tit2 {
    font-size: 18px;
    font-weight: 500;
    color: white;
}

#gallery .content-wrapper {
    background-color: white;
}

#gallery .detail-wrapper {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 60px;
}
#gallery .detail-wrapper .head{
    position: relative;
    width: 100%;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;
}
#gallery .detail-wrapper .head .name {
    font-size: 19px;
    font-weight: 500;
}
#gallery .detail-wrapper .head .back {
    position: absolute;
    top: 0;
    left: 10px;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;
}
#gallery .detail-wrapper .head .back > img {
    width: 20px;
}
#gallery .detail-wrapper .main-slide {}
#gallery .detail-wrapper .main-slide .pg{
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    width: 60%;
    z-index: 100;
    margin: 0 auto;
    text-align: center;

    display: flex;
}
#gallery .detail-wrapper .main-slide .swiper-pagination-bullet {
    background-color: white;
    opacity: 0.5;
    width: 100%;
    margin: 0;
    border-radius: 0;
    height: 2px;
}
#gallery .detail-wrapper .main-slide .swiper-pagination-bullet-active{
    background-color: black;
    opacity: 1;
}
#gallery .detail-wrapper .main-slide .swiper-slide{
    position: relative;
}
#gallery .detail-wrapper .main-slide .swiper-slide::before{
    content: '';
    margin-top: 100%;
    display: inline-block;
    width: 100%;
}
#gallery .detail-wrapper .main-slide .swiper-slide > .inner-thumb{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
#gallery .detail-wrapper .thumb-slide {
    margin-top: 5px;
}
#gallery .detail-wrapper .thumb-slide .swiper-slide{
    position: relative;
}
#gallery .detail-wrapper .thumb-slide .swiper-slide::before{
    content: '';
    margin-top: 100%;
    display: inline-block;
    width: 100%;
}
#gallery .detail-wrapper .thumb-slide .swiper-slide > .inner-thumb{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}














#gallery .list-wrapper {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 30px;
}
#gallery .list-wrapper .tabs{
    display: flex;
    height: 40px;
}
#gallery .list-wrapper .tabs li.i-tab.active{
    color: #CEA37C;
    border-bottom-color: #CEA37C;    
}
#gallery .list-wrapper .tabs li.i-tab{
    width: 100%; 
    height: 100%;

    font-size: 16px;
    font-weight: 500;
    color: #999999;
    border-bottom: 1px solid transparent;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}
#gallery .list-wrapper .search-bar-wrapper{
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
}
#gallery .list-wrapper .search-bar{
    position: relative;
    height: 35px;
    border-bottom: 1px solid #ACACAC;
}
#gallery .list-wrapper .search-bar input{
    width: 100%;
    height: 100%;
    padding-right: 50px;
}
#gallery .list-wrapper .search-bar input::placeholder {
    color: #ccc;
}
#gallery .list-wrapper .search-bar .i-remove.hidden{
    opacity: 0;
    pointer-events: none;
}
#gallery .list-wrapper .search-bar .i-remove{
    position: absolute;
    top: 0;
    right: 40px;

    width: 35px;
    height: 35px;
    z-index: 1;

    /* border: 1px solid red; */

    display: flex;
    align-items: center;
    justify-content: center;

    transition: opacity 0.2s ease;

    cursor: pointer;
}
#gallery .list-wrapper .search-bar .i-remove > img{
    width: 16px;
}
#gallery .list-wrapper .search-bar .i-search{
    position: absolute;
    top: 0;
    right: 0;

    width: 35px;
    height: 35px;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}
#gallery .list-wrapper .search-bar .i-search > img{
    width: 20px;
}

#gallery .list-wrapper .list{
    padding: 0 10px;
    padding-top: 20px;
    padding-bottom: 50px;

    display: inline-block;
    width: 100%;
}


/* ITEM */
#gallery .i-gallery{
    float: left;
    width: 50%;
    padding: 20px 10px;
}
#gallery .i-gallery .item{
    /* border: 1px solid red; */
    cursor: pointer;
}
#gallery .i-gallery .item .thumb{
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
#gallery .i-gallery .item .thumb::before{
    content: '';
    margin-top: 100%;
    display: inline-block;
    width: 100%;
}
#gallery .i-gallery .item .info{

}
#gallery .i-gallery .item .info .name{
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;

    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1; /* 라인수 */
    -webkit-box-orient: vertical;
    word-wrap: break-word;
    
    line-height: 1.5em;
    height: 1.5em;
}
#gallery .i-gallery .item .info .intro{
    margin-top: 10px;
    color: #666666;

    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* 라인수 */
    -webkit-box-orient: vertical;
    word-wrap: break-word; 
    line-height: 1.5em;
    height: 6.0em; /* line-height 가 1.2em 이고 3라인을 자르기 때문에 height는 1.2em * 3 = 3.6em */
}
#gallery .i-gallery .item .info .more{
    width: 120px;
    margin-top: 16px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;

    border: 1px solid #CEA37C;
}
#gallery .i-gallery .item .info .more > .txt{
    font-weight: 500;
    color: #CEA37C;
    font-size: 15px;
}
#gallery .i-gallery .item .info .more > img{
    margin-left: 5px;
}