/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


/******** Personnal navigation bar ********/

.j-module nav {
  display: flex; /* crée un contexte flex pour ses enfants */
  flex-direction: row; /* affichage horizontal */
  width: 95%;
  margin:auto;
}
.j-module nav a:link, .j-module nav a:visited {
  display: block; /* IE fix */
  flex: 1; /* occupe la largeur restante */
  transition: flex .4s;
}
.j-module nav {
  padding: 0px 10px;
  border-radius: 10px;
}
.j-module nav a:first-of-type {
  border-radius: 10px 0 0 10px;
}
.j-module nav a:last-of-type {
  border-radius: 0 10px 10px 0;
}
.j-module nav a:link, .j-module nav a:visited {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: .7em;
    text-decoration: none;
    color: var(--e-global-color-accent); /* #1b8bfb */
    text-align: center;
    background: #ffffff;
    border: 1px solid #0000000d;
    white-space: nowrap;
}
.j-module nav a:hover, .j-module nav a:focus {
    flex: 2;
    color: #fff !important;
    background: var(--e-global-color-accent) !important; /* #1b8bfb */
}
.j-module a:link, .j-module a:visited, .j-static-page a:link, .j-static-page a:visited, .jtpl-footer a:link, .jtpl-footer a:visited {
  text-decoration: none;
}
@media (max-width: 1024px) {
  .j-module nav {
    flex-direction: column;
  }
  .j-module nav a:first-of-type {
    border-radius: 10px 10px 0 0;
  }
  .j-module nav a:last-of-type {
    border-radius: 0 0 10px 10px;
  }
}