@import "../fonts/Constantia/Constantia.css";

html {
  font-size: 62.5%;
}

* {
  box-sizing: border-box;
}

header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
}

header,
.mdl-layout__header-row,
.mdl-layout__header {
  font-weight: bold;
  /* height: 70px; */
  background-color: #005776;
}

header .mdl-layout__header.mdl-layout__header--transparent {
  padding: 8px;
  box-shadow: 0px 3px 10px 3px rgba(0, 0, 0, 0.54);
}

header .mdl-layout__header-row {
  padding-left: 65px;
}

header .logo_titre {
  font-family: "Constantia";
  font-size: 2.8rem;
  line-height: normal;
  margin-bottom: 0em;
}

header p {
  margin: unset;
}

header a {
  text-decoration: none;
  text-align: right;
  font-weight: bold;
  color: white;
}

header #methodology a {
  color: unset;
}

header img.logo_MH {
  width: 140px;
}

header .mdl-layout-spacer {
  width: 100px;
}

header div.bg_select {
  background-color: white;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: calc(77% - 20px);
  padding-left: 30px;
  position: relative;
  color: #005776;
  height: 64px;
}

header .recapPays {
  width: 50px;
}

header .selecteurs {
  display: flex;
  justify-content: space-evenly;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #005776;
}

header label {
  margin: 0 20px;
  font-weight: 400;
}

header #selecteurVague {
  width: 150px;
  display: block;
  margin: 0 20px;
  border-bottom: solid 1px var(--darkblue);
  cursor: pointer;
  font-weight: 500;
  background-color: rgba(0, 87, 118, 0.1);
  padding: 0 5px;
}

header #selecteurCible,
header #selecteurMarque {
  width: 550px;
  display: block;
  margin: 0 20px;
  border-bottom: solid 1px var(--darkblue);
  cursor: pointer;
  font-weight: 500;
  background-color: rgba(0, 87, 118, 0.1);
  padding: 0 5px;
}

header #export_ppt {
  font-size: 1.6rem;
  text-align: center;
  margin-left: auto;
  margin-right: 40px;
}

header #methodology {
  font-size: 1.6rem;
  margin-right: 140px;
  text-align: center;
}

header .disconnect {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
  width: fit-content !important;
}

header .mdl-layout__drawer,
header .mdl-layout__obfuscator {
  position: fixed !important;
}

.mdl-layout__drawer .mdl-navigation .mdl-navigation__link {
  display: block;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  padding: 16px 40px;
  margin: 0;
  color: var(--darkblue);
  transition: all 0.2s ease;
}

.mdl-layout__drawer .mdl-navigation .mdl-navigation__link:hover {
  background-color: var(--gold);
  color: #ffffff;
}

.mdl-layout__drawer img.logo_MH {
  margin: 15px auto;
}

.disconnect img {
  width: 14px;
}

.logout {
  color: #717171;
  font-size: 14px;
}

header #brands,
header #targets,
header #countries {
  background: url(../img/bg_map.png) no-repeat fixed center center;
  background-size: cover;
  text-align: center;
  color: white;
  padding: 30px;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
}

#header .scrollBrands {
  overflow-y: scroll;
  padding-bottom: 60px;
}

header .title_target {
  font-style: italic;
  font-weight: bold;
  font-size: 1.4rem;
  text-transform: uppercase;
}

header #hide_brands {
  background: url(../img/bg_map.png) no-repeat fixed center center;
  background-size: cover;
  text-align: center;
  color: white;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  padding-top: 5px;
}

header .italic {
  font-weight: 100;
  font-size: 1.4rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-style: italic;
}

header .titlebrand {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
  font-size: 1.6rem;
}

header .brand {
  background-color: white;
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.33);
  width: 120px;
  height: 65px;
  display: inline-block;
  margin: 10px;
  vertical-align: middle;
  opacity: 0.6;
  cursor: pointer;
  transition: all 0.2s ease;
  border: solid 3px transparent;
}

header .brand:hover {
  opacity: 1;
}

header #reset {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 1.4rem;
  text-decoration: underline;
  font-style: italic;
}

header .MH {
  border: solid 3px var(--darkblue);
}

header h1 {
  font-size: 2.4rem;
  font-weight: bold;
  margin-left: 50px;
}

header #RecapSel {
  cursor: pointer;
  height: 100%;
  max-width: 100%;
}

header .switch_container_global {
  width: fit-content;
  position: absolute;
  right: 10px;
  top: 0px;
  z-index: 10;
  justify-content: space-evenly;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: url(../img/MHinsight_footer_bg.png) no-repeat, linear-gradient(90deg, rgba(205, 171, 96, 1) 0%, rgba(188, 151, 80, 1) 33%, rgba(169, 129, 62, 1) 67%, rgba(146, 104, 41, 1) 100%);
  background-position: left center;
  background-size: contain;
  text-align: right;
  /* padding: 0 30px 40px 0; */
  z-index: 4;
}

footer img:first-of-type {
  height: 30px;
  margin-top: 5px;
  margin-right: 40px;
}

footer #scrollTop {
  position: absolute;
  right: 10px;
  bottom: calc(100% + 10px);
  width: 30px;
  display: none;
}

@media screen and (max-width: 1600px) {
  html {
    font-size: 50% !important;
  }
  header .mdl-layout__header.mdl-layout__header--transparent {
    padding: 8px;
  }

  header div.bg_select {
    padding-left: 15px;
  }

  header #selecteurCible,
  header #selecteurMarque {
    width: 330px;
  }

  header #export_ppt {
    font-size: 1rem;
    margin-right: 20px;
  }

  header div.bg_select p {
    font-size: 1.4rem;
  }

  header .brand {
    width: 100px;
    height: 55px;
  }

  header .logo_titre {
    font-size: 2.5rem;
  }

  header #selecteurVague {
    width: 140px;
    margin: 0 10px;
  }

  header .logout {
    font-size: 1.2rem;
  }

  header #methodology {
    font-size: 1.4rem;
    margin-right: 95px;
  }
}

@media screen and (max-width: 1280px) {
  html {
    font-size: 50% !important;
  }

  header label {
    font-size: 1.4rem;
  }

  header .brand {
    width: 100px;
    height: 55px;
  }

  header .logo_titre {
    font-size: 2.5rem;
  }

  header #selecteurVague {
    width: 140px;
    margin: 0 10px;
  }

  header .logout {
    font-size: 1.2rem;
  }

  header #methodology {
    font-size: 1.4rem;
    margin-right: 95px;
  }

  header #export_ppt {
    font-size: 1.4rem;
    margin-right: 15px;
  }

  header #export_ppt img,
  header #methodology img {
    width: 20px;
  }

  header div.bg_select {
    width: calc(80% - 20px);
    height: 60px;
  }

  .mdl-layout__header-row {
    height: 55px;
  }

  header #hide_brands img {
    width: 10px !important;
  }

  header .italic {
    font-size: 1.2rem;
  }
}
