
.alphabets-filter-wrapper {
    padding-bottom: 68px;
}

.alphabets-filter-wrapper .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.alphabets-filter-wrapper .subheading {
    margin-bottom: 0;
}

.alphabets-filter-wrapper ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 16px 20px 11px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    margin: 21px 0 0;
}

.alphabets-filter-wrapper ul li {
    list-style-type: none;
    text-transform: uppercase;
    font-size: 18px;
    border: 4px solid transparent;
    padding: 2px 6px;
    height: 31px;
    margin: 0 8px;
    line-height: 1;
    cursor: pointer;
    transition: 0.3s border-color;
}
.alphabets-filter-wrapper ul li:hover {
    border: 4px solid #000;
    /* width: 32px; */
}
.alphabets-filter-wrapper ul li.active {
    border: 1px solid #000;
    background: #000;
    color: #fff;
    padding: 5px 12px;
    width: auto;
}

/* Artist search */
.artist-search-section {
    padding-top: 52px !important;
    padding-bottom: 52px;
}
.artist-search {
    position: relative;
    z-index: 2;
}

.artist-search .artist-search__body {
    position: relative;
}

.artist-search .artist-search__loader {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 1;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    border-radius: 50%;
    border: 2px solid #000;
    border-top-color: transparent;
    animation: fa-spin 1s infinite linear;
}

.artist-search .artist-search__icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    font-size: 20px;
}

.artist-search .artist-search__field {
    background-color: #efefef;
    padding-right: 45px;
    padding-left: 50px;
}

.artist-search .artist-search__clear {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 45px;
    padding: 0;
    border: none;
    background: none;
}

.artist-search .artist-search__dropdown {
    position: absolute;
    top: calc( 100% + 0.2rem);
    left: 0;
    right: 0;
    max-height: 400px;
    padding: 0;
    background-color: #fff;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    list-style: none;
    overflow-y: auto;
}

.artist-search .artist-search__dropdown a {
    display: block;
    padding: 10px 15px;
}

.artist-search .artist-search__dropdown a:hover {
    background-color: #f7f7f7;
    color: inherit;
}
/* End Artist search */

.artist-grid {
    margin-bottom: 3rem;
}

.artist-grid .accordion-image {
    margin-bottom: 5rem;
    position: relative;
}

.artist-grid .accordion-image--img {
    position: relative;
    padding-top: 91.43%;
    overflow: hidden;
}

.artist-grid .accordion-image img {
    width: 100%;
    height: auto;
    /*height: 322px;*/
    object-fit: contain;
    object-position: center;
}

.artist-grid .accordion-image--img img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    margin: auto;
}

.artist-grid .accordion-image--content {
    padding: 20px;
    padding-bottom: 0;
    /*padding-top: 67px;*/
    color: #000;
}
.artist-grid .accordion-image--content p {
    letter-spacing: .5px;
}

.artist-grid .accordion-image--content p:last-child {
    margin-bottom: 0;
}
.artist-grid .accordion-image--content .art-name {
    font-size: 20px;
    margin-bottom: 16px;
    color: #000;
}

.artist-grid .accordion-image--content .art-name a {
    color: inherit;
}

.artist-grid .accordion-image--content .art-date {
    /*font-size: 16px;*/
    /*margin-bottom: 16px;*/
    color: #000;
    border-color: #000;
}

.artist-grid .btn-wrap {
    text-align: center;
    /*padding-top: 59px;*/
}

/*.artist-grid .btn-wrap .more-btn {*/
/*    padding: 0.5rem 1.5rem;*/
/*    min-width: 186px;*/
/*    text-align: center;*/
/*    display: inline-block;*/
/*    text-transform: uppercase;*/
/*    background-color: transparent;*/
/*    transition: all .2s cubic-bezier(.23,.67,.83,.67);*/
/*    font-weight: 500;*/
/*    font-size: .875rem;*/
/*    border-color: #555555;*/
/*    color: #555555;*/
/*}*/

/*.artist-grid .btn-wrap .more-btn:hover {*/
/*    background-color: #555555;*/
/*    color: #ffffff;*/
/*    box-shadow: unset;*/
/*    outline: none;*/
/*}*/

body.ajax-loading .alphabets-filter-wrapper,
body.ajax-loading .artist-grid {
    opacity: 0.5;
}

body.ajax-loading .alphabets-filter-wrapper .alpha-filter,
body.ajax-loading .artist-grid .stretched-link::after,
body.ajax-loading .artist-grid .btn-wrap {
    pointer-events: none;
}

/*Artist lots detail pages*/
.artist-intro{
    padding-top: 10.625rem !important;
    padding-bottom: 10.625rem !important;
    margin-bottom: 0 !important;
}

.artist-intro.no-header-block {
    padding-top: 12.625rem !important;
    padding-bottom: 6.25rem !important;
}

.filter-lots {
    margin: 40px 0 0;
    padding: 16px 0;
    position: relative;
}

.filter-lots ul {
    height: 36px;
    width: 220px;
    border-bottom: 2px #000 solid;
    margin: 0;
    position: absolute;
    top: 0;
    right: 40px;
    padding: 0;
    z-index: 2;
}
.filter-lots ul:after {
    content: '';
    border: solid #000000;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    position: absolute;
    right: 5px;
    top: 40%;
}
.filter-lots ul.active:after {
    top: 35%;
}
.filter-lots ul.active:before {
    content: '';
    border: solid #000000;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2px;
    transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
    position: absolute;
    right: 5px;
    margin-top: 5px;
    top: 35%;
}

.filter-lots ul li {
    padding: 5px 10px;
    z-index: 2;
    cursor: pointer;
}

.filter-lots ul li:not(.init) {
    float: left;
    width: 220px;
    display: none;
    background: #ddd;
}

.filter-lots ul li:not(.init):hover, ul li.selected:not(.init) {
    background: #fff;
}

.filter-lots li.init {
    cursor: pointer;
    margin-bottom: 2px;
}

/*.page-template-tpl-artists .hero-text p {*/
/*    background-color: #fff;*/
/*    color: #555 !important;*/
/*    padding: 0.375rem 0.875rem;*/
/*    font-size: 1.125rem;*/
/*    text-transform: uppercase;*/
/*    display: inline-block;*/
/*    letter-spacing: .0625rem;*/
/*    font-weight: 600;*/
/*}*/
.artist-lots-wrapper .section-portrait {
    padding-top: 56px;
    margin-bottom: 0;
}
.artist-lots-wrapper + .btn-wrap {
    padding-bottom: 56px;
}
.artist-lots-wrapper + .btn-wrap .more-btn {
    border-color: #555555;
    color: #555555
}
.artist-lots-wrapper + .btn-wrap .more-btn:hover,
.artist-lots-wrapper + .btn-wrap .more-btn:focus,
.artist-lots-wrapper + .btn-wrap .more-btn:focus-visible {
    background-color: #555555;
    color: #ffffff;
    box-shadow: unset;
    outline: none;
}
.artist-lots-wrapper .section-portrait .btn-wrap {
    position: relative;
    z-index: 20;
}
.artist-lots-wrapper .section-portrait#upcoming-lots {
    margin-bottom: 3rem;
}
.artist-lots-wrapper .section-portrait#upcoming-lots .btn-wrap {
    /*margin-bottom: 3rem;*/
    /*margin-top: -1rem;*/
}
.artist-lots-wrapper .section-portrait#past-lots {
/*    margin-bottom: -3rem;*/
}
.artist-lots-wrapper .section-portrait#past-lots .btn-wrap {
    margin-bottom: 3rem;
    margin-top: -1rem;
}
/*Media Queries*/
@media screen and (min-width: 768px){
    .artist-grid {
        margin-bottom: 5rem;
    }

    .artist-intro .widget-introduction--content__heading {
        font-size: 3.5rem; /* Match hero-title */
    }
    .artist-lots-wrapper .section-portrait#upcoming-lots {
        margin-bottom: 5rem;
    }
    .artist-lots-wrapper .section-portrait#upcoming-lots .btn-wrap {
        /*margin-bottom: 5rem;*/
        /*margin-top: -6rem;*/
    }
    .artist-lots-wrapper .section-portrait#past-lots {
/*        margin-bottom: -5rem;*/
    }
    .artist-lots-wrapper .section-portrait#past-lots .btn-wrap {
        margin-bottom: 5rem;
        margin-top: -6rem;
    }

    .artist-grid .accordion-image--content {
        padding: 25px;
        padding-bottom: 0;
    }

    .artist-grid .accordion-image--content .art-name {
        margin-bottom: 18px;
    }
}
@media screen and (min-width: 992px){
    .artist-intro .widget-introduction--content {
        max-width: inherit;
    }
    .artist-intro .widget-introduction--content__heading {
        font-size: 3.75rem; /* Match hero-title */
    }

    .artist-grid .accordion-image--content .art-name {
        margin-bottom: 24px;
    }
}
@media screen and (min-width: 1200px){
    .artist-intro .widget-introduction--content__heading {
        font-size: 5.3125rem; /* Match hero-title */
    }
    .artist-lots-wrapper .widget-introduction--content__subheading {
        margin-bottom: 2rem;
    }
}
@media screen and (max-width: 1600px) {
    /*.artist-grid .accordion-image img {*/
    /*    height: 252px;*/
    /*}*/

    /*.artist-grid .accordion-image {*/
    /*    padding: 2rem 1rem;*/
    /*}*/

    .artist-grid .accordion-image--content {
        padding-top: 35px;
    }
}

@media screen and (max-width: 1200px) {
    .alphabets-filter-wrapper ul {
        padding: 16px 17px 0;
    }

    .alphabets-filter-wrapper ul li {
        margin-bottom: 13px;
    }

    .alphabets-filter-wrapper {
        padding-bottom: 64px;
    }
}
@media screen and (max-width: 767px) {
    .artist-grid .container-fluid .row .col-6:nth-child(odd) {
        padding-right: 5px;
    }

    .artist-grid .container-fluid .row .col-6:nth-child(even) {
        padding-left: 5px;
    }

    .artist-grid .accordion-image {
        /*padding: 16px 10px 23px;*/
        margin-bottom: 40px;
    }

    /*.artist-grid .accordion-image img {*/
    /*    height: 127px;*/
    /*}*/

    .artist-grid .accordion-image--content {
        padding-top: 28px;
    }

    /*.artist-grid .accordion-image--content .art-name {*/
    /*    font-size: 16px;*/
    /*    letter-spacing: 0;*/
    /*    margin-bottom: 10px;*/
    /*}*/

    .artist-grid .accordion-image--content .art-date {
        font-size: 14px;
    }

    .artist-grid .btn-wrap {
        /*padding-top: 10px;*/
    }

    .artist-intro {
        padding-top: 4.625rem !important;
        padding-bottom: 2.625rem !important;
    }

    .artist-intro.no-header-block {
        padding-top: 7.625rem !important;
        padding-bottom: 1.25rem !important;
    }

    .filter-lots {
        margin: 40px 0 40px;
    }
    .filter-lots ul {
        width: calc(100% - 30px);
        left: 15px;
        right: auto;
    }
    .filter-lots ul li:not(.init) {
        width: 100%;
    }
    .artist-lots-wrapper .section-portrait {
        padding-top: 40px;
    }
    .artist-lots-wrapper + .btn-wrap {
        padding-bottom: 40px;
    }
}

/* Show hide content toggle */
.hideContent {
    overflow: hidden;
    height: 58px;
}

.showContent {
    height: auto;
    overflow: hidden;
}
.show-more a {
    font-size: 1.1875rem;
    height: 25px;
    width: 25px;    
    display: block;
    font-weight: 600;
    line-height: 25px;
    text-align: center;
    margin: 15px auto 0;    
    background: transparent;
}
.show-more a:not(:hover) {
    color: #fff;
}
.show-more a:hover {
    background: #e6e6e6;
}

/* Mobile Header (move to app.css) */
/* Set aspect ratio for artist heading images */
.page-template-tpl-artists .hero-cropped,
.single-artist .hero-cropped {
    min-height: auto;
    padding-top: 131%;
    height: auto;
}

/*.page-template-tpl-artists .hero-cropped .hero-img,
.single-artist .hero-cropped  .hero-img {
    position: absolute;
}*/

.page-template-tpl-artists .hero-cropped .container,
.single-artist .hero-cropped .container {
    position: absolute;
    top: 50%;
    left:  50%;
    transform: translate(-50%, -50%);
}
@media screen and (min-width: 768px) {
    /* Set aspect ratio for desktop image */
    .page-template-tpl-artists .hero-cropped,
    .single-artist .hero-cropped {
        padding-top: 37.5%;
    }

    /* Limit width for split image designs */
    .single-artist .hero-cropped .hero-title {
        max-width: 620px;
    }
}
@media screen and (min-width: 1200px) {
    /* Limit width for split image designs */
    .page-template-tpl-artists .hero-cropped .hero-title,
    .single-artist .hero-cropped .hero-title {
        /*font-size: 3.75rem; !* 60px *!*/
    }
}
@media screen and (min-width: 1500px) {
    /* Limit width for split image designs */
    .page-template-tpl-artists .hero-cropped .hero-title,
    .single-artist .hero-cropped .hero-title {
        /*font-size: 5.3125rem; !* 85px *!*/
    }
}

.artist-grid .section-heading--title {
    color: #000;
    border-bottom-color: #000;
}
