/*
  Theme Name: GILA
  Version: 1.0
  Template: Divi
  Author: Ken
  Author URI: https://guru.ch
  Description: Divi child theme to for GILA
  Text Domain: gila
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
/*Add custom font (more inside function.php)*/
@font-face {
    font-family: 'Helvetica Neue';
    src: url('fonts/HelveticaNeue-UltraLight.woff2') format('woff2'),
        url('fonts/HelveticaNeue-UltraLight.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('fonts/HelveticaNeue-Thin.woff2') format('woff2'),
        url('fonts/HelveticaNeue-Thin.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('fonts/HelveticaNeue-Light.woff2') format('woff2'),
        url('fonts/HelveticaNeue-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('fonts/HelveticaNeue-Roman.woff2') format('woff2'),
        url('fonts/HelveticaNeue-Roman.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('fonts/HelveticaNeue-Medium.woff2') format('woff2'),
        url('fonts/HelveticaNeue-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('fonts/HelveticaNeue-Bold.woff2') format('woff2'),
        url('fonts/HelveticaNeue-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('fonts/HelveticaNeue-Heavy.woff2') format('woff2'),
        url('fonts/HelveticaNeue-Heavy.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('fonts/HelveticaNeue-Black.woff2') format('woff2'),
        url('fonts/HelveticaNeue-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/*Add space to menu when connected*/
/*.admin-bar .pa-header{
  margin-top:32px !important;
}*/

/* No more necessary
.admin-bar.et_mobile_device .pa-header{
  margin-top:46px !important;
}*/

/*Add padding to  give space for navigation*/
/*No more necessary
#main-content .et_builder_inner_content .et_pb_section {
  padding-top: 150px !important;
}*/

/*Menu*/
.pa-header .current-menu-item a:before, .pa-header .current-menu-item a:before{
  content: '$';
  font-family: ETmodules !important;
  color: inherit;
  margin-right: 5px;
  vertical-align:middle;
  font-weight: 100;
}

/* --- News Filter Styles --- */
#news-category-filter {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 50px;
    padding: 10px 20px;
    margin-bottom: 30px;
    display: block;
    min-width: 250px;
    outline: none;
    cursor: pointer;
    
    /* Retirer le style par défaut du navigateur pour appliquer le notre */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    /* Ajout d'une flèche blanche personnalisée (SVG encodé) */
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23ffffff" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 40px; /* Espace pour la flèche */
}

#news-category-filter option {
    background-color: #333333; /* Fond sombre pour les options afin que le texte blanc soit lisible */
    color: #ffffff;
    padding: 10px;
}

#news-category-filter option:hover {
    color: #ff0000; /* Rouge au survol (Support navigateur limité) */
    background-color: #ffffff;
}