.bm-p .popover-header {
  padding-right: 0;
  display: flex;
  align-items: center;
}
.bm-p .popover-header > * {
  align-self: center;
}
.bm-p .popover-header .created-by {
  flex-grow: 1;
}
.bm-p .popover-header .created-by > * {
  align-self: center;
}
.bm-p .popover-header .created-by .nick {
  margin: auto 0.5rem 0 0;
}
.bm-p .popover-header div.c a.btn:hover {
  border-color: #6c757d;
}
.bm-p .popover-body {
  padding-top: 0.5rem;
}
.bm-p .popover-body .reply:first-child {
  margin-top: 1rem;
}
.bm-p .popover-body .reply > div:first-child {
  display: flex;
  align-items: center;
  background-image: linear-gradient(to right, #cfd2d2, #e6eaea);
  border-radius: 10px;
}
.bm-p .popover-body .reply div.author {
  display: flex;
  align-items: center;
}
.bm-p .popover-body .reply div.author .author {
  margin: auto 0.5rem;
}
.bm-p .popover-body .reply .note {
  margin: 0.5rem auto 1rem;
  text-align: justify;
}
.bm-p .popover-body .reply.right > div:first-child {
  flex-direction: row-reverse;
  background-image: linear-gradient(to left, #cfd2d2, #e6eaea);
}
.bm-p .popover-body .reply.right > div:first-child > div.author {
  flex-direction: row-reverse;
}
.bm-p .popover-body .reply.right .note {
  text-align: right;
}
.bm-p .popover-body .reply .created-by {
  display: flex;
  align-items: center;
}
.bm-p .popover-body .reply .created-by .nick {
  margin-right: 0.5rem;
}
.bm-p .popover-footer {
  color: #32465a;
}
.bm-p .popover-footer > form {
  margin-bottom: 0;
}
.bm-p .popover-footer input[name="content"] {
  border-top-left-radius: 0;
  resize: none;
  margin-left: -1px;
  margin-bottom: -1px;
}
.bm-p .popover-footer button[type="submit"] {
  float: right;
  border: none;
  width: 50px;
  padding: 12px 0;
  cursor: pointer;
  background: #32465a;
  color: #f5f5f5;
  border-bottom-right-radius: 0.25rem;
}
.bm-p .popover-footer .invalid-feedback {
  position: absolute;
  top: -2rem;
  padding-left: 6px;
}
.book-mark-high-light {
  background-color: rgba(255, 255, 0, 0.2);
  -webkit-text-decoration: none;
  text-decoration: none !important;
  cursor: pointer !important;
  -webkit-text-decoration-skip-ink: none;
  text-decoration-skip-ink: none;
}
.book-mark-high-light.focus {
  background-color: #ffff00;
}
.book-mark-fly {
  position: absolute;
  font-size: 20px;
  color: red;
}
.rb-menu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  background-color: #222d32;
  width: 50px;
}
.rb-menu > ul {
  color: #8aa4af;
}
.rb-menu ul,
.rb-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rb-menu li.l1,
.rb-menu a.l1 {
  position: relative;
}
.rb-menu li.l1._rotate {
  margin-top: 12px;
}
.rb-menu a.l1 {
  display: block;
  color: #b8c7ce;
  border-left: 3px solid transparent;
  text-decoration: none;
  z-index: 2;
}
.rb-menu a.l1 i {
  font-size: 14px;
  padding: 12px 0;
  width: 38px;
  text-align: center;
}
.rb-menu a.l1._rotate {
  -ms-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
  border-left: none;
  border-top: 3px solid transparent;
  padding: 10px 0 20px;
}
.rb-menu li.ava img.ava {
  margin-left: 9px;
}
.rb-menu li.ava .fa.fa-user-circle-o.no-avatar {
  width: 38px;
  font-size: 14px;
}
.rb-menu li.l1:hover a.l1,
.rb-menu a.l1:hover,
.rb-menu a.l1.active {
  color: #fff;
  background: #1e282c;
  border-color: #3c8dbc;
}
.rb-menu a.l2.active {
  color: #fff;
}
.rb-menu .t1 {
  display: none;
  font-size: 14px;
  font-weight: 700;
  top: 0;
  left: 50px;
  padding: 12px 5px 12px 20px;
  background-color: inherit;
}
.rb-menu .t2 {
  display: none;
  top: 30px;
  left: 50px;
  padding: 0 5px 12px 20px;
  background-color: inherit;
}
.rb-menu .t1,
.rb-menu .t2,
.rb-menu ul.l2 {
  width: 180px;
  position: absolute;
  margin-left: -3px;
}
.rb-menu ul.l2 {
  display: none;
  position: absolute;
  left: 50px;
  top: 0;
  margin-left: 0;
  background-color: #2c3b41;
  z-index: 1;
}
.rb-menu ul.l2 > li.title {
  font-weight: bold;
  color: white;
  padding: 1rem 0 1rem 1rem;
  background: #1e282c;
  font-size: 14px;
}
.rb-menu ul.l2 > li.title > a {
  color: white;
}
.rb-menu ul.l2 > li.title > a strong {
  display: block;
  line-height: initial;
}
.rb-menu ul.l2 > li.title > a .help {
  font-weight: 100;
  font-size: 12px;
  color: #8aa4af;
}
.rb-menu a.l2,
.rb-menu .t2 {
  color: #8aa4af;
}
.rb-menu .created-by .no-avatar {
  font-size: 20px;
  height: 20px;
  display: inline-block;
}
.rb-menu .created-by .nick {
  margin: 0 1rem 0 0px;
}
.rb-menu .created-by .time {
  color: inherit;
}
.rb-menu ul.l2 i {
  width: 30px;
  text-align: center;
}
.rb-menu li:hover ul.l2,
.rb-menu li:hover > a.l1 > .t1,
.rb-menu li:hover > a.l1 > .t2 {
  display: block;
}
.rb-menu a.l2 {
  display: block;
  padding: 6px;
}
.rb-menu a.l2:hover {
  color: white;
  text-decoration: none;
}
#book-pages {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50px;
  width: 450px;
  background-color: white;
  border: none;
  border-radius: 0;
}
#book-pages .card-header {
  font-size: 14px;
  font-weight: 700;
  color: #212121;
}
#book-pages .card-header .help {
  float: right;
}
#book-pages .card-body ul,
#book-pages .card-body li {
  margin: 0;
  padding: 0;
  list-style: none;
}
#book-pages .card-body li {
  border-bottom: solid 1px #ddd;
  min-height: 41px;
}
#book-pages .card-body a {
  padding: 12px 0 12px 20px;
  display: block;
}
#book-pages .card-body a:hover,
#book-pages .card-body li.active a {
  background-color: #dff0d8;
}
#bookmarks {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50px;
  width: 450px;
  background-color: white;
  border: none;
  border-radius: 0;
}
#bookmarks .card-header {
  font-size: 14px;
  font-weight: 700;
  color: #212121;
}
#bookmarks .card-header a[href="#hide-comment-list"] {
  float: left;
}
#bookmarks .card-header a[href="#toggle-bookmarks"] {
  float: right;
  font-size: 12px;
  font-weight: 100;
}
#bookmarks a.quote {
  display: block;
  font-style: italic;
  border-left: solid 2px #88a1ac;
  padding: 1rem;
  font-weight: lighter;
  background: rgba(255, 255, 0, 0.05);
  text-align: justify;
  color: #333;
  margin: 0 -1rem 0 0.15rem;
}
#bookmarks .note {
  padding-left: 1rem;
  font-size: 13px;
}
#bookmarks li {
  margin-bottom: 1rem;
}
#bookmarks .created-by {
  margin-left: -0.5rem;
  background: #f0f8ff;
  margin-right: -1rem;
  border-radius: 10px 0 0 10px;
}
#bookmarks div.created-by {
  align-items: center;
  display: flex;
}
