@font-face {
  font-family: 'RocheIconFont';
  src: url('/fonts/RocheIconFont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'RocheSans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/roche/RocheSans-Light.ttf') format('truetype');
}

@font-face {
  font-family: 'RocheSans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/roche/RocheSans-Bold.ttf') format('truetype');
}

@media (max-width: 767px) {
  .page-wrapper {
    transition: transform 0.5s ease;
  }

  .page-wrapper.menu-open {
    transform: translateX(264px);
  }

  .page-wrapper.menu-open::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    box-shadow: -2px 0 2px 2px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 10;
  }
}

.header__container,
.footer__container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0;
}

@media (max-width: 1259px) {
  .header__container,
  .footer__container {
    max-width: 100%;
  }
}

.header a,
.footer a {
  color: #706b69;
  transition: color 0.2s ease;
  will-change: color;
}

@media (hover: hover) {
  .header a:hover,
  .footer a:hover {
    color: #0b41cd;
  }
}

@media (max-width: 767px) {
  .header a {
    color: #544f4f;
  }
}
@media (hover: hover) and (max-width: 767px) {
  .header a:hover {
    color: #000000;
  }
}

.header__container {
  padding: 14px 1.96%;
}

@media (max-width: 1259px) {
  .header__container {
    padding: 14px 6.75%;
  }
}

.header__wrapper {
  display: flex;
  align-items: center;
}

.header__nav-toggle {
  flex-shrink: 0;
  display: none;
  margin-top: 7px;
  margin-right: 3%;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.header__nav-toggle::before {
  content: '\e024';
  font-family: 'RocheIconFont';
  font-size: 30px;
  font-variant: normal;
  font-weight: normal;
  line-height: 1;
  text-transform: none;
  color: #706b69;
}

@media (max-width: 767px) {
  .header__nav-toggle {
    display: block;
  }
}

.header__logo {
  flex-shrink: 0;
  display: block;
  width: 75px;
  height: 39px;
}

.header__additional-logo {
  flex-shrink: 0;
  display: block;
  width: 115px;
  height: 50px;
  margin-left: auto;
}

.header__logo img,
.header__additional-logo img {
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .header__logo {
    width: 58px;
    height: 30px;
  }
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 19px;
  padding: 0;
  list-style-type: none;
}

@media (max-width: 767px) {
  .nav {
    position: absolute;
    right: 100%;
    top: 0;
    height: 100%;
    width: 264px;
  }

  .nav ul {
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    background-color: #dbd6d1;
    height: 100%;
    z-index: -1;
  }
}

.nav__item {
  display: flex;
  padding: 0;
}

@media (max-width: 767px) {
  .nav__item {
    width: 100%;
    min-height: 37px;
  }

  .nav__item:first-child {
    min-height: 43px;
    margin-bottom: 10px;
    background-color: #ffffff;
    box-shadow: -2px 1px 1px 1px rgba(0, 0, 0, 0.2);
  }

  .nav__item:first-child .nav__link {
    font-weight: 700;
  }

  .nav__item:first-child .nav__link::before {
    content: '\e02e';
    display: inline-block;
    margin-right: 5px;
    font-family: 'RocheIconFont';
    font-size: 1em;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
    hyphens: auto;
    speak: none;
  }
}

.nav__link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 8px 10px;
  font-family: 'RocheSans', 'Arial', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1;
}

@media (max-width: 767px) {
  .nav__link {
    font-size: 16px;
    padding-left: 15px;
  }
}

.footer {
  font-family: 'RocheSans', 'Arial', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.38;
  color: #706b69;
}

.footer__container {
  padding: 20px 1.98% 7px;
  background-color: #f5f5f2;
}

.footer ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  margin-left: -1.25rem;
  padding: 0;
  list-style-type: none;
}

.footer li {
  margin-left: 1.25rem;
}

@media (max-width: 767px) {
  .footer ul {
    margin-left: -5px;
  }
  .footer li {
    margin-left: 5px;
  }
}

.footer p,
.footer a,
.footer span {
  font: inherit;
  color: inherit;
}

.footer a::before {
  display: inline-block;
  margin-right: 5px;
  font-family: 'RocheIconFont';
  font-size: 1em;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  hyphens: auto;
  speak: none;
}

.icon-newwindow::before {
  content: '\e025';
}

.icon-arrow::before {
  content: '\e044';
  position: relative;
  top: 2px;
}
