.nav {
  display: block;
  margin-left: auto;
}
.menu {
  margin: 10px;
}
#page-1 .menu a {
  color: var(--c-white);
}
#page-1 .fixed .menu a,
.menu a {
  display: block;
  padding: 5px 10px;
  box-shadow: none;
  color: var(--c-grey);
}
.fixed .menu a {
  color: var(--c-darkgrey);
}
.menu-item {
  list-style: none;
  position: relative;
  margin: 0 5px;
}
.menu-item a:hover{
  opacity: .7;
}
.menu-item.hasSub {
  padding: 0 15px 0 0;
}

/* Submenu */
.submenu {
  display: none;
  padding: 5px 0;
  border-top: 1px solid var(--c-white);
  border-bottom: 1px solid var(--c-white);
  position: absolute;
}
.submenu .menu-item a{
  color: #444;
}
.submenu .menu-item a:hover{
  color: #cc3300;
}
.submenu .menu-item.active a{
  color: #cc3300;
}
.hasSub::before{
  content: '';
  width: 7px;
  height: 7px;
  border-bottom: 1px solid var(--c-white);
  border-left: 1px solid var(--c-white);
  transition: all 0.5s ease;
  cursor: pointer;
  transform: rotate(-45deg);
  position: absolute;
  right: 5px;
  top: 12px;
}
.hasSub:hover::before{
  transform: rotate(45deg); 
  border-color: #ccc; 
}
#page-1 .submenu.open {
  background: transparent;
}
.submenu.open {
  background: #fff;
}

/*********** general resp ***********/
@media (max-width: 900px) {
  html.noscroll {
    overflow: hidden;
  }
  body.noscroll {
    overflow: visible;
    height: 100%;
  }
}
/*********** nav resp ***********/
@media (max-width: 900px) {
  .nav {
    position: fixed;
    z-index: 99;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.8);
    opacity: 0;
    transition: opacity .3s ease;
    text-align: center;
  }
  .menu {
    margin: 0 0 80px;
  }
  .menu-item {
    font-size: 22px;
    font-weight: 300;
    margin: 20px 0;
  }
  .menu-item a {
    padding: 10px 0;
    text-decoration: none;
  }
  .open {
    opacity: 1;
    right: 0;
  }
  .nav__container {
    position: absolute;
    padding: 80px 20px 30px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: var(--c-blue);
  }
  .mobile .ce-bodytext {
    text-align: center;
  }
  .submenu{
    position: relative;
  }
}

/*********** pulldown ***********/
#pulldown {
  text-align: center;
  background: var(--c-white);
  cursor: pointer;
  z-index: 999;
  transition: all 0.2s ease-in-out;
  margin-left: auto;
}
#pulldown div {
  margin: auto;
  padding: 20px 14px;
  transition: all 0.2s ease-in-out;
}
#pulldown span {
  display: block;
  height: 2px;
  width: 36px;
  margin: auto;
  margin-top: 5px;
  background: #222;
  transition: all 0.2s ease-in-out;
}
#pulldown span:first-child {
  margin-top: 0;
}
#pulldown .open span {
  /*background: var(--c-white);*/
  position: relative;
}
#pulldown .open span:first-child {
  transform: rotate(45deg);
  top: 7px;
}
#pulldown .open span:nth-child(2) {
  opacity: 0;
}
#pulldown .open span:last-child {
  transform: rotate(-45deg);
  top: -8px;
}

/*********** pulldown resp ***********/
@media (max-width: 900px) {
  .pulldown__container {
    position: relative;
    z-index: 9999;
    background: var(--sub-bg-color);
  }
}

/*********** general resp ***********/
@media (min-width: 900px) {
  .menu {
    display: flex;
    align-items: center;
    float: right;
  }
  .mobile {
    display: none;
  }
}

