
.popup {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
}

.popup > table {
    width: 100%;
    height: 100%;
}

.popup > table > tbody > tr > td,
.popup > table > tr > td {
    text-align: center;
    vertical-align: middle;
}

.popup.is-visible {
    display: block;
}

.popup .popup-container {
    background: #fff;
    display: inline-block;
    border-radius: 2px;
    overflow: hidden;
    zoom: 1;
}

.popup .popup-header {
    font-weight: bold;
    text-align: center;
    padding: 15px 10px;
    border-bottom: 1px solid #ddd;
}

.popup .popup-content {
    overflow: auto;
    padding: 15px 10px;
    text-align: center;
}

.popup .popup-footer {
    overflow: hidden;
    zoom: 1;
    text-align: center;
    border-top: 1px solid #ddd;
    display: flex;
}

.popup .popup-footer a {
    float: left;
    color: #000;
    text-decoration: none !important;
    padding: 15px 10px;
    white-space: nowrap;
    border-left: 1px solid #ddd;
    flex: 1;
}

.popup .popup-footer a:first-child {
    border-left-width: 0;
}

.popup .popup-footer a:active {
    background-color: #eee;
}

.popup-loading {
    background-color: rgba(200, 200, 200, .2);
}

.popup-loading .popup-container {
    width: 20px !important;
    height: 20px !important;
    background: transparent url(popup-loading.gif) no-repeat center center;
    -wekit-tbackground-size: contain;
    background-size: contain;
}

.popup-confirm .popup-container,
.popup-alert .popup-container {
    min-width: 280px;
}

.popup-cute {
    background-color: transparent;
}

.popup-cute .popup-container {
    background-color: rgba(0, 0, 0, .7);
    color: #FFF;
    border-radius: 5px;
}