/* ****************** */
/*        BODY        */
/* ****************** */
body {
    margin: 0;
}

body.responsive {
    max-width: 810px;
    margin-left: auto;
    margin-right: auto;
}

body.wysihtml5-editor {
    padding: 0;
}

body.no-margin {

}

body.no-margin .container {
    width: 100%;
}

body.fixed {
    width: 810px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

body.fixed .container {
    width: 810px;
}

body.mobile {
    width: 480px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
}

body.mobile .container {
    width: 480px;
}

body.freestyle {
    padding: 0;
}

/* ****************** */
/*       GENERAL      */
/* ****************** */
.center {
    text-align: center;
}

.right {
    float: right;
}

.full-width {
    width: 100%;
}

ul.horizontal li {
    display: inline-block;
}

.wysiwyg-text-align-left{
    text-align: left;
}

.wysiwyg-text-align-center {
    text-align: center;
}

.wysiwyg-text-align-right {
    text-align: right;
}

/* ****************** */
/*     PAGE HEADER    */
/* ****************** */
#page_header {
    position: relative;
    width: 100%;
    max-width: 810px;
    min-height: 40px;
    margin: 10px auto 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #EEE;
    vertical-align: middle;
    word-wrap: break-word;
}

#page_header .picture {
    position: absolute;
    left: 0;
    width: 30px;
}

#page_header .picture img {
    max-width: 30px;
    max-height: 30px;
}

#page_header .like {
    position: absolute;
    right: 0;
    top: 5px;
    width: 100px;
}

#page_header h1 {
    font-size: 20px;
    line-height: 25px;
    margin: 0 110px 0 40px;
}

/* ****************** */
/*      APP HEADER    */
/* ****************** */
#app_header {
    max-width: 810px;
    text-align: center;
    margin: 0 auto;
}

/* ****************** */
/*     APP WRAPPER    */
/* ****************** */
#app_wrapper {
    position: relative;
    padding-bottom: 20px;
    max-width: 810px;
}

#app_wrapper > .row-fluid {
    margin-top: 20px;
}

body.fixed #app_wrapper,
body.mobile #app_wrapper,
body.freestyle #app_wrapper {
    padding-bottom: 0;
}

body.fixed #app_wrapper > .row-fluid:first-child,
body.mobile #app_wrapper > .row-fluid:first-child,
body.freestyle #app_wrapper > .row-fluid:first-child {
    margin-top: 0;
}

#app_wrapper > .row-fluid.not-spaced {
    margin-top: 0 !important;
}

#app_wrapper > .row-fluid.spaced {
    margin-top: 20px !important;
}

/* ****************** */
/*      APP FOOTER    */
/* ****************** */
#app_footer {
    position: relative;
    border-top: 1px #FFFFFF solid;
    width: 100%;
    margin: 0 auto;
    max-width: 810px;
    font-style: italic;
    font-size: 75%;
    line-height: 13px;
    margin-top: 10px;

    /* Overrides custom themes */
    /*background-color: #FFFFFF !important;*/
    /*color: #404040 !important;*/
}

#app_footer .wrapper {
    border-top: 1px #BFBFBF solid;
    padding: 5px;
    /*margin-top: 10px;*/
}

#app_footer a {
/*    color: #0088cc !important;*/
}

#app_footer a:hover, #app_footer a:active {
    /*color: #005580 !important;*/
}

#app_footer .disclaimer {

}

#app_footer .logo {
    float: right;
    padding: 5px;
}

/* ****************** */
/*      AUTH FORM     */
/* ****************** */
#auth-form {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.controls .radio_list, .controls .checkbox_list {
    list-style: none;
}

.controls .radio_list input, .controls .checkbox_list input {
    margin-top: 0;
}

.controls .radio_list label, .controls .checkbox_list label {
    display: inline-block;
}

select.date {
    width: auto;
}

/* ******************* */
/* MERCIALYS AUTH FORM */
/* ******************* */
.mercialys-connect {
    display: none;

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    overflow-y: scroll;

    z-index: 9999;
}

.mercialys-connect.mercialys-connect--open {
    display: block;
}

.mercialys-connect__overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    background-color: #2c2c2c;

    /* IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    /* IE 5-7 */
    filter: alpha(opacity=50);
    /* Netscape */
    -moz-opacity: 0.5;
    /* Safari 1.x */
    -khtml-opacity: 0.5;
    /* Good browsers */
    opacity: 0.5;
}

.mercialys-connect__popup {
    position: absolute;

    top: 70px;
    left: 10%;
    width: 80%;

    margin-bottom: 50px;
    padding: 24px 0;

    background-color: #ffffff;
    border: 1px solid #2c2c2c;
}

.mercialys-connect__signup, .mercialys-connect__signin {
    width: 40%;
    padding: 0 5%;
    display: inline-block;

    vertical-align: top;
}

.mercialys-connect__signin {
}

.mercialys-connect__signup {
}

.mercialys-connect__close {
    display: block;
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
}

@media(max-width: 600px) {

    .mercialys-connect__signup, .mercialys-connect__signin {
        width: 90%;
        padding: 0 5%;
        display: block;
    }

    .mercialys-connect__signup {
        margin-top: 40px;
        border-left: none;
    }

    .mercialys-connect__popup .full-width {
        width: 90% !important;
    }

}


/* ****************** */
/*      NO SCRIPT     */
/* ****************** */
#noscript-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    opacity: 0.8;
    z-index: 9999;
}

#noscript-box {
    position: fixed;
    top: 30%;
    left: 50%;
    background-color: rgb(255, 191, 191);
    border: 1px solid rgb(210, 93, 88);
    width: 300px;
    margin-left: -150px;
    padding: 11px 15px;
    line-height: 1.3;
    color: #FF0000;
    text-shadow: 0 1px 0 rgb(255, 255, 255);
    font-size: 12px;
    text-align: center;
    border-radius: 4px;
    z-index: 9999;
}

/* ****************** */
/*       BUTTONS      */
/* ****************** */
.btn-fb {
    display: inline-block;
    padding-left: 40px;
    height: 42px;
    background: transparent url("/images/fb-btn-l.png") no-repeat;
    vertical-align: top;
    color: #fff;
    font-weight: bold;
    margin-top: 10px;
}

.btn-fb:hover {
    color: #fff;
}

.btn-fb > span:first-child {
    display: block;
    float: left;
    height: 18px;
    background: transparent url("/images/fb-btn-bg.png") repeat-x;
    padding: 12px 10px;
}

.btn-fb:hover > span:first-child {
    text-decoration: underline;
}

.btn-fb > span:last-child {
    display: block;
    float: left;
    height: 42px;
    width: 10px;
    background: transparent url("/images/fb-btn-r.png") no-repeat;
}

.fb-like {
    min-height: 20px;
}

/* ****************** */
/*       VIDEO        */
/* ****************** */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ****************** */
/*       PODIUM       */
/* ****************** */
.podium {
    margin-bottom: 20px;
}

.podium .table {
}

.podium .table .line {
    min-height: 50px;
    border-bottom: 1px solid #EEE;
    padding-bottom: 10px;
}

.podium .table .line > div {
    height: 100%;
}

.podium .important {
    font-size: 20px;
    line-height: 25px;
    font-weight: bold;
}

.podium img {
    max-width: 50px;
    max-height: 50px;
}

/* ****************** */
/*     APP SPECIFIC   */
/* ****************** */
        
            /*------------------------------------------------------*/
/*                      Font
/*------------------------------------------------------*/
@font-face {
    font-family: pacifico;
    src : url('/fonts/wikoiberia_candycrush/Pacifico.eot') format('eot'),
    url('/fonts/wikoiberia_candycrush/Pacifico.woff') format('woff'),
    url('/fonts/wikoiberia_candycrush/Pacifico.ttf') format('truetype');
}

@font-face {
    font-family: cooperHewitt-L;
    src : url('/fonts/wikoiberia_candycrush/CooperHewitt-Light.eot') format('eot'),
    url('/fonts/wikoiberia_candycrush/CooperHewitt-Light.woff') format('woff'),
    url('/fonts/wikoiberia_candycrush/CooperHewitt-Light.ttf') format('truetype');
}

@font-face {
    font-family: cooperHewitt-B;
    src : url('/fonts/wikoiberia_candycrush/CooperHewitt-Bold.eot') format('eot'),
    url('/fonts/wikoiberia_candycrush/CooperHewitt-Bold.woff') format('woff'),
    url('/fonts/wikoiberia_candycrush/CooperHewitt-Bold.ttf') format('truetype');
}

@font-face {
    font-family: CooperHewitt-BoldItalic;
    src : url('/fonts/wikoiberia_candycrush/CooperHewitt-BoldItalic.eot') format('eot'),
    url('/fonts/wikoiberia_candycrush/CooperHewitt-BoldItalic.woff') format('woff'),
    url('/fonts/wikoiberia_candycrush/CooperHewitt-BoldItalic.ttf') format('truetype');
}

@font-face {
    font-family: DIN-Regular;
    src : url('/fonts/DIN/DINRegular.eot') format('eot'),
    url('/fonts/DIN/DIN-Regular.woff') format('woff'),
    url('/fonts/DIN/DIN-Regular.ttf') format('truetype');
}

@font-face {
    font-family: DIN-Medium;
    src : url('/fonts/DIN/Din-medium.eot') format('eot'),
    url('/fonts/DIN/DIN-Medium.woff') format('woff'),
    url('/fonts/DIN/DIN-Medium.ttf') format('truetype');
}


/*------------------------------------------------------*/
/*                      General
/*------------------------------------------------------*/
body.freestyle, html{
    height: 100%;
    background-color: #E9EBEE;
}

#app_wrapper {
    max-width: none;
    width: 100%;
    min-height: 100%;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    font-family: cooperHewitt-L;
    background-color: #E9EBEE;
}

#app_footer{
    display: none;
}

.container {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

#footer_wiko {
    position: absolute;
    bottom: 30px;
    width: 100%;
    left: 0;
}

#footer_wiko img {
    position: absolute;
    left: 25px;
    bottom: 0;
}

/*------------------------------------------------------*/
/*                      CONNECT
/*------------------------------------------------------*/

.container-custom, .container-form, .container-game{
    position: relative;
    max-width: 810px;
    width: 100%;
    height: 100%;
    background-size: contain ;
    background-repeat: no-repeat;
    margin: 0 auto;
    overflow: hidden;
}

.btn-participer{
    position: absolute;
    top:65vw;
    width: 48%;
    left:50%;
    transform: translate(-50%,0);
}

.tag{
    position: absolute;
    top: 4vw;
    right: -6%;
    transform-origin: 45% 4px ;
    animation: pendule 2s cubic-bezier(0.640, 0.005, 0.435, 1.005) infinite alternate;
}

@keyframes pendule {
    from{
        transform: rotate(15deg);
    }to{
        transform: rotate(-15deg);
    }
}


.tag img {
    //width: 15vw;
    max-width: 125px;
}

.legal {
    text-decoration: underline;
    color: #000;
    background-color: white;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    display: inline-block;
    margin-top: 10px;
    line-height: 25px;
    font-family: DIN-Medium;
    letter-spacing: 1px;
    font-weight: 700;
}


/*------------------------------------------------------*/
/*                      DOTATIONS
/*------------------------------------------------------*/
.modal-header{
    border: none;
    padding-bottom: 0;
}

.modal.in .modal-content {
    border: 6px solid rgb(249,213,164);
    background: rgb(41,185,177);
    border-radius: 10px;
}

.modal.in .modal-dialog {
    width: 65%;
    max-width: 500px;
    text-align: center;
    margin: auto;
}

.premios{
    margin-top: 15px;
    margin-bottom: 15px;
    width: 120%;
    margin-left: 50%;
    transform: translate(-50%);
}


.modal-header .close {
    margin-top: -2px;
    background-color: rgb(237,104,67);
    opacity: 1;
    color: white;
    border-radius: 5px;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 5px;
}

.modal-body {
    padding-top: 0;
    display: inline-block;
}

.modal-body h2{
   margin-bottom: 0;
    margin-top: 0;
}


.modal-body h2 img {
    display: inline-block;
    width: 53%;
}

.modal-body .last{
    font-size:16px;
}


/*------------------------------------------------------*/
/*                      FORMULAIRE
/*------------------------------------------------------*/

.formulaire-wrapper{
    position: absolute;
    width: 32%;
    top: 25vw;
    left: 50%;
    transform: translate(-50%,0);
}
#auth-form{
    width: 100%;
}

.formulaire-wrapper .help-block{
    display: block;
    margin-top: 5px;
    margin-bottom: 0;
    line-height: 13px;
    color: red;
}

.control-label, label{
    display: inherit;
    //font-size: 10px;
    text-align: left;
    font-weight: lighter;
    color: rgba(253,235,212,1);
    margin-bottom: 0;
    margin-left: 10px;
    font-family: DIN-Regular;
}

.optin label, label[for=contact_cgu], .label_checkbox {
    font-size: 10px;
    margin-left: 0;
}

label[for=contact_cgu]{
    margin-left: -2px;
}

.field{
    margin-bottom: 8px!important;
}

input[type=text], input[type=email]{
    box-shadow: 1px 1px 10px rgba(0,0,0,0.2);
    width: 98.5%;
    margin-right: 10px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255,255,255,0.4);
    height: 30px ;
    padding-left: 10px;
}

input[type=text]:focus, input[type=email]:focus{
    outline:none;
}


.formulaire-wrapper button{
    border: none;
    background-color: transparent;
    box-shadow: none;
}

.field {
    text-align: left;
}

.formulaire-wrapper .optin {
    margin-bottom: 0!important;
    text-align: left;
}

.formulaire-wrapper label a {
    color : rgba(253,235,212,1);
    text-decoration: underline;
}

.formulaire-wrapper label a:hover {
    color : rgba(253,235,212,1)
}

a:focus, a:active, input:focus, input:active{
    outline: none;
}


/*------------------------------------------------------*/
/*                      GAME
/*------------------------------------------------------*/
#wrap{
    position: absolute;
    top: 22%;
    text-align: center;
    margin: auto;
    width: 100%;
}

.start {
    position: absolute;
    top: 0;
    left: 18%;
    height: 47px;
}

.start:hover{
    cursor:pointer;
}

canvas{
    border-radius: 10px;
    max-width: 495px;
    max-height: 495px;
}

.stat-bar{
    background-color: rgba(253,235,212,0.8);
    text-align: left;
    margin: auto;
    margin-bottom: 10px;
    max-width: 400px;
    border-radius: 10px;
    margin-left: 32.5%;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.4);
    height: 40px;
}

.avatar-case{
    text-align: left;
    padding-left: 5px;
}

.avatar{
    border-radius: 5px;
    margin-top: 3px;
    max-height: 22px;
    height: 35px;
}

.stat-bar h3 {
    text-align: left;
    font-size: 18px;
    margin-top: 10px;
}

.stat-bar .timer, .stat-bar .score{
    margin-top: 10px;
    margin-left: -20px;
    font-size: 18px;
}

#wrap-game{
    background-color: rgba(253,235,212,0.6);
    padding: 10px;
    border-radius: 10px;
    max-width: 515px;
    text-align: center;
    margin: auto;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.4);
}

#game{
    border-radius: 10px;
}

.stat-bar img {
    max-height: 40px;
}

.number-life-wrap{
    height: 0;
    text-align: center;
    margin: auto;
}


/*------------------------------------------------------*/
/*                      Animation
/*------------------------------------------------------*/
.obj1{
    animation : obj1 3s linear infinite;
}
.obj2{
    animation : obj2 4s linear infinite;
}
.obj3{
    animation : obj3 2s linear infinite;
}
.obj4{
    animation : obj4 3.5s linear infinite;
}
.obj5{
    animation : obj5 4.5s linear infinite;
}


@-webkit-keyframes obj1 {
    0% {
        top:0;
        left: 0;
    }30% {
        top:100%;
        left: 50%;
    }60%{
      top:80%;
      left: 100%;
    }70%{
       top:0%;
       left: 90%;
   }90%{
       top:100%;
       left: 20%;
   }100%{
       top:0%;
       left: 0%;
   }

}


/*------------------------------------------------------*/
/*                      Result
/*------------------------------------------------------*/

#gameEnd{
    color:#f4e3cf;
    max-width: 495px;
    max-height: 495px;
    background-color: #01b2aa;
    border-radius: 10px;
    width: 100%;
    height: auto;
    position: relative;
    padding-top: 100%; 	/* initial ratio of 1:1*/
}

#gameEndContent{
    position: absolute;
    width: 100%;
    padding: 0px 20px;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

#gameEnd h1{
    font-family: DIN-Medium;
    color:#f4e3cf;
    font-size: 50px;
    margin-top: 0;
     padding-top: 50px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
 }

#gameEnd p{
    font-size: 34px;
    margin-bottom: 50px;
}

#gameEnd img {
    max-height: 70px;
}



/*------------------------------------------------------*/
/*                      CLASSEMENT
/*------------------------------------------------------*/
.heart-user {
    position: absolute;
    top: 0;
    left: 0;
    font-family: cooperHewitt-B;
    width: 100%;
    height: 100%;
    line-height: 80px;
}

.heart-user span {
    font-size: 28px;
}

.score-user {
    font-size: 28px;
}

.separator img{
    height: 60px;
}

.retour a {
    display: block;
    text-align: center;
}



.rank-wrap{
    position: absolute;
    top: 18vw;
    left: 50%;
    transform: translate(-50%,0);
    width: 95%;
    max-width: 550px;
}

.rank-wrap #footer_wiko {
    position: relative;
    bottom: 0 !important;
}

.rank-wrap #footer_wiko img {
    left: -105px;
}

.profile-wrap {
    border-radius: 10px;
    padding: 10px;
    padding-left: 25px;
    padding-right: 25px;
    background-color: rgba(253,235,212,0.8);

}

.profile-wrap .name .user_position {
    position: absolute;
    bottom: 0;
}

.user{
    box-shadow: inset 1px 1px 5px rgba(0,0,0,0.2);
    border-radius: 10px;
    background-color:rgb(76,181,171);
    padding: 8px 0px;
}

.photo{
    display: inline-block;
    border-radius: 5px;
    box-shadow: -1px -1px 2px rgba(255,255,255,0.5);
}

.photo-profile {
    width: 80px;
    height: 80px;
}

.star-profile {
    width: 60px;
}

.nameNrank {
    color: rgb(27, 131, 114);
    font-family: CooperHewitt-BoldItalic;
    font-size: 14px;
}

.btn-ranking{
    height: 50px;
}

.name {
    color: #f4e3cf;
    font-size: 20px;
}

.user h2{
    display: inline-block;
}

.heart  h2 {
    position: absolute;
    top: 4vw;
    left: 50px;
    font-family: cooperHewitt-B;
}

.star {
    display: inline-block;
    margin: auto;
}

.text-digit {
    font-size: 17px;
}

.fb-custom-send:hover,  .fb-custom-send:focus, .fb-custom-send:active{
    text-decoration: none;
}

.low-opacity{
    opacity: 0.5;
}

.classement-wrap{
    margin: auto;
    position: relative;
    border-radius: 10px;
    padding: 10px;
    padding-left: 25px;
    padding-right: 25px;
    background-color: rgba(253,235,212,0.8);
    margin-top: 40px;
    padding-top: 33px;
    text-align: center;
}

.avatar-row{
    padding-top: 3px;
}

.avatar-row img{
    height: 37px;
}

.bandeau{
    position: absolute;
    top: -41px;
    left: 0;
    transform: translate(-50%);
    margin-left: 50%;
    width: 65%;
}

.rank-row {
    background-color: rgb(76,181,171);
    border-radius: 10px;
    box-shadow: inset 1px 1px 3px rgba(0,0,0,0.2);
    margin: 4px auto;
    text-align: center;
    padding: 1px 0;

}

.first-name{
    text-align: left;
    color: #f4e3cf;
    font-size: 26px;
    margin-top: 13px;
    margin-left: 20px;
    margin-bottom: 0px;
}

.legal-rank{
    position: static!important;
    transform: none!important;
    bottom: -74px !important;

}

.rank-row .star{
    height: 39px;
}

.star-wrap h2 {
    font-size: 20px;
}

.fb-custom-send, .fb-custom-send-done, .fb-custom-share {
    position: relative;
    display: inline-block;
}

#invite_count {
    position: absolute;
    background: url('https://sb-filer.s3.amazonaws.com/custom_wikoiberia_candycrush_2018/picto_vie.png') no-repeat;
    height: 30px;
    top: 5px;
    right: 20px;
    width: 30px;
    background-size: contain;
    line-height: 30px;
    font-size: 11px;
    color: black;
}


/*------------------------------------------------------*/
/*                      MOBILE
/*------------------------------------------------------*/


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

    #footer_wiko img {
        max-width: 20%;
    }

    .container-custom, custom, .container-form, .container-game {
        max-width: 480px;
    }

    .container-custom #footer_wiko {
        bottom: 100px;
    }

    .container-form #footer_wiko, .container-game #footer_wiko {
        bottom: 150px;
    }

    .rank-wrap #footer_wiko img {
        display: none;
    }

    .btn-participer{
        top:64%;
        width: 100%;
        z-index: 1;
    }

    .tag{
        top: 33%;
        right: 7%;
    }
    /*.tag img{
        width: 70px;
    }*/

    /*------------------------------------------------------*/
    /*                      Dotations
    /*------------------------------------------------------*/

    .modal-body h2 img {
        display: inline-block;
        width: 68%;
    }


    /*------------------------------------------------------*/
    /*                      Formulaire
    /*------------------------------------------------------*/

    .formulaire-wrapper{
        top: 30%;
        width: 50%;
    }

    .formulaire-wrapper button {
        max-width: 100%;
    }

    .formulaire-wrapper button img {
        max-width: 100%;
    }

    .optin label, label[for=contact_cgu], .label_checkbox {
        font-size: 9px;
        margin: 5px 0;
    }

    #contact_cgu {
        position: absolute;
    }

    .cgu_checkbox span {
        margin-left: 20px !important;
    }

    input[type="checkbox"] {
        margin: 0;
    }


    /*------------------------------------------------------*/
    /*                      index
    /*------------------------------------------------------*/

    .container-game{
        height: 100%;
    }

    #wrap-game{
        max-width: 460px;
    }

    #wrap{
        top: 21%;
    }

    .start{
        height: 40px;
        left: 15px;
    }
    .stat-bar{
        width: 100%;
        margin-left: 14%;
        margin-bottom: 5px;
    }

    .avatar-case{
        text-align: left;
        padding-left: 10px;
    }

    .avatar{
        margin-left: -6px;
        display: inline-block;
    }
    .stat-bar h3{
        margin-top: 14px;
        font-size: 16px;
        padding-left: 3px;
    }
    .stat-bar .timer, .stat-bar .score{
        margin-top: 14px;
        margin-left: -15px;
        font-size: 15px;
    }

    .timer-wrap{
        margin-left: -10px;
        padding-top: 2px;
    }
    .timer-wrap img {
        height: 40px;
    }
    .stat-bar .star{
        margin-top: 5px;
        height: 33px;
        margin-left: 6px;
    }

    .life-wrap{
        padding-right: 0;
        text-align: right;
    }

    .life-wrap img {
        height: 40px;
    }


    canvas{
        text-align: center;
        margin: auto;

    }

    /*------------------------------------------------------*/
    /*                      Result
    /*------------------------------------------------------*/

    #gameEnd h1{
        padding-top: 20px;
        font-size: 39px;
    }
    #gameEnd img{
        max-width: 200px;
    }

    #gameEnd p {
        font-size: 23px;
        margin-bottom: 25px;
    }


    /*------------------------------------------------------*/
    /*                      Classement
    /*------------------------------------------------------*/

    .text-digit {
        font-size: 16px;
    }

    .heart-profile {
        width: 40px;
    }

    .rank-row {
        background-color: rgb(76,181,171);
        border-radius: 10px;
        box-shadow: inset 1px 1px 3px rgba(0,0,0,0.2);
        margin: 1px auto;
        text-align: center;
        padding: 5px 0px;

    }

    .heart-user {
        line-height: 45px;
    }

    .star-profile {
        width: 30px;
    }

    .photo-profile {
        width: 40px;
        height: 40px;
    }

    .heart-user span {
        font-size: 15px;
    }

    .score-user {
        font-size: 18px;
    }

    .rank-wrap{
        top: 20%
    }

    .nameNrank{
        padding: 0;
    }
    .profile-wrap h1, .profile-wrap h3{
        font-size: 21px;
        margin-top: 22px;
    }
    .user h2 {
        font-size: 18px;
    }
    .profile-wrap h3{
        font-size: 18px;
    }

    .profile-wrap .name .user_position {
        bottom: 3px;
        position: relative;
        //left: -10px;
    }

    .profile-wrap .name .user_name {
        display: block !important;
        top: 0;
        position: absolute;
        left: 120px;
        width: 130px;
        text-align: left;
    }

    #invite_count {
        top: 5px;
        right: 15px;
    }

    .btn-ranking{
        max-height: 45px;
    }
    .star-wrap{
        padding: 0;
        padding-top: 11px!important;
    }
    .star {
        height: 50px;
    }
    .heart{
        padding-top: 11px!important;
    }

    .heart h2{
        top: 11px;
        left: 38px;
    }

    .classement-wrap {
        margin-top: 30px;
        padding-top: 10px;
    }

    .bandeau{
        width: 50%;
        top: -30px;
    }

    .nameNrank {
        font-size: 16px;
    }
    .name {
        font-size: 18px ;
    }

    /*------------------------------------------------------*/
    /*                      Dotations
    /*------------------------------------------------------*/

    .modal-body .last {
        font-size: 13px;
    }


}


/*------------------------------------------------------*/
/*                      Desktop-large
/*------------------------------------------------------*/


@media screen and (min-width: 768px) {
    .btn-participer{
        top: 561px;
    }

    .tag {
        top: 29px;
        right: -12px;

    }

    .formulaire-wrapper{
        top: 325px;
    }


    .profile-wrap{
        top:25px;
    }
    .heart h2, .star h2 {
        top:27px;

    }
    .rank-wrap{
        top: 175px;
    }

}
    
        