/*
 * Copyright (C) 2005 - 2020 TIBCO Software Inc. All rights reserved.
 * http://www.jaspersoft.com.
 *
 * Unless you have purchased a commercial license agreement from Jaspersoft,
 * the following license terms apply:
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */

.webPageView {
    display: block;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-color: #FFFFFF;
}

.webPageView.loading {
    background-image: url("images/wait_animation_large.gif");
    background-position: center center;
    background-repeat: no-repeat;
    background-color: transparent;
}

.webPageView > .externalUrlIframe {
    border: none;
    height: 100%;
    margin: 0;
    width: 100%;
    position: relative;
}

.webPageView > .externalUrlLoadError {
    color: red;
    font-weight: bold;
    text-align: center;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    top:0;
    bottom:0;
    left:0;
    right:0;
}

.webPageView.hideLoadingAnimation {
    background-image: none !important;
}

.webPageView.invisible {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.webPageView.touchScroll {
    display: inline-block;
    -webkit-overflow-scrolling: touch;
    overflow-y: scroll;
}
.webPageView.touchScroll iframe {
    display: block;
}