@charset "UTF-8";
.nav {
  z-index: 4;
}

.nav__viewer {
  display: none;
}

.nav__search {
  height: 40px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  -webkit-box-shadow: 0 10px 50px #0001;
          box-shadow: 0 10px 50px #0001;
}

.nav__search-input {
  outline: none;
  padding: 5px 0px 5px 10px;
  border: none;
  border-radius: 5px 0 0 5px;
  height: 20px;
  background-color: #eceff4;
  color: #3b4252;
  font-weight: 500;
  font-size: 0.75em;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

.nav__search-button {
  border: none;
  border-radius: 0 5px 5px 0;
  height: 30px;
  padding: 0 10px;
  -webkit-box-shadow: -5px 0 20px #0001;
          box-shadow: -5px 0 20px #0001;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #3b4252;
  cursor: pointer;
  -webkit-transition: 0.3s all ease;
  transition: 0.3s all ease;
}

.nav__search-button:hover {
  background-color: #3b4252;
  color: #eceff4;
  text-shadow: 1px 1px 0 #0005;
}

@media screen and (min-width: 961px) {
  .nav {
    position: fixed;
    left: 0;
    right: 0;
    height: 40px;
    padding: 0;
    margin: 0;
    background-color: #35544e;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    padding: 0 10px;
    -webkit-box-shadow: 0 10px 30px #0002;
            box-shadow: 0 10px 30px #0002;
  }
  .nav__open {
    display: none;
  }
  .nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .nav > ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    margin: 0;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .nav > ul > li {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  .nav > ul > li.menu-item-has-children > a::after,
  .nav > ul > li.menu-item-has-children > button::after {
    content: " \f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 5px;
  }
  .nav > ul > li.active.menu-item-has-children > a::after,
  .nav > ul > li.active.menu-item-has-children > button::after {
    content: " \f106";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
  }
  .nav > ul > li.active > a,
  .nav > ul > li.active > button {
    background-color: #fff5;
  }
  .nav > ul > li.active > a:hover,
  .nav > ul > li.active > button:hover {
    background-color: #fff7;
  }
  .nav > ul > li {
    margin-right: 5px;
  }
  .nav > ul > li > ul {
    position: absolute;
    left: -100vw;
    right: 100vw;
    max-height: calc(100vh - 130px);
    padding: 10px;
    overflow-y: auto;
    color: #fff;
    background-color: #2f4d47;
    z-index: -1;
    -webkit-transition: 0.3s all ease;
    transition: 0.3s all ease;
    top: 40px;
    overflow-x: hidden;
  }
  .nav > ul > li > ul a,
  .nav > ul > li > ul button {
    -webkit-transition: 0.3s all ease;
    transition: 0.3s all ease;
    background: transparent;
    border-radius: 5px;
    color: #fff;
    font-size: 0.8em;
    font-weight: 600;
    text-shadow: 1px 1px 0 #0005;
    text-decoration: none;
    border: none;
    margin: 2px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    padding: 5px;
    text-align: left;
  }
  .nav > ul > li > ul > li {
    width: 30%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .nav > ul > li > ul > li:not(:last-child) {
    border-bottom: 1px solid #fff1;
  }
  .nav > ul > li > ul > li.menu-item-has-children > a::after,
  .nav > ul > li > ul > li.menu-item-has-children > button::after {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 5px;
  }
  .nav > ul > li > ul > li > ul {
    position: absolute;
    opacity: 0;
    right: -100vw;
    left: 100vw;
    -webkit-transition: 0.3s all ease;
    transition: 0.3s all ease;
    top: 10px;
    bottom: 10px;
    border-radius: 5px;
    padding: 10px;
    background-color: #456b63;
  }
  .nav > ul > li > ul > li > ul button,
  .nav > ul > li > ul > li > ul a {
    font-weight: 600;
    padding: 5px 10px;
  }
  .nav > ul > li > ul > li > ul button:hover,
  .nav > ul > li > ul > li > ul a:hover {
    background-color: #fff1;
  }
  .nav > ul > li > ul > li:hover {
    background-color: #456b63;
  }
  .nav > ul > li > ul > li:hover > ul {
    z-index: 1;
    right: 0;
    left: 30%;
    opacity: 1;
    -webkit-box-shadow: -5px 10px 60px #0002;
            box-shadow: -5px 10px 60px #0002;
  }
  .nav > ul > li > ul > li > a,
  .nav > ul > li > ul > li > button {
    text-shadow: 1px 1px 0 #0005;
    -webkit-transition: 0.3s all ease;
    transition: 0.3s all ease;
    background: transparent;
    border-radius: 5px;
    color: #fff;
    font-size: 0.75em;
    font-weight: 500 !important;
    text-decoration: none;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
  .nav > ul > li > ul > li > a::after,
  .nav > ul > li > ul > li > button::after {
    margin-left: 5px;
  }
  .nav > ul > li.active > ul {
    left: 0;
    right: 0;
  }
  .nav > ul > li > a,
  .nav > ul > li > button {
    -ms-flex-negative: 1;
        flex-shrink: 1;
    line-height: 10px;
    z-index: 2;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    text-decoration: none;
    border: none;
    font-size: 0.75em;
    outline: none;
    font-weight: 600;
    height: 30px;
    padding: 0 7px;
    cursor: pointer;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
    -webkit-transition: 0.2s all ease;
    transition: 0.2s all ease;
    color: #fff;
    text-shadow: 1px 1px 0 #0005;
    border-radius: 5px;
    background-color: transparent;
  }
  .nav > ul > li > a:hover,
  .nav > ul > li > button:hover {
    -webkit-box-shadow: 0 10px 30px #0002;
            box-shadow: 0 10px 30px #0002;
    background-color: #fff1;
  }
  .nav > ul > li > a > i,
  .nav > ul > li > button > i {
    margin-right: 5px;
  }
}

@media screen and (max-width: 960px) {
  .nav > .nav__search {
    display: none;
  }
  .nav__viewer {
    -webkit-transition: 0.3s all ease;
    transition: 0.3s all ease;
    margin: 0;
    position: fixed;
    background-color: #35544e;
    padding: 10px;
    padding-right: 10px;
    border-bottom: 56px solid #2f4d47;
    overflow-y: auto;
    list-style: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    top: 0;
    bottom: 0;
    z-index: 3;
    list-style: none;
  }
  .nav__viewer-header {
    margin: 10px 0 0 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .nav__viewer-title {
    font-size: 0.9em;
    font-weight: 600;
    padding: 5px 10px;
    text-align: center;
    border-radius: 10px;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    color: #fff;
    text-overflow: ellipsis;
    overflow-x: hidden;
    white-space: nowrap;
  }
  .nav__viewer-back {
    display: none;
  }
  .nav__viewer-back {
    position: fixed;
    bottom: 10px;
    right: 10px;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    padding: 0 10px;
    color: #333;
    background-color: #eee;
    border-radius: 5px;
    border: none;
    height: 36px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-shadow: 0 10px 30px #0001;
            box-shadow: 0 10px 30px #0001;
    cursor: pointer;
    -webkit-transition: 0.2s all ease;
    transition: 0.2s all ease;
    opacity: 0;
  }
  .nav__viewer-back:hover {
    background-color: #fff;
  }
  .nav__viewer-back::before {
    content: "\f053";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    font-size: 1em;
    line-height: 15px;
    margin-right: 5px;
  }
  .nav__viewer-back::after {
    font-size: 0.9em;
    content: "Назад";
    font-weight: 600;
  }
  .nav__viewer-body {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    padding: 10px;
    border-radius: 10px;
    background-color: #456b63;
  }
  .nav__viewer-body ul {
    display: none;
  }
  .nav__viewer-body > li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-transition: 0.2s all ease;
    transition: 0.2s all ease;
  }
  .nav__viewer-body > li:not(:last-child) {
    border-bottom: 1px solid #fff2;
  }
  .nav__viewer-body > li:first-child {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }
  .nav__viewer-body > li:last-child {
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
  }
  .nav__viewer-body > li:hover {
    background-color: #fff1;
  }
  .nav__viewer-body > li a,
  .nav__viewer-body > li button {
    text-align: left;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    padding: 5px 10px;
    color: #fff;
    font-weight: 500;
    font-size: 0.8em;
    border: none;
    text-decoration: none;
    background-color: transparent;
    border-radius: 5px;
    margin: 5px;
    cursor: pointer;
  }
  .nav__viewer-body > li a > i,
  .nav__viewer-body > li button > i {
    margin-right: 5px;
  }
  .nav__viewer-body > li.menu-item-has-children {
    cursor: pointer;
  }
  .nav__viewer-body > li.menu-item-has-children > a,
  .nav__viewer-body > li.menu-item-has-children > button {
    font-weight: 600;
    color: #ebcb8b;
  }
  .nav__viewer-body > li.menu-item-has-children > a::before,
  .nav__viewer-body > li.menu-item-has-children > button::before {
    content: " \f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
  }
  .nav__viewer-body > li.menu-item-has-children > ul {
    display: none;
  }
  .nav > ul {
    display: none;
  }
  .nav__open {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 1em;
    border-radius: 5px;
    border: none;
    z-index: 4;
    background-color: #456b63;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    -webkit-transition: 0.1s all ease;
    transition: 0.1s all ease;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-shadow: 1px 1px 0 #0005;
    -webkit-box-shadow: 10px 0 30px #0003;
            box-shadow: 10px 0 30px #0003;
  }
  .nav__open::before {
    content: "\f0c9";
    font-weight: 600;
    font-family: "Font Awesome 5 Free";
    font-size: 1em;
  }
  .nav__open:hover {
    -webkit-filter: brightness(1.2);
            filter: brightness(1.2);
    color: #ebcb8b;
  }
  .nav__open + .nav__viewer {
    left: -100vw;
    right: 100vw;
  }
  .nav__open.nav__open_active {
    background-color: #456b63;
    opacity: 0;
  }
  .nav__open.nav__open_active::before {
    content: "\f00d";
    font-weight: 600;
    font-family: "Font Awesome 5 Free";
  }
  .nav__open.nav__open_active + .nav__viewer {
    left: 0;
    right: 0;
    z-index: 7;
  }
  .nav__open.nav__open_active + .nav__viewer .nav__viewer-back {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    opacity: 1;
  }
}
/*# sourceMappingURL=nav.css.map */