/*
Directory CSS
*/

/* General
========================= */
.directory .site-inner {
    padding: 5em 2em;
    min-height: 950px;
    width: 100%;
}

/* Directory
========================= */
.category-listing {
    display: flex;
    flex-direction: column;
    margin: 0 1em;
    padding: 0 0 1em;
}

.category-listing-filter {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    max-width: 1480px;
    width: 100%;
}

/* Search
========================= */
.showroom-search-wrapper {
    width: 100%;
    max-width: 500px;
    height: 75px;
    position: relative;
    margin: 0 auto;
}

.search-form {
    background: transparent;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    box-shadow: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    width: 500px;
    height: 50px;
    z-index: 10;
}

.search-form.focus {
    box-shadow: none;
    border-color: #fec70f;
}

.search-form-input {
    background: none;
    border: none;
    color: #303133;
    font-family: 'Mulish', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    outline: none;
    position: absolute;
    top: 15px;
    left: 18px;
    width: 425px;
    height: 20px;
}

.search-form-input::-webkit-search-cancel-button {
    appearance: none;
}

.search-form-submit {
    content: "\f002";
    border: none;
    background: none;
    color: #303133;
    cursor: pointer;
    margin: 0;
    padding: 0;
    outline: none;
    position: absolute;
    top: 15px;
    right: 16px;
    width: 20px;
    height: 20px;
    font-family: 'icomoon' !important;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

/* Directory Filter Nav
=================================================== */
.category-filter {
    display: flex;
    flex-direction: column;
    margin: 0 1em;
    padding: 1.5em 0 0;
    width: 100%;
}

.category-filter-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 1.5em 0 1em;
}

.category-filter-title span {
    color: #1a1a1a;
    font-family: 'Mulish', sans-serif;
    font-size: 5rem;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-align: left;
}

/* Filter Row */
.category-filter-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8em;
    flex-wrap: wrap;
    width: 100%;
    padding: 0.5em 0 1.5em;
}

.category-filter-label {
    color: #1a1a1a;
    font-family: 'Mulish', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0;
    white-space: nowrap;
}

.filters {
    display: flex;
    align-items: center;
}

.filters ul {
    display: flex;
    flex-flow: row wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5em;
}

.filters ul li {
    border: 1px solid #9a9a9a;
    border-radius: 50px;
    margin: 0;
    padding: 0.45em 1.4em;
    font-family: 'Mulish', sans-serif;
    font-size: 1.2rem;
    color: #303133;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    letter-spacing: 0;
    transition: all 0.2s ease-in-out;
}

.filters ul li:hover {
    border-color: #1a1a1a;
    color: #1a1a1a;
}

.filters ul li.active {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

/* Floor Filter Pill */
.directory-floor-filter {
    display: flex;
    align-items: center;
}

.directory-floor-filter select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid #9a9a9a;
    border-radius: 50px;
    padding: 0.45em 2em 0.45em 1.4em;
    font-family: 'Mulish', sans-serif;
    font-size: 1.2rem;
    color: #303133;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23303133' stroke-width='1.5' fill='none' fill-rule='evenodd' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8em center;
    outline: none;
    transition: all 0.2s ease-in-out;
}

.directory-floor-filter select:hover {
    border-color: #1a1a1a;
}

.slide-filter {
    display: none;
}

.directory-category-slider-wrap {
    width: 100%;
    padding: 0;
}

.directory-category-slider .wrap {
    display: inline-grid !important;
    gap: 5px;
}

.directory-category-slider .wrap:before,
.directory-category-slider .wrap:after {
    display: none;
}

.directory-category-slider__item {
    border: 1px solid #1a1a1a;
    flex: 1 auto;
    margin: 0.5em;
    padding: 0.5em 1em;
    font-family: 'Mulish', sans-serif;
    font-size: 1.3rem;
    color: #303133;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.directory-category-slider__item.active {
    background-color: #303133;
    color: #fec70f;
}

.tns-nav {
    text-align: center;
    margin-top: 30px;
}

.tns-nav button {
    width: 15px;
    height: 15px;
    border-radius: 20px;
    border: none;
    margin: 0 5px;
    background-color: #d8d8d8;
}

.tns-nav button.tns-nav-active {
    background-color: #fec70f;
}

.directory-category-slider[data-chunksize='1'] .wrap {
    grid-template-columns: repeat(1, 1fr);
}

.directory-category-slider[data-chunksize='2'] .wrap {
    grid-template-columns: repeat(2, 1fr);
}

.directory-category-slider[data-chunksize='3'] .wrap {
    grid-template-columns: repeat(3, 1fr);
}

.directory-category-slider[data-chunksize='4'] .wrap {
    grid-template-columns: repeat(2, 1fr);
}

.directory-category-slider[data-chunksize='5'] .wrap {
    grid-template-columns: repeat(3, 1fr);
}

.directory-category-slider[data-chunksize='6'] .wrap {
    grid-template-columns: repeat(3, 1fr);
}

.directory-category-slider[data-chunksize='7'] .wrap {
    grid-template-columns: repeat(4, 1fr);
}

.directory-category-slider[data-chunksize='8'] .wrap {
    grid-template-columns: repeat(4, 1fr);
}

.directory-category-slider[data-chunksize='9'] .wrap {
    grid-template-columns: repeat(5, 1fr);
}

.directory-category-slider[data-chunksize='10'] .wrap {
    grid-template-columns: repeat(5, 1fr);
}

.directory-category-slider[data-chunksize='11'] .wrap {
    grid-template-columns: repeat(6, 1fr);
}

.directory-category-slider[data-chunksize='12'] .wrap {
    grid-template-columns: repeat(6, 1fr);
}

/* Directory Listing
========================= */
.directory-showroom-listing {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5em 0 4em;
    overflow: hidden;
}

.directory-showroom-listing-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 100%;
    width: 100%;
    height: 100%;
}

.directory-showroom {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 0;
    padding: 0;
}

.directory-showroom .column {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0.5em;
    transition: opacity .4s ease-out;
    width: calc(1/5*100% - (1 - 1/5)*0px);
    min-height: 250px;
}

.directory-showroom .column .column-wrapper {
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    padding: 1em;
}

.directory-showroom .column.np .column-wrapper>div {
    width: 100%;
}

.directory-showroom .column .column-wrapper a {
    width: 100%;
}

.directory-showroom .column .column-wrapper a:after {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
}

.directory-showroom .column:hover {
    opacity: .4;
}

.directory-showroom .column.np:hover {
    opacity: 1;
}

.directory-showroom .column a:hover {
    color: #eee;
}

.column-top {
    display: flex;
    justify-content: center;
    line-height: 1.2;
}

.column-top img {
    display: block;
    margin: 0 auto;
    max-width: 200px;
    width: 100%;
}

.column-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1em;
}

.column-bottom span {
    color: #1a1a1a;
    font-family: 'Mulish', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* Responsive
--------------------------------------------- */
@media only screen and (min-width: 1980px) {}

@media only screen and (min-width: 2500px) {}

@media only screen and (max-width: 1480px) {
    .directory-showroom .column {
        width: calc(1/4*100% - (1 - 1/4)*0px);
    }
}

@media only screen and (max-width: 1280px) {
    .category-filter-title span {
        font-size: 4.5rem;
    }

    .directory-showroom-listing {
        padding: 2em 0 3em;
    }

    .directory-showroom .column {
        min-height: 225px;
    }

    .directory-showroom .column .column-wrapper {
        padding: 0;
    }

    .column-top img {
        max-width: 175px;
    }
}

@media only screen and (max-width: 1140px) {
    .category-filter-title span {
        font-size: 4rem;
    }
}

@media only screen and (max-width: 1080px) {
    .directory-showroom .column {
        width: calc(1/3*100% - (1 - 1/3)*0px);
    }
}

@media only screen and (max-width: 1023px) {
    .directory .site-inner {
        padding: 8em 2em 1em;
    }

    .category-filter-title span {
        font-size: 3.5rem;
    }

    .tag-filter {
        display: flex;
    }

    .slide-filter {
        display: none;
    }

    .directory-category-slider[data-chunksize='10'] .wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .directory-showroom-listing {
        padding: 1.5em 0 3em;
    }
}

@media only screen and (max-width: 880px) {}

@media only screen and (max-width: 768px) {
    .directory .site-inner {
        padding: 0.5em 2em 1em;
    }

    .category-filter-title span {
        font-size: 3rem;
    }

    .directory-showroom-listing {
        padding: 1.5em 0 2em;
    }

    .column-top img {
        max-width: 165px;
    }
}

@media only screen and (max-width: 719px) {
    .category-filter-title span {
        font-size: 2.8rem;
    }

    .directory-showroom .column {
        width: calc(1/2*100% - (1 - 1/2)*0px);
    }
}

@media only screen and (max-width: 640px) {
    .directory .site-inner {
        padding: 0.5em 0;
    }

    .category-listing {
        margin: 0 1.5em;
    }

    .category-filter {
        margin: 0;
    }

    .category-filter-title span {
        font-size: 2.6rem;
    }

    .category-filter-row {
        flex-direction: column;
        gap: 0.6em;
    }

    .category-filter-label {
        font-size: 1.2rem;
    }

    .showroom-search-wrapper {
        max-width: 100%;
    }

    .search-form {
        width: 100%;
    }

    .search-form-input {
        width: calc(100% - 40px);
    }
}

@media only screen and (max-width: 580px) {
    .column-top img {
        max-width: 155px;
    }
}

@media only screen and (max-width: 520px) {
    .column-top img {
        max-width: 150px;
    }
}

@media only screen and (max-width: 480px) {
    .category-filter-title span {
        font-size: 2.4rem;
    }

    .filters ul {
        justify-content: center;
    }

    .directory-showroom .column {
        min-height: 150px;
        padding: 0.5em;
        width: 100%;
    }
}

@media only screen and (max-width: 420px) {}