/* body.node-type-digital-exhibition  */

/* NOTE: see css/mobile.css for overrides for non-digital exhibition pages */

nav#hamburger {
  background: transparent;
  position: fixed;
  z-index: 20;
  top: 0;
  /*
  left: 50%;
  transform: translate(-50%, 0);
  width: 100%;
  */
  right: 0;
}

nav#hamburger .inside {
  position: relative;
  margin: auto;
}

/* Start: hamburger menu code */
#menuToggle {
  display: block;
  position: relative;
/*
  padding: 20px 0px 0px 0px;
  top: 20px;
  left: 20px;
*/
  z-index: 1;
  -webkit-user-select: none;
  user-select: none;

  float: right;
  margin-right: 30px;
  margin-top: 30px;
  padding-left: 9px;
  padding-top: 10px;
}

#menuToggle input {
  display: block;
  width: 32px;
  height: 32px;
  position: absolute;
  top: 10px;
  /* right: 10px; /* left: 10px; */
  cursor: pointer;
  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */
  -webkit-touch-callout: none;
}

/* hamburger */
#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  /* margin-right: 20px; */
  margin-bottom: 5px;
  position: relative;
  background: #444; /*background: #7e7e7e;*/
  border-radius: 3px;
  z-index: 1;
  transform-origin: 4px 0px;
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child { transform-origin: 0% 0%; } 
#menuToggle span:nth-last-child(2) { transform-origin: 0% 100%; }

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  /* background: #232323; */
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
nav .hmenu {
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */
  
  /*
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  */
  max-height: 0px;
  overflow: hidden;
  
  transition: /* transform */ all 0.5s cubic-bezier(0.77,0.2,0.05,1.0);

}

/* slide it in from the left */
#menuToggle input:checked ~ .hmenu { /* transform: none; */ max-height: 475px;  }
#menuToggle input:checked ~ .hmenu li a:hover { color: #000; }

nav .hmenu {
  position: absolute;
  top: 48px; /* 17px; */
  margin: 0;
  padding: 0 0 0 10px;
  width: 100%;
  font-weight: 800;
  font-family: Nunito;
  text-transform: uppercase;
  font-size: 18px;
  /*  */
  right: 10px;
  width: 230px;

  border-left: 1px solid #ccc;
}
nav .hmenu li:first-child { padding-top: 10px; }
nav .hmenu li:last-child { padding-bottom: 20px; }

/* by default on mobile hide text menu options */
nav .hmenu li {
  display: block;
  background: #fff;
  padding: 10px;
}

/*
@media screen and (max-width: 900px) {
  body #menuToggle { margin: 10px 10px 0 0; }
}
*/
@media screen and (max-width: 620px) {
}
@media screen and (min-width: 621px) {
}
