/*
    Here you can make all youre desired adjustments for billigfluege.
*/

:root {
    /* TIM Anpassungen Accordion */
    --bg-accordion: var(--color-greyscale-50);
    --bs-accordion-border: green;
    --bs-accordion-hover: var(--color-greyscale-50);
    --bs-accordion-shadow: #000000;
    --bs-accordion-seperator: green;
    --bs-accordion-button-shadow: rgba(0,0,0,0.125);
    --bs-accordion-item-border: rgba(0, 0, 0, 0.125);
    --bs-accordion-color: #333333;
    --bs-accordion-after-color: black;
    --bg-like: #D4E3F6;
    --bg-dislike: #D4E3F6;
    --bs-like-text: #1E57A0;
    --bs-dislike-text: #1E57A0;
    --bs-like-border: #6695c5;
    --bs-dislike-border: #6695c5;
    --bs-like-hover: #99b9d9;
    --bs-dislike-hover: #99b9d9;
    --bg-disabled: grey;
    --bs-disabled-border: grey;
    --bs-breadcrumb-color: var(--bs-gray);
}

/* TIM Anpassungen Accordion Styling */
.accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 20px 30px !important;
  font-size: 16px;
  color: var(--bs-accordion-color);
  font-weight: 600;
  font-family: var(--font-family-1);
  text-align: left;
  background-color: var(--bg-accordion);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow-anchor: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
}
@media (prefers-reduced-motion: reduce) {
  .accordion-button {
    transition: none;
  }
}
.accordion-button:not(.collapsed) {
  color: var(--bs-accordion-color);
  background-color: var(--bs-accordion-hover);
  box-shadow: inset 0 -1px 0 var(--bs-accordion-button-shadow);
}
.accordion-button:not(.collapsed)::before {
  background-image: url("./../../img/outline_expand_more_black_24dp.png");
  color: var(--bs-accordion-after-color);
  transform: rotate(-180deg);
}
.accordion-button::before {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 20px;
  content: "";
  color: var(--bs-accordion-after-color);
  background-image: url("./../../img/outline_expand_more_black_24dp.png");
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform 0.2s ease-in-out;
  background-color: lightgrey;
  border-radius: 10px;
}
@media (prefers-reduced-motion: reduce) {
  .accordion-button::before {
    transition: none;
  }
}
.accordion-button:hover {
  z-index: 2;
}
.accordion-button:focus {
  z-index: 3;
  border-color: var(--bs-accordion-border) !important;
  background-color: var(--bs-accordion-hover);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}
.card-container .accordion-item:last-of-type .accordion-header .accordion-button{
    padding-bottom: 30px !important;
}
.faq-title{
    border-bottom: 2px solid var(--color-greyscale-200);
    background-color: white;
    border-collapse: collapse;
    padding: 0px 20px;
    padding-top: 1px;
}

.accordion-header {
    margin-top: 0;
    margin-bottom: 0px;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1;
    color: black; /*TODO*/
}
.accordion-item {
  background-color: var(--bg-accordion);
  border-bottom: 2px solid var(--color-greyscale-200);
}
.accordion-body {
  padding: 1.5rem !important;
}
.no-border{
    border: none;
}
.collapse:not(.show) {
  display: none;
}
.accordion-flush .accordion-collapse {
  border-width: 0;
}
.accordion-flush .accordion-item {
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}
.accordion-flush .accordion-item:first-child {
  border-top: 0;
}
.accordion-flush .accordion-item:last-child {
  border-bottom: 0;
}
.accordion-flush .accordion-item .accordion-button {
  border-radius: 0;
}
.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(var(--bs-gutter-y) * 1);
  margin-right: calc(var(--bs-gutter-x) * .5);
  margin-left: calc(var(--bs-gutter-x) * .5);
  width: 100%;
}
.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-top: var(--bs-gutter-y);
}
.col-6 {
  flex: 40%;
}

.topic{
    margin: 1px;
    background-color: white;
    border-collapse: collapse;
    padding: 20px;
    padding-top: 0px;
}
.topic-row .topic:nth-of-type(odd){
    margin-left: 0;
}
.topic-row .topic:nth-of-type(even){
    margin-right: 0;
}
.topic-title{
    background-color: white;
    border-bottom: 1px solid var(--color-greyscale-200);
}
.topic-title>*{
    margin: 0px;
    padding: 20px;     
}
.topic-row{
    margin-top: 0px;
}
.h2{
    font-size: 20px !important;
    font-weight: 600 !important;

}
.topics{
    margin-top: 20px;
}
.mobile-topic{
    margin-bottom: 2px;
    background-color: white;
    padding: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    display: block;
}
.mobile-topics{
    display: none;
    margin-top: 8px;
}
@media (max-width: 767px) {
    .topics{
        display: none;
    }
    .mobile-topics{
        display: block;
    }
    .topic-title{
        border-bottom: 2px solid var(--color-greyscale-200);
    }
}
.feedback{
    margin-top: 20px;
}
.faq{

}

.doc-link{
    color: black;
    padding: 10px 0px;
    font-size: 16px;
    font-weight: 400px;
}
.doc-link:hover{
    color: #2771d4;
}
.doc-links{
    padding: 0px;
}
.cat-link{
    font-size: 16px;
    font-weight: 400;
}
.cat-icon{
    width: 50px;
    height: 50px;
    padding-right: 10px;
}
.cat-title{
    display: flex;
    align-items: center;
    font-size: 16px;
}
.search{
    width: 100%;
}
.search-container{
    width: 100%;
}
.search-group{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;  
    gap: 5px;
}
.search-input{
    padding: 10px 10px;
    border-radius: 4px;
    border: 1px solid #BABABA;
    color: #666666;
    flex-grow: 1;
    margin-right: 10px;
    height: 45px;
}
.search-button{
    display: inline-block;
    padding: 15px 20px 12px;
    line-height: 1;
    font-size: 18px;
    background-color: var(--color-secondary);
    color: var(--color-greyscale-50);
    font-family: var(--font-family-1);
    font-weight: var(--font-family-1-bold);
    border: none;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.25s ease 0s;
    outline: none;
    box-shadow: rgba(0, 0, 0, 0.35) 1px 1px 2px 0px;
    text-decoration: none;
    appearance: none;
}
.search-button:active{
    box-shadow: rgba(0, 0, 0, 0.35) 1px 1px 2px 0px inset;
}
.search-button:hover, .search-button:active, .search-button:focus{
    background-color: var(--color-secondary-dark);
}

.like-button{
  width:50px;
  height:34px;
  background-color: var(--bg-like);
  border: none;
  color: var(--bs-like-text);
  border-radius: 4px;
  font-size: 14px;
}
.dislike-button{
    border: none;
  background-color: var(--bg-dislike);
  color: var(--bs-dislike-text);
  width:66px;
  height:34px;
  border-radius: 4px;
  font-size: 14px;
}
.dislike-button:hover, .dislike-button:focus, .dislike-button:focus-visible{
    color: #FFFFFF;
    background-color: #76A3E2;
    border: none;
}
.like-button:hover, .like-button:focus {
    color: #FFFFFF;
    background-color: #76A3E2;
    border: none;
}
.like-button:active, .dislike-button:active{
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.35);
}
.like-button:disabled, .dislike-button:disabled{
    color: #FFFFFF;
    background-color: #76A3E2;
    border: none;
}
.like-button:disabled>.material-symbols-outlined, .dislike-button:disabled>.material-symbols-outlined{
  font-variation-settings:'FILL' 1,'wght' 400,'GRAD' 0, 'opsz' 48 !important;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0 0;
  margin-bottom: 1rem;
  list-style: none;
  justify-content: start;
  width: 100%;
  padding-left: 20px;
  color: black;
}
.breadcrumb-item + .breadcrumb-item {
  padding-left: 0.5rem;
  color: #000000;
  font-weight: bold;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4IiBoZWlnaHQ9IjgiPjxwYXRoIGQ9Ik0yLjUgMEwxIDEuNSAzLjUgNCAxIDYuNSAyLjUgOGw0LTQtNC00eiIgZmlsbD0iY3VycmVudENvbG9yIi8+PC9zdmc+");
}
.breadcrumb-item.active {
  color: var(--bs-breadcrumb-color);
}

@media (max-width: 500px) {
  .breadcrumb-item{
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow:hidden;
    display:inline-block;
  }
}
.bold{
    font-weight: bold;
}
.nothing-found{
    background-color: white;
    padding: 20px;
}
.nothing-found>h1{
    font-size: 1.25em;
    margin-bottom: 5px;
}
.nothing-found>p{
    margin-top: 5px;
}
.nothing-found-image{
    margin-left: auto;
    margin-right: auto;
}
.kcdoc {
  display: inline-block;
}
div.responsive{
  height: 100%;
}
img.responsive{
  height: 100% !important;
  width: 100% !important;
}
.KGQuestionComment, .DocumentContent{
    height: 100% !important;
    width: 100% !important;
}
img.responsive{
    height: auto !important;
    width: 100% !important;
    position: relative !important;
}
div.responsive {
    padding-top: 0px !important;
}
.documentContent{
  display: inline-block;
  max-width: 100% !important;
}
.w-100{
    width: 100%;
}
.documentContent img {
    width: 100% !important;
    height: 100% !important;
}
.material-symbols-outlined {
  vertical-align: middle;
}
.md-13{
    font-size: 13px !important;
}
.text-center{
    text-align: center;
}
.headline > h3 {
    font-size: 14px;
    font-weight: 400;
}
@media (max-width: 899px) {
    
    .card-container .accordion-item:last-of-type .accordion-header .accordion-button{
        padding-bottom: 20px !important;
    }
    .accordion-item {
        border-bottom: 2px solid var(--color-greyscale-200);
    }
    .faq-title{
        border-bottom: 2px solid var(--color-greyscale-200);
    }
    .feedback{
        margin-top: 10px;
    }
}
@media (max-width: 767px) {
    .col-6 {
        flex: 40%;
    }
    .accordion-button{
        padding: 20px 10px 15px 10px !important;
    }
}
.kcdoc:not(.material-symbols-outlined) *:not(.material-symbols-outlined){
    font-family: var(--font-family-1) !important;
}

.thumbnail-hover{
  position: fixed !important;
  width: auto !important;
  height: 80% !important;
  max-width: 100% !important;
  z-index: 100000;
  top: 10% !important;
  margin: 0 auto;
}
#thumbnail-wrapper{
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  top: 0;
  left: 0;
  backdrop-filter: blur(10px);
}
.thumbnail-close-button{
  margin-left: auto;
  margin-right: 5px;
  margin-top: 5px;
  margin-bottom: auto;
  width: 40px;
  height: 40px;
  border: 1px solid black;
  border-radius: 3px;
  color: white;
  background-color: red;
}
.thumbnail-image-wrapper{
  margin: 0 auto;
}
.thumbnail-image-wrapper, .thumbnail-image-wrapper>img{
  height: 80% !important;
  width: auto !important;
  max-width: 100% !important;
}
.kcdoc DIV.responsive{
  position: relative;
  display: inline-block;
}
.kcdoc DIV.responsive >IMG{
  width: 100%;
  height: auto;
  cursor: pointer;
}
img[isthumbnail=true]{
  cursor: pointer;
  max-width: 200px;
}
