
.book {
    font-family: Georgia, serif;
    font-size: 18px;
    position: relative;
    margin-top: 40px;
    padding-bottom: 100px;
}
.annotated {
    border-radius: 2px;
    border-bottom: 3px solid rgba(55, 151, 119, 0.2);
}
.annotated:hover {
    background: rgba(55, 151, 119, 0.2);
    cursor: pointer;
}
.annotated.rd-selected {
    background: rgba(55, 151, 119, 0.35);
}
.poem {
    margin-bottom: 1rem;
}


.em-selected {
    background: #b2b2b2;
    border-radius: 4px;
}

#chapter-content p {
    line-height: 170%;
}

.book_controls {

}

.chapter_title {
    font-size: 30px;
    text-align: center;
    margin-bottom: 80px;
}
.book_controls_container {
  height: 100%;
  overflow: hidden;
  padding-top: 20px;
}

.book_edit_container {
  height: 100%;
  overflow: hidden;
  padding-top: 20px;
}

.book_controls--mode {

}
.annotation-panel {
    padding: 8px 16px;
    background: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-family: Onest;
    padding-bottom: 40px;
}
.annotation-panel__word {
    font-weight: 600;
    margin-bottom: 5px;
}
.annotation-panel__example, .annotation-panel__content--english {
    display: none;
}
.annotation-panel__freq {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 3px 16px;
    width: 100%;
    border-radius: 0 0 10px 10px;
}
.annotation-panel__freq-0 {
    background: #eee;

}
.annotation-panel__freq-1 {
    background: #eee;
}
.annotation-panel__freq-2 {
    background: #f5f7bd
}
.annotation-panel__freq-3 {
    background: #d2e4df
}
.annotation-panel__freq-4 {
    background: #9ec9ba
}


.annotation-instance {
    margin-right: 20px;
}
.annotation-controls {
    position: absolute;
    top: -27px;
    width: 100%;
    text-align: right;
    padding-right: 18px;
}
.annotation-controls i {
   cursor: pointer;
}
.annotation-controls i:hover {
    opacity: .6;
}
.annotation-controls--delete:hover {
    color: red;
}
.annotation-controls--close {
    font-size: 14px;
    padding: 10px 3px;
}

.book_controls_container {
  /* allow scrolling if panels get too tall */
  max-height: 80vh;
  overflow-y: auto;
}
.annotation-instance {
  /* flow layout */
  margin-bottom: 8px;
}
#annotation-editor {
    font-family: "Onest";
    background: #fff;
    width: 370px;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 20px;
    position: fixed;
    bottom: 50px;
    right: 50px;
}
#annotation-editor textarea, #annotation-editor .form-select {
    font-size: 14px;
}
#annotation-editor textarea {
    height: 100px;
}
.edit-panel--navigation {
    font-size: 14px;
}
.chapter_navigation {
    margin-top: 50px;
    margin-left: -15px;
    margin-right: -15px;
}
.chapter_navigation a {
    padding: 7px 15px;
    border-radius: 30px;
}
.chapter_navigation a:hover {
    background: #c5c5c5;
}