/*frontendStyle*/

@keyframes fadeEffect {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#jobExchange {
    max-width: 820px;
}

#jobExchange h2 {
    margin-top: 20px;;
}

#jobList {

}

.jobTitle {
    font-weight: bold;
}

.jobType {
    font-size: 12px;
    color: #666;
}

.jobSubtitle {
    font-size: 18px;
}

.jobCount {
    margin-bottom: 20px;
}

.jobListElement {
    padding: 7px;
    /*border-radius: 3px;*/
}

.jobListElementHighlighted {
    background-color: #D0E4F5;
}

hr {
    border-top: 1px solid #eee;
}

.jobListElement:hover {
    cursor: pointer;
    background-color: #eee;
    /*animation: fadeEffect 1s;*/
}

.jobListElementShortStyle {
    border: 1px solid #ddd;
    padding: 10px;
    margin: 10px 0;
}

#jobListNext button {
    cursor: pointer;
}

#jobListFooter {
    margin-top: 10px;
}

.searchField {
    margin: 0 0 10px 0;
    width: calc(50% - 10px);
    padding: 7px 7px;
    font-size: 16px;
}

#searchBar {
    margin-bottom: 20px;
    display: none;
}

.cityCountName, .cityCount {
    font-size: 14px;
    color: #333;
    cursor: pointer;
}

.cityCountName :hover {
    color: black;
}

input[type=button], input[type=submit] {
    min-width: 106px;
    margin-right: 5px;
    margin-top: 5px;
}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.25); /* Black w/ opacity */

}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 3px solid #666;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 820px;
    -webkit-box-shadow: 0px 0px 25px 5px rgba(0, 0, 0, 0.55);
    box-shadow: 0px 0px 25px 5px rgba(0, 0, 0, 0.55);
}

/* The Close Button */
.close {
    color: #80867B;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Modal ENDE */

div.filterOption {
    border: 1px solid #80867B;
    border-radius: 3px;
    padding: 3px 5px;
    margin: 3px 5px 3px 0;
    float: left;
    /*font-size: 14px;*/
    cursor: pointer;
}

div .active {
    background-color: #ddd;
}

#sysmsg {
    border: 1px solid #80867B;
    padding: 3px 7px;
    background-color: #fcd25f;
    border-radius: 2px;
    margin-bottom: 10px;
    display: none;
}

.logoimage {
    width: calc(100% - 10px);
    /*float: right;*/
    border: 1px solid #80867B;
    padding: 10px;
    margin: 0 0 10px 0;
}

@media all and (min-width: 450px) {
    .logoimage {
        width: 300px;
        float: right;
        border: 1px solid #aaa;
        padding: 10px;
        margin: 0 0 0 10px;
    }
}

.actionForce {
    /*border: 1px solid #80867B;*/
    /*padding: 5px 7px;*/
    /*background-color: #eee;*/
    /*white-space: nowrap;*/
    /*border: #7D212A 1px solid;*/
    /*text-decoration: none !important;*/
    /*text-decoration-style: inherit;*/
}

.highlighted {
    background-color: #d7e7f7;
}

img.frontendListIcon {
    width: auto;
    height: 14px;
    /*display: inline-block;*/
    /*vertical-align: bottom;*/
    /*margin: 0;*/
}

span.frontendListText {
    font-size: 14px;
    /*display: inline-block;*/
    /*vertical-align: bottom;*/
    /*margin: 0;*/
}

.imageSmall .container {
    position: relative;
    height: 68px; /* Höhe des Containers anpassen */
    /*background-color: #f1f1f1;*/
}

/*joblistElement*/
.imageSmall .image-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px;
    border: 1px solid #ddd;
}

.imageSmall img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.imageSmall {
    width: 68px;
    height: 68px;
    margin-right: 10px;
    flex: 0 0 68px;
}

.zoomed {
    transform: scale(1.05); /* Werte kleiner als 1 verkleinern das Element */
    transition: transform 0.3s ease; /* Füge eine Transition hinzu, um den Effekt sanft zu gestalten */
}

.button-container-job {
    display: flex;
    justify-content: space-between;
    /*max-width: 600px;*/
    margin: 0px auto;
}

/*Buttons unter der Detailansicht der Stelle*/

.button-container-job button, .actionForce {
    flex: 1 1 0; /* Flex: Alle Schaltflächen bekommen die gleiche Breite */
    margin: 0 5px;
    padding: 10px;
    background-color: #80867B;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    white-space: nowrap; /* Verhindert Zeilenumbrüche bei langen Texten */
    max-width: 250px;
}

/* Wenn es nur eine Schaltfläche gibt, soll sie die gesamte Breite nutzen */
.button-container-job button:only-child {
    margin: 0;
}

/* Entfernt den zusätzlichen Rand für die erste und letzte Schaltfläche */
.button-container-job button:first-child {
    margin-left: 0;
}

.button-container-job button:last-child {
    margin-right: 0;
}

button#shareJobButton {
    display: none;
}

@media only screen and (max-width: 768px) {
    /* Zeige den Button auf mobilen Geräten */
    button#shareJobButton {
        display: inline-block;
    }
}

.softButton {
    background-color: white !important;
    border: 1px solid #80867B !important;
    color: #80867B !important;
}

/*Typ der Stelle auf der Detailsansichtsseite der Stelle*/
.jobDetailWorkType {
    color: white;
    background-color: #7A0E2E;
    padding: 2px 5px;
    display: inline-block;
    margin: 10px 0 20px 0;
    text-transform: uppercase
}
.searchEngineIcon {
    width: 35px;
    height: 35px;
    margin-right: 20px;
}
@media (min-width: 1024px) {
    img.searchEngineIcon {
        width: 30px;
        height: 30px;
    }
    div.button-container-job {
        justify-content: normal;
    }
}
a.weblink {
    position: relative; /* Damit das Icon korrekt positioniert werden kann */
    /*text-decoration: none; !* Optional, um den Unterstrich zu entfernen *!*/
    /*color: #000; !* Textfarbe *!*/
}
a.weblink::after {
    content: ''; /* Ermöglicht das Hinzufügen von Inhalten */
    display: inline-block; /* Damit es sich an den Text anreiht */
    width: 16px; /* Breite des Icons */
    height: 16px; /* Höhe des Icons */
    background-image: url('https://stellenanzeigen.leuphana.de/images/websiteIconAfterLink.jpg'); /* Pfad zum Icon */
    background-size: contain; /* Das Icon anpassen */
    background-repeat: no-repeat; /* Wiederholung verhindern */
    margin-left: 5px; /* Abstand zwischen Text und Icon */
}