:root {
    --green: #346D36;
    --light-green: #85b487;
    --red: #b32431;
    --light-red: #C83240;
    --blue: var(--red);
    --light-blue: var(--light-red);
}


.social-icons-small-sprite, .social-icons-small-fb, .social-icons-small-pinterest, .social-icons-small-plus, .social-icons-small-tumblr, .social-icons-small-twitter, .name-generator .name-result .share ul li a i.fb, .name-generator .name-result .share ul li a i.pin, .name-generator .name-result .share ul li a i.twitter, .name-generator .name-result .share ul li a i.tumblr, .name-generator .name-result .share ul li a i.plus, .poll .wrap .poll-results .poll-socials ul li a i.fb, .poll .wrap .poll-results .poll-socials ul li a i.pin, .poll .wrap .poll-results .poll-socials ul li a i.twitter, .poll .wrap .poll-results .poll-socials ul li a i.tumblr, .poll .wrap .poll-results .poll-socials ul li a i.plus, .trivia .trivia-socials i.fb, .trivia .trivia-socials i.pin, .trivia .trivia-socials i.twitter, .trivia .trivia-socials i.tumblr, .trivia .trivia-socials i.plus {
    background: url(/scripts/hp-apps/content/Images/social-icons-small-s04e5d34b6d.png) no-repeat;
}

.trivia {
    position: relative;
    padding: 0 25px;
}

@media all and (max-width: 767px) {
    .trivia {
        padding: 0 32px;
    }
}

.trivia .trivia-bg {
    background-position: top center;
    min-height: 640px;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    position: relative;
}

@media all and (max-width: 767px) {
    .trivia .trivia-bg {
        background-size: contain !important;
    }
}

.trivia h2 {
    font-family: Imfell, Serif;
    font-size: 26px;
    line-height: 30px;
    color: #b7993e;
    margin-left: 15px;
    margin-right: 15px;
}

.trivia .wrap {
    width: 100%;
    border: 2px solid #a1a5a6;
    background: black url(/scripts/hp-apps/content/images/trivia/background1.jpg) 0 0 no-repeat;
    background-size: 100%;
    padding-top: 12px;
    overflow: hidden;
    position: relative;
}

    .trivia .wrap > figure {
        min-height: 290px;
    }

        .trivia .wrap > figure > img {
            max-width: 100%;
        }

.trivia .teaser {
    font-family: Imfell, Serif;
    color: #FFF;
    font-weight: 400;
    margin-left: 19px;
    float: left;
}

    .trivia .teaser h2 {
        font-family: Imfell, Serif !important;
        margin-left: 0;
        margin-bottom: 0;
    }

    .trivia .teaser p {
        margin-top: 50px;
        margin-bottom: 0;
    }

.trivia .life {
    border: 0 !important;
    background: none !important;
    padding: 0 !important;
}

    .trivia .life .life-wrapper:before, .trivia .life .life-wrapper:after {
        content: " ";
        display: table;
    }

    .trivia .life .life-wrapper:after {
        clear: both;
    }

    .trivia .life .life-wrapper {
        display: flex;
        /*padding: 0 2em 0.75em 2em;*/
        padding-bottom: .5rem;
        justify-content: flex-end;
    }

        .trivia .life .life-wrapper p {
            margin: 0 10px 0 0;
            display: block;
        }

            .trivia .life .life-wrapper p:last-child {
                margin-right: 0;
            }

/*.trivia .trivia-form {
    background: #26256a url(/scripts/hp-apps/content/images/trivia-backgrounds/qBox1.jpg) 0 0 no-repeat;
    background-size: cover;
    border: 3px solid #b7993e;
    min-height: 160px;
    padding-top: 20px;
    padding-bottom: 20px;
}*/

.trivia .trivia-form {
    background-size: cover;
    border: 3px solid #a1a5a6;
    min-height: 160px;
    padding-top: 20px;
    padding-bottom: 20px;
    background-image: linear-gradient(to right, black 30%, #777) !important;
}

.trivia-form-inner-wrapper {
    width: 100%;
    padding: 0 2em 2em 2em;
}

    .trivia-form-inner-wrapper .trivia-question-counter {
        display: flex;
        position: relative;
        margin-bottom: 0.5rem;
        justify-content: space-between;
        align-items: center;
    }

        /*.trivia-form-inner-wrapper .trivia-question-counter > div {
            flex-shrink: 1;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            border: 3px solid #b7993e;
            background: #26256a url(/scripts/hp-apps/content/images/trivia-backgrounds/qBox1.jpg) 0 0 no-repeat;
            padding: 0 1rem;
        }*/

        .trivia-form-inner-wrapper .trivia-question-counter > div {
            flex-shrink: 1;
            display: flex;
            justify-content: flex-start;
            align-items: center;
            border: 3px solid #a1a5a6;
            background-image: linear-gradient(to right, black 30%, #777) !important;
            padding: 0 1rem;
        }

        .trivia-form-inner-wrapper .trivia-question-counter.qBox1 > div.life {
            background: none !important;
        }

        .trivia-form-inner-wrapper .trivia-question-counter.qBox1 > div.life .life-wrapper img {
            border: 2px solid #a1a5a6;
            border-radius: 50px;
        }

        .trivia-form-inner-wrapper .trivia-question-counter.qBox1 > div {
            background: #26256a url(/scripts/hp-apps/content/images/trivia-backgrounds/qBox1.jpg) 0 0 no-repeat;
        }

        .trivia-form-inner-wrapper .trivia-question-counter.qBox2 > div {
            background: #26256a url(/scripts/hp-apps/content/images/trivia-backgrounds/qBox2.jpg) 0 0 no-repeat;
        }

        .trivia-form-inner-wrapper .trivia-question-counter.qBox3 > div {
            background: #26256a url(/scripts/hp-apps/content/images/trivia-backgrounds/qBox3.jpg) 0 0 no-repeat;
        }

        .trivia-form-inner-wrapper .trivia-question-counter.qBox4 > div {
            background: #26256a url(/scripts/hp-apps/content/images/trivia-backgrounds/qBox4.jpg) 0 0 no-repeat;
        }

        .trivia-form-inner-wrapper .trivia-question-counter.qBox5 > div {
            background: #26256a url(/scripts/hp-apps/content/images/trivia-backgrounds/qBox5.jpg) 0 0 no-repeat;
        }

        .trivia-form-inner-wrapper .trivia-question-counter.qBox6 > div {
            background: #26256a url(/scripts/hp-apps/content/images/trivia-backgrounds/qBox6.jpg) 0 0 no-repeat;
        }

        .trivia-form-inner-wrapper .trivia-question-counter.qBox7 > div {
            background: #26256a url(/scripts/hp-apps/content/images/trivia-backgrounds/qBox7.jpg) 0 0 no-repeat;
        }

        .trivia-form-inner-wrapper .trivia-question-counter .trivia-question-counter-item {
            display: block;
            color: #a1a5a6;
            font-family: Imfell, Serif;
            font-size: 16px;
            margin-right: .5rem;
            font-weight: 400;
        }

        .trivia-form-inner-wrapper .trivia-question-counter .trivia-question-counter-item__2,
        .trivia-form-inner-wrapper .trivia-question-counter .trivia-question-counter-item__4 {
            font-size: 18px;
            color: #FFF;
        }

.trivia .trivia-form:before, .trivia .trivia-form:after {
    content: " ";
    display: table;
}

.trivia .trivia-form:after {
    clear: both;
}

.trivia .trivia-form.wonWrapper {
    background-color: transparent;
    background-image: none;
    border: none;
    background-position: bottom right;
}

.trivia .trivia-content {
    text-align: center;
}

    .trivia .trivia-content h2 {
        font-family: Imfell, Serif !important;
        font-size: 26px;
        line-height: 33px;
        color: #a1a5a6;
        margin: 10px 0;
        text-align: center;
    }

.trivia .wonWrapper {
    padding: 30px 0;
}

    .trivia .wonWrapper .trivia-content {
        float: initial;
        width: 76%;
    }

        .trivia .wonWrapper .trivia-content h2 {
            font-size: 30px;
            line-height: 30px;
            text-transform: uppercase;
        }

.trivia .hasWon {
    text-align: center;
}

    .trivia .hasWon p {
        font-family: Imfell, Serif;
        width: 100%;
        font-size: 24px;
        margin: 0 auto;
        color: #FFF;
    }

.trivia .answer-btn:before, .trivia .answer-btn:after {
    content: " ";
    display: table;
}

.trivia .answer-btn:after {
    clear: both;
}


.trivia .answer-btn .btn.btn-primary {
    border: 3px solid transparent !important;
    font-size: 15px;
    padding: 7px 0 4px 0;
    margin-bottom: 1em;
    letter-spacing: normal;
    white-space: normal;
}



    .trivia .answer-btn .btn.btn-primary.inactive {
        background: #999;
        border-color: #999;
        cursor: text;
        color: white;
    }

.trivia .answer-btn .trivia-restart {
    margin-left: 27%;
}

.trivia .trivia-socials {
    float: right;
    text-align: center;
    position: absolute;
    right: 2em;
    top: 1.5em;
    z-index: 1;
}

    .trivia .trivia-socials p {
        font-family: Imfell, Serif;
        color: #FFF;
        font-weight: 400;
        text-transform: uppercase;
    }

    .trivia .trivia-socials ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

        .trivia .trivia-socials ul:before, .trivia .trivia-socials ul:after {
            content: " ";
            display: table;
        }

        .trivia .trivia-socials ul:after {
            clear: both;
        }

    .trivia .trivia-socials li {
        float: left;
        margin-right: 11px;
    }

        .trivia .trivia-socials li:last-child {
            margin-right: 0;
        }

    .trivia .trivia-socials i {
        display: block;
        height: 28px;
        width: 28px;
        border: 1px solid white;
        overflow: hidden;
        border-radius: 5px;
        margin: 0 auto;
    }

        .trivia .trivia-socials i.fb {
            background-position: 0 -104px;
        }

        .trivia .trivia-socials i.pin {
            background-position: 0 -26px;
        }

        .trivia .trivia-socials i.twitter {
            background-position: 0 -78px;
        }

        .trivia .trivia-socials i.tumblr {
            background-position: 0 -52px;
        }

        .trivia .trivia-socials i.plus {
            background-position: 0 0;
        }

.trivia .foreground-image {
    position: relative;
    z-index: 2;
    float: left;
    margin-top: -315px;
}

@media (max-width: 1200px) {
    .trivia .life .life-wrapper {
        justify-content: center;
    }

    .trivia-form-inner-wrapper {
        padding-bottom: 7em;
    }

    .trivia .trivia-socials {
        position: absolute;
        bottom: 1.5em;
        left: 2em;
        right: 2em;
        top: auto;
        text-align: center;
    }

        .trivia .trivia-socials .share-trivia {
            text-align: center;
        }

            .trivia .trivia-socials .share-trivia ul {
                display: flex;
                justify-content: center;
            }
}

@media (max-width: 768px) {

    .page-header p,
    .page-header .lead {
        color: #FFF !important;
    }

    .dark-bg {
        background: #132960;
        /* Old browsers */
        /* IE9 SVG, needs conditional override of 'filter' to 'none' */
        background: -moz-linear-gradient(top, #132960 0%, #02050b 100%);
        /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #132960), color-stop(100%, #02050b));
        /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #132960 0%, #02050b 100%);
        /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #132960 0%, #02050b 100%);
        /* Opera 11.10+ */
        background: -ms-linear-gradient(top, #132960 0%, #02050b 100%);
        /* IE10+ */
        background: linear-gradient(to bottom, #132960 0%, #02050b 100%);
        /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#132960', endColorstr='#02050b',GradientType=0 );
        /* IE6-8 */
    }

    .trivia .wrap figure {
        text-align: center;
    }

    .trivia .teaser h2 {
        font-size: 21px;
    }

    .trivia .trivia-content h2 {
        font-size: 21px;
    }

    .trivia .foreground-image {
        margin-top: -270px;
    }
}

@media (max-width: 700px) {

    .trivia .wonWrapper {
        padding-top: 20px;
    }

        .trivia .wonWrapper .trivia-content h2 {
            font-size: 24px;
            line-height: 30px;
        }

    .trivia .hasWon p {
        font-size: 24px;
        padding-bottom: 15px;
    }
}

@media (max-width: 640px) {

    .trivia .wrap {
        background: black url(/scripts/hp-apps/content/images/trivia/background1Mobile.jpg) 0 0 no-repeat;
        background-size: 100%;
        overflow: hidden;
    }

        .trivia .wrap figure {
            text-align: center;
        }

    .trivia .teaser {
        margin: 0 1em;
        width: auto;
        text-align: center;
    }

    .trivia .trivia-socials p {
        font-size: 14px;
    }

    .trivia .life {
        float: initial;
        margin: 0 1em;
    }

        /*.trivia .life .life-wrapper {
            padding: 0 20%;
        }

            .trivia .life .life-wrapper p {
                float: left;
                margin: 10px auto;
                width: 33%;
                text-align: center;
            }*/

    .trivia .trivia-form {
        position: initial;
        margin: 0 auto;
        height: auto;
        padding-bottom: 1em;
    }

        .trivia .trivia-form:before, .trivia .trivia-form:after {
            content: " ";
            display: table;
        }

        .trivia .trivia-form:after {
            clear: both;
        }

    .trivia .trivia-content {
        float: initial;
        width: 100%;
        margin-left: 0px;
    }

    .trivia .answer-btn {
        margin: 0 auto;
    }

        .trivia .answer-btn .btn.btn-primary {
            margin: 1em auto 0 auto;
            width: 100%;
        }

    .trivia .foreground-image {
        width: 50%;
        margin-top: -125px;
    }
}

@media (max-width: 640px) {

    .trivia .wonWrapper {
       /* background-image: url(/scripts/hp-apps/content/images/trivia-backgrounds/small/congrats_bg.png) !important;*/
       background-image: none;
        padding-top: 0;
        background-size: cover;
    }
}

@media (max-width: 580px) {

    .trivia .wonWrapper .trivia-content h2 {
        font-size: 24px;
        line-height: 30px;
    }


    .trivia .hasWon p {
        font-size: 24px;
        padding-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .trivia .trivia-socials p {
        font-size: 13px;
    }

    .trivia .wonWrapper {
        min-height: 435px;
    }

        .trivia .wonWrapper h2 {
            margin: 45px auto 0 auto;
        }

        .trivia .wonWrapper .hasWon p {
            width: 95%;
            margin-top: 15px;
            font-size: 36px;
        }
}

@media (max-width: 480px) {
    .trivia .trivia-socials p {
        font-size: 13px;
    }
}

.error {
    border-color: red !important;
}

.valid {
    border-color: green !important;
}

.trivia .answer-btn {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
}

    .trivia .answer-btn > .btn {
        flex: calc(50% - 15px);
    }

.btn.btn.btn-primary.btn-hp {
    margin-right: 15px;
    line-height: 14px;
    background-color: #e0c87a;
    padding: 7px 35px 4px;
    font-family: Helvetica, Arial, Sans-Serif;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #01085d;
    letter-spacing: 2px;
    background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0.01, #ceac46), color-stop(0.2, #e6d28b), color-stop(0.6, #cdab46), color-stop(1, #e6d28b));
    background-image: -o-linear-gradient(right bottom, #ceac46 1%, #e6d28b 20%, #cdab46 60%, #e6d28b 100%);
    background-image: -moz-linear-gradient(right bottom, #ceac46 1%, #e6d28b 20%, #cdab46 60%, #e6d28b 100%);
    background-image: -webkit-linear-gradient(right bottom, #ceac46 1%, #e6d28b 20%, #cdab46 60%, #e6d28b 100%);
    background-image: -ms-linear-gradient(right bottom, #ceac46 1%, #e6d28b 20%, #cdab46 60%, #e6d28b 100%);
    background-image: linear-gradient(135deg, #ceac46 1%, #e6d28b 20%, #cdab46 60%, #e6d28b 100%);
    background-image: linear-gradient(to right, #8a8e8e, #fff, #8a8e8e);
    color: #000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn.btn.btn-primary.btn-hp:hover {
        background: rgb(184,155,69);
        background: -moz-linear-gradient(135deg, rgba(184,155,69,1) 0%, rgba(209,191,129,1) 30%, rgba(184,155,69,1) 70%, rgba(209,191,129,1) 100%);
        background: -webkit-linear-gradient(135deg, rgba(184,155,69,1) 0%, rgba(209,191,129,1) 30%, rgba(184,155,69,1) 70%, rgba(209,191,129,1) 100%);
        background: linear-gradient(135deg, rgba(184,155,69,1) 0%, rgba(209,191,129,1) 30%, rgba(184,155,69,1) 70%, rgba(209,191,129,1) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#b89b45",endColorstr="#d1bf81",GradientType=1);
        background-image: linear-gradient(to right, #666, #fff, #666);
        color: #000 !important;
    }

    .btn.btn.btn-primary.btn-hp.btn-hp--green,
    .btn.btn.btn-primary.btn-hp.btn-hp--green:hover {
        margin-right: 15px;
        line-height: 14px;
        background-color: #346D36;
        padding: 7px 35px 4px;
        font-family: Helvetica, Arial, Sans-Serif;
        font-size: 13px;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: #01085d;
        letter-spacing: 2px;
        background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0.01, var(--green)), color-stop(0.2, var(--light-green)), color-stop(0.6, var(--green)), color-stop(1, var(--light-green)));
        background-image: -o-linear-gradient(right bottom, var(--green) 1%, var(--light-green) 20%, var(--green) 60%, var(--light-green) 100%);
        background-image: -moz-linear-gradient(right bottom, var(--green) 1%, var(--light-green) 20%, var(--green) 60%, var(--light-green) 100%);
        background-image: -webkit-linear-gradient(right bottom, var(--green) 1%, var(--light-green) 20%, var(--green) 60%, var(--light-green) 100%);
        background-image: -ms-linear-gradient(right bottom, var(--green) 1%, var(--light-green) 20%, var(--green) 60%, var(--light-green) 100%);
        background-image: linear-gradient(135deg, var(--green) 1%, var(--light-green) 20%, var(--green) 60%, var(--light-green) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
    }



    .btn.btn.btn-primary.btn-hp.btn-hp--blue,
    .btn.btn.btn-primary.btn-hp.btn-hp--blue:hover {
        margin-right: 15px;
        line-height: 14px;
        background-color: #046EA0;
        padding: 7px 35px 4px;
        font-family: Helvetica, Arial, Sans-Serif;
        font-size: 13px;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: #01085d;
        letter-spacing: 2px;
        background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0.01, var(--blue)), color-stop(0.2, var(--light-blue)), color-stop(0.6, var(--blue)), color-stop(1, var(--light-blue)));
        background-image: -o-linear-gradient(right bottom, var(--blue) 1%, var(--light-blue) 20%, var(--blue) 60%, var(--light-blue) 100%);
        background-image: -moz-linear-gradient(right bottom, var(--blue) 1%, var(--light-blue) 20%, var(--blue) 60%, var(--light-blue) 100%);
        background-image: -webkit-linear-gradient(right bottom, var(--blue) 1%, var(--light-blue) 20%, var(--blue) 60%, var(--light-blue) 100%);
        background-image: -ms-linear-gradient(right bottom, var(--blue) 1%, var(--light-blue) 20%, var(--blue) 60%, var(--light-blue) 100%);
        background-image: linear-gradient(135deg, var(--blue) 1%, var(--light-blue) 20%, var(--blue) 60%, var(--light-blue) 100%);
        align-items: center;
        justify-content: center;
    }



@media all and (min-width: 768px) {
    .trivia .answer-btn > .btn.btn.btn-primary.btn-hp:nth-child(2n) {
        margin-right: 0;
    }
}

@media all and (max-width: 767px) {
    .trivia .answer-btn > .btn {
        margin-right: 0 !important;
        flex: 100% !important
    }

    .trivia .trivia-form.wonWrapper .trivia-content h2 {
        margin: 0;
        padding-top: 20px;
    }

    .trivia .trivia-form {
        padding-top: 5px;
        padding-bottom: 5px;
    }
}

.trivia-restart-wrap {
    width: 100%;
    text-align: center;
    padding: 0 0 15px 0;
}

    .trivia-restart-wrap .btn.btn-primary.trivia-restart {
        margin: 0 auto;
        width: 50%;
    }

@media all and (min-width: 641px) and (max-width: 767px) {
    .trivia-restart-wrap .btn.btn-primary.trivia-restart {
        width: 100%;
    }
}

@media all and (max-width: 640px) {
    .trivia-restart-wrap {
        padding-top: 15px;
        padding-bottom: 0;
    }

        .trivia-restart-wrap .btn.btn-primary.trivia-restart {
            width: 100%;
        }
}

.trivia .wonWrapper .trivia-content {
    width: 100%;
}


.btn.btn.btn-primary.btn-hp.btn-hp--blue, .btn.btn.btn-primary.btn-hp.btn-hp--blue:hover {
    margin-right: 15px;
    line-height: 14px;
    background-color: #046EA0;
    padding: 7px 35px 4px;
    font-family: Helvetica, Arial, Sans-Serif;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #01085d;
    letter-spacing: 2px;
    background-image: -webkit-gradient(linear, left top, right bottom, color-stop(0.01, var(--blue)), color-stop(0.2, var(--light-blue)), color-stop(0.6, var(--blue)), color-stop(1, var(--light-blue)));
    background-image: -o-linear-gradient(right bottom, var(--blue) 1%, var(--light-blue) 20%, var(--blue) 60%, var(--light-blue) 100%);
    background-image: -moz-linear-gradient(right bottom, var(--blue) 1%, var(--light-blue) 20%, var(--blue) 60%, var(--light-blue) 100%);
    background-image: -webkit-linear-gradient(right bottom, var(--blue) 1%, var(--light-blue) 20%, var(--blue) 60%, var(--light-blue) 100%);
    background-image: -ms-linear-gradient(right bottom, var(--blue) 1%, var(--light-blue) 20%, var(--blue) 60%, var(--light-blue) 100%);
    background-image: linear-gradient(135deg, var(--blue) 1%, var(--light-blue) 20%, var(--blue) 60%, var(--light-blue) 100%);
    align-items: center;
    justify-content: center;
}


@media all and (max-width: 640px) {
    .trivia-question-counter {
        flex-direction: column;
    }
    .trivia-question-counter .triv-counter {
        width: 100%;
        flex-grow: 1;
        flex-shrink: 0;
    }
        .trivia-question-counter .life {
            width: 100%;
            flex-grow: 1;
            flex-shrink: 0;
        }
            .trivia-question-counter .life .life-wrapper {
                width: 100%;
                padding: 15px 0 10px;
                display: flex;
                justify-content: space-between;
                align-items: center;
            }
            .trivia-question-counter .life .life-wrapper p {
                margin-right: 0;
            }
}