/**
 * header
 */
.jr-header {
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}

:root {
    --header-height: 132px;
    --header-transition-time: .6s;
    --header-transition: top var(--header-transition-time) ease;
}

/* if body has scroll-up, show jr-header as fixed */
body .jr-header {
    position: fixed !important;
    z-index: 10000;
    top: 0;
    transition: var(--header-transition);
}

body.scroll-up .jr-header {
    top: 0;
}

body.scroll-up .sticky-102 {
    top: var(--header-height) !important;
    transition: var(--header-transition);
}

body.scroll-down .jr-header {
    top: calc(-1 * var(--header-height));
}

.elementor-sticky:has(.elementor-widget-li-widgets--toc) {
    top: var(--header-height) !important;
    transition: var(--header-transition);
}


body.scroll-down .elementor-sticky:has(.elementor-widget-li-widgets--toc) {
    top: 0 !important;
}

.jr-header--slideout-nav {
    display: none;
    position: relative;
    max-width: 1690px;
    margin: 0 auto;
    padding: 60px 20px;
}

.jr-header--slideout-nav__menu {
    list-style: none;
    width: 50%;
    padding-right: 6%;
}

.jr-header--slideout-nav__menu > .menu-item > a {
    font-weight: 600;
    text-transform: uppercase;
}

.jr-header--slideout-nav__menu > .menu-item.menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center; 
}

.jr-header--slideout-nav__menu > .menu-item.menu-item-has-children > a:after {
    content: "";
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    border-top: 3px solid;
    border-right: 3px solid;
    transform: rotate(45deg);
}

.jr-header--slideout-nav__menu .menu-item {
    text-decoration: none;
    line-height: 1.2;
}

.jr-header--slideout-nav__menu .menu-item > a {
    display: block;
    text-decoration: none;
    padding: 24px 20px;
}

.jr-header--slideout-nav__menu .menu-item:not(:last-child) {
    border-bottom: 2px solid;
}

.jr-header--slideout-nav__menu .menu-item:hover {
    border-color: var(--e-global-color-primary);
}

.jr-header--slideout-nav__menu .menu-item:hover > a {
    color: var(--e-global-color-primary);
}

.jr-header--slideout-nav__menu .menu-item .sub-menu {
    display: none;
    position: absolute;
    top: 60px;
    right: 60px;
    bottom: 60px;
    overflow: scroll;
    width: calc(50% - 60px);
    list-style: none;
    padding-left: 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

.jr-header--slideout-nav__menu .menu-item .sub-menu::-webkit-scrollbar { /* WebKit */
    width: 0;
    height: 0;
}

.jr-header--slideout-nav__menu .menu-item .sub-menu .menu-item a {
    font-weight: 300;
}

.jr-header--slideout-nav__menu .menu-item.current-menu-item > a, .jr-header--slideout-nav__menu .menu-item.current-menu-parent > a, .jr-header--slideout-nav__menu .menu-item.current-menu-ancestor > a {
    color: var(--e-global-color-primary);
}

.jr-header--slideout-nav__menu .menu-item.active .sub-menu {
    display: block;
}

.jr-header--slideout-nav__close {
    position: absolute;
    top: 20px;
    right: 60px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    background: url(../img/JR-Icon-X.svg)
}

.jr-header--slideout-nav__close:before, .jr-header--slideout-nav__close:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    transform: rotate(45deg);
}

.jr-header--slideout-nav__close:after {
    transform: rotate(-45deg);
}

.jr-header--static-nav {
    display: flex;
    gap: clamp(1.25rem, -4.8842rem + 9.5847vw, 5rem);
    justify-content: space-between;
    max-width: 1690px;
    margin: 0 auto;
    padding: 10px 20px;
    background: #fff;
    width: 100%;
    z-index: 9999;
}

.jr-header--static-nav__logo {
    max-width: clamp(8.75rem, -3.2348rem + 16.7732vw, 14.0625rem);
    width: clamp(8.75rem, -3.2348rem + 16.7732vw, 14.0625rem);
    flex-grow: 3;
}

.jr-header--static-nav__nav {
    flex-grow: 3;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.jr-header--static-nav__nav__menu {
    list-style: none;
    padding-left: 0;
    display: flex;
    gap: clamp(1.25rem, -2.8395rem + 6.3898vw, 3.75rem);
}

.jr-header--static-nav__nav__menu .menu-item > a {
    font-size: clamp(0.95rem, 0.5683rem + 0.4792vw, 1.0625rem);
    font-weight: 600;
    text-decoration: none;
}

.jr-header--static-nav__actions {
    min-width: clamp(8.75rem, 0.5711rem + 12.7796vw, 13.75rem);
    list-style: none;
    padding-left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.9375rem, -1.6184rem + 3.9936vw, 2.5rem);
}

.jr-header--static-nav__actions > [class*=jr-header--static-nav__actions__] > a img {
    height: 20px;

    @media (max-width: 767px) {
        height: 15px;
    }
}

.jr-header--static-nav__actions > [class*=jr-header--static-nav__actions__] .jr-header--static-nav__actions__menu__link {
    text-transform: uppercase;
    font-size: 90%;
    line-height: 1;
    text-decoration: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 3px;
}

.jr-header--static-nav__actions > [class*=jr-header--static-nav__actions__] .jr-header--static-nav__actions__menu__link img {
    margin-left: 8px;
    margin-top: -3px;
}

body.logged-in .jr-header {
    top: 32px;
}


.jr-header--static-nav__actions__menu {
    padding-right: 10px;
}

.li-footer-social .li-social-rotate:hover {
	-webkit-animation: rotate-scale-down 0.65s linear both;
	        animation: rotate-scale-down 0.65s linear both;
}

/* JR Header Menu 125% Fix Try*/
@media only screen and (max-width: 1920px) and (min-width: 1025px){
    .jr-header--slideout-nav__menu .menu-item > a {    
          padding: 18px 20px;
          font-size: 16px;
      }    
  }


 @-webkit-keyframes li-social-rotate {
    0% {
      -webkit-transform: scale(1) rotateZ(0);
              transform: scale(1) rotateZ(0);
    }
    50% {
      -webkit-transform: scale(0.5) rotateZ(180deg);
              transform: scale(0.5) rotateZ(180deg);
    }
    100% {
      -webkit-transform: scale(1) rotateZ(360deg);
              transform: scale(1) rotateZ(360deg);
    }
  }
  @keyframes rotate-scale-down {
    0% {
      -webkit-transform: scale(1) rotateZ(0);
              transform: scale(1) rotateZ(0);
    }
    50% {
      -webkit-transform: scale(0.5) rotateZ(180deg);
              transform: scale(0.5) rotateZ(180deg);
    }
    100% {
      -webkit-transform: scale(1) rotateZ(360deg);
              transform: scale(1) rotateZ(360deg);
    }
  }
  

/* Typesense Overrides Globals */
.cmswt-InstantSearch .cmswt-FilterPanel .ais-RefinementList{
    color:var(--e-global-color-text);
}
.cmswt-InstantSearch .ais-RefinementList-count {
    border-radius: 0px;
    background: var(--e-global-color-secondary);
}

.cmswt-FilterPanel .ais-Panel-header span {
    color:var(--e-global-color-primary);
}

.cmswt-Result-post .hit-description {
    padding-top: 0!important;
}

.ais-RefinementList .ais-SearchBox-form .ais-SearchBox-input{
    padding:5px;
    border-radius: 0px;
}

.ais-RefinementList .ais-RefinementList-label{
    width: 100%;
    flex-wrap: nowrap;
}


.ais-RefinementList .ais-RefinementList-count {
    margin-left: auto;
    padding: 3px;
}


@media only screen and (min-width: 768px) {
    
    .cmswt-InstantSearch {
        gap: 100px;
        row-gap: 20px;
    }
    .cmswt-FilterPanel {
        width: 22%;
    }
    .cmswt-MainPanel {
        width: calc(78% - 100px)
    }
}

.cmswt-InstantSearch .cmswt-IndexSwitcher-item .cmswt-IndexSwitcher-link {
    padding:5px 10px 5px 10px;
    font-size: 16px;
    border: none;
}

.cmswt-IndexSwitcher {
    border: none;
    width: 100%;
    justify-content: space-between;
    padding: 5px 10px!important;
}

.cmswt-InstantSearch .cmswt-IndexSwitcher-item.active .cmswt-IndexSwitcher-link {
    color: var(--e-global-color-accent) !important;
}

.cmswt-SubHeader .cmswt-CollectionMenu {
    width: 100%;
}

.cmswt-SubHeader {
    background: var(--e-global-color-secondary);
}

.cmswt-MainPanel.cmswt-MainPanel--fullWidth {
    width: 100% !important;
}

/* typesense - publikationen */

.not-employee {
    font-size: 14px;

    @media (max-width: 767px) {
        font-size: 12px;
    }
}

.post-type-archive-publications .cmswt-SubHeader {
    display: none;
}

.cmswt-Result {
    width: 100% !important;
}

.cmswt-Result {
    @media (min-width: 767px) {
        margin-top: -50px;
    }
}

.post-type-archive-publications .cmswt-Result {
    @media (min-width: 767px) {
        margin-top: 0;
    }
}

    .cmswt-Result-products {
    @media (min-width: 767px) {
        margin-top: 0px!important;
    }
}

.cmswt-Result h5 {
    font-size: 25px;
    font-weight: 900;
    text-decoration: none;

    @media (max-width: 767px) {
        font-size: 19.5px;
    }
}

.cmswt-Results  .hit-publication-authors {
    color: var(--e-global-color-text);
    font-size: 15px;
}


.hit-institute, .hit-business-areas {
    display: flex;
    flex-flow: row wrap;
    gap: 14px;
}

.cmswt-Results .hit-institute a, .cmswt-Results .hit-business-areas a  {
    display: inline-flex;
    padding: 5px 10px;
    background-color: var(--e-global-color-secondary);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    font-weight:700;
    align-items: center;
    gap: 5px;
}

.cmswt-Results .link-icon {
    width:20px;
    height:16px;
    object-fit: contain;
}

.hit-institute a:hover .link-icon, .hit-business-areas a:hover .link-icon {
    filter: brightness(0) saturate(100%) invert(52%) sepia(51%) saturate(489%) hue-rotate(114deg) brightness(98%) contrast(91%);
}

.cmswt-Result-hits_people .ais-Hits-item {
    align-items: center;
}

.cmswt-Result-hits_products .hit-content {
    padding: 10px 0!important;
    margin-top: 0!important;
}

.cmswt-Results .hit-content {
    padding: 0!important;
    margin-top: 0!important;
}

.cmswt-Result-people {
    margin-top: -40px;

    @media (max-width: 767px) {
        margin-top: 0;
    }
}

.cmswt-Result-hits_publications .button-wrapper {
    display: flex;
    flex-flow: row wrap;
    gap: 20px;
}

.cmswt-Result-hits_publications .ais-Hits-item {
    flex-wrap: wrap;
}

.cmswt-Filter-publication_type .ais-RefinementList-list {
    display: flex;
    flex-flow: column nowrap;
}

.cmswt-Filter-bibtex_year .ais-Panel-header {
    padding-bottom: 0;
}

.cmswt-Result-hits_publications .jr-serp-heading {
    margin-bottom: 0;
    padding-bottom: 3px;
}

.cmswt-Result-hits_publications .hit-content {
    display: flex;
    flex-flow: column nowrap;
    gap: 17px;
    padding: 0 0 30px 0;
}

.hit-publication-type {
    letter-spacing: 1px;
    font-weight: 600;
}

.hit-publication-type span {
    margin-left: -3px;
}

@media (max-width: 767px) {
    .cmswt-Result-hits_publications .jr-serp-heading {
        font-size: 20px;
    }

    .hit-publication-type {
        font-size: 16px;
    }
}

/* typesense - suchergebnisse */
.cmswt-Results .ais-Hits .ais-Hits-item {
    height: 100% !important;
    padding: 25px 0;
    gap: 30px;
}

.jr-serp-heading {
    font-size: 25px;

    @media (max-width: 1024px) {
        font-size: 19px!important;
    }
}

.heading-wrapper {
    @media (max-width: 1024px) {
        font-size: 14.5px!important;
    }
}

.cmswt-Results .ais-Hits .ais-Hits-item:first-of-type {
    padding-top: 0!important;
}

.cmswt-Results .ais-Hits .ais-Hits-item .hit-header {
    padding: 15px 0;
    display: flex;
    align-items: center;
}

.cmswt-Results .ais-Hits .ais-Hits-item .hit-header a img {
    min-width: unset;
    min-height: 180px;
    max-height: 180px;
    object-fit: cover;
}

.cmswt-Results .ais-Hits .ais-Hits-item .tps-li-people-hit .hit-header a img {
    border-radius: 50%;
}

.cmswt-CollectionMenu:hover .cmswt-IndexSwitcher {
    @media (max-width: 767px) {
        display: none!important;
    }
}

.cmswt-CollectionMenu:hover .cmswt-IndexSwitcher {
    @media (max-width: 767px) {
        display: flex!important;
    }
}

    /* typesense - range slider */
    .ais-Panel-body .ais-RangeSlider {
        margin-right: 10px;
        margin-left: 10px;
    }

     .ais-RangeSlider .rheostat-progress {
        background-color: var(--e-global-color-primary);
    }

    .cmswt-InstantSearch .ais-RangeSlider .rheostat-handle {
        background-color: var(--e-global-color-primary);
        border:none;
    }

    .cmswt-InstantSearch .ais-RangeSlider .rheostat-background {
        border:none;
        background-color: var(--e-global-color-secondary);
    }


/* Button im Filterpanel */
.cmswt-InstantSearch .ais-RefinementList button {
    padding:0;
    color:var(--e-global-color-text);
    background: none;
    font-size: 12px;
    border:none;
    display: inline-flex;
    font-weight: 700;
    opacity: 1;

}

.cmswt-InstantSearch .ais-RefinementList button::after {
    display: inline-flex;
    margin-left:5px;
    background-image: url(/wp-content/uploads/2023/09/JR-Icon-arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    width:12px;
    height:12px;
    content: "";
    transform: rotate(90deg);
    background-position: center;
}

.cmswt-InstantSearch .ais-RefinementList button.rotate::after {
    transform: rotate(-90deg);
}

.cmswt-InstantSearch .ais-RefinementList button:hover {
    padding:0;
    color:var(--e-global-color-primary);
    background: none;
    font-size: 12px;
    border:none;

}

/* Typesense Overrides Keywords */
.cmswt-InstantSearch .cmswt-IndexSwitcher-item:hover:after, .cmswt-InstantSearch .cmswt-IndexSwitcher-item.active:after {
    content: none;
}

.cmswt-InstantSearch .cmswt-IndexSwitcher-item:hover a {
    color: var(--e-global-color-primary) !important;
    font-weight: 700!important;
}

.cmswt-Filter-non_hierarchical .ais-RefinementList-list{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}


.cmswt-Filter-non_hierarchical .ais-RefinementList-item,
.cmswt-Filter-non_hierarchical .ais-RefinementList-item div{
    display: flex;
}

.cmswt-Filter-non_hierarchical .ais-RefinementList-label {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    background:#EBEBEB;
    color: var(--e-global-color-text);
    cursor: pointer;
    margin-right: 5px;
    align-items: center;
    gap: 0;
    border-radius: 0 8px 8px 0;
}

.cmswt-Filter-non_hierarchical .ais-RefinementList-label:hover {
    background: var(--e-global-color-primary);
    color:#fff;
}

.cmswt-Filter-non_hierarchical .ais-RefinementList-count{
    display: flex;
    background: #ddd;
    padding: 4px;
    height: 100%;
    align-items: center;
    line-height: 12px;
    font-size: 12px;
    color:var(--e-global-color-text);
    border-radius: 0 8px 8px 0;
    border:1px solid #ddd;
}

.cmswt-Filter-non_hierarchical .ais-RefinementList-label:hover .ais-RefinementList-count {
    background:#fff;
    border-color: var(--e-global-color-primary);
}

.cmswt-Filter-non_hierarchical .ais-RefinementList-labelText {
    padding:5px;
    font-size: 14px;
}

.cmswt-Filter-publication_type .ais-RefinementList .ais-RefinementList-labelText {
    text-transform: capitalize;
}

.cmswt-Filter-institutes .ais-Panel .ais-RefinementList .ais-RefinementList-labelText {
    text-transform: uppercase;
}

.cmswt-Filter-non_hierarchical .ais-RefinementList-checkbox {
    display: none;
}

.cmswt-Filter-non_hierarchical .ais-RefinementList-item--selected .ais-RefinementList-label {
    background: var(--e-global-color-primary);
    color:#fff;
}
.cmswt-Filter-non_hierarchical .ais-RefinementList-item--selected .ais-RefinementList-label .ais-RefinementList-count {
    color:#fff;
    border-color: var(--e-global-color-primary);
}
.cmswt-Filter-non_hierarchical .ais-RefinementList-item--selected .ais-RefinementList-label {
    background: var(--e-global-color-primary);
    color: #fff;
}


/* Hit Template */
.cmswt-Results  .ais-Hits-item {
    border-bottom:4px solid var(--e-global-color-primary);
    color: var(--e-global-color-text);
    border-radius: 0!important;
}

.cmswt-Results  .ais-Hits-item .hit-content{
    padding-left:0;
}

.cmswt-Results .ais-Hits-item a {
    text-decoration: none;
}

 .ais-Panel-header {
    text-transform: none;
    font-size: 15px;
    font-weight: 600;
    border: none;
    margin-bottom: 0;
    padding-bottom: 10px;
}

.cmswt-Result-hits_publications .ais-Panel-body .ais-RangeSlider {
    margin: 0 10px;
}

.ais-RangeSlider .rheostat-handle {
    width: 10px;
    height: 10px;
    margin-left: -6px;
    top: -3px;
}

.ais-RangeSlider .rheostat-progress {
    height: 3px;
}

.cmswt-InstantSearch .ais-RangeSlider .rheostat-background {
    height: 3px;
}

.cmswt-InstantSearch .ais-RefinementList button.ais-RefinementList-showMore--disabled {
    display: none!important;
}

.cmswt-InstantSearch .ais-RefinementList button.ais-RefinementList-showMore:focus {
    color: inherit;
    background: inherit;
    border: none;
    outline: none;
}

.hit-content mark {
    font-size: inherit;
}

.ais-Pagination-item .ais-Pagination-link {
    background: none;
    border: 1px solid #c4c8d8 !important;
}

.ais-Pagination-item .ais-Pagination-link:hover {
    background: var(--e-global-color-primary);
}

.ais-Pagination-item--selected .ais-Pagination-link:focus {
    color: var(--e-global-color-secondary, #fff);
}

.ais-Pagination-item.ais-Pagination-item--selected a {
    background: var(--e-global-color-primary) !important;
    color: var(--e-global-color-secondary, #fff);
}

.cmswt-FilterPanel a.cmswt-FilterPanel-itemsFooterCloseLink {
    background:  var(--e-global-color-primary);
}

.ais-Panel-collapseButton:hover, .ais-Panel-collapseButton:focus {
    outline: none !important;
    background: none !important;
    border: none !important;
}

@media (max-width: 767px) {
    .cmswt-InstantSearch .ais-RefinementList ul {
        padding: 10px 0;
    }

    .page-content .cmswt-InstantSearch ul li {
        padding-left: 0;
    }

    .page-content .cmswt-InstantSearch .ais-Panel--collapsible {
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .cmswt-InstantSearch {
        display: flex;
        flex-direction: column;
    }

    .cmswt-InstantSearch .cmswt-Header {
        margin-bottom: 20px;
    }

    .cmswt-Filter .ais-Panel--collapsible {
        margin-bottom: 0;
    }

    .cmswt-Filter .ais-Panel--collapsible .ais-Panel-header {
        padding-bottom: 10px;
    }

    .cmswt-InstantSearch .cmswt-FilterPanel {
        display: flex;
        flex-flow: column nowrap;
        gap: 20px;
        }

    .lio ul li.cmswt-IndexSwitcher-item a {
        border-bottom: 1px solid var(--e-global-color-45371e3c, #000);
    }

    .cmswt-Results .ais-Hits-item {
        padding: 10px;
    }

    .cmswt-FilterPanel-itemsContent {
        margin: 10px 0;
    }
}

@media (max-width: 1024px) {
    .cmswt-InstantSearch {
        padding: 20px 40px;
    }
}

/* Personensuche */


.cmswt-InstantSearch .tps-li-people-hit, .cmswt-InstantSearch .tps-li-products-hit, .cmswt-InstantSearch .tps-li-projects-hit,
.cmswt-InstantSearch .tps-li-infrastructure-hit {
    display:flex;
    flex-direction: row;
    align-items: center;
    gap:20px;
    height: 100%;

    @media (max-width: 767px) {
        flex-direction: column;
    }
}

.cmswt-InstantSearch .tps-li-products-hit .heading-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-around;
}

.cmswt-InstantSearch .ais-Hits-list {
    gap: 0!important;
}

.cmswt-InstantSearch .tps-li-products-hit p {
    margin-bottom: 5px!important;
}

.cmswt-InstantSearch .tps-li-products-hit .image-container,
.cmswt-InstantSearch .tps-li-products-hit .image-container .hit-header,
.cmswt-InstantSearch .tps-li-products-hit .image-container .hit-header img {
    height: 100% !important;
}

.cmswt-InstantSearch .tps-li-products-hit .image-container .hit-header {
    padding: 0!important;
}

.cmswt-InstantSearch .tps-li-products-hit h5 {
    margin-top: 0!important;
    margin-bottom: 15px !important;
}

/* Single Page Publikationen styles */
.li-singlepage-publikationen > .elementor-widget-container .elementor-heading-title::before {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5em;
    width: 1em;
    height: 1em;
    content: "";
    background: var(--e-global-color-primary);
}

.lio .type-publications a {
    border: none;
}

.lio .type-publications a:not(:first-of-type) {
    word-break: break-all;
}

/* Button in Texteditor */

.lio .jr-text-button {
    background: var(--e-global-color-primary);
    padding: 14px 86px 14px 41px;
    border: 2px;
    color: #fff;
    font-weight: 400;
    font-size: 18px;
    margin-top: 30px;
    text-decoration: none;
    transition: 0.2s;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    max-height: 52px;
    height: 100%;
    position: relative;
}

.lio .jr-text-button:hover {
    background: #000;
    color: #fff;
}

.lio .jr-text-button::after {
    content: '';
    display: inline-table;
    position: absolute;
    right: 0;
    width: 32px;
    height: 32px;
    background-image: url('../img/arrow.svg');
    background-size: 28%;
    background-position: center center;
    background-repeat: no-repeat;
    vertical-align: top;
    transform: translateX(-50%);
    filter: grayscale(100%) invert(1);
}

@media (max-width: 1024px) {
    .lio .jr-text-button {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .lio .jr-text-button {
        font-size: 12.75px;
        line-height: 17.25px;
        max-width: 100%;
        min-width: 100%;
        padding: 8px 10px;        
    }

    .lio .jr-text-button::after {
        transform: translateX(-10%);
        width: 28px;
    }
}

/* Single Page Publikationen styles */
.single .publications .li-singlepage-publikationen > .elementor-widget-container .elementor-heading-title::before {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5em;
    width: 1em;
    height: 1em;
    content: "";
    background: var(--e-global-color-primary);
}

.single .publications .li-singlepage-publikationsreihe > .elementor-widget-heading > .elementor-widget-container {
    display: flex;
    align-items: center;
}

.single .publications .li-singlepage-publikationsreihe > .elementor-widget-heading > .elementor-widget-container::before {
    display: inline-block;
    vertical-align: middle;
    margin-right: 1.3em;
    margin-left: -2.1em;
    width: 0.7em;
    height: 0.7em;
    content: "";
    background: var(--e-global-color-primary);   
}

@media only screen and (max-width: 767px){
    .single .publications .li-singlepage-publikationsreihe > .elementor-widget-heading > .elementor-widget-container::before {    
        margin-right: 10px;
        margin-left: -20px;
    }
}

.single .publications .li-singlepage-konferenz > .elementor-widget-container {
    display: flex;
    align-items: center;
}

.single .publications .li-singlepage-konferenz > .elementor-widget-container::before {
    display: inline-block;
    vertical-align: middle;
    margin-right: 1.3em;
    margin-left: -2.1em;
    width: 0.7em;
    height: 0.7em;
    content: "";
    background: var(--e-global-color-primary);
}

.lio .type-publications a {
    border: none;
}

.lio .publication-btn >  .elementor-widget-container .elementor-button {
  border: none;
    cursor: pointer;
}

.lio .publication-btn >  .elementor-widget-container .elementor-button:hover {
    background-color: #000;
    border-color: #000;
    color: var(--e-global-color-secondary);
    fill: var(--e-global-color-secondary);
}

.li-publication-research-areas, .li-publication-institutes {
    display: flex;
    flex-flow: row wrap;
}

.li-publication-research-areas .publication-terms, .li-publication-institutes .publication-terms {
    text-decoration: none;
    border-color: var(--e-global-color-secondary);
    border: 1px solid;
}

.li-publication-research-areas .publication-terms .single-term, .li-publication-institutes .publication-terms .single-term {
    padding: 8px 15px;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: var(--e-global-color-secondary);
    margin: 10px 10px 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    gap: 5px;
}

.li-publication-research-areas .publication-terms img, .li-publication-institutes .publication-terms img {
    width: 18px;
    height: 21px;
    vertical-align: sub;
}

.li-publication-research-areas .publication-terms .single-term:hover img, .li-publication-institutes .publication-terms .single-term:hover img {
    filter: brightness(0) saturate(100%) invert(52%) sepia(51%) saturate(489%) hue-rotate(114deg) brightness(98%) contrast(91%);
}

.li-publication-research-areas .publication-terms span, .li-publication-institutes .publication-terms span {
    margin: 5px 0;
}

/* typesense autocomplete */

body:not(.instant-search-open) .aa-Panel {
   /* display:none!important;*/
}

.li-autocomplete-search {
    position: fixed;
    right: 0;
    top: 0;
    width: 750px;
    height: 100vh;
    background: white;
    z-index: 100000;
    padding: 110px 70px;
    transform: translateX(100%);
    transition: transform .5s linear;
    overflow: hidden;

    @media (max-width: 768px) {
        padding: 20px;
        width: 100%;
    }

    @media (min-width: 769px) and (max-width: 1024px) {
        width: 100%;
        padding: 60px 20px;
    }
}

.li-autocomplete-search span {
    font-size: 12px;

    @media (max-width: 767px) {
        display: inline-block;
        padding-bottom: 10px;
    }
}

.li-autocomplete-search .detail-search {
    display: flex;
    width: fit-content;
    margin-left: auto;
    align-items: center;
    z-index: 10000;

    @media (max-width: 767px) {
        max-width: 150px;
        min-width: 150px;
        max-height: 35px;
    }

    @media (min-width: 768px) and (max-width: 1024px) {
        max-height: 50px;
        max-width: 250px;
    }
}

.aa-DetachedContainer .aa-PanelLayout.aa-Panel--scrollable {
    padding: 20px!important;
}

.li-autocomplete-search.visible {
    transform: translateX(0);
    -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 18px 50px -10px;
    -moz-box-shadow: rgba(0, 0, 0, 0.2) 0 18px 50px -10px;
    box-shadow: rgba(0, 0, 0, 0.2) 0 18px 50px -10px;
}

.li-autocomplete-search h3 {
    margin-bottom: 40px;

    @media (max-width: 768px) {
        margin-top: 80px;
        margin-bottom: 10px;
        font-size: 20px;
    }
}

.aa-ItemWrapper a {
    text-decoration: none!important;
}

.aa-List .aa-Item {
    pointer-events: none!important;
}

.aa-List .aa-ItemWrapper a {
    pointer-events: all!important;
}

.cm-autocomplete {
    width: 100%;
    z-index: 99999;
    height: 100%;

    @media (max-width: 768px) {
        height: 60%;
    }
}

#autocomplete-close-icon {
    width: 20px;
    height: 20px;
    position: absolute;
    right: 40px;
    top: 40px;
    cursor: pointer;
}

.aa-Panel {
    display: none!important;
}

.instant-search-open .aa-Panel {
    display: block!important;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    padding-top: 30px;
    height: 100%;
    width: 100%;
    top: unset!important;
    left: unset!important;
    right: unset!important;
}

.instant-search-open .aa-Panel .aa-PanelLayout {
    position: fixed;
    max-width: calc(100vw - 600px) !important;
    top: clamp(350px, 100vh - 910px, 0vh) !important;
    left: calc(100vw - 685px) !important;
    right: 0!important;
}

@media (min-width: 768px) and (max-width: 1025px) {
    .instant-search-open .aa-Panel .aa-PanelLayout {
        max-width: 100% !important;
        left: 3vw !important;
    }
}

@media (max-width: 767px) {
    .instant-search-open .aa-Panel .aa-PanelLayout {
        max-width: 100% !important;
        top: clamp(300px, 100vh - 900px, 370px) !important;
        left: 0 !important;
    }
}

@media (max-width: 680px) {
    .instant-search-open .aa-Panel .aa-PanelLayout {
        top: 8% !important
    }
}

.aa-Panel--scrollable {
  scrollbar-color: #33AA8CFF #00000033 !important
}

.aa-Panel .aa-Source .aa-List {
    padding: 0;
}

.aa-Panel .aa-Source .aa-SourceHeader {
    padding: 0;
}

.aa-Panel .aa-Source h5 {
    color: var(--e-global-color-accent);
    font-weight: 600;
    margin-bottom: 10px;
}

.aa-Panel .aa-Item {
    padding: 10px 0;
}

.aa-Panel .aa-Item:not(:last-of-type) {
    border-bottom: 1px solid var(--e-global-color-secondary);
    border-radius: 0;
}

.aa-Panel .aa-Item .aa-ItemContent {
    display: block;
}

.aa-Panel .aa-Item .aa-ItemContent .aa-ItemContentTitle {
    font-weight: 600;
}

.aa-Panel .aa-Item .aa-ItemContent .aa-ItemContentTitle mark {
    background: #ffc168;
}

.aa-Panel .aa-Item .aa-ItemIcon {
    display: none;
}

.aa-Panel .aa-PanelLayout {
    max-height: 50vh;
}

@media (max-width: 767px) {
    .aa-Panel .aa-PanelLayout {
        max-height: 90vh;
    }
}

.cm-autocomplete .aa-Form {
    flex-direction: row-reverse;
}

.cm-autocomplete {
    height: 80%;

    @media (max-width: 768px) {
        height: 60%;
    }
}

.cm-autocomplete .aa-Form button.aa-SubmitButton {
    max-width: 100%;
    width: 50px;
    background: var(--e-global-color-c53f219);
    border-width: 1px;
    border-color: var(--e-global-color-45371e3c, #000);
    border-style: solid;
    border-left: none;
    border-radius: 0;
}

.aa-Autocomplete .aa-DetachedSearchButton {
    display: flex;
    width: 100%;
}

.aa-Autocomplete .aa-DetachedSearchButton .aa-DetachedSearchButtonPlaceholder {
    font-size: 14px;
}

#autocomplete-0-label {
    display: none;
}

.aa-DetachedFormContainer {
    border: none;
}

.aa-DetachedFormContainer .aa-Input {
    border: none;
}

.aa-DetachedCancelButton, .aa-ClearButton {
   font-size: 16px!important;
}

.aa-Label svg {
    color: var(--e-global-color-accent)
}

.aa-Autocomplete input[type=search].aa-Input {
    border-right: none;
    border-color: var(--e-global-color-45371e3c, #000);
    border-radius: 0;
}

.aa-Form:focus-within {
    box-shadow: none;
    border-color: inherit;
}
.aa-SourceNoResults {
  padding: 0 10px 10px 0;
}

.ais-RefinementList-checkbox {
    accent-color: var(--e-global-color-accent);
}

.hit-link {
    display: none;
}

.hit-meta {
    padding: 13px 0;
}

.cmswt-Results .posted-on {
    font-size: 16px;
}

.hit-cat a {
    font-size: 16px;
}

.hit-cats {
    padding-top: 5px;
}

.cmswt-InstantSearch .cmswt-IndexSwitcher-item:hover, .cmswt-InstantSearch .cmswt-IndexSwitcher-item.active {
    background: inherit;
}

/* Language Switcher */

.trp-language-switcher .trp-ls-shortcode-language {
    width: auto!important;
    display: flex;
    margin-top: 2px;
}

div.trp-ls-shortcode-language a {
    padding: 0 5px 0 0!important;
    font-size: 90%;
}

div.trp-ls-shortcode-language a:last-of-type::before {
    content: "|";
}

.trp_language_switcher_shortcode {
    display: flex;
}

.trp-language-switcher > div {
    padding: 0;
}

.trp-ls-shortcode-current-language {
    display: none!important;
}

.trp-ls-shortcode-disabled-language {
    text-decoration: underline!important;
    text-decoration-color: var(--e-global-color-primary) !important;
    text-underline-offset: 4px!important;

}

.trp-ls-shortcode-language {
    display: flex!important;
    height: auto!important;
    visibility: visible!important;
    justify-content: center;
    align-items: center;
}

.trp-language-switcher > div {
    border: none;
    background: none;
}

.trp-language-switcher {
    width: auto;
    display: flex;
    justify-content: center;
}

.trp-ls-shortcode-language {
    width: fit-content;
}

.trp-ls-shortcode-current-language {
    width:fit-content !important;
}

div.trp-ls-shortcode-language a {
    display:table-cell;
    white-space: nowrap;
    padding-right: 10px;
}

.trp-language-switcher:focus .trp-ls-shortcode-language, .trp-language-switcher:hover .trp-ls-shortcode-language {
    position: relative;
    display: flex!important;
    padding: unset!important;
}

/* Person Template */

.person-information a {
    font-weight: 400!important;
    font-size: 15px!important;
}

.person-information a:hover {
    color: var(--e-global-color-primary) !important;
}

/* ausgeschiedene personen - Suche */

.people-search .cmswt-SubHeader {
    display: none;
}

.people-search .ais-Hits-list {
    display: grid;
    grid-template-columns: 1fr 1fr;

    @media (max-width: 550px) {
        grid-template-columns: 1fr;
    }
}

.people-search .cmswt-Results .ais-Hits .ais-Hits-item .hit-header a img {
    min-height: 0;
    height: 300px;
    width: 100%;

    @media (max-width: 767px) {
        max-height: 200px;
        height: 100%;
        width: 350px;
    }
}

.people-search .cmswt-Results .ais-Hits .ais-Hits-item .hit-header {
    padding: 0;
    width: 50%;

    @media (max-width: 1024px) {
        width: 100%;
    }
}

.people-search .cmswt-Results .ais-Hits .ais-Hits-item {
    display: flex;
    flex-direction: row;

    @media (max-width: 1024px) {
        flex-direction: column;
    }
}

.people-search .cmswt-Results .ais-Hits-item .hit-content {
    padding: 20px;
    width: 50%;

    @media (max-width: 1024px) {
        width: 100%;
        padding: 10px;
    }
}

.people-search .cmswt-Results .title {
    @media (max-width: 1024px) {
        font-size: 18px;
    }
}

.people-search .cmswt-InstantSearch {
    @media (max-width: 1024px) {
        gap: 60px;
    }

    @media (max-width: 767px) {
        gap: 0;
    }
}

/* Recaptcha */

.frc-captcha {
    width: auto!important;
}

.frc-container .frc-content {
    gap: 10px;
}

.frc-container .frc-content button {
    font-size: 18px;

    @media (max-width: 767px) {
        font-size: 14.5px;
    }
}

/* Personen: Visitenkarte -> Forschungsgruppen */

.research-groups-container {
    display: flex;
    flex-flow: row wrap;
    gap: 5px;
}

.research-groups-container a {
    font-weight: 500!important;
}

.research-groups-container p {
    @media (max-width: 767px) {
    }
}

.research-groups-heading {
    font-size: 21px!important;
    font-weight: 600!important;
    letter-spacing: 0.5px!important;
    margin: 5px 0!important;

    @media (max-width: 1024px) {
        font-size: 18px!important;
    }
}

.aa-Source:has(.aa-SourceNoResults) {
    display: none;
}