section.filter {
    overflow: visible;
}
.department_title {
    grid-column: 1 / -1;
}
.filter-top > div:first-child button {
    border: none;
    position: relative;
    padding-right: 2rem;
}
.filter-top > div:first-child button span {
    position: absolute;
    top: 0;
    padding-left: 0.5rem;
}
.filter-top button {
    background: transparent;
    border: var(--border1);
    padding: 1rem 2rem;
    cursor: pointer;
    margin-right: 0.5rem;
}
.filter-top button.active {
    background-color: var(--clr3);
    color: var(--textclr4);
}
.map-modal .item {
    opacity: 1;
}
.filter-results .item .media {
    width: 15rem;
    margin-right: 2rem;
}

.filter-results.items-list .item .media {
    width: 100%;
    margin-right: 0rem;
}
.filter-results .itemtext {
    padding: 0.9rem 0 3rem 0;
}
.map-filter-column .filter-results .item.horizontal {
    box-shadow: unset;
    border-bottom: var(--border1);
}
.map-filter-column .filter-results .itemtext {
    padding: 2rem 4rem 2rem 0rem;
}
.map-marker-content {
    padding: 1rem;
    width: 25rem;
    text-align: left;
}
.map-marker-content h4 {
    margin: 0 0 0.5rem 0;
}
.map-marker-content p {
    line-height: 1.5;
    margin-top: 1rem;
}
.filter-results .itemtext h3 {
    margin: 0;
}
.filter-results .itemtext p:last-of-type {
    margin-bottom: 0;
}
.full-width .filter-results .item .media {
    width: 100%;
    height: 24rem;
    margin-right: 0;
}
.filter-top h2 {
    margin-bottom: 1rem;
}
.filter-top .filter-btn {
    margin-top: 1rem;
}
section.filter .map-filter-column .container > .bottom-arrrow {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 2rem;
    width: 2rem;
    text-align: center;
    z-index: 1;
    transform: translateX(-50%);
    transition: var(--animtime2);
    opacity: 1;
    -moz-animation: bounce 2s infinite, fadeIn ease 0.4s;
    -webkit-animation: bounce 2s infinite, fadeIn ease 0.4s;
    animation: bounce 2s infinite, fadeIn ease 0.4s;
    cursor: pointer;
}
section.filter .map-filter-column .container > .bottom-arrrow svg {
    transform: rotate(90deg);
    width: 2rem;
    height: auto;
}
section.filter .map-filter-column .container .item .bottom-arrrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    transition: var(--animtime2);
}
section.filter .map-filter-column .item.horizontal:hover .bottom-arrrow {
    right: 0.5rem;
}
section.filter .map-filter-column {
    position: relative;
}
section.filter .map-filter-column:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 15rem;
    bottom: 0;
    left: 0;
    background: transparent
        linear-gradient(
            0deg,
            rgb(255, 255, 255) 0%,
            rgba(255, 255, 255, 0) 100%
        )
        0% 0% no-repeat padding-box;
}
.filter .container {
    width: 100%;
}
button.show-more {
    margin: 0 auto;
    margin-top: 3.5rem;
    display: block;
}
.load-more-container button.show-more {
    margin-top: 0;
    border: 0;
}
.filter .load-more-container {
    margin-bottom: 0;
    margin-top: 1rem;
}
.map-modal {
    height: 15rem;
    width: 60%;
    position: absolute;
    display: flex;
    bottom: 5rem;
    background: #fff;
    left: 50%;
    transform: translateX(-50%);
}
section.map {
    padding: 0;
    position: relative;
}
section.filter:not(.full-width) {
    display: flex;
}
.map-filter-column,
.map-column {
    flex: 0 0 50%;
    position: relative;
}
.map-filter-column .container {
    overflow: auto;
    height: 80vh;
}
.map-filter-column .container::-webkit-scrollbar {
    display: none;
}

.map-filter-column .container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.map-filter-column .container .items-list {
    padding-bottom: 8rem;
    row-gap: unset;
}
section.filter .map-filter-column.hide-arrow:after {
    display: none;
}
.map-column #map {
    height: 80vh;
}
.bottom-arrrow .arowb {
    stroke: var(--clr1);
}
#map .gm-ui-hover-effect {
    top: 0.5rem !important;
    right: 0.5rem !important;
}
#map .bottom-arrrow {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
}
.filter li.product {
    width: auto !important;
    margin-right: 0 !important;
}

.filter-controls h2 {
    margin: 0 0 4.8rem;
    text-transform: uppercase;
}
[data-type='employees'] .filter-controls h2 {
    text-transform: initial;
}

.filters_sidebar {
    display: flex;
    flex-wrap: wrap;
    row-gap: 0.8rem;
    column-gap: 0.8rem;
}

.filters_sidebar .filter-btn,
.filters_sidebar .filter-btn-all {
    font-size: var(--Typeface-Size-Miscellaneous-SubH3, 1.6rem);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding: 1.2rem 2rem;
    border-radius: 4.1rem;
    color: var(--textclr1);
    border: 1px solid var(--Gray-100, var(--clr2));
    cursor: pointer;
    background-color: transparent;
    transition: var(--animtime1);
}

.filters_sidebar .filter-btn:hover,
.filters_sidebar .filter-btn-all:hover {
    background-color: #f5f5f5;
}

.filters_sidebar .filter-btn.active,
.filters_sidebar .filter-btn-all.active {
    background-color: var(--clr2);
    color: #fff;
}

.filter .items-list {
    margin: 0;
}

.filter .columns-2 {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4rem;
    row-gap: 2.8rem;
}

.item.events .events-card-inner {
    display: flex;
    width: 100%;
    padding: 1.6rem 7.6rem 1.6rem 1.6rem;
    border-radius: 1.2rem;
    background-color: transparent;
    transition: var(--animtime1);
    display: flex;
    flex-direction: row;
    column-gap: 1.6rem;
    align-items: center;
    position: relative;
}

.item.events .events-card-inner::before {
    /*content: '';*/
    /*position: absolute;*/
    /*width: 4.8rem;*/
    /*height: 4.8rem;*/
    /*background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 48 48'%3E%3Crect width='48' height='48' fill='%23DBDBDB' rx='24'/%3E%3Cpath fill='%23000' d='M15.824 22.27h11.772l-3.618-3.636 2.034-2.034 5.886 5.904v2.61L26.012 31l-2.034-2.034 3.654-3.636H15.824v-3.06Z'/%3E%3C/svg%3E");*/
    /*background-size: 4.8rem 4.8rem;*/
    /*background-repeat: no-repeat;*/
    /*background-position: center;*/
    /*right: 1.6rem;*/
    /*top: center;*/
    /*opacity: 0;*/
    /*transition: var(--animtime1);*/
}

.item.events:hover .events-card-inner,
.item.events a:focus-visible .events-card-inner {
    background-color: var(--clr7);
}

.item.events a:focus-visible .events-card-inner {
    outline: auto;
}

.item.events:hover .events-card-inner::before,
.item.events a:focus-visible .events-card-inner::before {
    opacity: 1;
}

.item.events .media,
.item.events .media figure {
    height: 10rem !important;
    width: 10rem !important;
}

.item.events .media {
    flex: 0 0 auto;
}

.item.events .itemtext {
    border: 0;
    padding: 0;
    flex: 1 1 auto;
}

.item.events .itemtext .date {
    font-size: var(--Typeface-Size-Miscellaneous-SubH3, 1.6rem);
    font-weight: 700;
    line-height: var(--Typeface-Size-Miscellaneous-SubH3, 1.6rem);
    margin: 0 0 0.4rem;
}

.item.events .itemtext h3 {
    font-family: var(--Typeface-Family-Body, 'Inter');
    font-size: var(--Typeface-Size-Miscellaneous-SubH2, 1.8rem);
    font-weight: 700;
    line-height: var(--Typeface-Size-Line-height-SubH2, 2.4rem);
}

.item.events .itemtext .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.8rem;
}

.item.events .itemtext .tag {
    margin: 0;
    padding: 0.4rem 0.8rem;
    display: inline-block;
    border-radius: 6rem;
    background: var(--clr6, #ededed);
    font-size: var(--Typeface-Size-Miscellaneous-Caption, 1rem);
    font-style: normal;
    font-weight: 400;
    line-height: var(--Typeface-Size-Line-height-Caption, 1.4rem);
}

.item.events a {
    text-decoration: none;
}

[data-type='employees'] .department_title {
    grid-column: 1 / 3;
    padding: 0 0 3.2rem;
    border-bottom: 1px solid var(--Gray-100, #0a0a0a);
    margin: 0;
}

.filter[data-type='employees'] .columns-2 {
    column-gap: 3.8rem;
    row-gap: 4.8rem;
}

.filter[data-type='employees'] .item .media,
.filter[data-type='employees'] .item .media figure {
    height: 21rem;
    max-width: 40rem;
}

.filter[data-type='employees'] .itemtext {
    padding: 0.8rem 0 0;
    border: none;
}

.filter[data-type='employees'] .itemtext h3 {
    font-family: var(--Typeface-Family-Body, 'Inter');
    font-size: var(--Typeface-Size-Miscellaneous-SubH1, 2rem);
    font-style: normal;
    font-weight: 700;
    line-height: var(--Typeface-Size-Line-height-SubH1, 2.8rem);
}

.employee_phone,
.employee_email {
    margin: 0;
}

.employee_phone a,
.employee_email a {
    margin: 0;
    font-size: var(--Typeface-Size-Body-Base, 1.8rem);
    font-style: normal;
    font-weight: 400;
    line-height: var(--Typeface-Size-Line-height-Base, 2.6rem);
    background-image: linear-gradient(
        var(--Gray-100, #0a0a0a),
        var(--Gray-100, #0a0a0a)
    );
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% 0%; /* start hidden */
    transition: background-size 0.3s ease, color 0.3s ease;
    text-underline-offset: 0.15em;
    text-decoration-color: #0a0a0a;
    text-decoration: underline;
}

.employee_phone a:hover,
.employee_email a:hover {
    background-size: 100% 100%;
    color: #fff;
}

@media screen and (min-width: 1001px) {
    .filter-grid {
        display: grid;
        grid-template-columns: 39.4rem 1fr;
        column-gap: 4.8rem;
    }

    .filter-controls {
        position: sticky;
        top: var(--pad_big);
        align-self: start;
    }

    [data-type='employees'] .department_title:not(:first-child) {
        margin-top: 3.2rem;
    }
}
@media screen and (max-width: 1000px) {
    section.filter:not(.full-width) {
        flex-direction: column-reverse;
    }
    .map-filter-column .container .items-list {
        padding-bottom: 3rem;
    }
    .map-filter-column,
    .map-column {
        flex: 0 0 100%;
    }
    .map-column #map {
        height: 50rem;
    }
    .map-filter-column .container {
        height: auto;
    }
    section.filter .map-filter-column:after,
    section.filter .map-filter-column .bottom-arrrow.total {
        display: none;
    }
    .filter-controls {
        margin: 0 0 2.4rem;
    }
    .filter-controls h2 {
        margin: 0 0 2.4rem;
    }
    .filter .columns-2 {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 1.6rem;
    }
    .item.events .events-card-inner {
        background-color: var(--clr7);
    }

    .item.events .events-card-inner::before {
        opacity: 1;
    }

    .filter .load-more-container {
        margin-top: 0;
    }

    [data-type='employees'] .department_title {
        grid-column: 1 / 2;
    }
}
@media screen and (max-width: 768px) {
    .filter ul.products li.product {
        width: auto !important;
        margin: 0 0 2.992em;
    }
}
@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(0.3rem);
    }
}
