@import url('https://fonts.googleapis.com/css?family=Lato:400');

/* canvas */
.render-canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    outline: none;
    pointer-events: auto;
}
.cursor-pointer-important {
    cursor: pointer !important;
}

/* loader */
.loader {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color:white;
    background-size: cover;
    background-position: center;
    color: black;
}
.loader-cont {
    display: table;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .4);
}
.loader-text {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    width: 100%;
    height: 100%;
}

/* bottom bar */
#bottom-bar {
    pointer-events: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 66px;
}
/* footer */
.footer {
    position: absolute;
    left: 0;
    bottom: 0;
}
.footer-logo-link {
    position: absolute;
    display: block;
    left: 11px;
    bottom: 16px;
    height: 35px;
    cursor: pointer;
}
.footer-logo-link > img {
    display: block;
    width: auto;
    height: 100%;
}
.footer-more-info {
    position: absolute;
    margin: 0;
    padding: 0;
    background: rgb(231, 229, 229);
    width: 155px;
    height: 35px;
    bottom: 16px;
    left: 65px;
    transition: opacity .5s ease-in-out;
}

.footer-more-info span {
    position: absolute;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    line-height: normal;
    left: 15px;
    top: 6.5px;
}

.footer-more-info:before {
    content: "";
    position: absolute;
    left: -15px;
    top: 9px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-right: 16px solid rgb(231, 229, 229);
    border-bottom: 8px solid transparent;
}

.footer-more-info a {
    text-decoration: underline;
    font-weight: 900;
    color: #000;
    cursor: pointer;
}

.toolbox-cont {
    position: absolute;
    bottom: 30px;
    transform: translate(0, 50%);
    right: 0;
    padding: 8px;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 8px 0px 0px 0px;
    margin-left: 5px;
  }
  
  .toolbox-btn {
    display: block;
    box-sizing: border-box;
    float: left;
    margin-right: 19px;
    overflow: hidden;
    width: 40px;
    height: 40px;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.25);
    user-select: none;
  }
  
  .toolbox-btn:last-of-type {
    margin: 0 0 0 -4px;
  }
  .note{
    color: white;
  
  }
  
  @media (max-width: 380px) {
    .toolbox-cont {
      padding: 0px 10px;
      visibility: hidden !important;
    }
  
    .toolbox-btn {
      margin-right: 10px;
    }
    .note{
      color: white;
      font-size: 12px;
      margin-left: 50px;
      margin-right: 40px;
    }
  }
  
  @media (max-width: 340px) {
    .toolbox-cont {
      
      visibility: hidden !important;
    }
    .toolbox-btn:last-of-type {
      margin-right: -4px;
    }
    .note{
      color: white;
      font-size: 12px;
      margin-left: 50px;
      margin-right: 40px;
    }
  }
  
  .toolbox-btn img {
    width: 100%;
    height: 100%;
  }
  
  /* toolbox menu */
  .toolbox-menu {
    position: absolute;
    bottom: 50px;
    right: 4px;
    background: rgba(0, 0, 0, .25);
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: white;
    padding: 9px 20px 9px 18px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 300ms;
  }
  
  /* .toolbox-menu {
    position: absolute;
    bottom: 52px;
    right: 0px;
    background: rgba(0, 0, 0, 1.0);
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color: white;
    padding: 9px 20px 9px 18px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 300ms;
  } */
  .toolbox-menu.visible {
    visibility: visible;
    opacity: 1;
  }
  
  .toolbox-menu-item {
    padding: 5px 0;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    user-select: none;
    height: 20px;
  }
  
  .toolbox-menu-item.radio::before {
    content: " ";
    font-family: monospace;
    width: 21px;
    display: inline-block;
  }
  
  .toolbox-menu-item.button {
    background-color: rgba(255, 255, 255, .6);
    color: black;
    border-radius: 4px;
    padding: 2px 4px;
    margin-top: 6px;
  }
  
  .toolbox-menu-item.button:hover {
    background-color: rgba(255, 255, 255, 1);
  
  }
  
  .toolbox-menu-item input {
    width: 60px;
    border-radius: 4px;
  }
  
  .toolbox-menu-item span {
    width: 66px;
    display: inline-block;
  }
  
  .toolbox-menu-item.radio.active::before {
    content: "✓";
  }