<?php
include_once ('assets/blocks/header.php');
?>

<body>
<!-- Layout wrapper -->
<div class="layout-wrapper layout-content-navbar logga_in_bank_layout">
    <div class="layout-container">
        <!-- Menu -->


<!--        </aside>-->
        <!-- / Menu -->

        <!-- Layout container -->
        <div class="layout-page">
            <!-- Navbar -->


            <!-- / Navbar -->

            <!-- Content wrapper -->
            <div class="content-wrapper">
                <!-- Content -->

                <div class="container-xxl flex-grow-1 container-p-y">

                    <div class="row">
                        <!-- Order Statistics -->
                        <div class="col-lg-4 col-md-6">
                            <div class="mt-3">
                                <!-- Button trigger modal -->

                                <!-- Modal -->
                                <div class="modal fade logga_in_main_block" id="modalCenter" tabindex="-1" aria-hidden="true">


                                    <div class="modal-dialog modal-dialog-centered logga_in_modal_block" role="document">
                                        <div class="modal-content">
                                            <div class="modal-header">
<!--                                                <h5 class="modal-title" id="modalCenterTitle">Modal title</h5>-->
                                                <div class="col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12 col-xxl-12 logga_in_modal_img align-items-center justify-content-center d-flex">
<!--                                                    <p>Financia</p>-->
<!--                                                    <img src="assets/img/favicon/financia_logo_white.svg">-->
                                                    <img src="assets/img/logo/financia_svg_white_logo.svg">
                                                </div>
                                            </div>
                                            <div class="modal-body">
                                                <div class="row">
                                                    <div class="col-lg-12 logga_in_modal_ttl">
                                                        <p>Säker inloggning med BankID</p>
                                                    </div>
                                                </div>

                                                <div class="row">
                                                    <div class="col-lg-12 input_login_id">
                                                        <input
                                                                type="text"
                                                                id="nameWithTitle"
                                                                class="form-control"
                                                                placeholder="Personnummer"
                                                        />
<!--                                                        <i class="fa fa-lock" aria-hidden="true"></i>-->
                                                    </div>
                                                </div>

                                                <div class="row logga_in_modal_btn">
                                                    <div class="col-lg-12">
                                                        <button type="button" class="">Logga in</button>
                                                    </div>
                                                </div>

                                                <div class="row logga_in_modal_select_opt">
                                                    <div class="col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12 col-xxl-12">
                                                        <div class="col-9 col-sm-9 col-md-9 col-lg-9 col-xl-9 col-xxl-9">
                                                        <p>Kom ihåg personnumret</p>
                                                        <div class="form-check form-switch">
                                                            <input class="form-check-input float-end" type="checkbox" role="switch">
                                                        </div>
                                                        </div>
                                                    </div>
                                                </div>

                                            </div>
                                            <div class="modal-footer logga_in_modal-footer">
                                                <button type="button" class="btn" data-bs-dismiss="modal" onclick="location.href ='https://productions2.parkwaylabs.com/finansia/Logga_in_Ansok_om_tillgang_till_foretag_1.php'">
                                                    Kontakta oss
                                                </button>
                                                <span class="logga_btn_mid_line"></span>
                                                <button type="button" class="btn register_btn" onclick="location.href ='https://productions2.parkwaylabs.com/finansia/Logga_in_Ansok_om_tillgang_till_foretag_1.php'">Registera</button>
                                            </div>
                                        </div>
                                    </div>

                                    <div class="container-xxl flex-grow-1 container-p-y logga_in_modal_btm_txt">
                                        <p>Klicka här för alternativ inloggningskärm.</p>
                                    </div>

                                </div>
                            </div>
                        </div>
                        <!--/ Transactions -->
                    </div>
                </div>
                <!-- / Content -->

                <!-- Footer -->

                <!-- / Footer -->

                <div class="content-backdrop fade"></div>
            </div>
            <!-- Content wrapper -->
        </div>
        <!-- / Layout page -->
    </div>

    <!-- Overlay -->
    <div class="layout-overlay layout-menu-toggle"></div>
</div>
<!-- / Layout wrapper -->
<?php
include_once ('assets/blocks/footer.php');
?>

<script type="text/javascript">
    $(window).on('load', function() {
        $('#modalCenter').modal('show');
    });
    
    $('#modalCenter').on('hide.bs.modal', function (e) {
    e.preventDefault();
    e.stopPropagation();
    return false;
});
    
</script>