/*
	Theme Name: Hello Elementor
	Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
	Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
	Author: Elementor Team
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 3.5.2
	Stable tag: 3.5.2
	Requires at least: 6.0
	Tested up to: 7.1
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/


/* Remplacement du plugin Ninja Forms Styles - Grille 3 colonnes sur ordinateur */
@media (min-width: 768px) {
  .nf-form-content nf-fields-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    align-items: start;
  }

  /* Tous les champs en pleine largeur par défaut */
  .nf-form-content nf-fields-wrap > nf-field {
    grid-column: 1 / -1;
  }

  /* Colonne 1 (2 lignes ; 3 si Location / col-2-extra présent) */
  .nf-form-content nf-fields-wrap > nf-field:has(.col-1-tall) {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
  .nf-form-content nf-fields-wrap:has(.col-2-extra) > nf-field:has(.col-1-tall) {
    grid-row: 1 / span 3;
  }

  /* Colonne 2 */
  .nf-form-content nf-fields-wrap > nf-field:has(.col-2-top) {
    grid-column: 2;
    grid-row: 1;
  }
  .nf-form-content nf-fields-wrap > nf-field:has(.col-2-bottom) {
    grid-column: 2;
    grid-row: 2;
  }
  .nf-form-content nf-fields-wrap > nf-field:has(.col-2-extra) {
    grid-column: 2;
    grid-row: 3;
  }

  /* Colonne 3 */
  .nf-form-content nf-fields-wrap > nf-field:has(.col-3-top) {
    grid-column: 3;
    grid-row: 1;
  }
  .nf-form-content nf-fields-wrap > nf-field:has(.col-3-bottom) {
    grid-column: 3;
    grid-row: 2;
  }
}