/**
 * @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 {
  display: none;
}


/* 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;
  position: relative;
  */
}




/* 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 {
  height: 40px;
  position: absolute;
  right: 1.0rem;
  top: 1.5rem;
  width: 40px;
}

.ui-menu-button-close {

  background-image: url("../../img/google/material-symbols/close-1D4A5B.svg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 24px auto;
  background-size: 32px auto;
  border: 1px solid transparent;
  border-width: 0;
  box-sizing: border-box;
  cursor: pointer;
  display: block;
  min-width: 40px;
  padding: 0.25rem 0.5rem;
  overflow: hidden;
  text-indent: -9999px;
}


/* @media */
@media (prefers-color-scheme:dark) {
  /**/
  /*
  .ui-menu-button-close {
    background-image: url("../../img/google/material-symbols/close-FFFFFF.svg");
  }
  */
}




/**/
@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;
  }
}
