/* ---------- Header ----------- */


/* ---------- Start can be safely removed after 31/12/2023 ----------- */

html.obsoleteHeader header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: unset;
  z-index: 3;
  background-color: unset;
}

html.obsoleteHeader .node--type-home-page header {
  background-image: linear-gradient(to top, transparent, rgba(0, 0, 0, 0.5) 87%);
  height: 102px;
}

@media only screen and (max-width: 768px) {
  html.obsoleteHeader .user-logged-in header {
    top: 0 !important;
    margin-top: 39px;
  }

}

html.obsoleteHeader .user-logged-in header {
  top: 28px;
}

#block-swi-content .gs-close-icon {
  display: none;
}

html.obsoleteHeader header.show-background {
  background-color: #15252c !important;
  background-image: unset;
  height: 102px;
}

html.obsoleteHeader header.nav-up {
  top: -141px;
}

html.obsoleteHeader #page.with-crisis-banner header.nav-up {
  top: -340px;
}

html.obsoleteHeader .user-logged-in header.nav-up {
  top: -102px;
}

html.obsoleteHeader #main-wrapper {
  padding-top: 99px;
}

/* ---------- End can be safely removed after 31/12/2023 ----------- */

.path-newsroom header.show-background {
    background-color: unset !important;
}

.region-top-header .field--type-entity-reference {
  margin: 0;
}
@media (max-width: 1500px) and (min-width: 770px) {
  .newsroom-title {
    margin-left: 140px;
  }
}

@media (max-width: 800px) {
  .newsroom-title {
    font-size: 32px;
    margin-top: 20px;
  }
}

header .navbar-brand {
    color: transparent;
}

header #navbar-main {
  display: none;
}


div.white:not(.preserve-color) svg, div.white:not(.preserve-color) svg path {
  fill: white !important;
  cursor: pointer;
}

div.white:not(.preserve-color) svg line {
  stroke: white !important;
}

div.black:not(.preserve-color) svg, div.black:not(.preserve-color) svg path {
  fill: black !important;
  cursor: pointer;
}

header .field--name-field-header {
  margin-bottom: 0;
}

header #navbar-top {
  background-color: transparent !important;
  padding: 0;
}

.region-top-header, .rte-header {
  width: 100%;
  margin: 0;
}

.rte-header {
  margin: 0px 100px;
  display: block;
  position: relative;
  height: 102px;
}

.rte-header .left-icon, .rte-header .right-icon {
  z-index: 20;
  position: absolute;
  height: 102px;
  display: flex;
  align-items: center;
}

.rte-header .left-icon {
  left: 0;
}


.rte-header .right-icon {
  right: 0;
  display: flex;
  align-items: center;
  float: right;
  justify-content: space-between;
}
.search-icon.hidden, .search-icon.hidden svg, .search-icon.hidden svg path {
  opacity: 0;
  cursor: auto !important;
  pointer-events: none !important;
}

.rte-header .search-icon {
  margin-right: 40px;
}

.rte-header .right-icon div {
  cursor: pointer;
  position: static;
  position: initial;
}


/* Required to work on IE */
.header-menu2 .menu-item a {
  top: 50%;
  position: absolute;
  transform: translateY(-50%);
}

/* Required to work on IE */
.header-menu2 .menu-item > div {
  left: 0px;
  position: absolute;
}



.rte-header.hide {
  display: none;
}

.rte-logo, .search-icon, .profil-icon, .burger-icon {
  display: inline-block;
}

.search-icon.hidden, .search-icon.hidden svg, .search-icon.hidden svg path {
  opacity: 0;
  cursor: auto !important;
}

.rte-logo img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  min-height: 1px;
}

/* Language */
/*Hide icon to configure bloc language*/
.language .contextual {
  display: none;
}

.language a {
  font-size: 17px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #00ceff !important;
  font-weight: bold;
  text-decoration: none;
}

.language span {
  padding: 0;
  padding-right: 15px;
}

.language span.is-active {
  display: none;
}

body.fr .links span.fr,
body.en .links span.en {
        display: none;
}

html.stop-scrolling, body.stop-scrolling {
  overflow-y: hidden;
}

.panel-on-focus.autocomplete a {
  color: white !important;
  background: none !important;
  border:  none !important;
}

.panel-on-focus.autocomplete a:hover {
  background: none !important;
  color: white !important;
}

.panel-on-focus.autocomplete img {
  margin-right: 5px;
  height: 25px;
  width: 25px;
  margin-top: -5px;
}

@media only screen and (max-width: 1200px) {
  .rte-header {
    margin: 0px 65px;
  }
}


@media only screen and (max-width: 768px) {
  .region-top-header {
    margin: 0 !important;
  }

  .right-icon .close-icon svg,
  .right-icon .close-icon svg path {
    fill: #10181D !important;
  }

  #main-wrapper {
    padding-top: 0;
  }

  .rte-header {
    margin: 0px 8px;
  }

  .megamenu .menu-one {
    padding-left: 0;
  }


  header.nav-up {
    top: -141px;
  }
  .user-logged-in header.nav-up {
    top: -150px !important;
  }

  .rte-header .left-icon, .rte-header .right-icon {
    height: 90px;
  }

  .user-logged-in .rte-header {
      margin-top: 0;
  }
  .rte-logo svg {
    transform: scale(0.8);
  }
}








