.custom-title h2 {
    font-size: 1em; /* Ajustez la taille de la police selon vos besoins */
    margin: 0; /* Assurez-vous qu'il n'y a pas de marges supplémentaires */
    white-space: nowrap; /* Empêche le texte de passer à la ligne suivante */
}


.emergency-title {
    text-align: center;
    font-size: 24px; /* Ajustez cette valeur selon vos besoins */
    font-weight: bold;
}

.page-title {
    color: black;
    font-weight: normal;
    border: none;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}

h1 {
    background-color: ;
    color: white;
    padding: 20px;
    text-align: center;
    margin: 0;
}

.emergency-number {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 20px auto;
    padding: 20px;
    max-width: 600px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.emergency-number h2 {
    color: #2c3e50;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.emergency-number p {
    color: #333;
    line-height: 1.6;
}

.number {
    font-size: 1.5em;
    color: #e74c3c;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
}

/* Masquer la barre de recherche en mode responsive */
@media only screen and (max-width: 600px) {
    .search-field {
        display: none !important; /* Assurez-vous que la barre de recherche est cachée */
    }
}

/* Masquer les icônes des réseaux sociaux en mode responsive */
@media only screen and (max-width: 600px) {
    .social-icons {
        display: none !important; /* Assurez-vous que les icônes des réseaux sociaux sont cachées */
    }
}

@media only screen and (max-width: 600px) {
    .search-submit {
        display: none !important; /* Assurez-vous que les icônes des réseaux sociaux sont cachées */
    }
}

@media only screen and (max-width: 738px) {
    img[src="https://www.lacouture62.fr/wp-content/uploads/2024/06/final-2-.png"] {
        display: none;
    }
}
@media only screen and (max-width: 738px) {
    img[src="https://www.lacouture62.fr/wp-content/uploads/2024/06/final-3-.png"] {
        display: none;
    }
}
@media only screen and (max-width: 768px) {
    #site-logo img.custom-logo {
        max-width: 600px; /* Taille pour les écrans plus petits */
        height: auto; /* Maintient les proportions du logo */
    }
}
}

@media only screen and (max-width: 768px) {
    .header-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px;
    }
    
    .social-icons {
        order: 1;
        flex: 1;
        text-align: left;
    }
    
    .search-container {
        order: 2;
        flex: 1;
        text-align: right;
    }

    .search-field {
        width: auto; /* Assurez-vous que le champ de recherche ne prend pas trop de place */
        max-width: 70%; /* Ajustez si nécessaire */
    }
}

@media only screen and (max-width: 600px) {
    img[src="https://www.lacouture62.fr/wp-content/uploads/2024/06/final-2-.png"] {
        display: none;
    }
}
@media only screen and (max-width: 600px) {
    img[src="https://www.lacouture62.fr/wp-content/uploads/2024/06/final-3-.png"] {
        display: none;
    }
}

#site-primary-menu {
    transition: width 0.3s ease-in-out;
}

#site-primary-menu.expanded {
    width: 100%; /* ou la largeur que vous souhaitez */
}

/* Masquer le h1 sur toutes les pages sauf la page d'accueil */
body:not(.home) .page-title {
    display: none;
}

.en-un-clic-widget {
    background-color: #fff; /* Fond blanc */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #333; /* Texte noir */
    font-family: 'Arial', sans-serif; /* Police sans-serif */
}

.en-un-clic-widget h3 {
    margin-top: 0;
    font-size: 1.8em;
    color: #333; /* Texte noir pour le titre */
    text-align: center;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1); /* Ligne inférieure subtile */
    padding-bottom: 10px;
}

.en-un-clic-widget ul {
    list-style-type: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.en-un-clic-widget ul li {
    margin: 10px 0;
}

/* Style de base pour les liens */
.en-un-clic-widget ul li a {
    display: flex;
    align-items: center;
    justify-content: center; /* Centrer le texte */
    text-decoration: none; /* Supprimer le soulignement */
    color: #f5f5f5; /* Texte gris clair pour les liens */
    padding: 10px 15px;
    border-radius: 6px;
    border: 2px solid rgba(0, 0, 0, 0.1); /* Contour accentué */
    transition: background 0.3s, color 0.3s, transform 0.3s, border-color 0.3s;
}

/* Couleurs spécifiques pour chaque section */
.en-un-clic-widget ul li:nth-child(1) a {
    background: #88c167; /* Vert */
}

.en-un-clic-widget ul li:nth-child(2) a {
    background: #d5007f; /* Rose */
}

.en-un-clic-widget ul li:nth-child(3) a {
    background: #fcdb20; /* Jaune */
}

.en-un-clic-widget ul li:nth-child(4) a {
    background: #d93515; /* Rouge */
}
.en-un-clic-widget ul li:nth-child(5) a {
    background: #49bdc6; /* Rouge */
}

/* Effet au survol */
.en-un-clic-widget ul li a:hover {
    transform: translateY(-2px); /* Légère levée au survol */
}

/* Effet lors du clic */
.en-un-clic-widget ul li a:active {
    background: #f6a34b !important; /* Orange */
    color: #fff !important; /* Texte blanc */
    border-color: #f6a34b !important; /* Contour orange */
}

.en-un-clic-widget ul li a::before {
    content: attr(data-icon);
    margin-right: 10px;
    font-size: 1.2em;
}

.site-toggle-label-close {
		position: relative;
		color: transparent;
}

.site-toggle-label-close::after {
		content: 'Fermer Menu';
		color: #fff;
	
		position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.site-toggle-label-open {
    position: relative;
    color: transparent; /* Cache le texte original */
}

.site-toggle-label-open::after {
    content: 'Menu '; /* Nouveau texte */
    color: #fff; /* Couleur du texte, ajustez selon vos besoins */
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page h1 {
    font-size: 3em; /* Changez cette valeur pour ajuster la taille */
    text-align: center; /* Centre le texte */
    width: 100%; /* Assure que l'élément prend toute la largeur disponible */
    margin: 0; /* Supprime les marges par défaut */
}

.custom-title h2 {
    font-size: 2.5em; /* Changez cette valeur pour ajuster la taille */
}

.custom-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.custom-title h {
    margin: 0 10px;
    font-size: 2em;
    font-weight: bold;
    text-transform: uppercase;
}

.colored-squares {
    width: auto;
    height: 20px;
    margin: 0 10px;
}

.custom-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0px 0;
}

.custom-title h1 {
    margin: 0 10px;
    font-size: 2em;
    font-weight: bold;
    text-transform: uppercase;
}

.colored-squares {
    width: auto;
    height: 200px;
    margin: 0 10px;
}

/* Cible les éléments du menu contenant des sous-menus */
.menu-item-has-children > a {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center; /* Centre verticalement le texte et la flèche */
  padding-right: 20px; /* Espace pour la flèche */
}

/* Style pour les flèches */
.menu-item-has-children > a::after {
  content: '›'; /* Peut être remplacé par l'icône de votre choix */
  position: absolute;
  right: 10px;
  font-size: 14px; /* Ajustez la taille de la flèche si nécessaire */
  display: flex;
  align-items: center; /* Centre verticalement la flèche */
  height: 100%; /* Assure que la flèche occupe toute la hauteur de l'élément */
}

/* Ajustements pour assurer l'alignement correct */
.menu-item-has-children > a span {
  display: inline-block;
}

body {
  font-family: 'Arial', sans-serif; /* Vous pouvez changer la police ici */
}

.page-title {
  font-size: 24px; /* Taille de la police pour le titre */
}

.highlight {
  font-weight: bold;
  background-color: #d3d3d3; /* Couleur de surlignage */
}

.search-field {
    width: 200px; /* Définit la largeur du champ de recherche */
    padding: 8px; /* Ajoute un peu d'espace à l'intérieur du champ */
    border: 1px solid #ccc; /* Ajoute une bordure grise */
    border-radius: 5px; /* Arrondit les coins du champ */
    font-size: 14px; /* Définit la taille de la police */
}

/* Optionnel : Styliser le placeholder */
.search-field::placeholder {
    color: #999; /* Couleur du texte du placeholder */
    font-style: italic; /* Style italic pour le placeholder */
}

#site-logo img.custom-logo {
    max-width: 109px; /* Réduit la largeur du logo */
    height: auto; /* Maintient les proportions du logo */
}

.n2-ss-slide {
    margin-right: -40px; /* Ajustez la valeur selon vos besoins */
}

/* Change la couleur du bouton de recherche en noir */
input.search-submit {
    background-color: #000000 !important; /* Noir */
    color: #ffffff !important; /* Blanc pour le texte */
}

.social-icons {
  text-align: center; /* Changez en left ou right selon vos préférences */
  margin-top: 10px; /* Ajustez selon vos besoins */
}

.social-icons a {
  display: inline-block;
  margin: 0 10px; /* Espace entre les icônes */
  color: #000; /* Couleur des icônes, ajustez selon vos besoins */
  font-size: 25px; /* Taille des icônes */
  text-decoration: none; /* Supprime la décoration des liens */
}

.social-icons a:hover {
  color: #0074aa; /* Couleur des icônes au survol, ajustez selon vos besoins */
}

