<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ErrorNotLoggedIn.aspx.cs" Inherits="DoctorAccess.PatientAccess.ErrorNotLoggedIn" %>

<%@ Register TagPrefix="axi" TagName="LogoImage" Src="~/PatientAccess/Controls/LogoImageControl.ascx" %>
<%@ Register TagPrefix="axi" TagName="ModalSpinner" Src="~/PatientAccess/Controls/ModalSpinner.ascx" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head runat="server">
    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
    <meta http-equiv="X-UA-Compatible" content="IE=8" />

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js" type="text/javascript" integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm" crossorigin="anonymous"></script>
    <script src="./Includes/Scripts/jquery-3.5.1.min.js" type="text/javascript"></script>

    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css" integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9" crossorigin="anonymous" />
    <link rel="stylesheet" href="./includes/css/selfRegistration.css" />
    <link rel="stylesheet" href="./Includes/Css/PA2.0/common.css" />
    <link rel="stylesheet" href="./includes/css/welcomeToPA.css" />
    <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Flow Block:wght@400&display=swap"/>
    <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Fjalla One:wght@400&display=swap"/>
    <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400&display=swap"/>
</head>
<body>
    <div class="container">
        <div class="main-content">

            <form runat="server" class="m-0 p-0">

                <div class="university-logo-container">
                    <axi:LogoImage ID="LogoImage1" runat="server" CssImage="university-logo" />
                </div>

                <div id="RegisterFormContainer" runat="server" class="text-center text-container">
                    <div id="ErrorTitle" runat="server" class="text-register-access mb-4"></div>
                    <span id="ErrorMessage" runat="server"></span>
                </div>
                <axi:ModalSpinner ID="ModalSpinner" runat="server" />
            </form>


        </div>
        <div class="copyright">
            Copyright &copy; <%= DateTime.Now.Year %> Henry Schein One, Exan Enterprises. All rights reserved.
        </div>
    </div>


    <div class="HideOnMobile">
        <div class="welcome-iframe-box">
            <div class="welcome-iframe">
                <asp:Image ID="LoginImage" runat="server" class="background-img" AlternateText="" />
                <div id="DivBackgroundColor" runat="server" class="background-color pa-primary-background-color-opacity"></div>
                <div id="textContainerId" class="welcome-text-container pa-text-color">
                    <asp:Label ID="UniversityName" CssClass="welcome-to-university" runat="server"></asp:Label>
                    <p class="block-divider">Welcome to the Exan Group</p>
                    <div id="LoginText" runat="server" class="pa-description"></div>
                </div>
            </div>
        </div>
    </div>

    <script type="text/javascript">
        $(document).ready(function () {
            setContentHeight();
        });

        $(window).resize(function () {
            setContentHeight();
        });

        function setContentHeight() {
            $childHeight = jQuery('#textContainerId').outerHeight();
            $newheight = $childHeight + 150;

            if ($(window).height() > $newheight) {
                $newheight = $(window).height();
            }

            jQuery('#DivBackgroundColor', window.parent.document).css('height', $newheight + 'px');
            jQuery('#backgroundImgId', window.parent.document).css('height', $newheight + 'px');

        }
    </script>

</body>
</html>



