@font-face {
    font-family: 'OpenSans Semibold';
    font-weight: 400;
    font-style: normal;
    src: url('../fonts/OpenSans-SemiBold.ttf') format('truetype');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* .navbar.fixed-top {
    z-index: 99999;
} */

.tx-solr .results-highlight {
    color: #005B59;
    font-weight: 700;
}

/*Styling #49645 CH*/

@media (min-width:992px) {
    .frame-default.frame-type-solr_pi_results {
        padding-right: calc(var(--bs-gutter-x) * .5);
        padding-left: calc(var(--bs-gutter-x) * .5);
    }
}

.tx-solr.module {
    padding: 0 10px;
}


/*Searchform*/

.tx-solr-search-form-pi-results {
    height: 45px;
}

@media (min-width:992px) {
    .tx-solr.module .tx-solr-search-form {
        padding-left: 0;
        padding-right: 0;
    }
}

.tx_solr.module .results-list .list-group-item .col-md-12:has(.results-topic.type-amtsblaetter) {
    flex-direction: column;
    align-items: self-start;

}

.tx-solr.module .tx-solr-search-form .tx-solr-suggest {
    max-width: 600px;
    height: 100%;
    border-radius: 0;
}

.tx-solr.module .tx-solr-search-form .tx-solr-suggest {
    padding-left: 20px;
}

.tx-solr.module .js-solr-scrollto.tx-solr-suggest::placeholder {
    font-family: "Open Sans" !important;
    font-weight: normal !important;
    color: #595959 !important;
}

.tx-solr.module .tx-solr-search-form .tx-solr-suggest::placeholder,
.tx-solr.module .tx-solr-search-form .tx-solr-suggest {
    font-size: 16px;
    font-weight: normal !important;
}

.tx-solr.module .tx-solr-search-form .tx-solr-search-form.col-12 {
    margin-bottom: 40px;
}

.tx-solr.module .tx-solr-search-form .tx-solr-search-form {
    /*max-width:600px;*/
    height: 40px;
    border-radius: 0;
}

@media (min-width:992px) and (max-width:1199px) {
    .tx-solr.module .tx-solr-search-form .tx-solr-search-form {
        max-width: 100%;
    }
}

@media (min-width:1200px) {
    .tx-solr.module .tx-solr-search-form .tx-solr-search-form {
        max-width: 723px;
    }
}

@media (min-width:1400px) {
    .tx-solr.module .tx-solr-search-form .tx-solr-search-form {
        max-width: 770px;
    }
}

.tx-solr.module .tx-solr-search-form .tx-solr-suggest:focus-visible {
    border: none;
    border-radius: 0;
}

.tx-solr.module .tx-solr-search-form .input-group {
    align-items: center;
    height: 100%;
}

.tx-solr.module .tx-solr-search-form .btn.btn-primary:hover {
    background-color: #164543 !important;
}

.tx-solr.module .tx-solr-search-form .btn.btn-primary {
    background-color: #005B59 !important;
    padding: 0 30px !important;
    height: 45px;
    margin: 0 0 0 15px !important;
    font-family: "OpenSans Semibold";
    font-size: 16px;
    font-weight: 500 !important;
}

@media (min-width:1200px) {
    .tx-solr.module .tx-solr-search-form .btn.btn-primary {
        height: 45px;
        padding: 0 45px !important;
        font-size: 20px;
    }
}

.active>.page-link,
.tx-solr-search-form .page-link.active {
    border: none !important;
}

@media (max-width:991px) {
    .tx-solr-search-form {
        padding-left: 0;
        padding-right: 0;
    }
}

/*Searchform*/


/*Filter-Area*/

.tx-solr.module .row:nth-child(2) {
    background-color: #F0F0F0;
    align-items: center;
    padding: 15px 5px;
    margin-top: 45px;
}

/*@media (min-width:992px) and (max-width:1199px) {

    .tx_solr_outer .col-lg-3:has(#tx-solr-sorting),
    .tx_solr_outer .col-lg-3:has(#results-per-page) {
        margin-top:0px;
    }

    .tx-solr.module .row:nth-child(2) .col-lg-3:nth-child(2) {
        width: 27% !important;
    }

    .tx-solr.module .row .spacer{
        width: 23% !important;
    }
}*/

.tx-solr.module .secondaryContentSection .btn {
    margin-top: 0 !important;
    background: #fff;
    color: #005B59;
    border: 1px solid #DDDDDD;
    position: relative;
    height: 40px;
    display: flex;
    width: 100%;
    align-items: center;
    padding: 13px 28px 13px 10px !important;
}

@media (min-width:992px) {
    .tx-solr.module .secondaryContentSection .btn {
        max-width: 100%;
    }
}

@media (max-width:991px) {
    .tx-solr.module .secondaryContentSection .dropdown-menu.show {
        width: 100%;
    }
}

.tx-solr.module .secondaryContentSection .dropdown-menu.show {
    transform: translate(0px, 39px) !important;
    width: 99.8%;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

@media (min-width:992px) {
    .tx-solr.module .secondaryContentSection .dropdown-menu.show {
        width: 99.9%;
    }
}

@media (min-width:1200px) {
    .tx-solr.module .secondaryContentSection .dropdown-menu.show {
        width: calc(100% - 35px);
    }
}

.tx-solr.module .secondaryContentSection .dropdown-menu.show li a {
    color: #595959;
}

.tx-solr.module .secondaryContentSection .dropdown-menu.show li a.active {
    background-color: #005B59 !important;
    color: #fff !important;
}

.tx-solr.module .secondaryContentSection .dropdown {
    position: relative;
}

.tx-solr.module .secondaryContentSection .dropdown a {
    color: #595959;
    font-family: "Open Sans";
    font-weight: 500 !important;
    text-transform: none !important;
    overflow: hidden;
}

.tx-solr.module .secondaryContentSection .dropdown-toggle:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 39px;
    right: 0px;
    top: 0;
    background-color: #005B59;
}

.tx-solr.module .secondaryContentSection .dropdown-toggle:before:hover {
    background-color: #164543 !important;
}

@media (min-width:992px) {
    .tx-solr.module .secondaryContentSection .dropdown-toggle:before {
        right: -3px;
    }
}

/*@media (min-width:1200px) {
    .tx-solr.module .secondaryContentSection .dropdown-toggle:before {
        right: -25px;
    }
}*/

.tx-solr.module .secondaryContentSection,
#results-per-page {
    margin-top: 10px;
}

@media (min-width:768px) and (max-width:991px) {

    .tx-solr.module .secondaryContentSection,
    #results-per-page {
        margin-top: 16px;
    }
}

.tx-solr.module .secondaryContentSection .dropdown-toggle:after {
    content: "";
    position: absolute;
    height: 2px;
    width: 2px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #fff;
    transform: translate(-50%) rotate(90deg);
    top: 43%;
    right: 7px;
}

@media (min-width:992px) {
    .tx-solr.module .secondaryContentSection .dropdown-toggle:after {
        right: 6px;
        top: 43%;
    }
}

/*@media (min-width:1200px) {
    .tx-solr.module .secondaryContentSection .dropdown-toggle:after {
        right: -20px;
    }
}*/

#results-per-page .input-group {
    align-items: center;
    position: relative;
    height: 40px;
}

@media (min-width:1200px) {
    #results-per-page .input-group {
        max-width: 260px;
        height: 40px;
    }
}

#results-per-page .custom-button {
    pointer-events: none;
    z-index: 1;
    cursor: pointer;
    visibility: hidden;
}

@media (max-width:991px) {
    #results-per-page .custom-button:before {
        width: 39px !important;
    }
}


#results-per-page .custom-button:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 36px;
    right: 1px;
    top: 0;
    background-color: #005B59;
    cursor: pointer;
    z-index: 1;
    visibility: visible;
}

#results-per-page .custom-button:before:hover {
    background-color: #164543 !important;
}


@media (max-width:991px) {
    #results-per-page .custom-button:after {
        right: 12px;
    }
}

#results-per-page .custom-button:after {
    content: "";
    position: absolute;
    height: 2px;
    width: 2px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #fff;
    transform: translate(-50%) rotate(90deg);
    top: 37%;
    z-index: 1;
    cursor: pointer;
    visibility: visible;
}

@media (min-width:992px) {
    #results-per-page .custom-button:after {
        right: 11px;
    }
}



/*#results-per-page .input-group label{
    position: absolute;
    color:#595959;
    font-family: "Open Sans";
    font-weight: 500 !important;
    text-transform: none !important;
    z-index: 2;
    left: 12%;
}*/

#results-per-page .input-group .form-select {
    color: #595959;
    font-family: "Open Sans";
    font-weight: 500 !important;
    border-radius: 0;
    z-index: 0;
    background-image: none;
    cursor: pointer;
    width: 100%;
}

select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    color: #595959;
    font-family: "Open Sans";
    font-weight: 500 !important;
    border-radius: 0;
}

/*Filter-Area*/


/*Results*/

.tx-solr.module .results-list .results-topic {
    font-size: 20px;
    font-family: "Open Sans";
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 0;
}

.tx-solr.module .results-list .list-group-item.search-result {
    border-right: none;
    border-left: none;
    padding: 20px 30px 20px 0;
}

@media (max-width:991px) {
    .tx-solr.module .results-list .list-group-item.search-result {
        padding: 15px 30px 15px 0;
    }
}

.tx-solr.module .list-group-item .results-date {
    font-size: 14px;
    color: #000;
    font-family: "OpenSans Semibold";
    margin-top: 10px;
    margin-bottom: 0px;

}

@media (max-width:1199px) {
    .tx-solr.module .results-list .col-md-12 {
        min-width: 0;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
}

.tx-solr.module .results-list .list-group-item .col-md-12:has(.results-date) {
    flex-direction: column;
    text-align: left;
    justify-content: start;
    align-items: flex-start;
}

.tx-solr.module .results-list .col-md-12 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    min-width: 0;
}

@media (max-width:991px) {
    .tx-solr.module .results-list.list-group {
        padding: 0 15px;
    }
}

.tx-solr.module .results-list .results-topic a {
    text-decoration: none;
    font-weight: 500;
    font-family: "OpenSans Semibold";
    font-size: 16px;
}

@media (min-width:992px) {
    .tx-solr.module .results-list .results-topic a {
        font-size: 18px;
    }
}

@media (min-width:1200px) {
    .tx-solr.module .results-list .results-topic a {
        font-size: 20px;
    }
}

.tx-solr.module .results-list .results-topic .size {
    font-size: 16px;
    margin-top: 5px;
    font-family: "OpenSans Semibold";
    color: #595959;

    margin-bottom: 0;
    font-weight: 500;
}

/*
.col-md-12:has(.poss_suggest) {
    padding-left:0 !important;
    padding-right:0 !important;
}*/

.tx-solr.module .results-list .result-content {
    font-size: 16px;
    font-family: "Open Sans";
    color: #595959;
    margin-bottom: 0;
    margin-top: 10px;
}

.tx-solr.module .result-range {
    font-size: 14px;
    font-family: "Open Sans";
    color: #005B59;
    margin-bottom: 0;
    width: 100%;
    display: block;
    text-align: right;
}

@media (max-width:991px) {
    .tx-solr.module .result-range {
        padding-top: 20px;
        text-align: left;
    }
}

@media (min-width:992px) {
    .tx-solr.module .result-range {
        white-space: nowrap;
        display: flex;
        margin-top: 20px;
    }
}

@media (min-width:1200px) {
    .tx-solr.module .result-range {
        margin-top: 0px;
        justify-content: end;
    }
}

.col-md-12:has(.results-list.list-group) {
    padding-left: 0;
    padding-right: 0;
}

/*Results Icons*/


.list-group-item {
    position: relative;
}

.list-group-item:has(.results-topic.type-formulare) .after_icon:after {
    font-family: 'Font Awesome 5 Pro Solid';
    content: "\f061";
    font-style: normal;
    position: absolute;
    right: 0;
    top: 50%;
    color: #005B59;
    transform: translateY(-50%);
    z-index: 1;

}

.list-group-item:has(.results-topic.mime-type-application\/pdf) .after_icon:after {
    content: "\f019";
    font-family: 'Font Awesome 5 Pro Solid';
    font-style: normal;
    position: absolute;
    right: 0;
    top: 50%;
    color: #005B59;
    transform: translateY(-50%);
}

/*Results Icons*/

/*Results*/




/*Facettes*/

.tx-solr-faceting {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 32px;
}

/*@media (min-width:768px) {
    .tx-solr-faceting  {
        overflow-x: scroll;
    }
}*/

.tx-solr-faceting .facets {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding-left: 0;
    /*scrollbar-gutter: stable;*/
}

@media (max-width:991px) {
    .tx-solr-faceting .facets {
        padding: 0 15px;
    }

    @media (min-width:768px) {

        .tx-solr-faceting .facets {
            padding: 0 10px;
        }
    }
}

.tx-solr-faceting .facets .facet {
    width: 100%;
    list-style: none;
}

.tx-solr-faceting .facet .facet-option-list {
    display: flex;
    list-style: none;
    /*justify-content: space-between;*/
    margin-top: 45px;
    padding-left: 0;
}

.tx-solr-faceting .facet .facet-option-list .facet-option {
    width: fit-content;
    text-align: center;
}

.tx-solr-faceting .facet .facet-option-list .facet-option.act a {
    background-color: #005B59;
    color: #fff;
}

.tx-solr-faceting .facet .facet-option-list .facet-option.act a:hover {
    background-color: #164543 !important;
}

.tx-solr-faceting .facet .facet-option-list .facet-option a {
    text-decoration: none;
    background-color: #F0F0F0;
    font-weight: 500;
    padding: 10px 15px;
    font-family: "OpenSans Semibold";
    margin: 0 3px;
    white-space: nowrap;
}


@media (min-width:992px) {
    .tx-solr-faceting .facet .facet-option-list .facet-option a {
        margin-left: 0;
    }
}


@media (max-width:767px) {
    .tx-solr-faceting .facet .facet-option-list .facet-option a {
        white-space: normal !important;
    }
}

@media (max-width:1199px) {

    .tx-solr-faceting .facet .facet-option-list .facet-option a {
        width: 100% !important;
        display: flex;
        justify-content: center;
        height: 100%;
        align-items: center;
        white-space: normal;
        font-size: 14px;
    }

    ul.facet-option-list {
        display: flex;
        flex-wrap: wrap;
        padding: 0;
        margin: 0;
        gap: 0.5rem;
        list-style: none;
    }

    ul.facets .facet-option {
        flex: 1 1 150px;
        /* wächst, schrumpft, Mindestbreite */
        min-width: 120px;
        /* Damit es nicht zu schmal wird */
        box-sizing: border-box;
    }

    .tx-solr-faceting .facet .facet-option-list .facet-option-inner {
        width: 100% !important;
        height: 100%;
    }

    .tx-solr-faceting .facet .facet-option-list .facet-option {
        /*width: 100%;*/
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tx-solr-faceting .facets .facet {
        display: inline-grid;
    }

    .tx-solr-faceting .facet .facet-option-list .facet-option.act {
        background-color: #005B59;
    }

    @media (min-width:992px) {
        .tx-solr-faceting .facet .facet-option-list .facet-option a {
            white-space: nowrap !important;
            margin-left: 0;
        }


        ul.facets .facet-option {
            flex: 1 1 auto !important;
            min-width: 0;
        }
    }

}

@media (min-width:1200px) {
    .tx-solr-faceting .facet .facet-option-list .facet-option a {
        font-size: 16px;
    }
}

/*Facettes*/


/*Pagination*/
.tx-solr.module .solr-pagination {
    margin-top: 10px;
    justify-content: start;
    display: flex;
    height: 100%;
}

.tx-solr.module .solr-pagination .page-item:first-child .page-link.solr-ajaxified {
    background-color: #005B59;
    height: 38px;
    position: relative;
    width: 100%;
}

.tx-solr.module .solr-pagination .page-item:first-child .page-link.solr-ajaxified:after {
    content: "";
    position: absolute;
    height: 2px;
    width: 2px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #fff;
    transform: translate(-50%) rotate(180deg);
    top: 35%;
    left: 50%;
    cursor: pointer;
}


@media (max-width:991px) {
    .tx-solr.module .solr-pagination .pagination {
        max-width: 100%
    }
}

@media (min-width:1200px) {
    .tx-solr.module .solr-pagination {
        justify-content: end;
    }
}

@media (max-width:395px) {
    .tx-solr.module .solr-pagination .page-item {
        min-width: auto !important;
    }
}

.tx-solr.module .solr-pagination .page-item {
    margin-right: 7px;
    min-width: 40px;
    height: 40px;
}

.tx-solr.module .solr-pagination .page-item.active .page-link {
    background-color: #005B59;
    color: #fff;
}

.tx-solr.module .solr-pagination .page-item .page-link {
    border-radius: 0;
    color: #005B59;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "OpenSans Semibold";
    font-weight: 500;
    max-width: 40px;
    height: 100%;
}


.tx-solr.module .solr-pagination .page-item:last-child {
    position: relative;
    height: 100%;
    width: 100%;
    width: 35px;
    margin-right: 0 !important;
}


/*.tx-solr.module .solr-pagination .page-item:last-child .page-link:hover {
    z-index: 0;
}*/

.tx-solr.module .solr-pagination .page-item:last-child .page-link.solr-ajaxified {
    background-color: #005B59;
    border-radius: 0;
    margin-right: 0;
    height: 38px;
}

.tx-solr.module .solr-pagination .page-item:last-child:hover .page-link.solr-ajaxified,
.tx-solr.module .solr-pagination .page-item:first-child:hover .page-link.solr-ajaxified {
    background-color: #164543 !important;
}

.tx-solr.module .solr-pagination .page-item:last-child:after {
    content: "";
    position: absolute;
    height: 2px;
    width: 2px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #fff;
    transform: translate(-50%);
    top: 13px;
    left: 50%;
    cursor: pointer;
    z-index: 2;
}

@media (max-width:992px) {
    .col-md-12.d-grid.gap-3 .solr-pagination {
        padding: 0 15px;
        margin-top: 40px;
    }
}

/*Pagination*/

select {
    appearance: none;
}

select:open {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

select option {
    font-family: "Open Sans";
    font-weight: 500 !important;
    text-transform: none !important;
    color: #595959 !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

option:selected {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

/*Styling #49645 CH*/


/** Styled DropDown **/
.styled_dropdown_outer {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}

.styled_dropdown_outer span.select {
    margin-bottom: 0;
    margin-top: 0;
    border: 1px solid #DDDDDD;
    background: #fff;
    color: #58575c;
    display: inline-block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    border-radius: 0;
    padding: 8px 28px 8px 10px !important;
}

.styled_dropdown_outer span.select.hovered {
    background-color: lightgray;
}

.styled_dropdown_outer span.select .select-inner {
    display: inline-block;
    color: #595959;
    font-family: "Open Sans";
    font-weight: 500 !important;
    text-transform: none !important;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0px 28px 0px 0px !important;

}

/* optionlist-item - general */
.styled_dropdown_outer .optionList {
    background-color: #fff;
    border: 1px solid #bebebe;
    border-top: 0 none -moz-use-text-color;
    box-sizing: border-box;
    /*max-height: 180px;*/
    overflow-y: auto;
    width: 99.9%;
    position: absolute;
    left: 0px;
    z-index: 99;
    border-bottom-left-radius: 7px;
    border-bottom-right-radius: 7px;
    padding: 8px 0;
    border-top: none;
    border: 1px solid #DDDDDD;
}

@media (min-width:992px) {
    .styled_dropdown_outer .optionList {
        width: 99.8%;
    }
}

@media (min-width:1200px) {
    .styled_dropdown_outer .optionList {
        width: calc(100% - 40px) !important;
    }
}

/* optionlist-item - disabled */
.styled_dropdown_outer .optionList .disabled {
    color: gray;
}

/* the plain select-item (hidden) */
.styled_dropdown_outer select {
    display: none;
}

#results-per-page .styled_dropdown_outer .optionList .selectOption {
    font-family: "Open Sans";
    font-weight: 500 !important;
    text-transform: none !important;
    padding: 5px 10px 5px 11px;
    color: #595959;
    transition: all .3s ease-in-out;
    cursor: pointer;
}

#results-per-page .styled_dropdown_outer .optionList .selectOption.active {
    background-color: #005B59 !important;
    color: #fff !important;
}

#results-per-page .styled_dropdown_outer .optionList .selectOption:hover {
    background-color: rgb(233, 236, 239);
}



@media (max-width:767px) {
    .tx-solr.module .solr-pagination .page-item {
        display: none;
    }

    .tx-solr.module .solr-pagination .page-item .page-link {
        max-width: 100%;
        width: 100%;
    }

    .tx-solr.module .solr-pagination .page-item:has(a),
    .tx-solr.module .solr-pagination .page-item.active {
        display: inherit !important;
    }
}


/*52845*/

.tx-solr.module .dropdown-item {
        padding-left: 10px !important;
}

/*52845*/
