html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit}
/* Extract from normalize.css by Nicolas Gallagher and Jonathan Neal git.io/normalize */
html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}
article,aside,details,figcaption,figure,footer,header,main,menu,nav,section{display:block}summary{display:list-item}
audio,canvas,progress,video{display:inline-block}progress{vertical-align:baseline}
audio:not([controls]){display:none;height:0}[hidden],template{display:none}
a{background-color:transparent}a:active,a:hover{outline-width:0}
abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}
b,strong{font-weight:bolder}dfn{font-style:italic}mark{background:#ff0;color:#000}
small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}
sub{bottom:-0.25em}sup{top:-0.5em}figure{margin:1em 40px}img{border-style:none}
code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}hr{box-sizing:content-box;height:0;overflow:visible}
button,input,select,textarea,optgroup{font:inherit;margin:0}optgroup{font-weight:bold}
button,input{overflow:visible}button,select{text-transform:none}
button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}
button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}
button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}
fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}
legend{color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto}
[type=checkbox],[type=radio]{padding:0}
[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}
[type=search]{-webkit-appearance:textfield;outline-offset:-2px}
[type=search]::-webkit-search-decoration{-webkit-appearance:none}
::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}
h1, h2, h3, h4, h5, h6 {margin:0;padding:0;}
/* End extract */

@font-face {
    font-family: "Bebas-Neue";
    src: url( "/fonts/bebas-neue-bold.woff2" );
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Bebas-Neue";
    src: url( "/fonts/bebas-neue-book.woff2" );
    font-weight: 400;
    font-style: normal;
}

body, html{
    margin:0;
    padding:0;
}

body {
    --cadisco-primary-color: #2f2e82;
    --cadisco-secondary-color: #ffde00;
    --red: #ff0000;
    --light-gray: #f2f2f2;
    font-family: 'Bebas-Neue', Verdana, Sans-serif;
    font-size: 16px;
}

.body-merci {
    background-image: url("images/merci-mobile.svg"), url("images/background-general.jpg");
    background-position: center center, center center;
    background-repeat: no-repeat, no-repeat;
    background-size: auto 80%, cover;
    width: 100%;
    height: 100vh;
}
@media (min-width: 1081px) {
    .body-merci {
        background-image: url("images/merci.svg"), url("images/background-general.jpg");
        background-size: auto 60%, cover;
    }
}


.body-code-deja-utilise {
    background-image: url("images/code-deja-utilise-mobile.svg"), url("images/background-general.jpg");
    background-position: center center, center center;
    background-repeat: no-repeat, no-repeat;
    background-size: 80% auto, cover;
    width: 100%;
    height: 100vh;
}
@media (min-width: 1081px) {
    .body-code-deja-utilise {
        background-image: url("images/code-deja-utilise.svg"), url("images/background-general.jpg");
        background-size: auto 60%, cover;
    }
}


.body-concours-termine {
    background-image: url("images/background-general.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: top;
}
@media (min-width: 1081px) {
    .body-concours-termine {
        align-items: center;
    }
}

.page-concours-termine {
    display: grid;
    grid-template-rows: 50% 25% 25%;
    width: 100%;
    height: 70%;
}
@media (min-width: 1081px) {
    .page-concours-termine {
        width: 50%;
        height: 60%;
    }
}

.page-concours-termine .logo {
    grid-row: 1 / 1;
    background-image: url("images/cadisco-logo.svg");
    background-position: center 50px;
    background-repeat: no-repeat;
    background-size: 60% auto;
}
@media (min-width: 1081px) {
    .page-concours-termine .logo {
        grid-row: 3 / 3;
        background-position: center center;
        background-size: auto 80%;
    }
}

.page-concours-termine .text {
    grid-row: 2 / 2;
    background-image: url("images/concours-termine-mobile.png");
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: 90% auto;
}
@media (min-width: 1081px) {
    .page-concours-termine .text {
        grid-row: 1 / 1;
        background-image: url("images/concours-termine.png");
    }
}

.page-concours-termine .links {
    grid-row: 3 / 3;
    display: flex;
    justify-content: center;
}
.page-concours-termine .links a {
    margin: 8px;
    cursor: pointer;
    height: fit-content;
}
.page-concours-termine .links a img{
    height: 60px;
    width: auto;
}
@media (min-width: 1081px) {
    .page-concours-termine .links {
        grid-row: 2 / 2;
    }
    .page-concours-termine .links a img{
        height: 80px;
        width: auto;
    }
}

.body-reglement-concours {
    background-image: url("images/background-general.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    color: #ffffff;
    display: flex;
    justify-content: center;
}

.page-reglement-concours {
    width: 100%;
    padding: 40px 16px;
}
@media (min-width: 1081px) {
    .page-reglement-concours {
        width: 60%;
        padding: 40px 0;
    }
}

.page-reglement-concours h1,
.page-reglement-concours h2,
.page-reglement-concours a {
    color: var(--cadisco-secondary-color);
}


.page-reglement-concours a {
    font-weight: 600;
}

.page-reglement-concours a:hover {
    color:#ffffff;
}

.page-reglement-concours h1 {
    font-size: 1.5rem;
    text-transform: uppercase;
}
@media (min-width: 1081px) {
    .page-reglement-concours h1 {
        font-size: 2rem;
    }
}

.page-reglement-concours h2 {
    font-size: 1.5rem;
    font-weight: 200;
    text-transform: uppercase;
}
@media (min-width: 1081px) {
    .page-reglement-concours h2 {
        font-size: 1.2rem;
    }
}

.page-reglement-concours ul {
    list-style: square;
}


.body-enter-details {
    background-image: url("images/background-woman-driving.png"), url("images/background-general.jpg");
    background-position: center bottom, center center;
    background-repeat: no-repeat, no-repeat;
    background-size: contain, cover;
    width: 100%;
    height: 100%;
    min-height: 100vh;
}
@media (min-width: 1081px) {
    .body-enter-details {
        background-position: left bottom, center center;
        background-size: 40% auto, cover;
    }
}

.page-enter-details {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;    
}
@media (min-width: 1081px) {
    .page-enter-details {
        display: grid;
        grid-template-columns: 40% 60%;
        min-height: 100vh;
    }
}

.page-enter-details .logo_text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}
@media (min-width: 1081px) {
    .page-enter-details .logo_text {
        display: inline-block;
        height: 100%;
        text-align: center;
    }
}

.page-enter-details .logo_text .logo {
    display: inline-block;
    width:80%;
    height: auto;
    margin: auto;
    margin-top: 50px;    
}
@media (max-width: 910px) {
    .page-enter-details .logo_text .logo {
        width:60%;
        margin-top: 20px;
    }
}

.page-enter-details .logo_text .text {
    display: inline-block;
    width: 65%;
    height: auto;
    margin: auto;
    margin-top: 20px;
}
@media (max-width: 910px) {
    .page-enter-details .logo_text .text {
        width:50%;
        margin-top: 20px;
    }
}


.page-enter-details .form {
    padding:16px;
    margin-top: 20px;
    height: 100%;
    width: 100%;
}
@media (min-width: 768px) and (max-width: 1080px){
    .page-enter-details .form {
        margin-top: 50px;
    }
}
@media (min-width: 1081px) {
    .page-enter-details .form {
        grid-column: 2 / 2;
        background: none;
        margin:0;
        border-left: 2px solid #ffffff;
        display: flex;
        align-items: center;
        justify-content: left;
        padding: 16px;
    }
}

.page-enter-details .form .form-row {
    display: grid;
    grid-template-columns: 25% 75%;
    padding:8px 0;
    align-items: center;
}
@media (min-width: 768px) and (max-width: 1080px){
    .page-enter-details .form .form-row {
        padding:16px 0;
    }
}
@media (min-width: 1081px) {
    .page-enter-details .form .form-row {
        grid-template-columns: 20% 80%;
    }
}

.page-enter-details .form .form-row label {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    justify-self: right;
    margin-right: 8px;
}
@media (min-width: 910px) and (max-width: 1080px){
    .page-enter-details .form .form-row label {
        font-size: 2.5rem;
    }
}

.page-enter-details .form .form-row input[type=text] {
    display: inline-block;
    font-size: 24px;
    line-height: 24px;
    height: 32px;
    width: 100%;
    color: var(--cadisco-primary-color);
}
@media (min-width: 910px) and (max-width: 1080px){
    .page-enter-details .form .form-row input[type=text] {
        font-size: 40px;
        line-height: 40px;
        height: 48px;
    }
}
@media (min-width: 1081px) {
}

.page-enter-details .form .form-row .form-check-box {
    grid-column: 2 / 2;
    display: flex;
}

.page-enter-details .form .form-row .form-check-box label {
    font-size: 1rem;
    font-weight: 400;
    justify-content: left;
}
@media (min-width: 768px) and (max-width: 1080px){
    .page-enter-details .form .form-row .form-check-box label {
        font-size: 1.7rem;
    }
}

.page-enter-details .form .form-row .form-check-box label a {
    color: #ffffff;
    font-weight: 600;
}

.page-enter-details .form .form-row .error-message {
    grid-column: 2;
    color: var(--red);
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: rgb(255, 255, 255, 0.4);
}
@media (min-width: 768px) and (max-width: 1080px){
    .page-enter-details .form .form-row .error-message {
        font-size: 1.7rem;
    }
}

.checkbox {
    display:none;
}

.checkbox + label {
    background-image: url('images/checkbox-background.png' );
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    padding: 0 0 0 28px;
    cursor: pointer;
    width: 100%;
}
@media (min-width: 768px) and (max-width: 1080px){
    .checkbox + label {
        background-size: 32px 32px;
        padding: 0 0 0 40px;
    }
}

.checkbox-in-error + label {
    background-image: url('images/checkbox-in-error-background.png' );
}

.checkbox:checked + label {
    background-image: url('/images/checkbox-background-checked.png' );
}

.page-enter-details .form .form-row button {
    grid-column: 2 / 2;
    display: flex;
    justify-self: left;
    background-color: var(--cadisco-secondary-color);
    color: var(--cadisco-primary-color);
    text-transform: uppercase;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 8px;
    cursor: pointer;
}
@media (min-width: 768px) and (max-width: 1080px){
    .page-enter-details .form .form-row button {
        font-size: 2.5rem;
    }
}
@media (min-width: 1081px) {
}

/*
.error-message {
    background-color: var(--light-gray);
    border: 2px solid var(--red);    
    border-radius: 4px;
    padding: 8px 16px;
    margin: 1vh auto;
    left: 0;
    right: 0;
    position: fixed !important;
    top: 94vh;
    display: flex;
    z-index: 99999;
    width: fit-content;
    align-items: center;
    height: 4vh;
}
@media (max-height: 600px) {
    .error-message {
        top: 92vh;
        height: 6vh;
    }
}

.error-message img{
    width: 2vh;
    height: auto;
}
@media (max-height: 600px) {
    .error-message img{
        width: 4vh;
    }
}

.error-message span {
    color: var(--red);
    font-weight: 600;
    font-size: 2vh;
    margin-left: 8px;
}
@media (max-height: 600px) {
    .error-message span {
        font-size: 4vh;
    }
}
*/

.input-in-error {
    border: 2px solid var(--red);
}
