/* NAV */

#fader {
  display: none;
  width: 100%;
  height: 70px;
  position: fixed;
  right: 0;
  margin: 0;
  z-index: 8;

  background: rgba(199,185,184,0.9);
  background: linear-gradient(90deg, rgba(199,185,184,1) 0%, rgba(231,229,226,1) 35%, rgba(231,229,226,1) 60%, rgba(174,174,174,1) 100%);
  opacity: 0;
}

.ham {
  position:fixed;
  top: 20px;
  right: 20px;
  z-index: 999;
  height: 32px;
  width: 32px;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.ham span,
.ham span::before,
.ham span::after {
  position: absolute;
  content: '';
  width: 32px;
  height: 3px;

  background: #e0e0e0;
  border-radius: 20px;
  transition: 500ms cubic-bezier(0.77, 0, 0.175, 1);
}
.ham span::before {
  top: -10px;
}
.ham span::after {
  top: 10px;
}
.ham.cross > span {
  background: transparent;
}
.ham.cross > span::before,
.ham.cross > span::after {
  background-color: rgba(255, 255, 255, 0.8);
  /* background: #E84092; */
  top: 0px;
}
.ham.cross > span::before {
  -webkit-transform: rotate(-225deg);
  transform: rotate(-225deg);
}
.ham.cross > span::after {
  -webkit-transform: rotate(225deg);
  transform: rotate(225deg);
}

.btn-navBack {
  position: fixed;
  width: 20px;
  height: 20px;
  top: 22px;
  left: 20px;
  z-index: 999;
  padding: 0;
  border: rgba(255, 255, 255, 0.8) solid;
  border-width: 0 0 4px 4px;
  border-radius: 4px;
  transform:rotate(45deg);
  cursor: pointer;

  display: none;
}

.screen-blackOut {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  border: 0;
  background-color: rgba(40, 40, 40, 0.8);
  display: none;
}

/* ------ MENU ------ */

nav {
  width: 255px;
  height: 100vh;
  display: block;
  background: linear-gradient(45deg, rgba(255,219,194,1) 0%, rgba(210,99,138,1) 100%);
  position:fixed;
  top: 0px;
  right: -255px;
  z-index: 11;
  overflow-y: auto;
}
.paddingTop-active{
  padding-top: 15px;
}
.paddingTop-deactive{
  padding-top: 70px;
}

/* clear'n floats */
nav > ul:after {
  clear: both;
}

nav > ul:before,
nav > ul:after {
  content: " ";
  display: table;
}

.active {
  color: rgba(0, 0, 0, 1) !important;
}

/* prime */

.level-1 li {
  list-style: none;
  position: relative;
  vertical-align: text-top;
}

.level-1 li a {
  font-family: 'DB HeaventRounded Med';
  display: block;
  text-align: right;
  color: rgba(85, 85, 80, 1);
  font-size: 1.2em;
  padding: 10px;
  text-decoration: none;
  cursor: pointer;
}
.level-1 > li:hover > ul{
  display: flex;
}

/* subs */
.level-2 {
  display:none;
  vertical-align: top;
  flex-flow: column nowrap;
}

.sub > li {
  border-bottom: 1px dotted rgba(100,100,100,0.8);
}
.sub li a{
  font-size: 1em;
  color: rgba(0,0,0,0.8);
  padding: 8px 20px;
}
.sub li:first-child {
  border-top: 1px dotted rgba(100,100,100,0.8);
}
.sub li:last-child {
  border:none;
}

.level-3 {
  display: none;
  flex-flow: column nowrap;
  background-color: rgba(245, 245, 245, .3);
}

ul.level-3 li {
  border-bottom: 1px dotted rgba(100,100,100,0.8);
}
ul.level-3 li:first-child {
  border-top: 2px solid rgba(100,100,100,0.6);
}
ul.level-3 li:last-child {
  border-bottom: 2px solid rgba(100,100,100,0.6);
}

.level-3 li{
 flex-basis: 100%;
}

.level-3 li a{
  font-size: 1em;
  color: rgba(0, 0, 0, 0.6) !important;
  border: none;
}

/*hd*/
@media (min-width: 992px) {
  #fader {
    display: block;
  }

  .ham {
    display: none;
  }
  nav {
    width:inherit;
    height:inherit;
    top: 50px;
    right: 1.2em;
    background:transparent;
  }

  .paddingTop-deactive {
    padding-top: 0;
  }

  #menu2 {
    width: 230px;
  }
  #subMenu2 {
    width: 542px;
    /* width: 400px; */
  }
  #menu3 {
    width: 140px;
  }
  #subMenu3 {
    width: 295px;
  }
  #menu4 {
    width: 235px;
  }
  #subMenu4 {
    width: 265px;
  }
  #menu5 {
    width: 200px;
  }
  #subMenu5 {
    width: 200px;
  }
  .level-1 {
    margin-right: 0;
  }
  .level-1 li {
    display: inline-block;
  }
  .level-1 li a {
    text-align: center;
  }

  .level-1 li:hover > a {
    color: rgba(0, 0, 0, 1);
    background-color: rgba(255, 255, 255, 1);
  }

  .level-2 {
    flex-flow: row wrap;
  }
  .sub > li {
    background-color: rgba(255, 255, 255, 1);
  }

  .sub > li:hover > ul{
    display: flex;
  }

  .sub li a{
    padding: 8px 20px !important;
  }
  .sub li:first-child a{
    border-top: none;
  }

  .level-2 li > .active{
    color: rgba(219, 112, 147, 1) !important;
    cursor: default;
  }

  .level-2 li ,
  .level-3 li{
    display: block;
    text-align: left;
    flex-basis: 100%;
  }

  #subMenu2 li {
    flex-basis: 50%
  }

  #subMenu2 li:nth-last-child(2) a{
    border-bottom: none;
  }

  #subMenu2 > li:nth-child(odd) > a{
    border-right: 1px dotted rgba(100,100,100,0.8);
  }

  .level-2 li a,
  .level-3 li a{
    font-size: 1em;
    text-align: left;
  }
  .level-2 li:hover a{
    color: rgba(219, 112, 147, 1);
    background-color: rgba(200, 200, 200, 0.1);
  }
  .level-3{
    width: 240px;
    position:absolute;
    top: -25px;
    left: 120px;
    z-index: 1;
    display: none;
    -webkit-box-shadow: 2px 2px 3px 2px rgba(0,0,0,0.3);
    box-shadow: 2px 2px 6px 0 rgba(0,0,0,0.3);

    background-color: rgba(245, 245, 245, 1);
    border: 2px solid rgba(150, 150, 150, .3);
    border-radius: 10px;

  }

  ul.level-3 li:first-child {
    border-top: none;
  }
  ul.level-3 li:last-child {
    border-bottom: none;
  }

  .level-3 li:hover a {
    color: rgba(219, 112, 147, 1) !important;
    background-color: rgba(100, 100, 100, 0.1);
  }
}

/* ---- animation ---- */
.slide-In {
  -webkit-animation: slide-In 0.3s ease-in-out both;
  animation: slide-In 0.3s ease-in-out both;
  -webkit-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.5);
  -moz-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.5);
  box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.5);
}
@-webkit-keyframes slide-In {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-255px);
    transform: translateX(-255px);
  }
}
@keyframes slide-In {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-255px);
    transform: translateX(-255px);
  }
}

.slide-Out {
  -webkit-animation: slide-Out 0.3s ease-in-out both;
  animation: slide-Out 0.3s ease-in-out both;
}
@-webkit-keyframes slide-Out {
  0% {
    -webkit-transform: translateX(-255px);
    transform: translateX(-255px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
@keyframes slide-Out {
  0% {
    -webkit-transform: translateX(-255px);
    transform: translateX(-255px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
