/* 
Theme Name: Hashtagspon
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

.portfolio-filter {
    position: relative;

    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: var(--e-global-typography-text-font-size);
    font-weight: var(--e-global-typography-text-font-weight);
    text-transform: var(--e-global-typography-text-text-transform);
    font-style: var(--e-global-typography-text-font-style);
    text-decoration: var(--e-global-typography-text-text-decoration);
    line-height: var(--e-global-typography-text-line-height);
    letter-spacing: var(--e-global-typography-text-letter-spacing);
    word-spacing: var(--e-global-typography-text-word-spacing);
}

.portfolio-filter__groups {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
}

.portfolio-filter__group {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 5px;
    width: 100%;
}

.portfolio-filter__loading-screen {
    position: fixed;
    left: 0;
    top: 0;
    height: 100dvh;
    width: 100dvw;
    background-color: rgba(255,255,255,.4);
    backdrop-filter: blur(3px);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    
    opacity: 0;
    transition: opacity .2s ease-in;
    pointer-events: none;
    z-index: 9999999;
}

.portfolio-filter__loading-screen.active {
    opacity: 1 !important;
    pointer-events: all;
}

.portfolio-filter__reset {
    position: relative;
    display: block;
    right: auto;
    bottom: auto;
    text-align: right;
    padding: 15px 0px;
    padding-right: 28px;
    line-height: 1;
    font-size: 14px;
    transition: color .12s ease-in;
    color: var(--e-global-color-primary) !important;
}

.portfolio-filter__reset:hover {
    cursor: pointer;
    color: var(--e-global-color-secondary) !important;
}

@media screen and (max-width: 1100px) {
    .portfolio-filter__groups {
        gap: 20px !important;
        flex-wrap: wrap;
    }

    .portfolio-filter__group {
        width: calc(50% - 20px);
    }

    .portfolio-filter {
        padding-bottom: 50px;
    }

    .portfolio-filter__reset {
        bottom: 18px;
    }
}

@media screen and (max-width: 768px) {
    .portfolio-filter__group {
        width: 100%;
    }
}

/* Loader */
.portfolio-filter__loading-screen .lds-ripple,
.portfolio-filter__loading-screen .lds-ripple div {
  box-sizing: border-box;
}
.portfolio-filter__loading-screen .lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.portfolio-filter__loading-screen .lds-ripple div {
  position: absolute;
  border: 4px solid var(--e-global-color-primary);
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.portfolio-filter__loading-screen .lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }
  4.9% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 0;
  }
  5% {
    top: 36px;
    left: 36px;
    width: 8px;
    height: 8px;
    opacity: 1;
  }
  100% {
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    opacity: 0;
  }
}

/* Accordion */
.portfolio-filter .accordion-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    cursor: pointer;
    background: none;
    border: none;
}

.portfolio-filter .accordion-toggle:focus {
    background-color: transparent;
    border: none;
    outline: none;
}

.portfolio-filter .accordion-toggle:hover, .portfolio-filter .accordion-toggle.active {
    background-color: #f1f9ff;
    border: none;
    outline: none;
}

.portfolio-filter .accordion-toggle img {
    height: 1.3em;
    width: auto;
    transition: transform .2s ease-in-out;
    margin-right: -7px;
}

.portfolio-filter .accordion-toggle.active img {
    transform: rotate(180deg);
}

.portfolio-filter .accordion-content {
    padding: 0 30px 20px;
    padding-bottom: 0;
}

.portfolio-filter .checkbox-group input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    height: 0;
    width: 0;
}

.portfolio-filter .checkbox-group input[type="checkbox"] + label {
    display: flex;
    align-items: center;
    padding: 10px 0;
    cursor: pointer;
    position: relative;
}

.portfolio-filter .checkbox-group input[type="checkbox"] + label:before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 2px solid #e5e5e5;
    border-radius: 3px;
    background-color: #fff;
}

.portfolio-filter .checkbox-group input[type="checkbox"]:checked + label:before {
    border-color: var(--e-global-color-primary);
}

.portfolio-filter .checkbox-group input[type="checkbox"] + label:after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background-color: var(--e-global-color-primary);
    opacity: 0;
    transition: opacity .2s ease-in;
    position: absolute;
    left: 0.3em;
}

.portfolio-filter .checkbox-group input[type="checkbox"]:checked + label:after {
    opacity: 1;
}

.portfolio-filter .checkbox-group input[type="checkbox"] + label:hover:before {
    border-color: var(--e-global-color-primary);
}

.portfolio-filter .checkbox-group input[type="checkbox"] + label:hover:after {
    opacity: 1;
}

.portfolio-filter__title {
    font-size: 1.2em;
    text-transform: uppercase;
    margin-bottom: 10px; 
    padding: 0 30px;
    color: var( --e-global-color-primary );
    font-weight: bold;
    margin-bottom: 1em;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.portfolio-filter__title img {
    height: 1em;
    margin-right: -.1em;
}

.portfolio-filter__group__filterable {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
}

.portfolio-filter__group__filterable__search input {
    border: 1px solid #e5e5e5;
}

.portfolio-filter__group__filterable__list {
    max-height: 10em;
    overflow-y: auto;
}

.portfolio-filter__group input[type="date"] {
    border: 1px solid #e5e5e5;
    padding: 10px;
    width: 100%;
}

.portfolio-filter__group #periode .portfolio-filter__group__apply {
    margin-top: 15px;
}

.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.selected.inRange, .flatpickr-day.startRange.inRange, .flatpickr-day.endRange.inRange, .flatpickr-day.selected:focus, .flatpickr-day.startRange:focus, .flatpickr-day.endRange:focus, .flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover, .flatpickr-day.selected.prevMonthDay, .flatpickr-day.startRange.prevMonthDay, .flatpickr-day.endRange.prevMonthDay, .flatpickr-day.selected.nextMonthDay, .flatpickr-day.startRange.nextMonthDay, .flatpickr-day.endRange.nextMonthDay {
    background: var(--e-global-color-primary);
    border-color: var(--e-global-color-primary);
}

/* Fix flatpickr years */
.flatpickr-calendar .flatpickr-current-month {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.portfolio-filter__group__apply {
    width: 100% !important;
    padding: 8px !important;
    border: none !important;
}

.mobile-toggle-portfolio-filter {
    font-size: 1.2em;
    text-transform: uppercase;
    margin-bottom: 10px; 
    padding: 0 30px;
    color: var( --e-global-color-primary );
    font-weight: bold;
    background-color: #f1f9ff;
    border-radius: 50px;
    padding: 12px 30px;

    margin-left: auto;
    margin-right: auto;

    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 13px;

    transition: background-color .12s ease-in-out;
}

.mobile-toggle-portfolio-filter img {
    height: 1em;
    margin-right: -.1em;
}

.mobile-toggle-portfolio-filter img.close {
    height: .8em;
    width: 1em;
}

.mobile-toggle-portfolio-filter:hover, .mobile-toggle-portfolio-filter:focus {
    background-color: #fff;
    cursor: pointer;
}

.mobile-toggle-portfolio-filter .close {
    display: none;
}

.mobile-toggle-portfolio-filter.active .open {
    display: none;
}

.mobile-toggle-portfolio-filter.active .close {
    display: inline-block;
}

/* Default hide on mobile */
@media screen and (max-width: 1024px) {
    .portfolio-filter {
        display: none;
    }
}

@media screen and (min-width: 1024px) {
    .mobile-toggle-portfolio-filter {
        display: none;
    }
}