/**
 * @file
 * CSS for UI menu.
 */




/*
 * BASIS - BODY
 */


/* init */
.ui-menu-body-init {}


/* active */
.ui-menu-body-active {
  /*
  overflow: hidden; 
  */
}

/* inactive */
.ui-menu-body-inactive {
  /*
  overflow: auto;
  */
}




/*
 * BASIS - CONTROLLER
 */


/* control */
.ui-menu-control {}


/* control-processed */
.ui-menu-control-processed {}




/*
 * BASIS - LINK
 */


/* active */
.ui-menu-link-active {}


/* inactive */
.ui-menu-link-inactive {}




/*
 * BASIS - CONTAINER
 */


/* init */
.ui-menu-container-init {}


/* active */
.ui-menu-container-active {
  display: block;
}

/* inactive */
.ui-menu-container-inactive {
  /*
  display: none;
  */
}




/*
 * BASIS - BLOCK
 */


/* init */
.ui-menu-block-init {
  display: none;
}


/* active */
.ui-menu-block-active {
  display: block;
}


/* inactive */
.ui-menu-block-inactive {
  /*
  display: none;
  */
}








/*
 * BODY + REGION
 */


/* init */
.region-navi-pane {
  /*
  display: none;
  */
}




/* active */
body.ui-menu-body-active .region-navi-pane {  
  /**/
  animation-name: paneShow;
  animation-delay: 0s;
  animation-duration: 0.6s;
  animation-direction: normal;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;

  /**/
  transform: translateY(-100%);
  /**/
}


/* inactive */
body.ui-menu-body-inactive .region-navi-pane {  
  /**/
  animation-name: paneHide;
  animation-delay: 0.5s;
  animation-duration: 0.6s;
  animation-direction: normal;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;

  /**/
  transform: translateY(0);
  /**/
}




/*
 * BLOCK
 */


/* init */
.region-navi-pane section {
  opacity: 0;
}


/* active */
section.ui-menu-block-active {
  /**/
  animation-name: menuShow;
  animation-delay: 0.7s;
  animation-duration: 0.4s;
  animation-direction: normal;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  /**/
}


/* inactive */
section.ui-menu-block-inactive {
  /**/
  animation-name: menuHide;
  animation-delay: 0;
  animation-duration: 0.4s;
  animation-direction: normal;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  /**/
  opacity: 1;
}




/*
 * CLOSE BUTTON
 */

/**/
.ui-menu-button-close {
  cursor: pointer;
  height: 44px;
  position: absolute;
  right: 1.0rem;
  top: 1.0rem;
  width: 44px;
}

.ui-menu-button-close:before {
  background-color: var(--site--main--color--06-03);
  content: "";
  height: 32px;
  left: 20px;
  position: absolute;
  top: 6px;
  width: 3px;
}

.ui-menu-button-close:after {
  background-color: var(--site--main--color--06-03);
  content: "";
  height: 32px;
  left: 20px;
  position: absolute;
  top: 6px;
  width: 3px;
}

.ui-menu-button-close:before {
  transform: rotate(45deg);
}
.ui-menu-button-close:after {
  transform: rotate(-45deg);
}


/* @media */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  /**/
  .ui-menu-button-close {
    margin-top: 11px;
  }
}




/**/
@keyframes paneShow {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0%);
  }
}
@keyframes paneHide {
  0% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(-100%);
  }
}


/**/
@keyframes menuShow {
  0% {
     opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes menuHide {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
