/* Icons (made with Icomoon.io) */
@font-face {
  font-family: "feather";
  font-weight: normal;
  font-style: normal;
  src: url("../fonts/feather/feather.eot?1gafuo");
  src: url("../fonts/feather/feather.eot?1gafuo#iefix")
      format("embedded-opentype"),
    url("../fonts/feather/feather.woff2?1gafuo") format("woff2"),
    url("../fonts/feather/feather.ttf?1gafuo") format("truetype"),
    url("../fonts/feather/feather.woff?1gafuo") format("woff"),
    url("../fonts/feather/feather.svg?1gafuo#feather") format("svg");
}

.icon {
  font-family: "feather";
  font-weight: normal;
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-transform: none;
  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  speak: none;
}

.icon--arrow-left:before {
  content: "\e901";
}

.icon--menu:before {
  content: "\e903";
  font-size: 1.3em;
}

.icon--cross:before {
  content: "\e117";
  font-size: 1.3em;
}

/* Menu styles */
.menu {
  position: fixed;
  top: 95px;
  left: 0;
  width: 300px;
  /*height: calc(100vh - 120px);*/
  height: 100%;
  background: #fafafa;
  font-size: 0.85em;
}

.menu__wrap {
  position: absolute;
  top: 5.2em;
  bottom: 0;
  overflow: hidden;
  width: 100%;
}

.menu__level {
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
  overflow: hidden;
  overflow-y: scroll;
  width: calc(100% + 50px);
  height: 100%;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.menu__level:focus {
  outline: none;
}

.menu__level--current {
  visibility: visible;
}

.menu__item {
  display: block;
  width: calc(100% - 50px);
}

@media screen and (max-width: 767px) {
  .menu__item:first-child {
    margin-top: 5.5em;
  }
}

.menu__link {
  font-weight: 400;
  position: relative;
  display: block;
  padding: 1em 2.5em 1em 1.5em;
  color: #303761;
  -webkit-transition: color 0.1s;
  transition: color 0.1s;
}

.menu__link[data-submenu]::after {
  content: "\e904";
  font-family: "feather";
  position: absolute;
  right: 0;
  padding: 0.25em 1.25em;
  color: #303761;
}

.menu__link:hover,
.menu__link:focus,
.menu__link[data-submenu]:hover::after,
.menu__link[data-submenu]:focus::after {
  color: #197faa;
  text-decoration: none;
}

.menu__link--current {
  color: #197faa;
  font-weight: 700;
}

.menu__link--current::before {
  content: "\00B7";
  font-size: 1.5em;
  line-height: 0;
  position: absolute;
  top: 50%;
  left: 0.5em;
  height: 4px;
  color: #197faa;
}

[class^="animate-"],
[class*=" animate-"] {
  visibility: visible;
}

.animate-outToRight .menu__item {
  -webkit-animation: outToRight 0.6s both cubic-bezier(0.7, 0, 0.3, 1);
  animation: outToRight 0.6s both cubic-bezier(0.7, 0, 0.3, 1);
}

@-webkit-keyframes outToRight {
  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}

@keyframes outToRight {
  to {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }
}

.animate-outToLeft .menu__item {
  -webkit-animation: outToLeft 0.6s both cubic-bezier(0.7, 0, 0.3, 1);
  animation: outToLeft 0.6s both cubic-bezier(0.7, 0, 0.3, 1);
}

@-webkit-keyframes outToLeft {
  to {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

@keyframes outToLeft {
  to {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }
}

.animate-inFromLeft .menu__item {
  -webkit-animation: inFromLeft 0.6s both cubic-bezier(0.7, 0, 0.3, 1);
  animation: inFromLeft 0.6s both cubic-bezier(0.7, 0, 0.3, 1);
}

@-webkit-keyframes inFromLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes inFromLeft {
  from {
    opacity: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.animate-inFromRight .menu__item {
  -webkit-animation: inFromRight 0.6s both cubic-bezier(0.7, 0, 0.3, 1);
  animation: inFromRight 0.6s both cubic-bezier(0.7, 0, 0.3, 1);
}

@-webkit-keyframes inFromRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes inFromRight {
  from {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.menu__breadcrumbs {
  font-size: 12px;
  transform: scale(0.833);
  /*10/12=0.833, font-size:10px*/
  line-height: 1.1em;
  position: relative;
  padding: 1em 0 1em 0;
  z-index: 9999;
}

@media screen and (max-width: 767px) {
  .menu__breadcrumbs {
    margin-top: 7.5em;
    width: 29em;
    background: #fafafa;
  }
}

.menu__breadcrumbs a {
  /*font-weight: bold;*/
  /*font-weight: 400;*/
  display: inline-block;
  cursor: pointer;
  vertical-align: middle;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #303761;
  text-decoration: none;
}

.menu__breadcrumbs a:last-child {
  pointer-events: none;
  color: #197faa;
  margin-top: 2px;
  margin-bottom: 2px;
}

.menu__breadcrumbs a:hover,
.menu__breadcrumbs a:focus {
  color: #197faa;
}

.menu__breadcrumbs a:not(:last-child)::after {
  content: "\e902";
  font-family: "feather";
  display: inline-block;
  padding: 0 0.5em;
  color: #303761;
}

.menu__breadcrumbs a:not(:last-child):hover::after,
.menu__breadcrumbs a:not(:last-child):focus::after {
  color: #303761;
}

.menu__back {
  display: inline-block;
  font-size: 1.1em;
  position: absolute;
  z-index: 10001;
  top: 5.6em;
  right: 1.6em;
  margin: 0;
  padding: 0;
  cursor: pointer;
  color: #197faa;
  border: none;
  background: none;
}

.menu__back--hidden {
  pointer-events: none;
  opacity: 0;
}

/*.menu__back:hover,
    .menu__back:focus {
        color: #fff;
        outline: none;
    }*/
/* Open and close buttons */
.action {
  position: absolute;
  display: block;
  margin: 0;
  padding: 0;
  cursor: pointer;
  border: none;
  background: none;
}

.action:focus {
  outline: none;
}

.action--open {
  font-size: 1.5em;
  top: 1.6em;
  right: 1em;
  display: none;
  color: #197faa;
  position: fixed;
  z-index: 10000;
}

.action--close {
  font-size: 1em;
  top: 7.9em;
  right: 1.7em;
  display: none;
  color: #197faa;
  z-index: 10001;
}

@media screen and (max-width: 767px) {
  .action--open,
  .action--close {
    display: block;
  }

  .menu {
    z-index: 1000;
    top: 0;
    width: 100%;
    height: 100vh;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
  }

  .menu--open {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
