﻿
:root {
    --font: #1a2e61;
    --bg: #012927;
}

html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    font-family: 'PlusJakartaSans';
    font-size: 0.9vw;
    letter-spacing: 0px;
    line-height: 120%;
    color: #fbf7f3;
    background-color: #012927;
}
body.export {
    overflow: hidden;
}

@media (max-width: 1100px) {
    body {
        font-size: 8px;
    }
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/*CONT*/
#cont {
    display: block;
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    min-width: 1000px;
    min-height: 44.5vw;
    height: 100%;
    max-height: 76vw;
    overflow: hidden;
}
    #cont.export {
        width: 1920px;
        height: 1355px;
    }

@media (max-width: 1005px) {
    #cont {
        min-height: 750px;
        max-height: 760px;
    }
}

@media (max-width: 990px) {
    #cont {
        min-width: 990px;
        min-height: 495px;
        max-height: 600px;
    }
}


@media (min-aspect-ratio: 2.3) and (min-width: 1700px) {
    body {
        font-size: 0.7vw;
    }

    #cont {
        min-height: 31vw;
    }
}


header {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 20%;
}
#logo {
    display: block;
    position: absolute;
    top: 0%;
    left: 1%;
    width: 9.7%;
    height: 100%;
    background-image: url(../Graphics/logo.svg?211025-3);
    background-position: center center;
    background-size: 100% auto;
    background-repeat: no-repeat;
}
#h1-cont {
    display: -webkit-flex;
    -webkit-align-items: center;
    display: flex;
    align-items: center;
    position: absolute;
    top: 0px;
    left: 14%;
    width: 40%;
    height: 100%;
}
h1 {
    display: block;
    margin: 0px;
    padding: 0px;
    font-family: 'Merriweather';
    font-size: 320%;
    font-weight: normal;
    line-height: 100%;
    color: #ffffff;
}


#quick {
    z-index: 50;
    display: -webkit-flex;
    -webkit-flex-direction: row;
    -webkit-align-items: center;
    -webkit-justify-content: flex-end;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
    right: 2%;
    width: 40%;
}
    #quick button.grayed {
        -webkit-filter: invert(60%);
        filter: invert(60%);
        cursor: default;
    }
    #quick a {
        color: inherit;
        text-decoration: none;
    }
    #quick .q {
        cursor: pointer;
        display: inline-block;
        position: relative;
        margin-left: 1.8vw;
        background-color: transparent;
        border: none;
        font-size: inherit;
        font-family: inherit;
    }
        #quick .q .img {
            display: -webkit-flex;
            -webkit-flex-direction: row;
            -webkit-align-items: center;
            -webkit-justify-content: center;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            text-align: center;
            /*height: 2.2vw;*/ /*js korekcije*/
        }
            #quick .q .img img {
                display: inline;
                height: 100%;
                width: auto;
                vertical-align: middle;
            }
            #quick .q .img img.hover {
                display: none;
            }
                #quick .q.hover .img img {
                    display: none;
                }
                #quick .q.hover .img img.hover {
                    display: inline;
                }
        #quick .q .title {
            margin-top: 1vw;
            text-align: center;
            line-height: 0%;
            font-weight: bold;
            font-size: 95%;
            color: #fbf7f3;
            white-space: nowrap;
        }
        #quick .q.hover .title {
            color: #78c51c;
        }


#toggle {
    display: block;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 14.5%;
    height: 80%;
    padding: 0vw 1% 0px 1%;
    font-size: 95%;
    font-weight: bold;
    line-height: 120%;
}
    #toggle .btn {
        font-weight: bold;
    }
h4 {
    font-size: 100%;
    margin: 0px 0px 2vh 0px;
}
#toggle h4.first span {
    font-family: Merriweather;
    display: block;
    margin-bottom: 0.5vw;
    font-size: 120%;
}
    h4.grayed {
        -webkit-filter: invert(60%);
        filter: invert(60%);
    }
    h4.invisible {
        display: none;
    }
    #toggle .c {
        display: block;
        width: 100%;
        margin-top: 0.5vw;
    }
    #toggle .c.invisible {
        display: none;
    }

#toggle .dropdown.open {
    color: #78c51c;
    border-color: #78c51c;
}

#metric_cont .dropdown .text ._1 {
    display: inline;
}
#metric_cont .dropdown .text ._2 {
    display: none;
}
#metric_cont .dropdown-list .item .t ._1 {
    display: none;
}
#metric_cont .dropdown-list .item .t ._2 {
    display: inline;
}

#metric_cont.c {
    margin-top: 0px;
    margin-bottom: 2vh;
}
   /* #options_view .text {
        line-height: 100%;
    }*/
    #swap_cont.c.invisible {
        display: none;
    }
    #toggle .dropdown .text {
        line-height: 120%;
        max-width: 85%;
    }

/*options metric*/
.options_metric {
    display: block;
    width: auto !important;
    height: auto;
    border: 1px solid #012927;
    border-radius: 0.6vw;
    font-size: 120%;
}

    .options_metric table {
        border-collapse: collapse;
        border: none;
        margin-bottom: 1vh;
        font-weight: normal;
    }

    .options_metric td {
        padding: 0px;
        text-align: left;
        vertical-align: top;
        padding: 1vh 1.5vw 1vh 1.5vw;
        white-space: nowrap;
    }
        .options_metric td._1 {
            padding-left: 0px;
            border-right: 1px solid #dfdfdf;
        }
        .options_metric td._2 {
            padding-right: 1vh;
        }
        .options_metric td._3 {
            padding-left: 1vh;
            border-right: 1px solid #dfdfdf;
        }
        .options_metric td._4 {
        }
    .options_metric div._group {
        width: 100%;
        border: 1px solid #012927;
        border-radius: 0.6vw;
        margin: 0px 0px 1vh 0px;
        padding: 1vh;
    }
        .options_metric div._group._home {
            border-color: #396dfe;
        }
        .options_metric div._group._infr {
            border-color: #fa6d42;
        }
        .options_metric div._group._indu {
            border-color: #d9f752;
        }
    .options_metric div._bor {
        padding-top: 1.5vh;
        padding-bottom: 1.5vh;
    }
    .options_metric div._nobor {
        border-color: transparent;
        padding-top: 1.5vh;
        padding-bottom: 1.5vh;
    }

#toggle .dropdown:hover, #toggle .btn:hover {
    border-color: #78c51c;
    color: #78c51c;
}
    #toggle .dropdown:hover .arrow.down path {
        fill: #78c51c;
    }
#toggle .dropdown-list {
    font-weight: bold;
}
#toggle .dropdown-list .item {
    font-size: 85%;
}
.options_metric.dropdown-list .item {
    padding: 0.5vh 0px 0.5vh 0px;
    font-size: 90%;
}
.options_metric.dropdown-list .item.long {
    width: 20vw;
    white-space: normal;
}

#metric_cont_sep {
    width: 100%;
    border-top: 1px solid #dfdfdf;
}
    .options_metric p {
        display: block;
        margin: 0px;
        padding: 0px;
    }
        .options_metric p.d {
            margin-top: 0.5vw;
            margin-bottom: 0.5vw;
            font-weight: 700;
        }
        .options_metric p.t1 {
            font-family: 'Merriweather';
            margin-bottom: 1vh;
        }



#options_base:not(.grayed), #options_swap {
    background-color: #012927;
}



#notes {
    display: block;
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 14.5%;
    padding: 1%;
    font-size: 68%;
    font-weight: 400;
    line-height: 115%;
    z-index: -1;
}

#bg {
    z-index: -1;
    display: block;
    position: absolute;
    left: 0px;
    bottom: 0px;
    width: 14.5%;
    height: 70%;
    opacity: 0.022;
    background-image: url(../Graphics/bg.svg?211025-3);
    background-position: left bottom;
    background-size: 80% auto;
    background-repeat: no-repeat;
}

#tab-cont {
    display: block;
    position: absolute;
    bottom: 0px;
    left: 14.5%;
    white-space: nowrap;
}
header .tab {
    cursor: pointer;
    display: inline-block;
    border: 1px solid #fbf7f3;
    border-bottom: none;
    border-radius: 0.5vw 0.5vw 0px 0px;
    background-color: transparent;
    margin-right: 0.1vw;
    padding: 0.6vw 1.8vw 0.6vw 1.8vw;
    line-height: 100%;
    white-space: nowrap;
    font-family: 'Merriweather';
    font-size: 133%;
    font-weight: 700;
    transition: all linear 150ms;
}
    header .tab:hover {
        border-color: #78c51c;
        color: #78c51c;
    }
    header .tab.active, header .tab.active:hover {
        color: #012927;
        background-color: #fbf7f3;
        border-color: #fbf7f3;
    }
#tab-summary {
}
#tab-builder {
}

main {
    display: block;
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 85.5%;
    height: 80%;
    background-color: #fbf7f3;
    background-image: url(../Graphics/bg-1.svg?211025-3);
    background-position: right center;
    background-size: auto 100%;
    background-repeat: no-repeat;
    color: #012927;
}


#options_metric.small {
    font-size: 80%;
}
#metric_cont.c.small {
    margin-bottom: 2vh;
}


#statement, #solution {
    z-index: 150;
    display: block;
    position: absolute;
    top: 1.5vw;
    right: 1.5vw;
    /*width: auto;
    min-width: 10vw;*/
    width: 18vw;
    height: auto;
}
    #statement.invisible, #solution.invisible {
        display: none;
    }
    #statement.invisible_1, #solution.invisible_1 {
        display: none;
    }
    #statement .dropdown-list, #solution .dropdown-list {
        font-weight: bold;
    }
#options_statement.dropdown {
    background-color: #012927;
    border-color: #012927;
    color: #fbf7f3;
    padding: 0.5vw;
    font-weight: bold;
}
#options_solution.dropdown {
    background-color: #396dfe;
    border-color: #396dfe;
    color: #fbf7f3;
    padding: 0.5vw;
    font-weight: bold;
}
    #options_statement.dropdown .text, #options_solution.dropdown .text {
        line-height: 120%;
    }
    .options_solution .item.home {
        color: #19224d;
    }
    .options_solution .item.infr {
        color: #3d122c;
    }
    .options_solution .item.indu {
        color: #19421f;
    }
#chart, #chart-summary {
    display: block;
    position: absolute;
    left: 1.5vw;
    right: 1.5vw;
    bottom: 5vw;
    top: 1.5vw;
    overflow: auto;
}
    #chart, #chart.short {
        top: 4.5vw;
    }
#metric-header {
    display: block;
    position: absolute;
    left: 1.5vw;
    right: 30%;
    top: 1.5vw; 
    height: 3vw;
}
    #metric-header h2 {
        font-family: 'Merriweather';
        font-size: 140%;
        line-height: 120%;
        margin: 0px 0px 1.5vw 0px;
    }

@media (max-aspect-ratio: 10 / 7) {
    #chart, #chart-summary {
        left: 1.5vw;
        right: 1.5vw;
        bottom: 8vw;
        top: 4vw;
    }
}

#chart-summary {
    opacity: 0;
    transition: opacity linear 200ms;
}
#agree, #how-to-use {
    z-index: 100;
    display: block;
    position: absolute;
    left: 1.5vw;
    right: 1.5vw;
    bottom: 5vw;
    top: 1.5vw;
    overflow: auto;
    background-color: transparent;
    transition: opacity linear 200ms;
}
    #agree.fade, #how-to-use.fade {
        opacity: 0;
    }
    #agree.invisible, #how-to-use.invisible {
        display: none;
    }
    #agree.invisible_1, #how-to-use.invisible_1 {
        display: none;
    }
    #chart.invisible, #chart-summary.invisible {
        display: none;
    }
    #chart-chart {
        display: block;
        width: 100%;
        height: 100%;
    }

@media (min-aspect-ratio: 2.34) and (min-width: 1700px) {
    header .tab {
        padding: 0.4vw 2vw 0.4vw 2vw;
        font-size: 120%;
    }

    /*.options_view.dropdown-list .item {
        padding: 0.1vw 0.2vw 0.1vw 0.2vw;
    }
    .options_metric_question.dropdown-list .item {
        padding: 0.07vw 0.2vw 0.07vw 0.2vw;
        margin-top: 0.07vw;
        margin-bottom: 0.07vw;
    }
    #chart-chart.h1 {
        height: 100%;
    }
    #chart-chart.h2 {
        height: 130%;
    }
    #chart-chart.h3 {
        height: 100%;
    }
    #chart-chart.h1_1 {
        height: 140%;
    }
    #chart-chart.h2_1 {
        height: 200%;
    }
    #chart-chart.h3_1 {
        height: 140%;
    }*/
}


#chart .loading, #chart-summary .loading {
    display: -webkit-flex;
    -webkit-align-items: center;
    -webkit-justify-content: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 100%;
    font-weight: bold;
}

#chart .base-size, #chart-summary .base-size {
    font-size: 90%;
    font-style: italic;
}

    #chart .base-size.off, #chart-summary .base-size.off {
        display: none;
    }

#chart .instructions, #chart-summary .instructions {
    opacity: 0.4;
    color: transparent;
    border-color: transparent;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    transition: all linear 0.5s;
}

.intro h2 {
    font-family: 'Merriweather';
    font-size: 230%;
    line-height: 120%;
    margin: 0px 0px 1.5vh 0px;
}
.intro h3 {
    font-family: 'Merriweather';
    font-size: 120%;
    font-weight: 700;
    line-height: 120%;
    margin: 2.2vh 0px 0.5vh 0px;
}

.intro p {
    /*font-size: 110%;
    line-height: 130%;
    margin: 0px 0px 1vw 0px;*/

    font-size: 1.9vh;
    line-height: 130%;
    margin: 0px 0px 0.4vh 0px;
}

@media (min-aspect-ratio: 1.72) and (max-aspect-ratio: 1.93) {
   /* .intro h3 {
        margin: 2vh 0px 0.5vh 0px;
    }*/
}

@media (max-width: 1050px) {
    .intro p {
        font-size: 12px;
    }
}

#how-to-use p {
    margin: 0px 0px 1vh 0px;
}



.intro button {
    cursor: pointer;
    position: relative;
    font-family: inherit;
    font-size: 1.9vh;
    font-weight: bold;
    background-color: #012927;
    padding-left: 1vw;
    padding-right: 2.5vw;
    padding-top: 0.5vw;
    padding-bottom: 0.5vw;
    text-align: left;
    border-radius: 50px;
    margin-top: 2.5vh;
    margin-bottom: 0.5vh;
    line-height: 100%;
    color: #fbf7f3;
    border: none;
    transition: all linear 150ms;
}
    .intro button .img {
        position: absolute;
        right: 1vw;
        top: 25%;
        height: 50%;
        width: auto;
        fill: #78c51c;
    }
    .intro button:hover {
        background-color: #78c51c;
        color: #012927;
    }
        .intro button:hover .img {
            fill: #012927;
        }

            #agree.intro p a, #agree.intro p a:visited {
                font-weight: bold;
                color: inherit;
                text-decoration: underline;
            }
                #agree.intro p a:hover, #agree.intro p a:visited:hover {
                    color: #78c51c;
                    text-decoration: none;
                }

        #agree.intro p {
            width: 85%;
        }
@media (max-aspect-ratio: 1.55) {
    #agree.intro p {
        width: 90%;
        font-size: 1.8vh;
    }
}
        #how-to-use.intro p {
            width: 65%;
        }

@media (max-aspect-ratio: 10 / 7) {
    .intro h3, .intro p {
        /*font-size: 130%;*/
    }

    .intro button {
        font-size: 120%;
        padding-right: 2.5vw;
        padding-top: 0.7vw;
        padding-bottom: 0.7vw;
    }
}
@media (max-width: 1030px) {
    .intro button {
        font-size: 150%;
        padding-right: 3.5vw;
        padding-top: 1vw;
        padding-bottom: 1vw;
    }
}

    /*    h2 {
        margin: 3vw 20vw 2.8vw 2vw;
        font-family: 'TelstraDisplay';
        font-size: 350%;
    }

#chart p, #chart-summary p {
    margin: 0px 20vw 1.8vw 2vw;
    padding: 0px;
    font-size: 120%;
    line-height: 120%;
    font-family: 'TelstraBodyMedium';
}

#chart button, #chart-summary button {
    cursor: pointer;
    display: block;
    font-family: 'TelstraBodyMedium';
    font-size: 120%;
    color: inherit;
    margin: 0px 20vw 0px 2vw;
    padding: 0.5vw 1vw 0.5vw 1vw;
    background-color: transparent;
    border: 2px solid #1a2e61;
    border-radius: 0.8vw;
}*/
    #chart button:hover, #chart-summary button:hover {
        background-color: #1a2e61;
        color: #ffffff;
    }

    main footer {
        display: -webkit-flex;
        -webkit-align-items: center;
        -webkit-justify-content: space-between;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: absolute;
        left: 1.5vw;
        right: 1.5vw;
        bottom: 1.5vw;
        height: 2.5vw;
        font-size: 80%;
        font-weight: bold;
        color: #fbf7f3;
    }

        main footer .note {
            display: -webkit-inline-flex;
            -webkit-align-items: center;
            -webkit-align-content: flex-start;
            display: inline-flex;
            align-items: center;
            align-content: flex-start;
            height: 100%;
            white-space: normal;
            line-height: 120%;
            background-color: #012927;
            border: none;
            border-radius: 0.4vw;
            padding: 0.2vw 0.5vw 0.2vw 0.5vw;
        }

    #foot-1 {
        width: 35%;
    }

    #foot-2 {
        width: 30%;
        overflow: auto;
    }

    #foot-3 {
        width: 10%;
    }

    #foot-4 {
        width: 22%;
    }

        #foot-4.invisible {
            visibility: hidden;
        }




    /*No data*/
    .no-data {
        display: -webkit-flex;
        -webkit-align-items: center;
        -webkit-justify-content: center;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        font-size: 0.9vw;
        white-space: normal;
        text-align: center;
    }




    #msg_agree {
        display: none;
        z-index: 9998;
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        background-color: #fbf7f3;
        background-image: url(../Graphics/bg-1.svg?211025-3);
        background-position: right center;
        background-size: auto 100%;
        background-repeat: no-repeat;
        color: #012927;
        font-size: 18px;
        padding: 5%;
        overflow: auto;
    }

        #msg_agree table {
            position: relative;
            width: 100%;
            height: 100%;
        }

        #msg_agree td {
            text-align: center;
            vertical-align: middle;
        }

        #msg_agree .txt {
            display: inline-block;
            width: 70%;
            margin: 0px auto 4% auto;
            text-align: justify;
        }

            #msg_agree .txt p {
                margin-top: 0px;
                margin-bottom: 2%;
                line-height: 120%;
            }

                #msg_agree .txt p._h {
                    font-size: inherit;
                    font-weight: bold;
                    color: #012927;
                    font-family: Merriweather;
                    margin-bottom: 2%;
                }

                #msg_agree .txt p.last {
                    margin-bottom: 0px;
                }

        #msg_agree .butt-cont {
            display: inline-block;
            width: 70%;
            margin: 0px auto 0px auto;
            text-align: right;
            line-height: 0px;
        }

        #msg_agree button {
            cursor: pointer;
            position: relative;
            font-family: inherit;
            font-size: 90%;
            font-weight: bold;
            background-color: #012927;
            padding-left: 1vw;
            padding-right: 6vw;
            padding-top: 0.6vw;
            padding-bottom: 0.6vw;
            width: auto;
            text-align: left;
            border-radius: 50px;
            line-height: 100%;
            color: #fbf7f3;
            border: none;
            transition: all linear 150ms;
        }

            #msg_agree button .img {
                position: absolute;
                right: 1vw;
                top: 25%;
                height: 50%;
                width: auto;
                fill: #78c51c;
                transition: all linear 150ms;
            }

            #msg_agree button:hover {
                background-color: #78c51c;
                color: #012927;
            }

                #msg_agree button:hover .img {
                    fill: #012927;
                }




    @media (max-width: 1200px) {
        #msg_agree {
        }

            #msg_agree .txt {
                width: 80%;
                margin: 0px auto 8% auto;
            }

            #msg_agree .butt-cont {
                width: 80%;
            }
    }

    @media screen and (orientation : portrait) {
        #msg_agree {
            font-size: 38px;
            padding-top: 10%;
            padding-bottom: 30%;
        }

            #msg_agree .txt {
                width: 80%;
                margin: 0px auto 15% auto;
                text-align: left;
            }

                #msg_agree .txt p {
                    margin-bottom: 8%;
                }

            #msg_agree .butt-cont {
                width: 80%;
            }
    }





    #msg-portrait {
        z-index: 9999;
        display: none;
        justify-content: center;
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        background-color: #fbf7f3;
        color: #012927;
        font-size: 42px;
    }

        #msg-portrait div {
            display: flex;
            align-items: center;
            justify-content: center;
            position: absolute;
            top: 0px;
            left: 0px;
            width: 100%;
            height: 100%;
            text-align: center;
        }

            #msg-portrait div p {
                line-height: 120%;
            }

    @media screen and (orientation : portrait) {
        #msg-portrait {
            display: block;
        }

        #msg_agree .txt img {
            width: 50%;
            height: auto;
        }
    }


    #msg-export {
        display: -webkit-flex;
        -webkit-align-items: center;
        -webkit-justify-content: center;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        background-color: white;
        color: inherit;
        font-size: 22px;
    }

        #msg-export.hidden {
            display: none;
        }


    #info {
        display: fixed;
        position: absolute;
        top: 0px;
        left: 0px;
        z-index: 999999;
        color: red;
    }