body.serieslist.grid-view div.container-fluid > div > div.col-sm-10::before {
  display: none;
}

/* Make checkboxes orange */
input[type=checkbox] {accent-color: #cc7b19;}

.cover .badge {
  position: absolute !important;
  top: 0;
  left: 0;
  color: #fff;
  background-color: #cc7b19;
  border-radius: 100px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
  margin-left: 4px;
  margin-top: 4px;
}

/* .cover {
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.6);
} */

.cover .read {
  line-height: 15px;
  font-size: xx-small;
  position: absolute !important;
  top: 192px;
  width: 20px;
  height: 20px;
  display: inline-block;
  padding: 2px !important;
  left: 4px;
}

@media (max-width: 767px) {
  .cover .read {
    line-height: 15px;
    font-size: xx-small;
    position: absolute !important;
    top: 193px;
    width: 20px;
    height: 20px;
    display: inline-block;
    padding: 2px !important;
    left: 1px;
  }
}

input.datepicker {color: transparent}
input.datepicker:focus {color: transparent}
input.datepicker:focus + input {color: #555}

@media only screen and (max-width: 767px) {
        .row-fluid > .col-sm-2 {
        visibility: hidden;
    }
}

/* Makes the filter buttons on the homepage occupy the title bar space until there's no more room for them */

.filterheader {
  margin-bottom: 20px;
}

/* Fallback for browsers without :has() support: use JS to add .filterheader-fixed */
.filterheader-fixed {
  position: fixed;
  top: 72px;
  right: 20px;
}

@media (min-width: 915px) {
  /* Only fix .filterheader if there is NOT a .pagination element in the same .row-fluid (for browsers with :has() support) */
  .row-fluid:not(:has(.pagination)) .filterheader {
    position: fixed;
    top: 72px;
    right: 20px;
  }
}

ul#scnd-nav {
    margin-bottom: 4rem;
}

div#Downloads {
  margin: 0;
  justify-self: center;
  margin-top: 5rem !important;
}

div#Downloads_list {
    width: 100%;
    padding-bottom: 3rem;
}

/* Prevents the character button group from showing on smaller screens */
@media (max-width: 1605px) {
    .btn-group.character.hidden-sm {
        display: none;
    }
}


@media only screen and (max-width: 445px) {
    .btn-group {
        height: 30px;
        min-width: max-content;
    }
}

.usertable .bootstrap-table.bootstrap3 {
    padding: 40px;
}
.usertable .errorlink {
    padding-left: 40px;
}

.usertable .col-xs-12.col-sm-12 {
    padding-left: 40px;
}

.usertable ul.pagination {
    top: 5.1em;
}

/* Enable mobile blur only when user setting applied */
@media (max-width: 767px) {
  body.allow-mobile-blur .blur-wrapper { display:block !important; }
}

@media only screen and (max-width: 767px) {
    /* Readmore.js fix: allow plugin to control height by removing forced min-height */
    .book-meta > .bookinfo > .comments[data-readmore],
    .book-meta > .description[data-readmore] {
        min-height: 0 !important; /* Option B */
    }
}

/* Fix table highlight on hover */
.table-hover>tbody>tr:hover {
    background-color: #7b7b7b29 !important;
}

/* move select all and clear all buttons to above the table in book list */
.columns.columns-right.btn-group.pull-right > .keep-open.btn-group {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

/* Fixes Archive and Have Read checkboxes in book view from being uniteractable */
form#have_read_form > label.block-label::before {
    top: 19px !important;
    left: 20px;
    z-index: -1 !important;
}

form#archived_form > label.block-label::before {
    top: 14px !important;
    left: 69px;
    z-index: -1 !important;
}

/* Fixes Create Magic Shelf spacing in sidebar */
li#nav_createmagicshelf {
    margin-left: 1rem !important;
}

/* Fixes close buttons colour */
button.close > span {
    color: whitesmoke;
}

/* Fixes ill-aligned sort element in first column of book list table */
.bs-checkbox > .th-inner.sortable {
    position: relative;
    right: 8px;
    bottom: 10px;
}

.editbook-cover-section {
    padding: 4rem !important;
    margin-left: 2rem !important;
    padding-top: 4rem !important;
    max-width: none !important;
    width: 36rem !important;
}

div#GeneralChangeModal > div > div.modal-content {
    top: 200px;
    width: max-content;
    max-width: 400px;
    padding: 2rem;
    justify-self: center;
}

.modal-content > .modal-header.bg-info.text-center {
    display: none;
}

a#advanced_search > span.hidden-sm {
    margin-left: 4px;
}

.btn-primary[disabled] {
    background-color: var(--color-secondary);
}
/* Fix for disabled theme switcher tooltip text overflow */
.tooltip.cwa-tooltip-wrap .tooltip-inner {
    white-space: normal !important;
    max-width: 250px !important;
    width: auto !important;
    text-align: center;
}

.cwa-settings-tip {
    margin-top: 1rem;
    padding: 0.5rem;
    background-color: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    border-radius: 0.25rem;
    margin-bottom: 2rem;
    padding-left: 2rem;
}