/*
Theme Name: Tonic Child
Theme URI: https://themes.bavotasan.com/2013/tonic/
Description: Thème enfant Tonic avec personnalisations Université Bourgogne Europe
Author: Florimond Jouffroy
Template: tonic
Version: 1.0.0
Text Domain: tonic-child
*/

/*--------------------------------------------------------------
  1. BASE & CHARTE COULEUR UB
--------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    color: #616161;
}

/* Typographie des titres (Yanone Kaffeesatz) */
h1, h2, h3, h4, h5, h6,
.basic h1, .basic h2, .basic h3, .basic h4, .basic h5, .basic h6,
.entry-title, .entry-title a,
.basic .entry-title, .basic .entry-title a,
.basic .entry-meta, .basic .entry-meta a,
.basic .post-category, .basic .post-category a,
.basic .post-format, .basic .post-format a,
.basic .page-title, .basic .page-title a,
.widget-title {
    font-family: 'Yanone Kaffeesatz', sans-serif !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px;
}

/* Police spécifique du titre principal du site */
#header #site-title,
#header #site-title a,
body.basic #header #site-title a {
    font-family: 'Lobster', cursive !important;
    font-weight: 400 !important;
    margin-top: 0.5em !important;
    margin-bottom: 10px;
}

.entry-title {
    font-size: 42px !important;
    line-height: 1.15 !important;
}

/* Typographie du corps de texte */
body, body.basic, p, li {
    font-family: Roboto, sans-serif !important;
    color: #444;
}

.basic a {
    color: #A10E2F;
}
.basic a:hover {
    text-decoration: none;
    color: #A10E2F;
}

/* Sidebar */
#secondary a:hover, #secondary a:focus, #secondary li:hover, #secondary li:focus {
    color: #A10E2F !important;
}

/* Jumbotron (Incrusté au centre de l'en-tête) */
.jumbotron.c10.s1,
.basic .jumbotron,
.jumbotron.hero-unit {
    background: rgba(0, 0, 0, 0.45) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    text-align: center !important;
    margin-top: 60px !important;
    margin-bottom: 25px !important;
    padding: 35px 25px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

.jumbotron h1 {
    font-family: 'Yanone Kaffeesatz', sans-serif !important;
    font-size: 58px !important;
    color: #ffffff !important;
    line-height: 1.1 !important;
    margin: 0 0 10px 0 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4) !important;
}

.jumbotron p {
    color: #f1f1f1 !important;
    font-size: 15px !important;
    margin: 0 !important;
    line-height: 1.4 !important;
}

.jumbotron a.btn.btn-large.btn-primary {
    display: inline-block !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 10px 22px !important;
    margin-top: 15px !important;
    border-radius: 4px !important;
    white-space: normal !important;
}

/*--------------------------------------------------------------
  2. BOUTONS (NOIRS D'ORIGINE / CHARTE UB)
--------------------------------------------------------------*/
input[type="submit"],
.btn,
.btn-primary,
.more-link-p a.btn,
article a.btn,
#main a.btn {
    background-color: #262626 !important;
    background-image: linear-gradient(to bottom, #262626, #000000) !important;
    background-repeat: repeat-x !important;
    border: 1px solid #000000 !important;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25) !important;
    border-bottom-color: #000000 !important;
    border-radius: 4px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    color: #ffffff !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25) !important;
    display: inline-block !important;
    padding: 4px 14px !important;
    font-size: 14px !important;
    line-height: 20px !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

/* Survol et clic (passage en bordeaux UB) */
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="submit"]:active,
.btn:hover,
.btn:focus,
.btn:active,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.more-link-p a.btn:hover,
.more-link-p a.btn:focus,
.more-link-p a.btn:active,
article a.btn:hover,
article a.btn:focus,
#main a.btn:hover,
#main a.btn:focus {
    background-color: #A10E2F !important;
    background-image: linear-gradient(to bottom, #A10E2F, #A10E2F) !important;
    border-color: #A10E2F !important;
    color: #ffffff !important;
    text-decoration: none !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25) !important;
}

/* Tailles de boutons & variantes */
.btn-large {
    padding: 9px 14px;
    font-size: 16px;
    line-height: normal;
    border-radius: 5px;
}
.btn-small {
    padding: 3px 9px;
    font-size: 12px;
    line-height: 18px;
}
.btn-mini {
    padding: 2px 6px;
    font-size: 11px;
    line-height: 17px;
}
.btn-block {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

/* Boutons contextuels Bootstrap */
.btn-warning {
    color: #fff;
    background-color: #faa732;
    background-image: linear-gradient(to bottom, #fbb450, #f89406);
    border-color: #f89406 #f89406 #ad6704;
}
.btn-warning:hover, .btn-warning:active {
    background-color: #f89406;
}
.btn-danger {
    color: #fff;
    background-color: #da4f49;
    background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
    border-color: #bd362f #bd362f #802420;
}
.btn-danger:hover, .btn-danger:active {
    background-color: #bd362f;
}
.btn-success {
    color: #fff;
    background-color: #5bb75b;
    background-image: linear-gradient(to bottom, #62c462, #51a351);
    border-color: #51a351 #51a351 #387038;
}
.btn-success:hover, .btn-success:active {
    background-color: #51a351;
}
.btn-info {
    color: #fff;
    background-color: #49afcd;
    background-image: linear-gradient(to bottom, #5bc0de, #2f96b4);
    border-color: #2f96b4 #2f96b4 #1f6377;
}
.btn-info:hover, .btn-info:active {
    background-color: #2f96b4;
}
.btn-inverse {
    color: #fff;
    background-color: #363636;
    background-image: linear-gradient(to bottom, #444444, #222222);
    border-color: #222 #222 #000;
}

.btn-link, .btn-link:hover {
    background: transparent;
    border-color: transparent;
    color: #08c;
    box-shadow: none;
}

/*--------------------------------------------------------------
  3. COMPOSANTS BOOTSTRAP (ALERTES, BADGES, GROUPES)
--------------------------------------------------------------*/
.alert {
    padding: 8px 35px 8px 14px;
    margin-bottom: 20px;
    border: 1px solid #fbeed5;
    border-radius: 4px;
    color: #c09853;
    background-color: #fcf8e3;
}
.alert-success { color: #468847; background-color: #dff0d8; border-color: #d6e9c6; }
.alert-danger, .alert-error { color: #b94a48; background-color: #f2dede; border-color: #eed3d7; }
.alert-info { color: #3a87ad; background-color: #d9edf7; border-color: #bce8f1; }

.label, .badge {
    font-size: 11.844px;
    font-weight: 700;
    line-height: 14px;
    color: #fff;
    background-color: #999;
    white-space: nowrap;
}
.label { padding: 1px 4px 2px; border-radius: 3px; }
.badge { padding: 1px 9px 2px; border-radius: 9px; }
.label-important, .badge-important { background-color: #b94a48; }
.label-warning, .badge-warning { background-color: #f89406; }
.label-success, .badge-success { background-color: #468847; }
.label-info, .badge-info { background-color: #3a87ad; }
.label-inverse, .badge-inverse { background-color: #333; }

.hero-unit {
    padding: 60px;
    margin-bottom: 30px;
    background-color: #eee;
    border-radius: 6px;
}
.btn-group {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    vertical-align: middle;
}
.btn-group > .btn {
    position: relative;
    border-radius: 0;
}
.btn-group > .btn:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.btn-group > .btn:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

/*--------------------------------------------------------------
  4. BARRE SUPÉRIEURE UBE (TEINTE D'ORIGINE #212d35 & SURVOL BORDEAUX)
--------------------------------------------------------------*/
#yamm {
    margin-bottom: 0 !important;
}

#yamm .navbar-fixed-top {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    height: 66px !important;
    min-height: 66px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4) !important;
}

.navbar-transparent,
#yamm .navbar-default {
    background-color: #212d35 !important;
    border: none !important;
}

#yamm .navbar-toggle {
    display: none !important;
}

/* Conteneur principal */
#yamm .container.row-centered {
    max-width: 1240px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    height: 66px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 40px !important;
}

/* Bloc logo gauche */
#yamm .navbar-header.col-centered {
    display: flex !important;
    align-items: center !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
}

#yamm .navbar-brand.image-anchor {
    display: flex !important;
    align-items: center !important;
    padding: 10px 0 !important;
    margin: 0 !important;
    height: 66px !important;
}

#yamm .navbar-brand.image-anchor img {
    height: 46px !important;
    max-height: 50px !important;
    width: auto !important;
    display: inline-block !important;
    margin: 0 !important;
}

/* Conteneur des liens */
#yamm #navbar-collapse-1.col-centered {
    display: flex !important;
    align-items: center !important;
    flex: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 66px !important;
    border: none !important;
    box-shadow: none !important;
}

/* Liste des liens étalée sur 100% */
.navyamm {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.navyamm li {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.navyamm li a,
.navyamm li a:visited,
.navyamm li a:link {
    color: #ffffff !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
    text-decoration: none !important;
    text-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    transition: color 0.15s ease-in-out;
}

/* Survol en bordeaux charte UB */
.navyamm li a:hover,
.navyamm li a:focus {
    color: #A10E2F !important;
    text-decoration: none !important;
    text-shadow: none !important;
}

/* Sprite icons UB */
.ube-icon {
    display: inline-flex !important;
    align-items: center !important;
    text-transform: none !important;
}

.ube-icon:before {
    background-image: url('images/ub/sprite_icon.png') !important;
    background-repeat: no-repeat !important;
    margin: 0 6px 0 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
    content: ' ' !important;
}

.ube-icon--contact:before {
    width: 26px !important;
    height: 24px !important;
    background-position: -5px -108px !important;
}

.ube-icon--plan:before {
    width: 26px !important;
    height: 24px !important;
    background-position: -5px -283px !important;
}

.ube-icon--bibliotheque:before {
    width: 22px !important;
    height: 24px !important;
    background-position: -5px -5px !important;
}

.ube-icon--boutique:before {
    width: 24px !important;
    height: 24px !important;
    background-position: -5px -395px !important;
}

/* Décalage automatique de la barre UBE sous la barre d'admin WordPress */
body.admin-bar #yamm .navbar-fixed-top {
    top: 32px !important;
}

/* Gestion de la hauteur mobile de la barre d'admin WordPress (sous 782px) */
@media screen and (max-width: 782px) {
    body.admin-bar #yamm .navbar-fixed-top {
        top: 46px !important;
    }
}

/* Décaler le contenu de la page sous la barre fixe UBE (66px) */
#page {
    padding-top: 66px !important;
}

/* Sur mobile, la barre #yamm est masquée (hidden-xs hidden-sm), on retire donc le décalage */
@media (max-width: 991px) {
    #page {
        padding-top: 0 !important;
    }
}

/*--------------------------------------------------------------
  5. MENU PRINCIPAL DU SITE & EN-TÊTE TONIC
--------------------------------------------------------------*/
#header {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    height: auto !important;
    min-height: auto !important;
    position: relative !important;
}

#header-wrap {
    position: relative;
    background-size: cover !important;
    background-position: center center !important;
    min-height: 535px !important; /* Maintient la hauteur de la bannière sur toutes les pages */
    padding-top: 0 !important;
    padding-bottom: 30px !important;
}

@media (max-width: 768px) {
    #header-wrap {
        min-height: 380px !important;
    }
}

.right-header {
    float: right !important;
    margin-top: 12px !important;
}

#site-navigation.navbar,
#site-navigation .navbar-inner,
.navbar-inner {
    background-color: #ffffff !important;
    background-image: none !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 12px !important;
    margin: 0 !important;
    min-height: auto !important;
    filter: none !important;
}

#site-navigation .nav {
    display: flex !important;
    flex-wrap: wrap !important; /* Permet le retour propre sur 2 lignes si le menu est long */
    align-items: center !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Roboto, sans-serif !important;
    text-transform: uppercase !important;
}

#site-navigation .nav > li {
    float: none !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

#site-navigation .nav > li > a {
    color: #333333 !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
    text-shadow: none !important;
    padding: 11px 16px !important;
    line-height: 20px !important;
    white-space: nowrap !important; /* Garde chaque intitulé d'onglet sur une seule ligne */
    background: transparent !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Survol des onglets */
#site-navigation .nav a:hover,
#site-navigation .nav a:focus,
#site-navigation .nav > li > a:hover,
#site-navigation .nav > li > a:focus,
#site-navigation.navbar-inverse .nav > li > a:hover,
#site-navigation.navbar-inverse .nav > li > a:focus {
    color: #A10E2F !important;
    background-color: transparent !important;
    background: none !important;
    text-decoration: none !important;
}

/* Page active */
#site-navigation .nav .current-menu-item > a,
#site-navigation .nav .current_page_item > a,
#site-navigation .nav .current-menu-ancestor > a,
#site-navigation.navbar-inverse .nav .current-menu-item > a,
#site-navigation.navbar-inverse .nav .active > a {
    color: #A10E2F !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Flèche déroulante */
#site-navigation .nav .caret {
    margin-left: 6px !important;
    margin-top: 0 !important;
    border-top: 4px solid #333333 !important;
    border-right: 4px solid transparent !important;
    border-left: 4px solid transparent !important;
}

#site-navigation .nav li:hover .caret,
#site-navigation .nav a:hover .caret,
#site-navigation .nav a:focus .caret,
#site-navigation .nav .current-menu-item > a .caret,
#site-navigation .nav .active > a .caret {
    border-top-color: #A10E2F !important;
    border-bottom-color: #A10E2F !important;
}

/* Parent quand le sous-menu est ouvert */
#site-navigation .nav > li.open > a,
#site-navigation .nav > li.sub-menu-parent.open > a,
#site-navigation.navbar-inverse .nav > li.sub-menu-parent.open > a,
#site-navigation.navbar-inverse .nav li.dropdown.open > .dropdown-toggle {
    color: #A10E2F !important;
    background-color: transparent !important;
    background: none !important;
}
#site-navigation .nav > li.open > a .caret,
#site-navigation .nav li.dropdown.open > .dropdown-toggle .caret {
    border-top-color: #A10E2F !important;
    border-bottom-color: #A10E2F !important;
}

/* Sous-menus déroulants Tonic */
#site-navigation .sub-menu {
    background-color: #262626 !important;
    background: linear-gradient(to bottom, #222222, #111111) !important;
    border: 1px solid #252525 !important;
    border-top: 2px solid #A10E2F !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25) !important;
    padding: 4px 0 !important;
}
#site-navigation .sub-menu > li > a {
    color: #ffffff !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    text-transform: none !important;
}
#site-navigation .sub-menu > li > a:hover,
#site-navigation .sub-menu > li.current-menu-item > a {
    color: #A10E2F !important;
    background-color: transparent !important;
    background: #191919 !important;
    text-decoration: none !important;
}

/*--------------------------------------------------------------
  6. ÉLÉMENTS SPÉCIFIQUES UB (PREFOOTER, RÉSEAUX, KINGCOMPOSER)
--------------------------------------------------------------*/
.prefooter {
    position: relative;
    padding: 0;
    border-top: 5px solid #A10E2F !important;
    background: #3b3b3b !important;
}
.prefooter .basic h3, .prefooter h3, .prefooter .c12, .prefooter .row {
    color: #ffffff !important;
}
.prefooter .row { margin: 0; }
.prefooter .row > div:first-child .table-row > div:first-child { width: 113px; }

.table-content {
    margin: 0;
    width: 100%;
    display: table;
}
.table-content .table-row { display: block; }
.table-content .table-cell { display: inline-block; }
.table-content .table-cell:first-child {
    display: block;
    width: 100% !important;
    padding-bottom: 0;
}
.table-row { display: table-row; }
.table-cell { display: table-cell; vertical-align: middle; }
.table-cell * { margin: 0; }

.socialIcons {
    display: block;
    margin: 0 0 0 -10px;
    list-style: none;
}
.socialIcons:after {
    content: " ";
    display: table;
    clear: both;
}
.socialIcons > li { float: left; margin: 0 10px; }
.socialIcons > li > a { display: block; font-size: 18px; }
.socialIcons > li > a:hover { opacity: 0.8; }
.socialIcons.bigIcons > li { margin: 0 7px; }
.socialIcons.bigIcons > li > a {
    transition: background .2s ease;
    text-align: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding-top: 16px;
}
.socialIcons.bigIcons.type2 > li > a {
    width: 36px;
    height: 36px;
    padding-top: 10px;
}

.menu-footer, .menu-footer .basic a, .menu-footer a {
    color: #ffffff;
}

/* KingComposer */
article .kc-container, article .kc_column {
    padding-left: 0;
    padding-right: 0;
}
article .kc-row-container.kc-container .kc-wrap-columns, article .kc_row_inner {
    width: 100%;
    margin-left: 0px;
    margin-right: 0px;
}

/* WooCommerce */
.woocommerce ul.products li.product a img {
    box-shadow: 1px 1px 5px 0px #656565 !important;
}
.woocommerce .no-textfield { font-weight: bold; font-size: 14px; }
.woocommerce .no-textfield .input-text { display: none; }

/*--------------------------------------------------------------
  7. FOOTER PERSONNALISÉ (#colophon)
--------------------------------------------------------------*/
footer#colophon {
    background-color: #F7F2EF;
    color: #65696B;
    padding: 0 0 20px 0;
    font-size: 16px;
}
footer#colophon a { color: #65696B; }
footer#colophon p { margin-bottom: 0; }
footer#colophon .py-1 {
    padding-top: 20px;
    padding-bottom: 20px;
}
footer#colophon small { font-size: 80%; }
footer#colophon .text-center { text-align: center; }
footer#colophon .bg-primary {
    background-color: #A10E2F !important;
    color: white;
}
footer#colophon .footer-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 0;
    padding: 10px 0;
    list-style: none;
}
footer#colophon .footer-social-links img {
    width: 24px;
    height: auto;
    vertical-align: middle;
}
footer#colophon .footer-content-center {
    margin-left: -15px;
    margin-right: -15px;
}
footer#colophon .footer-content-center__container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 768px) {
    footer#colophon .footer-content-center__container { width: 750px; }
}
@media (min-width: 992px) {
    footer#colophon .col-md-6 { width: 50%; float: left; }
    footer#colophon .col-md-4 { width: 33.33333333%; float: left; }
    footer#colophon .col-md-2 { width: 16.66666667%; float: left; }
    footer#colophon .footer-content-center {
        display: flex;
        align-items: center;
    }
    footer#colophon .footer-content-center__container { width: 970px; }
}
@media (min-width: 1200px) {
    footer#colophon .footer-content-center__container { width: 1170px; }
}
footer#colophon .footer-border-right {
    border-right: 1px solid transparent;
    border-image: linear-gradient(to bottom, transparent 25%, #d2d1d0 25%, #d2d1d0 75%, transparent 75%);
    border-image-slice: 1;
}

/*--------------------------------------------------------------
  8. SPÉCIFICITÉS MULTISITES UBE
--------------------------------------------------------------*/
/* Blog 12 : Master T2M */
body#blog12 #header-wrap {
    background: url(http://blog.u-bourgogne.fr/mastert2m/wp-content/uploads/sites/12/2015/10/Logo-T2M_2.png) no-repeat center bottom !important;
    background-size: contain !important;
    min-height: 400px !important;
    height: 400px !important;
}

/* Blog 70 (Titres et liens — la couleur de menu est gérée via CSS additionnel par site) */
body#blog70 h1 { color: #6E7B01 !important; }
body#blog70 h2 { color: #A10E2F !important; }
body#blog70 div#main a { color: #6E7B01; }

/* Blog 81 : Contact Form 7 */
body#blog81 form.wpcf7-form span.wpcf7-list-item { display: block; }

/* Calendrier Event Organiser / WP */
table#wp-calendar td.event {
    font-weight: bold;
    text-decoration: underline;
    background: #f7f7f7;
}

/* Blog 86 */
body#blog86 aside img.img-circle { border-radius: 0; }

/*--------------------------------------------------------------
  9. RECHERCHE EN-TÊTE & MENU GLOBAL FOOTER (search.css / menu_fix.css)
--------------------------------------------------------------*/
#logo_search {
    position: relative;
    display: block;
    padding: 0;
    text-align: right;
    margin: 50px 0;
    word-wrap: break-word;
}

#logo_search a {
    font-family: 'Roboto', sans-serif !important;
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
    text-align: left;
    transition: all 0.3s ease;
}

#logo_search a:hover {
    text-decoration: none;
    color: #A10E2F;
    border-bottom: none;
}

#logo_search a img {
    margin-top: -15px;
}

#showHeaderSearch {
    text-align: right;
}

#showHeaderSearch i {
    width: 15px;
}

.header-search {
    position: absolute;
    height: 60px;
    left: 0;
    right: 0;
    width: 100%;
    background: #A10E2F;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.176), 0 0 5px 0 rgba(0, 0, 0, 0.25);
    z-index: 1000;
    padding: 0;
    color: #ffffff;
}

.header-search .container {
    position: relative;
    margin-top: 10px;
    color: #ffffff;
}

.header-search input[type="text"],
.header-search .form-control {
    border: 0 !important;
    height: 39px !important;
    font-size: 18px !important;
    line-height: 22px !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 6px !important;
    color: #ffffff !important;
    width: 100%;
}

.header-search input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.header-search button[type="submit"],
.header-search .btn {
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 50px !important;
    height: 50px !important;
    color: #f8f8f8 !important;
    border-radius: 50% !important;
    transition: all 0.2s ease;
    background: #A10E2F !important;
    background-image: none !important;
    position: absolute;
    right: 1px;
    top: -5px;
    text-shadow: none !important;
}

.header-search button[type="submit"]:hover {
    background: #262626 !important;
    color: #ffffff !important;
}

/* Menu global dans le pied de page */
.global-nav-menu {
    margin: 0 !important;
}

.global-nav-menu a {
    color: #ffffff !important;
}

.global-nav-menu a:hover,
.global-nav-menu a:focus {
    color: #A10E2F !important;
}

.global-nav-menu ul li {
    display: inline-block !important;
}

.global-nav-menu li {
    padding-right: 10px;
    padding-left: 0;
}

/* Restaure la flèche native (\f0d7) du thème parent à la place de \f024 */
/* Alignement et collage du champ de recherche et du bouton submit */
.widget_search .search-form {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
}

.widget_search .search-form label {
    flex: 1 1 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
}

.widget_search .search-form .search-field {
    width: 100% !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 4px 10px !important;
    border: 1px solid #cccccc !important;
    border-right: none !important;
    border-radius: 4px 0 0 4px !important;
    box-sizing: border-box !important;
}

.widget_search .search-form .search-submit {
    flex: 0 0 auto !important;
    height: 36px !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border-radius: 0 4px 4px 0 !important;
    box-sizing: border-box !important;
}