
#mask-wide {
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 100008;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all 0.3s;
    display: none;
}

.ygg-popup-wide {
    background: rgba(255, 255, 255, 0.94);
    border: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    /* top: 30%; */

    text-align: center;
    border-radius: 8px;
    margin: auto;
    z-index: 100009;
    /* margin-left: -125px; */
    display: none;
    transition: all .3s cubic-bezier(.225, .5, .165, 1), top 0 0;
    /* initial state */

    opacity: 0;
    /* transform: scale(1.25); */
    visibility: hidden;

    max-width: 800px;
}

.ygg-popup-wide.in {
    animation: popupIn;
}

.ygg-popup-wide header {
    font-size: 17px;
    padding: 22px 20px 20px 10px;
    font-weight: bold;
    margin: 0;
    position: static;
}

.ygg-popup-wide .popup-contents {
    font-size: 15px;
    margin: 0px 0px 0px;
    max-height: 480px;
    overflow-y: auto;
    word-wrap: break-word;
    padding: 5px 0px;
}

.ygg-popup-wide footer {
    border-top: 1px solid #ddd;
    width: 100%;
    position: relative;
    height: 44px;
}

.ygg-popup-wide footer a {
    width: 50%;
    height: 100%;
    line-height: 44px;
    display: block;
    float: left;
    margin: 0;
    padding: 0;
}

.ygg-popup-wide footer a:active {
    background: rgba(0, 0, 0, 0.05);
    color: #222;
}

.ygg-popup-wide footer #cancel {
    border-right: 1px solid #ddd;
    border-radius: 0 0 0 8px;
}
.ygg-popup-wide footer #cancel:hover{
    text-decoration: none;
}

.ygg-popup-wide footer a#action {
    font-weight: bold;
    border-radius: 0 0 8px 0;
}

.ygg-popup-wide footer .center {
    width: 100%;
    height: 100%;
    border: none !important;
    float: none;
    border-radius: 0 0 8px 8px;
}