/* List */
.photo-vpop-wrap { border-top: 2px solid #fede05; }
.vpop-page-list { margin-top: 36px; }

.line-thumb img { border: 1px solid #fec500; box-shadow: 9px 9px 0px 0px rgba(218,218,218,.28); }


/* List Popup */
.view-popup{
    display: block; position: absolute; top: 50%; left: 50%;
    padding: 0; max-width: 950px; width: calc(100% - 10px); max-height: 440px; height: calc(100% - 10px);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.lyv{
    overflow-y: auto;
    padding: 41px 75px 55px; height: 100%;
    background: #fff;
}
.lyv-prev{
    position: absolute; top: 0; left: 0; bottom: 0; margin: auto;
    width: 75px; height: 100%;
    background: url('/adm/bbs/skin/photoViewpopup/image/lyv-prev.png') no-repeat left center;
}
.lyv-next{
    position: absolute; top: 0; right: 0; bottom: 0; margin: auto;
    width: 75px; height: 100%;
    background: url('/adm/bbs/skin/photoViewpopup/image/lyv-next.png') no-repeat right center;
}
.lyv-top { padding-bottom: 25px; font-size: 0; }
.lyv-top img { width: 100%; height: auto; }
.lyv-recom button i{
    display: inline-block; vertical-align: middle; margin-right: 8px;
    width: 26px; height: 24px;
    background: url('/adm/bbs/skin/photoViewpopup/image/lyv-recom.png') no-repeat center;
}
.lyv-recom button em { display: inline-block; vertical-align: middle; }
.lyv-title h6 { margin: 7px 0 6px; }
.lyv-bottom{
    padding: 40px 0 0; border-top: 1px solid #dcdcdc;
}
.lyv-close{
    position: absolute; top: 15px; right: 15px;
    width: 50px; height: 50px;
    background: url('/adm/bbs/skin/photoViewpopup/image/lyv-close.png') no-repeat center;
}

.lyv-view-thumb { display: inline-block; vertical-align: top; padding-right: 10px; width: 26.875%; }
.lyv-contents { display: inline-block; vertical-align: top; width: 73.125%; }
.lyv-contents > strong { display: block; margin: -6px 0 5px; }



.ly-ul > li { margin-left: -1px; padding: 40px 0px; border-bottom: 1px solid #ebebeb; }
.ly-ul > li:nth-child(odd) { border-right: 1px solid #ebebeb; }
.ly-ul > li:nth-child(even) { padding-left: 40px; }
/* .ly-ul > li:last-child { border-right: none; } */
.ly-thumb { position: relative; display: inline-block; vertical-align: top; padding-right: 10px; width: 34.3%; }
.ly-thumb a{
    display: block;
    padding-top: 100%; width: 100%; height: 0;
    background-repeat: no-repeat; background-position: center; background-size: cover;
}
.ly-recom{
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    text-align: center;
    background: rgba(255,106,92,.8);
    -webkit-transition: ease-out .35s;
    -o-transition: ease-out .35s;
    transition: ease-out .35s;
    opacity: 0;
    visibility: hidden;
}
.ly-thumb a:hover .ly-recom{
    opacity: 1;
    visibility: visible;
}
.ly-text { display: inline-block; vertical-align: top; width: 65.7%; }
.ly-text h4 { margin: 16px 0 4px; }
.ly-text p { line-height: 24px; }
.ly-recom img { margin: 0 auto 2px; }
.ly-recom em { display: block; }
.ly-body { padding: 20px 0 35px; }
.ly-name { font-size: 16px; color: #333; }
.ly-info { font-size: 15px; color: #777777; }
.ly-btn { margin-top: 14px; width: 140px; height: 35px; font-size: 14px; color: #333; border: 1px solid #fede05; }
.ly-btn:hover { background: #fede05; }
.layer{ position: fixed; display: block; top: 0; left: 0; width: 100%; height: 100%; z-index: 100001; background-color: rgba(0,0,0,.7); }


@media (max-width:1024px) {
    .lyv-prev { background-position: center; }
    .lyv-next { background-position: center; }
    .ly-ul > li { width: 100%; }
    .ly-ul > li:nth-child(odd) { border-right: none; }
    .ly-ul > li:nth-child(even) { padding-left: 0; }
}
@media (max-width:768px) {
    .lyv { padding: 15px 15px 25px; }
    .lyv-top { position: static; }
    .view-popup { padding: 0 38px; }
    .lyv-close{
        z-index: 10; top: 0; right: 0; width: 30px; height: 30px;
        background-image: url('/adm/bbs/skin/photoViewpopup/image/lyv-close-light.png');
    }
    .lyv-prev { width: 30px; background-size: auto 24px; }
    .lyv-next { width: 30px; background-size: auto 24px; }

    .lyv-view-thumb { padding: 0 0 30px; width: 100%; }
    .lyv-contents { width: 100%; }
}
@media (max-width:500px) {
    .ly-thumb { padding: 0 0 15px; width: 100%; }
    .ly-text { width: 100%; }
}



/* Write */
.photo-vpop-top-caption { margin-top: 35px; }
.photo-vpop-table{
    border-collapse: collapse; display: table;
    margin-top: 15px; width: 100%;
    border-top: 1px solid #fede05;
}
.vpop-row { display: table-row; border-bottom: 1px solid #dcdcdc; }
.vpop-th{
    display: table-cell; vertical-align: middle;
    padding-right: 10px; padding-left: 30px;
    width: 175px;
}
.vpop-td{
    display: table-cell; padding-top: 15px; padding-bottom: 15px;
}
.vpop-td select,
.vpop-td input[type="text"] { width: 100%; height: 50px; }
.vpop-td textarea { padding: 10px; width: 100%; height: 160px; }

.vpop-td input[type="text"]::placeholder {
    line-height: 28px; font-size: 18px; color: #999999;
}
.vpop-td input[type="text"]::-webkit-input-placeholder {
    line-height: 28px; font-size: 18px; color: #999999;
}
.vpop-td input[type="text"]:-ms-input-placeholder {
    line-height: 28px; font-size: 18px; color: #999999;
}

.photo-vpop-up { padding: 25px 0 40px; }
.up-img-ul > li { position: relative; padding: 0 30px; }
.up-img-ul > li:last-child{
    border-left: 1px solid #dcdcdc;
}

.up-media-box{
    overflow: hidden;
    position: relative; width: 100%; height: 350px;
    border: 1px solid #dcdcdc;
}
.up-media-box img { position: absolute; top: 0; left: 0; width: 100%; height: auto; }
.up-media { position: relative; }
.up-media input { position: absolute; top: 0; left: 0; width: 0; height: 0; overflow: hidden; opacity: 0; visibility: hidden; }
.up-media span{
    display: block; width: 90px; height: 30px; line-height: 30px;
    font-size: 14px; color: #fede05; text-align: center;
    border-radius: 15px; border: 1px solid #fede05;
}

.up-title { display: block; margin-bottom: 15px; }

.up-media-placeholder p { padding: 26px 30px 30px; line-height: 28px; }
.media-preview {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-repeat: no-repeat; background-size: cover; background-position: center;
}

.up-message-box{
    width: 100%; height: 350px;
    border: 1px solid #dcdcdc;
}
.up-message-box textarea{
    padding: 30px; width: 100%; height: 100%; line-height: 28px;
    font-size: 14px;
    border: none;
}
.up-message-box textarea::placeholder {
    line-height: 28px; font-size: 18px; color: #999999;
}
.up-message-box textarea::-webkit-input-placeholder {
    line-height: 28px; font-size: 18px; color: #999999;
}
.up-message-box textarea:-ms-input-placeholder {
    line-height: 28px; font-size: 18px; color: #999999;
}

.vpop-agree { padding: 35px 0 40px; border-top: 1px solid #fede05; border-bottom: 1px solid #fede05; }
.vpop-agree-title{
    display: inline-block; vertical-align: top;
    padding-left: 30px; width: 26%;
}
.vpop-agree-contents{
    display: inline-block; vertical-align: top;
    padding-left: 8px; width: 51%;
}
.vpop-agree-contents ul { margin: 3px 0 0 25px; }
.vpop-agree-contents ul li { line-height: 26px; margin-bottom: 10px; letter-spacing: -0.06em; }
.vpop-label { margin-top: 26px; }
.vpop-label label { margin-right: 18px; }

.vpop-agree-caption { padding-top: 10px; }

.vpop-bottom { margin-top: 56px; text-align: center; }
.vpop-bottom button { width: 180px; }

@media (max-width:1024px) {
    .photo-vpop-table { display: block; margin-top: 30px; }
    .vpop-row { display: block; width: 100%; }
    .vpop-th { display: block; padding: 15px 0px 5px; width: 100%; }
    .vpop-td { display: block; padding: 5px 0px 15px; width: 100%; }

    .vpop-td select,
    .vpop-td input[type="text"] { width: 100%; height: 45px; }

    .up-message-box textarea::placeholder { line-height: 22px; font-size: 14px; color: #999999; }
    .up-message-box textarea::-webkit-input-placeholder { line-height: 22px; font-size: 14px; color: #999999; }
    .up-message-box textarea:-ms-input-placeholder { line-height: 22px; font-size: 14px; color: #999999; }

    .vpop-td input[type="text"]::placeholder { line-height: 28px; font-size: 17px; color: #999999; }
    .vpop-td input[type="text"]::-webkit-input-placeholder { line-height: 28px; font-size: 17px; color: #999999; }
    .vpop-td input[type="text"]:-ms-input-placeholder { line-height: 28px; font-size: 17px; color: #999999; }

    .vpop-agree-title { padding: 0px 0 20px; width: 100%; }
    .vpop-agree-contents { padding: 0; width: 100%; }
}
@media (max-width:768px) {
    .vpop-td input[type="text"]::placeholder { font-size: 15px; }
    .vpop-td input[type="text"]::-webkit-input-placeholder { font-size: 15px; }
    .vpop-td input[type="text"]:-ms-input-placeholder { font-size: 15px; }

    .up-img-ul > li { padding: 0; width: 100%; }
    .up-img-ul > li:last-child { padding-top: 30px; border-left: none; }
    .up-media-box { height: 200px; }
    .up-message-box { height: 200px; }
    .up-media-placeholder p { padding: 14px 15px; }
    .up-message-box textarea { padding: 15px; }

    .vpop-agree-contents ul li { margin-bottom: 5px; }
}
