html, body {
    font-family: Arial, Helvetica, sans-serif!important;
    /*margin: 0;
    padding: 0;
    position: relative;
    height: 100vh;*/
}
.body {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0!important;
}
.row {
    margin-left: 0!important;
    margin-right: 0!important;
    display: block!important;
}
.cleaner {
    clear: both;
}
div.logo {
    min-width: 17%;
}
div.title {
    font-size: calc(0.7rem + 1.1vw);
    line-height: calc((0.7rem + 1.1vw)*2);
}
object.logo, img.logo {
    height: 45px;
}
div.row:not(.footer) {
    margin: .5rem 0;
}
.page-title {
    height: auto;
    color: grey;
    /*padding-left: 5rem!important;
    padding-right: 5rem!important;*/
}
.question-title {
    background-color: #0154a2;
    color: white;
    font-size: calc(0.8em + 1vw);
    /*padding-left: 5rem!important;*/
    height: 43px;
    line-height: 43px;
}
.content {
    flex: 1;
    color: white;
    text-align: center;
    padding: 1rem 5rem;
    font-size: calc(0.8rem + 1vw);
    height: auto;
}
.content.bgimg {
    background: url(fond-accueil.jpg) no-repeat center fixed;
    -webkit-background-size: cover;
    background-size: cover;
}
.content:not(.bgimg) {
    background-image: linear-gradient(#0091ff, #003e77);
}
.content object {
    margin-top: 1rem;
    width: 5rem;
}
.content > .col > p {
    margin-bottom: 2em;
}
.footer {
    position: relative;
    bottom: 0;
    color: grey;
    font-size: calc(1em + 1vw);
    height: 50px;
    line-height: 50px;
    margin-bottom: 5px;
}
.footer > div {
    text-align: center;
}
.footer a {
    color: grey;
}
input[type="button"] {
    display: inline-block;
    color: grey;
    background: #e2e2e2;
    cursor: pointer;
    vertical-align: middle;
    padding: 7px 18px;
    text-align: center;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    outline: none;
    border: none;
}
input[type="button"]:not(.red):hover {
    background-color: lightgreen;
}
input[type="button"]:not(.red):active {
    background-color: green;
    color: white;
}
input[type="button"].red:hover {
    background-color: #e88585;
}
input[type="button"].red:active {
    background-color: darkred;
    color: white;
}
#yes, #no {
    width: 5em;   
}
#yes {
    margin-right: 5em;
}
#download_pdf {
    margin-bottom: 1em;
}
#score {
    font-size: 1em;
}
.correction {
    text-align: left;
    margin: 1em 0;
}
.correction object {
    margin-top: 0;
    height: 3rem;
    float: left;
    /*margin-right: 1em;*/
}
p.result_subtitle {
    margin-bottom: 1em!important;
}

/* Smartphones */
@media (max-width: 576px) {
    div.logo {
        width: 100%;
        text-align: center;
    }
    .page-title {
        padding-left: 15px!important;
        padding-right: 15px!important;
    }
    div.title {
        margin-top: 4px;
        width: 100%;
        text-align: center;
        line-height: calc((0.7rem + 1.1vw));
    }
    .question-title {
        padding-left: 15px!important;
        font-size: calc(1rem + 1vw);
    }
    .result-title {
        font-size: calc(0.6rem + 1vw)!important;
    }
    .correction {
        font-size: calc(0.8rem + 1vw)
    }
    .content {
        padding: 0;
    }
    .content > .col {
        padding: 10px 30px;
        font-size: calc(1rem + 1vw);
    }
    .content > .col > p {
        text-align: left;
    }
    input[type="button"] {
        font-size: calc(.7rem + 1vw);
    }
    #yes {
        margin-right: 4em;
    }
    div.separator {
        display: none;
    }
    div.website, div.phonenumber {
        width: 100%;
        text-align: center;
    }
    .footer {
        font-size: calc(0.6em + 1vw);
    }
}

/* Grand ecrans */
@media (min-width: 1024px) {
    .page-title, .question-title > .col, .content > .col, .footer {
        width: 1024px;
        margin-left: auto!important;
        margin-right: auto!important;
        padding: 0!important;
    }
    .page-title {
        height: 50px;
    }
    .page-title > .col-auto {
        padding-left: 0!important;
    }
    .question-title {
        padding: 0!important;
        font-size: 24px;
    }
    .page-title > div {
        height: 50px;
        margin: auto;
    }
    .page-title > div.logo {
        float: left;
    }
    .page-title > div.title {
        float: right;
        font-size: 20px;
        line-height: 60px;
    }
    .page-title > div > object {
        height: 100%;
    }
    .content {
        font-size: 30px;
    }
    .content > object {
        margin-top: 0px;
    }
    .content input[type="button"] {
        font-size: 24px;
    }
    .content > .col > p.intro {
        margin-top: 50px;
    }
    .correction {
        font-size: 24px;
    }
    .correction > object {
        margin-top: 0px;
    }
    .footer {
        font-size: 24px;
    }
    div.website, div.phonenumber {
        width: 100%;
        text-align: center;
    }
}

/* Tablettes */
@media (min-width: 576px) and (max-width: 1023px) {
    div.title {
        margin-top: 4px;
        line-height: calc((0.7rem + 1.1vw));
        /*font-size: .8em;*/
    }
    .page-title {
        height: auto;
    }
    div.separator {
        display: none;
    }
    div.website, div.phonenumber {
        width: 100%;
        text-align: center;
    }
}

/* Fix for landscapes */
@media (max-height: 600px) {
    html, body, .body {
        position: relative;
        min-height: 100vh;
    }
    div.row:not(.footer) {
        margin: .3em 0;
    }
    .page-title {
        height: auto;
    }
    .question-title {
        height: 25px;
        line-height: 25px;
    }
    .content {
        padding: .5em 0;
        font-size: calc(0.3em + 2vw);
    }
    .content object {
        width: 3em;
        margin-top: 0px;
    }
    .content p {
        margin: 0;
    }
    #yes, #no {
        margin-top: .5em;
    }
}