
#translationToolButton {
    width: 0rem;
    height: 1rem;
    background: white;
    background-image: url('../img/translation_tool.svg');
    background-position: center;
    background-size: auto 1.35em;
    background-repeat: no-repeat;
    position: fixed;
    display: block !important;
    z-index: 90000;
    padding: 6px 16px;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.08), inset 0 -2px 0 rgba(255, 255, 255, 0.7), inset 0 9px 29px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    outline: 0;
    margin: 0;
    left: -2px;
    top: 91%;
}
  
#translationToolButton:hover{
      left:0px;
  }

body.translationToolActive #translationToolButton{
    left:-3em;
}  
  
body.translationToolActive iframe {
    opacity: 0;
}

#translationToolOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 99999999;
    cursor: url('../img/translation_tool.svg') 0 17.5, auto;
}


#translationToolPopup .originalText {
    font-style: italic;
    padding: .5em;
    border: 1px solid lightgray;
    border-radius: 0.5em;
    background-color: white;
    color: #808080;
    max-height: 40vh;
    overflow-y: scroll;
}

#translationToolPopup #translationFeedbackTextarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 8em;
    resize: vertical;
    height: auto;
    max-height: 40vh;
}

