<?php

/**
 * This template displays the search modal content and search form
 * @link https://developer.wordpress.org/themes/basics/theme-functions/
 * @package Glaciers
 * @since 1.0.0
 */

if (!defined('ABSPATH')) {
  exit; // Exit if accessed directly.
}
?>

<div id="searchModal" class="modal fade" tabindex="-1" aria-labelledby="searchModalLabel" aria-hidden="true">
  <div class="modal-dialog modal-dialog-centered">
    <div class="modal-content">

      <div class="modal-header">
        <h3 class="modal-title" id="searchModalLabel"><?php esc_html_e('Search', 'glaciers'); ?></h3>
        <button type="button" class="searchModal-close-x" data-bs-dismiss="modal" aria-label="Close"><?php glaciers_theme_svg('close'); ?></button>
      </div>

      <div class="modal-body">
        <?php get_search_form(); ?>
      </div>

      <div class="modal-footer"></div>

    </div>
  </div>
</div>