:host {
    > div {
        max-width: 100%;
        max-height: 100%;
    }
    iframe {
        border: 0;
        display: block;
        max-width: 100%;
        background-color: var(--ion-background-color);
    }

    .core-loading-container {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        display: table;
        height: 100%;
        width: 100%;
        z-index: 1;
        margin: 0;
        padding: 0;
        clear: both;

        .core-loading-spinner {
            display: table-cell;
            text-align: center;
            vertical-align: middle;
        }
    }
}

:host-context(.core-iframe-fullscreen) {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
}
