/*!
 * dotcentric-nav v1.0.3
 * http://www.dotcentric.co.uk
 * Copyright (c) dotcentric 2014
 */
html {
  height: 100%;
}

body {
  position: relative;
  height: 100%;
}

.dcnav-container {
  overflow: hidden;
  width: 100%;
}

.dcnav-main {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
}

.dcnav {
  position: relative;
  clear: both;
}
.dcnav * {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.dcnav .is-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.dcnav-wrapper {
  position: relative;
}

.dcnav-menu {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dcnav-link,
.dcnav-back,
.dcnav-close {
  display: block;
  cursor: pointer;
  position: relative;
}

.dcnav-link {
  word-wrap: break-word;
  word-break: break-word;
}

.dcnav-item {
  display: block;
}
.dcnav-item > .dcnav-menu {
  display: none;
}

.dcnav-title {
  font-size: inherit;
  font-weight: normal;
  margin: 0;
}

/*!
 * dotcentric-nav (mobile)
 */
@media screen and (max-width: 959px) {
  .dcnav-main {
    z-index: 1;
    position: relative;
    min-height: 100%;
  }

  .dcnav-root {
    position: relative;
    left: 0;
    -webkit-transition: left 400ms ease;
    transition: left 400ms ease;
  }
  .dcnav-root.is-nav-active .dcnav {
    z-index: 90000;
    opacity: 1;
  }
  .dcnav-root.is-nav-active .dcnav-menu.is-active {
    -webkit-overflow-scrolling: touch;
  }
  .dcnav-root.is-nav.is-nav-effect-push, .dcnav-root.is-nav.is-nav-effect-behind {
    left: 260px;
  }
  .dcnav-root.is-nav .dcnav {
    pointer-events: all;
    left: 0;
  }

  .dcnav {
    z-index: 90000;
    overflow: hidden;
    position: absolute;
    position: fixed;
    top: 0;
    left: -260px;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-width: 260px;
    -webkit-transition: left 400ms ease;
    transition: left 400ms ease;
    pointer-events: none;
    opacity: 0;
  }
  .dcnav.is-effect-push {
    left: -260px;
    width: 260px;
  }
  .dcnav.is-effect-behind {
    z-index: 0 !important;
    left: 0 !important;
  }
  .dcnav .is-desktop {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  .dcnav-wrapper {
    position: absolute;
    padding: 0;
    margin: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    -webkit-transition: left 400ms ease;
    transition: left 400ms ease;
  }

  .dcnav-back,
  .dcnav-close,
  .dcnav-link {
    width: 100%;
  }

  .dcnav-menu {
    height: 100%;
  }
  .dcnav-menu.is-active {
    overflow-y: auto;
    overflow-x: hidden;
  }

  .dcnav-item {
    clear: both;
  }
  .dcnav-item .dcnav-menu {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
  }
  .dcnav-item.is-active > .dcnav-menu {
    display: block;
    height: 100%;
  }

  .dcnav.is-effect-top {
    -webkit-transition: none;
    transition: none;
    position: relative;
    left: auto;
    width: auto;
    height: auto;
    max-width: none;
    margin-left: 15px;
    margin-right: 15px;
  }
  .dcnav.is-effect-top .dcnav-close {
    display: none;
  }
  .dcnav.is-effect-top .dcnav-menu {
    height: auto !important;
  }
  .dcnav.is-effect-top .dcnav-wrapper {
    position: relative;
    top: 0;
    height: 0;
    -webkit-transition: left 400ms ease, height 400ms ease;
    transition: left 400ms ease, height 400ms ease;
  }

  .no-js .dcnav-main {
    height: auto;
    min-height: 0;
  }
  .no-js .dcnav,
  .no-js .dcnav-wrapper {
    position: relative;
    height: auto;
    top: auto;
    left: auto;
    max-width: none;
    pointer-events: all;
    opacity: 1;
  }
  .no-js .dcnav-back,
  .no-js .dcnav-title {
    display: none;
  }
  .no-js .dcnav-item.is-ajax {
    display: none;
  }
  .no-js .dcnav-menu {
    position: relative;
    display: block;
    top: auto;
    left: auto;
  }
}
/*!
 * dotcentric-nav (desktop)
 */
@media screen and (min-width: 960px) {
  .dcnav {
    z-index: 100;  /* was 90000*/
  }
  .dcnav .is-mobile {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }

  .dcnav-close,
  .dcnav-back,
  .dcnav-title {
    display: none !important;
  }

  .dcnav-wrapper {
    padding: 0;
    left: auto !important;
    min-height: 0 !important;
    height: auto !important;
  }

  .dcnav-menu {
    *zoom: 1;
  }
  .dcnav-menu:before, .dcnav-menu:after {
    content: "";
    display: table;
  }
  .dcnav-menu:after {
    clear: both;
  }

  .dcnav-item {
    position: relative;
    float: left;
  }
  .dcnav-item.is-ajax > .dcnav-menu {
    display: none;
  }
  .dcnav-item .dcnav-item {
    float: none;
  }
  .dcnav-item .dcnav-menu {
    position: absolute;
    top: 100%;
    left: 0;
  }
  .dcnav-item .dcnav-menu .dcnav-menu {
    display: none !important;
  }
  .dcnav-item:hover > .dcnav-menu {
    display: block;
  }
}
