﻿:root {
    --tab-orange: #ffa535;
    --site-previewMinTop: 100px;
    --site-previewMinTopDesktop: 220px;
}


/* site-preview - - - - - - - - - - - - - - */
.site-preview {
    font-family: "Nunito";
    pointer-events: none;
    background-color: rgb(255, 255, 255, 0);
    display: flex;
    flex-direction: column;
    z-index: 1;
    position: relative;
    padding: 10px; /* damit das box-shadow des contents rein passt */
    overflow: hidden;
    max-width: 420px;
    height: calc(100% - 20px);
}

/*.company-list-scroll-container .site-preview {
    width: 420px;
}

.company-list-scroll-container .site-preview .site-preview-content {
    width: 400px;
}
*/


.site-preview .site-preview-content {
    max-width: 400px;
}

@media (max-width: 991px) and (min-width: 480px) {
    .company-list-scroll-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #ececec;
    }

    .company-list-scroll-container .site-preview {
        width: 520px;
    }

    .company-list-scroll-container .site-preview .site-preview-content {
        width: 500px;
    }

    .banner-group-element {
        background-color: #fafafa;
    }
}

@media (min-height: 576px) {
    .pinMenu {
        max-height: calc(100vh - var(--pinMenuMinTop) - 65px ); /*weil hier in einem modalen dialog mit buttons*/
    }
}

.site-preview .site-preview-content-wrapper {
    position: relative;
    pointer-events: all;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    overflow-y: auto;
}

.site-preview .site-preview-header {
    margin-bottom: 0;
    display: flex;
    pointer-events: none;
    white-space: nowrap;
}

.site-preview .site-preview-header .site-previewNavigation {
    pointer-events: all;
    background-color: var(--white);
    display: flex;
    align-items: center;
    border-radius: 16px;
    padding: 4px 8px;
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.5);
    width: fit-content;
    /*align-items: center;*/
}

.site-preview .site-preview-header .site-previewDelete {
    pointer-events: all;
    background-color: var(--white);
    margin-left: auto;
    display: flex;
    align-items: center;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 1px 4px 10px rgba(0, 0, 0, 0.5);
    width: fit-content;
    aspect-ratio: 1/1;
    cursor: pointer;
    /*align-items: center;*/
}

.site-preview .site-preview-content > section {
    padding-left: 20px;
    padding-right: 20px;
}

.site-preview .site-preview-content section:first-of-type {
    padding-top: 28px;
}

.site-preview .site-preview-content section:last-of-type {
    padding-bottom: 20px;
}

.site-previewVisible .site-preview {
    top: initial;
    bottom: 80px;
}

.company-hidden .site-preview-header h3 {
    color: lightgray;
}

.company-hidden h4 {
    color: lightgray;
}

.company-hidden .site-preview-struktur {
    color: lightgray;
}

.company-hidden .site-preview-website-link {
    color: lightgray;
}

.company-hidden .site-preview-element {
    color: lightgray;
}

.company-hidden p {
    color: lightgray;
}

@keyframes hideSitePreviewAnimation {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}

@keyframes showSitePreviewAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.site-preview-hide-company {
    animation: hideSitePreviewAnimation 0.8s ease forwards;
}

.site-preview-show-company {
    animation: showSitePreviewAnimation 1s ease forwards;
}

.site-preview-company-name {
    font-family: "Nunito";
    font-size: 18px;
    font-weight: bold;
    padding-bottom: 0;
}

.site-preview-label {
    font-family: "Nunito";
    font-size: 18px;
    font-weight: bold;
}

.site-preview-element {
    padding-left: 5px;
    padding-bottom: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
}

.site-preview-element img {
    padding-left: 5px !important;
    margin: 0 !important;
    cursor: pointer;
}

.site-preview-element p {
    font-size: 90%;
    margin: 0;
    padding-right: 5px;
    font-weight: normal;
}

.site-preview-ausbildungsberufe h4 {
    margin: 8px 0 0 0;
    padding: 10px 5px;
}

.site-preview-ausbildungsberufe img {
    /*    margin: 8px 0 0 0;*/
}

.site-preview-header {
    display: flex;
    justify-content: space-between;
    padding-left: 5px;
    margin: 0;
}

.site-preview-header h3 {
    margin: 0 auto 0 4px;
    padding-bottom: 10px;
    /*    overflow: hidden;
    text-overflow: ellipsis;
    */
    white-space: normal;
    overflow: auto;
    hyphens: auto;
    overflow-wrap: break-word; /* fallback for very old browsers */
    word-break: normal;
    /* auf 3 zeilen reduzieren */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-preview-header-icons {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    margin: 4px 2px 0 0;
    pointer-events: all;
}

.site-preview-header-icons > img {
    cursor: pointer;
    margin: 0;
}

.site-preview-struktur {
    padding-left: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin: 10px 0 0 0;
    padding-bottom: 7px;
}

.site-preview-struktur p {
    font-size: 90%;
    margin: 0;
}

.site-preview-struktur .dot-divider {
    height: 3px;
    width: 3px;
    background-color: var(--grey);
    border-radius: 50%;
    display: inline-block;
}

.site-preview-content h4 {
    font-size: 16px;
    font-weight: bold;
}

.site-preview-content h3 {
    font-size: 18px;
    font-weight: bold;
}

.site-preview-website-link {
    padding-left: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
    color: black;
}

.site-preview-website-link .sub {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
}

.site-preview-website-link > img {
    padding-left: 5px;
    margin: 0;
}

.site-preview-website-link p {
    font-weight: bold;
    font-size: 16px;
    margin: 0;
    padding-right: 5px;
}

.site-preview-section-border-bottom {
    padding-top: 1em;
    padding-bottom: 1em;
    border-top: 1px solid var(--lightGrey);
    border-bottom: 1px solid var(--lightGrey);
}
/*.site-preview-route-anzeigen {
    font-weight: bold;
    background-color: var(--orange);
    border-radius: 25px;
    width: fit-content;
    cursor: pointer;
}

.site-preview-route-anzeigen h3 {
    color: var(--white);
    padding: 5px 20px;
}*/
.site-preview-nav-link {
    color: black !important;
    font-size: 14px !important;
    box-shadow: 2px 2px 10px 0px #cac9c9 !important;
}

.site-preview-nav-item {
}

.site-preview-nav-link.active {
    font-weight: bold;
    /*    border-bottom: 3px solid #FFA535 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
*/
    box-shadow: 4px -2px 6px 0px #cac9c9 !important;
    text-decoration-line: underline !important;
    text-decoration-color: #ffa535 !important; /* your orange */
    text-decoration-thickness: 3px !important; /* line width */
    text-underline-offset: 7px !important; /* gap between text and line */
}

.site-preview-postings-nav-link {
    white-space: nowrap !important;
    font-size: 14px !important;
    font-weight: bold !important;
    color: white !important;
    background-color: var(--tab-orange) !important;
    box-shadow: 1px -1px 6px 0px #f7d3a5 !important;
}

.site-preview-postings-nav-link.active {
    box-shadow: 2px -3px 5px 0px #ffc47a !important;
    text-decoration-line: underline !important;
    text-decoration-color: white !important; /* your orange */
    text-decoration-thickness: 3px !important; /* line width */
    text-underline-offset: 5px !important; /* gap between text and line */
}

.site-preview-separator-bottom {
    border-bottom: solid 3px #f3f3f3;
}

.site-preview-accordion {
}

.site-preview-accordion-card {
    border-top: none !important;
    border-right: none !important;
    border-left: none !important;
    border-bottom: 3px solid lightgrey !important;
    border-radius: 0 !important;
}

.site-preview-accordion-last-card {
    border-top: none !important;
    border-right: none !important;
    border-left: none !important;
    border-bottom: none !important;
}

.site-preview-accordion-header {
    border: none !important;
    background-color: initial !important;
    padding: 16px 0 !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
}

.site-preview-accordion-header a {
    font-weight: bold !important;
}

.site-preview-accordion-header .btn:focus {
    box-shadow: none; /* removes the blue/black glow */
    outline: none; /* removes the outline */
}

.site-preview-accordion-header .btn {
    border: none;
    border-radius: 0;
}

.site-preview-accordion-body {
    padding-top: 0 !important;
}

.chevron-icon {
    transition: transform 0.3s ease;
}

.btn[aria-expanded="true"] .chevron-icon {
    transform: rotate(180deg);
}

@media (max-width: 576px) {
    .nav-link {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .site-preview .site-preview-content > section {
        padding-left: 12px;
        padding-right: 12px;
    }
}

.preview-btn {
    width: fit-content;
    color: white !important;
    background-color: #ffa535 !important;
    padding: 4px 16px !important;
    border-radius: 20px !important;
    border: solid 3px #ffa535 !important;
    cursor: pointer;
    margin: 10px 0 0 0 !important;
    font-family: baloo !important;
    font-size: 16px !important;
    line-height: 24px;
    font-weight: normal !important;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.preview-btn-p4 {
    width: fit-content;
    color: white !important;
    background-color: #ffa535 !important;
    padding: 3px 18px;
    border-radius: 20px !important;
    border: solid 3px #ffa535 !important;
    cursor: pointer;
    margin: 10px 0 0 0;
    font-family: baloo !important;
    font-size: 18px !important;
    font-weight: normal !important;
    white-space: nowrap;
}

.preview-btn_sm {
    width: fit-content;
    color: white !important;
    background-color: #ffa535 !important;
    padding: 0 16px !important;
    border-radius: 20px !important;
    border: solid 3px #ffa535 !important;
    cursor: pointer;
    margin: 0 0 0 0 !important;
    font-family: nunito !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    white-space: nowrap;
}

.preview-btn.azubidisabled {
    cursor: default !important;
    background-color: #ffce92 !important;
    border: solid 2px #ffce92 !important;
}

.preview-btn:disabled {
    cursor: default !important;
    background-color: #ffce92 !important;
    border: solid 2px #ffce92 !important;
    opacity: 1;
}

.preview-btn_sm:disabled {
    cursor: default !important;
    background-color: #ffce92 !important;
    border: solid 2px #ffce92 !important;
    opacity: 1;
}

.preview-btn:hover {
    color: white;
    background-color: #ffa535;
    opacity: 0.9;
}

.preview-btn_danger {
    width: fit-content;
    color: white !important;
    background-color: #ff0000 !important;
    padding: 4px 20px !important;
    border-radius: 20px !important;
    border: solid 3px #ff0000 !important;
    cursor: pointer;
    margin: 10px 0 0 0 !important;
    font-family: baloo !important;
    font-size: 16px !important;
    font-weight: normal !important;
    white-space: nowrap;
}

.preview-btn_danger.azubidisabled {
    cursor: default !important;
    background-color: #fb8989 !important;
    border: solid 2px #fb8989 !important;
}

.preview-btn_danger:disabled {
    cursor: default !important;
    background-color: #fb8989 !important;
    border: solid 2px #fb8989 !important;
    opacity: 1;
}

.preview-btn_danger:hover {
    color: white;
    background-color: #ffa535;
    opacity: 0.9;
}

.preview-btn_inv {
    width: fit-content;
    color: #ffa535;
    background-color: white;
    padding: 4px 16px;
    border: solid 3px #ffa535;
    border-radius: 20px;
    cursor: pointer;
    margin: 10px 0 0 0;
    font-family: baloo !important;
    font-size: 16px !important;
    line-height: 24px;
    font-weight: normal !important;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.preview-btn_inv:hover {
    color: #ffa535;
    background-color: white;
    opacity: 0.9;
}

.preview-btn_alert {
    width: fit-content;
    color: white;
    background-color: #ff0000;
    padding: 4px 20px;
    border: solid 3px #ff0000;
    border-radius: 20px;
    cursor: pointer;
    margin: 10px 0 0 0;
    font-family: baloo !important;
    font-size: 18px !important;
    font-weight: normal !important;
    white-space: nowrap;
}

.preview-btn_alert:hover {
    border-color: #ff6464;
    background-color: #ff6464;
    opacity: 0.9;
}

.preview-btn_success {
    width: fit-content;
    color: white;
    background-color: #21b13a;
    padding: 4px 20px;
    border: solid 3px #21b13a;
    border-radius: 20px;
    cursor: pointer;
    margin: 10px 0 0 0;
    font-family: baloo !important;
    font-size: 18px !important;
    font-weight: normal !important;
    white-space: nowrap;
}

.preview-btn_success:hover {
    border-color: #41d05a;
    background-color: #41d05a;
    opacity: 0.9;
}

/*.preview-btn_inv:disabled {
        color: #bfbfbf;*/ /* Gray out the text */
/*background-color: #f5f5f5;*/ /* Light gray background */
/*border-color: #bfbfbf;*/ /* Gray border */
/*cursor: default;*/ /* Default cursor */
/*opacity: 0.6;*/ /* Optional: make it look slightly faded */
/*}*/
.preview-btn_inv:disabled {
    color: #ffd8a6; /* Lighter shade of the enabled color */
    border-color: #ffd8a6; /* Lighter border */
    cursor: default; /* Default cursor */
    opacity: 1;
    /*opacity: 0.7;*/ /* Slightly faded */
}

a.preview-btn_inv:visited {
    color: #ffa535;
}

@media (min-width: 576px) {
    .preview-btn {
        font-size: 18px !important;
    }

    .preview-btn_danger {
        font-size: 18px !important;
    }

    .preview-btn_inv {
        font-size: 18px !important;
    }
}

@media (max-width: 576px) {
    .preview-btn {
        padding: 4px 12px !important;
    }

    .preview-btn_inv {
        padding: 4px 12px !important;
    }
}

.companySitePresentationFooter {
    padding: 20px;
    border-top: 1px solid var(--lightGrey);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: normal;
    overflow: auto;
    hyphens: auto;
    overflow-wrap: break-word; /* fallback for very old browsers */
    word-break: normal;
    /* auf 3 zeilen reduzieren */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.site-preview-btn {
    width: fit-content;
    color: white !important;
    background-color: #ffa535 !important;
    padding: 4px 16px !important;
    border-radius: 20px !important;
    border: solid 2px #ffa535 !important;
    cursor: pointer;
    /*margin: 10px 0 0 0 !important;*/
    font-family: nunito !important;
    font-size: 18px !important;
    font-weight: normal !important;
    white-space: nowrap;
    display: flex;
}

.site-preview-btn.azubidisabled {
    cursor: default;
    background-color: #ffce92 !important;
    border: solid 2px #ffce92 !important;
}

.site-preview-btn:disabled {
    cursor: default;
    background-color: #ffce92 !important;
    border: solid 2px #ffce92 !important;
}

.site-preview-btn:hover {
    color: white;
    background-color: #ffa535;
    opacity: 0.9;
}

.site-preview-btn_inv {
    width: fit-content;
    color: #ffa535;
    background-color: white;
    padding: 4px 16px;
    border: solid 3px #ffa535;
    border-radius: 20px;
    cursor: pointer;
    margin: 10px 0 0 0;
    font-family: nunito !important;
    font-size: 18px !important;
    font-weight: normal !important;
    white-space: nowrap;
    display: flex;
}

.site-preview-btn_inv:hover {
    color: #ffa535;
    background-color: white;
    opacity: 0.9;
}

.site-preview-btn_inv:disabled {
    color: #ffd8a6; /* Lighter shade of the enabled color */
    border-color: #ffd8a6; /* Lighter border */
    cursor: default; /* Default cursor */
    /*opacity: 0.7;*/ /* Slightly faded */
}

a.site-preview-btn_inv:visited {
    color: #ffa535;
}
