/*
Theme Name: Nova Lite Child
Theme URI: https://www.themeinprogress.com/nova-free-responsive-portfolio-blogging-wordpress-theme/
Description: Thème enfant Nova Lite avec personnalisations Université Bourgogne Europe
Author: UB MMOUREY
Template: nova-lite
Version: 1.0.0
Text Domain: nova-lite-child
*/

/*--------------------------------------------------------------
  1. TYPOGRAPHIE & BASE UB
--------------------------------------------------------------*/
body,
p,
li,
address,
dd,
blockquote,
td,
th,
.textwidget {
    color: #616161;
}

h1.title,
h2.title,
h3.title,
h4.title,
h5.title,
h6.title,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Yanone Kaffeesatz', Verdana, Geneva, sans-serif !important;
    font-weight: 300 !important;
    word-wrap: break-word;
}

h1 {
    font-size: 38.5px;
}

div.post article ul {
    padding: 0 60px;
}

article.article ul li {
    padding: 0 !important;
    list-style-type: disc !important;
}

article ul li ul {
    padding-left: 25px;
}

article.article ul li li {
    list-style-type: circle !important;
}

a.btn {
    font-family: 'Roboto', sans-serif;
    margin-right: 5px;
    border: none;
}

.alert,
.btn {
    -webkit-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    border-radius: 0px !important;
}

img {
    display: block;
}

.text-white {
    color: #ffffff !important;
}

/*--------------------------------------------------------------
  2. BARRE FIXE INSTITUTIONNELLE YAMM & SPRITE ICONS
--------------------------------------------------------------*/
#yamm {
    margin-bottom: 68px;
}

#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;
    background-color: #1e2830 !important;
    border: none !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4) !important;
    margin: 0 !important;
    padding: 0 !important;
}

#yamm .container-fluid.row-centered {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    height: 66px;
    display: flex;
    align-items: center;
}

#yamm #navbar-collapse-1 {
    display: flex;
    align-items: center;
    width: 100%;
    height: 66px;
    padding: 0;
    margin: 0;
}

/* Liste des liens étalée sur toute la largeur */
#yamm ul.nav.navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

#yamm ul.nav.navbar-nav > li {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* État normal */
#yamm ul.nav.navbar-nav > li > a,
#yamm ul.nav.navbar-nav > li > a:visited,
#yamm ul.nav.navbar-nav > li > a:link {
    color: #ffffff !important;
    text-shadow: none !important;
    -webkit-font-smoothing: antialiased;
}

/* État au survol / focus */
#yamm ul.nav.navbar-nav > li > a:hover,
#yamm ul.nav.navbar-nav > li > a:focus,
#yamm ul.nav.navbar-nav > li:hover > a {
    color: #A10E2F !important;
    text-shadow: none !important;
    background: transparent !important;
    text-decoration: 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;
}

/*--------------------------------------------------------------
  3. EN-TÊTE DU BLOG, LOGO ET NOM DU SITE
--------------------------------------------------------------*/
#header {
    position: relative !important;
    z-index: 1000 !important;
    text-align: center;
    margin: 0;
    padding: 0;
    min-height: 50px;
    background: #ffffff;
    border-bottom: none;
}

.header_menu_ub {
    position: relative !important;
    z-index: 1000 !important;
    text-align: center;
    margin: 0 0 50px 0;
    padding: 0;
    min-height: 40px;
    background: #ffffff;
    border-bottom: none;
}

.span3 {
    width: 150px !important;
}

#logo {
    position: relative;
    display: block;
    padding: 0;
    text-align: left;
    margin: 20px 0;
    word-wrap: break-word;
}

#logo a {
    font-family: 'Roboto', sans-serif;
    font-size: 55px;
    color: #262626;
    text-decoration: none;
    text-align: left;
}

#logo a:hover {
    color: #262626;
    border-bottom: none;
}

#Nom_site {
    position: relative;
    display: block;
    padding: 0;
    text-align: left;
    line-height: 100px;
    word-wrap: break-word;
}

#Nom_site a {
    font-family: 'Roboto', sans-serif !important;
    font-size: 22px;
    line-height: 30px !important;
    color: #262626 !important;
    text-decoration: none;
    text-align: left;
}

#Nom_site a:hover {
    color: #262626 !important;
    border-bottom: none;
}

/*--------------------------------------------------------------
  4. MENU PRINCIPAL (CHARTE BORDEAUX UB, ÉTATS ACTIFS & SOUS-MENUS)
--------------------------------------------------------------*/
nav#mainmenu {
    padding: 0;
    text-align: left;
    position: relative !important;
    z-index: 1000 !important;
    min-height: 50px;
    word-wrap: break-word;
    border-top: 3px solid #b0a986;
}

nav#mainmenu ul {
    list-style: none;
    margin: 0;
    display: inline-block;
    position: relative;
    width: 100%;
}

nav#mainmenu ul li {
    display: inline-block !important;
    position: relative !important;
    text-align: left;
    padding: 0 0 8px 0 !important;      /* Prolonge la surface sensible du curseur vers le bas */
    margin-bottom: 0 !important;
    word-wrap: break-word;
    width: auto;
    max-width: 100%;
}

/* Liens par défaut (normaux / inactifs) */
nav#mainmenu ul li a,
nav#mainmenu ul li a:link,
nav#mainmenu ul li a:visited {
    text-decoration: none !important;
    display: block;
    font-family: 'Roboto', sans-serif !important;
    z-index: 1;
    padding: 10px 16px 0 16px !important;
    min-height: 31px;
    color: #A10E2F !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    letter-spacing: 0.3px !important;
    position: relative;
    text-transform: uppercase !important;
    background: transparent !important;
    transition: opacity 0.15s ease, font-weight 0.15s ease;
}

/* Survol des liens du menu principal */
nav#mainmenu ul li:hover,
nav#mainmenu ul li a:hover,
nav#mainmenu li:hover > a {
    background: transparent !important;
    color: #A10E2F !important;
    text-decoration: none !important;
    opacity: 0.8;
}

/* Lien de la page active (en gras affirmé) */
nav#mainmenu ul li.current-menu-item > a,
nav#mainmenu ul li.current_page_item > a,
nav#mainmenu ul li.current-menu-parent > a,
nav#mainmenu ul li.current_page_ancestor > a,
nav#mainmenu ul li.current-menu-ancestor > a {
    background: transparent !important;
    color: #A10E2F !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    opacity: 1 !important;
}

/* Positionnement et style des sous-menus déroulants (Niveau 1) */
nav#mainmenu ul li ul,
nav#mainmenu ul ul {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: none;
    visibility: hidden;
    opacity: 0;
    min-width: 240px !important;
    width: max-content !important;
    white-space: nowrap !important;
    background-color: #171717 !important; /* Noir plus profond et sombre */
    border: 1px solid #292929 !important;
    border-top: 2px solid #A10E2F !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55) !important;
    z-index: 999999 !important;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

/* Pont invisible au-dessus du sous-menu : empêche la fermeture pendant le passage du curseur */
nav#mainmenu ul li ul:before,
nav#mainmenu ul ul:before {
    content: '' !important;
    position: absolute !important;
    top: -12px !important;
    left: 0 !important;
    right: 0 !important;
    height: 12px !important;
    background: transparent !important;
    display: block !important;
}

/* Affichage au survol */
nav#mainmenu ul li:hover > ul,
nav#mainmenu ul li.sfHover > ul {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Éléments de liste à l'intérieur du sous-menu */
nav#mainmenu ul ul li {
    display: block !important;
    width: 100% !important;
    min-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

nav#mainmenu ul ul li:last-child {
    border-bottom: none !important;
}

/* Liens des sous-menus */
nav#mainmenu ul ul li a,
nav#mainmenu ul ul li a:link,
nav#mainmenu ul ul li a:visited {
    display: block !important;
    padding: 10px 18px !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    color: #ffffff !important;
    text-transform: none !important;
    background: transparent !important;
    white-space: normal !important;
    text-shadow: none !important;
    opacity: 1 !important;
}

/* Survol des sous-menus */
nav#mainmenu ul ul li a:hover,
nav#mainmenu ul ul li:hover > a {
    color: #ffffff !important;
    background-color: #A10E2F !important;
    text-decoration: none !important;
    opacity: 1 !important;
}

/* Sous-menus de niveau 2 (déroulement sur le côté droit) */
nav#mainmenu ul ul li ul {
    top: 0 !important;
    left: 100% !important;
    border-top: 1px solid #292929 !important;
}

nav#mainmenu ul ul li ul:before {
    top: 0 !important;
    left: -12px !important;
    width: 12px !important;
    height: 100% !important;
}

/* Boutons chevrons */
.icon-angle-down:before,
nav#mainmenu ul li .icon-angle-down:before {
    content: "\f078" !important;
}

nav#mainmenu ul li .icon-angle-down,
nav#mainmenu ul li .fa-angle-down {
    margin-left: 6px;
    font-size: 11px;
    color: #A10E2F !important;
}

/*--------------------------------------------------------------
  5. FOOTER & PREFOOTER UB
--------------------------------------------------------------*/
.prefooter {
    position: relative;
    padding: 0;
    border-top: 5px solid #A10E2F !important;
    background: #3b3b3b !important;
}

.prefooter .span12 {
    color: #ffffff !important;
}

.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: 20px;
}

.table-row {
    display: table-row;
}

.table-cell {
    display: table-cell;
    vertical-align: middle;
}

.table-cell * {
    margin: 0;
}

/* Réseaux sociaux */
.socialIcons {
    display: block;
    margin: 0 0 0 -10px;
    list-style: none;
}

.socialIcons:after {
    content: " ";
    display: table;
    clear: both;
}

.socialIcons.pull-right {
    margin: 0 -10px 0 0;
}

.socialIcons > li {
    float: left;
    margin: 0 10px;
}

.socialIcons > li > a {
    display: block;
    font-size: 18px;
}

.socialIcons > li > a:hover {
    opacity: 0.8;
}

.socialIcons.bigIcons {
    margin-left: -7px;
}

.socialIcons.bigIcons > li {
    margin: 0 7px;
}

.socialIcons.bigIcons > li > a {
    text-align: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding-top: 16px;
    padding-right: 1px;
}

.socialIcons.bigIcons.type2 {
    margin-left: -5px;
}

.socialIcons.bigIcons.type2 > li {
    margin: 0 5px;
}

.socialIcons.bigIcons.type2 > li > a {
    width: 36px;
    height: 36px;
    padding-top: 10px;
}

.socialIcons.bigIcons.type2 > li > a:hover {
    background: none;
}

/* Footer institutionnel (#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 .footer-logos {
    display: flex;
    align-items: center;
}

footer#colophon .bg-primary {
    background-color: #A10E2F !important;
    color: #ffffff !important;
}

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;
}

@media (min-width: 992px) {
    footer#colophon .footer-content-center {
        display: flex;
        align-items: center;
    }
}

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;
}

#footer .menu-pied {
    font-size: 12px;
    padding: 20px 0 25px 0;
    text-align: left;
    color: #ffffff;
    font-weight: 600;
}

.menu-pied a {
    font-weight: 600 !important;
}

#sidebar a:hover,
.bottom a:hover,
#footer a:hover {
    color: #A10E2F;
    text-decoration: none;
}

/*--------------------------------------------------------------
  6. WOOCOMMERCE
--------------------------------------------------------------*/
.woocommerce ul.products li.product a img {
    -moz-box-shadow: 1px 1px 5px 0px #656565 !important;
    -webkit-box-shadow: 1px 1px 5px 0px #656565 !important;
    -o-box-shadow: 1px 1px 5px 0px #656565 !important;
    box-shadow: 1px 1px 5px 0px #656565 !important;
    filter: progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=134, Strength=5) !important;
}

body.post-type-archive.post-type-archive-product.woocommerce #container #content,
body.product-template-default.single.single-product #container #content {
    width: 1170px;
    margin: 0 auto;
}

/*--------------------------------------------------------------
  7. PERSONNALISATIONS MULTISITES SPÉCIFIQUES
--------------------------------------------------------------*/
body#blog34 header#header div.span3 {
    width: 350px !important;
    float: none;
    margin: 0 auto;
}

body#blog35 header .span3 {
    width: 250px !important;
}

body#blog36 header#header {
    background-image: url('http://blog.u-bourgogne.fr/m2fctg/wp-content/uploads/sites/36/2016/03/cropped-Panoramique_palais_duc_de_Bourgogne.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50%;
    height: 500px;
}

body#blog36 header#header #Nom_site a {
    color: #ffffff !important;
    font-weight: bold;
    font-size: 50px;
    line-height: 120% !important;
    margin-top: 180px !important;
    display: block;
}

body#blog37 span.onsale,
body#blog37 span.price del,
body#blog37 p.price del {
    display: none;
    opacity: 0;
    visibility: hidden;
}

body#blog51 tr {
    background-color: transparent !important;
}

body#blog51 p {
    margin-bottom: 0 !important;
}

#blog51 .checkbox-604 .wpcf7-list-item {
    display: block;
}

body#blog62 span.onsale,
body#blog62 span.price del,
body#blog62 p.price del {
    display: none;
    opacity: 0;
    visibility: hidden;
}

body#blog85 header div.span3 {
    width: 230px !important;
}

/* ==========================================================================
   BANDEAU DE RECHERCHE DÉROULANT (BORDEAUX UB)
   ========================================================================== */

/* 1. L'icône dans la barre de menu */
#logo_search {
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#showHeaderSearch {
    color: #616161 !important;
    font-size: 15px;
    text-decoration: none !important;
    padding: 5px 8px;
    transition: color 0.2s ease;
}

#showHeaderSearch:hover {
    color: #A10E2F !important;
}

/* 2. Le bandeau déroulant pleine largeur */
.header-search {
    background-color: #A10E2F !important;
    width: 100% !important;
    padding: 14px 0 !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
    clear: both;
}

/* 3. Conteneur centré du formulaire */
.header-search-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 4. Champ de texte "Recherche..." blanc et épuré */
.header-search-input {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 300 !important;
    font-family: inherit !important;
    width: calc(100% - 60px) !important;
    height: 44px !important;
    line-height: 44px !important;
    padding-left: 5px !important;
}

.header-search-input::placeholder {
    color: rgba(255, 255, 255, 0.8) !important;
    font-style: normal;
}

/* 5. Bouton rond avec la loupe à droite */
.header-search-btn {
    background-color: #A10E2F !important;
    border: none !important;
    color: #ffffff !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 17px !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.header-search-btn:hover {
    background-color: #7d0a23 !important;
    transform: scale(1.05);
}

.header-search-btn i {
    color: #ffffff !important;
}

/* ==========================================================================
   ALIGNEMENT EXACT BANNIÈRE / CONTENU (HEAD_WIDGET)
   ========================================================================== */

/* 1. Neutralise le double padding du conteneur imbriqué */
.head_widget.container {
    position: relative;
    z-index: 1 !important;             /* Reste toujours derrière les sous-menus */
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 25px !important;
}

.head_widget > .container {
    width: 100% !important;
    max-width: 1170px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

/* 2. Annule le comportement span4 pour occuper les 12 colonnes */
.head_widget .pin-article.span4,
.head_widget .pin-article {
    width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

/* 3. Supprime les espacements internes qui décalent l'image */
.head_widget .row.widget {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.head_widget .article {
    padding: 0 !important;
    margin: 0 !important;
}

/* 4. Image calée bord à bord avec la grille */
.head_widget .article img {
    position: relative;
    z-index: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
    border: none !important;
}