/* HEADER */
.header {
  z-index: 20;
  position: absolute;
  width: 100%;
  height: auto;
  padding-top: 53px;
  border-top: 4px solid #e0757d;
  height: 34px;
  transition: background .2s linear,color .2s linear,box-shadow .2s linear .2s;
}

.header > .container {
  display: flex;
  flex-wrap: wrap;
  height: 34px;
  justify-content: space-between;
}

.alma__logo img {
  height: 34px;
  margin: auto;
}

.mainmenu__mobile {
  display: none;
  animation: Cb .4s ease-out;
  height: 100vh;
  width: 100vw;
  position: absolute;
  top: 51px;
  background-color: #fbfaf8;
  color: black;
}

.mainmenu-sandwich {
  cursor: pointer;
  display: block;
  position: relative;
  width: 34px;
  height: 34px;
}

.mainmenu-sandwich div {
  background-color: #475068;
  display: block;
  height: 2px;
  position: absolute;
  transform-origin: center;
  transition-duration: 86ms;
  transition-property: background-color,opacity,transform;
  transition-timing-function: ease-out;
  width: 30px;
  left: 0;
  right: 0;
}

.mainmenu-sandwich div:first-child {
  top: calc(50% - 7px);
}

.mainmenu-sandwich div:nth-child(2) {
  top: calc(50% - 1px);
}

.mainmenu-sandwich div:nth-child(3) {
  top: calc(50% + 5px);
}

.header-active .mainmenu-sandwich div:first-child {
  transform: translateY(6px) rotate(45deg);
}

.header-active .mainmenu-sandwich div:nth-child(2) {
  opacity: 0;
}

.header-active .mainmenu-sandwich div:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.lang-flags {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  /* display: none; */
  z-index: 4;
}
.lang-flags img {
  width: 28px;
  height: 15px;
  margin-left: 10px;
}

/* Menu */
.mainmenu {
    display: flex;
    list-style: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    color: #475068;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}


.mainmenu a {
    text-decoration: none;
    color: #475068;
}

@media (min-width: 769px) {
  .header-white .mainmenu .nav-link {
    color: #fff;
  }
}

.mainmenu__item {
    margin: 8px 11px;
    position: relative;
    display: inline-block;
    font-size: 0;
}

.mainmenu__item-button {
    margin: -1px 11px;
    margin-right: 2px;
}

.mainmenu__item-button:last-child {
    margin-right: 0;
}

.mainmenu__item a {
    display: inline-block;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.mainmenu__item-button > a {
  height: 32px;
  background-color: #e0757d;
  padding: 8px 16px;
  color: white;
  text-align: center;
  min-width: 94px;
  font-weight: 500;
}

.mainmenu__item a:hover {
    /* font-weight: 700; */
}

/* To keep the menu items from moving on hover */
.mainmenu__item a::after {
    display: block;
    content: attr(title);
    font-weight: 700;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}


/* desktop */
@media (min-width: 769px) {
  .mainmenu__dropdown__container {
    display: none;
    top: 36px;
    top: 15px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 195px;
    position: absolute;
    padding-top: 25px;
  }

  .mainmenu__item-button .mainmenu__dropdown__container {
    top: 22px;
  }

  .mainmenu__dropdown {
    list-style: none;
    padding: 24px;
    box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    border-top: solid 2px #f3e1ba;
    position: relative;
  }

  .mainmenu__dropdown__container > span {
    position: absolute;
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    background: #f3e1ba;
    display: block;
    top: 23px;
    left: 0;
    right: 0;
    margin: auto;
  }
}

.mainmenu__dropdown__item a {
  color: #8e8e8e;
}

.mainmenu__dropdown__item a:hover {
  color: #475068;
  /* font-weight: 600; */
}



/* desktop */
@media (min-width: 769px) {
  .mainmenu__item:hover > a {
    border-bottom: solid 2px #f3e1ba;
  }
  .mainmenu__item:hover > .mainmenu__dropdown__container {
    display: block;
  }

  .mainmenu__dropdown__container:hover {
    display: block;
  }

  .mainmenu__dropdown__container:hover ~ a {
    /* font-weight: 700; */
    border-bottom: solid 2px #f3e1ba;
  }

  /* different styling if menu item is button */
  .mainmenu__item-button:hover {
    cursor: pointer;
  }
  .mainmenu__item-button:hover > a {
    border: none;
    opacity: 0.85;
  }
  .mainmenu__item-button .mainmenu__dropdown__container:hover ~ a {
    border: none;
  }
  .mainmenu__item-button .mainmenu__dropdown__container:hover > a {
    opacity: 0.85;
  }

  .mainmenu__dropdown__item {
    margin-bottom: 10px;
  }
}

/* when the page nav starts to get crowded */
@media (max-width: 992px) {
  .mainmenu__item {
    margin: 8px 3px;
  }
  .mainmenu__item a {
    font-size: 11px;
  }
  .mainmenu__item-button {
    margin: 1px 3px;
  }
}


/* mobile  */
@media (max-width: 768px) {
  .mainmenu {
    display: none;
    animation: Cb .4s ease-out;
    position: absolute;
    margin: auto;
    padding-top: 50px;
    top: 51px;
    text-align: center;
    left: 0;
    right: 0;
    text-transform: none;
    height: 100vh;
    background-color: #fbfaf8;
    width: 100%;
    z-index:5;
  }

  .header {
    height: 55px;
    position: fixed;
    background-color: #fbfaf8;
    padding-top: 12px;
    box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.05);
    animation: Cb .4s ease-out;
  }

  .header__mobile-transparent:not(.header-active) {
    background: none;
    box-shadow: none;
  }

  .header-active {
    animation: Cb .4s ease-out;
    box-shadow: none;
    /* height: 100vh; */
  }

  .header > .container {

  }

  .mainmenu__item {
    padding: 13px 0;
    width: 100%;
  }

  .mainmenu__item-active > a {
    font-weight: bold;
  }

  .mainmenu__item-button {
    padding: 7px 17px;
    /* width: auto; */
  }

  .mainmenu__item a {
    font-size: 18px;
  }

  .mainmenu__item-button > a {
    text-transform: uppercase;
    padding: 11px 36px;
    height: auto;
    font-size: 16px;
  }

  .alma__logo img {
    height: 27px;
    margin: auto;
  }

  .mainmenu__dropdown__container {
    display: none;
    margin-top: 15px;
  }

  .mainmenu__dropdown {
    box-shadow: none;
    background: none;
    padding: 0;
  }

  .mainmenu__dropdown a {
    font-size: 13px;
    margin: 3px 0;
  }
  .lang-flags {
    right: 73px;
  }
}







/* FOOTER  */

.footer {
  width: 100%;
  height: 350px;
  background-color: #f4f3f1;
  display: flex;
  /* padding-top: 60px; */
  position: absolute;
  bottom: 0;
}

.footer .container {
  align-self: center;
}

.footer .container > div, .footer .container > ul {
  align-self: center;
}
.footer__logo {
  margin-right: 4.166667%;
}
.footer__logo img {
  height: 40px;
  object-fit: contain;
  margin: auto;
}
.footer__logo-extra {
  margin: 20px 0;
}
.footer__logo-extra img {
  height: 60px;
}

.footer .container {
  display: flex;
}

.footer__content {
  font-size: 15px;
}

.footer .rich-text {
  font-size: 13px;
}

.footer__links {
  columns: 100px 2;
  column-gap: 40px;
  margin: 0;
  list-style: none;
}

.footer__link a {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #475068;
}


@media (max-width: 768px) {
  .footer {
    height: auto;
    padding-top: 99px;
    padding-bottom: 100px;
    position: relative;
  }

  .footer .container {
    display: block;
  }

  .footer .container > * {
    width: 100%;
    text-align: center;
    columns: unset;
    padding: 0;
  }

  .footer__logos {
    margin-top: 42px;
  }

  .footer__logo {
    margin-bottom: 42px;
  }

  .footer__content {
    margin-bottom: 29px;
  }

  .footer__link {
    margin-bottom: 3px;
  }
}
