#nav {
  position: absolute;
  width: 24%;
  top: 2em;
  left: 0;
}

#nav ul {
  display: block;
  width: 100%;
  list-style: none;
}

#nav ul ul {
	position:inherit;
	float:inherit;
	border:none;
	-webkit-border-radius:0px; border-radius:0px;
	-webkit-box-shadow:none;
	box-shadow:none;
	
}
#nav ul li li { border:none !important; }
#nav ul ul li { background-color:#eff8fd; }
#nav ul ul li a,
#nav li:first-child a { padding-left:45px; border-bottom:1px solid rgba(0, 0, 0, 0.2) !important; }

#nav ul li a { padding:10px 15px !important; }
#nav ul ul li a { padding-left:30px !important; }
#nav ul ul ul li a { padding-left:45px !important; }

/*
#nav ul ul li.parent a { 
	background-image:url('../images/arrow-menu.png'); background-repeat:no-repeat; background-position:0px 50%;
}
#nav ul ul li.parent ul li a { 
	background-image:none;
}*/

#nav li {
  width: 100%;
  display: block;
	background-color:#FFFFFF;
}

#nav a {
  color: #000000;
  font-weight: bold;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: background .3s ease;
  -moz-transition: background .3s ease;
  transition: background .3s ease;
  border-bottom: 1px solid rgba(0,0,0, .2);
  border-top: 1px solid rgba(255,255,255, .1);
  display: block;
  padding: .6em 2em;
  width: 100%;
}

#nav a:hover { background: rgba(255,255,255, .1); }
#nav .active a { color: #fff; background: rgba(0,0,0, .3) }
#nav li:first-child a { border-top: 0 }
#nav li:last-child a { border-bottom: 0 }
#nav-toggle { display: none }

@media screen and (max-width: 48em) {
  .js #nav {
    clip: rect(0 0 0 0);
    max-height: 0;
    position: absolute;
    display: block;
    overflow: hidden;
  }
  #nav {
    top: 10px; /* 2020 DATAISIX > original: 0 */;
    width: 100%;
    position: relative;
  }
  #nav.opened { max-height: 9999px }
  #nav a:hover { background: transparent }
  #nav .active a:hover { color: #fff; background: rgba(0,0,0, .3) }
  #nav-toggle {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: block;
	width: 100%;
/*    width: 70px;*/
    height: 55px;
    float: right;
/*    margin: 0 -2em 1em 0;*/
	margin-top:10px; /*2020 DATASIX > original: 6px */
    text-indent: -9999px;
    overflow: hidden;
    background: #fff url("../images/hamburger.gif") no-repeat 50% 50%;
  }
  .main {
    -webkit-overflow-scrolling: auto;
    box-shadow: none;
    padding: 0 2em 2em;
    border-radius: 0;
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  .main::-webkit-scrollbar { background-color: transparent }
}

@media screen and (-webkit-min-device-pixel-ratio: 1.3), screen and (min--moz-device-pixel-ratio: 1.3), screen and (-o-min-device-pixel-ratio: 2 / 1), screen and (min-device-pixel-ratio: 1.3), screen and (min-resolution: 192dpi), screen and (min-resolution: 2dppx) {
  #nav-toggle {
    background-image: url("../images/hamburger-retina.gif");
    -webkit-background-size: 100px 100px;
    -moz-background-size: 100px 100px;
    -o-background-size: 100px 100px;
    background-size: 100px 100px;
  }
}

@media screen and (min-width: 76em) {
  #nav { width: 18em }
  .main { width: auto; left: 18em }
}
