/* -------------------- DEV - delete before online -----------------
#oc-publications-highlights-container .far,
#oc-publications-highlights-container .fas,
#oc-publications-container .far,
#oc-publications-container .fas {
    font-family: "Font Awesome 5 Free"!important;
}---*/
/* -------------------- Publication --------------------*/
#oc-publications-container {
    min-height: 309.259px;
}

.pub-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.publication-item{
    padding: 10px;
    background: #fff !important;
    display: flex;
    gap: 20px;
}

.publication-head{
    margin-bottom: 5px;
    color: #000;
}

.publication-type{
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
}

.publication-date{
    font-size: 14px;
}

.publication-title{
    margin-bottom: 10px !important;
    font-size: 16px;
    font-weight: 600;
}

.publication-title{
    line-height: 22px;
}

.publication-authors{
    margin-bottom: 10px !important;
    color: #000;
    font-size: 13px;
}

.publication-descr{
    font-size: 13px;
    flex-grow: 1;
    color: #000;
    margin-bottom: 10px;
}

.publication-item i{
    align-self: flex-end;
}

.publication-item a {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.publication-item::before {
    content: '';
    position: absolute;
    transition: all .3s ease-out;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: -1; /* Legt die Hintergrundebene hinter den Inhalt */
    background: #fff;
}

.publication-item:hover::before {
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
}

.publication-item{
    overflow: visible !important;
}


@media only screen and (max-width: 600px) {
    #oc-publications-container .grid .publication-item,
    #oc-publications-highlights-container .grid .publication-item {
        width: calc(100% - 20px) !important;
    }
}


/* ----------------------- Deeplink ------------------------------*/
.deeplink-active .publication-item:first-child::before{
    top: -4px;
    left: -3px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(146deg, #00C5CC, #005D95);
}

.deeplink-active .publication-item:first-child:hover::before{
    top: -6px;
    left: -5px;
    right: -6px;
    bottom: -6px;
}

/* ----------------------- Highlights ------------------------------*/
#oc-publications-highlights-container .publication-item{
    background: linear-gradient(146deg, #00C5CC, #005D95) !important;
}

#oc-publications-highlights-container .publication-type{ color: #005D95;}

#oc-publications-highlights-container .publication-date,
#oc-publications-highlights-container .publication-title,
#oc-publications-highlights-container .publication-descr,
#oc-publications-highlights-container .publication-authors,
#oc-publications-highlights-container .publication-item i
{
    color: #fff;
}

#oc-publications-highlights-container .publication-application {
    color: #fff;
}

#oc-publications-highlights-container .publication-item::before {
    background: linear-gradient(146deg, #00C5CC, #005D95) !important;
}

/* --------------------- FILTER ----------------------*/
#oc-publications-filter{
    border-bottom: 1px solid #000;
    display: flex;
    margin-bottom: 30px;
    gap: 20px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-wrapper{
    display: flex;
    flex-direction: column;
}

.filter-sorting{
    flex-grow: 1;
}

.filter-sorting select{
    max-width: fit-content;
}

#filter-search{
    min-width: 335px;
    background: #ffffff00;
    padding: 0;
    color: #000;
}

.filter-txt-search{
    display: flex;
    align-items: flex-end;
}

.filter-txt-search:after{
    content: "\f002";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    border-bottom: 2px solid #0086cd;
    color: #0086cd;
}

.filter-txt-search input{
    border: none !important;
    border-bottom: 2px solid #0086CD !important;
    padding: 0;
    height: 37px;
}

@media only screen and (max-width: 850px) {
    #oc-publications-filter{
        border: none;
    }

    .filter-txt-search{
        width: 100%;
    }

    .filter-wrapper{
        width: calc(50% - 10px);
    }

    .custom-select{
        width: 100% !important;
    }

    #filter-search{
        width: 100%;
        min-width: unset;
    }
}

@media only screen and (max-width: 500px) {

    .filter-wrapper{
        width:100%;
    }

    .custom-select{
        width: 100% !important;
    }

    .publication-flex{
        flex-wrap: wrap;
        flex-direction: column-reverse;
        gap: 10px;
    }

    .publication-head{
        margin-bottom: 10px;
    }
}

/* --------------------------------------------------*/
.pub-conut{
    display: flex;
    gap: 6px;
}

.pub-number{
    font-weight: 600;
}


.page-link{
    cursor: pointer;
}

.page-prev:before{
    content: "\f104";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.page-next:before{
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}


/* --------------------- ORDER ----------------------*/
.filter-order{
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}
.filter-order #filterCheckbox {
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

.orderToggle {
    position: absolute;
    content: "";
    height: 40px;
    width: 40px;
    left: 4px;
    bottom: 4px;
    border: 1px solid #0086cd;
    -webkit-transition: .4s;
    transition: .4s;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor:pointer;
}

#filterCheckbox  ~ .orderToggle .order-desc {color: #0086CD;}
#filterCheckbox  ~ .orderToggle .order-asc {color: rgba(0, 134, 205, 0.4);}

#filterCheckbox:checked ~ .orderToggle .order-desc {color: rgba(0, 134, 205, 0.4);}
#filterCheckbox:checked ~ .orderToggle .order-asc {color: #0086CD;}

.filter-order .fas {
    font-family: "Font Awesome 5 Free" !important;
}
/* --------------------------------------------------------- */

.pub-topbar{
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: space-between;
}

.pub-pagination {
    display: flex;
    gap: 10px;
}

.pub-pagination a{
    color: #000;
}

.pub-pagination a.active{
    color: #0086cd;
    font-weight: 800;
}

/* --------------------- CUSTOM SELECT --------------------- */
/* The container must be positioned relative: */
.custom-select {
    position: relative;
    width: 200px;
}

.custom-select select {
    display: none; /*hide original SELECT element: */
}

.select-selected {
    background-color: rgba(255, 255, 255, 0);
}

/* Style the arrow inside the select element: */
.select-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #0086CD transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
    border-color: transparent transparent #0086CD transparent;
    top: 7px;
    transition: all .3s ease-out;
}

/* style the items (options), including the selected item: */
.select-selected {
    color: #0086CD;
    padding: 6px 16px 6px 3px;
    cursor: pointer;
    border-bottom: 2px solid #0086CD;
}
.select-items div{
    color: #fff;
    padding: 6px 16px 6px 3px;
    cursor: pointer;
}

/* Style items (options): */
.select-items {
    position: absolute;
    background-color: #0086CD;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    width: 100%;
}

/* Hide the items when the select box is closed: */
.select-hide {
    display: none;
}

.select-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}
