.results-banner-ad-wrapper {
    display: flex;
    width: 90vw;
    margin: 14px auto 0;
}

@media screen and (max-width: 1249px) {
    .results-banner-ad-wrapper {
        margin-top: 0;
    }
}

.results-banner-ad {
    margin: 24px auto;
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 649px) {
    .results-banner-ad {
        margin: 3.7vw auto;
    }
}

.results-banner-ad-image {
    max-height: 66px;
    width: 100%;
}

.results-overlay {
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
}

.results-title {
    font-size: 32px;
    font-weight: 700;
    padding: 6px 0;
    text-align: center;
    display:flex;
    justify-content: center;
    margin: 0;
}

@media screen and (max-width: 649px) {
    .results-title {
        font-size: 4.95vw;
        padding: 0.85vw 0;
    }
}

.results-page {
    display: flex;
    justify-content: center;
    flex-direction: row;
    width: 90vw;
    margin: 0 auto 48px;
}

@media screen and (max-width: 649px) {
    .results-page {
        margin: 0 auto 7.4vw;
    }
}

/* Results Filter and Ad Section */

@media screen and (max-width: 1009px) {
  .results-page-left-wrapper { 
      width: 0%; }
}

.results-vertical-ad-wrapper {
    height: 600px;
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

/* Results Body */

.results-body {
    width: 100%;
    margin-left: 32px;
}

@media screen and (max-width: 1009px) {
    .results-body {
        margin: 0;
    }
}

.results-body-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.results-body-top-left {
    display: flex;
    align-items: center;
    justify-content: center;
}

.results-body-top-middle { 
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 22px;
}



.results-body-top-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.results-body-filter-category {
    margin: 0 6px 0 0;
    font-size: 14px;
}

@media screen and (max-width: 649px) {
    .results-body-filter-category {
        font-size: 2.15vw;
        margin: 0 .95vw 0 0;
    }
}

.results-body-filter-select {
    margin: 0 10px 2px 0;
    font-size: 14px;
    border: none;
    border-radius: 2px;
    background: transparent;
    width: 130px;
    text-align: center;
}

@media screen and (max-width: 649px) {
    .results-body-filter-select {
        font-size: 2.15vw;
        margin: 0 1.55vw .4vw 0;
        width: 20vw;
    }
}

.results-body-filter-select.number {
    width: 50px;
}

@media screen and (max-width: 649px) {
    .results-body-filter-select.number {
        width: 7.7vw;
    }
}

.results-body-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    margin: 1rem 0;
}

@media screen and (max-width: 649px) {
    .results-body-list {
        margin: 2.45vw 0;
    }
}

.results-body-list-item:hover {
    background: rgba(0, 0, 0, 0.09);
}

#filter-item {
    display: none;
    visibility: hidden;
    background: transparent;
}

@media screen and (max-width: 1009px) {
    #filter-item {
        display: initial;
        visibility: visible;
    }
}

.filter-button {
    border: none;
    border-radius: 100px;
    background: #00a5e3;
    color: #fff;
    margin: 0 20px;
    padding: 4px 12px;
    font-size: 14px;
    display: flex;
    align-items: center;
    white-space: pre-wrap;
    cursor: pointer;
}

@media screen and (max-width: 649px) {
    .filter-button {
        font-size: 2.15vw;
        margin: 0 3.1vw;
        padding: .6vw 1.8vw;
    }
}

.results-body-button {
    border: none;
    background: transparent;
    height: 24px;
    width: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 4px;
    cursor: pointer;
}

@media screen and (max-width: 649px) {
    .results-body-button {
        height: 3.7vw;
        width: 3.7vw;
        padding: 0 0.6vw;
    }
}

.results-body-button-icon {
    height: 22px;
    width: 22px;
}

@media screen and (max-width: 649px) {
    .results-body-button-icon {
        height: 3.4vw;
        width: 3.4vw;
    }
}

#table-icon {
    height: 16px;
}

@media screen and (max-width: 649px) {
    #table-icon {
        height: 2.45vw;
    }
}

.results-body-filter-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;

}

/* Results Middle Section */

.grid-layout-list {
    list-style-type: none;
    padding: 0;
    max-width: 90%;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    justify-content: space-around;
}

.grid-layout-list-item {
    margin-bottom: 40px;
}

@media screen and (max-width: 649px) {
    .grid-layout-list-item {
        margin-bottom: 1.55vw;
    }
}

.grid-layout-list-ad {
    display: flex;
    justify-content: center;
    min-height: 91px;
    margin-bottom: 40px;
    width: 100%;
}

@media screen and (max-width: 778px) {
    .grid-layout-list-ad {
        min-height: 51px;
    }
}

@media screen and (max-width: 649px) {
    .grid-layout-list-ad {
        margin-bottom: 1.55vw;
    }
}

.layout-list-ad {
    display: flex;
    justify-content: center;
    min-height: 91px;
    width: 0;
    margin: auto;
}

@media screen and (max-width: 778px) {
    .layout-list-ad {
        min-height: 51px;
    }
}

.table-layout {
    display: flex;
    flex-direction: column;
}

.table-title-wrapper {
    border-bottom: 1px solid #ebebeb;
    display: flex;
    justify-content: space-between;
}

.table-title {
    margin: 0 0 0 12px;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

@media screen and (max-width: 649px) {
    .table-title {
        padding: 1.85vw 0;
        margin-left: 1.55vw;
        font-size: 2.45vw;
    }
}

#image-title {
    width: 130px;
}

@media screen and (max-width: 649px) {
    #image-title {
        width: 20.1vw;
    }
}

.table-title-wrapper-section {
    display: flex;
    flex-direction: row;
    align-items: center;
}

    .table-title-wrapper-section:last-of-type {
        width: 16.75vw;
    }

#cart-title {
    visibility: hidden;
}

.layout-list {
    list-style-type: none;
    padding: 0;
    margin: 12px 0;
}

.layout-list-item {
    margin: 6px 0;
}

@media screen and (max-width: 649px) {
    .layout-list-item {
        margin: 0.92vw 0;
    }
}

/* Results Section Middle */

.results-none-text {
    text-align: center;
    /*margin-left: -250px;*/
    font-size: 22px;
    min-height: 1180px;
}

@media screen and (max-width: 649px) {
    .results-none-text {
        font-size: 2.47vw;
        min-height: 181.81vw;
    }
}

/* Results Bottom Section */

.results-section-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.results-page-buttons-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.results-pagination-list {
    display: flex;
    flex-direction: row;
    list-style-type: none;
    padding: 0;
    margin: 12px 0;
}

@media screen and (max-width: 649px) {
    .results-pagination-list {
        margin: 1.8vw 0;
    }
}

.results-pagination-list-item.active > .results-pagination-button {
    background: #00a5e3;
    color: #fff;
}

.results-pagination-button {
    padding: 6px 10px;
    margin: 0 6px;
    font-size: 15px;
    line-height: 18px;
    cursor: pointer;
    border: none;
    border-radius: 2px;
    background-color: #f0f0f0;
    color: #262626;
}

@media screen and (max-width: 649px) {
    .results-pagination-button {
        margin: 0 0.85vw;
        padding: 0.85vw 1.55vw;
        font-size: 2.2vw;
        line-height: 2.8vw;
    }
}


.mobile-filter-button {
    display: none;
}

@media screen and (max-width: 1009px) {
    .mobile-filter-button {
        display: block;
        background-color: #00a5e3;
        color: #fff;
        font-size: 12px;
        text-transform: uppercase;
        border: none;
        padding: 5px;
        cursor: pointer;
        border-radius: 5px;
    }
}

.results-back-to-top-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

#backToTopButton {
    background-color: #00a5e3;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    width: 230px;
    padding: 12px;
    cursor: pointer;
    border-radius: 5px;
}

.search-header-text {
    font-size: 32px;
}

@media screen and (max-width: 580px) {
    .search-header-text {
        font-size: 3.5vw;
    }
}
