body {
    font-family: 'Frutiger Neue',Helvetica,Arial,sans-serif;
}

p {
    line-height: 1.5;
    margin: .8em 0;
}

.main-container {
    margin-bottom: 10vh;
    padding-bottom: 10vh;
    padding-top: 2vh;
}

.highlighted {
    background-color: lemonchiffon;
    letter-spacing: 1px;
    font-weight: bold;
}

figcaption {
    font-weight: 100;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }


/* loader 
-------------------------------------------------- */
.loader,
.loader:before,
.loader:after {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    -webkit-animation: load7 1.8s infinite ease-in-out;
    animation: load7 1.8s infinite ease-in-out;
}

.loader {
    color: #dc0018;
    font-size: 10px;
    margin: 80px auto;
    position: relative;
    text-indent: -9999em;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

    .loader:before,
    .loader:after {
        content: '';
        position: absolute;
        top: 0;
    }

    .loader:before {
        left: -3.5em;
        -webkit-animation-delay: -0.32s;
        animation-delay: -0.32s;
    }

    .loader:after {
        left: 3.5em;
    }

@-webkit-keyframes load7 {
    0%, 80%, 100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }

    40% {
        box-shadow: 0 2.5em 0 0;
    }
}

@keyframes load7 {
    0%, 80%, 100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }

    40% {
        box-shadow: 0 2.5em 0 0;
    }
}


.bg-grey {
    background-color: #f2f2f2;
}


@media only screen and (min-width: 1280px) {
    .mud-elevation-lg-2 {
        box-shadow: var(--mud-elevation-2);
    }
}

.text-blue {
    color: #006699;
}

.background-blue {
    background-color: #006699;
}


.horizontal .interaction-distribution-lowertext {
    width: 100%;
    position: absolute;
    bottom: 0;
    text-align: end;
    padding-right: 48%;
}

.horizontal .first .interaction-distribution-lowertext {
    text-align: start;
    padding-left: 1.8rem;
}

.horizontal .last .interaction-distribution-lowertext {
    text-align: end;
    padding-right: 1.8rem;
}

.vertical .interaction-distribution-lowertext {
    width: 80%;
}

.mud-button {
    text-transform: none !important;
}

.question-block-box-red {
    background-color: #dc0018;
    display: block;
    text-align: center;
    color: white;
    padding: 1rem;
    font-weight: bold;
    height: fit-content;
    margin-right: 1rem;
    max-width: 5rem;
    font-size: x-large;
}

.question-block-box-blue {
    background-color: #006699;
    display: block;
    text-align: center;
    color: white;
    padding: 1rem;
    font-weight: bold;
    height: fit-content;
    margin-right: 1rem;
    max-width: 5rem;
    font-size: x-large;
}

.comma-separated-list {
    display: inline;
    list-style: none;
}

    .comma-separated-list li {
        display: inline;
    }

        .comma-separated-list li:not(:last-child):after {
            content: ", ";
        }

.target-interaction-row {
    width: fit-content;
    margin-bottom: 0.1rem;
    padding: 0.25rem;
    color: white;
}

/*https://a11y-guidelines.orange.com/en/web/components-examples/accessible-hiding/*/
.screenreader-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.h5 {
    font-size: 1.25rem !important;
}


.mud-treeview-item-content {
    display: flex;
    flex-direction: column;
}

.mud-chip-black {
    background: black !important;
    color: white !important;
}

    .mud-chip-black .mud-icon-button {
        color: white !important;
    }


#matrix {
    height: calc(content + 20px);
}

.matrix-diagonal {
    text-align: center;
}

.indivisible {
    background-color: #19486a;
    width: 1rem;
    height: 1rem;
}

.reinforcing {
    background-color: #2775a5;
    width: 0.8rem;
    height: 0.8rem;
}


.enabling {
    background: #7494a4;
    width: 0.5rem;
    height: 0.5rem;
}

.consistent {
    background: #f2f2f2;
    width: 0.5rem;
    height: 0.5rem;
}

.constraining {
    background: #f36d25;
    width: 0.5rem;
    height: 0.5rem;
}


.interaction .legend-vertical {
    width: 2.5rem;
}

.interaction td {
    padding: 0rem;
    width: 1rem;
    height: 1rem;
    vertical-align: middle;
    text-align: center;
}

    .interaction span, .interaction td a, span.interaction {
        display: inline-block;
        margin: auto;
    }

.interaction th {
    padding: 0.1rem;
}

.th-rotate {
    transform: rotate(-45deg);
}


.th-rotate-reverse {
    transform: rotate(45deg);
}

.strong-style-h3 h3 {
    font-weight: 400 !important;
    font-size: 1rem !important;
}

.startpage-h1 {
    font-size: 2.8rem;
}

.startpage-h2 {
    font-size: 1.5rem;
    font-weight: 200 !important;
}

.startpage-h1-mobile {
    font-size: 2rem;
}

.startpage-h2-mobile {
    font-size: 1.2rem;
    font-weight: 200 !important;
}


.startpage-h1-tablet {
    font-size: 2.4rem;
}

.startpage-h2-tablet {
    font-size: 1.4rem;
    font-weight: 200 !important;
}


.interactions-list {
    font-size: 80%;
}

.small-h4 h4 {
    font-size: 1.1rem;
}


.selectable-item button{
    display:block;
    width: 100%
}

/* Progress Bar animation =============================================*/
@keyframes loader {
    0% {
        width: 0;
    }

    20% {
        width: 10%;
    }

    25% {
        width: 24%;
    }

    43% {
        width: 41%;
    }

    56% {
        width: 50%;
    }

    66% {
        width: 52%;
    }

    71% {
        width: 60%;
    }

    75% {
        width: 76%;
    }

    94% {
        width: 86%;
    }

    100% {
        width: 100%;
    }
}

.progress-bar {
    width: 100%;
    left: 50%;
    max-width: 25%;
    position: absolute;
    top: 120%;
    transform: translate3d(-50%,-50%,0);
}

    .progress-bar span {
        display: block;
    }

.bar {
    background: #d9dbda;
}

.progress {
    animation: loader 8s ease infinite;
    background: #009dda;
    padding: 5px;
}