@import url(https://fonts.googleapis.com/css?family=Varela+Round);
@import url(https://fonts.googleapis.com/css?family=Fredoka+One);
/*    0 Arts/Littérature
	1 BD/Mangas/DessinsAnimés
	2 Cinéma/SériesTV
	3 CultureGénérale
  	4 Divertissements/JeuxVidéos
	5 Histoire/Géographie
   	6 Musique
	7 Science/Nature
	8 Société/People/Actualité
	9 Sports/Loisirs
*/

html, body {
    height: 100%;
    margin: 0px;
    padding: 0px;
    display: flex;
    flex-direction: column;
    overflow: auto;
    font-family: 'Varela Round', cursive;
}

#startSplash {
    width: 100vw;
    height: 100vh;
    background-color: #000;
    display: flex;
    position: absolute;
    z-index: 9999;
    left: 0px;
    flex-flow: row;
    align-items: center;
    justify-content: center;
}
#startSplashBtn {
    font-size: 2em;
}

#chatContainer {
    flex: 1;
    width: 1024px;
    position: relative;
    margin: auto;
}


div.row.container{
    padding: 0px;
    margin:auto;
    height:100%;
    position:relative;
    padding: 0px;
    width:100%;
    max-width:1024px;

}

#container {
    width: 100%;
    height: auto;
    background-color: #e2e2e2;
    border-radius: 10px;
    padding: 10px;
    display:inline-block;
    position:relative;
    max-width:1024px;
}
#header {
    background-color: #fff;

    width:100%;
    height:50px;
    border-radius:5px;
    text-align:center;
}
.number {
    display:inline-block;
    color:#666666;
    padding:10px 15px;
    background-color: #e2e2e2;
    margin:5px;
    border-radius:3px;
}
.currentQuestionNumber {
    transform:scale(1.2,1.2);
    background-color: #f12506;
    color:#FFF;
}
.nextQuestions {
    background-color: #afafaf;
    color:#FFF;
}


#gameContainer {
    margin-top: 5px;
    background-color: #FFF;
    border-radius: 5px;
    height: 100%;
    padding: 10px;
    position: relative;
    height: auto;
    top: 0px;
    width: 1024px;
    margin: auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#questionNumberContainer {
    color:#f12506;
    margin-left: 25px;
    font-size: 1.18em;
    text-align:center;
}
#btnCategorie {
    color:#FFF;
    width:200px;
    border-radius:3px;
    text-align:center;
    padding:10px;
    font-size:1.2em;
    position:absolute;
    bottom:0px;
    margin-bottom: 0px;
    margin-left: -10px;
    text-shadow: 0px 0px 1px #000;
}
.artslittrature {
    background-color: #DF52FF;
}
.bdmangasdessinsanims {
    background-color: #FC9350;
}
.cinmasriestv {
    background-color: #707090;
}
.culturegnrale {
    background-color: #e4ccc6;
}
.divertissementsjeuxvidos{
    background-color: #FFD94E;
}
.histoiregographie {
    background-color: #13B649;
}
.musique {
    background-color: #13B649;
}
.sciencenature  {
    background-color: #B4E83A;
}
.socitpeopleactualit {
    background-color: #FFB1FA;
}
.sportsloisirs {
    background-color: #0071bc;
}


#questionContainer {
    background-color: #e2e2e2;
    width: calc(100% - 233px);
    position: absolute;
    display: inline-block;
    right: 10px;
    top: 9px;
    bottom: 68px;
    border-radius: 5px;
    padding: 5px;
}
#progressBarContainer {
    background-color: #F5F5F5;
    height: 20px;
    width: calc(100% - 233px);
    position: absolute;
    bottom: 45px;
    right: 10px;
    border-radius: 5px;
    border: 1px solid #CCC;
}
#progressBar {
    height:20px;
    background-color: #f12506;
    width:0%;
    /*max-width: 100%;*/
    overflow: visible !important;
}
#progressBarThumb {
    font-weight:bold;
    float: right;
    text-align:center;
    background-color: #FFF;
    padding: 5px;
    color: #f12506;
    border-width:2px;
    border-style:solid;
    border-color:#f12506;
    border-radius: 30px;
    margin-top: -6px;
    margin-right: -10px;
    width:32px;
    height:32px;
}
#question {
    font-size:1.10em;
    font-weight:bold;
    text-align:center;
}


#question img {
    float:left;
    border-radius:5px;
    max-width: 100%;
}
#illustrationCategorie {
    height: 180px;
    width: auto;
    margin-top: 240px;
    position: relative;
    top: -55px;
}

button.proposition {
    border:none;
    border-radius:5px;
    color:#000;
    margin:5px 5px;
    font-family:'Fredoka One';
    transition-duration:0.3s;
    vertical-align: middle;
    box-shadow: 1px 1px 3px #444;
}
button.classement {
    border:none;
    border-radius:5px;
    color:#000;
    margin:5px 5px;
    font-family:'Fredoka One';
    transition-duration:0.3s;
    vertical-align: middle;
}
button.classement.dashed {
    border: dashed 2px #ccc;
    background-color:white;
}

button.disabled {
    pointer-events:none;
    opacity:0.5;
}
button.selected {
    pointer-events:none;
    background-color: #F32605;
}



button.selectedEnabled {
    background-color: #F32605;
}


.imageQuestion {
    margin:10px;
    float:left;
}
#rebusContainer {

}

.gridRebus {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.gridRebus img {
    width: 70px;
    padding:5px;
}


.width1 {
    width:calc(100% - 10px);
    font-size: 2em;
}
.width2 {
    width:calc(50% - 10px);
    font-size: 1.2em;
    height:160px;
}
.width3 {
    width:calc(100% - 10px);
    font-size: 2em;
    height:97px;
}
.width4 {
    width:calc(50% - 10px);
    font-size: 1.2em;
    height:140px;
}
.width5 {
    width:calc(100% - 10px);
    font-size: 1.2em;
    height: 49px;
}
.width6 {
    width:calc(50% - 10px);
    font-size: 1.5em;
    height: 95px;
}
.width7 {
    width:calc(50% - 10px);
    font-size: 1.5em;
    height: 70px;
}
.width8 {
    width:calc(50% - 10px);
    height: 51px;
}
.widthPorcentage1 {
    width:calc(100% - 10px);
    font-size: 2em;
    line-height: inherit;
    height:90px;
}
.widthPorcentage2 {
    width:calc(50% - 10px);
    font-size: 1.2em;
    height:120px;
    line-height: inherit;
}
.widthPorcentage3 {
    width:calc(33% - 10px);
    font-size: 2em;
    height:120px;
    line-height: inherit;
}
.widthPorcentage4 {
    width:calc(25% - 10px);
    font-size: 1.2em;
    height:120px;
    line-height: inherit;
}
.widthPorcentage5 {
    width:calc(20% - 10px);
    font-size: 1.2em;
    height: 90px;
    line-height: inherit;
}
.widthPorcentage6 {
    width:calc(16% - 10px);
    font-size: 1.5em;
    height: 90px;
    line-height: inherit;
}
.widthPorcentage8 {
    width:calc(12.5% - 10px);
    height: 90px;
    line-height: inherit;
}
.boutons.image {
    float:right;
    width: 80%;
    line-height: inherit;
}
#splash {
    position: absolute;
    margin: auto;
    background-color: white;
    /*line-height: 430px;*/
    text-align: center;
    font-size: 2em;
    z-index: 2;
    top: 0px;
    right: 0px;
    left: 0px;
    height: auto;
    max-height: 400px;
    display:none;
}
#validerContainer {
    display:none;
    position: absolute;
    bottom: 5px;
    right: 11px;
}
#validerBtn {
    margin-top:10px;
    font-size:1.6em;
    float:right;
    padding:2px 30px;
    font-weight:bold;
    border-radius:3px;
    border:none;
    color:#FFF;
    transition-duration:0.3s;
    background-color: #f12506;
    width: 100%;
}



#overlay {
    position:absolute;
    top:0px;
    left:0px;
    background-color:rgba(0,0,0,0.95);
    width:100%;
    height:100%;
    display:none;
    z-index:9999;
}


#chat {
    overflow-y: hidden;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 66%;
    padding: 5px;
    margin: 1px;
    position: absolute;
    left: 0px;
    bottom: 40px;
    top: 3px;
}
#userList {
    overflow-y: auto;
    width: 33%;
    border: 1px solid #ccc;
    margin: 1px;
    position: absolute;
    right: 5px;
    bottom: 40px;
    top: 3px;
    border-radius:5px;
}
#inputChat {
    display: table-row;
    padding: 5px;
    width: calc(100% - 10px);
    border-radius: 5px;
    border: 1px solid #CCC;
    margin-top: 3px;
}



#chat:hover {
    overflow-y: auto;
}

.userItem {
    padding-left:2px;
    height:32px;
    line-height:32px;
    border-bottom:1px solid #EEE;
}
.userItem:hover {
    background-color: #EEE;
}

.userItem img.avatar, #chat div.message img.avatar {
    width:25px;
    height:25px;
    border-radius:50px;
    vertical-align:middle;
}
span.timeStamp {
    font-size:0.75em;
}

div.message {
    font-size:0.9em;
    border-bottom:1px solid #EEE;
    padding: 4px 10px;
}
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.5);
}

img {
    vertical-align: middle;
    width: auto
}

#footerChat {
    /* display: table-row; */
    position: absolute;
    width: 100%;
    bottom: 4px;
    left: 2px;}


#lettresGameContainer {

    text-align:center;
    margin-top: 40px;

}
#lettresSolutionContainer {

}
#lettresContainer {
    margin: 5px 10px;
    display: flex;
    flex-wrap: nowrap;
}
.lettre {
    text-align: center;
    display: inline-block;
    text-transform: uppercase;
    width: 80px;
    height: 73px;
    line-height: 79px;
    padding: 8px 0;
    font-size: 45px;
    font-weight: bold;
    margin: 2px;
    padding: 5px 0;
    box-shadow: 3px 3px 5px #888;
    cursor: pointer;
    transition-duration: 0.3s;
    vertical-align: middle;
}
.lettre.disabled {
    pointer-events:none;
    opacity:0.5;
    background-color:#000
}
.lettreSolution {
    text-align:center;
    display:inline-block;
    text-transform:uppercase;
    width: 34px;
    height: 34px;
    line-height: 28px;
    padding: 8px 0;
    font-size: 20px;
    font-weight:bold;
    margin: 2px;
    padding: 5px 0;
    box-shadow: 3px 3px 5px #888;
    pointer-events:none;
    background-color:#CCC;
    vertical-align: middle;

}
.lettreSolution.full {
    cursor:pointer;
    background-color: #f12506;
    pointer-events:auto;
}



.server {
    background-color: aliceblue;
    padding: 4px;
}

button img {
    border-radius:10px;
}
.imageQuestion img {
    border-radius:10px;
}
#splash img {
    width: 100%;
    height: auto;

}
div.clock {
    position: relative;
    top: -410px;
    overflow: hidden;
    max-height: 100px;
}
#pointRouge {
    width:32px;
    height:32px;
    background-color: #FF0000;
    border-radius:60px;
    border:2px solid #000;
    position:absolute;
}
#carteContainer {
    width:320px;
    height:320px;
    display:inline-block;
    position:relative;
}
#carte {
    cursor:pointer;
}
.classementBadge {
    float: right;
    display: inline-block;
    padding: 0px 10px;
    background-color: #F3BFBF;
    border-radius: 10px;
    height: 29px;
}

.classementBadge:empty {
    display:none;
}
.welcome {
    font-size:1.2em;
    background-color: #f12506;
    color:#FFF;
    font-weight:bold;
    padding: 3px;
    border-radius: 5px;
}
.goodAnswer {
    background-color: #DCEFD4;
    padding: 5px;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 999;
    top: 0px;
    left: 0px;
    opacity: 1;
}
#enterDiv {
    text-align:center;
    top: calc(50% - 200px);
    position: absolute;
    width: 100%;
    background-color: #000;
}
#usernameInput {
    font-size:2em;
    width:50%;
    padding:10px;
    border:none;
    border-radius:10px;
    outline:none;
}
.numeroQuestion {
    color:#FF6B6D;
}
#enterBtn {
    font-size: 2em;
    padding: 10px;
    border-radius: 10px;
    background-color: #7AB42E;
    border: none;
    color: white;
}
#spinContainer {
    display:none;
}
#points {
    -vendor-animation-duration: 3s;
    position:absolute;
    text-align:center;
    font-size:2.5em;
    color:#FF0000;
    left: 50%;
    text-shadow:
            3px 3px 0 #000,
            -1px -1px 0 #000,
            1px -1px 0 #000,
            -1px 1px 0 #000,
            1px 1px 0 #000;


}

@-webkit-keyframes blinker2 {
    from {opacity: 1.0;}
    to {opacity: 0.3;}
}
@-moz-keyframes blinker2 {
    from {opacity: 1.0;}
    to {opacity: 0.3;}
}
@keyframes blinker2 {
    from {opacity: 1.0;}
    to {opacity: 0.3;}
}
.blink2{
    text-decoration: blink;

    -webkit-animation-name: blinker2;
    -webkit-animation-duration: 0.6s;
    -webkit-animation-iteration-count:infinite;
    -webkit-animation-timing-function:ease-in-out;
    -webkit-animation-direction: alternate;

    animation-name: blinker2;
    animation-duration: 0.6s;
    animation-iteration-count:infinite;
    animation-timing-function:ease-in-out;
    animation-direction: alternate;

    -moz-animation-name: blinker2;
    -moz-animation-duration: 0.6s;
    -moz-animation-iteration-count:infinite;
    -moz-animation-timing-function:ease-in-out;
    -moz-animation-direction: alternate;


}
.goodComment {
    padding:3px;
    font-size:1.2em;
    font-weight:bold;
    color:#FFF;
    background-color: #058800;
    padding: 5px;
    margin: 5px 0px;
    border-radius: 10px;
    text-align: center;
}
.badComment {
    padding:3px;
    font-size:1.2em;
    font-weight:bold;
    color:#FFF;
    background-color: #630001;
    padding: 5px;
    margin: 5px 0px;
    border-radius: 10px;
    text-align: center;
}
#connectionClassiqueContainer #createAccountBtn {
    width: 80%;
    padding: 5px;
    border: none;
    border-radius: 30px;
    background-color: #172F56;
    margin-top: 30px;
}

#createAccountContainer {
    /*display:none;*/
    text-align:center;
}
.socialButton {
    display:block;
    width:80%;
    border:none;
    color:white;
    margin:30px auto;
    font-size:1.3em;
    max-width: 640px;
    padding: 15px 0px;
}
#facabookBtn {
    background-color: #3b5998;
}
#googlePlusBtn {
    background-color: #db4437;
}
#registerBtn {
    background-color: #888;
}

.abcRioButtonBlue {
    margin:auto;
}
.abcRioButtonContents {
    line-height:0px !important;
}
.abcRioButtonBlue {
    width:80% !important;
    border:none;
    color:white;
    margin:30px auto;
    font-size:1.3em;
    max-width: 640px;
    padding: 15px 0px;
}
.divInvite {
    font-size: 1.6em;
    cursor:pointer;
    color: #FFF;
    display:block;
    max-width: 640px;
    margin: 10px auto;
    background-color: #666;
    width: 80%;
    border-radius: 9px;
    height: 55px;
    border: none;
}
.divInvite:focus {
    background-color:#76AE2C;
}
#enterAsGuestContainer {
    display:none;
}
#connectionClassiqueContainer input,  #connectionClassiqueContainer button{
    font-size:1.5em;
    text-align:center;
    max-width: 640px;
    margin: 10px auto;
    width: 80%;
    border: none;
    border-radius: 5px;
}
#connectionClassiqueContainer button{
    background-color:#76AE2C;
    border:none;
    border-radius:5px;
    color:white;
}
#connctionClassiqueBtn {
    background-color: #172F56;
}
#connectionClassiqueContainer {
    display:none;
}
div#forgottenPassword {
    cursor:pointer;
    color:white;
}
#cadeauContainer {
    color:#FFF;
    font-size:1.1em;
}
.annonce {
    color:white;
    padding: 3px 10px;
    background-color: darkred;
    margin: auto;
    max-width: 800px;
}
.ban, .kick {
    font-size: 0.7em;
    cursor: pointer;
    background-color: red;
    padding:2px;
    border-radius: 3px;
}
.kick {
    background-color: orange;
}


.hidden{
    display: none;
}



@media (min-width:1025px) {


    button.proposition:hover {
        background-color: #F32605;
        transition-duration:0.3s;
        color:#FFF;
    }
    #validerBtn:hover {
        transition-duration:0.3s;
        background-color: #861100;
        color:#000;
    }
    .lettre:hover {
        transform:scale(1.15, 1.15);
        transition-duration:0.3s;
        opacity:0.8;
    }

}
/*ipad*/

@media only screen and (max-width: 768px) {
    .gridRebus img {
        width: 55px;

    }

    #chatContainer {
        width: 100%;
    }
    #gameContainer {
        width:100%;
        padding:0px;
    }

    #lettresContainer {
        margin: 3px 10px;
        display: block;
    }

    .lettre {
        width: 64px;
        height: 48px;
        line-height: 48px;
        padding: 8px 0;
        font-size: 35px;
        margin: 2px;
        padding: 5px 0;
    }
    .welcome {
        font-size:0.8em;
    }
    .goodAnswer {
        font-size:0.7em;
    }

    #lettresGameContainer {
        margin-top: 10px;
    }
    .userItem img.avatar, #chat div.message img.avatar {
        width:16px;
        height:16px;
    }
    .classementBadge {
        height: 16px;
    }
    #illustrationCategorieContainer {
        height:0px;
    }

    #lettresContainer {
        margin:0px;
    }
    #btnCategorie {
        display:none;
    }
    #validerContainer {
        width:100%;
        position:inherit;
    }
    #questionContainer {
        width: 100%;
        right: 0;
        top: 0;
        bottom: 68px;
        position:relative;
    }
    #progressBarContainer {
        right: -2px;
    }
    #illustrationCategorie {
        width:0px;
    }
    .userItem {
        height: 18px;
        line-height: 18px;
        padding-left: 5px;
        font-size: 0.7em;

    }
    .boutons.image {
        float:right;
        width: 100%;
        line-height: inherit;
    }

    div.boutons.image button {
        height:80px;
    }
    #progressBarContainer {
        width:100%;
        position: initial;
        margin-top:5px;
    }
    div.message {
        font-size:0.8em;
    }
    .width4 {
        height:120px;
    }
    #question img {
        width:120px;
    }
    #imgCadeaux {
        max-height:60px;
        float: left;
    }

}

