.taxonomy-tab-filters-widget .ajax-loading-link,
.taxonomy-tab-filters-widget .taxonomy-tab-filters-content{
    position: relative;
}
.taxonomy-tab-filters-widget .taxonomy-tab-filters-content:before,
.taxonomy-tab-filters-widget .ajax-loading-link:before{
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    z-index: 10;
    pointer-events: none;
    transition: all 0.3s ease;
}
.taxonomy-tab-filters-widget .ajax-loading-link.loading:before{
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(5px);
    pointer-events: none;
}
.taxonomy-tab-filters-widget .filter-group-wrapper{
    position: relative;
}
.taxonomy-tab-filters-widget .clear-filters{
    background: transparent;
    color: var(--primary-color);
    border: none;
    padding: 0;
    border-radius: 0;
    position: absolute;
    right: 0;
    bottom: 0;
}
.taxonomy-tab-filters-widget .clear-filters:hover{
    background: transparent;
    color: var(--primary-color);
    padding: 0;
    border: none;
}
.taxonomy-tab-filters-widget.loading .taxonomy-tab-filters-content:before{
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(5px);
    pointer-events: all;
}
.taxonomy-tab-filters-widget .ajax-loading-link.loading:after,
.taxonomy-tab-filters-widget.loading .taxonomy-tab-filters-content:after {
    content: "";
    position: absolute;
    top: 25rem;
    left: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
    border-radius: 50%;
    border: 4px solid transparent;
    border-top-color: #275D60;
    border-right-color: #275D60;
    border-left-color: #275D60;
    z-index: 20;
    animation: spin 1s linear infinite;
    pointer-events: none;
}
.taxonomy-tab-filters-widget .ajax-loading-link.loading:after{
    animation: spinsmall 1s linear infinite;
    top: 50%;
}
.taxonomy-tab-filters-widget .grid {
    display: grid;
    justify-content: center;
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    grid-gap: 25px;
}
body[data-elementor-device-mode="tablet_extra"] .taxonomy-tab-filters-widget .grid:not([data-grid-column-count="1"]):not([data-grid-column-count="2"]),
body[data-elementor-device-mode="tablet"] .taxonomy-tab-filters-widget .grid:not([data-grid-column-count="1"]):not([data-grid-column-count="2"]) {
    grid-template-columns: repeat(2, 1fr) !important;
}
body[data-elementor-device-mode="mobile"] .taxonomy-tab-filters-widget .grid:not([data-grid-column-count="1"]):not([data-grid-column-count="2"]) {
    grid-template-columns: repeat(1, 1fr) !important;
}
.taxonomy-tab-filters-widget .grid-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    text-align: center;
}

.taxonomy-tab-filters-widget .filter-group label {
    display: inline-block;
    cursor:pointer;
    font-size: 14px;
    margin-right: 10px;
    margin-bottom:15px;
    padding-top: 4px;
}

.taxonomy-tab-filters-widget .filter-group input + label:before{
    content: '';
    background-color: white;
    outline: 1px solid #BBB;
    border: 4px solid white;
    margin-right: 7px;
    margin-left: 7px;
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
}
.taxonomy-tab-filters-widget .filter-group input + label:hover:before{
    background-color:#BBB;
}

.taxonomy-tab-filters-widget .filter-group input:checked + label:before{
    outline: 1px solid #275D60;
    background-color:#275D60;
}

.taxonomy-tab-filters-widget .filter-group input[type="checkbox"] {
    display:none;
}

.taxonomy-tab-filters-widget .widget-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    float: right;
    margin-top: -10px;
    position: relative;
    z-index: 10;
}

.taxonomy-tab-filters-widget .widget-control-buttons {
    display: flex;
    gap: 10px;
}

.taxonomy-tab-filters-widget .widget-control-button {
    padding: 10px 15px;
    background: #007cba;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

.taxonomy-tab-filters-widget .widget-control-button:hover {
    background: #005a9c;
}

.taxonomy-tab-filters-widget .widget-control-button.active {
    background: #005a9c;
}

.taxonomy-tab-filters-widget .pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.taxonomy-tab-filters-widget .pagination a {
    padding: 10px 25px;
    background: #FFF;
    border: 2px solid #BBB;
    text-decoration: uppercase;
    color: #333;
    font-weight: bold;
    transition: all 0.3s ease;
}

.taxonomy-tab-filters-widget .pagination a:hover {
    background: #275D60;
    color: #fff;
    border-color: #275D60;
}


.taxonomy-tab-filters-widget-map {
    display: none;
    position: relative;
    width: 100%;
    height: 660px;
}

.info-window {
    max-width: 300px;
}

.info-window img {
    display: block;
    margin: 0 auto;
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 150px;
}

.info-window h4 {
    color: #000;
    margin-bottom: 10px;
}

.info-window p {
    font-size: 16px;
    font-weight: 500;
    color: rgb(81, 81, 81);
}
.taxonomy-tab-filters-widget .filter-group-tabs{
    display:block;
    width: 100%;
    border-bottom: 1px solid #BBB;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}
.taxonomy-tab-filters-widget .filter-group-tabs .filter-group-tab{
    display:inline-block;
}
.taxonomy-tab-filters-widget .filter-group-tabs .filter-group-tab button{
    padding:0;
    margin-right:30px;
    background:none;
    color:#333;
    border:none;
    cursor:pointer;
    font-size: 17px;
    letter-spacing: 0;
    text-transform: none;
}
.taxonomy-tab-filters-widget .filter-group-tabs .filter-group-tab button:hover,
.taxonomy-tab-filters-widget .filter-group-tabs .filter-group-tab button.active{
    color:#275D60;
}
.taxonomy-tab-filters-widget .filter-group{
    margin-bottom:20px;
}
.taxonomy-tab-filters-widget .filter-group:not(.active){
    display:none;
}
body[data-elementor-device-mode="mobile"] .taxonomy-tab-filters-widget .filter-group.active{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}
.taxonomy-tab-filters-widget .filter-group-tab-button:not([data-count="0"]):before{
    content: attr(data-count);
    font-size: 10px;
    padding: 2px 5px;
    margin-right: 3px;
    background: #275D60;
    vertical-align: top;
    color: white;
    font-weight: 300;
}
.taxonomy-tab-filters-widget .filter-group-tab-button:not([data-count]):before{
    content:initial;
}
.taxonomy-tab-filters-widget .filter-group-tabs .filter-group-tab button:not(.active):before{
    background:#BBB;
}
body[data-elementor-device-mode="mobile"] .taxonomy-tab-filters-widget .taxonomy-filters{
    clear:both;
}
.taxonomy-tab-filters-widget .taxonomy-filters-selection{
    margin-bottom:20px;
}
.taxonomy-tab-filters-widget .taxonomy-filters-selection span:first-child{
    font-size:10px;
    font-weight: 600;
    color:#333;
    margin-right:7px;
}
.taxonomy-tab-filters-widget .taxonomy-filters-selection span:not(:first-child){
    display: inline-block;
    padding: 1px 7px;
    border: 1.5px solid #BBB;
    color: #333;
    font-size: 12px;
    margin-right: 7px;
    border-radius: 15px;
    font-weight: bold;
}
.taxonomy-tab-filters-widget .taxonomy-filters-selection span:not(:first-child) button{
    padding:0;
    margin:0;
    background:none;
    border:none;
    cursor:pointer;
    font-size:9px;
    display:inline-block;
    vertical-align: middle;
    margin-left:5px;
    color:#BBB;
}
.taxonomy-tab-filters-widget .taxonomy-filters-selection span:not(:first-child) button:hover{
    color:#333;
}
.taxonomy-tab-filters-widget .hidden {
    display: none !important;
}
.taxonomy-tab-filters-widget .progress{
    position: absolute;
    bottom: 0;
    left: 0;
    border-bottom: 1px solid var(--e-global-color-primary);
    width: 0%;
    animation: progress 300ms ease;
}
.taxonomy-tab-filters-widget .progress.search{
    animation: progress 3s ease;
}
@keyframes progress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}
@keyframes spin {
    0% {
        transform: rotate(0deg) scale(0.85);
    }
    100% {
        transform: rotate(360deg) scale(0.85);
    }
}
@keyframes spinsmall {
    0% {
        transform: rotate(0deg) scale(0.5);
    }
    100% {
        transform: rotate(360deg) scale(0.5);
    }
}