@charset "utf-8";

/************
 * PROGRESS *
 ************/

*[data-async-receiver] + .async-progress {
    display: none;
    margin: 0 auto;
    height: 15em;
}
*[data-async-receiver].ui-none + .async-progress {
    display: block;
}
*[data-async-receiver].ui-none + .async-progress + *[data-async-receiver] {
    display: none;
}

/****************
 * NOTIFICATION *
 ****************/

*[id*="async-notification-"] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .8);
    z-index: 100000000;
    opacity: 0;
}

*[id*="async-notification-"] > div {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;

    border-radius: .5em;
    border: thin solid #CCC;
    background: #FFF;
    box-shadow: 0 0 .5em rgba(0, 0, 0, .5);
}

/***********************
 * NOTIFICATION > SAVE *
 ***********************/

#async-notification-save > div {
    width: 30em;
    height: 16em;
    margin-top: -8em;
    margin-left: -15em;
    text-align: center;
}
#async-notification-save > div p {
    line-height: 8em;
    font-size: 2em;
}
#async-notification-save > div p img {
    height: 1.2em;
}
#async-notification-save > div p span {
    margin-left: .5em;
    font-weight: bold;
    color: #333;
}

/***************************
 * NOTIFICATION > PROGRESS *
 ***************************/

#async-notification-progress > div {
    width: 30em;
    height: 24em;
    margin-top: -12em;
    margin-left: -15em;
}
#async-notification-progress > div p img {
    display: block;
    margin: 0 auto;
    width: 15em;
}
#async-notification-progress > div p span {
    display: block;
    position: absolute;
    bottom: 1em;
    left: 0;
    width: 100%;
    color: #333;
    text-align: center;
    font-size: 1.25em;
}