/**
 *  #BRANDING
 */

.css-branding {
  padding-top: 11px
}

.css-branding .site-logo {
  width: 213px;
  height: 191px;
}

.css-branding .name-slogan-wrapper {
  margin-left: 80px;
}

.css-branding .site-name {
  margin-bottom: 0;
  width: 123px;
  font-size: 16px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #444871;
  text-transform: uppercase;
}

.css-branding .site-slogan {
  margin-top: 10px;
  margin-bottom: 0;
  width: 128px;
  font-size: 10px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.5;
  letter-spacing: normal;
  color: #989898;
}

@media screen and (max-width: 500px) {
  .css-branding {
    padding-top: 0;
  }

  .css-branding .site-logo {
    width: 157px;
    height: 141px;
  }

  .css-branding .name-slogan-wrapper {
    margin-left: auto;
  }

  .css-branding .site-name {
    width: 116px;
    font-size: 14px;
    line-height: 1.14;
  }

  .css-branding .site-slogan {
    width: 116px;
    font-size: 10px;
    line-height: 1.3;
  }
}

/* Bouton de recherche */
.header-search-button-circle {
  border: 0.85px solid #D5D5D5;
  background-color: #ffffff;
  height: 36px;
  width: 36px;
  border-radius: 18px;
  padding: 0px 35px 0 0;
  background-image: url('/themes/custom/die/images/icons/search.png');
  background-size: 18px 18px;
  background-position: center;
  background-repeat: no-repeat;
}

.header-search-button-circle:active, .header-search-button-circle:focus {
  width: 100%;
  padding: 5px 15px;
  background: none;
  outline: none;
}

.navbar-search-input {
  border: none;
  background-color: transparent;
  height: 38px;
  width: 38px;
  padding: 0px 38px 0 0;
  background-image: url('/themes/custom/die/images/icons/search_grey.png');
  background-size: 24px 24px;
  background-position: center;
  background-repeat: no-repeat;
}

.navbar-search-input:not(:active):not(:focus) {
  cursor: pointer;
}

.navbar-search-input:active, .navbar-search-input:focus {
  width: 100%;
  padding: 5px 15px;
  background-image: none;
  outline: none;
  background-color: #F0F0F0;
  border-radius: 4px;
}

@media screen and (min-width: 1024px) {
  .navbar-search-input:active, .navbar-search-input:focus {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    height: 40px;
  }
}

.navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .nav-link.active {
  border-bottom: 4px solid #575b8c;
}

.dropdown-item.active {
  background-color: transparent;
  font-weight: bold;
}

/* Bouton de lien vers linkedin */
.header-linkedin-button-circle {
  padding: 0;
}

/* Section changement de taille de police */
.header-font-change {
  margin-left: 15px;
  display: inline;
}

.header-font-size-plus, .header-font-size-moins {
  padding: 0 3px;
  color : #4F4F4F;
}

.header-font-size-plus {
  font-weight: bold;
}

.header-font-separator {
  margin: 0;
  color : #7F7F7F;
}


/* Menu principale */
.menu-principal {
  padding: 0;
  align-items: flex-start;
}

.dropdown-menu.show {
  display: flex;
}

.navbar-light .navbar-nav .nav-link {
  color: black;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  padding: 15px 0 15px 0;
}

@media screen and (min-width: 1024px) {
  .navbar-light .navbar-nav .nav-link {
    padding-bottom: 10px;
  }
}

.navbar-light .navbar-nav .nav-item {
  padding-right: 40px;
  border-bottom: 4px solid transparent;
}

.navbar-light .navbar-nav .nav-item:last-of-type {
  padding-right: 0;
}

.nav-link > .glyphicon {
  font-size: 12px;
  margin-left: 6px;
  color: rgba(80, 80, 80, .5);
}

.dropdown-menu {
  display: none;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.9);
  margin-top: 10px;
  align-items: center;
  padding: 0;
  border: none;
  overflow: hidden;
}

.dropdown-item {
  color: #000;
  font-weight: 400;
  padding: 30px 35px;
  white-space: nowrap;
  border-radius: 0 !important;
}
.dropdown-item.active {
  background-color: #575b8c;
}

.dropdown-item:not(:first-child) {
  border-left: 2px solid rgba(80, 80, 80, .25);
}

.dropdown-item:hover, .dropdown-item:focus {
  background: #444871;
  color: white;
  border-radius: 0;
}

.navbar-toggler, .navbar-toggler:focus, .navbar-toggler:active {
  border: none;
  outline: none;
}

@media (max-width: 992px) {
  .navbar-light .navbar-nav .nav-item {
    padding: 0;
  }

  .navbar-light .navbar-nav .nav-item .nav-link {
    border-left: 4px solid transparent;
    border-bottom: 0;
    padding: 10px;
  }

  .navbar-light .navbar-nav .nav-item .nav-link.active {
    border-left-color: #575b8c;
  }

  .navbar-light .navbar-nav .dropdown-menu {
    color: black;
    margin-top: 0;
    border-radius: 0;
  }

  .navbar-light .navbar-nav .dropdown-menu.show {
    display: block;
  }

  .dropdown-item {
    padding: 10px 0 10px 30px;
    border-left: 4px solid transparent !important;
    background-color: transparent;
  }

  .dropdown-item.active {
    background-color: transparent;
    border-left-color: #575b8c !important;
    color: black;
  }

  .header-container {
    max-width: 100%;
  }
}

.local-tasks .nav {
  margin-top: 10px;
}
