@import "https://unpkg.com/@navikt/ds-css@latest/dist/index.min.css";

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-flow: column nowrap;
}

main {
    flex: 1;
    background: #f2f3f5;
}

#index article, .wrapper, main header {
    max-width: 60em;
    margin-left: auto;
    margin-right: auto;
}

.wrapper {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    gap: 2rem;
}

header .wrapper, footer .wrapper {
    align-items: center;
}

#decisions, #site-header, #top-section {
    background: #fff;
    display: flow-root;
}

#decisions .wrapper {
    gap: 3rem;
    padding-bottom: 2rem;
}

#decisions .wrapper > * {
    flex: 1 1;
}

#site-header {
    border-bottom: 1px solid black;
}

#site-header h1 {
    font-size: 1.75em;
}

#site-header h1 a {
    text-decoration: none;
    color: #000;

}

main h1 {
    margin-bottom: 0;
}


#logo {
    margin-top: .5em;
}

h1 {
    line-height: 1.2;
}

#decisions, #diagram {
    padding: 0 2rem;
}

#path ul {
    padding-left: 1em;
    margin-bottom: 1.5rem;
}

#diagram {
    padding: 1.5rem;
}

h2:focus {
    outline: none
}

button.print .navds-button__icon {
    width: 24px;
    height: 24px;
    background: url("../images/PrinterSmall.svg") no-repeat center center;
}

#question {
    display: inline-block;
}

#question.final-result {
    background: url("../images/CheckmarkCircle.svg") no-repeat right .2em;
    padding-right: 1.75rem;
}

.help-box {
    background: #eef5ff;
    border-left: 4px solid #1844a3;
    padding: 1rem;
    margin: 0 0 2rem;
    border-radius: 4px;
}

.help-box a {
    color: #000;
}

footer {
    border-top: 1px solid black;
    position: sticky;
    bottom: 0;
    background-color: #fff;
}


/* Graph styling overrides */
.node rect, .node circle, .node ellipse, .node polygon, .node path {
    fill: #fff !important

}
