/* LICENSE for the Nimbus Sans L fonts: GPL 2 (from the Ghostscript project)
 * can be found under "../fonts/COPYING"
 */
@font-face {
    font-family: "Nimbus Sans";
    src: url("../fonts/NimbusSanL-Reg.otf");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Nimbus Sans";
    src: url("../fonts/NimbusSanL-Bol.otf");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Nimbus Sans";
    src: url("../fonts/NimbusSanL-RegIta.otf");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "Nimbus Sans";
    src: url("../fonts/NimbusSanL-BolIta.otf");
    font-weight: 700;
    font-style: italic;
}

html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    font-family: "Nimbus Sans";
    display: flex;
    flex-direction: column;
}

#header_div {
    box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 50px;
}

#button_div {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

button {
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
    border: none;
    height: 24px;
}

button:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

#header {
    font-size: 14pt;
    font-weight: 400;
    margin: 0;
    padding: 0 15px;
    margin-right: 10px;
    border-right: 1px solid rgba(0, 0, 0, 0.25);
}

svg {
    flex-grow: 1;
    width: 100%;
}

circle,
#tunni-line {
    cursor: pointer;
}

circle:focus {
    stroke: black;
    stroke-width: 1px;
    outline: none;
}

circle#is {
    fill: lightgray;
    r: 2px;
}

circle#tunni {
    fill: rgb(136, 185, 224);
}

#tooltip {
    position: absolute;
    background-color: white;
    border-radius: 5px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2), 1px 1px 2px rgba(0, 0, 0, 0.15);
    padding: 0px;
    visibility: hidden;
    scale: 0;
    transition-property: scale;
    transition-duration: 0.2s;
    transition-timing-function: ease-in-out;
}

#tooltip.visible {
    visibility: visible;
    scale: 1;
}

#tooltip input,
#tooltip label {
    display: inline-block;
    margin: 10px;
    border-radius: 5px 5px 0px 0px;
}

#tooltip label:checked {
    font-weight: bold;
}

#C1_lines line {
    stroke: black;
    stroke-width: 1;
    shape-rendering: geometricPrecision;
}

#tunni-line:hover {
    opacity: 1 !important;
    stroke-width: 5px;
    transition: all 0.1s ease-in-out;
}

footer {
    padding: 10px;
    box-shadow: 0px -1px 7px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: row;
    align-items: center;
}

.footer {
    font-size: 10pt;
    text-align: center;
    flex-grow: 1;
}