
/**** mainmenu.css ***/
.hmiTopMenu {
    color: #000000;
    position: fixed;
    z-index: 999999;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 6rem;
    min-height: 30rem;
    font-size: 0.9rem;
  }
  .hmiFrame {
    height: 100vh;
    width: 100%;
    margin: 0px 0px 0px 0px;
    border: 0px;
    display: block;
  }
  html, body {
    margin: 0;
    height: 100%;
    border: 0px;
    padding: 0;
}
  #page-webeng {
    width: calc(100% - 6rem);
    margin: 0px 0px 0px 6rem;
  }
  .hmiMenuBtn {
    display: block;
    width: 100%;
    height: 2rem;
    margin-top: 1rem;
    text-align: center;
    font-weight: bold;
    border-width: 0.2rem 0.2rem 0.2rem 0;
    border-color: #000000;
    border-top-color: #000000;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
  }
  #hmiMainMenu {
    position: fixed;
    height: auto;
    width: auto;
    padding-left: 0rem;
  }
  
  .uiMainMenu {
      position: fixed;
      top: 0px;
      left: 0px;
      width: 17rem;
      height: 4.5rem;
      border-bottom-right-radius: 2rem;
      border-top-right-radius: 2rem;
      margin-top: 0.5rem;
      box-shadow: 0.2rem 0.2rem 0.5rem #565656;
    font-size: 0;
  }
  .uiMainMenuHome {
      position: fixed;
      top: 0px;
      left: 0px;
      width: 12rem;
      height: 5rem;
      border-bottom-right-radius: 2rem;
      margin-top: -0.5rem;
      
  }
  .uiMainMenuSymbol {
      float: right;
      clear: right;
      width: 3.5rem;
      height: 3.5rem;
      margin-top: 0.4rem;
      margin-right: 1rem;
      vertical-align: middle;
      background-image: url("menuicon.png");
      background-size: contain;
  }
  
  .uiMainMenuCurPath {
      position: fixed;
      top: 1rem;
      left: 17rem;
      /*width: calc(100% - 48rem);/*doesn't block alarmIndocator onclick*/
      height: 3rem;
      padding-left: 1rem;
      font-size: 2rem;
      font-weight: bold;
      overflow: hidden;
    color: #c0c0c0;
  }
  
  .uiMainMenuWidgets {
    float: right;
    top: 0px;
      width: 15rem;
      height: 5rem;
      border-bottom-left-radius: 2rem;
      margin-top: -0.5rem;
  }
  
  /*	General class for menu bubbles (common features)		*/
  .uiMainMenuBubble {
    background: #FFF;
    clear: both;
    position: fixed;
    overflow: hidden;
    width: 15rem;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    border-bottom-right-radius: 2rem;
    outline: none;
    box-shadow: 0.2rem 0.2rem 0.5rem #565656;
    clip-path: inset(0px -15px -15px 0px);
    z-index: 99999;
  }
  
  #hmiTopHome {
    float: left;
    margin: 0.5rem 0 0 0.5rem;
    width: 3rem;
    height: 3rem;
    padding: 0.6rem;
    /*border-radius: 2rem;*/
  }
  
  #hmiTopHomeImg {
  /*  max-height: 4rem;
    max-width: 4rem;*/
    width: 100%;
    height: 100%;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
  }
  
 
  
  .uiMainMenuNode {
    height: 3rem;
    line-height: 2rem;
    list-style-type: none;
    font-size: 1.5rem;
    font-weight: 700;
    width: 100%;
    padding: 0.5rem 0.5rem;
    cursor: pointer;
    color: #000000;  
  }
  
  .uiMainMenuNode:hover {
    background: #e8e8e8;
  }
  
  .uiMainMenuLabel, .uiMainMenuIcon {
    vertical-align: bottom;
  }
  
  .uiMainMenuLabel {
    position: static; 
    display: inline-block;
    margin-left: 0.5rem;
  }
  
  .uiMainMenuIcon {
    position: static; 
    display: inline-block;
    border : none;
    width : 2rem;
    height : 2rem;
    background-size: 100% 100%;
  }
  
  .uiMainMenuBackBut {
    animation: backButtonAnim 1s infinite alternate;
    color: #4b4b4b;
  }
  
  .uiMainMenuBackBut:hover {
    animation: backButtonAnim 1s infinite alternate;
   }
  
  @keyframes backButtonAnim {
    from {
      padding-left: 0em;
    }
    to {
      padding-left: 1em;
    }
  }
  /*
  .uiMainMenuBackBut::before {
    content: "";
    border-style: solid;
    position: absolute;
    width: 0;
    height: 0;
    vertical-align: middle;
    border-width: 1rem 1rem 1rem 0;
   
    border-color: inherit;
  }
  */
  
  /*	This style applies when menu bubbles are lined up in the menu bar.
   *  This should be after .uiMainMenuSubmenu */
  .uiMainMenuBubbleCollapsed {
    color: #FFF;
  }
  
  
  /* Arrow-triangle after submenus */
  .uiMainMenuSubmenu:after {
    content: "";
    border-style: solid;
    position: absolute;
    width: 0;
    height: 0;
    vertical-align: middle;
    right: 0; /* value = - border-left-width - border-right-width */
    border-width: 1rem 0 1rem 1rem;
    /*border-color: transparent #ccc;*/
    /*border-color: transparent #49708f;*/
    border-color: transparent #828282;
  }
  
  /*	Node name: logout (generated as "menuNode + linktext") 	*/
  .menuNode_logout, .menuNode_poistu, .menuNode_exit {
    color: #FF3F36;
  }
  
  /* Navbar widgets, such as the clock */
  #navWidgets {
      position: static;
      height: 100%;
      width: auto;
      float: right;
      height: 4rem;
      margin: 0.5rem 0.5rem;
      padding-right: 3.5rem;
      display: table;
      line-height: 100%;
  }