:root {
    
    --color-background: #FFFFFF;
    --color-primary: #46535E;  
    --color-primary-container:#262836;    
    --color-secondary: #46535E;     
    --color-tertiary: #82939A;    
    --color-grey: #424D56; 
    --color-red: #eb0017;
    
    --color-button-primary: #262836;    
    --color-button-primary-on: #FFF;
    --color-button-primary-hover:#46535E;

    --color-button-secondary: #949CA1;
    --color-button-secondary-on: #FFF;
    --color-button-secondary-hover:#626668;
    
}

/*:root {
    
    --color-background: #FFFFFF;
    --color-primary: #00717F;  
    --color-primary-container:#00BBC5;    
    --color-secondary: #054B55;     
    --color-tertiary: #87CFD3;    
    --color-grey: #424D56; 
    --color-red: #eb0017;
    
    --color-button-primary: #0096A1;    
    --color-button-primary-on: #FFF;
    --color-button-primary-hover:#00BBC5;

    --color-button-secondary: #949CA1;
    --color-button-secondary-on: #FFF;
    --color-button-secondary-hover:#626668;
    
}
*/

@font-face {
    font-family: 'Light';
    font-weight: 400;
    font-style: normal;
    src: url("fonts/FedraSansAltPro-LightLF.woff2") format('woff2');
}

@font-face {
    font-family: 'Light';
    font-weight: 400;
    font-style: italic;
    src: url("fonts/FedraSansAltPro-LightItalicLF.woff2") format('woff2');
}

@font-face {
    font-family: 'Regular';
    font-weight: 400;
    font-style: normal;
    src: url("fonts/FedraSansAltPro-DemiLF.woff2") format('woff2');
}

@font-face {
    font-family: 'Regular';
    font-weight: 400;
    font-style: italic;
    src: url("fonts/FedraSansAltPro-DemiItalicLF.woff2") format('woff2');
}

@font-face {
    font-family: 'Medium';
    font-weight: 400;
    font-style: normal;
    src: url("fonts/FedraSansAltPro-MediumLF.woff2") format('woff2');
}

@font-face {
    font-family: 'Medium';
    font-weight: 400;
    font-style: italic;
    src: url("fonts/FedraSansAltPro-MediumItalicLF.woff2") format('woff2');
}

@font-face {
    font-family: 'Bold';
    font-weight: 400;
    font-style: normal;
    src: url("fonts/FedraSansAltPro-BoldLF.woff2") format('woff2');
}

@font-face {
    font-family: 'Bold';
    font-weight: 400;
    font-style: italic;
    src: url("fonts/FedraSansAltPro-BoldItalicLF.woff2") format('woff2');
}

@font-face {
    font-family: 'Book';
    font-weight: 400;
    font-style: normal;
    src: url("fonts/FedraSansAltPro-BookLF.woff2") format('woff2');
}

@font-face {
    font-family: 'Book';
    font-weight: 400;
    font-style: italic;
    src: url("fonts/FedraSansAltPro-BookItalicLF.woff2") format('woff2');
}


/******************************************************************************** global */


body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: var(--color-background);
    font-family: 'Book';
    color: var(--color-primary);
    height: 100%;
    -webkit-tap-highlight-color:transparent;
}

a {
    color: var(--color-button-primary);
    transition: color .2s;
}

a:hover {
    color: var(--color-tertiary);
}

header,
footer,
main,
article,
section,
aside,
dialog,
form {
    position: relative;
    display: block;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

main, 
article {
    top: 0px;
    width: 100%;
    height: 100%;
}

main {
    top: 60px;
    height: calc(100% - 60px);
}

strong {
    font-family: 'Bold'; 
    font-weight: normal;
    color: var(--color-tertiary);
}

article.animate {
    position: fixed;
    top: 60px;
    left: 0px;
    height: calc(100vh - 60px);
    opacity: 1;
    transition: opacity .5s ease-out;
}

article.fadeout {
    opacity: 0;
}



/******************************************************************************** header */

header {
    position: fixed;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;    
    gap: 10px;
    height: 60px;
    width: 100%;;
    left: 0px;
    top: 0px;
    background: #FFFFFF;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 0 20px;   
}

header .logo {    
    display: flex;
    height: 39px;
    font-size: 1.25rem;
    font-family: 'Regular';
}

body.lang_fr header .logo {
    font-size: 1.1rem;
}

header .logo a {
    text-decoration: none;
    display: flex;
}

header .logo img {
    height: 100%;
    width: auto;
    pointer-events: none;
}

header .logo div.break {
    height: calc(100% - 5px);
    border-left: 1px solid var(--color-button-secondary);
    margin: 3px 20px 0;
}

header .logo div.text {
    height: 100%;
    display: flex;
    align-items: center; 
    margin-top: 3px;
}

header .logo div.text span {
    word-wrap: none;
    white-space: nowrap;
}

@media only screen and (max-width: 440px) { 
    
    body.lang_fr header .logo div.text span {
        word-wrap: normal;
        white-space: normal;
    }

}

header nav {
    font-size: 1rem;
    margin-top: 4px;
}

header nav a,
header nav a.cta {
    text-decoration: none;
    display: flex;
    align-items: center; 
    font-family: 'Regular';
}

header nav a img {
    margin-left: 10px;
    margin-top: -2px;
    pointer-events: none;
}

header nav.desktop {
    flex: 0 0 auto;
}

header nav.mobile {
    display: none;
}

@media only screen and (max-width: 640px) {  

    header .logo  {
        font-size: clamp(0.875rem,calc(0.875rem + .3vw),1.25rem);
    }

    header .logo img {
        height: auto;
        width: 66px;
    }

    header .logo div.break {
        margin: 4px 10px 0;
    }

    body.lang_fr header .logo {
        font-size: .7rem;
    }

}

@media only screen and (max-width: 1000px) {  
    

    header nav.desktop {
        display: none;
    }

    header nav.mobile {
        display: block;
    }

    header nav.mobile ul {
        position: fixed;
        box-sizing: border-box;      
        width: auto;
        margin: 0;
        padding: 0;
        right: 15px;
        top: 60px;
        padding: 0px 20px;
        display: none;
        background-color: var(--color-background);
        z-index: 1000000;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
        transition: opacity .1s ease-in-out  
    }

    header nav.mobile ul:before {
        position: absolute;
        top: -10px;
        left: 0px;
        content: ' ';
        width: 100%;
        height: 10px;
        display: block;
        background: #ffffff;
        pointer-events: none;
    }

    header nav.mobile ul.animate {
        opacity:0;        
        display: block;
    }
    
    header nav.mobile ul.fadein {
        opacity:1;
    }
    
    header nav.mobile ul a {
        display: block;
        font-family: 'Book';
        margin: 20px 0;
        width: 100%;
        text-align: right;
        font-size: 0.875rem;
        color: var(--color-grey);
    }

    header nav.mobile ul a.cta {
        display: flex;
        color: var(--color-button-primary);
        line-height: 1.5em;
        font-family: 'Regular';
    }
}



/******************************************************************************** home  */

#home {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: end;
    background-color: var(--color-button-primary);
}

#home .video {
    position: relative;
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100px;
}

#home .video video {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

#home .video video.portrait {
    display: none;
}


#home .video .text {
    position: absolute;
    transform: none;
    display: flex;
    flex-direction: column;
    top: 0px;
    gap: 10px;
    justify-content: center;
    left: 50px;
    height: 100%;
    font-family: 'Bold';
    color: #fff;
    font-size: clamp(1rem,calc(2rem + 2vw),4rem);
    line-height: clamp(1.2rem,calc(2.5rem + 2vw),4.8rem);
    text-shadow: 3px 2px 4px #22222291;
}

#home .video .text img {
    max-width: 270px;
    width: calc(150px + 4vw);
    height: auto;
    margin-bottom: 10px;
}

@media (min-width: 1701px) { 
    body.lang_fr #home .video .text {
      font-size: clamp(1rem,calc(1rem + 2vw),4rem);
      line-height:clamp(1.2rem,calc(2rem + 2vw),4.8rem)    
    }
}

@media (min-width: 1017px) and (max-width: 1700px) {  

    body.lang_fr #home .video .text {
        font-size: clamp(1rem,calc(1.2rem + 2vw),2.7rem);
        line-height: clamp(1.2rem,calc(2.5rem + 1.5vw),4.8rem);
    }

    body.lang_fr #home .video .text span.break {
        display: block;
    }
    
    body.lang_fr #home .video .text br { 
        display: none;
    }

}


@media (orientation: portrait) {
    
    #home .video video.landscape {
        display: none;
    }
    
    #home .video video.portrait {
        display: block;
        object-position: center top;
    }

}


#home section {
    flex: 0 0 auto;
    bottom: 0px;
    width: 100%;
    max-height: 225px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    background-color: var(--color-red);    
    padding: 5vh 60px;
}

#home section .text {
    flex: 1 1 auto;
    font-family: 'Light';
    font-style: normal;
    font-weight: 450;
    font-size: clamp(15px,calc(12px + 1vw),35px);
    line-height: 140%;
    color: #FFFFFF;
    width: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 400px;
}

#home section strong {
    color: #FFFFFF;
}

body.lang_fr #home section .text{
   font-size: clamp(12px,calc(8px + 1vw),30px);
}

#home section .text strong {
     word-wrap: none;
     white-space: nowrap;
}

#home section .steps {
    position: relative;
    flex: 2 1 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 900px;
}

#home section .steps div {
    position: absolute;
    height: 2px;
    background-color: #fff;
    width: calc(100% - 10px);
    margin-left: 5px;
}

#home section .steps span {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 50px;
    background: url(../img/place.svg) no-repeat;
    background-size: contain;
    background-position: center;
    font-family: 'Medium';
    font-size: 0.9375rem;
    color: var(--color-red);
}

#home section .button {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;;
    max-width: 400px;
}

#home section .button a {
    outline: none;
    border: none;
    background-color: #fff;
    color: var(--color-secondary);
    font-family: 'Bold';
    padding: 15px 60px 10px;
    font-size: 2rem;
    cursor: pointer;
    transition: background-color .25s, color .25s;
    text-align: center;
}

body.lang_fr #home section .button a {
    font-size: 1.5rem;
}


#home section .button a:hover {
    background-color: var(--color-primary-container);
    color: #fff;
}

@media only screen and (min-width: 701px) and (max-width: 1000px) {  

    #home section  {
        padding: 90px 60px 40px;
        gap: 20px;
    }
    
    #home section .text {
        position: absolute;
        top: 2px;
        width: 100%;
        max-width: none;
        padding: 0 60px;
        box-sizing: border-box;
        font-size: clamp(20px,calc(20px + 1vw),35px);
        text-align: justify;
    }

    body.lang_fr #home section .text {
        font-size: clamp(15px,calc(15px + 1vw),20px);
    }
    
}

@media (orientation: portrait) {

    #home .video .text {
        gap: 10px;
        left: 5vw;
        font-size: clamp(1rem,calc(1rem + 2.5vw),5.5rem);
        line-height: clamp(1.2rem,calc(1.4rem + 2.5vw),4.8rem);
        height: 32vw;
        text-shadow: 2px 1px 4px #22222291;
    }

    body:not(.lang_fr) #home .video .text br:nth-of-type(1),
    body:not(.lang_fr) #home .video .text br:nth-of-type(3) {
        display: none
    }
    
    #home .video .text img {
        display: none;
    }

    body.lang_fr  #home .video .text {
        font-size: clamp(1rem,calc(.6rem + 2.5vw),5rem);
        line-height: clamp(1rem,calc(.6rem + 3.5vw),4.8rem);
        height: 34vw;
    }

}

@media (orientation: portrait) and (max-width: 550px)  {

    #home .video .text img {
        max-width: 360px;
        width: calc(50px + 10vw);
        margin-bottom: 5px;
    }

}


@media only screen and (max-width: 700px) { 
    
    #home section {
        height: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 5px 20px 20px;
    }
    
       
    #home section .text {
        max-width: none;
        white-space: nowrap;
        width: 100%;
        font-size: clamp(15px,calc(1px + 4vw),35px);
    }

    body.lang_fr #home section .text {
          white-space: normal;
         text-align: center;
         font-size: clamp(10px,calc(1px + 4vw),20px);
    }

     #home section .steps {
         display: none;
     }

    #home section .text p {
        margin-bottom: 0;         
    }

    #home section .button {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0;
        margin-left: 0px;
        max-width: none;
        width: 100%;
        margin-bottom: 0px;
    }
    
    #home section .button a {
        flex: 1 1 auto;
        width: 100%;
        padding: 10px 0px 8px;
        font-size: 1.5rem;
    }

}


/******************************************************************************** board */


.board {
    display: flex;
    background: #fff url(../img/steps_bg.png) no-repeat;
    background-position: top right;
    background-size: auto;
    background-attachment: fixed;   
    height: auto; 
}

@media only screen and (max-width: 1000px) { 

    .board {
         flex-direction: column;
        background-position: right bottom;
        background-image: url(../img/steps_bg_mobile.png);
    }

}



/************************************** sidebar */

.board aside.sidebar {
    position: fixed;
    top: 0px;
    left: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 160px 0 20px;
    max-width: 400px;
    width: 25vw;
    height: 100%;
    background: linear-gradient(188.74deg, rgba(205, 219, 222, 0.4) 0%, rgba(205, 219, 222, 0) 100%);
}

.board aside.sidebar .heading {
    color: var(--color-secondary);
    font-family: 'Medium';
    font-size: clamp(1rem,.5rem + 1.5vw,2rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 60%;
}

.board aside.sidebar .heading span {
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    align-content: center;
    background-color: var(--color-primary-container);
    max-width: 150px;
    max-height: 150px;
    width: 10vw;
    height: 10vw;
    border-radius: 100%;
    margin-bottom: 30px;
}

.board aside.sidebar .heading span img {
    width: 65%;
    height: auto;
}

.board aside.sidebar .heading span img.mobile {
    display: none;
}

.board aside.sidebar ul {
    margin: 0;
    padding: 0;
    color: var(--color-grey);
    font-size: 1rem;
}

.board aside.sidebar ul a {
    color: var(--color-grey);
    margin: 0 5px;
    text-decoration: none;
}


@media only screen and (max-width: 1000px) { 

    .board aside.sidebar {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;        
        padding: 0 35px;        
        width: 100%;
        height: auto;
        background: none;
        max-width: none;
    }

    .board aside.sidebar:first-child {
        padding-top: 40px;
        background: linear-gradient(180deg, rgba(135, 207, 211, 0.7) 0%, rgba(135, 207, 211, 0) 100%);
    }

    .board aside.sidebar .heading {
        flex-direction: row;
        max-width: none;
        width: 100%;
        gap: 20px;
        justify-content: flex-start;
    }

    .board aside.sidebar .heading span {
        width: 100px;
        height: 100px;
        margin: 0;
    }

    .board aside.sidebar .heading span img:not(.mobile) {
        display: none;
    }

    .board aside.sidebar .heading span img.mobile {
        display: block;
    }

    .board aside.sidebar div {
        flex: 1 1 auto;
        text-align: left;
        font-size: 2rem;
    }

    .board aside ul {
        display: none;
    }

}

@media only screen and (max-width: 760px) { 

   .board aside.sidebar {       
        padding: 0 20px;   
   }
    
    .board aside.sidebar .heading span {
        width: 65px;
        height: 65px;
    }

    .board aside.sidebar div {
        text-align: left;
        max-width: 200px;
        font-size: 1.5rem;
    }

     .board aside.sidebar:first-child {
        padding-top: 20px;
    }

}


/***************************************** progress */

.board aside.progress {
    position: fixed;
    top: 0px;
    right: 0px;
    width: 280px;    
    height: 100%;
    padding-top: 160px;
}

.board aside.progress .bar {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content:space-between;
    align-items: center;
    height: 80%;
}

.board aside.progress .bar div.line {
    position: absolute;
    width: 4px;
    height: 100%;
    background-color: #E2E2E2;    
}

.board aside.progress .bar div.line div {
    position: relative;
    top: 0px;
    left: 0px;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #262836 0%, #E2E2E2 20%);
}

.board aside.progress span {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    display: block;
    background-color: #E2E2E2;
}

.board aside.progress span:first-of-type,
.board aside.progress span:last-of-type {
    width: 30px;
    height: 30px;
}

.board aside.progress span:first-of-type:after,
.board aside.progress span:last-of-type:after {
    display: block;
    color: #E2E2E2;
    content: 'Start';
    margin-left: 40px;
    margin-top: 4.5px;
    font-family: 'Regular';
    font-size: 1.25rem;
}

body.lang_fr .board aside.progress span:first-of-type:after {
    content: 'Démarrer';
}

.board aside.progress span:last-of-type:after {
    content: 'Finish';
    color:var(--color-button-secondary);
}

body.lang_fr .board aside.progress span:last-of-type:after {
    content: 'Terminer';
}

.board aside.progress span:first-of-type {
    background-color: var(--color-primary-container);
}
.board aside.progress span:first-of-type:after {
    color: var(--color-primary-container);
}

.board aside.progress.stage_2 span:nth-of-type(2),
.board aside.progress.stage_3 span:nth-of-type(2),
.board aside.progress.stage_4 span:nth-of-type(2),
.board aside.progress.stage_5 span:nth-of-type(2) {
     background-color: var(--color-primary-container);
}
.board aside.progress.stage_2 .bar div.line div {
   background: linear-gradient(180deg, #262836 20%, #E2E2E2 40%);
}

.board aside.progress.stage_3 span:nth-of-type(3),
.board aside.progress.stage_4 span:nth-of-type(3),
.board aside.progress.stage_5 span:nth-of-type(3) {
     background-color: var(--color-primary-container);
}
.board aside.progress.stage_3 .bar div.line div {
   background: linear-gradient(180deg, #262836 35%, #E2E2E2 60%);
}

.board aside.progress.stage_4 span:nth-of-type(4),
.board aside.progress.stage_5 span:nth-of-type(4) {
     background-color: var(--color-primary-container);
}
.board aside.progress.stage_4 .bar div.line div {
   background: linear-gradient(180deg, #262836 60%, #E2E2E2 75%);
}

.board aside.progress.stage_5 span:nth-of-type(5) {
     background-color: var(--color-primary-container);
}
.board aside.progress.stage_5 .bar div.line div {
   background: linear-gradient(180deg, #262836 75%, #E2E2E2 92%);
}

@media only screen and (max-width: 1000px) { 

    .board aside.progress {
        position: relative;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex-direction: row;      
        padding: 50px;        
        padding-top: 45px;
        width: 100%;
        height: 170px;
        background: linear-gradient(180deg, rgba(130, 147, 154, 0.7) 0%, rgba(130, 147, 154, 0) 100%);
        margin-bottom: -15px;
    }

    .board aside.progress .bar {
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content:space-between;
        align-items: center;
        height: auto;
        width: 100%;
    }

    .board aside.progress .bar div.line {
        position: absolute;
        width: 100%;
        height: 4px;
        background-color: #ffffff;   
    }

    .board aside.progress .bar div.line div {
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--color-primary-container) 0%, #FFFFFF 17%);
    }

    .board aside.progress.stage_2 .bar div.line div {
       background: linear-gradient(90deg, #262836 17%, #FFFFFF 37%);
    }
    
    .board aside.progress.stage_3 .bar div.line div {
       background: linear-gradient(90deg, #262836 32%, #FFFFFF 57%);
    }
    
    .board aside.progress.stage_4 .bar div.line div {
       background: linear-gradient(90deg, #262836 57%, #FFFFFF 75%);
    }
    
    .board aside.progress.stage_5 .bar div.line div {
       background: linear-gradient(90deg, #262836 75%, #FFFFFF 97%);
    }

    .board aside.progress span {
        background-color: #ffffff;
    }
    .board aside.progress span:first-of-type:after,
    .board aside.progress span:last-of-type:after {
        margin-left: 2px;
        margin-top: 48px;
        font-size: 1.1rem;
    }

    .board aside.progress span:last-of-type:after {
        position: absolute;
        margin-left: auto;
        right: 2px;
        content: 'Finish';
        color:var(--color-grey);
    }
        

}

@media only screen and (max-width: 760px) { 

    .board aside.progress {     
        padding: 30px;
        margin-bottom: -75px;
    }

     .board aside.progress span {
        width: 13px;
        height: 13px;
        background-color: #ffffff;
    }

    .board aside.progress span:first-of-type,
    .board aside.progress span:last-of-type {
        width: 17px;
        height: 17px;
    }

    .board aside.progress span:first-of-type:after,
    .board aside.progress span:last-of-type:after {
        margin-top: 35px;
        font-family: 'Regular';
        font-size: 0.875rem;
    }

}


/******************************************************************************** questions */

.board .questions {
    margin-left: clamp(10vw,23vw,400px);
    margin-right: 100px;
    width: 100%;
}

.board .questions form {
    padding: 100px;
    max-width: 1040px;
}

.board .questions .question {
    transition: opacity .35s ease-in-out, max-height .35s ease-in-out;
}

.board .questions .question:not(:first-of-type) {
    display: none;
}

.board .questions .question.animate {
    display: block;
    opacity:0;
    max-height: 0;
}

.board .questions .question.next {
    display: block;
    opacity:1;
    max-height: 1000px;
}

.board .questions fieldset {
    border: none;
    margin: 0;
    padding: 0;
    margin-bottom: 40px;
    
}

.1board .questions fieldset:not(:first-of-type) {
    display: none;
}

.board .questions legend {
    font-size: 1.5rem;
    color: #000;
}

.board .questions form legend strong {
    display: block;
    font-size: 1.25rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.board .questions form label {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-top: 20px;
    color: var(--color-secondary);
    font-size: 1.25rem;
    cursor: pointer;
}

.board .questions form input[type="radio"],
.board .questions form input[type="checkbox"] {
    position: relative;
    appearance: none;
    padding: 0;
    margin: 0;
    margin-top: 0px;
    flex: 0 0 auto;
    height: 20px;
    width: 20px;
    border-radius: 100%;
    border: 2px solid var(--color-secondary);
    margin-right: 12px;
} 

.board .questions form input[type="checkbox"] {
    border-radius: 4px;
}

.board .questions form input[type="radio"]:checked::after,
.board .questions form input[type="checkbox"]:checked::after {
    position: absolute;
    content: '';
    top: -2px;
    left: -2px;
    width: 16px;
    height: 16px;
    border: 2px solid var(--color-secondary);
    background-color:var(--color-primary);
    border-radius:100%;
}

.board .questions form input[type="checkbox"]:checked::after {
    top: 0px;
    left: 0px;
    border-radius: 0px;
    border: none;
    background: none;
    background: url(../img/icon_checkmark.svg) no-repeat;
    background-size: 90%;
    background-position: center center;
}

.board .questions form .buttons { 
    display: flex;
    gap: 12px;
    margin-top: 50px;
}

.board .questions form button {
    background-color: var(--color-button-primary);
    font-family: 'Medium';
    border: none;
    font-size: 1.125rem;
    padding: 12px 15px 10px;
    color: var(--color-button-primary-on);
    background-image: url(../img/icon_arrow_right.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 9px) center;
    padding-right: 29px;
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color .25s, color .25s, opacity .25s;
}

.board .questions form button.back {
    background-color: var(--color-button-secondary);
    color: var(--color-button-secondary-on);
    background-image: url(../img/icon_arrow_left.svg);
    background-position: 9px center;
    padding-right: 15px;
    padding-left: 29px;
}

.board .questions form button:not(:disabled):hover {
    background-color: var(--color-button-primary-hover);
}

.board .questions form button.back:not(:disabled):hover {
    background-color: var(--color-button-secondary-hover);
}

.board .questions form button:disabled {
    opacity: 0.25;
    cursor: default;
}

.board .questions form button.complete {
    background-image: none;
    padding-right: 15px;
}

@media only screen and (max-width: 1000px) { 

    .board .questions {
        margin: 0px;
        width: 100%;
        padding: 40px;
        margin-top: 20px;
        padding-right: 170px;
    }

    .board .questions form {
        padding: 0px;
        max-width: none
    }

}

@media only screen and (max-width: 760px) { 

    .board .questions {
        margin: 0px;
        width: 100%;
        padding: 20px;
        margin-top: 20px;
    }
    
    .board .questions form {
        padding: 0px;
        max-width: none
    }

    .board .questions fieldset {
        margin-bottom: 40px;
    }

    .board .questions legend {
        font-size: 1.125rem;
    }
    
    .board .questions form label,
    .board .questions form legend strong {        
        font-size: 1rem;
    }

    .board .questions form .buttons { 
        margin-top: 27px;
    }

    .board .questions form button {
        font-size: 1rem;
    }    

}


/******************************************************************************** results */

.board .results {
   margin-left: clamp(10vw,25vw,400px);
   margin-right: 0px;
   width: 100%;
   padding: 50px 80px;
}

.board h1,
.board h2 {
    font-family: 'Medium';
    color: var(--color-primary);   
    font-size: 3rem; 
    font-weight: normal;
    margin: 0;
    padding: 0;
}

.board h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.board p {
    color: var(--color-grey);
    font-size: 1.25rem;
}

.board .textcolumn {
    display: flex;
    max-width: 1200px;    
}

.board .textcolumn.break {
    margin-top: 60px;
}

.board .textcolumn div {
    flex: 1 1 auto;
    gap: 40px;
}


.board .textcolumn div p:last-child {
    margin-bottom: 0;
}

.board .textcolumn div:last-child {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.board .textcolumn .score {
    flex: 0;
    min-width: 300px;
}

.board .textcolumn .downloadreport {
    flex: 0;
    min-width: 40%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.board .textcolumn .downloadreport button {
    width: fit-content;
}

.board .textcolumn .mobile-score {
    display: none;
}

.board .textcolumn .score img {
    width: 100%;
    height: auto;
}

.board .results button {
    background-color: var(--color-button-primary);
    font-family: 'Medium';
    border: none;
    font-size: 1.125rem;
    padding: 12px 15px 10px;
    color: var(--color-button-primary-on);
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color .25s, color .25s;
    word-wrap: none;
    white-space: nowrap;
}

@media only screen and (max-width: 1200px) and (min-width: 970px) { 
    
    body.lang_fr .board .results button {
        font-size: .9rem;
    }

}

.board .results button:not(:disabled):hover {
    background-color: var(--color-button-primary-hover);
}

.board .results button:disabled {
    opacity: 0.25;
    cursor: default;
}

.board .results .button-message {
    position: absolute;
    font-family: 'Medium';
    margin-top: 15px;
    font-size: 1.125rem;
    color: var(--color-secondary);
    pointer-events: none;
    transition: opacity .25s;
    opacity: 0;
}

.board .results button:disabled + .button-message {
    opacity: 1;
}


.board .breakdown {
    margin: 60px 0 0;
    max-width: 1200px;
}

.board .breakdown .needsimprovement,
.board .breakdown .excellent,
.board .breakdown .good {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 30px;
    gap: 30px;
    min-height: 140px;
    background: #FFFFFF;
    border: 1px solid #E06A6A;
    box-shadow: 0px 0px 20px rgba(217, 217, 217, 0.5);
    margin-bottom: 30px;
}

.board .breakdown .icon {
    width: 90px;
}

.board .breakdown .icon path {
    stroke: #E06A6A;
}

.board .breakdown .text h3 {
    color: var(--color-primary);
    font-size: 1.25rem;
    font-weight: normal;
    font-family: 'Book';
    margin: 0;
    padding: 0;
    margin-top: 10px;;
    margin-bottom: 10px;;
}

.board .breakdown .text h3 svg {
    display: none;
}

.board .breakdown .text p {
    color: var(--color-grey);
    font-size: 1rem;
}

.board .breakdown .stats {
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.board .breakdown .stats div {
    font-size: 2.25rem;
    text-align: right;
}

.board .breakdown .stats label {
    display: block;
    width: fit-content;
    font-family: 'Bold';
    font-size: 0.75rem;
    color: #FFF;
    background-color: #E06A6A;
    margin: 0;
    padding: auto;
    margin-top: 10px;
    padding: 5px 10px 3px;
    text-align: center;
    word-wrap: none;
    white-space: nowrap;
}

.board .breakdown .needsimprovement {
    border: 1px solid #E06A6A;
}

.board .breakdown .needsimprovement path {
    stroke: #E06A6A;
}

.board .breakdown .needsimprovement .stats label {
    background-color: #E06A6A;
}

@media only screen and (min-width: 761px) { 
    
    body.lang_fr .board .breakdown .needsimprovement .stats label {
        white-space: normal;
    }

}

.board .breakdown .excellent {
    border: 1px solid #8DC63F;
}

.board .breakdown .excellent path {
    stroke: #8DC63F;
}
.board .breakdown .excellent .stats label {
    background-color: #8DC63F;
}

.board .breakdown .good {
    border: 1px solid #FFC425;
}

.board .breakdown .good path {
    stroke: #FFC425;
}

.board .breakdown .good .stats label {
    background-color: #FFC425;
    color: var(--color-grey);
}

@media only screen and (max-width: 1300px) { 

     .board .textcolumn .score {
        display: none !important;
    }

    .board .textcolumn .mobile-score {
        display: block;
        width: 100%;
        max-width: 400px;
        margin: 20px auto 30px;
        height: auto;
    }
  

}


@media only screen and (max-width: 1000px) { 

    .board .results {
        margin: 0px;
        width: 100%;
        padding: 40px;
        margin-top: 10px;
    }

    .board h1,
    .board h2 { 
        font-size: 1.7rem; 
    }


    .board .textcolumn.break {
        margin-top: 80px;
    }
  

}

@media only screen and (max-width: 760px) { 

    .board .results {
        padding: 20px;
        margin-top: 10px;
    }

    .board h1,
    .board h2 { 
        font-size: 1.25rem; 
        margin-bottom: 16px;
    }

      .board p {
        font-size: 1rem;
    }

    .board .textcolumn .score {
        display: none !important;
    }

    .board .textcolumn .mobile-score {
        display: block;
        width: 100%;
        max-width: 400px;
        margin: 20px auto 30px;
        height: auto;
    }

    .board .textcolumn {
        flex-direction: column;
    }

    .board .textcolumn.break {
        margin-top: 40px;
    }

    .board .textcolumn .downloadreport {
        margin-top: 30px;        
        width: auto;
        display: flex;
        align-items: flex-start;
    }
    
    .board .results button {
        font-size: 1rem;
        padding: 10px 10px 8px;
    }

    .board .results .button-message {
        font-size: 0.9375rem;
        margin-top: 10px;
    }

    .board .breakdown {
        margin-top: 60px;
    }

    .board .breakdown .needsimprovement,
    .board .breakdown .excellent,
    .board .breakdown .good {
        position: relative;
        display: flex;
        flex-direction: column;
        margin-bottom: 20px;
        gap: 5px;
    }

    .board .breakdown .icon {
        display: none;
    }

    .board .breakdown .text {
        margin-top: 0px;
    }

    .board .breakdown .text h3 {
        display: flex;        
        align-content: center;
        align-items: center;
    }

    .board .breakdown .text h3 svg {
        width: 60px;
        height: auto;
        margin-right: 20px;
        flex: 0 0 60px;
        display: block;
    }

    .board .breakdown .stats {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-bottom: 5px;
    }

    .board .breakdown .stats div {
        width: 100%;
        font-size: 2.25rem;
        text-align: left;
        font-size: 1.75rem;
    }
    
    .board .breakdown .stats label {       
        margin: 0;
        font-size: 0.75rem;
    }

}


/******************************************************************************** dialog */

dialog {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: #6f6f6f7a;
    z-index: 100000;
    border: none;
    padding: 20px;
    transition: opacity .25s ease-in-out  
}

dialog.animate {
    opacity:0;
    display: flex;
}

dialog.fadein {
    opacity:1;
}

dialog.modal form {
    padding: 60px;
}

dialog form {
    position: relative;
    margin: auto;
    top: 0px;
    left: 0px;
    width: 100%;
    max-width: 650px;
    max-height: 100%;
    height: auto;
    display: block;
    background-color: #ffffff;    
    padding: 40px 60px;
    gap: 40px;    
    box-shadow: 0px 0px 30px 10px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
}

dialog .close {
    position: absolute;
    top: 10px;
    right: 10px;
}

dialog .close img {
    pointer-events: none;
}

dialog form h1 {
    position: relative;
    font-size: 1.5rem;
    text-align: center;
    font-weight: normal;
    margin: 0;
    padding: 0;
    color: var(--color-primary);
    font-family: 'Medium';
    margin-bottom: 40px;
}

dialog.modal form h1 {
    font-size: 2.25rem;
    margin-bottom: 20px;
}

dialog form p {   
    font-size: 1.25rem;
    color: var(--color-grey);
}

dialog.modal form p {
    line-height: 2rem;
    text-align: center;
}


dialog form label {
    display: block;
    margin: 0;
    padding: 0;
    color: var( --color-grey);
    font-family: 'Medium';
    font-size: 1rem;
    margin-bottom: 8px;    
}

dialog form .field {
    margin: 20px 0 24px;
}

dialog form input,
dialog form select {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid var(--color-button-primary);
    font-size: 1.25rem;
    font-family: 'Light';
    color: var(--color-grey);
    border-radius: 0;
    outline: none;
    transition: border-color .25s;
}

dialog form select {
    appearance: none;
    background: none;
    background-image: url(../img/icon_select.svg);
    background-repeat: no-repeat;
    background-position: calc(100% - 14px) center;
    background-size: 14px auto;
}

dialog form select::invalid,
dialog form input::placeholder {
    color: var(--color-button-secondary);
}

dialog form input[type="text"]:focus {
  border: 1px solid #ACC0C4;
}

dialog form .field .error {
    max-height: 0px;
    margin-top: 5px;
    color: #EA2238;
    font-size: 1rem;
    opacity: 0;
    transition: opacity .25s, max-height .25s;
    pointer-events: none;
}

dialog form .field.error input,
dialog form .field.error select {
    border-color: #EA2238
}
dialog form .field.error .error {
   opacity: 1;
   max-height: 40px;
}


dialog form p.note {
    font-family: 'Book';
    font-size: 0.875rem;
    color: var(--color-button-secondary);
}

dialog form p.note a {
    color: var(--color-button-secondary);
    text-decoration: underline;
}

dialog form button {
    display: block;
    background-color: var(--color-button-primary);
    font-family: 'Medium';
    border: none;
    width: fit-content;
    margin: 30px auto 0;    
    font-size: 1.125rem;
    padding: 12px 15px 10px;
    color: var(--color-button-primary-on);
    box-sizing: border-box;
    cursor: pointer;
    transition: background-color .25s, color .25s;
}

dialog form button:hover {
    background-color: var(--color-button-primary-hover);
}

dialog form button.grey {
    background-color: var(--color-button-secondary);
    color: var(--color-button-primary-on);
}

dialog form button.grey:hover {
    background-color: var(--color-button-secondary-hover);
}

dialog form .buttons {
    display: flex;
    width: fit-content;
    gap: 10px;
    margin: 0 auto;
}

dialog form .buttons button {
    margin-top: 10px;
    word-wrap: none;
    white-space: nowrap;
}


@media only screen and (max-width: 600px) { 
    
    dialog {
         padding: 25px 25px;
    }

    dialog form {
        padding: 40px 20px;        
    }

    dialog.modal form {
        padding: 30px 20px;        
    }

    dialog form h1 {
        font-size: 1.25rem;   
        margin-bottom: 20px;
    }

    dialog.modal form h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    dialog form p {
        font-size: 1rem;
    }
    
    dialog.modal form p {
        font-size: 1rem;
        line-height: 1.3125rem;
    }

    dialog form label {
        font-size: 0.875rem;
        margin-bottom: 4px;    
    }

    dialog form .field {
        margin-bottom: 20px;
    }

    dialog form input,
    dialog form select {
        padding: 10px;
        font-size: 1rem;
    }
    
    dialog form .field .error {
        margin-top: 5px;
        font-size: 0.85rem;
    }
    

    dialog form p.note {
        font-size: 0.75rem;
    }
    
    dialog form button {
        margin: 24px auto 0;    
        width: 100%;;
        font-size: 1.125rem;
        padding: 12px 15px 10px;
    }
    

}