/*------------------------------------------------------------------------------
FONTS
------------------------------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Roboto:wght@400;700&display=swap');

/*------------------------------------------------------------------------------
LAYOUT
------------------------------------------------------------------------------*/

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    line-height: 22px;
}

html {
    height: 100%;
}

body {
    position: relative;
    margin: 0;
    padding: 0;
    width:100%;
    height: 100%;
    overflow-x: hidden;
}

.page {
    position: relative;
    min-height: 100%;
    padding-top: 30px;
    padding-bottom: 150px;
    margin: 0 auto;
    /*background:-webkit-radial-gradient(circle farthest-corner at bottom left, #019ce0 0%, #000650 100%);*/
    /*background:-o-radial-gradient(circle farthest-corner at bottom left, #019ce0 0%, #000650 100%);*/
    /*background:-moz-radial-gradient(circle farthest-corner at bottom left, #019ce0 0%, #000650 100%);*/
    /*background:radial-gradient(circle farthest-corner at bottom left, #019ce0 0%, #000650 100%);*/

    background:-webkit-radial-gradient(circle farthest-corner at bottom left, #000650 0%, #019ce0 100%);
    background:-o-radial-gradient(circle farthest-corner at bottom left, #000650 0%, #019ce0 100%);
    background:-moz-radial-gradient(circle farthest-corner at bottom left, #000650 0%, #019ce0 100%);
    background:radial-gradient(circle farthest-corner at bottom left, #000650 0%, #019ce0 100%);
}

.page .width {
    max-width: 1080px;
    margin: 0 auto;
    font-family: Roboto, sans-serif;
    color: white;
    font-size: 20px;
    line-height: 25px;
}

.page .width .inner {
    width: 100%;
    padding-left: 40px;
    padding-right: 40px;
    font-size: 20px;
    line-height: 25px;
}

/*------------------------------------------------------------------------------
STYLING
------------------------------------------------------------------------------*/

a {
    text-decoration: none;
    color: #1a90d9;
    font-weight: 400;
}

h1 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 40px;
    letter-spacing: 0.032em;
    line-height: 36px;
    font-weight: 800;
}

h2 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: white;
    line-height: 25px;
    margin-bottom: 5px;
}

h3 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: white;
    line-height: 18px;
}

p {
    font-family: Roboto, sans-serif;
    color: white;
    font-size: 14px;
    line-height: 22px;
}

ul, ol {
    padding-left: 15px;
}

.footer {
    max-width: 1080px;
    position: absolute;
    display: table-cell;
    left: 0;
    right: 0;
    bottom: 0;
    height: 95px;
    line-height: 95px;
    width: 100%;
    z-index: 100;
    margin-left: auto;
    margin-right: auto;
    margin-top: -95px;
    text-align: center;
    font-size: 12px;
    padding-left: 40px;
    padding-right: 40px;
}

.logo {
    width: 200px;
    height: 57px;
    background-image: url(../images/loi_logo_wit.png);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 57px 57px;
    opacity: 0.5;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: white;
    padding-top: 28px;
    text-align: left;
    padding-left: 65px;
}

a.link {
    font-family: Roboto, sans-serif;
    color: white;
    font-size: 18px;
    line-height: 24px;
    font-weight: bold;
    text-decoration: underline;
}

nav {
    width: 100%;
    height: 20px;
    margin-bottom: 60px;
}

#progressbar {
    width: 100%;
    height: 30px;
    margin-bottom: 70px;
}

@media (max-width: 768px) {
    h1 {
        font-size: 24px;
    }
    p,
    p a {
        font-size: 12px !important;
        line-height: 18px !important;
    }
    .page {
        padding-top: 4vw;
    }
    nav {
        margin-bottom: 8vw;
    }
    .progressbar {
        margin-bottom: 12vw;
    }
    .wbutton {
        height: 40px !important;
        line-height: 36px !important;
        font-size: 20px !important;
        font-weight: bold;
    }
    .logo {
        width: 150px;
        background-size: 45px 45px;
        margin: 0 auto;
        padding-left: 54px;
        padding-top: 27px;
        opacity: 0.6;
        font-size: 14px;
    }
    #progressbar {
        margin-bottom: 6vw;
    }
}

/*------------------------------------------------------------------------------
BUTTONS
------------------------------------------------------------------------------*/

.btn_back,
.btn_close {
    display: inline-block;
    vertical-align: top;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 20px;
    height: 20px;
    background-color: transparent;
    float: right;
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;
    border-radius: 1px;
    background-image: url(../images/btn_close.png);
    background-size: 19px 19px;
    background-position: bottom right;
    background-repeat: no-repeat;
    padding-right: 24px;
    color: white;
    cursor: pointer;
    text-decoration: none;
}

.btn_back {
    padding-left: 24px;
    background-image: url(../images/btn_back.png);
    background-position: bottom left;
}

#btn_back {
    display: inline-block;
}

@media (max-width: 768px) {
    .btn_back {
        font-size: 11px
    }
    .btn_close {
        font-size: 11px;
    }
}

.wbutton {
    display: inline-block;
    background-color: white;
    height: 50px;
    /*border-bottom: 3px solid #bfbfbf;*/
    font-family: "Barlow Condensed", sans-serif;
    font-size: 25px;
    line-height: 45px;
    text-align: center;
    border-radius: 3px;
    margin: 0 auto;
    color: #009fe3;
    cursor: pointer;
    padding-left: 15px;
    padding-right: 15px;
    box-shadow: 0 -3px #bfbfbf inset;
    margin-bottom: 2px;
}

.wbutton.disabled {
    opacity: 0.5;
    cursor: default;
}

.wbutton:hover {
    box-shadow: 0 -1px #bfbfbf inset;
    margin-top: 2px;
    margin-bottom: 0;
}

.wbutton.disabled:hover {
    margin-bottom: 2px;
    box-shadow: 0 -3px #bfbfbf inset;
    margin-top: 0;
}

/*------------------------------------------------------------------------------
VFORM
------------------------------------------------------------------------------*/

table.vform    { width: 100%; table-layout: fixed; max-width: 450px; }
table.vform td { height: 60px; vertical-align: top; }
table.vform td:nth-child(1) { width: 50%; }
table.vform td:nth-child(2) { width: 12px;}
table.vform td:nth-child(3) { width: 50%; }

.form-group {
    position: relative;
    width: 300px;
    max-width: 100%;
}

.form-group input[type="text"] {
    border: 1px solid #b7b7b7;
    color: #333;
    display: block;
    font-size: 14px;
    width: 100%;
    border-radius: 4px;
    padding-left: 8px;
    height: 45px;
    line-height: 22px;
    padding-top: 10px;
}

.form-checkbox input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #fe8633;
    color: white;
    margin-top: 2px;
}

.form-group label {
    color: #a0a0a0;
    font-size: 14px;
    position: absolute;
    top: 0;
    left: 8px;
    pointer-events: none;
    transform: translateY(12px);
}

.form-checkbox input[type=checkbox] {
    display: inline-block;
    vertical-align: top;
}

.form-checkbox .form-cbx-label {
    width: 90%;
    vertical-align: top;
    display: inline-block;
    color: white;
    padding-left: 0;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 18px;
    top: 0;
    cursor: pointer;
    height: 18px;
    vertical-align: top;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.form-group input[type="text"]:valid,
.form-group input[type="text"]:focus {
    /*border-bottom-color: #ee6e73;*/
    outline: none;
}

.form-group input[type="text"]:valid + label,
.form-group input[type="text"]:focus + label {
    font-size: 9px;
    transform: translateY(0px);
}

.form-group label {
    transition: all 0.2s ease-in-out;
}

.form-group .passed {
    position: absolute;
    top: 14px;
    right: 10px;
    width: 19px;
    height: 19px;
    background-image: url(../images/passed.png);
    background-size: 19px 19px;
    background-position: center center;
    background-repeat: no-repeat;
    display: none;
}

.form-group.passed .passed {
    display: block;
}

.vform_error {
    color: white;
    background-color: #fe8633;
    height: 30px;
    line-height: 30px;
    text-align: center;
    margin-bottom: 10px;
    border-radius: 3px;
}

table.vform .buttons {
    color: white;
    font-size: 14px;
    line-height: 18px;
}

table.vform .buttons a {
    color: white;
    font-size: 14px;
    line-height: 18px;
}

@media (max-width: 768px) {
    .form-group label {
        font-size: 13px;
    }
}

/*------------------------------------------------------------------------------
PAGE: intro
------------------------------------------------------------------------------*/

.page.intro p {
    font-family: Roboto, sans-serif;
    color: white;
    font-size: 18px;
    line-height: 24px;
}

.page.intro p a {
    color: white;
    font-size: 18px;
    line-height: 24px;
    text-decoration: underline;
}

/*------------------------------------------------------------------------------
PAGE: optin
------------------------------------------------------------------------------*/

.page.optin .wbutton {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 24px;
}

.page.optin a.privacy {
    text-decoration: underline;
    color: white;
}

.page.optin p {
    font-size: 14px;
    line-height: 18px;
}

@media (max-width: 768px) {
    .form-checkbox .form-cbx-label {
        font-size: 12px;
        line-height: 18px;
        width: 80%;

    }
}

/*------------------------------------------------------------------------------
PAGE: info
------------------------------------------------------------------------------*/

.page.info #progressbar {
    display: none;
}

.page.info b {
    font-size: 18px;
    line-height: 24px;
}

.page.info p {
    font-size: 18px;
    line-height: 24px;
}

/*------------------------------------------------------------------------------
PAGE: exit
------------------------------------------------------------------------------*/

.page.exit table.vform                 { width: 100%; max-width: 450px; }
.page.exit table.vform td:nth-child(1) { width: 100%; }
.page.exit table.vform td:nth-child(2) { width: 20px;}
.page.exit table.vform td:nth-child(3) { width: 130px; padding-right:40px; text-align: right; }
.page.exit table.vform .wbutton        { background-color: #009fe3; color: white; width: 130px; font-family: "Roboto", sans-serif; font-size: 20px; font-weight: bold; height: 45px; line-height: 45px; }
.page.exit .mb_label { display: none; margin-bottom: 5px; }

@media (max-width: 768px) {
    .page.exit .wbutton {
        width: 100%;
    }
    .page.exit table.vform .wbutton {
        font-size: 18px !important;
    }
    .page.exit .form-group input[type="text"] {
        height: 40px;
        line-height: 40px;
        padding-top: 0;
    }
    .page.exit .form-group label {
        display: none;
    }
    .page.exit .mb_label {
        display: block;
        font-size: 13px;
    }
    .page.exit .form-group .passed {
        top: 12px;
        right: 4px;
    }
    .page.exit table.vform td:nth-child(2) {
        width: 15px;
    }
}
/*------------------------------------------------------------------------------
PAGE: noaccess
------------------------------------------------------------------------------*/

.page.noaccess p {
    font-size: 18px;
    line-height: 24px;
}

/*------------------------------------------------------------------------------
PAGE: result
------------------------------------------------------------------------------*/

.page.result hr {
    border-top: 3px solid #009fe3;
    border-bottom: none;
    margin-top: 20px;
}

.page.result .cnt_graph {
    position: relative;
    width: 75%;
    aspect-ratio: 1.9179;
    margin: 0 auto;
}

.page.result .graph {
    display: block;
    width: 100%;
    height: 100%;
}

.page.result .graph_perc {
    position: absolute;
    bottom: 16px;
    left: calc(50% - 150px);
    width: 300px;
    height: 120px;
    line-height: 120px;
    background-color: transparent;
    text-align: center;
    font-weight: bold;
    font-size: 100px;
    padding-top: 10px;
}

.page.result p.subtitle {
    font-size: 16px;
    line-height: 22px;
}

.page.result .totaltext {
    text-align: center;
    padding: 0 14% 0 14%;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 30px;
    line-height: 35px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page.result .scales {
    margin-top: 40px;
    margin-bottom: 60px;
}

.page.result .scale {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin-bottom: 20px;
}

.page.result .label {
    width: 35%;
    font-family: "Barlow Condensed", sans-serif;
    font-size: 20px;
    height: 40px;
    line-height: 36px;
    letter-spacing: 0.008em;
}

.page.result .bar {
    width: 65%;
    background-color: white;
    border-radius: 4px;
    position: relative;
    padding:0;
    height: 40px;
}

.page.result .fill {
    position: relative;
    background-color: #fe8633;
    border-radius: 4px;
    height: 40px;
    line-height: 40px;
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    font-size: 18px;
    text-align: right;
    padding-right: 5px;
}

.page.result .fill .perc {
    height: 40px;
    line-height: 40px;
}

.page.result .fill.black .perc {
    position: absolute;
    color: black;
    right: -34px;
}

.page.result p {
    font-size: 14px;
    line-height: 18px;
}

.page.result .wbutton.btn1 {
    margin-right: 20px;
}

.page.result .wbutton.btn2 {
}

@media (max-width: 768px) {
    .page.result .cnt_graph {
        width: 100%;
    }
    .page.result .totaltext {
        font-size: 4vw;
        line-height: 5vw;
        padding: 0;
        margin-top: 4vw;
        margin-bottom: 4vw;
    }
    .page.result .scale {
        flex-wrap: wrap;
    }
    .page.result .label {
        width: 100%;
    }
    .page.result .bar {
        width:  100%;
    }
    .page.result .wbutton.btn1 { display: block; float: none; margin: 0 auto; }
    .page.result .wbutton.btn2 { display: block; float: none; margin: 30px auto 0; }
}

@media (max-width: 1024px) {
    .page.result .graph_perc {
        height: 11.8vw;
        font-size: 9.5vw;
        line-height: 11.8vw;
    }
}

.page.result h1
{
    letter-spacing: 0;
    font-weight: 600;
}
.page.result h1
{
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    h1 {
        font-size: 24px;
    }
}
