@import url(/cdn/resources/css/fonts.css);
@import url(/cdn/resources/css/browserwarning.css);

* {
    box-sizing: border-box;
}

:root {
    --ni-cool-white: #F7F7F7;
}

body {
    overflow-x: hidden;
    margin: 0px;
}

#measurementslivewrapper {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex: 0 0 48px;
    width: 100%;
    align-items: stretch;
    z-index: 100;
    background: url(data:image/svg+xml,%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_2%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20xmlns%3Axlink%3D%22http%3A//www.w3.org/1999/xlink%22%20x%3D%220px%22%20y%3D%220px%22%0A%09%20viewBox%3D%220%200%20600.5786743%2030.5919056%22%20style%3D%22enable-background%3Anew%200%200%20620.5786743%2030.5919056%3B%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Cstyle%20type%3D%22text/css%22%3E%0A%09.st0%7Bfill%3A%23065FA3%3B%7D%0A%09.st1%7Bopacity%3A0.17%3Bfill%3A%23387FB5%3B%7D%0A%09.st2%7Bopacity%3A0.3%3Bfill%3A%23387FB5%3B%7D%0A%09.st3%7Bopacity%3A0.25%3Bfill%3A%23387FB5%3B%7D%0A%3C/style%3E%0A%3Cg%3E%0A%09%3Crect%20class%3D%22st0%22%20width%3D%22620.5786743%22%20height%3D%2230.5919056%22/%3E%0A%09%3Crect%20y%3D%225.2631235%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%2225.328783%22/%3E%0A%09%3Crect%20x%3D%2211.492198%22%20y%3D%2228.2892895%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%222.3026166%22/%3E%0A%09%3Crect%20x%3D%2222.984396%22%20class%3D%22st2%22%20width%3D%2211.492198%22%20height%3D%2230.5919056%22/%3E%0A%09%3Crect%20x%3D%2234.476593%22%20y%3D%2216.4472618%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%2214.1446447%22/%3E%0A%09%3Crect%20x%3D%2245.968792%22%20y%3D%227.5657401%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%2223.026165%22/%3E%0A%09%3Crect%20x%3D%2257.4609871%22%20class%3D%22st3%22%20width%3D%2211.492198%22%20height%3D%2230.5919056%22/%3E%0A%09%3Crect%20x%3D%2268.953186%22%20y%3D%229.8683567%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%2220.7235489%22/%3E%0A%09%3Crect%20x%3D%2280.4453812%22%20y%3D%2220.0656586%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%2210.526247%22/%3E%0A%09%3Crect%20x%3D%22103.4297791%22%20y%3D%2212.8288641%22%20class%3D%22st2%22%20width%3D%2211.492198%22%20height%3D%2217.7630424%22/%3E%0A%09%3Crect%20x%3D%22114.9219742%22%20y%3D%2219.0788231%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%2211.5130825%22/%3E%0A%09%3Crect%20x%3D%22126.4141693%22%20class%3D%22st3%22%20width%3D%2211.492198%22%20height%3D%2230.5919056%22/%3E%0A%09%3Crect%20x%3D%22149.3985748%22%20y%3D%2225.328783%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%225.2631235%22/%3E%0A%09%3Crect%20x%3D%22160.8907623%22%20y%3D%223.9473426%22%20class%3D%22st2%22%20width%3D%2211.492198%22%20height%3D%2226.6445637%22/%3E%0A%09%3Crect%20x%3D%22172.3829651%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%2230.5919056%22/%3E%0A%09%3Crect%20x%3D%22183.8751678%22%20y%3D%2221.3814392%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%229.2104664%22/%3E%0A%09%3Crect%20x%3D%22195.3673553%22%20y%3D%2212.1709738%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%2218.4209328%22/%3E%0A%09%3Crect%20x%3D%22218.3517456%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%2230.5919056%22/%3E%0A%09%3Crect%20x%3D%22229.8439484%22%20y%3D%2213.4867544%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%2217.1051521%22/%3E%0A%09%3Crect%20x%3D%22241.3361511%22%20y%3D%228.5525761%22%20class%3D%22st3%22%20width%3D%2211.492198%22%20height%3D%2222.0393295%22/%3E%0A%09%3Crect%20x%3D%22252.8283386%22%20class%3D%22st2%22%20width%3D%2211.492198%22%20height%3D%2230.5919056%22/%3E%0A%09%3Crect%20x%3D%22275.8127441%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%2230.5919056%22/%3E%0A%09%3Crect%20x%3D%22287.3049316%22%20class%3D%22st3%22%20width%3D%2211.492198%22%20height%3D%2230.5919056%22/%3E%0A%09%3Crect%20x%3D%22298.7971497%22%20y%3D%2215.7893705%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%2214.8025351%22/%3E%0A%09%3Crect%20x%3D%22310.2893372%22%20y%3D%229.2104664%22%20class%3D%22st3%22%20width%3D%2211.492198%22%20height%3D%2221.3814392%22/%3E%0A%09%3Crect%20x%3D%22333.2737427%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%2230.5919056%22/%3E%0A%09%3Crect%20x%3D%22344.7659302%22%20y%3D%2216.776207%22%20class%3D%22st3%22%20width%3D%2211.492198%22%20height%3D%2213.8156996%22/%3E%0A%09%3Crect%20x%3D%22356.2581177%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%2230.5919056%22/%3E%0A%09%3Crect%20x%3D%22367.7503357%22%20y%3D%2224.9998379%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%225.5920687%22/%3E%0A%09%3Crect%20x%3D%22379.2425232%22%20class%3D%22st2%22%20width%3D%2211.492198%22%20height%3D%2230.5919056%22/%3E%0A%09%3Crect%20x%3D%22390.7347107%22%20y%3D%2220.7235489%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%229.8683567%22/%3E%0A%09%3Crect%20x%3D%22402.2269287%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%2230.5919056%22/%3E%0A%09%3Crect%20x%3D%22413.7191162%22%20y%3D%2210.526247%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%2220.0656586%22/%3E%0A%09%3Crect%20x%3D%22425.2113037%22%20class%3D%22st3%22%20width%3D%2211.492198%22%20height%3D%2230.5919056%22/%3E%0A%09%3Crect%20x%3D%22436.7034912%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%2230.5919056%22/%3E%0A%09%3Crect%20x%3D%22459.6878967%22%20y%3D%228.5525761%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%2222.0393295%22/%3E%0A%09%3Crect%20x%3D%22471.1800842%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%2230.5919056%22/%3E%0A%09%3Crect%20x%3D%22482.6723022%22%20y%3D%2219.4077682%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%2211.1841373%22/%3E%0A%09%3Crect%20x%3D%22505.6566772%22%20class%3D%22st3%22%20width%3D%2211.492198%22%20height%3D%2230.5919056%22/%3E%0A%09%3Crect%20x%3D%22517.1488647%22%20y%3D%228.8815212%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%2221.7103844%22/%3E%0A%09%3Crect%20x%3D%22528.6411133%22%20class%3D%22st2%22%20width%3D%2211.492198%22%20height%3D%2230.5919056%22/%3E%0A%09%3Crect%20x%3D%22540.1333008%22%20class%3D%22st3%22%20width%3D%2211.492198%22%20height%3D%2230.5919056%22/%3E%0A%09%3Crect%20x%3D%22563.1176758%22%20y%3D%2213.8156996%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%2216.776207%22/%3E%0A%09%3Crect%20x%3D%22574.6098633%22%20class%3D%22st3%22%20width%3D%2211.492198%22%20height%3D%2230.5919056%22/%3E%0A%09%3Crect%20x%3D%22597.5942993%22%20y%3D%2226.9735088%22%20class%3D%22st1%22%20width%3D%2211.492198%22%20height%3D%223.6183975%22/%3E%0A%09%3Crect%20x%3D%22609.0864868%22%20class%3D%22st3%22%20width%3D%2211.492198%22%20height%3D%2230.5919056%22/%3E%0A%3C/g%3E%0A%3C/svg%3E%0A) left top repeat fixed rgb(62, 123, 170);
    height: 48px;
}

.measurementslive-logo {
    width: 300px;
    height: 48px;
    padding: 11px 10px 9px 10px;
    display: block;
}

measurements-live {
    flex: 1 1 auto;
}

.logo {
    align-self: center;
    width: 665px;
    height: 200px;
    min-width: 665px;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.button-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.box {
    box-shadow: 2px 2px 5px rgba(0,0,0,0.03);
    z-index: 1;
    align-items: start;
    font-family: Lato, sans-serif;
    font-size: 24px;
    border-bottom: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
}

.box.flex {
    position: absolute;
    top: 48px;
    bottom: 65px;
    right: 0;
    left: 0;
    padding: 0 20px 20px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-bottom-width: 0;
    border-right-width: 0;
}

.box .start-button {
    color: var(--ni-cool-white);
    font-family: Lato, sans-serif;
    text-decoration: none;
    border-width: 0;
    padding: 0;
    height: 280px;
    width: 560px;
    max-height: 280px;
    max-width: 560px;
    display: none;
    flex-direction: column;
    justify-content: left;
    text-align: center;
    margin: 0 60px 0 0;
}

.start-button:focus {
    outline: 0;
}

#start-button-img {
    flex: 1;
    width: -webkit-fill-available;
    width: -moz-available;
    background: rgba(0, 102, 153, .95) url('../../resources/new-100x100.svg') no-repeat center;
    background-size: 100px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#start-button-text {
    flex: 1;
    width: -webkit-fill-available;
    width: -moz-available;
    padding: 0 20px 0 20px;
    opacity: 0.95;
    background-color: #FFFFFF;
    color: #575757;
    text-decoration: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
}

.start-button:focus {
    outline: 0;
}

.box .take-measurements-button,
.box .take-simulation-button {
    color: var(--ni-cool-white);
    font-family: Lato, sans-serif;
    text-decoration: none;
    border-width: 0;
    padding: 0;
    height: 280px;
    width: 280px;
    max-width: 280px;
    max-height: 280px;
    display: none;
    flex: 1;
    flex-direction: column;
    justify-content: left;
    text-align: center;
}

.take-measurements-button:focus,
.take-simulation-button:focus {
    outline: 0;
}

#take-measurements-button-img,
#take-simulation-button-img {
    flex: 1;
    width: -webkit-fill-available;
    width: -moz-available;
    background-size: 80px 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#take-measurements-button-img {
    background: rgba(0, 102, 153, .95) url('../../resources/measure-100x100.svg') no-repeat center;
    background-size: 80px 80px;
}

#take-simulation-button-img {
    background: rgba(0, 102, 153, .95) url('../../resources/demo-100x100.svg') no-repeat center;
    background-size: 80px 80px;
}

#take-measurements-button-text,
#take-simulation-button-text {
    flex: 1;
    width: -webkit-fill-available;
    width: -moz-available;
    padding: 0 20px 0 20px;
    opacity: 0.95;
    background-color: #FFFFFF;
    color: #575757;
    text-decoration: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inner-button-text {
    padding: 0;
    visibility: visible;
    font-family: Lato, sans-serif;
    font-size: 14px;
    color: #006699;
}

.cookies-container {
    position:fixed;
    top:48px;
    left:0;
    width:100%;
    min-height: 80px;
    background-color: rgba(68,68,68,1);
    color:#fff;
    font-family: Lato, sans-serif;
    font-size: 12pt;
    display: none;
    flex-direction: row;
    vertical-align: middle;
    z-index: 2;
}

.cookies-container a {
    color: #fff;
}

.cookies-container p {
    margin: 0;
}

.cookies-container .left-column {
    display: flex;
    flex-grow: 7;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
}

.cookies-container .right-column {
    display: flex;
    flex-grow: 3;
    align-items: center;
    margin: 10px 20px 10px 0;
}

.getting-started-button {
    color: var(--ni-cool-white);
    background-color: #065fa3;
    border: 2px solid #065fa3;
    padding: 30px 50px 30px 50px;
}

.measurementslive-button {
    color: var(--ni-cool-white);
    background-color: transparent;
    border: 2px solid #fff;
    padding: 12px 15px 12px 15px;
}

.measurementslive-button:hover {
    background-color: #fff;
    color: #065FA3;
    cursor: pointer;
}

#offline-carousel {
    bottom: 64.4px;
}

.background-image {
    position: absolute;
    top: 48px;
    left: 0;
    right: 0;
    height: calc(100% - 55px);
    width: 100%
}

.image-container {
    width: 100%;
    height: 100%;
}

.image-container img {
    width: 100%;
    object-fit: cover;
    overflow: hidden;
    height: 100%;
}

.footer {
    position: relative;
}

#off-window-content-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.row{
    position: relative;
    border-top: 2px solid #3399CC;
    border-bottom: 2px solid #3399CC;
}

.row::after {
    content: "";
    clear: both;
    display: table;
}

[class*="col-"] {
    float: left;
    width: 33.33%;
    padding: auto;
    border-right: 2px solid #3399CC;
    height: 96px;
}

.col-2 {
    border-right-width: 0;
}

.center-text {
    padding: 0 20px;
    background-color: white;
    font-family: Lato;
    font-size: 20px;
}

.center-text a {
    text-decoration: none;
    color: #003366;
    text-align: center;
    position: relative;
    float: left;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.center-text a:hover {
    color: #0066cc;
}

#footer {
    position: relative;
}

#offline-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.button-container[offline] .start-button,
.button-container[offline] .take-measurements-button {
    display: flex;
}

.button-container[online] .start-button,
.button-container[online] .take-measurements-button,
.button-container[online] .take-simulation-button {
    display: flex;
}

@media only screen and (orientation:landscape) and (min-width: 1024px) {
    .button-container[online] .take-measurements-button {
        margin: 0 60px 0 0;
    }
}

/* Compress the button width, when the screen width not enough but still can show button in row, for example, ipad */
@media only screen and (max-width: 1280px) and (min-width: 1024px) {
    .box .start-button,
    .box .take-measurements-button,
    .box .take-simulation-button {
        flex: 1;
    }

    .button-container {
        width: -webkit-fill-available;
        justify-content: center;
    }
}

@media only screen and (max-height: 700px) and (max-width: 1023px)  {
    /* When the windows is not tall enough, give 64px space for the background picture and hidden the button img */
    #online-carousel {
        bottom: 64px;
    }
    #start-button-img,
    #take-measurements-button-img,
    #take-simulation-button-img {
        display: none;
    }
}

@media only screen and (max-height: 900px) and (max-width: 1023px)  {
    /* When the windows is not tall enough, give 64px space for the background picture and hidden the button img */
    .button-container {
        height: 100%;
    }
}

@media only screen and (min-height: 901px) and (max-width: 1023px)  {
    /* When the windows is not tall enough, give 64px space for the background picture and hidden the button img */
    .button-container {
        height: fit-content;
    }
}

/* show three button in column when width not enough*/
@media only screen and (max-width: 1023px) {
    .box.flex {
        flex-direction: column;
    }

    .box .start-button,
    .box .take-measurements-button,
    .box .take-simulation-button {
        height: 210px;
        max-width: 280px;
        flex: 1;
        margin: 0 0 10px 0;
    }

    #start-button-text,
    #take-measurements-button-text,
    #take-simulation-button-text {
        max-height: 140px;
        flex: 2;
    }

    #start-button-text p,
    #take-measurements-button-text p,
    #take-simulation-button-text p {
        margin-block-start: 10px;
        margin-block-end: 10px;
    }

    #start-button-img,
    #take-measurements-button-img,
    #take-simulation-button-img {
        flex: 1;
        min-height: 70px;
        max-height: 70px;
    }

    #start-button-img {
        background-size: 50px 50px;
    }

    #take-measurements-button-img,
    #take-simulation-button-img {
        background-size: 40px 40px;
    }

    .logo {
        width: 280px;
        height: 100px;
        min-width: unset;
    }

    #word-logo {
        display: none;
    }

    .button-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

/* show three button in column when mobile orientation is portrait */
@media only screen and (orientation: portrait) {
    .box.flex {
        flex-direction: column;
    }

    .box .start-button,
    .box .take-measurements-button,
    .box .take-simulation-button {
        height: 210px;
        max-width: 280px;
        flex: 1;
        margin: 0 0 10px 0;
    }

    #start-button-text,
    #take-measurements-button-text,
    #take-simulation-button-text {
        max-height: 140px;
        flex: 2;
    }

    #start-button-text p,
    #take-measurements-button-text p,
    #take-simulation-button-text p {
        margin-block-start: 10px;
        margin-block-end: 10px;
    }

    #start-button-img,
    #take-measurements-button-img,
    #take-simulation-button-img {
        flex: 1;
        min-height: 70px;
        max-height: 70px;
    }

    #start-button-img {
        background-size: 50px 50px;
    }

    #take-measurements-button-img,
    #take-simulation-button-img {
        background-size: 40px 40px;
    }

    .logo {
        width: 280px;
        height: 100px;
        min-width: unset;
    }

    #word-logo {
        display: none;
    }

    .button-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}

/* hide button img when height is less than 740, when button show in column */
@media only screen and (orientation: portrait) and (max-height: 740px) {
    /* When the windows is not tall enough, give 64px space for the background picture and hidden the button img */
    #online-carousel {
        bottom: 64px;
    }
    #start-button-img,
    #take-measurements-button-img,
    #take-simulation-button-img {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    /* For mobile phones */
    .cookies-container {
        flex-direction: column;
    }
    .cookies-container .left-column {
        margin-top: 10px;
    }
    .cookies-container .right-column {
        flex-grow: 0;
        justify-content: flex-end;
    }
    [class*="col-"] {
        width: 100%;
        height: 96px;
        border-bottom: 2px solid #3399CC;
        border-right-width: 0;
    }
    .col-2 {
        border-bottom-width: 0;
    }
    /* shrink the carousel when the offline footer wraps and become taller */
    #offline-carousel {
        bottom: 114px;
    }

    .box.flex,
    .logo-container {
        bottom: 114px;
        padding-top: 0;
    }
}

@media only screen and (max-width: 768px) and (min-height: 651px) {
    /* Change footer height when the window is narrow but tall. */
    #online-carousel {
        bottom: 114px; /* The height of footer. */
    }
    /* keep the footer */
    #off-window-content-container {
        bottom: 0;
    }
}

/* Show the 3 buttons in row with ni-footer in browser window when the window is wide and tall. */
@media only screen and (min-width: 769px) and (min-height: 651px) {
    #online-carousel {
        bottom: 63px; /* The height of footer plus a 2px margin for high DPI monitors. Row and 3 buttons removed. */
    }
}

/* hide the offline footer when the height is not enough */
@media only screen and (max-height: 360px) {
    #offline-carousel {
        bottom: 0;
    }
    #offline-footer {
        top: 100%;
    }
}

/* iphone 5/SE horizontal */
@media only screen and (max-height: 450px) and (orientation:landscape) {
    .button-container {
        flex-direction: row;
        height: fit-content;
        width: -webkit-fill-available;
    }
    .box .start-button,
    .box .take-measurements-button,
    .box .take-simulation-button {
        padding: 10px;
        margin: 0 auto;
        height: 120px;
    }
    #start-button-img,
    #take-measurements-button-img,
    #take-simulation-button-img {
        display: none;
    }
    .logo {
        height: 30px;
    }
    .box.flex,
    .logo-container {
        bottom: 80px;
    }
    .inner-button-text {
        display: block;
    }
    .box {
        font-size: 15px;
    }
    .inner-button-text {
        font-size: 11px;
    }
}
