/** default styles for the roadmap */
.debth-1-element-content h2 {
    margin: 0 0 0.5em 0 !important;
    font-size: 1.2rem !important;
}
.debth-1-element-content{
    margin-bottom: 1em;
}

.otrs-roadmap-filter-content {
    padding: 0 0 0 2rem;
}

.debth-0-element-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5em;

}

.debth-0-element-content {
    font-size: 1rem;
    margin-bottom: 2rem;
}


.debth-2-element-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5em;
    padding: 1em;
    border: 1px solid #ccc;
    min-height: 100px;
    height: 100%;
}

li.debth-1 {
    padding: 0;
    border-bottom: 1px solid #73c0d0ab;
}

li.debth-2 {
    width: 100%;
    height: 100%;
}

.ro-element-ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

.otrsraodmap-elementor-widget {
    display: flex;
    margin-bottom: 40px;
}

.tablegend-1::before {
    content: "";
    width: 5px;
    background: #222;
    height: calc(6em - 0px);
    display: block;
    position: absolute;
    left: -2px;
    top: -2px;
}

.tablegend-2::before {
    content: "";
    width: 5px;
    background: #438a7b;
    height: calc(6em - 0px);
    display: block;
    position: absolute;
    left: -2px;
    top: -2px;
}

.tablegend-3::before {
    content: "";
    width: 5px;
    background: #f9c958;
    height: calc(6em - 0px);
    display: block;
    position: absolute;
    left: -2px;
    top: -2px;
}
.tablegend-4::before {
    content: "";
    width: 5px;
    background: #74c0d0;
    height: calc(6em - 0px);
    display: block;
    position: absolute;
    left: -2px;
    top: -2px;
}
.otrs-roadmap-filter-buttons .filter-button {
    cursor: pointer;
    position: relative;
    width: 100%;
    margin-bottom: 0.5em;
    border-radius: 0px;
    border-color: #74c0d0;
    color: #222;
    box-shadow: none !important;
    background: transparent;
    border-style: solid;
    min-height: 6em;
    display: block;
    padding: 1em 1.5em;
}

.button-headline {
    font-weight: 700;
}

.button-subline {
    font-weight: 400;
}

.metaholder .custommeta {
    width: 33.3%;
}


/* media query for iphone */




@media screen and (max-width:960px) {


    .debth-1 input:checked~.tab__content {
        max-height: 80rem !important;
    }



    .metaholder {
        width: 100% !important;
        flex-direction: column !important;
    }

    .metaholder .custommeta {
        width: 100% !important;

    }
}



.otrs-roadmap-filter-buttons .filter-button>span {
    display: flex;
}

.otrs-roadmap-filter-buttons .filter-button>span>span {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1em;
}

.otrs-roadmap-filter-buttons .button-subline {
    font-size: 1em;
    color: #222;
}

.otrs-roadmap-filter-buttons .filter-button.active .button-subline,
.otrs-roadmap-filter-buttons .filter-button:hover .button-subline {
    color: #222;
}

.otrs-roadmap-filter-buttons .filter-button.active,
.otrs-roadmap-filter-buttons .filter-button:hover {
    background-color: #74c0d0;
    color: #222;
    border-radius: 0px;

}

.otrs-roadmap-filter-buttons .filter-button.active::after {
    content: "";
    position: absolute;
    top: 1.5em;
    right: -0.5em;
    height: 2em;
    width: 2em;
    background-color: #74c0d0;
    transform: rotate(45deg);
}

.otrs-roadmap-filter-content {
    margin: 0px;
    width: 100%;
}

.otrs-roadmap-filter-content>ul {
    box-shadow: 1px 1px 5px #ccc;
    padding: 1.5em;
}

.custommeta li {
    margin-left: 1em;
    position: relative;
}

.custommeta li:before {
    content: "\2022";
    color: #222;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
}

/*
.roadmap-item-term::before {
    content: "";
    width: 1em;
    height: 1em;
    background: url(bookmarks.svg);
    background-size: contain;
    display: inline-block;

}
*/
li.debth-0 {
    margin-bottom: 1rem;
}

li.debth-1 .ro-element-ul {
    /* display as a grid with 4 columns */
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 1em;
    /* align the items in the grid */
    align-items: center;
    /* align the grid itself */
    justify-items: center;
    /* make the grid items take up the full width of the grid */
    width: 100%;
    /* make the grid items take up the full height of the grid */
    height: 100%;
}

.debth-2-ongoing {
    background: #438a7b;
    height: 5px;
}

.debth-2-done {
    background: #74c0d0;
    height: 5px;
}
.debth-2-future {
    background: #f9c958;
    height: 5px;
}



.tab__content .ro-element-ul {
    list-style-type: none;
    padding: 0px;
}



/* Core styles/functionality */
.metaholder {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    column-gap: 15px;
    margin-top: 1em;

}

.metaholder-headline {
    font-weight: bold;
    display: block;
}

.metaholder>div {
    font-size: .9rem;
    color: #222;
    line-height: 1.3;
}

.debth-1 input {
    position: absolute;
    opacity: 0;
    z-index: -1;
}

.tab__content {
    max-height: 0;
    overflow: hidden;
    padding: 0 1rem;
    transition: all 0.35s;
    border-left: 1px solid #74c0d0;
    border-right: 1px solid #74c0d0;
}

.debth-1 input:checked~.tab__content {
    max-height: 40rem;
    padding: 1rem;
    border-left: 1px solid #74c0d0;
    border-right: 1px solid #74c0d0;
}



.tab__label,
.tab__close {
    display: flex;
    color: #222;
    background: #74c0d0;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: .02em;
}

.tab__label {
    justify-content: space-between;
    padding: 1rem;
}

.tab__label::after {
    content: "\276F";
    width: 1em;
    height: 1em;
    text-align: center;
    transform: rotate(90deg);
    transition: all 0.35s;
}

.debth-1 input:checked+.tab__label::after {
    transform: rotate(270deg);
}

/** icons */
.otrs-roadmap-filter-buttons .filter-button i {
    width: 1.5em;
    height: 1.5em;
    margin-right: 0.5em;
    display: block;
    background-size: contain !important;
    background-repeat: no-repeat;

}

.otrs-roadmap-filter-buttons .filter-button.active i {
    width: 1.5em;
    height: 1.5em;
    margin-right: 0.5em;
    display: block;
    background-size: contain;
    filter: invert(100%);
}

.otrs-roadmap-filter-buttons .tablegend-1.filter-button.active i,
.otrs-roadmap-filter-buttons .tablegend-1.filter-button:hover i {
    filter: brightness(20);
}

.otrs-roadmap-filter-buttons .filter-button:hover i {
    filter: invert(100%);
}

.otrs-roadmap-filter-buttons .filter-button i.all-icon {
    background: url(../svg/otrs-icon.svg);
}

.otrs-roadmap-filter-buttons .filter-button i.now-icon {
    background: url(../svg/bell-ringing.svg);
}

.otrs-roadmap-filter-buttons .filter-button i.future-icon {
    background: url(../svg/apps-filled.svg);
}
.otrs-roadmap-filter-buttons .filter-button i.done-icon {
    background: url(../svg/square-rounded-check.svg);
}

/* Arrow animation */
.debth-1 input:not(:checked)+.tab__label:hover::after {
    /*animation: bounce .5s infinite;*/
}

.roadmap-item-status-bubble {
    font-size: .5rem;
    border: 1px solid #ccc;
    position: absolute;
    padding: 1px 5px;
    background: transparent;
    line-height: 1em;
    border-radius: 10px;
    height: 1.5em;
    right: 5px;
    top: 10px;
}

.roadmap-item-min {
    position: relative;
}

@keyframes bounce {
    25% {
        transform: rotate(90deg) translate(.25rem);
    }

    75% {
        transform: rotate(90deg) translate(-.25rem);
    }
}




/** mobile styles */
@media screen and (max-width:960px) {
    .otrsraodmap-elementor-widget {
        flex-direction: column;
    }

    .otrs-roadmap-filter-buttons {
        width: 100% !important;
        display: flex;
    }

    .otrs-roadmap-filter-buttons .filter-button::before {
        height: 5px;
        left: -1px;
        width: calc(100% + 2px);

    }

    .otrs-roadmap-filter-buttons .filter-button i {
        display: none;
    }

    .otrs-roadmap-filter-buttons .filter-button.active i {
        display: none;
    }






    .otrs-roadmap-filter-content {
        padding: 0px !important;
    }

    .otrs-roadmap-filter-buttons .filter-button.active::after {
        content: "";
        position: absolute;
        top: 4.5em;
        right: 4em;
        height: 2em;
        width: 2em;
        background-color: #74c0d0;
        transform: rotate(45deg);
    }

    li.debth-1 .ro-element-ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 1em;
        align-items: center;
        justify-items: center;
        width: 100%;
        height: 100%;
    }
}