/*! off_canvas_nav.css v1.0.0 | MIT License | by: CJ O'Hara */
html, body {
  height: 100%; }

.container { }

.content {
  background: white;
  left: 0;
  position: relative;
  z-index: 1; }

.nav_toggle {
  display: none;
  cursor: pointer; }

.off_canvas_container {
	font-family: "Raleway",sans-serif;
  background-color: #008191;
  width: 18.5em;
  padding-right: 1.5em;
  height: 100%;
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 0;
  display: none;
  overflow-x: hidden; }
  @media only screen and (max-width: 64em) {
    .off_canvas_container {
      display: block; } }

.off_canvas_top_menu {
  display: block;
  position: fixed;
  top: 0;
  z-index: 3;
  padding-right: 1.5em;
  left: 0;
  width: 16.5em;
  height: 3em; }

.off_canvas_toggles {
  position: relative;
  width: 17em;
  height: 3em; }

.nav_close_btn, .nav_prev_btn {
  position: absolute;
  display: inline-block;
  top: 0;
  bottom: 0;
  right: 0;
  cursor: pointer; }

.nav_prev_btn {
  display: none;
  left: 0; }

nav.off_canvas {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin-top: 3em;
  display: none;
  width: 17em;
  overflow: hidden; }
nav.off_canvas ul {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0; }
nav.off_canvas ul li{width:100%;}
  nav.off_canvas a, nav.off_canvas a:link, nav.off_canvas a:visited {
    display: block; }
  nav.off_canvas > ul ul {
    position: absolute;
    top: 0;
    bottom: 0;
    background: #008191;
    width: 100%;
    left: 100%;
    display: block;
    -webkit-transition: left 0.35s ease-in-out;
    -moz-transition: left 0.35s ease-in-out;
    -ms-transition: left 0.35s ease-in-out;
    -o-transition: left 0.35s ease-in-out;
    transition: left 0.35s ease-in-out; }
  nav.off_canvas span.nav_next_btn {
    position: absolute;
	z-index:1;
    text-decoration: none;
    right: 0;
    display: inline-block; }
  nav.off_canvas ul.nav_level_current {
    z-index: 2;
    left: 0;
    display: block; }
  nav.off_canvas ul.nav_level_prev {
    z-index: 1;
    left: 0;
    display: block;
    overflow: hidden; }

@media only screen and (max-width: 64em) {
  nav.main_nav {
    display: none; }

  nav.off_canvas {
    display: block; }

  .nav_toggle {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0; }

  .off_canvas_animate.opened {
    opacity: 1;
    position: fixed;
    left: 0;
    -webkit-animation: slideIn 0.35s ease-in-out;
    -moz-animation: slideIn 0.35s ease-in-out;
    -o-animation: slideIn 0.35s ease-in-out;
    animation: slideIn 0.35s ease-in-out; }

  @-webkit-keyframes slideIn {
    0% {
      opacity: .3;
      left: 3.25em; }

    100% {
      opacity: 1;
      left: 0; } }

  @-moz-keyframes slideIn {
    0% {
      opacity: .3;
      left: 3.25em; }

    100% {
      opacity: 1;
      left: 0; } }

  @-o-keyframes slideIn {
    0% {
      opacity: .3;
      left: 3.25em; }

    100% {
      opacity: 1;
      left: 0; } }

  @keyframes slideIn {
    0% {
      opacity: .3;
      left: 3.25em; }

    100% {
      opacity: 1;
      left: 0; } }

  /*Nav Shrinking Closed Effect*/
  .off_canvas_animate.closed {
    opacity: .3;
    left: 3.25em;
    -webkit-animation: slideOut 0.35s ease-in-out;
    -moz-animation: slideOut 0.35s ease-in-out;
    -o-animation: slideOut 0.35s ease-in-out;
    animation: slideOut 0.35s ease-in-out; }

  @-webkit-keyframes slideOut {
    0% {
      opacity: 1;
      left: 0; }

    100% {
      opacity: .3;
      left: 3.25em; } }

  @-moz-keyframes slideOut {
    0% {
      opacity: 1;
      left: 0; }

    100% {
      opacity: .3;
      left: 3.25em; } }

  @-o-keyframes slideOut {
    0% {
      opacity: 1;
      left: 0; }

    100% {
      opacity: .3;
      left: 3.25em; } }

  @keyframes slideOut {
    0% {
      opacity: 1;
      left: 0; }

    100% {
      opacity: .3;
      left: 3.25em; } }

  .off_canvas_container.opened {
    overflow-x: hidden;
    overflow-y: scroll; }

  .off_canvas_container.opened ul.nav_level_current {
    overflow-x: hidden;
    overflow-y: scroll; }

  .content_animate {
    left: 0; }

  /* CONTENT ANNIMATION */
  .content_animate.opened {
    cursor: pointer;
    left: 17em;
    -webkit-animation: open 0.5s ease-in-out;
    -moz-animation: open 0.5s ease-in-out;
    -o-animation: open 0.5s ease-in-out;
    animation: open 0.5s ease-in-out; }

  @-webkit-keyframes open {
    0% {
      left: 0; }

    70% {
      left: 14.5em; }

    100% {
      left: 13em; } }

  @-moz-keyframes open {
    0% {
      left: 0; }

    70% {
      left: 14.5em; }

    100% {
      left: 13em; } }

  @-o-keyframes open {
    0% {
      left: 0; }

    70% {
      left: 14.5em; }

    100% {
      left: 13em; } }

  @keyframes open {
    0% {
      left: 0; }

    70% {
      left: 14.5em; }

    100% {
      left: 13em; } }

  /*Content Sliding Closed Effect*/
  .content_animate.closed {
    left: 0;
    -webkit-animation: close 0.4s ease-in-out;
    -moz-animation: close 0.4s ease-in-out;
    -o-animation: close 0.4s ease-in-out;
    animation: close 0.4s ease-in-out; }

  @-webkit-keyframes close {
    0% {
      left: 13em; }

    70% {
      left: -1.5em; }

    100% {
      left: 0; } }

  @-moz-keyframes close {
    0% {
      left: 13em; }

    70% {
      left: -1.5em; }

    100% {
      left: 0; } }

  @-o-keyframes close {
    0% {
      left: 13em; }

    70% {
      left: -1.5em; }

    100% {
      left: 0; } }

  @keyframes close {
    0% {
      left: 13em; }

    70% {
      left: -1.5em; }

    100% {
      left: 0; } } }
