.md-header .md-header-nav a {
  font-size: .9rem;
  line-height: 2.4rem;
  padding-right: 1rem;
  text-decoration: underline;
}

.extra-menu {
  display: flex;
  max-width: calc(100% - 300px);
}

@media screen and (min-width: 500px) {
  .translation-link {
    background: rgb(64, 81, 181);
    padding-left: 1rem;
  }

  .extra-menu a {
    white-space: nowrap;
  }

  .md-header .md-header-nav__title {
    flex-grow: 0;
    flex: 0 0 200px;
  }
}

.md-header {
  height: 71px;
  background-color: #002dab;
  box-shadow: 0 0 15px #000;
  padding-top: 7px;
}

.md-header .extra-menu a {
  font-family: "fira sans";
  font-size: 0.77rem;
  text-decoration: none;
  border-bottom: 1px solid rgb(255 255 255 / 0.2);
  padding-right: 0;
  margin-right: 1rem;
  height: 35px;
  margin-top: -20px;
  display: block;
}

.md-header .trial-button {
  background: #ff0c71;
  margin-left: auto;
  text-decoration: none !important;
  padding: 7px !important;
  font-size: 16px !important;
  border-radius: 4px;
  opacity: 0.5;
  line-height: 1rem !important;
  font-family: "fira sans";
  transition: all 0.2s ease;
}

.md-header .trial-button:hover{
  opacity: 1;
  transition: all 0.2s ease;
}

.md-header .translation-link {
  font-family: "fira sans";
  font-size: 0.77rem;
  text-decoration: none;
  padding-right: 0;
  margin-right: 1rem;
  background: none;
}

.md-header .logo {
  margin-right: 40px;
}

.md-header .logo svg {
  width: 154px;
  height: 34px;
}

.md-header .logo svg .blink {
  fill: #ff0c71;
}

.md-header .logo svg .fill {
  fill: #ffffff;
}

.md-main__inner {
  margin-top: 0
}

.md-typeset h1 {
  margin:0;
}

.md-sidebar--primary a[href$=pdf] {
  background: #FF0C71;
  padding: 10px 20px;
  color: white;
  border-radius: 3px;
  text-decoration: none;
  width: max-content;
}

.md-sidebar--primary a[href$=pdf]:hover {
  background: #f10b6b
}

.md-typeset ul {
  margin-left: 0;
}

.md-footer {
  background-color: #002DAB;
  font-family: "fira sans";
}

.extra-menu {
  align-self: stretch;
  align-items: center;
}

@media screen and (max-width: 500px) {
  header .md-header-nav__title {
    margin: 0;
  }

  header.md-header .logo {
    margin-right: 0;
    padding-right: 0;
  }

  header.md-header .md-header-nav a,
  header.md-header .md-header-nav label {
    margin: 0;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

@media screen and (max-width: 400px) {
  header .md-grid.md-header-nav {
    margin-left: 0;
  }
}

@media screen and (max-width: 350px) {
  header.md-header .md-header-nav a,
  header.md-header .md-header-nav label {
    margin: 0;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }
}

@media screen and (min-width: 76.25em) {
  .md-main .md-sidebar--primary {
    margin-left: -1rem;
    padding-left: 30px;
  }

  .md-main .md-sidebar--primary .md-sidebar__scrollwrap {
    padding-top: 20px;
    margin-left: -2rem;
    padding-left: 40px;
    margin-right: 0;
  }

  .md-main::after {
    content: '';
    position: fixed;
    z-index: -1;
    bottom: 0;
    background: #F5F5F5;
    left: 0;
    top: 0;
    width: 24.1em;
  }

  @media (prefers-color-scheme: dark) {
    .md-main::after {
      content: none;
    }
  }
}

.md-grid.md-main__inner, .md-grid.md-header-nav {
  max-width: none;
  margin-right: 1rem;
  margin-left: 1rem;
}

.md-footer-meta__inner.md-grid {
  margin: 0;
  max-width: none;
  justify-content: space-around;
}


@media screen and (max-width: 100em) {
  .breadcrumbs {
    flex-wrap: wrap;
    justify-content: center;
  }
  .md-footer-copyright {
    text-align: center;
  }
}
@media screen and (max-width: 30em) {
  .breadcrumbs {
    justify-content: left;
  }
  footer .contacts {
    flex-grow: 1;
    margin-bottom: 1.5em;
    margin-top: .5em;
  }
  .md-footer-copyright {
    margin-left: 1.5em;
    text-align: left;
  }
}

body .md-sidebar {
  width: 24.1em;
}

.dropdown {
  position: relative;
}
.extra-menu .dropdown .dropdown-toggle {
  display: block;
  height: 45px;
  margin-top: -10px;
}
.dropdown-toggle::after {
  content: "";
  border-right: 1px solid white;
  border-bottom: 1px solid white;
  transform: rotate(45deg);
  width: 8px;
  height: 8px;
  display: inline-block;
  margin: 0 0 3px 5px;
  transition: 0.3s;
}
.dropdown-menu {
  position: absolute;
  background: white;
  color: black;
  top: 100%;
  padding: 20px;
  left: -20px;
  box-shadow: 0 0 6px #0003;
  border-radius: 3px;
  display: none;
}
.dropdown.show .dropdown-menu {
  display: block;
}
.dropdown.show .dropdown-toggle::after {
  transform: rotate(225deg);
}
.dropdown .dropdown-menu a {
  padding: 0px;
  display: block;
  height: auto;
  color: #002dab;
  line-height: 1.5;
  margin: 0 0 6px 0;
}
.dropdown .dropdown-menu a:last-of-type {
  margin-bottom: 0;
}
.dropdown .dropdown-menu a:hover {
  color: #FF0C71;
}
.dropdown .dropdown-menu .dropdown-subtitle {
  font-size: 14px;
  color: #777;
  font-weight: 400;
}
.md-header-nav {
  display: flex;
  align-items: center;
  padding: 0 .2rem;
}
.md-header-nav__title {
  flex-grow: 1;
  height: 2.4rem;
  margin-right: .4rem;
  margin-left: 1rem;
  font-size: .9rem;
  line-height: 2.4rem;
}
@media screen and (min-width: 76.25em) {
  .md-header-nav__button[for="__drawer"] {
    display: none;
  }
  .md-header-nav__button[for="__search"] {
    display: none;
  }
}
@media screen and (max-width: 76.25em) {
  .extra-menu {
    display: none;
  }
  .md-header .trial-button {
    display: none;
  }

}
.md-nav--primary .md-nav__title {
  position: static;
}
