/* @import url("./bootstrap.css"); */
:root {
    --main-thm-btn: #009688;
    --main-thm-btn-light: #05d7c2;
}

a.home-link {
    text-decoration: none;
}

.filter-loader-2,
.filter-loader {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    z-index: 999;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    display: none;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    color: #bc332c;
}


.itlloader {
    border: 12px solid #f3f3f3;
    border-radius: 50%;
    border-top: 12px solid var(--main-thm-btn);
    width: 70px;
    height: 70px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    position: fixed;
    z-index: 999;
    top: 50%;
    left: 44%;
    display: none;
}

.itlloader.active {
    display: block;
}

.itl-main-view .grid-view .row {
    display: flex;
    flex-wrap: wrap;
}


/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.filter-loader-2.active,
.filter-loader.active {
    display: flex;
}

.hike_level img {
    opacity: 1;
    width: 23px;
    margin: 0;
}

.page-id-300243 .e-con-inner {
    margin: 0;
    max-width: 100%;
}

div#itlItemFilter {
    position: relative;
}

#itlItemFilter .itl-btn.itl-btn-st-2.fav-btn {
    outline: none;
}

.d-flex {
    display: flex;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

#itlItemFilter h1,
#itlItemFilter h2,
#itlItemFilter h3,
#itlItemFilter h4,
#itlItemFilter h5,
#itlItemFilter h6 {
    margin: 0;
}

.filter-btn {
    background: var(--main-thm-btn);
    display: flex;
    padding: 8px 24px;
    cursor: pointer;
    align-items: center;
    width: 170px;
}

.filter-btn-icon {
    background: url("https://wegwandern.ch/wp-content/themes/WEGW/img/filter.svg");
    width: 22px;
    height: 21px;
    background-size: cover;
    margin-right: 15px;
}

.filter-btn-text {
    color: white;
    font-size: 16px;
    line-height: 24px;
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    font-weight: normal;
}

.reset-btn {
    color: red;
    font-size: 16px;
    font-weight: bold;
    background: black;
    margin-left: 15px;
    border-radius: 7px;
    width: 120px;
    padding: 8px 0px;
    /* height: 38px; */
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
}


.main-filter-bar {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    justify-content: space-between;
    padding-left: 0;
    padding-right: 45px;
}

/* Top BAr Code START ----------------------------------------------------------------------------------------------*/


.filter-top-bar {
    /* display: flex; */
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    /* border-bottom: 1px solid #ddd; */
}

.action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    /* border-bottom: 1px solid #ddd; */
    align-items: center;
    margin-bottom: 10px;
}

.filter-section {
    display: flex;
    flex-direction: column;
}

.fc_check_wrap,
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.i-chip {
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 15px;
    cursor: pointer;
}

.i-chip.active {
    border-color: var(--main-thm-btn) !important;
    font-weight: 600;
}
.head h3,.filter-section h3 {
    font-size: 18px;
    font-weight: 600;
}
.sub-line {
    margin-top: -10px;
    padding-left: 15px;
    padding-bottom: 15px;
    border-bottom: solid 1px #aa6c6c;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.sub-line h4 {
    font-size: 18px;
}
.selected-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.chip {
    background: #e0e0e0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.remove-chip {
    margin-left: 8px;
    cursor: pointer;
    font-weight: bold;
}

.custom-dropdown {
    position: relative;
    width: 100%;
}

.dropdown-toggle {
    border: 1px solid #ccc;
    padding: 10px;
    background: #fff;
    cursor: pointer;
    user-select: none;
}

.dropdown-toggle .arrow {
    float: right;
}

.dropdown-content {
    position: absolute;
    z-index: 100;
    background: #fff;
    border: 1px solid #ccc;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 4px;
}

.dropdown-item {
    padding: 10px;
    display: flex;
    align-items: center;
}

.dropdown-item.active {
    background-color: #f0f0f0;
}

.dropdown-item input {
    margin-right: 10px;
}


/* Top BAr Code END -------------------------------------------------------------------------------------------------*/



/* Sidebar code */

/* Sidebar styles */
.sidebar {
    position: fixed;
    top: 0;
    right: -438px;
    width: 438px;
    height: 100%;
    background: #F5F5F5;
    box-shadow: 0px 0px 10px #0000001A;
    transition: right ease-out .3s;
    z-index: 99999999;
}



.sidebar-visible {
    right: 0 !important;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 23px 30px 20px 48px;
    box-shadow: 0px 0px 10px #0000001A;
    padding-left: 15px;
}

/* Custom scrollbar styles */
.sidebar::-webkit-scrollbar {
    width: 2px;
}

.sidebar::-webkit-scrollbar-track {
    background: #ddd;
    /* Track color */
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #888;
    /* Thumb color */
    border-radius: 2px;
    /* Roundness of the thumb */
    border: 1px solid #f0f0f0;
    /* Padding around thumb */
}

/* For Firefox */
.sidebar {
    scrollbar-width: 4px;
    /* Width of scrollbar */
    scrollbar-color: var(--main-thm-btn) #ddd;
    /* Thumb and track colors */
}

.close-btn {
    background: none;
    border: none;
    font-size: 45px;
    cursor: pointer;
    color: black;
    padding: 0;
    margin: 0;
    outline: none;
}

button.close-btn:hover {
    background: transparent;
    color: black;
    outline: unset;
    border: none;
}

.sidebar-content {
    padding: 20px;
    height: 100%;
    overflow-y: scroll;
    padding-bottom: 200px;
}

.filter_result_count input[disabled] {
    cursor: pointer !important;
}

.filter_result_count {
    background: var(--main-thm-btn);
    box-shadow: 0px 0px 6px #00000040;
    cursor: pointer;
    position: absolute;
    width: 100%;
    bottom: 0;
    z-index: 99999999999;
}

.filter_result_count p {
    margin: 0;
    padding: 23px 0px;
    text-align: center;
    font-size: 20px;
    line-height: 30px;
    color: #FFFFFF;
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fc_heading {
    margin-bottom: 15px;
}

.fc_heading h2 {
    font-size: 20px;
    line-height: 30px;
    font-family: 'Roboto Bold';
    font-weight: normal;
    color: black !important;
    margin-bottom: 5px !important;
    text-transform: capitalize;
}

.fc_check_wrap:not(.not-this) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 15px;
    height: auto;
    width: 100%;
}

.fc_check_wrap.three-column {
    grid-template-columns: 1fr 1fr 1fr;
}

.fc_check_wrap.not-this {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
}
/* .filter-section.ab {
    margin-top: -100px;
} */
.check_wrapper {
    position: relative;
    padding-left: 32px;
    font-size: 16px;
    line-height: 24px;
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    display: block;
    margin-bottom: 10px;
    /* margin-right: 16px; */
    cursor: pointer;
    word-break: break-word;
}



.filter-section .head {
    margin-bottom: 5px;
}
.checkbox-custom,
.radio-custom {
    opacity: 0;
    position: absolute;
}

.checkbox-custom,
.checkbox-custom-label,
.radio-custom,
.radio-custom-label {
    display: inline-block;
    vertical-align: middle;
    margin: 2px 0;
    cursor: pointer;
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-weight: 400;
    color: black;
}

p,
.filter-btn-text {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

.checkbox-custom-label,
.radio-custom-label {
    position: relative;
    font-size: 15px;
    display: flex;
    /* text-transform: capitalize; */
    text-transform: none;
}


.checkbox-custom+.checkbox-custom-label:before, .radio-custom+.radio-custom-label:before {
    content: '';
    background: #fff;
    border: 2px solid #ddd;
    display: inline-block;
    vertical-align: middle;
    width: 23px;
    height: 23px;
    padding: 0px;
    margin-right: 10px;
    text-align: center;
}


.checkbox-custom:checked+.checkbox-custom-label:before {
    content: "\f00c";
    font-family: 'FontAwesome';
    background: var(--main-thm-btn);
    color: #fff;
}

.radio-custom+.radio-custom-label:before {
    /* border-radius: 50%; */
}

.radio-custom:checked+.radio-custom-label:before {
    content: "\f00c";
    font-family: 'FontAwesome';
    color: var(--main-thm-btn);
}

.checkbox-custom:focus+.checkbox-custom-label,
.radio-custom:focus+.radio-custom-label {
    outline: 1px solid #ddd;
    /* focus style */
}


.chips {
    display: flex;
    justify-content: flex-start;
    padding-left: 5px;
    flex-wrap: wrap;
}



.chips .i-chip {
    background: #FFFFFF;
    color: #1A1A1A;
    border-radius: 4px;
    border: 1px solid #D6D6D6;
    font-size: 16px;
    line-height: 24px;

    width: 52px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin-right: 6px;
    /* margin-bottom: 6px; */
}



/* .chips .i-chip.active {
    background: var(--main-thm-btn);
} */

/* Sidebar code end here */



/*------------------------ Range Slider Start------------------ */


input[type="range"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    outline: none;
    position: absolute;
    margin: auto;
    top: 0px;
    font-size: 12px;
    bottom: 0;
    background-color: transparent;
    pointer-events: none;
    border: unset !important;
}

.slider-track {
    width: 100%;
    height: 1px;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    border-radius: 5px;
    /* z-index: 1; */
}

input[type="range"]::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    height: 3px;
}

input[type="range"]::-moz-range-track {
    -moz-appearance: none;
    height: 3px;
}

input[type="range"]::-ms-track {
    appearance: none;
    height: 3px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 1.7em;
    width: 1.7em;
    background-color: var(--main-thm-btn);
    cursor: pointer;
    margin-top: -9px;
    pointer-events: auto;
    border-radius: 50%;
}

input[type="range"]::-moz-range-thumb {
    -webkit-appearance: none;
    height: 1.7em;
    width: 1.7em;
    cursor: pointer;
    border-radius: 50%;
    background-color: var(--main-thm-btn);
    pointer-events: auto;
}

input[type="range"]::-ms-thumb {
    appearance: none;
    height: 1.7em;
    width: 1.7em;
    cursor: pointer;
    border-radius: 50%;
    background-color: var(--main-thm-btn);
    pointer-events: auto;
}

input[type="range"]:active::-webkit-slider-thumb {
    background-color: #ffffff;
    border: 3px solid var(--main-thm-btn);
}

/* .itl-range input[type="range"]:active {
    background-color: var(--main-thm-btn) !important;
} */


.itl-range {
    position: relative;
    margin-top: 45px;
    margin-bottom: 70px;
    margin-right: 30px;
}

input.range {
    /* position: absolute; */
    bottom: 15px;
    width: 100px;
    border: none;
    background: transparent;
    font-size: 18px;
    padding: 0;
    color: black;
}

input.range.right {
    right: 0;
    text-align: end;
    margin-right: 5px;
}

input.range.left {
    left: 0;
}

.display-range.right {
    position: absolute;
    right: 0;
    bottom: 15px;
    display: flex;
    align-items: center;
}

.display-range.left {
    position: absolute;
    left: 0;
    bottom: 15px;
    display: flex;
    align-items: center;
}

.display-range.left span {
    position: absolute;
    left: 20px;
}

.itl-range.three .display-range.left span {
    left: 45px;
}

.single-wander {
    background: whitesmoke;
    padding: 5px;
}

.single-wander h2 {
    font-size: 20px;
}

.content-box {
    padding: 5px;
}

.LoadMore {
    margin: 25px 0;
    display: inline-flex;
    padding: 10px 20px;
    background: var(--main-thm-btn);
    border-radius: 35px;
    cursor: pointer;
    align-items: center;
}

.LoadMoreIcon {
    background: url('https://wegwandern.ch/wp-content/themes/WEGW/img/lazy_loading.svg');
    width: 28px;
    height: 28px;
    background-size: cover;
    transition: transform .3s;
}

.LoadMoreText {
    font-size: 16px;
    line-height: 30px;
    margin-left: 15px;
    color: #ffff;
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

.itl-overlay {
    position: absolute;
    background: black;
    opacity: 0.7;
    height: 0;
    width: 0;
    z-index: 0;
}

.itl-overlay.active {
    height: 100%;
    width: 100%;
    z-index: 99999;
}

/*------------------------ Range Slider END -------------------*/


/* Grid Start */

/* .grid-view {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
} */

.itl-main-view .single-wander {
    margin-bottom: 25px;
}

.itl-main-view .icon-info {
    /* display: flex;
    justify-content: space-between;
    flex-wrap: wrap; */
}

.itl-main-view .wanderung-infobox {
    padding: 15px;
}

h6.single-region {
    font-size: 16px;
    /* margin-bottom: 10px; */
    padding-bottom: 5px;
}

.wanderung-desc p {
    font-size: 14px;
}

.filter_result_count input {
    border: transparent;
    background: transparent;
    max-width: 70px;
    overflow: visible;
    color: white;
    text-align: end;
}

.aj-box {
    display: flex;
    align-items: center;
    font-size: 15px;
    justify-content: space-between;
    width: 90px;
    position: relative;
}

.aj-box i {
    font-size: 19px;
    /* margin-right: 4px; */
    color: var(--main-thm-btn);
}

.hike_level span {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.icon-info p {
    margin: 0;
    margin-left: 5px;
    position: absolute;
    left: 20px;
}

.hike-yellow {
    background: yellow;
}

.hike-pink {
    background: pink;
}

.hike-blue {
    background: #0081C7;
}

.hike-purple {
    background: purple;
}

.hike-gray {
    background: gray;
}

.hike-orange {
    background: orange;
}

.f-row {
    margin-bottom: 10px;
}

.f-row,
.s-row {
    display: flex;
    justify-content: space-between;
}


img.wander-img {
    width: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
}

.itldropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.itldropdown {
    position: relative;
    display: inline-block;
}

.itldropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.itldropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.itldropdown-content a:hover {
    background-color: #f1f1f1
}

.itldropdown:hover .itldropdown-content {
    display: block;
}

.itldropdown:hover .itldropbtn {
    background-color: var(--main-thm-btn-light);
    border: none;
}

input.dummy-input {
    border: none;
    background: transparent;
    color: white;
    text-transform: capitalize;
    width: 85px;
}

button.itldropbtn {
    padding: 8px;
    border-radius: 50px;
    padding-left: 25px;
    background: var(--main-thm-btn);
    padding-right: 22px;
}

.start-side {
    display: flex;
}

.filter-btn.reset {
    background: whitesmoke;
    width: max-content;
}

.reset span.filter-btn-text {
    color: var(--main-thm-btn);
}

.accordion-header {
    cursor: pointer;
}

.fc_heading .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 25px;
    margin: 15px 0;
    cursor: pointer;
    width: 100%;
}

.fc_heading .head i.fa-solid.fa-chevron-down {
    transition: all 0.2s linear;
    font-size: 20px;

}



.fc_heading.active .head i.fa-solid.fa-chevron-down {
    transform: rotate(180deg);
}

.fc_heading .fc_check_wrap.accordion-content {
    display: none;
}

.fc_heading.active .fc_check_wrap.accordion-content {
    display: grid;
}

.fc_heading .chips.accordion-content {
    display: none;
}

.fc_heading.active .chips.accordion-content {
    display: flex;
}

/* .fc_check_wrap.accordion-content.open {
    display: grid;
    max-height: 1000px;
    opacity: 1;
}

.fc_check_wrap.accordion-content {
    display: none ;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    overflow: hidden;
} */

/* Grid End */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
    font-weight: 400;
    font-style: normal;

}

.itl-range span {
    color: black;
}

@media screen and (max-width: 574px) {
    .sidebar {
        width: 300px;
    }

    .main-filter-bar {
        align-items: flex-start;
        padding-left: 0;
        padding-right: 45px;
        flex-direction: column;
    }

    button.itldropbtn {
        margin-top: 10px;
    }

    .fc_check_wrap:not(.not-this) {
        display: block;
    }

    .itlloader {
        left: 33%;
    }

    .fc_heading.active .fc_check_wrap.accordion-content {
        display: block;
    }

    input[type='range'] {
        font-size: 12px;

    }

    .itl-range {
        margin-bottom: 15px;
    }


}


@media (min-width: 575) and (max-width: 768) {
    .sidebar {
        width: 438px;
    }

    input[type='range'] {
        font-size: 12px;

    }
}
@media (min-width: 1440) {
   /* .filter-section.ab {
    margin-top: -100px;
} */
}


/* New Design Code */


/* Slide Transition */
.slide-enter-active,
.slide-leave-active {
  transition: all 0.9s linear;
  overflow: hidden;
}

.slide-enter-from,
.slide-leave-to {
  max-height: 0;
  opacity: 0;
}

.slide-enter-to,
.slide-leave-from {
  max-height: 500px; /* adjust based on expected height */
  opacity: 1;
}


/* Optional button styling */
.advanced-filter-btn {
    background: var(--main-thm-btn);
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    margin-right: 6px;
}
.aj-box img {
    opacity: 1;
    width: 23px;
    margin: 0;
}
.fa-sliders-h {
    color: white;
    margin-right: 10px;
}

.activity-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-slide {
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
}

.filter-slide .filter-section {
    width: 400px;
    margin-bottom: 15px;
    /* margin-top: 15px; */
}

img.one-icon {
    width: 45px;
    margin-bottom: 0;
}

.skeleton {
  animation: pulse 1.5s infinite;
}

.skeleton-box {
  width: 100%;
  height: 200px;
  background-color: #ccc;
  border-radius: 6px;
  margin-bottom: 15px;
}

.skeleton-line {
  height: 16px;
  background-color: #ccc;
  border-radius: 4px;
  margin: 10px 0;
}

.skeleton-line.short {
  width: 40%;
}
.skeleton-line.medium {
  width: 60%;
}
.skeleton-line.long {
  width: 90%;
}

@keyframes pulse {
  0% {
    background-color: #ccc;
  }
  50% {
    background-color: #ddd;
  }
  100% {
    background-color: #ccc;
  }
}


/* 2.2: Einheitliche Bildgroesse in den Tourenkarten */
.itl-main-view .single-wander-img { overflow: hidden; border-radius: 5px; }
.itl-main-view img.wander-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
    max-width: 100%;
    margin: 0;
}
