body {
    background: url('../img/bg-body.jpg') no-repeat 0 0 #151515;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color: #fff;
    font: 300 15px/15px 'Roboto', Arial, Helvetica;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    text-align: center;
    height: auto !important;
}

h1, h2, h3 {
    margin: 0;
    line-height: 1em;
}

h1.pageHeader {
    font-size: 1.8em;
    line-height: 1.4em;
    margin-bottom: 2.5vh;
    padding: 0 1.1em;
    font-weight: normal;
}

p {
    font-size: 1.8em;
    line-height: 1.4em;
    margin-bottom: 1.4em;
    padding: 0 20px;
}

p.small {
    font-size: 1.2em;
    line-height: 1.6em;
}

.dib {
    display: inline-block;
}

.red {
    color: #e00;
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

.container {
    width: 700px;
    margin: 5vh auto 0;
}

.wrapper {
    background-color: #fff;
}

.spacer {
    padding: 2em;
    padding-bottom: 0;
}

/* TIMER */
.clock {
    font: 700 2.5em 'Raleway', Arial, Helvetica;
    margin-bottom: 20px;
    color: #fff;
}

.clock.warning {
    color: #f16b6b;
}

/* QUESTIONS */
.question_wrapper {
    display: none;
}

.LPPILOT_Answer_Option_Cell {
    position: relative;
}

.buttonContainer {
    margin-top: 50px;
}

.answer_clicked, .next_question_button, .previous_question_button, .btn-provider {
    background-color: #f16b6b;
    border: 2px solid #f16b6b;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 3vh;
    font-weight: bold;
    margin: 0 10px 10px 0;
    padding: 20px 50px;
    text-decoration: none;
}


.answer_clicked:hover, .answer_clicked:active, .next_question_button:hover, .next_question_button:active, .btn-provider:hover, .btn-provider:active {
    background-color: #fe5563;
    border: 2px solid #fff;
    transition: all 0.3s ease-in-out 0s;
}

.answer_clicked.btn-outline, .next_question_button.btn-outline, .previous_question_button {
    border-color: #cacaca;
    background-color: #cacaca;
    color: #fff;
}

.answer_clicked.btn-outline:hover, .next_question_button.btn-outline:hover, .previous_question_button:hover {
    background-color: #9a9a9a;
}

.answer_clicked.btn-outline2, .next_question_button.btn-outline2, .previous_question_button2 {
    background-color: transparent;
    color: #000;
}

.answer_clicked.btn-outline:hover,
.answer_clicked.btn-outline:focus,
.next_question_button.btn-outline:hover,
.next_question_button.btn-outline:focus,
.previous_question_button:hover,
.previous_question_button:focus {
    border-color: #fff;
    color: #fff;
    text-decoration: none;
}


.checkboxesWrap:before,
.checkboxesWrap:after {
    display: table;
    content: " ";
}

.checkboxesWrap:after {
    clear: both;
}

.checkboxesWrap {
    clear: both;
    max-width: 460px;
    margin: auto;
}

.next_question_button.checkbox {
    background: none;
    border: none;
    font-weight: normal;
    float: left;
    width: 50%;
    margin: auto;
    padding: 0 0 2.5vh;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


.checkbox label {
    text-align: left;
}

.checkbox span::before,
.checkbox span {
    display: inline-block;
    vertical-align: middle;
}

.checkbox span {
    display: block;
    font-size: calc(10px + 1.5vh);
}

.checkbox input {
    display: none;
}

.checkbox span::before {
    border: 1px solid #fe5563;
    background: #000;
    color: #fe5563;
    content: ' ';
    height: 1em;
    margin-right: 0.5em;
    text-align: center;
    line-height: 1.15em;
    width: 1em;
}

.checkbox label:hover {
    cursor: pointer;
}

.checkbox label:hover span::before {
    /* background: rgba(254, 85, 99, 0.1); */
}

.checkbox label:hover span::before,
.checkbox input:checked span::before {
    content: '\2713';
}


.stepProfile {
    margin: 0 auto 3vh;
}

.stepProfile img {
    padding-bottom: 0 !important;
}

/* PROGRESSBAR */
#progressbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 2px;
    z-index: 10;
    background: #fff;
}

.progress {
    position: absolute;
    width: 0%;
    height: 100%;
    left: 0;
    top: 0;
    background: red;
    -webkit-transition: width .4s ease-in-out;
    -moz-transition: width .4s ease-in-out;
    -o-transition: width .4s ease-in-out;
    transition: width .4s ease-in-out;
}


/* ANIMATIONS */
.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        -ms-transform: translateY(20px);
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

.fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

@-webkit-keyframes fadeInRight {
    0% {
        opacity: 0;
        -webkit-transform: translateX(20px);
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        -webkit-transform: translateX(20px);
        -ms-transform: translateX(20px);
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
}

.fadeInRight {
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
}

.fadeInRight img {
    padding-bottom: 20px;
}


/* RESPONSIVE STRUCTURE */

@media only screen and (min-height: 1080px) {
    .next_question_button.checkbox {
        font-size: 1.9em;
    }

    .checkbox span {
        font-size: 1em;
    }
}

@media only screen and (max-height: 1439px) {
    .stepProfile img {
        max-height: 55vh;
    }
}

@media only screen and (max-height: 1359px) {
    .stepProfile img {
        max-height: 50vh;
    }
}

@media only screen and (max-height: 1279px) {
    .stepProfile img {
        max-height: 47vh;
    }
}

@media only screen and (max-height: 1199px) {
    .stepProfile img {
        max-height: 45vh;
    }
}

@media only screen and (max-height: 1079px) {
    .stepProfile img {
        max-height: 42vh;
    }
}

@media only screen and (max-height: 979px) {
    .stepProfile img {
        max-height: 38vh;
    }
}

@media only screen and (max-height: 879px) {
    h1.pageHeader {
        font-size: 1.6em;
    }

    .stepProfile img {
        max-height: 32vh;
    }

    p {
        font-size: 1.7em;
        line-height: 1.2em;
        margin-bottom: 1em;
        padding: 0;
    }
}

@media only screen and (max-height: 779px) {
    .stepProfile img {
        max-height: 30vh;
    }

    .next_question_button,
    .btn-provider {
        margin: 0 auto;
        padding: 0.7em 2.9em;
    }
}


@media only screen and (max-width: 1200px) {
    h1 {
        font: 700 2em 'Raleway', Arial, Helvetica;
        margin-bottom: 20px;
    }

    p {
        font-size: 1.5em;
        line-height: 1.5em;
        margin-bottom: 1em;
    }
}

@media only screen and (max-width: 979px) {
    h1 {
        font: 700 1.5em 'Raleway', Arial, Helvetica;
        margin-bottom: 20px;
        text-align: center;
    }

    p {
        font-size: 1.5em;
        line-height: 1.5em;
        margin-bottom: 1.4em;
        text-align: center;
    }

    .step {
        margin: 0;
        text-align: center;
    }

    .clock {
        font: 700 2em 'Raleway', Arial, Helvetica;
        margin-bottom: 20px;
        text-align: center;
    }
}

@media only screen and (max-width: 767px) and (max-height: 719px) {
    .container {
        margin-top: 5vh;
    }
}

@media only screen and (max-width: 767px) {
    h1.pageHeader {
        font-size: 1.4em;
    }

    p {
        font-size: 1.2em;
    }

    .container {
        width: 100%;
    }

    .question_wrapper {
        padding: 0 10px;
    }


    .next_question_button,
    .btn-provider {
        margin: 0 0.1em 0.2em;
        padding: 0.7em 2.9em;
    }
}

@media only screen and (max-width: 360px) {
    .next_question_button,
    .btn-provider {
        margin: 0 auto 0.1em;
        padding: 0.7em 2.9em;
    }

    .next_question_button + .next_question_button:not(.checkbox),
    .btn-provider + .btn-provider:not(.checkbox) {
        margin-left: 0.3em;
    }

    h1.pageHeader {
        font-size: 1.2em;
        padding-left: 0;
        padding-right: 0;
    }

    p {
        line-height: 1.3em;
        margin: 0 auto 1em;
        max-width: 300px;
    }
}
html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#cs-footer {
    font-size: 11px;
    color: #3e526d;
    text-align: center;
    z-index: 10;
    padding: 1rem;
}

#cs-footer a {
    color: #32445c;
    text-decoration: none;
}

