:root {
    --n-dark: #002041;
    --n-light: #F7F7F9;
    --n-purple: #6E37FA;
    --n-green: #32BBB9;
    --n-orange: #FF9408;
    --n-red: #F40953;
    --wp--preset--gradient--darkroom: linear-gradient(64deg, #000680 0%, #020938 25%, #07456C 50%, #340432 75%);
}

html {
    scroll-padding-top: 2.3rem;
}

body {
    font-family: Inter;
    text-align: justify;
}

.welcome-sub, .welcome {
    text-align: center;
}

.st0 {
    fill: var(--n-purple) !important;
}
.st1 {
    fill: var(--n-red) !important;
}
.st2 {
    fill: var(--n-orange) !important;
}
.st3 {
    fill: var(--n-green) !important;
}
.st4 {
    fill: var(--n-dark) !important;
}

#header a, #header a:visited {
    color: var(--n-dark);
}

.dropmenu ul li a.active, .dropmenu ul li a:focus, .dropmenu ul li a:hover {
    color: var(--n-dark) !important;
}

#header a:hover {
    color: var(--n-purple);
}

#body-wrapper .container {
    padding: none !important;
}

title-center h1, .title-center h2 {
    text-align: left;
    margin: 1.2rem 0;
}

h2.centered-header {
    text-align: center;
}

h3 {
    font-size: 1.625rem;
    font-weight: 800;
    letter-spacing: -.5px;
    line-height: 1.31;
}

.full-width-outer {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    position: relative;
    padding: 1px;
}

.full-width-inner {
    width: 100%;
    margin: auto;
    max-width: 1000px;
    padding: 1px;
}

.width-800 {
    width: 100%;
    max-width: 800px;
    margin: auto;
}

.width-600 {
    width: 100%;
    max-width: 600px;
    margin: auto;
}

.full-width-dark {
    background: var(--n-dark);
    color: var(--n-light);
}

.full-width-light {
    background: var(--n-light);
    color: var(--n-dark);
}

.full-width-purple {
    background: var(--n-purple);
    color: var(--n-light);
}

.hero-image-container {
    display: flex;
}

.hero-image-clip-square {
    height: 480px;
    background: var(--n-dark);
    min-width: 33%;
    width: 33%;
}

.hero-image {
    background: url(https://nielsentvpanel.co.nz/nz/user/pages/home/header-bg.e4eb9bc14f029505.jpg);
    height: 480px;
    background-size: cover;
    background-position: center;
    width: 67%
}

.hero-image-clip {
    clip-path: polygon(-1% 0%, 0% 100%, 15% 100%, 0% 0, 50% 0, 100% 25%, 100% 77%, 75% 100%, 100% 100%, 100% 0%);
    height: 100%;
    background: var(--n-dark);
}

.hero-image-text {
    color: var(--n-light);
}

.hero-image-text .welcome {
    font-size: 1.5rem;
    font-weight: 700;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.hero-image-text .welcome-sub {
    font-size: 1rem;
    padding-bottom: 1.5rem;
}

.inner-blue {
    background: var(--n-dark);
    color: var(--n-light);
}

.inner-blue h2, .full-width-dark h2 {
    color: var(--n-light);
}

.inner-rounded {
    padding: .625rem;
    border-radius: .625rem;
}

.magic-text {
    background: -webkit-linear-gradient(135deg, var(--n-purple), var(--n-green));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fancy-container {
    margin-left: 4rem;
    margin-right: 4rem;
    padding-top: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid;
}

.fancy-container .magic-text {
    font-size: 2rem;
    font-weight: 700;
}

.fancy-left, .fancy-mid, .fancy-right {
    width: 32%;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}

.fancy-mid, .fancy-right {
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}

.fancy-mid {
    font-weight: 500;
    font-size: larger;
}

#hiw-table {
    max-width: 800px;
    width: 100%;
    margin: auto;
}

#hiw-table .first-col {
    width: 25%;
}

.faq-page-container .faq-question-answer {
    text-align: left;
}

#faq-container {
    padding: 0px 20px;
}

.faq-question-answer {
    border-bottom: 1px solid var(--n-purple);
    padding: 10px;
    text-align: center;
}

.faq-question {
    color: var(--n-green);
    cursor: pointer;
}

.faq-closed::before {
    content: "+";
    padding-right: 10px;
}

.faq-open::before {
    content: "-";
    padding-right: 10px;
}

.faq-answer {
    display: none;
    padding: 5px 20px;
}

#more-questions {
    text-align: center;
    margin: auto;
    display: block;
    border: var(--n-purple) 1px solid;
    border-radius: 1.65rem;
    max-width: 500px;
    margin-top: 1rem;
    color: var(--n-purple);
    padding: 0.5rem;
    background: #EAE4FF;
}

#more-questions:hover {
    text-decoration: none;
}

#footer {
    padding-bottom: 1rem;
}

#footer p {
    margin-bottom: 0;
    color: var(--n-dark);
}

.sign-up {
    width: 80%;
    max-width: 600px;
    text-align: center;
    display: block;
    padding: 0.2rem;
    background-color: #9682FF;
    margin: auto;
    cursor: pointer;
    font-size: 1.3rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    color: #F7F7F9;
}

.sign-up:hover {
    background-color: rgb(110, 55, 250);
    color: white;
    text-decoration: none;
}

.sign-up:visited {
    color: white;
    text-decoration: none;
}

.detail-table {
    max-width: 600px;
    width: 100%;
    margin: auto;
}

.detail-image {
    width: 20%;
    padding: 50px;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}


.grey-box-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.grey-box {
    background: var(--n-light);
    width: 40%;
    border-radius: 1.65rem;
    padding: 1rem;
    box-sizing: border-box;
    margin: 1rem;
    line-height: 1.67;
    font-weight: 500;
}

.grey-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.33rem;
    display: block;
    padding-bottom: 0.2rem;
}

.green-text {
    color: var(--n-green);
}

.red-text {
    color: var(--n-red);
}

.purple-text {
    color: var(--n-purple);
}

.orange-text {
    color: var(--n-orange);
}

.form-question {
    margin: 0.5rem;
}

.form-question input[type="text"], .form-question input[type="email"] {
    width: 100%;
    max-width: 400px;
}

.form-question input[type="submit"] {
    width: 100%;
    max-width: 440px;
}

.error-highlight {
    border: 2px solid var(--n-red) !important;
    background-color: #FFAEBB;
}

.answer-row {
    padding-left: 1rem;
    padding-right: 1rem;
}

.form-question > div:nth-child(1) {
    padding-top: 0.5rem;
}

#mgb_age_group_section {
    display: none; 
}

label, input {
    cursor: pointer;
}

.card-title {
    font-size: 1rem;
}

.card-values {
    font-size: 0.8rem;
}

#hero-text-large {
    padding: 0rem 3rem;
}

#hero-text-small {
    display: none;
}

@media screen and (min-width: 1001px) {
    .hero-image-container {
        display: flex;
        justify-content: flex-end;
        background: var(--n-dark);
    }
    
    .hero-image {
        max-width: 50%;       
    }

    .hero-image-clip-square {
        display: flex;
        align-items: center;
        width: unset;
    }

    .hero-image-text {
        width: 100%;
    }  
}

@media screen and (max-width: 999px) {
    .full-width-inner { 
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .fancy-container {
        margin-left: 2rem;
        margin-right: 2rem;
    }
}

@media screen and (max-width: 599px) {
    body {
        font-size: 0.9rem;
    }

    .welcome-sub, h3, #hiw-table strong {
        text-align: center;
    }

    .hero-image {
        background: linear-gradient(0deg, #130b3290, #130b3290), url(https://nielsentvpanel.co.nz/nz/user/pages/home/header-bg.e4eb9bc14f029505.jpg);
        background-size: cover;
        background-position: center;
    }

    .hero-image-clip-square, .hero-image {
        height: 300px;
    }

    #hero-text-small {
        display: block;
        position: absolute;
        top: 0;
        z-index: 1;
    }

    #hero-text-large {
        display: none;
    }

    .hero-image-text {
        margin-top: 20px;
        padding: 20px;
        width: 100%;
    }

    .fancy-container {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
    }

    .grey-box {
        width: 100%;
    }

    .form-question {
        font-size: 1rem;
    }

    tr.sub-detail-container {
        box-sizing: border-box;
        padding: 1rem 0;
        display: block;
    }
}
