<?php
require_once("snippets/autoload.php");
checkLogin();
?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <?php require("snippets/head.php"); ?>
      <link rel="stylesheet" type="text/css"  href="../form/form/css/smart-forms.css">
      <link rel="stylesheet" type="text/css"  href="../form/form/css/smart-addons.css">
      <link rel="stylesheet" type="text/css"  href="../form/form/css/font-awesome.min.css">
      <script type="text/javascript" src="../form/form/js/jquery-1.9.1.min.js"></script>
      <script type="text/javascript" src="../form/form/js/jquery.steps.min.js"></script>
      <script type="text/javascript" src="../form/form/js/jquery-ui-custom.min.js"></script>
      <script type="text/javascript" src="../form/form/js/jquery.validate.min.js"></script>
      <script type="text/javascript" src="../form/form/js/additional-methods.min.js"></script>
      <script type="text/javascript" src="../form/form/js/jquery-ui-slider-pips.min.js"></script>
      <script type="text/javascript" src="../form/form/js/jquery-ui-touch-punch.min.js"></script>
      <script type="text/javascript" src="../form/form/js/jquery.formShowHide.min.js"></script>
      <script type="text/javascript" src="../form/form/js/dropzone.min.js"></script>

  </head>
  <body>
    <div class="page-wrapper compact-wrapper" id="pageWrapper">
        <?php require("snippets/header.php") ?>
      <div class="page-body-wrapper sidebar-icon">
          <?php require_once("snippets/sidebar.php") ?>
          <style>
              div#form * {
                  z-index: 6;
              }
              span.field-icon {
                  margin-top: -10px;
              }
          </style>

          <div class="page-body">
              <div class="container-fluid">
                  <div class="row">
                      <div class="col-sm-12">
                          <div class="card">
                              <div class="card-header pb-1">
                                  <h5>
                                      <?=_("Create a new quote")?>
                                  </h5>
                              </div>
                              <div class="card-body">
                                  <style>
                                      .steps.clearfix {
                                          display: none !important;
                                      }
                                      .content.clearfix {
                                          width: 100% !important;
                                          padding: 10px;
                                      }
                                      .radio {
                                          width: 100% !important;
                                      }
                                  </style>
                                <?php
                                $user = new UserAccount();
                                $user->Id = $LoggedUser;
                                $info_user = $user->GetRecord();
                                $no_redeclare = true;
                                include("../wizard/index.php")
                                ?>

                              </div>
                          </div>
                      </div>
                  </div>
              </div>
              <!-- Container-fluid Ends-->
          </div>
          <?php require_once("snippets/footer.php") ?>
          <style>
              .wizard > .steps .current a, .wizard > .steps .current a:hover, .wizard > .steps .current a:active {
                  background: #1f2e61;
                  cursor: default;
                  color: #fff;
              }
              .title .step-number {
                  border: none;
              }
              .current .title .step-text {
                  color: #ffffff;
              }

              .main {
                  padding: 50px 0;
                  position: relative;
                  z-index: 1;
              }

              .wizard > .actions a, .wizard > .actions a:hover, .wizard > .actions a:active {
                  background: #1f2e61;
                  color: #fff;
                  display: block;
                  padding: 1em;
                  text-decoration: none;
                  -webkit-border-radius: 5px;
                  -moz-border-radius: 5px;
                  border-radius: 5px;
                  text-align: center;
              }

              .radio {
                  display: inline-block;
                  width: 45%;
              }
              .radio input[type="radio"] {
                  opacity: 3;
              }
              .radio label::before{
                  display: none;
              }

              .error {
                  margin: 5px;
                  color: #000;
              }

              #steps-uid-0-p-0 .form-row, #steps-uid-0-p-0 .form-group, #steps-uid-0-p-0 .form-date {
                  max-width: 680px;
                  width: 100%;
              }
              h4 {
                  font-size: 18px;
              }
              h2 {
                  font-size: 22px;
              }
              .main {
                  background: #ffffff;
              }
              form#signup-form, .container, .main {
                  padding: 0 !important;
                  margin: 0 !important;
              }
          </style>
          <script>
              document.addEventListener('DOMContentLoaded', function() {

              });
          </script>
      </div>
    </div>
  </body>
</html>