﻿/* ========================================
   레이어팝업 공통
======================================== */

.popup-wrap .layer-cont {
    left: auto;
    float: left;
    position: relative;
    z-index: 999;
    max-width: 100%;
    border: 2px solid #d7dad7;
    background: url('/usr/skin/layerpopup/default/images/bg_pttn01.jpg')
    no-repeat center top #f1f0ef;
    box-sizing: border-box;
}

.popup-wrap .layer-pop {
    min-width: 0;
}

.popup-wrap .popup_img img {
    width: 100%;
    display: block;
}

.popup-wrap .popwrapper {
    margin: 5px 0 0 10px;
    width: calc(100% - 20px);
    height: 100%;
    overflow-y: auto;
}

.popup-wrap .popup_title {
    font-size: 16px;
    line-height: 18px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

.popup-wrap .popup_contents {
    margin-top: 5px;
    font-size: 14px;
    line-height: 18px;
    color: #666;
}

/* ========================================
   가로형 (600 x 360)
======================================== */

.popup-wrap.popup-horizontal .layer-cont {
    width: 600px;
    height: 360px;
}

.popup-wrap.popup-horizontal .popup_img {
    padding: 5px 5px 0;
}

.popup-wrap.popup-horizontal .popup_img img {
    height: 330px;
}

/* ========================================
   세로형 (530 x 664)
======================================== */

.popup-wrap.popup-vertical .layer-cont {
    width: 530px;
    height: 664px;
}

.popup-wrap.popup-vertical .popup_img img {
    height: 634px;
}

/* ========================================
   하단 영역
======================================== */

.popup-wrap .layerpopup_footer {
    width: 100%;
    height: 36px !important;
    line-height: 24px;
    padding-top: 6px;
    background: linear-gradient(45deg, #337ab7, #0e4c81);
    text-align: right;
    position: absolute;
    bottom: -14px;
    left: 0;
    outline: 2px solid #337ab7;
    padding-right: 56px;
    box-sizing: border-box;
}

.popup-wrap .layerpopup_today {
    color: #fff;
    cursor: pointer;
}

.popup-wrap .layerpopup_close {
    margin: 0 10px;
    position: absolute;
    top: 2px;
    right: 3px;
}

.popup-wrap .layerpopup_close img {
    vertical-align: top;
    width: 32px;
    height: 32px;
}