@charset "UTF-8";

/* 幕布 */
div.app-widget-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.85);
    display: block;
}

/* Loading消息 */
div.app-widget-loading {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -28px;
    padding: 18px;
    min-width: 20px;
    height: 20px;
    background-position: 18px 18px;
    background-image: url('../images/loading-light.gif');
    background-repeat: no-repeat;
    background-color: rgba(0,0,0,.9);
    background-size: 20px 20px;
    border-radius: 4px;
    font-size: 12px;
    color: #fff;
    line-height: 20px;
    display: block;
}

div.app-widget-loading > p {
    padding: 0 5px 0 25px;
}

/* 消息 */
div.app-widget-message-container {
    position: fixed;
    top: 50%;
    left: 50%;
    display: block;
}

div.app-widget-message-container > div.container-inner {
    position: relative;
    width: 100%;
}

div.app-widget-message-container > div.container-inner > div.message {
    position: absolute;
    min-height: 52px;
    background: rgba(0,0,0,.85);
    border-radius: 4px;
}

div.app-widget-message-container > div.container-inner > div.message > div.message-icon {
    position: absolute;
    top: 0;
    left: 15px;
    width: 20px;
    height: 52px;
    font-size: 16px;
    color: #fff;
    line-height: 52px;
}

div.app-widget-message-container > div.container-inner > div.message > div.message-text {
    padding: 15px 22px 15px 40px;
    font-size: 14px;
    color: #fff;
    line-height: 22px;
}

div.app-widget-message-container > div.container-inner > div.message > div.message-text > h5 {
    font-size: 12px;
    font-weight: bold;
}

/* Modal */
div.app-widget-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    overflow: auto;
    display: block;
}

div.app-widget-modal > div.modal-spacing {
    position: relative;
    padding: 0;
}

div.app-widget-modal > div.modal-spacing > div.modal-align {
    position: relative;
}

div.app-widget-modal > div.modal-spacing > div.modal-align > div.modal-content {
    position: relative;
}

/* subwindow */
div.app-widget-subwindow {
    position: relative;
    background: #fff;
}

div.app-widget-subwindow > iframe {
    width: 100%;
    border: none;
    border-width: 0;
    display: none;
}

div.app-widget-subwindow > div.loading {
    position: relative;
    height: 100%;
    min-height: 300px;
    background-position: center center;
    background-image: url("../images/loading-dark.gif");
    background-repeat: no-repeat;
    background-size: 22px;
}

div.app-widget-subwindow > button.close {
    position: absolute;
    top: 0;
    right: -50px;
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,.5);
    border: 0;
    border-radius: 50%;
    font-size: 18px;
    color: #000;
    line-height: 32px;
    text-align: center;
    cursor: pointer;
    display: block;
}

div.app-widget-subwindow > button.close:hover {
    background: #fff;
}