.top-books-outer {
    padding-left: 15px;
    padding-right: 15px;
}
.acf-block-preview.wp-block-acf-top-books a,
.acf-block-preview.wp-block-acf-top-books select {
    pointer-events: none;
}
.top-books-controls {
    margin-bottom: 50px;
}
.top-books-controls,
.top-books-controls-left,
.top-books-controls-right {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.top-books-controls select,
.top-books-controls h2 {
    margin: 0;
}
.top-books-controls select {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1em;
}
.dropdown-container.currency-filter select#topBooksCurrencySelector,
.dropdown-container.blockchain-filter select#topBooksChainSelect {
    padding-left: 55px !important;
    padding-right: 35px !important;
}
.dropdown-container.blockchain-filter,
.dropdown-container.currency-filter {
    position: relative;
}
.dropdown-container .currency-filter .custom-select-trigger {
    padding-left: 60px;
}
.dropdown-container.blockchain-filter:before,
.currency-filter:before {
    position: absolute;
    height: 100%;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
    font-size: 20px;
    border-left: 2px solid #7a7b7c;
    border-top: 2px solid #7a7b7c;
    border-bottom: 2px solid #7a7b7c;
    box-sizing: border-box;
    z-index: 1;
}
.dropdown-container.blockchain-filter:before {
    font-family: "FontAwesome";
    content: "\f57d";
    color: #FFF;
    background-color: #0073b6;
}
.currency-filter:before {
    font-family: "FontAwesome";
    content: "\f155";
    color: #FFF;
    background-color: #1bbd56;
}

table.top-books-v2 {
    border: none;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    box-shadow: none;
    border-radius: 0px;
}

table.top-books-v2 caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
}

table.top-books-v2 tr {
    border: none;
    padding: .35em;
}

table.top-books-v2 td.top-books-rownumber {
    color: #000;
}

table.top-books-v2 tbody tr:nth-child(odd) {
    background: none;
}

table.top-books-v2 th,
table.top-books-v2 td {
    padding: .625em;
    text-align: left;
}
table.top-books-v2 th {
    font-size: .85em;
    letter-spacing: .1em;
    font-weight: 700;
    text-transform: uppercase;
    vertical-align: top;
}

table.top-books-v2 .top-books-block a {
    color: #00AFE5;
    text-transform: uppercase;
}
table.top-books-v2 .top-books-rownumber {
    width: 50px;
}
table.top-books-v2 td.top-books-col .bookdetail-inner .ac-header {
    display: flex;
    gap: 15px;
}
table.top-books-v2 .top-books-rownumber,
table.top-books-v2 td.top-books-col .ac-header:before {
    font-size: 1.25em;
    font-weight: normal;
}
table.top-books-v2 .top-books-book-detail {
    width: 350px;

}
table.top-books-v2 .top-books-image {
    max-width: 100px;
}
table.top-books-v2 .top-books-image img {
    width: 100%;
    display: block;
    box-shadow: 2px 2px 5px rgb(102, 102, 102);
}
table.top-books-v2 td.top-books-col .bookdetail-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    flex-grow: 1;
}
table.top-books-v2 td.top-books-col .bookdetail-inner .ac {
    width: 100%;
    border: none;
    margin: 0;
}
span.stat-subtext {
    display: block;
    color: #999;
    margin: 6px 0px;
    font-size: 16px;
    min-height: 26px;
}
table.top-books-v2 .bookio-top-books-percentage {
    display: block;
}
table.top-books-v2 .top-books-mobile-floor-price {
    font-size: 0.75rem;
}
table.top-books-v2 .top-books-mobile-floor-price .bookio-top-books-percentage {
    display: inline-block;
    height: auto;
}
span.atts-head {
    max-width: 110px;
    display: block;
    text-align: center;
}
.bookdetail-mobile {
    width: 100%;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    text-align: left;
}
.bookdetail-mobile, .bookdetail-mobile .stat-subtext {
    font-size: .75rem;
    min-height: 0;
}
.bookdetail-mobile-inner {
    display: flex;
    justify-content: space-between;
    text-align: left;
    font-size: 0.75rem;
}
.bookdetail-mobile-inner span.stat-subtext {
    font-size: 0.75rem;
    min-height: 0;
    margin: 0;
}
.bookdetail-mobile-toggle {
    align-self: center;
    margin-left: auto;
}
.ac .bookdetail-mobile-toggle .ac-trigger {
    background: none;
    border: none;
    font-size: 20px;
    padding-right: 5px;
}
.bookdetail-mobile-toggle .ac-trigger:after {
    display: none;
}
.ac .bookdetail-mobile-toggle .ac-trigger > i {
    transform: rotate(0deg);
    transition: all .3s;
}
.ac.is-active .bookdetail-mobile-toggle .ac-trigger > i {
    transform: rotate(-90deg);
}
.ac .bookdetail-mobile-toggle .ac-trigger,
.ac .bookdetail-mobile-toggle .ac-trigger:focus {
    color: #999999;
}

/* Stats */
.top-books-last-updated {
    padding-left: 50px;
    color: lightgrey;
    font-style: italic;
    margin-top: 15px;
    margin-bottom: 15px;
}
.top-books-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 15px;
    background: #f4f4f4;
    border-radius: 12px;
}

.top-books-stats h3 {
    margin: 0;
    font-weight: 700;
    font-size: 0.875rem;
}

.top-books-stats > div {
    text-align: center;
    border-left: 1px solid grey;
    flex-grow:1;
    padding: 0 7px;
    margin: 15px 0px;
}
.top-books-stats > div:first-child {
    border: none;
}
.top-books-stats > div span {
    color: #00AFE5;
    font-size: 1.65rem;
}
.top-books-stats > div span.green {
    color: #1bbd56;
}
.top-books-titles {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}
@media(min-width: 992px) {
    table.top-books-v2 td.top-books-col .ac-header:before {
        display: none;
    }
    table.top-books-v2 {
        table-layout: fixed;
    }
    .top-books-stats-outer {
        padding-left: 50px;
        padding-right: 50px;
    }
    table.top-books-v2 .bookio-top-books-percentage {
        height: 0;
    }
    table.top-books-v2 th,
    table.top-books-v2 td {
        border: none;
    }
}
@media(min-width: 768px) {
    .top-books-v2 .bookdetail-mobile-toggle,
    .top-books-v2 .bookdetail-mobile,
    .top-books-mobile-floor-price {
        display: none;
    }
}
@media(max-width: 1200px) {
    .top-books-stats > div span {
        font-size: 1.25rem;
    }
}
@media (max-width: 991px) {
    .top-books-controls-right,
    .top-books-controls-left {
        flex-basis: 100%;
        flex-grow: 1;
        flex-shrink: 0;
        justify-content: start;
    }
    .top-books-stats > div {
        width: calc(33.33% - 30px);
    }
} 
@media(max-width: 991px) and (min-width: 576px) {
    .top-books-stats > div:nth-child(4) {
        border: none;
    }
}
@media screen and (max-width: 991px) {
    table.top-books-v2 {
      border: 0;
    }
  
    table.top-books-v2 .top-books-rownumber {
        display: none;
    }
    table.top-books-v2 .top-books-book-detail {
        width: 100%;
    }

    table.top-books-v2 caption {
      font-size: 1.3em;
    }
    
    table.top-books-v2 thead {
      border: none;
      clip: rect(0 0 0 0);
      height: 1px;
      margin: -1px;
      overflow: hidden;
      padding: 0;
      position: absolute;
      width: 1px;
    }
    
    table.top-books-v2 tr {
      display: block;
      border-bottom: 1px solid #ddd;
    }
    table.top-books-v2 tr:last-child {
        border-bottom: none;
    }
    
    table.top-books-v2 td {
      display: block;
      text-align: right;
    }

    table.top-books-v2 td.top-books-rownumber,
    table.top-books-v2 td.top-books-col .bookdetail {
        text-align: left;
    }
    
    table.top-books-v2 td::before,
    table.top-books-v2 .ac-header::before {
      /*
      * aria-label has no advantage, it won't be read inside a table
      content: attr(aria-label);
      */
      content: attr(data-label);
      float: left;
      font-weight: bold;
      text-transform: uppercase;
      color: #4c4c4c;
    }
    table.top-books-v2 .ac-header::before {
        width: 13px;
    }
    table.top-books-v2 td:last-child {
      border-bottom: 0;
    }
    table.top-books-v2 td.bookdetail {
        border-top: none;
    }
}
@media(max-width: 767px) {
    table.top-books-v2 .ac-header::before {
        align-self: center;
    }
    table.top-books-v2 .top-books-col.floor-price,
    table.top-books-v2 .top-books-col.hr-sales,
    table.top-books-v2 .top-books-col.all-time-total-sales,
    table.top-books-v2 .top-books-col.total-market-cap {
        display: none;
    }
}
@media(max-width: 600px) {
    .top-books-stats > div {
        width: 100%;
    }
    .top-books-stats > div,
    .top-books-stats > div:first-child {
        border: none;
        border-bottom: 1px solid grey;
        margin: 0px auto 7px auto;
        padding: 0px 0px 7px 0px;;
    }
    .top-books-stats > div:last-child {
        border-bottom: none;
        margin: 0 auto;
        padding: 0;
    }
    table.top-books-v2 .top-books-image {
        max-width: 50px;
        flex-grow: 1;
        flex-shrink: 0;
    }
    table.top-books-v2 th, table.top-books-v2 td, table.top-books-v2 tr {
        padding-left: 0;
        padding-right: 0;
    }
    .top-books-last-updated {
        padding-left: 0;
    }
}