:root{
    --navigation-top-space: 15px;
    --navigation-height: calc(100vh - var(--navigation-top-space) * 2);
    --navigation-line-space: 10px;
    --nav-max-height-number: 104;
    --nav-min-height-number: 28;
    --nav-min-height-factor: calc(28 / 55);
    --nav-max-height-factor: calc(104 / 55);
    --nav-min-height: calc(var(--text-size-number) * var(--nav-min-height-factor) * 1px);
    --nav-min-height: max(20px, calc(var(--text-size-number) * var(--nav-min-height-factor) * 1px));
    --nav-max-height: max(53px, calc(var(--text-size-number) * var(--nav-max-height-factor) * 1px));
    --scale-to-max: calc((var(--text-size-number) * var(--nav-max-height-factor)) / (var(--text-size-number) * var(--nav-min-height-factor)));
    --scale-to-max: calc(max(53, (var(--text-size-number) * var(--nav-max-height-factor))) / max(20, var(--text-size-number) * var(--nav-min-height-factor)));
    --normal-font-size-factor: calc(30 / 55);
    --normal-font-size: calc(var(--text-size-number) * var(--normal-font-size-factor) * 1px);
    --nav-font-size-number: 16;
    --nav-font-size-factor: calc(16 / 55);
    --nav-font-size: calc(var(--text-size-number) * var(--nav-font-size-factor) * 1px);
    --nav-font-size: max(12px, calc(var(--text-size-number) * var(--nav-font-size-factor) * 1px));
    --nav-item-wrapper-height: calc(var(--navigation-height) / var(--navigation-element-count));
    --hamburger-color: #00B7E5;
}

.short-report-wrapper .navigation{
    display: inline-block;
    width: var(--navigation-width);
    height: var(--navigation-height);
    top: var(--navigation-top-space);
    bottom: var(--navigation-top-space);
    position: fixed;
    left: calc((var(--navigation-space) - var(--navigation-width)) / 2);
    z-index: 2;
    background-color: rgba(255,255,255,0);
    transition: 500ms ease-in-out;
}

.short-report-wrapper .navigation::before{
    transition: 500ms ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    bottom: 0;
    content: "";
    z-index: 0;
    pointer-events: none;
    background: rgba(255,255,255,0);
}

.short-report-wrapper .navigation .front-page svg{
    transform: rotate(-90deg);
    position: fixed;
    top: 5px;
    right: 5px;
    fill: #f529e5!important;
}

.short-report-wrapper .navigation-wrapper{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    min-height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    /* gap: var(--navigation-line-space); */
}

.short-report-wrapper .navigation-wrapper .nav-item-wrapper{
    overflow: hidden;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    height: var(--nav-item-wrapper-height);
}

.short-report-wrapper .navigation-wrapper a{
    width: calc(var(--navigation-width));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    position: relative;
}

.short-report-wrapper .navigation-wrapper a .navigation-index,
.short-report-wrapper .navigation-wrapper h1{
    background-color: var(--blue);
    padding: 4px;
    min-height: var(--nav-min-height);
    aspect-ratio: 1/1;
    border-radius: 50%;
    color: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transform-origin: top center;
    font-size: var(--normal-font-size);
    font-weight: 700;
    transition: 500ms ease-in-out;
    max-width: var(--nav-max-height);
    max-height: var(--nav-max-height);
    font-family: "FrutigerLTStd-Black";
    vertical-align: middle;
    text-align: center;
    overflow: hidden;
}

.short-report-wrapper .nav-item-wrapper.standard-image a .navigation-index,
.short-report-wrapper .nav-item-wrapper.standard-active-image a .navigation-index,
.short-report-wrapper .nav-item-wrapper.inverted-image a .navigation-index,
.short-report-wrapper .nav-item-wrapper.inverted-active-image a .navigation-index{
    background-color: transparent!important;
}

.short-report-wrapper .navigation-wrapper a .navigation-index::before,
.short-report-wrapper .navigation-wrapper a .navigation-index::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    bottom: 0;
    right: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale( calc(var(--scale-to-max) * 0.5) );
    transition: 500ms ease-in-out;
}

.short-report-wrapper .navigation-wrapper .nav-item-wrapper.active a .navigation-index::before,
.short-report-wrapper .navigation-wrapper .nav-item-wrapper.active a .navigation-index::after{
    transform: scale( 1 );
}

.short-report-wrapper .navigation-wrapper .nav-item-wrapper.inverted a .navigation-index::before,
.short-report-wrapper .navigation-wrapper .nav-item-wrapper.inverted.active a .navigation-index::before,
.short-report-wrapper .navigation-wrapper .nav-item-wrapper:not(.inverted) a .navigation-index::after,
.short-report-wrapper .navigation-wrapper .nav-item-wrapper.active.inverted a .navigation-index::after{
    opacity: 0;
}

.short-report-wrapper .navigation-wrapper .nav-item-wrapper a .navigation-index::before,
.short-report-wrapper .navigation-wrapper .nav-item-wrapper.active.inverted a .navigation-index::before,
.short-report-wrapper .navigation-wrapper .nav-item-wrapper.inverted a .navigation-index::after,
.short-report-wrapper .navigation-wrapper .nav-item-wrapper.active:not(.inverted) a .navigation-index::after{
    opacity: 1;
}

.short-report-wrapper .navigation-wrapper img{
    height: var(--nav-max-height);
    width: var(--nav-max-height);
    object-fit: cover;
    object-position: center;
    transition: 500ms ease-in-out;
}

.short-report-wrapper .navigation-wrapper h1{
    font-size: 20px;
    font-weight: 700;
    color: var(--blue);
    text-align: center;
    background-color: var(--light-blue);
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    flex-direction: column;
    margin: 0;
}

.short-report-wrapper .navigation-wrapper h1 .large{
    font-family: "FrutigerLTStd-Black";
    font-size: 40px;
    line-height: 1;
}

.short-report-wrapper .navigation-wrapper .nav-item-wrapper:not(.active).inverted a .navigation-index{
    background-color: var(--light-blue);
    color: var(--blue)
}

.short-report-wrapper .navigation-wrapper .inverted a .navigation-title{
    color: var(--light-blue);
}

.short-report-wrapper .navigation-wrapper .active a .navigation-index{
    color: var(--blue);
    background-color: var(--light-blue);
    transform: scale( var(--scale-to-max) );
    font-size: calc(var(--text-size) / var(--scale-to-max));
}

.short-report-wrapper .navigation-wrapper .active a .navigation-title{
    padding: 0;
    min-height: calc(var(--nav-max-height) - var(--nav-min-height) + var(--navigation-line-space));
    max-height: calc(var(--nav-max-height) - var(--nav-min-height) + var(--navigation-line-space));
}

.short-report-wrapper .navigation-wrapper a .navigation-title{
    display: block;
    position: relative;
    color: var(--blue);
    display: block;
    width:100%;
    text-align: center;
    padding-bottom: var(--navigation-line-space);
    padding-top: 5px;
    font-size: var(--nav-font-size);
    font-weight: 400;
    min-height: 25px;
    letter-spacing: -0.16px;
    max-width: 118px;
    font-family: "FrutigerLTStd-Black";
    transition: 500ms ease-in-out;
}

.short-report-wrapper .navigation-wrapper .active a .navigation-title{
    color: transparent;
}

.short-report-wrapper .navigation-wrapper a .navigation-title::after,
.short-report-wrapper .navigation-wrapper .nav-item-wrapper a::after{
    content: "";
    position: absolute;
    height: 2000px;
    background-color: var(--blue);
    left: 0;
    right: 0;
    width: 1px;
    margin: auto;
    pointer-events: none;
}

.short-report-wrapper .navigation-wrapper .inverted a .navigation-title::after,
.short-report-wrapper .navigation-wrapper .inverted a::after{
    background-color: var(--light-blue);
}

.short-report-wrapper .navigation-wrapper a .navigation-title::after{
    top: 100%;
}

.short-report-wrapper .navigation-wrapper .nav-item-wrapper a::after{
    bottom: calc(100% + var(--navigation-line-space));
}

.short-report-wrapper .navigation-wrapper .nav-item-wrapper[data-last-item="1"] a .navigation-title::after,
.short-report-wrapper .navigation-wrapper .nav-item-wrapper:first-child a::after,
.short-report-wrapper .navigation-wrapper .nav-item-wrapper:nth-child(2) a::after{
    display: none;
}

.short-report-wrapper .navigation-wrapper .navigation-line{
    position: absolute;
    height: 100%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--blue);
    z-index: -1;
}

/* Hamburger */

.hamburger {
    padding-top: var(--gap);
    padding-right: var(--gap);
    padding-bottom: calc(var(--gap) / 2);
    padding-left: calc(var(--gap) / 2);
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
    display: none;
    opacity: 1;
    outline: none;
}

button.hamburger:focus{
    outline: none;
}

.hamburger::before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    pointer-events: none;
    background: rgb(255,255,255);
    background: -moz-linear-gradient(225deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.4) 25%, rgba(255,255,255,0.0) 50%, rgba(255,255,255,0) 75%, rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(225deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.4) 25%, rgba(255,255,255,0.0) 50%, rgba(255,255,255,0) 75%, rgba(255,255,255,0) 100%);
    background: linear-gradient(225deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.4) 25%, rgba(255,255,255,0.0) 50%, rgba(255,255,255,0) 75%, rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
    transition: 250ms ease-in-out; 
}

.hamburger:hover {
    filter: brightness(1.2);
}

.hamburger:hover::before{
    background: rgb(255,255,255);
    background: -moz-linear-gradient(225deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.6) 25%, rgba(255,255,255,0) 50%, rgba(255,255,255,0) 75%, rgba(255,255,255,0) 100%);
    background: -webkit-linear-gradient(225deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.6) 25%, rgba(255,255,255,0) 50%, rgba(255,255,255,0) 75%, rgba(255,255,255,0) 100%);
    background: linear-gradient(225deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.6) 25%, rgba(255,255,255,0) 50%, rgba(255,255,255,0) 75%, rgba(255,255,255,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1); 
}


body.menu-active .hamburger .hamburger-inner,
body.menu-active .hamburger .hamburger-inner::before,
body.menu-active .hamburger .hamburger-inner::after {
    background-color: var(--hamburger-color);
}

.hamburger-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 40px;
    height: 4px;
    background-color: var(--hamburger-color);
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: "";
    display: block;
}

.hamburger-inner::before {
    top: -10px;
}

.hamburger-inner::after {
    bottom: -10px;
}

body.menu-active .hamburger--arrow .hamburger-inner::before {
    transform: translate3d(-8px, 0, 0) rotate(-45deg) scale(0.7, 1);
}

body.menu-active .hamburger--arrow .hamburger-inner::after {
    transform: translate3d(-8px, 0, 0) rotate(45deg) scale(0.7, 1);
}

@media only screen and (max-width: 579.99991px){
    :root{
        --nav-min-height: calc(var(--nav-min-height-number) * 1px);
        --nav-max-height: calc(var(--nav-max-height-number) * 1px);
        --scale-to-max: calc((var(--nav-max-height-number)) / (var(--nav-min-height-number)));
        --nav-font-size: calc(var(--nav-font-size-number) * 1px);
        --normal-font-size: calc(var(--normal-font-size-number) * 1px);
        --normal-font-size-factor: 1;
        --nav-font-size-factor: 1;
        --navigation-before-width: calc(15px + var(--navigation-width));
        --first-stop: calc(var(--navigation-before-width) * 0.985);
        --first-stop: max((var(--navigation-width) + 0.01px), (var(--navigation-before-width) * 0.985));
    }
    
    .short-report-wrapper .navigation-wrapper .active a .navigation-index{
        font-size: calc((var(--original-text-size-number) * 1px) / var(--scale-to-max));
    }

    .short-report-wrapper .navigation-wrapper a .navigation-title{
        max-width: 100%;
    }

    .short-report-wrapper .navigation{
        z-index: 4;
        transform: translateX(-100%);
        top:0;
        bottom:0;
        height: unset;
        padding-left: var(--gap);
        padding-right: var(--gap);
    }

    .short-report-wrapper .navigation-wrapper a{
        width: 100%;
    }

    body.menu-active .short-report-wrapper .navigation::before{
        width: var(--navigation-before-width);
    }

    .short-report-wrapper .navigation::before{
        width: var(--navigation-width);
        background: rgb(255,255,255);
        background: linear-gradient(90deg, rgba(255,255,255,1) 0, rgba(255,255,255,1) var(--navigation-width), rgba(0,0,0,0.3) calc(var(--navigation-width) + 0.01px), rgba(0,0,0,0.02) var(--first-stop), rgba(0,0,0,0) var(--navigation-before-width));
    }

    body.menu-active .short-report-wrapper .navigation{
        transform: translateX(0%);
    }

    /* body .short-report-wrapper .flexible-content,
    body footer{
        transition: 500ms ease-in-out;
        transform: translateX(0);
    }

    body.menu-active .short-report-wrapper .flexible-content,
    body.menu-active footer{
        transform: translateX(calc(var(--navigation-width-number) * 1px));
    } */

    .hamburger{
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 4;
        cursor: pointer;
        display: inline-block;
    }
}

@media only screen and (max-height: 899.99991px) and (min-width: 579.99991px){
    :root{
        --adjusted-font-size-for-nav-number: var(--text-size-number);
        --nav-min-height: max(20px, calc(var(--adjusted-font-size-for-nav-number) * var(--nav-min-height-factor) * 1px));
        --nav-max-height: max(53px, calc(var(--adjusted-font-size-for-nav-number) * var(--nav-max-height-factor) * 1px));
        --scale-to-max: calc((var(--adjusted-font-size-for-nav-number) * var(--nav-max-height-factor)) / (var(--adjusted-font-size-for-nav-number) * var(--nav-min-height-factor)));
        --scale-to-max: calc(max(53, (var(--adjusted-font-size-for-nav-number) * var(--nav-max-height-factor))) / max(20, var(--adjusted-font-size-for-nav-number) * var(--nav-min-height-factor)));
        --normal-font-size: calc(var(--adjusted-font-size-for-nav-number) * var(--normal-font-size-factor) * 1px);
        --nav-font-size: calc(var(--adjusted-font-size-for-nav-number) * var(--nav-font-size-factor) * 1px);
        --nav-font-size: max(12px, calc(var(--adjusted-font-size-for-nav-number) * var(--nav-font-size-factor) * 1px));
    }
}

@media only screen and (max-height: 899.99991px) and (min-width: 1599.99998px){
    :root{
        --adjusted-font-size-for-nav-number: 45;
    }
}

@media only screen and (max-height: 699.99991px) and (min-width: 1199.99991px){
    :root{
        --adjusted-font-size-for-nav-number: 35;
    }
}

@media only screen and (max-height: 599.99991px) and (min-width: 767.99991px){
    :root{
        --adjusted-font-size-for-nav-number: 28;
    }
}

@media only screen and (max-height: 499.99991px) and (min-width: 579.99991px), only screen and (max-height: 499.99991px) and (max-width: 579.99991px){
    :root{
        --adjusted-font-size-for-nav-number: 20;
    }

    .short-report-wrapper .navigation{
        height: 100vh;
        top: 0;
        bottom: 0;
    }

    .short-report-wrapper .navigation-wrapper .active a .navigation-index{
        transform: scale(max(1.1, (var(--scale-to-max) / 2)));
    }

    .short-report-wrapper .navigation-wrapper .active a .navigation-title{
        min-height: unset;
        max-height: unset;
        height: 10px;
    }

    .short-report-wrapper .navigation-wrapper a .navigation-title{
        padding-bottom: 2px; 
    }

    .short-report-wrapper .navigation-wrapper a .navigation-index, .short-report-wrapper .navigation-wrapper h1{
        padding: 0px;
        min-height: unset;
        background-color: transparent!important;
        color: var(--blue);
    }

    .short-report-wrapper .navigation-wrapper .nav-item-wrapper:not(.active).inverted a .navigation-index,
    .short-report-wrapper .navigation-wrapper .inverted.active a .navigation-index{
        color: var(--light-blue);
    }

    .short-report-wrapper .navigation-wrapper a .navigation-title::after, .short-report-wrapper .navigation-wrapper .nav-item-wrapper a::after{
        display: none;
    }
}

@media only screen and (max-height: 899.99991px) and (max-width: 579.99991px){
    :root{
        --adjusted-font-size-for-nav-number: 37;
        --nav-min-height: max(20px, calc(var(--adjusted-font-size-for-nav-number) * var(--nav-min-height-factor) * 1px));
        --nav-max-height: max(53px, calc(var(--adjusted-font-size-for-nav-number) * var(--nav-max-height-factor) * 1px));
        --scale-to-max: calc((var(--adjusted-font-size-for-nav-number) * var(--nav-max-height-factor)) / (var(--adjusted-font-size-for-nav-number) * var(--nav-min-height-factor)));
        --scale-to-max: calc(max(53, (var(--adjusted-font-size-for-nav-number) * var(--nav-max-height-factor))) / max(20, var(--adjusted-font-size-for-nav-number) * var(--nav-min-height-factor)));
        --normal-font-size: calc(var(--adjusted-font-size-for-nav-number) * var(--normal-font-size-factor) * 1px);
        --nav-font-size: calc(var(--adjusted-font-size-for-nav-number) * var(--nav-font-size-factor) * 1px);
        --nav-font-size: max(12px, calc(var(--adjusted-font-size-for-nav-number) * var(--nav-font-size-factor) * 1px));
        --normal-font-size-factor: calc(30 / 55);
        --nav-font-size-factor: calc(16 / 55);
    }
}

@media only screen and (max-height: 699.99991px) and (max-width: 579.99991px){
    :root{
        --adjusted-font-size-for-nav-number: 32;
    }
}

@media only screen and (max-height: 599.99991px) and (max-width: 579.99991px){
    :root{
        --adjusted-font-size-for-nav-number: 28;
    }
}