:root{
--desktop-topheader-height:75px;    
--nav-horizontal-align:space-between;
--mobile-topheader-logo-padding:5px 0 10px 0;
--tablet-topheader-logo-padding:0 0 15px 0;
--mobile-header-mod-header-part__right-padding:0;
--mobile-header-mod-header-part__right-height:30px;
--navlink-caret-margin:28px 15px 0 0;
}


@media (min-width: 992px) {
#site-wrapper .line>.container>.row div:not(.header-ext)>ul.nav:not(.nav-stacked):not(.nav-tabs):not(.nav-pills):not(.nav-progress):not(.nav-progress-steps)>li{
    display:flex;
    flex-direction:row;
    align-items:flex-start;
    
}
}

.line-header .container .row-fluid>div.zone-header .mod-header-logo, .line-header .container-fluid .row-fluid>div.zone-header .mod-header-logo {
    max-width: 100px;
}
@media (min-width: 768px) {
   .line-header .container .row-fluid>div.zone-header .mod-header-logo, .line-header .container-fluid .row-fluid>div.zone-header .mod-header-logo {
    max-width: 175px;
 } 
}

a { text-decoration:none; }

body.sticked #site-wrapper .line-header {
    height:1px; 
    overflow:hidden;
}
#site-wrapper .line-menu .zone-header {
    display:block; 
    width:1px; 
    height:1px; 
    overflow: hidden;   
    box-sizing: border-box; 
    padding:0;}
#site-wrapper .line-menu .zone-header .mod-header-logo {
    padding: 10px 0;
    max-width: 118px;}
body.sticked #site-wrapper .line-menu .zone-header {width:25%; height:auto;}
body.sticked #site-wrapper .line-menu .menu {width:75%; height:auto;}

.line-menu .row::before,.line-menu .row::after {
    display:none;
}
.line-menu .row {
    display:flex;
    flex-direction: row;
}

.line-prefooter .content{
    padding:0 30px;
}

/* Le menu déroulant doit avoir un z-index très élevé */
.line-menu .navbar-collapse {
    z-index: 1002;
}

/* Tablette */
@media (max-width: 991px) {
    .line-menu {
        top: 181px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .line-menu {
        top: 135px;
    }
}

.news-detail .back-to-list {
    margin-top:2em;
}

.news-title.news-article__title{
    font-size: var(--font-size-h2-desktop);
    font-weight: var(--font-weight-h2);
}

.zone-news__moreNews-wrapper h2 {
    margin-top:3em;
    font-size: var(--font-size-h3-desktop);
    font-weight: var(--font-weight-h3);

}

.article-back-to-list-histo {
    display: block !important;
}
.container .row .zone-article .mod-article__wrapper {
    flex-direction: column-reverse;
}

/*fixing button in the header*/
@media (max-width: 767px) {

  .line-header .mod-header-wrapper {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
  }

  .line-header .header-ext-login {
    order: 1;
    margin-right: 0 !important;
    flex: 0 0 auto !important;
    white-space: nowrap;
  }

  .line-header .header-ext-custom {
    order: 2;
    display: flex !important;
    align-items: center;
    position: static !important;
    margin: 10px 0 0 !important;
    flex: 0 0 auto !important;
  }

  .line-header .header-ext-custom p {
    position: static !important;
    margin: 0 !important;
  }

  .line-header .header-ext-custom .btn {
    display: inline !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    color: #e3801e !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: normal !important;
    white-space: nowrap;
  }
}