
body {
    padding: 0;
    margin: 0;
    overflow: hidden;
}

#container {
    position: absolute;
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100vh;
    font-size: 16px;
    font-family: 'Arial', sans-serif;
}

* {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

#container > div {
/*
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
*/
/*    opacity: 0;*/
    
}



/*/////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*//////////////////////         Backgrounds          /////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////*/



#c_bg {
    position: absolute;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

#c_bg::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 50%;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0)), to(rgba(0,0,0,.4)));
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.4) 100%);
}
#c_bg .bg {
    position: absolute;
    background-position: center;
    width: 100%;
    height: 100%;
}

.popup {
    position: absolute;
    padding: 0;
    margin: 0;
/*    height: 40%;*/
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
    background: #fff;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    -webkit-box-shadow: 10px 10px 30px rgba(0,0,0,.5);
            box-shadow: 10px 10px 30px rgba(0,0,0,.5);
}

.popup .bg {
    position: absolute;
    background-image: url(bg/01_blur.jpg);
    background-position: center;
    width: 100%;
    height: 100%;
    
    -webkit-box-shadow: inset 0px 0px 70px #fff;
    
            box-shadow: inset 0px 0px 70px #fff;
}

.popup .bg, #c_bg .bg {
    -webkit-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
}

.intro_p_bg {
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    background: #fff;
}

.bg-horiz {
    background-size: 100vw;
}

.bg-verti {
    background-size: 180vh;
}



/*/////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*//////////////////////         Main styles          /////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////*/



.p_content {
    position: relative;
    margin: 0;
    padding: 50px 70px;
    text-align: center;
    line-height: 22px;
    color: #22272c;
    overflow: hidden;
    font-family: 'st_ryderegular', 'Arial', sans-serif;
}

strong {
    font-family: 'gt_eesti_pro_displaybold', 'Arial', sans-serif;
    font-weight: normal;
/*    letter-spacing: .05em;*/
}

.p_content_intro {
    
}

h1 {
    margin: 0;
    font-size: 2em;
    line-height: 1.1em;
    font-family: 'gt_eesti_pro_displayultrabold', 'Arial', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: .05em;
}

h2 {
    margin: 0;
    font-size: 1.5em;
    line-height: 1.1em;
    font-family: 'gt_eesti_pro_displayregular', 'Arial', sans-serif;
    font-weight: normal;
    letter-spacing: .05em;
}

p {
    margin: 0;
}

@media screen and (max-width: 1023px), (orientation: portrait) {
    br.hide {
        display: none;
    }
}

/*/////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*//////////////////////           Buttons            /////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////*/


.btn_stylized {
    position: relative;
    display: inline-block;
    border-radius: 2px;
    margin-top: 40px;
    padding: 17px 40px;
    font-family: 'gt_eesti_pro_displayultrabold', 'Arial', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    color: #fff;
    border: none;
    font-size: 1.3em;
    letter-spacing: 0.1em;
    -webkit-box-shadow: 4px 5px 20px rgba(0,0,0,.15);
            box-shadow: 4px 5px 20px rgba(0,0,0,.15);
    cursor: pointer;
    
    -webkit-transition: all .2s ease;
    
    transition: all .2s ease;
}

.btn_stylized::before{
    content: '';
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    display: block;
    position: absolute;
    top: 4px;
    left: 3px;
    bottom: 3px;
    right: 3px;
    border: 1px solid #fff;
    opacity: .3;
    
    -webkit-transition: all .2s ease;
    
    transition: all .2s ease;
}

.btn_stylized:hover {
    -webkit-box-shadow: 10px 10px 20px rgba(0,0,0,.5);
            box-shadow: 10px 10px 20px rgba(0,0,0,.5);
}

.btn_stylized:hover::before {
    opacity: 1;
}

.btn_stylized:hover span::before {
    opacity: 1;
}

.btn_dark { background-color: #22272c; }
.btn_dark span { background-color: #22272c; }

.btn_green {
    background: #789e14;
}

.btn_icon span {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    border-radius: 50px;
    -webkit-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.btn_icon span::before{
    content: '';
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    display: block;
    position: absolute;
    top: 4px;
    left: 3px;
    bottom: 3px;
    right: 3px;
    border: 1px solid #fff;
    opacity: .3;
    
    border-radius: 50px;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

.btn_icon span.btn_replay { background-image: url(img/repeat.svg); }
.btn_icon span.btn_next { background-image: url(img/arrow_right.svg); }
.btn_icon span.btn_formation { background-image: url(img/finished.png); background-size: 76%;}

.btn_small {
    margin-top: 20px;
    padding: 13px 30px 9px 30px;
}

.btn_small:hover {
    -webkit-box-shadow: 5px 5px 15px rgba(0,0,0,.5);
            box-shadow: 5px 5px 15px rgba(0,0,0,.5);
}

.btn_small.btn_icon {
    padding-left: 45px;
    margin-left: 20px;
    overflow: visible;
}

.btn_small span {
    width: 70px;
    height: 70px;
}

.btn_tiny {
    margin-top: 0;
    padding: 13px 16px 11px 16px;
    font-size: .8em;
}

.btn_tiny:hover {
    -webkit-box-shadow: 3px 3px 12px rgba(0,0,0,.5);
            box-shadow: 3px 3px 12px rgba(0,0,0,.5);
}

.btn_tiny.btn_icon {
    padding-left: 35px;
    margin-left: 18px;
}

.btn_tiny span {
    width: 50px;
    height: 50px;
}

.btn_hovered {
    position: relative;
    display: inline-block;
    border-radius: 40px;
    width: 60px;
    height: 60px;
    font-family: 'gt_eesti_pro_displayultrabold', 'Arial', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    color: #fff;
    border: none;
    font-size: 1em;
    letter-spacing: 0.1em;
    -webkit-box-shadow: 4px 5px 20px rgba(0,0,0,.15);
            box-shadow: 4px 5px 20px rgba(0,0,0,.15);
    cursor: pointer;
/*    overflow: hidden;*/
    opacity: .6;
    
    -webkit-transition: all .2s ease;
    
    transition: all .2s ease;
}

.btn_hovered::before{
    content: '';
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    display: block;
    position: absolute;
    border-radius: 40px;
    top: 4px;
    left: 3px;
    bottom: 3px;
    right: 3px;
    border: 1px solid #fff;
    opacity: .3;
    
    -webkit-transition: all .2s ease;
    
    transition: all .2s ease;
}

.btn_hovered:hover {
    -webkit-box-shadow: 10px 10px 20px rgba(0,0,0,.5);
            box-shadow: 10px 10px 20px rgba(0,0,0,.5);
}

.btn_hovered:hover::before {
    opacity: 1;
}

.btn_hovered span {
    position: absolute;
    white-space: nowrap;
    top: 70px;
    right: 0px;
    padding: 10px 15px;
    background-color: #22272c;
    -webkit-transform-origin: 100% 0;
            transform-origin: 100% 0;
    -webkit-transform: translateY(-100%) scale(0);
            transform: translateY(-100%) scale(0);
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    opacity: 0;
}

.btn_hovered:hover{
    opacity: 1;
}

.btn_hovered:hover span {
    -webkit-transform: translateY(0%) scale(1);
            transform: translateY(0%) scale(1);
    opacity: 1;
    
}


/*/////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*//////////////////////         Introduction         /////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////*/

#intro {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
}

#intro.introHidden {
    -webkit-transform: scale(.5);
            transform: scale(.5);
    opacity: 0;
}

#intro.introThemes {
    -webkit-transform: translateY(-100%);
            transform: translateY(-100%);
    opacity: 0;
}

#intro .popup {
    -webkit-transform: translateX(-50%) translateY(-44%);
            transform: translateX(-50%) translateY(-44%);
}

#intro .popup .bg {
    height: 110%;
    top: -10%;
}

.intro_logo {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 11px;
    left: 50%;
    background: rgba(255, 255, 255, 0.95) url(img/climats_logo.svg) center;
    background-size: contain;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    -webkit-box-shadow: 4px 5px 20px rgba(0,0,0,.15);
            box-shadow: 4px 5px 20px rgba(0,0,0,.15);
    
    -webkit-transform: translateX(-50%) translateY(-50%);
    
            transform: translateX(-50%) translateY(-50%);
}

.p_content_intro {
    padding-top: 150px;
}

.p_content_intro .separateur {
    width: 350px;
    opacity: .5;
    margin: 15px 0;
    max-width: 100%;
}

.p_content_intro p {
    
}

#intro_controls {
    position: absolute;
    bottom: 40px;
    right: 40px;
    padding: 6px 6px 6px 10px;
    background: rgba(0,0,0,.8);
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    color: #fff;
    font-family: 'st_ryderegular', 'Arial', sans-serif;
    opacity: .6;
    -webkit-transition: opacity .3s ease;
    transition: opacity .3s ease;
    
}

#intro_controls:hover {
    opacity: 1;
}

#intro_c_text {
    text-align: right;
    font-size: .8em;
    display: block;
    float: left;
    padding-right: 10px;
}

#intro_c_text span {
    font-size: .8em;
}

.intro_c_prev, .intro_c_next {
    width: 40px;
    height: 48px;
    float: left;
    cursor: pointer;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.intro_c_prev {
    border-right: 1px solid rgba(255,255,255,.5);
    background: url(img/arrow_left.svg) center no-repeat;
    background-color: rgba(255,255,255,0);
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}
.intro_c_next {
    background: url(img/arrow_right.svg) center no-repeat;
    background-color: rgba(255,255,255,0);
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}

.intro_c_prev:hover, .intro_c_next:hover {
    background-color: rgba(255,255,255,.2);
}

.intro_patrimoine {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 200px;
    height: 120px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    background: rgba(0,0,0,.5) url(img/patrimoine_logo.svg) center no-repeat;
    background-size: contain;
}

.intro_feder {
    position: absolute;
    bottom: 40px;
    left: 2.5vw;
    width: 200px;
    height: 90px;
    opacity: 1;
    border-radius: 10px;
    background: rgba(255,255,255,.7) url(img/feder.png) center no-repeat;
    background-size: contain;
/*    border: 1px solid #00467F;*/
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.intro_feder:hover {
    background-color: rgba(255,255,255,1);
/*    pointer-events: none;*/
}


/*/////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*//////////////////////           Loading            /////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////*/

#loading {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    border-radius: 200px;
    background: rgba(255,255,255,.9) url(img/loading.gif) center no-repeat;
    opacity: 0;
    
    -webkit-transition: all .6s cubic-bezier(0.595, 1.645, 0.650, 1.000);
    
    transition: all .6s cubic-bezier(0.595, 1.645, 0.650, 1.000);
    -webkit-transform: translateX(-50%) translateY(-50%) scale(0);
            transform: translateX(-50%) translateY(-50%) scale(0);
    -webkit-box-shadow: 10px 10px 30px rgba(0,0,0,.3);
            box-shadow: 10px 10px 30px rgba(0,0,0,.3);
}

#loading.showed {
    opacity: 1;
    -webkit-transform: translateX(-50%) translateY(-50%) scale(1);
            transform: translateX(-50%) translateY(-50%) scale(1);
}



/*/////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*//////////////////////          Main Menu           /////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////*/


#main_menu {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
}

#main_menu.menuGoingOut > button,
#main_menu.menuOut > button {
    opacity: 0;
}

#main_menu.menuHidden {
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
    opacity: 0;
}


#menu_header {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    padding: 2.5vw;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
}

#main_menu.menuOut #menu_header {
    -webkit-transform: translateY(-100%);
            transform: translateY(-100%);
    opacity: 0;
}


.menu_logo {
    position: absolute;
    top: 1.2vw;
    left: 1.5vw;
    width: 150px;
    height: 150px;
    background: transparent url(img/climats_logo.svg) center;
    background-size: contain;
}

.menu_text {
    padding-top: 4px;
    position: relative;
    padding-left: 150px;
    
    font-size: 2.8em;
    line-height: .95em;
    font-family: 'gt_eesti_pro_displayregular', 'Arial', sans-serif;
    font-weight: normal;
    letter-spacing: .05em;
    color: #22272c;
    text-transform: uppercase;
}

.menu_text strong {
    color: #789e14;
}
.menu_text img {
    opacity: .45;
    max-width: 90%;
}

#menu_header #btn_reset {
    position: absolute;
    top: 33px;
    right: 2.5vw;    
    background: #22272c url(img/repeat.svg) center no-repeat;
    background-size: 90%;
}


#menu_header #btn_formation {
    position: absolute;
    top: 33px;
    right: calc(2.5vw + 80px);
    background: #22272c url(img/finished.png) center no-repeat;
    background-size: 76%;
}

#menu_header #btn_formation_finished {
    position: absolute;
    top: 20px;
    right: calc(2.5vw + 80px);
}

#main_menu #btn_reset_mobile {
    display: none;
}

/*/////////////////////////////////////////////*/

#menu_themes {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 0 2.5vw;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-align: end;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    -webkit-box-pack: stretch;
        -ms-flex-pack: stretch;
            justify-content: stretch
}

.bloc_theme {
    position: relative;
    width: 15vw;
    padding: 1vw;
    float: left;
    background: #000;
    margin-right: 1vw;
    overflow: hidden;
    -webkit-box-shadow: 10px 10px 30px rgba(0,0,0,.3);
            box-shadow: 10px 10px 30px rgba(0,0,0,.3);
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
    background-size: cover;
    background-position: 24.5%;
}

.bloc_theme::before{
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 12px;
    right: 0;
    top: 0px;
    background: url(img/bloc_bar.png) top left repeat-x;
    z-index: 40;
}

.bloc_theme::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    top: 0px;
    background: #000;
    opacity: 0;
    z-index: 1;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.bloc_theme:last-child {
    margin-right: 0;
}

.bloc_theme_active {
    opacity: 1;
    width: 40vw;
/*    background-position: 50%;*/
}

.bloc_theme_active::after {
    opacity: .4;
/*    background-position: 50%;*/
}

.bloc_theme_inactive {
    opacity: .4;
    width: 11vw;
    -webkit-transform: translateY(25%);
            transform: translateY(25%);
    -webkit-box-shadow: 10px 10px 0px rgba(0,0,0,0);
            box-shadow: 10px 10px 0px rgba(0,0,0,0);
}

.bloc_theme_hidden {
    opacity: 0;
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
}

/*/////////////////////////////////////////////*/


#bloc_0 {
    min-height: calc(100vh - 300px);
    background-image: url(bg/bloc_0.jpg);
}

#bloc_1 {
    min-height: calc(100vh - 230px);
    background-image: url(bg/bloc_1.jpg);
}

#bloc_2 {
    min-height: calc(100vh - 255px);
    background-image: url(bg/bloc_2.jpg);
}

#bloc_3 {
    min-height: calc(100vh - 230px);
    background-image: url(bg/bloc_3.jpg);
}

#bloc_4 {
    min-height: calc(100vh - 190px);
    background-image: url(bg/bloc_4.jpg);
}

#bloc_5 {
    min-height: calc(100vh - 210px);
    background-image: url(bg/bloc_5.jpg);
}


/*/////////////////////////////////////////////*/

.bloc_theme .theme_title_small {
    position: absolute;
    top: 66%;
    width: 15vw;
    
    font-size: 1.43vw;
    line-height: 1.2em;
    font-family: 'gt_eesti_pro_displayultrabold', 'Arial', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: .05em;   
    color: #fff;
    text-shadow: 5px 5px 10px rgba(0,0,0,1);
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    z-index: 20;
}

.bloc_theme .theme_title_small::after {
    position: absolute;
    content: '';
    display: block;
    bottom: -20px;
    left: 0;
    width: 5vw;
    height: 1px;
    background: #fff;
    -webkit-box-shadow: 2px 2px 5px rgba(0,0,0,1);
            box-shadow: 2px 2px 5px rgba(0,0,0,1);
}

.bloc_theme .title_bigger { font-size: 1.5vw; }
.bloc_theme_active .theme_title_small { opacity: 0; }
.bloc_theme_inactive .theme_title_small { opacity: 0; }

.bloc_theme .theme_description {
    position: absolute;
    top: 50%;
    left: 2vw;
    width: 30vw;
    padding: 3vw 1vw;
    color: #fff;
    
    opacity: 0;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    -webkit-transform: translateY(-51.5%);
            transform: translateY(-51.5%);
    z-index: 20;
}

.bloc_theme .theme_description h1 {
    position: relative;
    font-size: 2.6vw;
    text-shadow: 10px 10px 20px rgb(0, 0, 0);
    padding-bottom: 4vh;
}

.bloc_theme .theme_description h1::after {
    position: absolute;
    content: '';
    display: block;
    bottom: 0px;
    left: 0;
    width: 5vw;
    height: 1px;
    background: #fff;
    -webkit-box-shadow: 2px 2px 5px rgba(0,0,0,1);
            box-shadow: 2px 2px 5px rgba(0,0,0,1);
}

.bloc_theme .theme_description p {
    position: relative;
    font-family: 'st_ryderegular', 'Arial', sans-serif;
    font-weight: normal;
    font-size: 1em;
    line-height: 1.4em;
    text-shadow: 5px 5px 10px rgba(0,0,0,.5);
    padding-top: 4vh;
}

.bloc_theme_active .theme_description {
    opacity: 1;
}

.bloc_theme .theme_icon {
    opacity: 0;
    position: absolute;
    top: 1.5vw;
    right: 1vw;
    height: 4vw;   
    -webkit-transition: all .4s ease;   
    transition: all .4s ease;
    z-index: 30;
}

.bloc_theme_active .theme_icon { opacity: 1; }

.bloc_theme .theme_completed {
    position: absolute;
    display: none;
    top: 12px;
    left: 0;
    width: 100%;
    height: calc(6vw - 12px);
    background: rgba(0, 0, 0, 0.8);
    z-index: 25;
    color: #fff;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    -webkit-box-shadow: 0px 0px 20px rgb(0, 0, 0);
            box-shadow: 0px 0px 20px rgb(0, 0, 0);
}

.bloc_theme .theme_completed_true {
    display: block;
}

.bloc_theme .theme_completed::before {
    position: absolute;
    display: block;
    content: 'Terminé';
    padding-left: 3.1vw;
    padding-right: .6vw;
    top: 50%;
    left: 50%;
    line-height: 3vw;
    background: url(img/completed.png) left center no-repeat;
    background-size: contain;
    
    font-family: 'gt_eesti_pro_displayultrabold', 'Arial', sans-serif;
/*    text-transform: uppercase;*/
    letter-spacing: .05em;
    font-size: 1.2em;
    
    -webkit-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
}


/*/////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*//////////////////////            Themes            /////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////*/



#theme {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
/*    display: none;*/
/*    transition: all .6s ease;*/
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 0;
    overflow: hidden;
}

#theme.video,
#theme.quiz,
#theme.quiz-menu,
#theme.end,
#theme.end-menu {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
}

#theme .popup .p_bg { 
/*    opacity: .25;*/
}

#theme .popup .bg-static {
    position: absolute;
/*    background-image: url(bg/01_blur.jpg);*/
    background-position: center;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    opacity: .25;
    
    -webkit-box-shadow: inset 0px 0px 70px #fff;
    
            box-shadow: inset 0px 0px 70px #fff;
}

#theme .popup .separateur {
    opacity: .5;
    width: 280px;
    margin: 9px 0;
}


#theme .btn_back_menu {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(34, 39, 44, 0.3) url(img/cross.svg) center no-repeat;
    background-size: 70%;
    z-index: 100;
    border-radius: 40px;
    width: 40px;
    height: 40px;
    border: none;
    -webkit-box-shadow: 4px 5px 20px rgba(0,0,0,.15);
    box-shadow: 4px 5px 20px rgba(0,0,0,.15);
    cursor: pointer;
    opacity: .6;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}
#theme .btn_back_menu:hover {
    opacity: 1;
    -webkit-box-shadow: 10px 10px 20px rgba(0,0,0,.5);
    box-shadow: 10px 10px 20px rgba(0,0,0,.5);
}

#theme .btn_back_menu::before {
    content: '';
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    position: absolute;
    border-radius: 40px;
    top: 4px;
    left: 3px;
    bottom: 3px;
    right: 3px;
    border: 1px solid #fff;
    opacity: .3;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}
#theme .btn_back_menu:hover::before {
    opacity: 1;
}


#theme.end .btn_back_menu {
    display: none;
}

#theme.back-menu{
    -webkit-transition: all .4s ease;
    transition: all .4s ease; 
    overflow: hidden;
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 0;
}


/*/////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*//////////////////////            Video             /////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////*/



#theme_video {
    position: absolute;
    background: #fff;
/*    display: none;*/
    -webkit-transition: all .6s ease;
    transition: all .6s ease;  
    -webkit-box-shadow: 5px 5px 20px rgba(0,0,0,.5);  
            box-shadow: 5px 5px 20px rgba(0,0,0,.5);    
    -webkit-transform: scale(0);    
            transform: scale(0);
    opacity: 0;
    overflow: hidden;
}

#theme .theme_bg_overlay {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    -webkit-transition: all .6s ease;
    transition: all .6s ease; 
}

#theme.video .theme_bg_overlay {
    opacity: .65;
}

#theme.video #theme_video {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
}

#video_container,
#video_wrapper,
#video_start {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

#video_container {
    background: #000;
}

/*/////////////////////////////////////////////*/

#video_start {
    background: rgba(0,0,0,.5);
    -webkit-transition: all .2s ease;
    transition: all .2s ease; 
}

#video_start.hidden {
    background: rgba(0,0,0,0);
}

#video_start button {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    margin: 0;
    -webkit-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
    background: #22272c;
    background-image: url(img/play.svg);
    background-size: contain;
    border-radius: 100px;
}
#video_start button::before {
    border-radius: 100px;
}

#video_start.hidden button {
    display: none;
}

#video_controls {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 70px;
    opacity: .5;
    -webkit-transition: all .2s ease;
    transition: all .2s ease; 
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0)), to(rgba(0,0,0,.5))); 
    background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.5));
}

#video_controls:hover {
    opacity: 1;
}

#video_controls.hidden {
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
    opacity: 0;
}

#video_playpause,
#video_sound {
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: rgba(0,0,0,.5);
    background-size: contain;
    border-radius: 100px;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,.5);
}

#video_playpause:hover,
#video_sound:hover {
    background-color: rgba(0,0,0,1);
}

#video_playpause:active,
#video_sound:active {
    background-color: rgba(0,0,0,0.75);
}

#video_playpause {
    bottom: 5px;
    left: 10px;
    background-image: url(img/pause.svg);
}
#video_playpause.play { background-image: url(img/play.svg); }

#video_sound {
    bottom: 5px;
    left: 70px;
    background-image: url(img/sound_on.svg);
}
#video_sound.muted { background-image: url(img/sound_off.svg); }


#video_timer {
    display: block;
    border: 0;
    margin: 0;
    padding: 0;
    bottom: 5px;
    left: 130px;
    position: absolute;
    width: 100px;
    height: 50px;
    text-align: center;
    
    font-size: 20px;
    color: #fff;
    font-family: 'st_ryderegular', 'Arial', sans-serif;
    line-height: 50px;
}

#video_progress {
    position: absolute;
    bottom: 24px;
    right: 20px;
    width: calc(100% - 260px);
    height: 12px;
    background: rgba(0,0,0,0.5);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.5);
}

#video_progress .video_progress_bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #fff;
    -webkit-transition: all .2s linear;
    transition: all .2s linear;
}

#theme_video .p_skip {
    position: absolute;
    bottom: 70px;
    right: 20px;
    z-index: 10;
}



/*/////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*//////////////////////             Quiz             /////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////*/



#theme_quiz {
    position: absolute;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;     
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
    opacity: 0;
    overflow: hidden;
}


#theme.quiz #theme_quiz {
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
    opacity: 1;
}

#theme.quiz-menu #theme_quiz {
    -webkit-transform: translateY(-100%);
            transform: translateY(-100%);
    opacity: 1;
}

.popup_quiz  {
    width: 60vw; 
}

.popup_quiz .p_content {
    padding: 30px 0px;
}

.popup_quiz .p_back_video {
    position: absolute;
    top: 30px;
    left: 35px;
    z-index: 10;
}

.popup_quiz .p_back_quiz {
    position: absolute;
    bottom: 30px;
    left: 35px;
    width: 50px;
    height: 50px;
    background-color: rgba(34, 39, 44, 0.3);
    background-size: 90%;
    background-position: 10% 40%;
    background-repeat: no-repeat;
    background-image: url(img/arrow_left.svg);
    z-index: 10;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    border-radius: 50px;
    cursor: pointer;
}

.popup_quiz .p_back_quiz:hover {
    background-color: rgba(34, 39, 44, 1);
    -webkit-box-shadow: 3px 3px 12px rgba(0,0,0,.5);
            box-shadow: 3px 3px 12px rgba(0,0,0,.5);
}

.popup_quiz .p_back_quiz::before {
    content: '';
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    display: block;
    position: absolute;
    top: 4px;
    left: 3px;
    bottom: 3px;
    right: 3px;
    border: 1px solid #fff;
    opacity: .3;
    border-radius: 50px;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}
.popup_quiz .p_back_quiz:hover::before {
    opacity: 1;
}

.popup_quiz .p_theme_title {
    position: absolute;
    right: 20px;
    top: 20px;
    text-align: right;
    margin: 0;
    opacity: .2;
    font-size: 1.3em;
    line-height: 1.1em;
    font-family: 'gt_eesti_pro_displayultrabold', 'Arial', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: .05em;
}

#quiz_container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden
}

#quiz_slider {
    position: relative;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
}

#quiz_slider > div > div {
    position: relative;
}

#quiz_slider::after {
    position: relative;
    display: block;
    content: '';
    clear: both;
}

#quiz_slider > div {
    padding: 0 50px;
    position: relative;
    float: left;
}

.quiz_dots {
    padding: 10px 0 20px 0;
    text-align: center;
    font-size: 1px;
    line-height: 1px;
}

.quiz_dots::after {
    position: relative;
    display: block;
    content: '';
    clear: both;
}

.quiz_dots span {
    display: inline-block;
    padding: 0;
    margin: 0 5px;
    width: 10px;
    height: 10px;
    border-radius: 10px;
    border: 1px solid #22272c;
    opacity: .5;
}

.quiz_dots span.active {
    background: #22272c;
    opacity: 1;
}

.quiz_question {
    padding: 10px 0;
    font-size: 1.5em;
    line-height: 1.3em;
}


/*/////////////////////////////////////////////*/


.quiz_question {
    padding-bottom: 15px;
}

.quiz_answers {
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
    opacity: 1;
}

.quiz_answers span {
/*    min-width: 320px;*/
    max-width: 100%;
    display: inline-block;
    padding: 8px 45px 6px 45px;
    margin: 8px 0;
    border: 2px solid rgba(34, 39, 44, 0.5);
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    cursor: pointer;
}

.quiz_answers span:hover {
    border: 2px solid rgba(34, 39, 44, 1);
    -webkit-box-shadow: 4px 4px 10px rgba(34, 39, 44, .3);
            box-shadow: 4px 4px 10px rgba(34, 39, 44, .3);
}

.quiz_answers span.quiz_a_selected {
    background: rgba(34, 39, 44, 1);
    color: #fff;
}
.quiz_answers span.quiz_a_good {
    background: #80a51b;
    color: #fff;
}
.quiz_answers span.quiz_a_bad {
    background: #881e15;
    color: #fff;
}
.quiz_answers > div {
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    opacity: 0;
}

.quiz_answers > div.valider {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1; 
}

.quiz_answers br {
    font-size: 1px;
    line-height: 1px;
}

.btn_valider {
    margin-top: 30px;
    margin-bottom: 20px;
}

.btn_end {
    margin-top: 0px;
}

/*/////////////////////////////////////////////*/


.quiz_expl .quiz_answers {
    position: absolute;
    top:0;
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 0;
    width: 100%;
}

.quiz_explaination {
    position: absolute;
    top: 0;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 0;
    padding-bottom: 15px;
}

.quiz_expl .quiz_explaination {
    position: relative;
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity:1;
}

.quiz_explaination p {
    padding: 0px 0 40px 0;
}

.quiz_explaination span {
    display: block;
    padding: 18px 0 8px 0;
    font-size: 1.5em;
    line-height: 1.1em;
    font-family: 'st_ryderegular', 'Arial', sans-serif;
    font-weight: normal;
    border-top: 1px solid #0000003d;
}




/*/////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*//////////////////////             End              /////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////*/



#theme_end {
    position: absolute;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;     
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
    opacity: 0;
    overflow: hidden;
}

#theme.end #theme_quiz,
#theme.end-menu #theme_quiz {
    -webkit-transform: translateY(-100%);
            transform: translateY(-100%);
    opacity: 1;
}

#theme.end #theme_end {
    -webkit-transform: translateY(0%);
            transform: translateY(0%);
    opacity: 1;
}

#theme.end-menu #theme_end {
    -webkit-transform: translateY(-100%);
            transform: translateY(-100%);
    opacity: 1;
}

.popup_end{
    width: 70%;
}

.popup_end h2 {
    margin-bottom: 20px;
}

.popup_end p {
    margin: 10px 0;
}

.popup_end .p_content {
    padding: 50px 70px 40px 70px;
}

.popup_end button {
    margin-top: 0px;
}

.popup_end .btn_bilan {
/*    margin-right: 20px;*/
}



/*/////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*//////////////////////           Finished           /////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////*/



#finished {
    position: absolute;
    -webkit-transition: all .6s ease;
    transition: all .6s ease;     
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    -webkit-transform: scale(0);
            transform: scale(0);
    opacity: 0;
    overflow: hidden;
}

#finished.finished {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
}

#finished .popup .p_bg { 
    opacity: .25;
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
}

#finished .popup .p_bg div { 
    height: 110%;
    top: -10%;
}

#finished .popup_finished { 
    -webkit-transform: translateX(-50%) translateY(-46%); 
            transform: translateX(-50%) translateY(-46%);
}

#finished .popup .bg-static {
    position: absolute;
/*    background-image: url(bg/01_blur.jpg);*/
    background-position: center;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    
    -webkit-box-shadow: inset 0px 0px 70px #fff;
    
            box-shadow: inset 0px 0px 70px #fff;
}

#finished .popup .separateur {
    opacity: .5;
    width: 350px;
    margin: 9px 0;
    margin-bottom: 20px;
}


.popup_finished {
    width: 70%;
}

.popup_finished .intro_finish {
    position: absolute;
    width: 150px;
    height: 150px;
    top: 11px;
    left: 50%;
    background: rgba(255, 255, 255, 0.95) url(img/climats_logo.svg) center;
    background-size: auto;
    background-size: contain;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    -webkit-box-shadow: 4px 5px 20px rgba(0,0,0,.15);
            box-shadow: 4px 5px 20px rgba(0,0,0,.15);
    -webkit-transform: translateX(-50%) translateY(-50%);
            transform: translateX(-50%) translateY(-50%);
    z-index: 20;
}

.popup_finished h2 {
    margin-bottom: 30px;
}

.popup_finished p {
/*    margin: 10px 0;*/
}

.popup_finished .p_content {
    padding: 110px 70px 30px 70px;
}

.popup_finished .finished_btns {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-align: end;
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    -webkit-box-pack: stretch;
        -ms-flex-pack: stretch;
            justify-content: stretch;
    padding-bottom: 40px;
}

.popup_finished .f_back {
    position: absolute;
    top: -90px;
    right: -50px;
}

.popup_finished .finished_btns a {
    position: relative;
    display: block;
    padding: 20px;
    padding-top: 10px;
    width: 34%;
    margin: 0 10px;
    background: #fff;
    -webkit-box-shadow: 5px 5px 15px rgba(0,0,0,.2);
            box-shadow: 5px 5px 15px rgba(0,0,0,.2);
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    cursor: pointer;
    text-decoration: none;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    color: #22272c;
}

.popup_finished .finished_btns a::before {
    content: '';
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    display: block;
    position: absolute;
    top: 4px;
    left: 3px;
    bottom: 3px;
    right: 3px;
    border: 1px solid #688911;
    opacity: 1;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
    border-top-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.popup_finished .finished_btns a:hover {
    color: #789e14;
}

.popup_finished .finished_btns a:hover::before {
    opacity: .5;
}

.popup_finished .finished_btns a img {
    width: 10vw;
    padding-top: 10px;
    max-width: 100px;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

.popup_finished .finished_btns a p {
    margin-top: 0;
}

.popup_finished .finished_btns a:hover img {
    opacity: .8;
}
    
.popup_finished .finished_contact {
    font-size: .7em;
    line-height: 1.4em;
}
    
.popup_finished .finished_contact a {
    color: #3d464e;
}
    
.popup_finished .finished_logos img {
    padding-top: 10px;
/*    height: 80px;*/
    max-width: 100%;
}
.popup_finished .finished_credits {
    padding-top: 10px;
    font-size: .7em;
    line-height: 1.4em;
}
    

/*/////////////////////////////////////////////*/

#finish_form {
    
}

#form_ajax  {
    
}

#form_ajax #form_error {    
    background: #881e15;
    padding: 9px 14px 7px 14px;
    font-family: 'st_ryderegular', 'Arial', sans-serif;
    color: #fff;
    position: relative;
    margin-top: 20px;
    border-radius: 10px;
}

#form_ajax #form_error a {    
    color: #fff;
}

#form_ajax .form_content {
/*    padding-left: 200px;*/
    position: relative;
}

#form_ajax .form_content::after {
    content: '';
    display: block;
    clear: both;
}

#form_ajax .form_content img {
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
}

#form_ajax .form_content p {
    display: block;
    width: 50%;
    float: left;
    padding: 12px 20px;
    text-align: left;
}
#form_ajax .form_content p:nth-child(1),
#form_ajax .form_content p:nth-child(2),
#form_ajax .form_content p:nth-child(3) {
    width: 33.33%;
}
   
#form_ajax .form_content p.form_full {
    width: 100%;
}
   
#form_ajax .form_content p.form_full a {
    color: #000;
}
   
#form_ajax label.label_title {
    font-size: 1.4em;
    font-family: 'gt_eesti_pro_displaybold', 'Arial', sans-serif;
    font-weight: normal;
}
 
#form_ajax label span {
    color: #881e15;
}  

#form_ajax input[type="text"] {
    font-size: 1.4em;
    font-weight: normal;
    width: 100%;
    border: none;
    font-family: 'st_ryderegular', 'Arial', sans-serif;
    padding: 8px 10px;
    margin-top: 5px;
    background: rgba(255,255,255,1);
    border-bottom: 2px solid rgba(0,0,0,.5);
    
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    
    -webkit-transition: all .2s ease;
    
    transition: all .2s ease;
}

#form_ajax input[type="text"]:focus,
#form_ajax input[type="text"]:active {
    -webkit-box-shadow: 3px 3px 12px rgba(0,0,0,.3);
            box-shadow: 3px 3px 12px rgba(0,0,0,.3);
}

#form_ajax label.checkbox {
/*    font-size: 1.4em;*/
    font-family: 'st_ryderegular', 'Arial', sans-serif;
    font-weight: normal;
    display: block;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    
   cursor: pointer;
}

#form_ajax label.checkbox input {
    display: none;
}

#form_ajax label.checkbox input ~ span {
    display: inline-block;
    width: 16px;
    height: 18px;
    background: #fff;
    position: relative;
    
    margin: 0 5px 0 0;
    border-bottom: 2px solid rgba(0,0,0,.5);
    border-top-left-radius: 4px;
    border-bottom-right-radius: 4px;
}
#form_ajax label.checkbox input ~ span::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    bottom: 2px;
    right: 2px;
    background: #789e14;
    opacity: 0;
    border-top-left-radius: 2px;
    border-bottom-right-radius: 2px;
}

#form_ajax label.checkbox:hover input ~ span::after {
/*    opacity: .4;*/
}

#form_ajax label.checkbox input:checked ~ span::after {
    opacity: 1;
}


#form_ajax button {
    margin-top: 20px;
    margin-bottom: 10px;
    -webkit-transition: all .2s ease;
    transition: all .2s ease;
}

#form_ajax .btn_form_disabled {
    pointer-events: none;
    position: relative;
    opacity: .75;
}

#form_ajax .btn_form_disabled::after {
    pointer-events: none;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,1) url(img/loading.gif) center no-repeat;;
    cursor: default;
    background-size: contain;
}

#finish_page {
    display: none;
    -webkit-transform: scale(0);
            transform: scale(0);
    -webkit-transition: all .6s ease;
    transition: all .6s ease;
}

#finish_page.finish_page_showed {
    -webkit-transform: scale(1);
            transform: scale(1);
}
    
/*/////////////////////////////////////////////////////////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*//////////////////////          Responsive          /////////////////////////*/
/*//////////////////////                              /////////////////////////*/
/*/////////////////////////////////////////////////////////////////////////////*/




@media screen and (max-width: 1400px), (orientation: portrait) {
    .popup_quiz {
        width: 80vw;
    }
    .popup_finished {
        width: 80%;
    }   
}
@media screen and (max-width: 1023px), (orientation: portrait) {
    body { 
        overflow-y: scroll;
        overflow-x: hidden;
        position: relative;
        height: 100vw;
        min-height: 100vh;
    }
    #container {
        position: relative;
        width: 100vw;
        height: 100%;
    }
    h1 {
        font-size: 1.8em;
    }
    .bg-verti, .bg-horiz {
        background-size: cover;
    }
    #intro {
        position: relative;
        height: 100%;
        overflow-y: scroll;
        overflow-x: hidden;
    }
    #intro .popup {
        position: relative;
        top: 170px;
        left: 0;
        -webkit-transform: translateX(00%) translateY(0%);
                transform: translateX(00%) translateY(0%);
    }
    .popup {
        width: 100vw;
        border-radius: 0;
    }
    .intro_logo {
        top: 7px;
        width: 120px;
        height: 120px;
    }
    .p_content {
        padding: 8vw 6vw;
        margin-bottom: 60px;
    }
    .p_content_intro {
        padding-top: 100px;
        
    }
    #intro_controls {
        bottom: 4vw;
        right: 4vw;
        display: none;
    }
    .intro_patrimoine {
        top: 3vw;
        left: 3vw;
        width: 150px;
        height: 90px;
    }
    .intro_feder {
        bottom: inherit;
        left: calc(97vw - 150px);
        top: 3vw;        
        width: 150px;
        height: 90px;
    }
    #intro.introThemes {
        -webkit-transform: translateX(-100%);
                transform: translateX(-100%);
    }
    
    /*******************/
    
    #main_menu { 
        overflow-y: scroll;
        overflow-x: hidden;
    }
    #main_menu.menuHidden {
        -webkit-transform: translateX(100%);
                transform: translateX(100%);
    }
    #menu_header {
        position: relative;
        top: 0;
        padding-bottom: 30px;
    }
    .menu_logo {
        position: absolute;
        width: 100px;
        height: 100px;
    }
    .menu_text {
        font-size: 1.7em;
        padding-left: 100px;
    }
    #menu_header button {
        display: none;
    }
    #main_menu button.finish_mobile {
        display: block;
        text-align: center;
        position: relative;
        margin: 40px auto;
        margin-top: 10px;
        font-size: 1.3em;
        padding: 20px 0px;
        width: 80vw;
        -webkit-transform: translateX(12px);
                transform: translateX(12px);
    }
    #main_menu button.formation_mobile,
    #main_menu #btn_reset_mobile {
        display: block;
        text-align: center;
        position: relative;
        margin: 40px auto;
/*        padding: 20px 0px;*/
        width: 80vw;
        -webkit-transform: translateX(12px);
                transform: translateX(12px);
    }
    #menu_themes {
        position: relative;
        padding: 0;
        display: block;
    }
    .bloc_theme {
        width: 80vw;
        padding: 0px;
        float: none;
        clear: both;
        margin-right: 0;
        height: 120px;
        margin-bottom: 20px;
    }
    .bloc_theme_inactive {
        width: inherit;
        -webkit-transform: translateX(0%);
                transform: translateX(0%);
        opacity: 1;
    }
    .bloc_theme_hidden {
        opacity: 0;
        -webkit-transform: translateX(120%);
                transform: translateX(120%);
    }
    #bloc_0 { min-height: 0; width: 85vw; margin-left: 15vw; }
    #bloc_1 { min-height: 0; width: 90vw; margin-left: 10vw; }
    #bloc_2 { min-height: 0; width: 88vw; margin-left: 12vw; }
    #bloc_3 { min-height: 0; width: 93vw; margin-left: 8vw; }
    #bloc_4 { min-height: 0; width: 97vw; margin-left: 3vw; }
    #bloc_5 { min-height: 0; width: 95vw; margin-left: 5vw; }
    
    .theme_title_small {
        display: none;
    }
    .theme_icon {
        display: none;
    }
    .bloc_theme .theme_description {
        position: relative;
        top: 0;
        left: 0;
        -webkit-transform: none;
                transform: none;
        opacity: 1; 
        padding: 25px;
        width: auto;
        text-align: right;
        
        -webkit-transition-duration: .1s;
        
                transition-duration: .1s;
    }
    .bloc_theme::before {
        z-index: 30;
    }
    .bloc_theme::after {
        z-index: 40;
        position: absolute;
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        bottom: 0;
        left: 0;
        background: transparent;
        -webkit-transition: height 1s ease;
        transition: height 1s ease;
    }
    .bloc_theme .theme_description h1 {
        font-size: 25px;
        padding-bottom: 0;
    }
    .bloc_theme .theme_description p {
        opacity: 0;
        padding-top: 27px;
    }
    .bloc_theme_active {
        height: auto;
    }
    .bloc_theme_active .theme_description {
        background: rgba(0,0,0,.6);
        padding-top: 40px;
    }
    .bloc_theme .theme_description h1::after {
        opacity: 0;
    }
    .bloc_theme_active .theme_description p {
        opacity: 1;
    }
    .bloc_theme_active::after  {
        height: 0%;
    }
    #bloc_0 .theme_description { padding-top: 40px; }
    #bloc_1 .theme_description { padding-top: 40px; }
    #bloc_2 .theme_description { padding-top: 40px; }
    #bloc_4 .theme_description { padding-top: 40px; }
    #bloc_5 .theme_description { padding-top: 40px; }
    #loading {
        width: 140px;
        height: 140px;
        background-size: 80%;
    }
    .bloc_theme .theme_completed {
        width: 20vw;
        height: calc(100% - 12px);
    }
    .bloc_theme .theme_completed::before {
        padding-left: 0;
        padding-right: 0;
        padding-top: 44px;
        font-size: 1em;
        line-height: 19px;
        background-position: top center;
        background-size: 70%;
    }
    
    /*******************/
    
    #theme_quiz, #finished {
        overflow-y: scroll;
        overflow-x: hidden;
    }
    #theme_quiz .popup {
        position: relative;
        top: 40px;
        left: 0;
        margin-bottom: 70px;
        -webkit-transform: translateX(00%) translateY(0%);
                transform: translateX(00%) translateY(0%);
    }
    .popup_quiz .p_content {
        padding: 100px 0px 30px 0px
    }
    #quiz_slider > div {
        padding: 0 20px;
    }
    .popup_quiz .p_theme_title {
        display: none;
    }
    .quiz_answers span {
/*        min-width: 280px;*/
        padding: 8px 25px 6px 25px;
    }
    .popup_quiz .p_back_video {
        left: 50%;
        -webkit-transform: translateX(-55%);
                transform: translateX(-55%);
        white-space: nowrap;
    }
    .quiz_explaination {
        position: relative;
        display: none;
    }
    .quiz_expl .quiz_answers {
        display: none;
    }
    .quiz_expl .quiz_explaination {
        display: block;
    }
    
    /*******************/
    
    #theme_end {
        overflow-y: scroll;
        overflow-x: hidden;
        -webkit-transform: translateX(100%);
                transform: translateX(100%);
    }
    #theme_end .popup {
        position: relative;
        top: 40px;
        left: 0;
        margin-bottom: 70px;
        -webkit-transform: translateX(00%) translateY(0%);
                transform: translateX(00%) translateY(0%);
    }
    .popup_end .p_content {
        padding: 40px 20px 30px 20px;
    }
    #theme.end #theme_quiz,
    #theme.end-menu #theme_quiz {
        -webkit-transform: translateX(-100%);
                transform: translateX(-100%);
        opacity: 1;
    }
    #theme.end #theme_end {
        -webkit-transform: translateX(0%);
                transform: translateX(0%);
        opacity: 1;
    }
    #theme.end-menu #theme_end {
        -webkit-transform: translateX(-100%);
                transform: translateX(-100%);
        opacity: 1;
    }
    
    /************************/
    
    #finished .popup {
        position: relative;
        top: 100px;
        left: 0;
        margin-bottom: 70px;
        -webkit-transform: translateX(00%) translateY(0%);
                transform: translateX(00%) translateY(0%);
    }
    .popup_finished .p_content {
        padding: 8vw 6vw;
        margin-bottom: 60px;
        padding-top: 120px;
    }
    .popup_finished .finished_btns {
        width: 100%;
        display: block;
    }
    .popup_finished .finished_btns a {
        width: 100%;
        margin: 15px 0;
    }
    .popup_finished .f_back {
        position: relative;
        top: 0;
        right: 0;
        margin-bottom: 40px;
    }
    .popup_finished .finished_btns a img {
        width: 20vw;
    }
    #form_ajax .form_content {
        padding-left: 0;
    }
    #form_ajax .form_content img {
        position: relative;
        height: 160px;
        left: 0;
    }

    #form_ajax .form_content p {
        display: block;
        width: 100%;
        float: inherit;
        clear: both;
        padding: 12px 20px;
        text-align: left;
    }
    #form_ajax .form_content p:nth-child(1),
    #form_ajax .form_content p:nth-child(2),
    #form_ajax .form_content p:nth-child(3) {
        width: 100%;
    }
}

@media screen and (orientation: portrait) {
    #theme_video {
        overflow: visible;
    }
    #video_controls {
        bottom: -70px;
        background: none;
        opacity: 1;
    }
    #theme_video .p_skip {
        bottom: -60px;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1280px) {
    .intro_patrimoine {
        position: absolute;
        top: 20px;
        left: 20px;
        width: 160px;
        height: 100px;
    }
    .intro_feder {
        position: absolute;
        bottom: 20px;
        left: 20px;
        width: 160px;
        height: 70px;
    }
    #intro .popup {
        width: 70%;
    }
    #intro_controls {
        bottom: 10px;
        right: 10px;
    }
}





