﻿
:root {
    --color-white: #ffffff;
    --color-grey-light: #EEEEEE;
    --color-grey-mid: #EBEBEB;
    --color-grey-dark: #333;
    --color-gold: #ebc781;
    --color-blue-dark: #163C6A;
    --color-blue-light: #046eae;
    --color-blue-lighter: #25a6da;
    --color-red: #b92026;
    --color-red-dark: #951b1e;
    --color-orange: #F18F24;
    --color-yellow-light: #ebc781;
    --color-yellow-dark: #fbd393;
    --color-pink: #f5ded8;
    --color-cream: #fff0e1;
    --color-cream-dark: #fde3cb;
    --gradient-gold: linear-gradient(90deg, rgba(163,132,96,1) 0%, rgba(240,204,134,1) 17%);
    --gradient-gold-reverse: linear-gradient(90deg, rgba(240,204,134,1) 0%, rgba(163,132,96,1)87%);
}

.bg-white {
    background-color: #fff;
}

.bg-red {
    background-color: var(--color-red);
}

.bg-red-dark {
    background-color: var(--color-red-dark);
}

.bg-gold {
    background-color: var(--color-gold);
}

.bg-blue-dark {
    background-color: var(--color-blue-dark)
}

.bg-grey {
    background-color: var(--color-grey-light);
}

.bg-yellow {
    background-color: var(--color-yellow-light);
}

.bg-orange {
    background-color: var(--color-orange);
}

.bg-pink {
    background-color: var(--color-grey-light);
    color: var(--color-grey-dark);
}

.bg-cream {
    background-color: var(--color-cream);
}

.m-none{
    display:none;
}

.text-red {
    color: var(--color-red);
}

.text-red-dark {
    color: var(--color-red-dark);
}

.text-blue {
    color: var(--color-blue-dark);
}

.text-blue-light {
    color: var(--color-blue-light);
}

.text-gold {
    color: var(--color-gold);
}

.text-grey {
    color: var(--color-grey-dark);
}

.btn {
    border-radius: .5rem;
    padding: .75rem 1.5rem;
}

hr.red {
    border-color: var(--color-red);
}

.underline {
    padding-bottom: 30px;
    position: relative;
}

    .underline:after {
        content: '';
        border-bottom: solid 2px var(--color-gold);
        width: 80px;
        left: calc(50% - 40px);
        position: absolute;
        bottom: 0;
    }

.landing-content {
    background-image: url(../img/bg-landing-R1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    min-height: 50vw;
}

.bg-header {
    background-image: url(../img/header-quiz-R1.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw;
    height: 24.267vw;
}

.header-back-to-basics{
    max-width: 100%;
}
.heading-nyng {
    height: auto;
}

.btn-restart {
    position: absolute;
    top: -1rem;
    right: 1rem;
}

.quiz-content {
    background-color: #056dae;
    background-image: url(../img/bg-quiz-content.png);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: top center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

    .quiz-content .container {
        position: relative;
    }


.quizform {
    background-color: var(--color-red);
}

.quizresults-content,
.quizform-content {
    background-color: var(--color-blue-light);
    background-image: url(../img/bg-form.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: top center;
}

.quizform-content .container {
    background-color: var(--color-blue-dark);
    border-top: solid 3px var(--color-blue-lighter);
    border-bottom: solid 3px var(--color-blue-lighter);
    margin-bottom: 40px;
}

.form-content {
}

#heading-xsell {
    background-color: var(--color-blue-dark);
    color: var(--color-white);
    padding: 1em 1.5em;
    border-radius: 1em;
    margin-top: -1.5em;
    display: inline-block;
    font-weight: bold;
}

.results {
    background-color: var(--color-grey-light);
    padding: 2rem;
}

    .results .results-content {
        border: solid 2px var(--color-blue-light);
        position: relative;
        width: 100%;
        min-height: 400px;
        padding-bottom: 30px;
    }

        .results .results-content .top.left {
            position: absolute;
            top: -2px;
            left: -2px
        }

        .results .results-content .top.right {
            position: absolute;
            top: -2px;
            right: -2px;
        }

        .results .results-content .bot.left {
            position: absolute;
            bottom: -2px;
            left: -2px;
        }

        .results .results-content .bot.right {
            position: absolute;
            bottom: -2px;
            right: -2px;
        }

.chart {
    width: 300px;
    height: 150px;
    position: relative;
    display: block;
    margin: 0 auto;
}

    .chart .stretch,
    .chart .grow,
    .chart .save,
    .chart .protect {
        position: absolute;
        height: 150px;
    }

    .chart .center {
        position: absolute;
        height: 80px;
        left: 110px;
        bottom: -40px;
        z-index: 1;
    }

    .chart .stretch {
        transform: rotateZ(-67.5deg);
        top: 48px;
        left: 22px;
    }

    .chart .grow {
        transform: rotateZ(-22.5deg);
        top: 7px;
        left: 62px;
    }

    .chart .save {
        transform: rotateZ(22.5deg);
        top: 6px;
        right: 68px;
    }

    .chart .protect {
        transform: rotateZ(67.5deg);
        top: 45px;
        right: 26px;
    }

#xsells {
    position: relative;
    padding-bottom: 6rem;
}

#xselltoggle {
    text-align: center;
    width: 200px;
    position: absolute;
    bottom: 2rem;
    left: calc(50% - 100px);
}

.row.xsell {
    padding-top: 40px;
    display: none;
}

    .row.xsell.show {
        padding-top: 40px;
        display: flex;
    }

    .row.xsell:first-of-type {
        padding-top: 0;
        display: flex;
    }

    .row.xsell:nth-of-type(even) {
        background-color: var(--color-grey-mid);
    }

.progressbar {
    width: 100%;
    position: relative;
}

    .progressbar span {
        display: none;
        font-size: 14px;
    }

.modal-content {
    background-color: var(--color-grey-light);
}

.modal-header {
    border-bottom: none;
}
#tncmoretoggle:before{content:'Show more'; font-weight:bold;}
#tncmoretoggle[aria-expanded="true"]:before {
    content: 'Show less'
}
#plt {
    margin-top: 3rem;
    border-bottom: solid 6px #46B7E6;
    position: relative;
}

    #plt img {
        margin-bottom: -1px;
    }

    #plt:after {
        position: absolute;
        right: 0;
        bottom: -6px;
        content: '';
        width: 8px;
        height: 8px;
        display: block;
        background-color: var(--color-blue-dark);
    }

@media (min-width: 576px) {
    .heading-nyng {
        height: auto;
    }

    .quiz-content {
        min-height: 576px;
    }

    .progressbar span {
        position: absolute;
        top: .2rem;
        right: 1rem;
        color: #000;
        display: block
    }
}

@media (min-width: 768px) {
    .bg-header {
    height: 12.267vw;
}
    
    .header-back-to-basics{
    max-width: 65%;
}
    
    .heading-nyng {
        height: 70px;
    }

    .btn-restart {
    position: absolute;
    top: -1rem;
    right: 0;
}
    
    .quiz-content {
        min-height: 480px;
    }
}

@media (min-width: 992px) {
    .heading-nyng {
        height: 79px;
    }

    .quiz-content {
        min-height: 500px;
    }
}

@media (min-width: 1200px) {
    .heading-nyng {
        height: 128px;
    }
    
    .m-none{
    display:block;
}
}

@media (min-width: 1500px) {

    .heading-nyng {
        height: 120px;
    }
}
