.topPanel .insideContainer {
    padding-bottom: 60px !important;
}
.booksContainer {
    display: flex;
    flex-direction: row;
    padding-top: 45px;
}
.filters {
    min-width: 280px;
    margin-right: 40px;
}
.booksList {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
}
.book {
    display: flex;
    flex-direction: row;
    flex-basis: 50%;
    padding-top: 2.5rem;
    padding-bottom: 1rem;
    /*padding-right: 1.25rem;*/
}
.category {
    color: #949494;
}
.category a {
    color: #949494;
    font-size: 15px;
}
.category a:hover {
    text-decoration: underline;
}
.author a {
    color: #2997aa;
}
.author a:hover {
    text-decoration: underline;
}
.bookContentLeft, .bookContentRight {
    display: flex;
    flex-direction: column;
}
.bookContentLeft {
    flex-basis: 9.5rem;
    margin-right: 1.25rem;
}
.bookContentRight {
    flex: 1;
}

.book h4 {
    font-size: 20px;
    margin: 4px 0px 1px 0px;
}
.author {
    font-weight: bold;
}

.book .subtitle {
    color: dimgrey;
    font-size: 13px;
    margin: 2px 0px;
}
.book .subtitle.prominent {
    margin-bottom: 8px;
}
.bookLabels {
    margin-top: .625rem;
    align-items: flex-start;
    flex-direction: row;
    margin-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.bookLabels .label {
    border: 1px solid #3aa6b9;
    border-radius: 4px;
    display: inline-block;
    margin: 0px 15px 0px 0px;
    padding: 3px 8px 2px 8px;
    font-size: 13px;
    color: #2997aa;
}

.book .emptyImage {
    background-color: white;
    min-height: 150px;
    text-align: center;
    padding-top: 40px;
    font-size: 80px;
    color: #eaf9f9;
}

.pageMainText {
    text-align: center;
}


.book .pricePanel {
    display: flex;
    justify-content: space-between;
    flex-shrink: 1;
    padding: 12px 20px 0px 6px;
}

.pricePanel button {
    border: 0px;
    padding: 7px 12px;
    cursor: pointer;
    line-height: 160%;
}
.pricePanel button:hover {
    background-color: #3aa6b9;
}
.pricePanel button img {
    width: 24px;
    filter: invert(100%);
    margin-right: 6px;
}
.pricePanel button span {
    position: relative;
    top: -3px;
}

.oneFilter {
    position: relative;
    margin: 20px 0px 5px 0px;
}
.oneFilter.labelFilter ul {
    padding-bottom: 3px;
}
.oneFilter h4 {
    font-size: 17px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.oneFilter input[type="checkbox"] {
    appearance: none;
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
    height: 1.25em;
    margin-top: 0em;
    margin-right: 6px;
    print-color-adjust: exact;
    vertical-align: top;
    width: 1.25em;
    background-position: 50% center;
    border-width: 2px;
    border-style: solid;
    border-color: rgb(188, 188, 186);
    border-image: initial;
    background-clip: padding-box;
    border-radius: 0.25em;
    background-color: white;
    /*float: left;*/
    /*margin-left: -1.75em;*/
}
.oneFilter input:checked[type="checkbox"] {
    background-color: #2997aa;
    border-color: #2997aa;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3E%3C/svg%3E");
}
.oneFilter hr {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
    display: block;
    height: 1px;
    width: 100%;

}
.oneFilter ul {
    overflow: auto;
    list-style: none;
    padding: 0px 0px 28px 0px;
    display: none;
}

.oneFilter ul.filterList {
    margin: 0px;
    max-height: 300px;
}

.oneFilter ul.subfilterList {
    margin: 0px 0px 0px 15px;
    height: auto;
    grid-row-start: 2;
    grid-column-start: 2;
}

.oneFilter.open ul.filterList {
    display: block;
}

.oneFilter li.open ul.subfilterList {
    display: block;
}



.oneFilter .opener {
    margin-right: 15px;
}
.oneFilter .subOpener {
    margin-right: 15px;
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}
.oneFilter .arrowUp, .oneFilter .arrowDown {
    width: 20px;
}
.oneFilter .arrowUp {
    display: none;
}

.oneFilter.open .opener .arrowDown {
    display: none;
}
.oneFilter.open .opener .arrowUp {
    display: block;
}
.oneFilter li.open .subOpener {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.oneFilter li.open .subOpener .arrowDown {
    display: none;
}
.oneFilter li.open .subOpener .arrowUp {
    display: block;
}

.oneFilter ul li {
    margin: 4px 0px;
    padding: 1px 0px;
    color: dimgrey;
    font-size: 13px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /*display: grid;*/
    /*grid-template-columns: auto 35px;*/
}
.oneFilter ul li.filterParent {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: column;
}
.oneFilter ul li.filterParent .filterNestedHeader {
    width: 100%;
    cursor: pointer;
}
.oneFilter ul li label .leftSide {
    display: flex;
    flex-direction: row;
}
.oneFilter .filterNestedHeader {
    display: flex;
    flex-direction: row;
}
.oneFilter ul li label {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.oneFilter ul li.filterSimple label {
    width: 100%;
}
.oneFilter h4 {
    margin: 7px 0px;
    padding: 0px;
}

.oneFilter.open::after {
    bottom: 0px;
    content: "";
    height: 40px;
    left: 0px;
    position: absolute;
    right: 0px;
    width: 100%;
    background: linear-gradient(0deg, rgb(234, 249, 249), rgba(234, 249, 249, 0));
}
.oneFilter.labelFilter.open::after {
    background: none;
    display: none;
}
.topSorting ul {
    display: flex;
    flex-direction: row;
    width: 100%;
    list-style: none;
    margin: 0px;
    padding: 0px;
    justify-content: center;
    border-bottom: 1px solid #2997aa;
}
.topSorting ul li {
    margin: 0px 5px;
    padding: 2px 5px 3px 5px;
}
.topSorting ul li.selected {
    border-bottom: 4px solid #2997aa;
}
.topSorting {
    width: 100%;
}
.textSearch {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.textSearch input {
    width: 100%;
    font-size: 18px;
    color: #2997aa;
    border: 1px solid #2997aa;
    padding: 2px 5px;
    border-radius: .25rem;
}
.textSearch button {
    border: 0px;
    padding: 12px 12px;
    margin-left: 4px;
    cursor: pointer;
}
.mobileControls {
    display: none;
}

.pagination {
    margin-top: 8px;
    width: 100%;
}
.pagination .page {
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 4px;

}
.activeFilters {
    position: relative;
    margin-top: 0px;
    margin-bottom: 20px;
    background-color: white;
    padding: 20px 30px 50px 30px;
    width: 100%;
    border-bottom-left-radius: .25rem;
    border-bottom-right-radius: .25rem;
    /*border: 1px solid #2a97ab;*/
}

.activeFilters::after {
    bottom: 0px;
    content: "";
    height: 28px;
    left: 0px;
    position: absolute;
    right: 0px;
    width: 100%;
    background: linear-gradient(0deg, rgb(234, 249, 249), rgba(255, 255, 255, 0));
}

.activeFilters .activeFiltersHeader {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 10px 0px;
}
.activeFilters .activeFiltersBody {
    max-height: 360px;
    overflow: auto;
}
.activeFilters .activeFilter {
    font-size: 14px;
}
.activeFilters .resetAll.callToAction {
    padding: 6px 14px;
}
.activeFilters h4 {
    margin: 0px;
    padding: 0px;
}
.activeFilters .activeFilter {
    background-color: #eaf9f9;
    border-radius: 5px;
    display: inline-block;
    padding-left: 10px;
    margin-right: 15px;
    margin-bottom: 10px;
}
.activeFilters .activeFilter .values {
    background-color: #2a97ab;
    border-radius: 5px;
    padding: 3px 10px;
    display: inline-block;
    color: white;
    margin: 2px 2px 2px 5px;
}

.emptyResults {
    text-align: center;
    margin: 80px 0px;
}

.cartLabel {
    text-transform: uppercase;
    color: black;
    font-size: 14px;
    background-color: white;
    border: 1px solid #2997aa;
    border-radius: .25rem;
    padding: 7px 12px;
    line-height: 160%;
}
.cartLabel span.icon {
    display: inline-block;
    margin-right: 5px;
    font-size: 18px;
    color: #2997aa;
}

@media (max-width: 1196px) {
    .pricePanel .addToBasket button img {
        margin-right: 0px;
    }
    .pricePanel .addToBasket button span, .cartLabel span.text {
        display: none;
    }
    .topSorting {
        font-size: 14px;
    }
}

@media (max-width: 970px) {
    .book {
        flex-basis: 100%;
    }
    .topSorting {
        font-size: 12px;
    }
    .filters {
        min-width: 230px;
        margin-right: 20px;
    }
}
@media (max-width: 800px) {
    .pricePanel .removeFromBasket button img {
        margin-right: 0px;
    }
    .pricePanel .removeFromBasket button span {
        display: none;
    }
    .filters {
        display: none;
        position: absolute;
        background-color: rgb(234, 249, 249);
        padding: 30px;
        z-index: 100;
        width: 92%;
        left: 3px;
    }
    .topSorting {
        display: none;
    }
    .mobileControls {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
    }
    .mobileControls a {
        display: block;
        flex-basis: 50%;
        text-align: center;
        vertical-align: center;
        padding-bottom: 16px;
        border: 1px solid  rgba(0, 0, 0, .1);
        border-top: none;
    }
    .mobileControls svg {
        width: 20px;
        position: relative;
        top: 4px;
    }
    .topSorting ul {
        flex-direction: column;
    }
    .topSorting ul li {
        padding: 20px 10px;
        font-size: 16px;
    }
    .topSorting ul li.selected {
        border-bottom: none;
        border-left: 6px solid #2997aa;
    }
    .pagination .page {
        padding: 10px 10px;
    }
}
