﻿
:root {
    --font: #1a2e61;
    --bg: #f5ede2;
}

html {
    width: 100%;
    height: 100%;
}

@font-face {
    font-family: 'TelstraDisplay';
    src: url('../Fonts/TelstraDisplay-Regular.woff2') format('woff2'), 
         url('../Fonts/TelstraDisplay-Regular.woff') format('woff'), 
         url('../Fonts/TelstraDisplay-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'TelstraBody';
    src: url('../Fonts/TelstraText-Regular.woff2') format('woff2'), 
         url('../Fonts/TelstraText-Regular.woff') format('woff'), 
         url('../Fonts/TelstraText-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'TelstraBodyMedium';
    src: url('../Fonts/TelstraText-Medium.woff2') format('woff2'), url('../Fonts/TelstraText-Medium.woff') format('woff'), url('../Fonts/TelstraText-Medium.ttf') format('truetype');
}

body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    font-family: 'TelstraBody';
    font-size: 0.9vw;
    letter-spacing: 0px;
    line-height: 120%;
    color: #1a2e61;
    background-color: #f5ede2;
}
body.export {
    overflow: hidden;
}

@media (max-width: 1100px) {
    body {
        font-size: 9px;
    }
}

* {
    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 (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: 15%;
    left: 2.5%;
    width: 7.5%;
    height: 70%;
    background-image: url(../Graphics/logo.svg?180625-1);
    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: 12%;
    width: 60%;
    height: 100%;
}
h1 {
    display: block;
    margin: 0px;
    padding: 0px;
    font-family: 'TelstraDisplay';
    font-size: 350%;
    line-height: 100%;
}
#metrics {
    display: -webkit-flex;
    -webkit-flex-direction: row;
    -webkit-align-items: center;
    -webkit-justify-content: flex-start;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    bottom: 0px;
    left: 12%;
    width: 86%;
    height: 10%;
    font-size: 82%;
    font-weight: bold;
    line-height: 120%;
}
    #metrics ._1 {
        display: inline-block;
        font-size: 100%;
        margin: 0px;
    }
    #metrics ._2 {
        display: inline-block;
        margin-left: 1vw;
        min-width: 10%;
        /*height: 40%;*/
    }
        #metrics ._2.invisible {
            visibility: hidden;
        }
        #metrics ._2 .dropdown {
            -webkit-flex-wrap: nowrap;
            flex-wrap: nowrap;
        }
            #metrics ._2 .dropdown .text {
                white-space: nowrap;
                line-height: 120%;
            }
        .options_metric_question {
            display: block;
            width: auto !important;
            height: auto;
        }
        .options_metric_question table {
            border-collapse: collapse;
            border: none;

        }
            .options_metric_question td {
                padding: 1vw;
                text-align: left;
                vertical-align: top;
                white-space: nowrap;
            }
        .options_metric_question h5 {
            display: block;
            margin: 0px 0px 0.8vw 0px;
            padding: 0px;
            font-size: inherit;
            color: inherit;
        }
        .options_metric_question .legend {
            display: block;
            position: absolute;
            right: 2vw;
            bottom: 2vw;
            width: auto;
            height: auto;
        }
            .options_metric_question .legend table {
                border-collapse: collapse;
                border-spacing: 0px;
                width: auto;
                height: auto;
            }
            .options_metric_question .legend td {
                padding: 1vw 0px 0px 0px;
                vertical-align: middle;
                text-align: left;
                line-height: 0px;
            }
            .options_metric_question .legend div {
                display: inline-block;
                text-align: left;
                vertical-align: middle;
            }
                .options_metric_question .legend div.__1 {
                    background-color: #1a2e61;
                    opacity: 0.8;
                    width: 0.8vw;
                    height: 0.8vw;
                    margin-right: 0.3vw;
                }
                .options_metric_question .legend div.__2 {
                    color: #1a2e61;
                    line-height: 0px;
                    margin-top: -1px;
                }
                .options_metric_question .legend div.__3 {
                    background-color: #828282;
                    opacity: 0.8;
                    width: 0.8vw;
                    height: 0.8vw;
                    margin-right: 0.3vw;
                }
                .options_metric_question .legend div.__4 {
                    color: #828282;
                    line-height: 0px;
                    margin-top: -1px;
                }






            /*.options_metric_question .legend table {
                border-collapse: collapse;
                border: none;
                border-spacing: 0px;
                table-layout: fixed;
                border: 1px solid red;
            }
            .options_metric_question .legend td {
                padding: 0px;
                text-align: left;
                vertical-align: middle;
                line-height: 0px;
            }
                .options_metric_question .legend td.__1 {
                    width: 1vw;
                }
                .options_metric_question .legend td.__2 {
                    padding-right: 2vw;
                }
                .options_metric_question .legend td.__3 {
                    width: 1vw;
                }
                .options_metric_question .legend td.__4 {
                    color: #828282;
                    opacity: 0.8;
                }
                .options_metric_question .legend td div {
                    display: inline-block;
                    vertical-align: middle;
                    width: 0.8vw;
                    height: 0.8vw;
                }
                .options_metric_question .legend td.__1 div {
                    background-color: #1a2e61;
                }
                .options_metric_question .legend td.__3 div {
                    background-color: #828282;
                    opacity: 0.8;
                }*/



#options_statement .text {
    max-width: 40vw;
    overflow: hidden;
}

#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: 25%;
}
    #quick .q {
        cursor: pointer;
        display: inline-block;
        position: relative;
        margin-left: 1.8vw;
        background-color: transparent;
        border: none;
        font-size: 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: 2vw;
        }
            #quick .q .img img {
                height: 100%;
                width: auto;
                vertical-align: middle;
            }
        #quick .q .title {
            margin-top: 1vw;
            text-align: center;
            line-height: 0%;
            font-weight: bold;
            font-size: 90%;
            color: #1a2e61;
        }

#toggle {
    display: block;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 12%;
    height: 82%;
    padding: 3.5vw 1.5% 0px 1.5%;
    font-size: 82%;
    font-weight: bold;
    line-height: 120%;
}
    #toggle .btn {
        font-weight: bold;
    }
h3 {
    font-size: 100%;
    margin: 0px;
}
    #toggle .c {
        display: block;
        width: 100%;
        margin-top: 1vw;
    }
   /* #options_view .text {
        line-height: 100%;
    }*/
    #swap_cont.c.invisible {
        display: none;
    }
    #toggle .dropdown .text {
        line-height: 120%;
    }
#notes-btn {
    cursor: pointer;
    display: block;
    width: 25%;
    overflow: visible;
    margin-top: 1vw;
}
    #notes-btn div {
        text-align: left;
    }
    #notes-btn div img {
        width: 100%;
        height: auto;
    }
#notes {
    position: relative;
    z-index: -100;
    visibility: hidden;
    opacity: 0;
    margin-top: 1vw;
    width: 280%;
    background-color: white;
    border: 2px solid #1a2e61;
    border-radius: 15px;
    padding: 15px;
}
#notes p {
    font-weight: normal;
    font-style: italic;
    margin: 10px 0px 0px 0px;
}
    #notes p.title {
        font-weight: bold;
        font-style: normal;
        margin: 0px;
    }
main {
    display: block;
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 88%;
    height: 80%;
    background-color: #ffffff;
    border-radius: 3.5vw 0px 0px 0px;
}
#chart {
    display: block;
    position: absolute;
    left: 1.5vw;
    right: 1.5vw;
    bottom: 5vw;
    top: 1.5vw;
    overflow: auto;
}
    #chart-chart {
        display: block;
        width: 100%;
        height: 100%;
    }
        #chart-chart.h1{
            height: 100%;
        }
        #chart-chart.h2 {
            height: 130%;
        }
        #chart-chart.h3 {
            height: 100%;
        }
        #chart-chart.h1_1 {
            height: 130%;
        }

        #chart-chart.h2_1 {
            height: 170%;
        }

        #chart-chart.h3_1 {
            height: 130%;
        }
@media (min-aspect-ratio: 2.3) and (min-width: 1700px) {
    #logo {
        top: 0px;
        height: 100%;
    }

    #notes {
        width: 300%;
    }

    .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 {
        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: 150%;
        font-weight: bold;
    }

    #chart .base-size {
        font-size: 90%;
        font-style: italic;
    }

        #chart .base-size.off {
            display: none;
        }

    #chart .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;
    }

    h4 {
        margin: 3vw 20vw 2.8vw 2vw;
        font-family: 'TelstraDisplay';
        font-size: 350%;
    }

    #chart p {
        margin: 0px 20vw 1.8vw 2vw;
        padding: 0px;
        font-size: 120%;
        line-height: 120%;
        font-family: 'TelstraBodyMedium';
    }

    #chart 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 {
            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;
    }

        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: #f5ede2;
            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;
        }



    #msg-portrait {
        z-index: 9999;
        display: none;
        border-collapse: collapse;
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        background-color: white;
        color: black;
        font-size: 42px;
    }

        #msg-portrait div {
            display: table-cell;
            width: 100%;
            height: 100%;
            text-align: center;
            vertical-align: middle;
        }

    @media screen and (orientation : portrait) {
        #msg-portrait {
            display: table;
        }

        #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: none;
        position: absolute;
        top: 0px;
        left: 0px;
        z-index: 999999;
    }