/*
Theme Name: Westline
Theme URI: http://example.com/web-data-festival
Author: Votre Nom
Author URI: http://example.com
Description: Un thème personnalisé pour le Web Data Festival.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: west-data-festival
*/

/* @font-face pour Teko */
@font-face {
    font-family: 'Teko-Light';
    src: url('/wp-content/themes/Westline/fonts/Teko/static/Teko-Light.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Teko-Regular';
    src: url('/wp-content/themes/Westline/fonts/Teko/static/Teko-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Teko-Medium';
    src: url('/wp-content/themes/Westline/fonts/Teko/static/Teko-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* @font-face pour Ubuntu */
@font-face {
    font-family: 'Ubuntu-Light';
    src: url('/wp-content/themes/Westline/fonts/Ubuntu/Ubuntu-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ubuntu-Regular';
    src: url('/wp-content/themes/Westline/fonts/Ubuntu/Ubuntu-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ubuntu-Medium';
    src: url('/wp-content/themes/Westline/fonts/Ubuntu/Ubuntu-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font: 14px/22px 'Ubuntu-Light', sans-serif;
    color: var(--text-dark-color);
}
ul {
    padding-left: 15px;
}
/* Variable CSS */

:root {
    /* Font Size */
    --text-size-xl: clamp(25px, 3.7vw, 70px);
    --text-size-l: clamp(25px, 3.2vw, 42px);
    --text-size-m: clamp(18px, 2.5vw, 35px);
    --text-size-xm: clamp(19px, 1.9vw, 42px);
    --text-size-s: clamp(14px, 1.3vw, 20px);
    --text-size-xs: clamp(9px, 0.7vw, 17px);

    /* Padding Size */
    --pad-xl-s: clamp(50px, 13.1vw, 300px);
    --pad-xl: clamp(30px, 6.5vw, 150px) var(--pad-xl-s);
    --pad-l: clamp(30px, 5vw, 150px);
    --pad-m: clamp(20px, 3vw, 80px);
    --pad-s: clamp(15px, 2vw, 50px);
    --pad-xs: clamp(13px, 1vw, 40px);
    --pad-xxs: clamp(6px, 1.6vw, 40px);
    --pad-cta-h: clamp(10px, .5vw, 25px);
    --pad-cta-w: clamp(15px, 1vw, 30px);

    /* CTA Padding */
    --cta-pad: clamp(7px, 0.8vw, 30px) clamp(22px, 1.9vw, 50px);
    --cta-pad-rev: clamp(7px, 0.8vw, 30px) clamp(22px, 1.9vw, 50px);

    /* Gap Size */
    --gap-xxl: clamp(25px, 10.5vw, 200px);
    --gap-xl: clamp(20px, 4.7vw, 90px);
    --gap-l: clamp(18px, 5vw, 32px);
    --gap-m: clamp(15px, 2vw, 30px);
    --gap-s: clamp(12px, 1.2vw, 24px);
    --gap-xs: clamp(12px, 0.8vw, 24px);
    --gap-xxs: clamp(6px, 0.8vw, 24px);
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
}

/* Styles pour le header */
header {
    background: #333;
    color: #fff;
    padding: 1em 0;
    text-align: center;
}

.XL * {
    font-size: var(--text-size-xl);
    line-height: var(--text-size-xl);
}

.L * {
    font-size: var(--text-size-l);
    line-height: var(--text-size-l);
}

.M * {
    font-size: var(--text-size-m);
    line-height: var(--text-size-m);
}

.XM * {
    font-size: var(--text-size-xm);
    line-height: var(--text-size-xm);
}

.S * {
    font-size: var(--text-size-s);
    line-height: var(--text-size-s);
}

.XS * {
    font-size: var(--text-size-xs);
    line-height: var(--text-size-xs);
}

.imgCover {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.imgCont {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.site-header {
    background-color: var(--primary-color);
}

/* Style du header pour les utilisateurs partenaires */
.header-partenaire {
    background-color: #505050; /* Change la couleur du header en gris */
}
nav.header-partenaire-mobile {
    background-color: #505050; /* Change la couleur du header en gris */
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    gap: var(--gap-m);
}
.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--gap-m) ;

}
.header-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;


}
.header-left .logo-principal {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.logo-principal img {
    max-height: 60px;
}
.logo img {
    max-height: 60px;
}


.pre-inscription {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pre-inscription-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pre-inscription-button img {
    display: block;
}

.pre-inscription-button .button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-color);
    background: none;
    padding: 0;
    border: none;
    text-decoration: none;
    font-size: 15px;
    line-height: 85%;
    font-family: 'Teko-Medium', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.extra-links .pre-inscription .pre-inscription-button {
    padding: 10px 0 ;
    min-width: 180px;
    margin-bottom: 5%;

}
.extra-links .pre-inscription .pre-inscription-button a{

    font-size: 25px;
}
.extra-links .pre-inscription .pre-inscription-button img{

width: 100%;
}
.extra-links  .pre-partenaire .CTA a{
    color: #ffffff;
    background-color: #00acc3;
}
.extra-links  .pre-partenaire .CTA{
    max-width: 100%;
}
.home-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-icon img {
    width: 30px; /* Ajustez la taille selon vos besoins */
    height: auto;
}

.menu-toggle {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.menu-toggle span {
    font: 10px / 20px 'Ubuntu-Regular', sans-serif;
    color: var(--text-light-color);
}

.burger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 18px;
}

.burger-icon span {
    width: 24px;
    height: 2px;
    background-color: white;
}

/* Navigation mobile */
.site-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    color: white;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    text-align: center;
}

.site-navigation.active {
    display: flex;
}

.navigation-container {
    width: 80%;
}

.close-menu {
    position: absolute;
    top: 42px;
    right: 30px;
    cursor: pointer;
    background: white;
    padding: 2px 15px;
    border-radius: 30%;
    text-align: center;
}

.close-menu span {
    color: #e40074;
    font: 50px 'Teko-Regular', sans-serif;
    font-weight: bold;
}

.close-menu.user-logged-in span {
    color: #505050; /* Couleur pour les utilisateurs connectés */
}


.extra-links {
    display: flex;
    /* margin-top: 20px; */
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    /* text-align: right; */
    padding-left: 110px;
    position: fixed;
    bottom: 35px;
    right: 0;
}
.extra-links .cta {
    padding: 3px;
    font-size: 25px;
}

.extra-links .button.partner {
    background-color: #00a9e0;
    color: white;
}

/* Footer Styles */
.site-footer {
    background: var(--tertiary-color);
    color: #fff;
    text-align: center;
    padding: 5%;
    width: 100%;
    bottom: 0;
    display: flex;
    flex-direction: column;
    margin-top: 1%;
}

.footer-top {
    border-bottom: 1px solid #717171;
    padding-bottom: 20px;
}

.footer-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo img {
    max-height: 60px;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.footer-menu ul li {
    margin-right: 20px;
}
.snd-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
}
.snd-nav-links a {
    color: white;
    text-decoration: none;
    font: 12px 'Ubuntu-Regular', sans-serif;
    text-transform: uppercase;
}
.footer-menu ul li a {
    color: white;
    text-decoration: none;
    font: 12px 'Ubuntu-Regular', sans-serif;
    text-transform: uppercase;
}

.footer-social ul {
    list-style: none;
    padding: 0;
    display: flex;
}

.footer-social ul li {
    margin-right: 2px;
}

.footer-social ul li a img {
    max-height: 24px;
}

.footer-bottom {
    background-color: var(--tertiary-color);
    padding: 10px 0;
    text-align: center;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.footer-bottom ul {
    list-style: none;
    padding: 0;
    display: flex;
}

.footer-bottom ul li {
    margin-right: 10px;

}

.footer-bottom ul li a {
    color: white;
    text-decoration: none;
    font: 10px 'Ubuntu-Light', sans-serif;
}

.footer-bottom p {
    margin-top: 5%;
    margin-bottom: 0;
    color: #ccc;
    font: 10px 'Ubuntu-Light', sans-serif;
}
.left-part-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6%;
    padding-left: 2%;
}
#menu-menu-desktop-1{
    list-style: none;
    padding: 0px 0px 45px 0;
    margin: 0;
    height: 85%;
    display: flex;
    flex-direction: column;
    text-align: left;
    overflow-y: scroll; /* Scroll vertical uniquement */
    overflow-x: hidden; /* Masque le scroll horizontal si présent */
}
#menu-menu-desktop-1 a{
    color: white;
    text-decoration: none;
    font: 40px 'Teko-Regular', sans-serif;
    text-transform: uppercase;
}
#menu-menu-desktop-partenaire-1{
    list-style: none;
    padding: 0px 0px 45px 0;
    margin: 0;
    height: 85%;
    display: flex;
    flex-direction: column;
    text-align: left;
    overflow-y: scroll; /* Scroll vertical uniquement */
    overflow-x: hidden; /* Masque le scroll horizontal si présent */
}
#menu-menu-desktop-partenaire-1 a{
    color: white;
    text-decoration: none;
    font: 40px 'Teko-Regular', sans-serif;
    text-transform: uppercase; 
}

/* Pour les navigateurs basés sur WebKit (Chrome, Safari) */
#menu-menu-desktop-1::-webkit-scrollbar {
    width: 12px;
}

#menu-menu-desktop-1::-webkit-scrollbar-thumb {
    background-color: white; /* Couleur de la barre de défilement */
    border-radius: 10px;
}

/* Pour Firefox */
#menu-menu-desktop-1 {
    scrollbar-width: thin;
    scrollbar-color: white transparent;
}


#menu-menu-desktop {
 display: none;
}
#menu-menu-desktop-partenaire {
    display: none;
}
ul.sub-menu {
    list-style: none;
    padding-left: 5%;
}
#menu-menu-desktop-1 ul.sub-menu li a{
    font: 20px 'Teko-Regular', sans-serif;
}

/* Ju separator */
.separator {
    width: 80%;
    height: 1px;
    margin: 20px auto;
}

.separator.left {
    margin-left: 0;
}

.separator.right {
    margin-right: 0;
}

/* Sa separator */
main>section.display {
    position: relative;
}

main>section.display:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 1px;
    width: 100%;
    max-width: 80%;
    color: var(--primary-color);
    background: var(--primary-color);
    display: flex;
}

main>section.right:before {
    left: initial;
    right: 0;
}


/* Styles pour les écrans plus grands */
@media (min-width: 768px) {
    .home-icon {
        display: none;

    }
    
    .site-navigation {
        display: none; /* Masquer le menu burger sur les écrans plus grands */
    }

    .menu-toggle {
        display: none; /* Masquer le bouton burger sur les écrans plus grands */
    }
    .left-part-footer {
        display: flex;
        justify-content: flex-start;
        align-items: flex-end;
        width: 70%;
        gap: 5%;
        padding-left: 7%;
    }
    .footer-menu ul {
        flex-direction: row;
    }
 
    .footer-bottom p {
        margin-top: 2%;
    }
    .site-footer {
        padding: 1%;
    }
    #menu-menu-desktop {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: row;
        text-align: left;
        gap: 1vw;
    }
    #menu-menu-desktop a{
        color: white;
        text-decoration: none;
        font: 23px 'Teko-Regular', sans-serif;
        text-transform: uppercase;
    }
    #menu-menu-desktop-partenaire {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: row;
        text-align: left;
        gap: 1vw;
    }
    #menu-menu-desktop-partenaire a{
        color: white;
        text-decoration: none;
        font: 23px 'Teko-Regular', sans-serif;
        text-transform: uppercase;
    }

    /* Styles pour le menu principal en mode desktop */
.desktop-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.desktop-menu > li {
    position: relative;
    margin-right: 20px; /* Espacement entre les éléments de menu */
}

.desktop-menu > li > a {
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    padding: 10px 15px;
    font-family: 'Teko', sans-serif;
    font-weight: 500;
    display: block;
    transition: background-color 0.3s;
}

.desktop-menu > li:hover > a {
    background-color: #ffffff33; /* Ajouter un fond translucide au survol */
}

.desktop-menu > li > ul {
    display: none; /* Masquer le sous-menu par défaut */
    position: absolute;
    top: 100%; /* Positionner sous le menu parent */
    left: 0;
    background-color: #d42a67; /* Fond rose pour le sous-menu */
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 5px;
}

.desktop-menu > li:hover > ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 170px;
}

.desktop-menu > li > ul > li {
    margin-bottom: 5px;
}

.desktop-menu > li > ul > li:last-child {
    margin-bottom: 0;
}

.desktop-menu > li > ul > li > a {
    text-transform: uppercase;
    text-decoration: none;
    color: white;
    padding: 5px 10px;
    display: block;
    font-family: 'Teko', sans-serif;
    font-weight: 500;
    background-color: #d42a67;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.desktop-menu > li > ul > li > a:hover {
    background-color: #b3234f; /* Changer la couleur de fond au survol */
}

}

@media (min-width: 600px) {
   

    nav {
        text-align: right;
        margin-top: 0;
    }

    nav a {
        padding: 0 1em;
    }
}


/* test css sur um */

/* Mobile First */

/* Conteneur principal du formulaire en mode édition */
.um.um-profile.um-editing .um-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    padding: 20px !important;
}

/* Barre de progression */
.um.um-profile.um-editing .progress-bar-container {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 20px !important;
    justify-content: space-between !important;
    padding: 0 10px !important;
}

.um.um-profile.um-editing .progress-bar {
    flex-grow: 1 !important;
    height: 20px !important;
    background-color: white !important;
    border: 1px solid gray !important;
    border-radius: 2px !important;
    overflow: hidden !important;
    margin-right: 10px !important;
}

.um.um-profile.um-editing .progress-bar-fill {
    height: 100% !important;

    background-color: #b5b5b5 !important;
    transition: width 0.3s ease-in-out !important;
}

.um.um-profile.um-editing .progress-percent {
    font-size: 16px !important;
    color: #666 !important;
    white-space: nowrap !important;
}

/* Titre du formulaire */
.um.um-profile.um-editing .form-title-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 20px !important;
}

.um.um-profile.um-editing .form-title-container h2 {
    font: 35px 'Teko-Regular', sans-serif !important;
    color: #03ACC3 !important;
    font-weight: bold !important;
    text-align: center !important;
    margin: 0 !important;
}

/* Conteneur pour chaque champ */
.um.um-profile.um-editing .um-field {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 20px !important;
}

/* Style pour les labels */
.um.um-profile.um-editing .um-field-label {
    font-weight: normal !important;
    font-size: 14px !important;
    margin-bottom: 5px !important;
    color: #666 !important;
}

.um.um-profile.um-editing .um-field-label label {
    color: #707070 !important;
    font: 14px 'Ubuntu-Light', sans-serif !important;
}

/* Style pour les inputs et textarea */
.um.um-profile.um-editing .um-field-area .um-form-field {
    padding: 10px !important;
    color: #505050 !important;
    font: 14px 'Ubuntu-Medium', sans-serif !important;
    border: 1px solid #ccc !important;
    border-radius: 10px !important;
    width: 100% !important;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1), 0px -2px 4px rgba(0, 0, 0, 0.1) !important;
    background: white !important;
}

/* Style pour les boutons de soumission */
.um.um-profile.um-editing input[type="submit"],
.um.um-profile.um-editing .um-button {
    background-color: #17a2b8 !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    text-align: center !important;
    margin-top: 20px !important;
}

/* Effet de survol sur les boutons */
.um.um-profile.um-editing input[type="submit"]:hover,
.um.um-profile.um-editing .um-button:hover {
    background-color: #138496 !important;
}

/* Pour les champs de type textarea */
.um.um-profile.um-editing .um-field-area textarea {
    resize: vertical !important;
    height: 100px !important;
}

/* Style pour les icônes dans les labels */
.um.um-profile.um-editing .um-field-label-icon i {
    color: #17a2b8 !important;
    font-size: 18px !important;
    margin-right: 8px !important;
}

/* Alignement du texte et des éléments */
.um.um-profile.um-editing .um-field-area {
    text-align: left !important;
}

/* Pour ajuster l'affichage sur mobile */
@media (min-width: 768px) {
    .um.um-profile.um-editing .um-form {
        padding: 30px !important;
    }

    .um.um-profile.um-editing .um-field {
        flex-direction: row !important;
        align-items: center !important;
    }

    .um.um-profile.um-editing .um-field-label {
        width: 30% !important;
        margin-bottom: 0 !important;
        text-align: right !important;
        padding-right: 10px !important;
    }

    .um.um-profile.um-editing .um-field-area {
        width: 70% !important;
    }

    .um.um-profile.um-editing .progress-bar-container {
        padding: 0 !important;
    }
}

/* Mobile First */

/* Conteneur principal du formulaire en mode lecture */
.um.um-profile .um-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

/* Barre de progression */
.um.um-profile .progress-bar-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    justify-content: space-between;
    padding: 0 10px;
}

.um.um-profile .progress-bar {
    flex-grow: 1;
    height: 20px;
    background-color: white;
    border: 1px solid gray;
    border-radius: 2px;
    overflow: hidden;
    margin-right: 10px;
}

.um.um-profile .progress-bar-fill {
    height: 100%;
    width: 0;
    background-color: #b5b5b5;
    transition: width 0.3s ease-in-out;
}

.um.um-profile .progress-percent {
    font-size: 16px;
    color: #666;
    white-space: nowrap;
}

/* Titre du formulaire */
.um.um-profile .form-title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.um.um-profile .form-title-container h2 {
    font: 35px 'Teko-Regular', sans-serif;
    color: #03ACC3;
    font-weight: bold;
    text-align: center;
    margin: 0;
}

/* Conteneur pour chaque champ */
.um.um-profile .um-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

/* Style pour les labels */
.um.um-profile .um-field-label {
    font-weight: normal;
    font-size: 14px;
    margin-bottom: 5px;
    color: #666;
}

.um.um-profile .um-field-label label {
    color: #707070;
    font: 14px 'Ubuntu-Light', sans-serif;
}

/* Style pour les valeurs affichées en mode lecture */
.um.um-profile .um-field-area .um-field-value {
    padding: 10px;
    color: #505050;
    font: 14px 'Ubuntu-Medium', sans-serif;
    border: 1px solid #ccc;
    border-radius: 10px;
    width: 100%;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1), 0px -2px 4px rgba(0, 0, 0, 0.1);
    background: white;
}

/* Style pour les liens dans les champs de texte en mode lecture */
.um.um-profile .um-field-value a {
    color: #17a2b8;
    text-decoration: none;
}

.um.um-profile .um-field-value a:hover {
    text-decoration: underline;
}

/* Style pour les icônes dans les labels */
.um.um-profile .um-field-label-icon i {
    color: #17a2b8;
    font-size: 18px;
    margin-right: 8px;
}

/* Alignement du texte et des éléments */
.um.um-profile .um-field-area {
    text-align: left;
}

/* Pour ajuster l'affichage sur mobile */
@media (min-width: 768px) {
    .um.um-profile .um-form {
        padding: 30px;
    }

    .um.um-profile .um-field {
        flex-direction: row;
        align-items: center;
    }

    .um.um-profile .um-field-label {
        width: 30%;
        margin-bottom: 0;
        text-align: right;
        padding-right: 10px;
    }

    .um.um-profile .um-field-area {
        width: 70%;
    }

    .um.um-profile .progress-bar-container {
        padding: 0;
    }
}
/** bouton de connexion **/

.um input[type=submit].um-button{
    
    background: var(--primary-color) !important;
    padding: 10px 20px !important;
    color: white;
    text-decoration: none !important;
    border-radius: 5px !important;
    border: 2px solid white !important;
    text-align: center;
    width: auto !important;
    min-width: 180px !important;
    font-family: 'Teko-Medium', sans-serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.3) !important;
}




/*partie pour le form de blog*/
#code-short .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Conteneur du formulaire */
#code-short .container .search-form {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e02a7b;
    border-radius: 8px;
    padding: 7px 8px;
    width: fit-content;
    margin-bottom: 7%;
}

/* Champ de recherche */
#code-short .container .search-field {
    padding-left: 40px; /* Ajouter un espace pour l'icône */
    border: none;
    outline: none;
    font-size: 16px;
    color: #666666;
    width: 100%; /* Pour que le champ prenne tout l'espace restant */
}

/* Bouton de recherche */
#code-short .container .search-submit {
    position: absolute;
    left: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 5px;
    outline: none;
}

/* Icône de recherche */
#code-short .container .search-submit::before {
    content: '';
    display: inline-block;
    width: 24px; /* Largeur de l'icône */
    height: 24px; /* Hauteur de l'icône */
    /* background-image: url('http://preprod-westdata.bicx1234.odns.fr/wp-content/uploads/2024/08/Icon-awesome-search-1.svg'); */
    background-image: url('../../uploads/2024/08/Icon-awesome-home.png');
    background-size: contain;
    background-repeat: no-repeat;

}


/* Style pour le champ de recherche lorsqu'il est vide (placeholder) */
#code-short .container .search-field::placeholder {
    color: #999999;
}

#code-short .blog-tags-filter a {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: var(--text-size-l); /* Taille de la police */
    font-family: 'Teko-Regular', sans-serif; /* Famille de la police */
}
#code-short .blog-tags-filter a:first-child {
    color: var(--primary-color); /* Couleur de la police */
    font-size: var(--text-size-xl); /* Taille de la police */
    font-family: 'Teko-Regular', sans-serif; /* Famille de la police */
    text-decoration: none;
}
#code-short .blog-tags-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* gap: 10%; */
    margin-bottom: 10%;
    /* padding: 0 17% 0 0; */
    /* background: red; */
    width: 100%;
}
/* pagination blog */
.blog-pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    list-style: none;
    padding: 0;
    padding-top: 5%;
}
.blog-pagination ul {
    display: flex;
    justify-content: center;
    padding: 0;
    list-style: none; /* Enlève les puces de liste */
}

.blog-pagination li {
    margin: 0 5px; /* Espace entre les éléments de pagination */
}

.blog-pagination a, .blog-pagination span {
    display: inline-block;
    padding: 8px 16px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.blog-pagination a:hover, .blog-pagination .current {
    background-color: #00acc3;
    color: #fff;
}

/* article a la une */

.featured-article {
    display: flex;
    flex-direction: column;

    margin-bottom: 20px;
}

.featured-article-content {
    display: flex;
    flex-direction: row;
    background-color: var(--primary-color);
    padding: 20px 10px 20px 0px;
    border-radius: 5px;
    width: 100%;

}
.page-blog p.snd-title-une {
    color: #fff;
    font: 17px / 17px 'Ubuntu-Regular', sans-serif;
    padding-bottom: 10%;
}
.page-blog .blogs-card h2 {
    color: var(--primary-color);
    font: var(--text-size-xl) / var(--text-size-xl) Teko-Regular;
    margin-bottom: 5%;
    margin-left: 10%;
}

.featured-article-content .img {
    margin-right: 20px;
    width: 40%;
}

.featured-article-content .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-article-content .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 60%;

}
span.tag.tag-link-post {
    background-color: var(--text-light-color);
    padding: var(--cta-pad);
    color: #707070;
    font: var(--text-size-xs) / var(--text-size-xs) 'Ubuntu-Light';
    border-radius: 1000000px;
}
p.snd-title-une {
    font: 20px / 19px 'Ubuntu-Regular', sans-serif;
}

.featured-article-content .text {
    margin-bottom: 10px;
}

.featured-article-content .featured-post-title {
    font: var(--text-size-xm) / var(--text-size-xm) 'Teko-Light';
    text-transform: uppercase;
    color: #fff;
}

.page-blog .featured-article-content .featured-post-date-event span {
    margin-top: var(--pad-cta-h);
    font: var(--text-size-s) / var(--text-size-s) Teko-Light;
    color: #fff;
}

.featured-article-content p {
    color: #fff;
    font: 14px / 16px 'Ubuntu-Light', sans-serif;
    padding-bottom: 10%;

}

.page-blog .blogs-card .post-tags {
margin-top: 0;
padding: 5% 0%;
}
.featured-article-content .featured-post-date-event:before {
    content: '';
    height: var(--text-size-s);
    aspect-ratio: 1 / 1;
    margin-right: var(--pad-s);
    vertical-align: text-bottom;
    background: url(/wp-content/uploads/2024/08/Picto-calendar.svg) center / contain no-repeat;
    display: inline-block;
}


.featured-article-content .read-more {

    font: 14px / 20px 'Ubuntu-Light', sans-serif;
    color: white;
    padding: 12px 15px;
    text-transform: uppercase;
    letter-spacing: 0px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;

}
/* Pour annuler le padding gauche de .page-blog .blogs-card sur les enfants spécifiés en mobile */
@media (max-width: 767px) { /* Cible les mobiles */
    .page-blog .blogs-card .search-form,
    .page-blog .blogs-card .blog-tags-filter,
    .page-blog .blogs-card .featured-article {
        margin-left: calc(-1 * clamp(30px, 5vw, 150px));
    }
 
}
@media (min-width: 768px) {
    #code-short .blog-tags-filter {

        width: 65%;
    }
}
/* cookies */
#cn-notice-buttons a {
    color: white !important;
}
.cn-close-icon:after, .cn-close-icon:before {
    background-color: var(--primary-color) !important;
}
span#cn-notice-text {
    margin-bottom: 3% !important;
}
.cookie-notice-container {
    border: 1px solid var(--primary-color) !important;
}
.cookie-notice-container span {
    font: 14px / 22px 'Teko-Light', sans-serif;
}