@font-face {
    font-family: "Coop";
    src: url("../fonts/CoopRg_OT.ttf") format('truetype');
}

.hidden { display: none; }
.swal2-container { z-index: 100000 !important; }

/*-------------------------------------------*\
    Buttons
\*-------------------------------------------*/

.sniip-button {
    display: inline-block;
    min-width: 245px;
    height: 45px;
    border-radius: 14px;

    color: #fff;

    font-family: "Coop";
    font-size: 18px;
    font-weight: 700;
    text-align: center;

    cursor: pointer;
    box-shadow: 4px 3px 0 rgba(0, 0, 0, 0.25);

    transition: background-color .3s, color .3s;
}
a.sniip-button { line-height: 40px; }

.sniip-button:hover,
.sniip-button:focus {
    background-color: #fff;
    text-decoration: none;
}

.sniip-button-desac {
    /*color: #0091d9;*/
    background-color: #fff;
    text-decoration: none;
}

.sniip-button.pink {
    background-color: #e9425c;
    border: 2px solid #e9425c;
}
.sniip-button.pink:hover,
.sniip-button.pink:focus {
    color: #e9425c;
    background-color: #fff;
}

.sniip-button.white {
    color: #0091d9;
    background-color: #fff; 
    border: none;
}
.sniip-button.white:hover,
.sniip-button.white:focus {
    color: #fff;
    background-color: #0091d9;
}

.sniip-button.dl {
    font-size: 16px;
    line-height: 18px;
}

.sniip-button + .sniip-button { margin-top: 16px; }

#label_cgu {
    color: #868686;
    font-weight: 400;
    cursor: pointer;
}

#cpt-home {
    color: #868686;
    font-weight: 400;
}

/*-------------------------------------------*\
    Form
\*-------------------------------------------*/

.form-group { margin-bottom: 8px; }

.form-group.inline { display: flex; }
.form-group.inline > :last-child { margin-left: 16px; }

.form-group label {
   margin-bottom: 0;
   color: #868686;
   font-weight: 400;
}
.form-group label:not(.big) { font-size: 12px; }

.form-group input {
   border-width: 0 0 1px 0;
   border-color: #ddd;
}

.form-group:not(.inline) input {
   display: block;
   width: 100%;
}

.form-group.center { text-align: center; }

.form-group.group-tel { display: flex; }
.form-group.group-tel span { border-bottom: 1px solid #ddd; color: #868686; }
.form-group.group-tel input { flex: 1; }



/*-------------------------------------------*\
    Misc
\*-------------------------------------------*/

.wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    margin: auto;
    overflow: hidden;
}

@media screen and (min-width: 425px) {
    .wrapper {
        width: 375px;
        height: 667px !important;
    }
}

.slide-background {
    position: relative;
    background-image: url('../images/6-layers.png');
    background-repeat: no-repeat;
    background-size: contain;
}

.slide-background:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-height: 566px;
    content: "";
    background-image: url('../images/background.png');
    background-repeat: no-repeat;
    background-size: cover;
}

@media screen and (min-width: 425px) {
    .slide-background:before { background-size: contain; }
}


.main {
    height: 100%;
    padding-top: 70px;
}

.step {
    overflow-x: scroll;
}

.slide-title,
.slide-action { text-align: center; }

.step-title,
.slide-title {
   margin-bottom: 20px;

   font-family: "Coop";
   font-size: 20px;
   line-height: 30px;
   font-weight: 700;
   text-align: center;
}

/*
Player rotation
*/
.player {
    display: flex;
    align-items: center;
}

.player .player_thumb img { border-radius: 50%; }

.player .player_name {
    margin-left: 20px;
    margin-right: 20px;
    /*font-family: "Coop";*/
    font-size: 14px;
    /*color: #0091d9;*/
}

.player .player_playing {
    display: flex;
}

.player .player_playing .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
   /* background-color: #0091d9;*/
    margin-right: 2px;

    animation: wave 1.3s linear infinite;
}
.player .player_playing .dot:nth-child(2) { animation-delay: -1.1s; }
.player .player_playing .dot:nth-child(3) { animation-delay: -0.9s; }

@keyframes wave {
	0%, 60%, 100% {
		transform: initial;
	}
	30% {
		transform: translateY(-10px);
	}
}



/*-------------------------------------------*\
    Header
\*-------------------------------------------*/

.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    width: 100%;
    height: 70px;
    background-color: #fff;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.25);
}

.header.header-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}



/*-------------------------------------------*\
    SLIDE N°1 (PAGE CENTRE.PHP)
\*-------------------------------------------*/

#cpt-home {
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    width: 100%;
}

.slide1 .slide-wrapper {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
}

.slide1 .slide-wrapper:after {
   display: block;
   position: absolute;
   left: 50%;
   bottom: -60px;
   transform: translateX(-50%);
   width: 253px;
   height: 168px;
   z-index: -1;
   content: "";
   /*background-image: url('../images/buzzer.png');
   background-repeat: no-repeat;*/
}

.slide1 .slide-title { margin-bottom: 10px; }

.step_popup {
    visibility: hidden;
    opacity: 0;
}

.step_popup {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1100;

    border-top-left-radius: 15px;
    border-top-right-radius: 15px;

    padding-left: 20px;
    padding-right: 20px;
}

.step_popup {
    padding-top: 30px;
    padding-bottom: 30px;
}
.step_popup .step-title { margin-bottom: 30px; }
.step_popup .form-group { margin-bottom: 20px; }

.step_popup .sniip-button { 
    pointer-events: none;
    opacity: .3;
}

.step-popup-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.step_popup .small { 
    display: inline-block;
    margin-top: 20px;
    font-family: "Coop";
    font-size: 16px;
    color: #9f9f9f;
}

.step-popup-close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 30px;
    color: #000;
    opacity: 1;
}

/*-------------------------------------------*\
    SLIDE N°2 (PAGE CENTRE-STEP-EMAIL.PHP)
\*-------------------------------------------*/

.image-upload > input {
    display: none;
}

.image-upload img {
    width: 160px;
    cursor: pointer;
}

.slide2 .slide-title { margin-top: 225px; }

.slide2 .step_1,
.slide2 .step_3 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1100;

    padding: 20px 20px;
}

#info_joueur > .form-group:first-of-type { margin-bottom: 24px; }
#info_joueur > .form-group:nth-last-child(3) { margin-bottom: 24px; }
#info_joueur > .form-group:nth-last-child(2) { margin-bottom: 50px; }

.slide2 .step_2,
.slide2 .step_4,
.slide2 .step_5,
.slide2 .step_6 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    padding: 30px;
    text-align: center;

    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.slide2 .step_2 {
    text-align: unset !important;
}

.slide2 .step_2,
.slide2 .step_3,
.slide2 .step_4,
.slide2 .step_5,
.slide2 .step_6 {
    visibility: hidden;
    opacity: 0;
}

.slide2 .step_2 .step-title { margin-bottom: 20px; }

.slide2 .step_2 p {
    color: #9f9f9f;
    font-family: "Coop";
    line-height: 16px;
}

.slide2 .step_2 .small {
    all: initial;
    margin-top: 20px;
    color: #9f9f9f;
    font-family: "Coop";
}

.slide2 .step_3 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.slide2 .step-3-close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 30px;
    color: #000;
    opacity: 1;
}

.slide2 .step-3-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.slide2 .step-3-wrapper > :last-child {
    margin-top: auto;
    text-align: center;
}

.slide2 .step_3 p {
    margin-bottom: 10px;
    color: #868686;
}

.slide2 .step_3 .step-title { margin-bottom: 30px; }
.slide2 .step_3 .form-group { margin-bottom: 20px; }

.slide2 .step_3 .sniip-button { 
    pointer-events: none;
    opacity: .3;
}

.slide2 .step_3 .small { 
    display: inline-block;
    margin-top: 20px;
    font-family: "Coop";
    font-size: 16px;
    color: #9f9f9f;
}

.slide2 .step_4 > p {
    font-family: "Coop";
    font-weight: bold;
}

.step_6 .title {
    margin-bottom: 10px;
    padding-top: 10px;
 
    color: #0091d9;
    font-family: Coop;
    font-size: 24px;
    font-weight: 700;
 }

/*-------------------------------------------*\
    SLIDE N°5 (PAGE CENTRE-STEP-JEU.PHP)
\*-------------------------------------------*/


.slide5 .header {
    flex-direction: row;
    align-items: center;
}

.wrapper.slide5 {
    display: flex;
    flex-direction: column;
}

.slide5_step1,
.slide5_step2,
.slide5_step3 {
    overflow: auto;
}

.slide5_step1 { 
   padding-top: 70px;
   text-align: center;
}

.slide5_step1 button { 
   margin-top: 35px;
   margin-bottom: 35px;
   opacity: .3;
   pointer-events: none;
   transition: opacity .3s;
}
.slide5_step1 button.selected {
   opacity: 1;
   pointer-events: initial;
}

.slide5-boardgame {
   display: flex;
   flex-wrap: wrap;
   margin-top: 20px;
}

.slide5-boardgame .click-buzz {
   position: relative;
   flex: 1 0 25%;
   height: 94px;
   line-height: 94px;
   text-align: center;
}

.click-buzz:after {
   position: absolute;
   top: 5%;
   left: 4%;
   z-index: -1;
   
   display: block;
   content: "";

   width: 95%;
   height: 95%;

   border-radius: 50%;
   background-color: #0091d9;

   transform: scale(0);
   transition: transform .3s;
}

.click-buzz.selected:after { transform: scale(1); }

.slide5-coderesult {
   position: absolute;
   top: 70px;
   bottom: 0;
   left: 0;
   right: 0;
   box-shadow: inset 0 0 35px rgba(255, 255, 255, 0.35);
   /*background-color: #0091d9;*/
   padding: 0 30px 30px;
   overflow-x: scroll;
}

.slide5-coderesult.slide5_step2 {
   visibility: hidden;
   opacity: 0;
}

.slide5-coderesult__wrapper {
   display: flex;
   flex-direction: column;
   align-items: center;

   height: 100%;
   min-height: 500px;

   width: 100%;
   background-color: #fff;

   border-bottom-left-radius: 14px;
   border-bottom-right-radius: 14px;
}

.slide5-coderesult .title {
   margin-bottom: 10px;
   padding-top: 20px;

   /*color: #0091d9;*/
   font-family: Coop;
   font-size: 24px;
   font-weight: 700;
}

.slide5-coderesult .jeu-win {
    font-size: 0.9rem;
}

.slide5-coderesult .code {
   display: inline-block;
   width: 204px;
   height: 55px;
   margin-bottom: 25px;
   
   box-shadow: 4px 3px 0 rgba(0, 0, 0, 0.25);
   border-radius: 14px;

   color: #ffffff;
   background-color: #e9425c;

   font-family: "Coop";
   font-size: 37px;
   font-weight: 700;
   letter-spacing: 1.85px;
   text-transform: uppercase;
   text-align: center;
}

.slide5-coderesult .content {
   margin-left: 5px;
   margin-right: 5px;
   text-align: center;
}

.slide5-coderesult .pushbottom {
   margin-top: auto;
   text-align: center;
   padding-bottom: 30px;
}

.slide5-coderesult .pushbottom .sniip-button:first-child {
   background-color: #fff;
   color: #0091d9;
}

.slide5-coderesult .pushbottom .sniip-button + .sniip-button { margin-top: 10px; }

.slide5-coderesult .nothanks { margin-bottom: 16px; }



/*-------------------------------------------*\
    SLIDE N°6 (PAGE CENTRE-STEP-PARTAGE.PHP)
\*-------------------------------------------*/

.wrapper.slide6,
.wrapper.slide7 {
    display: flex;
    flex-direction: column;
}

.slide6 .main,
.slide7 .main {
    overflow: auto;
}

.slide6-wrapper {
   display: flex;
   flex-direction: column;
   align-items: center;
   height: 100%;
   padding-bottom: 30px;
}

.slide6-wrapper .step-title { margin-bottom: 20px; }

.slide6-wrapper .content {
   margin: 0 65px 20px;
   font-family: "Coop";
   text-align: center;
}

.slide6-wrapper .action-wrapper a + a { margin-left: 45px; }

.slide6-wrapper > :last-child { 
   margin-top: auto;
   color: #868686;
}

.slide6-wrapper .nothanks {
    margin-top: 16px;
    margin-bottom: 16px;
}



/*-------------------------------------------*\
    SLIDE N°7 (PAGE CENTRE-STEP-MERCI.PHP)
\*-------------------------------------------*/

.slide7 .slide-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.slide7 .step-title { 
   font-size: 36px;
   line-height: 44px;
   margin-top: 30px;
}

.slide7 .content {
   width: 80%;
   margin: 0 auto 15px;
   
   font-family: "Coop";
   font-weight: 700;
}

.slide7 .thumb { 
    margin-top: 0;
    margin-bottom: 30px;
}



/*-------------------------------------------*\
    SLIDE DEFAULT
\*-------------------------------------------*/

.slide-default .main {
    display: flex;
    flex-direction:column;
}

.slide-default .slide-wrapper {
    flex-grow:1;
    overflow: auto;
    padding-top: 50px;
    padding-bottom: 50px;
}

.slide-default .slide-title { margin-bottom: 30px; }

.slide-default .content {
    width: 85%;
    margin: 0 auto;
}

.page-home-leman-centre-crissier {
    overflow: hidden;
}


