@import url("../main.css");

.detailView {
    color: var(--textColor);
}

.bgpurple {
    color: white !important;
    background-color: var(--purpleDark);
}

.detailNav {
    background-color: var(--whiteOpacity);
}

.detailNav .goBackBookmark.container {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0;
    padding-top: 0;
}

.detailNav .searchAndBookmark{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-right: -24px;
}

.detailNav .goBackBookmark #goBacktoPreviousPage, 
.detailNav .backbutton{
    background-color: transparent;
    border: none;
    color: white;
    padding: 0.25em 0.75em 0.25em 0.25em;
    border-right: 1px solid var(--purpleDark);
    cursor: pointer;
    margin-left: -1rem;
    text-decoration: none;
    margin-bottom: 0;
}

.detailNav .goBackBookmark #goBacktoPreviousPage::before, 
.detailNav .backbutton::before {
    margin: 0;
    background-color: white;
}

.detailNav .goBackBookmark .btn-primary-yellow-sm:is(:focus, :focus-visible, :active),
.detailNav .goBackBookmark .btn-primary-sm:is(:focus, :focus-visible, :active) {
    outline-offset: 0;
    box-shadow: none;
}

.detailNav .backbutton,
.detailNav .newSearch,
.detailNav .bookmarkButton{
    margin: 0;
    box-shadow: none;
    border-radius: 0;
}

.detailNav .backbutton{
    padding-left: 0.75rem;
}

.detailNav .backbuttons-left{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.greyBoxInfos ul,
.numberNameDeparment .subject ul,
.praxisAerzte ul,
.borderLeftBox ul,
#praxenlist {
    list-style-type: none;
}

.borderLeftBox ul .ermachtigt{
    align-items: flex-start;
}

.generalDoctorOfficeDetail {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.generalDoctorOfficeDetail a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid white;
}

.generalDoctorOfficeDetail a:hover{
    color: var(--gelb50);
    border-color: var(--gelb50);
}

.generalDoctorOfficeDetail .numberNameDeparment h1 {
    margin-bottom: 0.5rem;
}

.generalDoctorOfficeDetail .numberNameDeparment .icon-left::before {
    background-color: white;
    position: absolute;
    left: 0;
    top: 0;
}

.generalDoctorOfficeDetail .numberNameDeparment .subject {
    border-bottom: 2px solid var(--whiteOpacity);
    padding-bottom: 1rem;
}

.generalDoctorOfficeDetail .numberNameDeparment .subject ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.generalDoctorOfficeDetail .numberNameDeparment .number {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin-top: 1rem;
    font-size: 1.15rem;
    letter-spacing: 1px;
    position: relative;
    padding-left: 2rem;
}

.generalDoctorOfficeDetail .numberNameDeparment .number li{
    padding-left: 0;
}

.generalDoctorOfficeDetail .addressContact .icon-left::before {
    background-color: var(--purple50);
}

.generalDoctorOfficeDetail .addressContact .address {
    align-items: flex-start;
}

.generalDoctorOfficeDetail .addressContact a,
.profileOtherInformationDoctir .mail-01 a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 65%;
}

.detailNav .goBackBookmark #goBacktoPreviousPage:is(:focus, :focus-visible, :active),
.detailNav .backbutton:is(:focus, :focus-visible, :active),
.detailNav .goBackBookmark .btn-primary-yellow-sm:is(:focus, :focus-visible, :active),
.generalDoctorOfficeDetail a:is(:focus, :focus-visible, :active) {
    outline: 2px solid var(--purple10) !important;
}

.shareOptionsBg {
    background-color: var(--grau5);
}

.shareOptions {
    display: flex;
    flex-direction: column;
}

.shareOptions.container {
    padding-top: 1rem;
    padding-bottom: 1rem;
    gap: 1rem;
}

.printDownload {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    margin-top: 0.4rem;
}

.shareProfile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1em;
}

.shareProfileHeading {
    width: 100%;
    flex-direction: row-reverse;
    justify-content: space-between;
}

.shareProfileList {
    background-color: white;
    padding: 1rem;
    width: 100%;
    height: 100%;
    animation: dropdownOpacityEffect 250ms ease-in-out both;
    list-style-type: none;
    color: var(--textColor);
    /*
    transition: all 400ms cubic-bezier(0.25, 0.8, 0.25, 1);*/
}

.shareProfileList li {
    padding: 0 0 0.5em 0;
}

.shareProfileHeading:not(.active)+.shareProfileList {
    display: none;
}

.shareProfileHeading.active+.shareProfileList {
    display: block;
}

.shareProfileList button{
    background-color: transparent;
    border: 0;
    color: inherit;
    margin-bottom: 0;
}

.shareProfileList a{
    color: inherit;
    text-decoration: none;
    margin-bottom: 0;
}

.container:has(.lastUpdateInformation) {
    padding-bottom: 0;
}

.lastUpdateInformation {
    display: flex;
    flex-direction: column;
}

.lastUpdateInformation strong {
    width: 100%;
    align-items: flex-start;
}

@keyframes dropdownOpacityEffect {
    0% {
        opacity: 0;
        height: 0;
    }

    80% {
        opacity: 1;
        height: 100%;
    }

    100% {
        height: 95%;
    }
}

.shareProfile .icon-left::before,
.shareProfile .icon-left::after,
.lastUpdateInformation .icon-left::before,
[class^="greybox-"] .icon-left::before,
.icon-left.check-circle-broken::before {
    background-color: var(--purpleDark);
}

.detailView .doctorOfficeInformation {
    padding-top: 1.5rem;
    height: auto;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detailView .doctorOfficeInformation-firstRow {
    position: relative;
}

.profileOtherInformation {
    gap: 1rem;
}

.profileOtherInformationBox {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: var(--boxSafeSpace);
    border-radius: 1rem;
    border: 2px solid var(--purpleDark);
    height: 100%;
}

.profileOtherInformationBox-content {
    display: flex;
    flex-direction: column;
    height: 90%;
    justify-content: space-between;
}

.profileOtherInformationBox p,
.profileOtherInformationBox h3 {
    margin-bottom: 1rem;
}

.profileOtherInformationBox.icon-left,
.profileOtherInformationBox.icon-right {
    align-items: normal;
    justify-content: flex-start;
}

.profileOtherInformationBox.icon-left::before {
    background-color: var(--purpleDark);
    width: 2em;
    height: 2em;
}

.profileOtherInformationBox .btn-primary-sm {
    width: fit-content;
}

.profileOtherInformationBox .profileOtherInformationDoctir{
    list-style-type: none;
}

.profileOtherInformationBox .profileOtherInformationDoctir a {
    color: var(--textColor);
    text-decoration: none;
    border-bottom: 1px solid var(--grau80);
}

.profileOtherInformationBox .profileOtherInformationDoctir a:hover {
    color: var(--purpleDark);
    text-decoration: none;
    border-bottom: 1px solid var(--purpleDark);
}

.profileOtherInformationBox .profileOtherInformationDoctir .icon-left::before {
    background-color: var(--purpleDark);
}

.elementsbelowtheother {
    position: relative;
    list-style: none;
    padding-left: 2rem;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
}

.elementsbelowtheother::before {
    position: absolute;
    left: 0;
    top: 0;
}

.feedbackSection {
    background-color: var(--purple5);
}

.feedbackSection h2 {
    color: var(--purpleDark);
}

.feedbackButtonsForm{
    display: flex;
    flex-direction: column;
}

.feedbackButtons{
    flex-basis: 50%;
    margin-right: 0;
    margin-left: 0;
}

.feedbackForm{
    flex-basis: 60%;
}

.feedbackButtons button {
    min-width: 200px;
}

.feedbackButtons .col-12 {
    width: fit-content;
}

.greyBoxInfos .icon-right::after {
    background-color: var(--purple);
}

.container:has([class^="greybox-"]) {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.container.mobileContainer {
    padding-top: 0;
    padding-bottom: 0;
}

.leistungen .row,
.praxisInfo.row,
.greyBoxInfos .row{
    gap: 1.5rem;
    padding-bottom: 1.5rem;
}

.greybg,
[class^="greybox-"],
.greyBoxInfos .row {
    background-color: var(--grau5);
}

.greyBoxInfos .row{
    padding-top: 2rem;
}

[class^="greybox-"] {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 0;
}

[class^="greybox-"] .icon-left {
    align-items: flex-start;
}

.displayFlex {
    display: flex;
    justify-content: space-between;
}

.praxisAerzte.container {
    padding-top: 0;
}

.praxisAerzte ul {
    margin-bottom: 0;
}

.colArzt {
    position: relative;
    cursor: pointer;
}

.colArzt::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    bottom: 10px;
    left: 0;
    background-color: var(--purpleDark);
    transform: scaleX(0);
    transform-origin: top left;
    transition: transform 0.9s ease;
}

.colArzt:hover {
    color: var(--purpleDark);
}

.colArzt:hover::before {
    transform: scaleX(1);
}

.praxisArzt {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
    align-items: flex-start;
}

.praxisArzt.icon-right::after {
    background-color: var(--purpleDark);
}

.praxisArzt strong {
    font-size: 1.1rem;
}

.praxisArzt ul {
    margin-bottom: 1.5rem;
}

a:has(.colArzt),
.colArzt a {
    color: inherit;
    text-decoration: none;
}

a:has(.colArzt):hover {
    text-decoration: none;
}

.colArzt a {
    display: block;
}

.borderLeftBox {
    border-left: 3px solid var(--grau10);
    padding-left: 1em;
    height: 100%;
}

ul.ulListing {
    margin-bottom: 1rem;
}

.ulListing li {
    align-items: flex-start;
}

.accordion .accordion-body {
  padding: 1rem;
}

/*#praxenlist li[id|="praxis"], */.standort {
    border-left: 4px solid var(--purpleDark);
    padding-left: 1rem;
}
.standort.active {
    border-color: var(--purpleDark);
}
.standort.inactive {
    border-color: var(--grau80);
    border:none;
    padding-left:0;
}

.standort h3{
    margin-bottom: 0.5rem;
}

/*#praxenlist li[id|="praxis"] h5, */.standort h4 {
    font-size: 1rem !important;
}

#praxenlist .standort {
    border-bottom: 1px solid var(--grau10);
    margin-bottom: 1.5rem;
}
#praxenlist .standort:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.standort .btn {
    width: fit-content;
}
.mapinfobox.standort .btn, #praxenlist .standort .btn {
    color: white;
}
.mapinfobox.standort .btn:hover, #praxenlist .standort .btn:hover {
    color: var(--purpleDark);
    text-decoration: none;
}

.mapinfobox p {
    font-size:0.9em;
}

#accordion-standorte .accordion-button {
    padding: 1.125rem 1.25rem;
}
#accordion-standorte .accordion-body {
  padding: 1.25rem;
}

/*
.doctorOfficeInformation {
    height: 100%;
}*/

.shareOptions .printDownload button:is(:focus, :focus-visible),
.shareOptions .shareProfile .shareProfileList li:is(:focus, :focus-visible),
.praxisAerzte ul li .colArzt a:is(:focus, :focus-visible),
.profileOtherInformationDoctir li a:is(:focus, :focus-visible, :active) {
    outline: 2px solid var(--purpleDark) !important;
    outline-offset: 2px;
}

.heading-infoButton {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.heading-infoButton .infoButton {
    height: auto;
    background-color: transparent;
    border: none;
}

.heading-infoButton .infoButton.icon-left::before {
    cursor: pointer;
    background-color: var(--purple);
}

.detailView .definitionInfoBox {
    padding: 0;
    background-color: var(--whiteOpacity);
    color: rgb(from var(--textColor) r g b / 0.8);
}

.detailView .definitionInfoBox.activeInfoBox  {
    padding: 0;
}

.ulLi-InfoBox{
    display: flex;
    flex-direction: column;
}

.ulLi-InfoBox .definitionInfoBox.activeInfoBox  {
    padding: 1rem 0 0 0;
}

.ulLi-InfoBox .btn-primary-sm{
    width: max-content;
}

@media (min-width: 576px) {
    .detailNav .goBackBookmark #goBacktoPreviousPage,  
    .detailNav .goBackBookmark button, 
    .detailNav .backbutton {
        margin-left: 0;
    }

    .detailNav .searchAndBookmark{
        margin-right: 0;
    }
}


@media (min-width: 992px) {
    .detailView .doctorOfficeInformation-firstRow {
        margin-bottom: 0;
    }

    .generalDoctorOfficeDetail {
        flex-direction: row;
        gap: 1em;
    }

    .generalDoctorOfficeDetail .addressContact {
        border-left: 2px solid var(--whiteOpacity);
        padding: 0 2rem;
        flex-direction: column;
        justify-content: space-between;
    }

    .generalDoctorOfficeDetail .addressContact a,
    .profileOtherInformationDoctir a {
        max-width: 80%;
    }

    .shareOptions {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .shareProfile {
        flex-direction: row;
        align-items: baseline;
        margin-bottom: 0.25rem;
    }

    .shareProfileHeading {
        width: 60%;
        flex-direction: row;
        justify-content: flex-start;
    }

    .shareProfileList {
        padding: 0.25em;
        width: 100%;
        transition: unset;
        margin: 0;
        background-color: white;
        border-radius: 0.5em;
    }

    .shareProfileHeading:not(.active)+.shareProfileList,
    .shareProfileHeading.active+.shareProfileList {
        display: flex;
        align-items: center;
    }

    .shareProfileList li {
        width: max-content;
        height: fit-content;
        padding: 0.5em;
        margin: 0;
        cursor: pointer;
    }

    .shareProfileList li:first-child {
        border-right: 1px solid var(--grau5);
    }

    .leistungen .row,
    .praxisInfo.row,
    .greyBoxInfos .row{
        gap: 0;
    }

    .greyBoxInfos .row{
        padding-top: 1rem;
        background-color: transparent;
        padding-bottom: 1rem;
    }

    .container:has([class^="greybox-"]) {
        max-width: 960px;
        padding: var(--bs-gutter-y) var(--bs-gutter-x);
    }

    [class^="greybox-"] {
        padding: var(--boxSafeSpace);
    }

    .container.mobileContainer {
        max-width: none;
        padding: 0;
    }

    .ulListing li {
        padding: 0.25rem 0;
    }

    .lastUpdateInformation {
        align-items: flex-start;
        flex-direction: row;
        justify-content: space-between;
    }

    .profileOtherInformation {
        gap: 0;
    }

    .feedbackButtonsForm{
        flex-direction: unset;
    }

    .feedbackButtons{
        flex-basis: 50%;
        margin-right: 0;
        margin-left: 0;
    }

    .feedbackForm{
        flex-basis: 60%;
    }
}

@media (min-width: 1024px) {}

@media (min-width: 1200px) {
    .container:has([class^="greybox-"]) {
        max-width: 1140px;
    }
}

@media (min-width: 1280px) {
}

@media (min-width: 1400px) {
    .lastUpdateInformation strong {
        width: 60%;
    }

    .container:has([class^="greybox-"]) {
        max-width: 1320px;
    }
}