﻿:root {
    --blue: #2f4aa0;
    --blue-2: #324ea8;
    --font-family: Arial,Helvetica,sans-serif;
    --red: #de0033;
}

body {
    margin: 0px !important;
    background-image: url(/App_Themes/Newsmax/images/NewPollDesign/NewsmaxPoll_background.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: sans-serif;
}

.survey-bg {
    min-height: 100vh; /* at least full screen */
    width: 100%; /* full width */
    overflow: auto;
}

.survey-offical-header {
    text-align: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.survey-offical-header img {
    display: inline-block;
}

.survey-title-header {
    height: auto;
    background-image: url(/App_Themes/Newsmax/images/NewPollDesign/NewPoll-BlueBkgd.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #254483;
}

.survey-header-image {
    max-height: 400px;
    background-color: #100C0D;

    /* Display (order matters: oldest → newest) */
    display: -webkit-box; /* iOS 6–8, Safari 6–7 (legacy) */
    display: -webkit-flex; /* Safari 6.1–9 */
    display: flex; /* Safari 10+ and modern browsers */

    /* Direction (column) */
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;

    /* Cross‑axis alignment (center) */
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    
    /* (Optional) If content spills beyond 400px */
    /*overflow: hidden;*/
}

.survey-header-image img {
    width: 100%;
    max-height: 400px;
}

.survey-title-header h1 {
    color: #fff;
    font-family: sans-serif;
    padding: 0px;
    margin: 0px;
    text-align: center;
    padding-top: 25px;
    padding-bottom: 25px;
}

.survey-title-container {
    width: min(100%, 600px);
    margin: 0 auto;
    align-items: center;
    -webkit-align-items: center;
    text-align: center;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    padding: 10px;
}

.survey-image-footer-note {
    position: relative;
    top: -15px;
    background-color: #ed4b4b;
    padding: 7px;
    width: 310px;
    color: #fff;
    font-family: sans-serif;
    text-align: center;
}

.survey-content {
    overflow: auto;
    min-height: 300px;
}

.survey-poll-description {
    width: min(100%, 600px);
    /*padding: 30px 30px 0px;*/
}

    .survey-poll-description p {
        margin-top: 10px;
        font-family: sans-serif;
    }

.survey {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
}

.survey-questions-form {
    width: min(100%, 600px);
    /*padding: 30px;*/
}

.survey-footer {
    height: 100px;
    display: flex;
}

#survey-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 10px 0 30px;
}

#survey-footer a:hover {
    text-decoration: underline;
}

#survey-footer a {
    font-size: 14px;
    text-decoration: none;
    color: var(--blue);
}

.form__group .error {
    color: var(--red);
    font-size: small;
}

.survey-header-text {
    color: var(--blue);
    text-align: center;
}

.red-nmx {
    color: var(--red) !important;
}

.white-nmx {
    color: #fff !important;
    font-size: 1.4em;
}

.survey-header-image-footer {
    display: flex;
    position: relative;
    bottom: 90px;
}

.survey-header-image-footer div {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
}

.survey-header-image-footer div span.red-text {
    font-size: 3em;
}

.survey-header-image-footer-clear {
    height: 60px;
    width: 2px;
    background-color: #fff;
    margin: 12px 20px 0 20px;
}

.btn {
    border: 0;
    cursor: pointer;
    font-weight: 800;
    letter-spacing: .02em;
    border-radius: 999px;
    padding: 14px 28px;
    font-size: 16px;
    transition: transform .08s ease, filter .15s ease, opacity .15s ease;
    text-decoration: none;
}