
text {
    cursor: pointer;
}

color {
    cursor: pointer;
}

.inner {
    /*padding: 50px;*/
}

.observablehq {
    display: none;
}

#canvas {
    position: relative;
    width: 100%;
    max-width: 700px;
    display: flex;
    justify-content: center;
}

#canvas svg {
    width: 100%;
}

#tooltip {
    position: absolute;
    /*top: 0px;*/
    /*left: 0px;*/
    transform-origin: center bottom;
    background: transparent;
    display: none;
    padding: 1rem;
    /*background: #fff8;*/
}

#tooltip .content {
    padding: 1rem;
    width: 250px;
    background: #0D2236;
    display: flex;
    align-items: center;
    color: #EDEDE8;
    justify-content: flex-start;
    align-items: flex-start;
    border-radius: 5px;
    font-family: Arial;
    flex-wrap: wrap;
    padding-bottom: 4em;
    position: relative;
}

#tooltip .content::after {
    content: "";
    background-image: url(./marker.svg);
    width: 24px;
    height: 18px;
    background-repeat: no-repeat;
    position: absolute;
}

#tooltip .link {
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    position: relative;
}

#tooltip .link::after {
    content: "";
    background-image: url(./project.svg);
    background-repeat: no-repeat;
    position: absolute;
    width: 30px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 15px 20px;
}

#tooltip.unten .content::after {
    left: calc(50% - 12px);
    transform: rotate(180deg);
    top: -17px;
}

#tooltip.oben .content::after {
    left: calc(50% - 12px);
    bottom: -18px;
}

#tooltip.item-A01 .content::after {
}

#tooltip.item-A02 .content::after {
}

#tooltip.item-A05 .content::after {
}

#tooltip.item-A03 .content::after {
}

#tooltip.item-A04 .content::after {
}

#tooltip.item-A06 .content::after {
}

#tooltip.item-A07 .content::after {
}

#tooltip.item-A08 .content::after {
}





#tooltip.links .content::after {
    right: -18px;
    top: calc(50% - 9px);
    transform: rotate(-90deg);
}

#tooltip.rechts .content::after {
    left: -18px;
    top: calc(50% - 9px);
    transform: rotate(90deg);
}

#tooltip p {
    margin: 0 0 .5rem 0;
    font-size: 16px;
    line-height: 1.4em;
}

#tooltip a {
    color: #F66C40 !important;
    width: 30%;
}

#tooltip .row {
    display: flex;
    font-size: 14px;
    justify-content: space-between;
    width: 100%;
    position: absolute;
    bottom: 0rem;
    /*bottom: 60px;*/
    /*left: 20px;*/
    left: 0rem;
    padding: 0 1rem 1rem 1rem;
    align-items: flex-end;
    line-height: 1.2em;
    width: 250px;
}

#tooltip .investigators-line {
    width: 60%;
}

g.circle-tooltip {
    cursor: pointer;
}


#tooltip.group-A {
}

#tooltip.item-A01 .content {
    /*margin-top: 50%;*/
}

#tooltip.item-A02 .content {
    /*margin-top: 50%;*/
}

#tooltip.item-A03 .content {
    /*margin-top: 10px;*/
    /*margin-right: calc(-50% - 100px);*/
}

#tooltip.group-B {
    /*bottom: 0;*/
    /*right: 0;*/
    /*top: inherit;*/
    /*left: inherit;*/
}

#tooltip.group-Z {
    /*top: 0;*/
    /*left: 0;*/
    /*bottom: inherit;*/
    /*right: inherit;*/
}

#tooltip.group-INF {
    /*top: 0;*/
    /*left: 0;*/
    /*bottom: inherit;*/
    /*right: inherit;*/
}

@media (max-width: 500px) {

    #tooltip {
        top: 100% !important;
        left: 0px !important;
        width: 100% !important;
        bottom: 0px !important;
        padding: 0px !important;
    }

    #tooltip .content {
        width: 100% !important;
    }

    #tooltip .row {
        width: 100% !important;
    }

    #tooltip .content::after {
        display: none !important;
    }

    #tooltip.group-A {
        /*bottom: 0;*/
        /*left: 0;*/
        /*top: inherit;*/
        /*right: inherit;*/
    }

    #tooltip.group-B {
        /*bottom: 0;*/
        /*right: 0;*/
        /*top: inherit;*/
        /*left: inherit;*/
    }

    #tooltip.group-Z {
        /*top: 0;*/
        /*left: 0;*/
        /*bottom: inherit;*/
        /*right: inherit;*/
    }

    #tooltip.group-INF {
        /*top: 0;*/
        /*left: 0;*/
        /*bottom: inherit;*/
        /*right: inherit;*/
    }
}


