/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: rgba(68, 68, 68, 1);
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #00A3E0;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html, body {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* =========================================
   Utils
   ====================================== */

.wrapper {
    width: 100%;
}

.blue {
    color: #002244 !important;
}

.bright-blue {
    color: #00A3E0 !important;
}

.vcenter {
    display: flex;
    align-items: center;
}

@media (min-width: 992px) {

    .vmiddle {
        position: absolute;
        top: 50%;
        transform: translate(0, -50%);
    }

}

.container-fluid {
    max-width: 1440px;
}

/* =========================================
   Typography
   ====================================== */

.iubenda-banner-content > p {
    color: white;
}

li,
p {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: rgba(68, 68, 68, 1);
    font-size: 18px;
    line-height: 32px;
    margin-bottom: 0;
}

p + p {
    margin-top: 15px;
}

p.light {
    opacity: 0.6;
}

p.big {
    font-size: 24px;
    line-height: 32px;
}

strong {
    font-weight: 700;
}

a:link,
a:active,
a:visited {
    font-family: 'Lato', sans-serif;
    color: #00A3E0;
}

sup {
    font-size: 14px;
    top: -12px;
}

/* =========================================
   Headings
   ====================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin-top: 0;
}

h1 {
    color: rgba(0, 125, 250, 1);
    font-size: 40px;
    line-height: 48px;
    margin-bottom: 20px;
}

h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 45px;
    color: rgba(68, 68, 68, 1);
    text-transform: uppercase;
    font-weight: 700;
}

h2:after {
    display: block;
    flex-grow: 1;
    margin-left: 11px;
    content: "";
    height: 1px;
    background-color: rgba(153, 153, 153, 1);
}

h3 {
    font-size: 30px;
    line-height: 39px;
    margin-bottom: 30px;
    color: #00A3E0;
}

.policy h1,
.policy h2,
.policy h3,
.policy h4,
.policy h5,
.policy h6 {
    margin-top: 36px;
    margin-bottom: 20px;
}

.policy h2:after {
    display: none;
}

@media screen and (min-width: 1200px) {

    h2 {
        margin-bottom: 36px;
    }

    h2:after {
        display: block;
        flex-grow: 1;
        margin-left: 32px;
        content: "";
        height: 1px;
        background-color: rgba(153, 153, 153, 1);
    }

    .policy h1,
    .policy h2,
    .policy h3,
    .policy h4,
    .policy h5,
    .policy h6 {
        margin-top: 36px;
        margin-bottom: 20px;
    }

    .policy h2:after {
        display: none;
    }
}

/* ==============================
   Buttons
   ============================= */

.btn {
    position: relative;
    display: inline-block;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    border: 1px solid rgba(153, 153, 153, 1);
    border-radius: 5px;
    padding: 16px 70px;
    -webkit-transition: all .3s linear;
    transition: all .3s linear;
    text-transform: uppercase;
}

.buttons-group .btn {
    display: block;
    margin-left: 0;
    margin-bottom: 10px;
}

.btn:disabled,
a.btn:disabled {
    color: rgba(153, 153, 153, 1) !important;
    border-color: rgba(153, 153, 153, 1);
}

.btn:active,
a.btn:active {
    box-shadow: none;
}

a.btn-transparent:link,
a.btn-transparent:active,
a.btn-transparent:visited,
.btn-transparent {
    color: #002340 !important;
    background-color: transparent;
    border: 1px solid #002340;
}

.btn-transparent:hover,
a.btn-transparent:hover {
    background-color: #002340;
    color: #FFFFFF !important;
}

a.btn-light:link,
a.btn-light:active,
a.btn-light:visited,
.btn-light {
    color: rgba(0, 50, 130, 1) !important;
    background-color: #FFFFFF;
    border-color: rgba(0, 50, 130, 1);
    box-shadow: none;
}

.btn-light:hover:not([disabled]),
a.btn-light:hover:not([disabled]) {
    color: rgba(0, 125, 80, 1) !important;
    border-color: rgba(0, 125, 80, 1);
}

a.btn-dark:link,
a.btn-dark:active,
a.btn-dark:visited,
.btn-dark {
    background-color: #ffffff;
    color: rgba(0, 50, 130, 1) !important;
    border-color: rgba(0, 50, 130, 1);
    z-index: 500;
}

.btn-dark span {
    position: relative;
    z-index: 1000;
}

.btn-dark:not([disabled]):hover:before,
a.btn-dark:not([disabled]):hover:before {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 5px;
    background-color: #ffffff;
    z-index: 200;
}

.btn-dark:not([disabled]):hover:after,
a.btn-dark:not([disabled]):hover:after {
    position: absolute;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    top: 3px;
    left: 3px;
    border-radius: 5px;
    background: linear-gradient(270deg, #19BE37 0%, #4A9276 50%, #357AA9 100%);
    z-index: -100;
}

.btn-dark:not([disabled]):active:after,
a.btn-dark:not([disabled]):active:after {
    background: transparent;
}

.btn-dark:not([disabled]):active,
a.btn-dark:not([disabled]):active {
    color: rgba(0, 125, 80, 1) !important;
    border-color: rgba(0, 125, 80, 1);
}

.btn-with-icon {
    padding-left: 66px;
}

.btn-with-icon::before {
    content: " ";
    position: absolute;
    top: 49%;
    left: 3px;
    transform: translate(0, -50%);
    background-repeat: no-repeat;
    background-size: cover;
}

.btn-to-top::before {
    background-image: url("../img/totop.svg");
    width: 32px;
    height: 32px;
}

@media screen and (min-width: 768px) {

    .buttons-group .btn {
        display: inline-block;
        margin-bottom: 0;
    }

    .btn-dark + .btn-dark {
        margin-left: 25px;
    }

}

/* ==============================
   Header
   ============================= */

.header {
    display: block;
    position: relative;
    padding: 12px 0 13px;
    margin: 0 -15px;
}

.header:after {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    content: "";
    width: 100%;
    height: 1px;
    background: linear-gradient(264.75deg, #00CDE1 8.61%, #007DFA 46.96%, #003282 83.81%);
}

.header .logo {
    max-width: 61px;
}

/* ==============================
   Content
   ============================= */

.content {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 56px;
}

.content p {
    color: rgba(68, 68, 68, 1);
    margin-bottom: 36px;
}

@media screen and (min-width: 992px) {

    .content {
        background-repeat: no-repeat;
        background-size: cover;
        /*min-height: calc(100vh - 200px);*/
    }

}

@media screen and (min-width: 1200px) {

    .content {
        /*padding-top: 100px;*/
    }

}

/* ==============================
   Start quiz
   ============================= */

.start-quiz {
    background-image: url("../img/start-quiz-bg-m.jpg");
    background-position: top center;
    padding-top: 60vw;
    background-size: contain;
}

.btn-start-box {
    text-align: center;
}

@media screen and (min-width: 992px) {
    #start-quiz {
        margin-top: 5vw;
    }

    .start-quiz {
        background-image: url("../img/start-quiz-bg-d.jpg");
        background-position: top right;
        height: 65vw;
        padding-top: 0;
    }

    .btn-start-box {
        text-align: left;
    }

}

@media screen and (min-width: 1200px) {
    #start-quiz {
        margin-top: 10vw;
    }

    .start-quiz {
        height: 50vw;
    }
}

@media screen and (min-width: 1440px) {
    #start-quiz {
        margin-top: 180px;
    }

    .start-quiz {
        height: 800px;
    }
}

/* ==============================
   Quiz
   ============================= */

.quiz {
    background-image: url("../img/question-bg-m.jpg");
    background-position: top left;
    background-size: 100% auto;
    background-repeat: no-repeat;
    padding-top: 5vw;
}

.pre-quiz {
    background-image: url("../img/pre-question-bg-m.jpg");
    padding-top: 40vw;
}

.question {

}

.question-index {
    font-size: 24px;
    line-height: 41px;
    border-radius: 50%;
    border: 1px solid #ffffff;
    width: 41px;
    height: 41px;
    text-align: center;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
    margin-left: auto;
    margin-right: auto;
}

.question p {
    color: #ffffff;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
}

.pre-quiz .question p {
    color: #000000;
}

.answers {
    margin-top: 20vw;
}

.pre-quiz .answers {
    margin-top: 10vw;
}

.answer {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid rgba(230, 230, 230, 1);
    border-radius: 40px;
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 19px;
    color: rgba(0, 0, 0, 1);
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.answer:hover {
    border-color: rgba(0, 125, 250, 1);
}

.answer.complete {
    border-color: rgba(153, 153, 153, 1);
}

.pre-quiz .question .answer {
    border: 0;
}

.answer-letter {
    display: block;
    position: relative;
    flex: 0 0 46px;
    background-color: #ffffff;
    font-size: 32px;
    line-height: 46px;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    text-align: center;
    margin-right: 20px;
    color: rgba(0, 125, 250, 1);
    border: 1px solid rgba(0, 125, 250, 1);
    z-index: 1000;
}

.answer-radio {
    display: block;
    position: relative;
    flex: 0 0 30px;
    background-color: #ffffff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border: 1px solid rgba(0, 50, 130, 1);
    z-index: 1000;
}

.answer.complete .answer-radio:before {
    content: "";
    display: block;
    position: absolute;
    top: 2px;
    left: 2px;
    width: 24px;
    height: 24px;
    background: linear-gradient(270deg, #19BE37 0%, #4A9276 50%, #357AA9 100%);
    border-radius: 50%;
}

.answer-text {
    z-index: 1000;
}

.answer.complete .answer-letter {
    background: linear-gradient(270deg, #19BE37 0%, #4A9276 50%, #357AA9 100%);
    color: #ffffff;
    border-color: #ffffff;
}

.answer.complete:before {
    display: block;
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    border-radius: 40px;
    z-index: 500;
}

.answer.complete:after {
    display: block;
    position: absolute;
    content: "";
    top: 5px;
    left: 5px;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    background: linear-gradient(270deg, #19BE37 0%, #4A9276 50%, #357AA9 100%);
    z-index: -100;
}

.pre-quiz .answer.complete:before,
.pre-quiz .answer.complete:after {
    display: none;
}

#quiz-next-btn {
    margin-top: 8px;
}

.next-btn-box {
    text-align: center;
}

.next-btn-box .btn {
    display: block;
    width: 100%;
}

.pre-quiz .next-btn-box .btn {
    display: inline-block;
    width: auto;
}

@media screen and (min-width: 480px) {
    .answers {
        margin-top: 40vw;
    }

    .pre-quiz .answers {
        margin-top: 10vw;
    }

}

@media screen and (min-width: 992px) {
    .quiz {
        background-image: url("../img/question-bg.jpg");
        background-position: top left;
        background-size: auto 100%;
        min-height: 70vw;
    }

    .pre-quiz {
        background-image: url("../img/pre-question-bg.jpg");
        background-position: top left;
        background-size: 100% auto;
        padding-top: 20vw;
    }

    .question p {
        text-align: left;
    }

    .pre-quiz .question p {
        text-align: center;
    }

    .question-index {
        line-height: 61px;
        width: 61px;
        height: 61px;
        margin-left: 0;
    }

    .pre-quiz .question-index {
        margin-left: auto;
    }

    .answers {
        display: flex;
        flex-direction: column;
        margin-top: 0;
        padding-top: 39px;
    }

    .pre-quiz .answers {
        flex-direction: row;
        justify-content: center;
        margin-top: 0;
        padding-top: 39px;
    }

    .answer {
        display: flex;
        flex-direction: row;
        margin-bottom: 16px;
    }

    .pre-quiz .answer {
        justify-content: center;
    }

    .next-btn-box {
        text-align: right;
    }

    .pre-quiz .next-btn-box {
        text-align: center;
    }

    #quiz-next-btn {
        float: right;
        margin-top: 57px;
        width: auto;
    }

    .pre-quiz #quiz-next-btn {
        float: none;
    }
}

@media screen and (min-width: 1200px) {

    .quiz {
        min-height: 50vw;
    }

    .answers {
        padding-top: 57px;
    }

    .answer {
        font-size: 20px;
        line-height: 26px;
        padding: 13.5px 10px;
    }

}

@media screen and (min-width: 1440px) {
    .quiz {
        min-height: 700px;
        padding-top: 75px;
    }

    .pre-quiz {
        padding-top: 300px;
    }
}

/* ==============================
   progress bar
   ============================= */

.progress-bar-box {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.quiz:not(.pre-quiz) .progress-bar-box {
    display: block;
}

.progress-counter {
    font-size: 12px;
    line-height: 14px;
    margin-bottom: 5px;
    color: rgba(120, 120, 120, 1);
}

.progress-current {
    color: rgba(0, 125, 250, 1);
    font-weight: 700;
}

.progress-bar {
    content: "";
    width: 100%;
    height: 8px;
    background-color: rgba(230, 230, 230, 1);
    position: relative;
    bottom: 0;
    left: 0;
}

.progress-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(270deg, #19BE37 0%, #4A9276 50%, #357AA9 100%);
    position: absolute;
    left: 0;
    width: 0;
}

.progress-bar span {
    width: 0;
}

@media screen and (min-width: 992px) {
    .progress-bar-box {
        top: 0;
        bottom: auto;
    }

    .progress-bar {
        display: none;
    }

    .progress-counter {
        float: right;
        margin-top: 10px;
    }
}

/* ==============================
   disclaimer
   ============================= */

.disclaimer {
    position: relative;
    padding: 20px 0;
    background-color: rgba(245, 245, 245, 1);
    margin: 0 -15px;
}

@media screen and (min-width: 992px){
    .disclaimer:before {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        content: "";
        width: 100%;
        height: 1px;
        background: linear-gradient(264.75deg, #00CDE1 8.61%, #007DFA 46.96%, #003282 83.81%);
    }
}

/* ==============================
   Result
   ============================= */

#result {
    padding-top: 16px;
}

.result-avatar {
    margin-bottom: 16px;
}

p.result-intro {
    color: rgba(0, 125, 250, 1);
    margin-bottom: 16px;
}

.result-title {
    color: #000000;
    font-size: 24px;
    line-height: 29px;
    margin-bottom: 16px;
}

.result-text p {
    font-size: 16px;
}

.result-btn-box {
    text-align: center;
    margin-bottom: 80px;
}

@media screen and (min-width: 992px) {
    #result {
        padding-top: 122px;
    }

    p.result-intro {
        font-size: 24px;
        line-height: 29px;
        margin-bottom: 32px;
    }

    .result-title {
        font-size: 40px;
        line-height: 48px;
        margin-bottom: 24px;
    }

    .result-text p {
        font-size: 18px;
        line-height: 32px;
        margin-bottom: 32px;
    }

    .result-btn-box {
        text-align: right;
    }

}

/* ==============================
   Result slider
   ============================= */

.result-slider {
    margin-left: -20px;
    margin-right: -20px;
}

.slide {
    margin: 0 10px;
}

/* ==============================
   Policy
   ============================= */

.policy {
    padding-bottom: 3rem;
}

/* ==============================
   Footer
   ============================= */

.footer {
    padding-bottom: 0;
}

.footer ul {
    padding-left: 0;
}

.footer p,
.footer li {
    font-size: 12px;
    line-height: normal;
}

.footer ul li::before {
    display: none;
}

.footer li sup {
    top: -5px;
}

.footer li {
    margin-bottom: 15px;
}

.footer .strong {
    font-weight: bold;
}

.footer .big {
    font-size: 14px;
    line-height: normal;
}

.footer-grey {
    background-color: #F3F4F5;
}

.footer-grey .container {
    position: relative;
}

.btn-to-top {
    position: absolute;
    top: 0;
    right: 0;
}

.footer-socials {
    padding-left: 0;
    list-style-type: none;
}

.footer-socials li {
    display: inline-block;
    margin-right: 20px;
}

.footer-socials .fab {
    font-size: 30px;
}

.fa-youtube-square {
    color: #FF2500;
}

.fa-linkedin {
    color: #0077B5;
}

.footer-nav {
    padding-left: 0;
    list-style-type: none;
    margin-top: 10px;
}

.footer-nav li {
    display: inline-block;
    position: relative;
    font-size: 14px;
    padding-left: 10px;
    padding-right: 10px;
}

.footer-nav li a:link,
.footer-nav li a:active,
.footer-nav li a:visited {
    color: rgba(0, 125, 250, 1) !important;
}

.copyright {
    font-size: 12px;
    line-height: 18px;
    color: rgba(120, 120, 120, 1);
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix::after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #000 !important;
        /* Black prints faster:
                                          http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */
    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


