/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 20 févr. 2015, 18:02:19
    Author     : lsmpascal
*/



/* Mobile : To avoid blue blink on scene touch */
#game_outer { -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
/* Mobile : To avoid the menu to appear on long touch */
#game_outer:not(input):not(textarea) {
  -webkit-user-select: none; /* disable selection/Copy of UIWebView */
  -webkit-touch-callout: none; /* disable the IOS popup when long-press on a link */
}


/* RESET selector for element and children */

/*#game_outer a:hover,
#game_outer a:visited,
#game_outer a:active,*/
#game_outer, 
#game_outer .label{
    background:none;
    border:none;
    bottom:auto;
    clear:none;
    cursor:default;
    display: block;
    float:none;
    
    font-size:medium;
    font-style:normal;
    font-weight:normal;
    height:auto;
    left:auto;
    letter-spacing:normal;
    line-height:normal;
    max-height:none;
    max-width:none;
    min-height:0;
    min-width:0;
    overflow:visible;
    position:static;
    right:auto;
    text-align:left;
    text-decoration:none;
    text-indent:0;
    text-transform:none;
    top:auto;
    visibility:visible;
    white-space:normal;
    width:auto;
    z-index:auto;
}

/* Common ressources */
table.vAlign{width: 100%;}
table.vAlign td{vertical-align: middle;}

/* Base css */





/* ----- */

/*

*/

#waiter_game_load{padding: 220px;}

#game_outer{ margin: auto; 
            /*font-family: Roboto_Light;*/
            letter-spacing: -0.06em;

            overflow: hidden; /* for the img map top = -7px; */

        -webkit-user-select: none; /* Chrome/Safari */        
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+ */
}


#game_outer .popup{width:300px; height:400px; background:#e2f9ff; position: absolute; top:100px; 
	margin-top:0px;
    left:30px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 1px 3px 1px rgba(0,0,0,0.2);
    box-shadow: 1px 3px 1px rgba(0,0,0,0.2);

    font-family: Tahoma, sans-serif;
    letter-spacing: -0.04em;
    color:#1a62b1;
}

#game_outer .popup .popup_inner{padding:20px; max-height: 100%; overflow-y: auto;}

#game_outer .popup.popup_xs{width:200px; height:300px;}

#game_outer .popup.popup_yellow{background:#fee145;}

#game_outer .popup.bgtransp{background-color: rgba(255, 255, 255, 0.8);}

#game_outer .popup .note{font-size: 0.7em; font-style: normal;}

.popup .close_btn{position: absolute; top:3px; right: 6px;}

/* special popup */
#game_outer #winSolution.popup{top: 100px; height: 400px;}


#game_outer .btn{font-family: Tahoma, sans-serif; letter-spacing: -0.04em;}

/*
BUTTONS #994d04;
 */
.button{background:#ffe036; color:#8c4700;  font-weight: bold;
            text-align: center;
              cursor: pointer;
              border:none;
              -webkit-border-radius: 20px; border-radius: 20px;
              -webkit-box-shadow: 0px 1px 4px rgba(0,0,0,0.2);
              

              }

.button:hover{background-color: #FEF0A7;}
.button:active{background-color: #ffCded;}

.button.ico_btn{background:none; color:#994d04;-webkit-border-radius: 0px; border-radius: 0px;
              -webkit-box-shadow: none;}
.button.ico_btn:hover{color:#fee145;}

.button_interface{font-family:Tahoma, sans-serif; font-size:2em; display:inline-block;
padding:5px 25px 5px 25px; letter-spacing: -0.04em;
webkit-box-shadow: 2px 3px 0px rgba(0,0,0,0.2);
box-shadow: 2px 3px 0px rgba(0,0,0,0.2);
}

.button_interface.small{font-size:1.5em;}
.button_interface.button_xs{font-size:1.1em;}

#buttonStartWithoutTimer{margin-top:10px;}
/*
#game_outer .button{
    padding:5px 25px;
	color:#333;
    display:inline-block;
    font-size: 2em;
    font-weight: bold;
    background: #ccc;
    border:solid 4px #fff;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -webkit-box-shadow: 0px 2px 4px rgba(0,0,0,0.3);
    box-shadow: 0px 2px 4px rgba(0,0,0,0.3);
    cursor: pointer;
}

#game_outer .button:hover{
    background: #66F;
}

#game_outer .button:active{
    background: #0ff;
}
*/





/* winIntro */



#winIntro.popup{background: rgba(59, 141, 225, 0.8);
width: 825px;
height: 522px;
left: 23px;
text-align: center;
box-shadow: none;
border-radius: 20px;
top: 45px;
padding: 0px;}
#winIntro.popup .img_game_title_bloc{height: 174px;
margin-top: 100px;}
/*rgba(59, 141, 225, 0.8);*/


#winIntro.popup .img_game_title{margin: auto;}
#winIntro.popup .img_game_title.little{width:80%;}
#winIntro.popup #buttonStart{width:220px; line-height: 0.9em; padding:10px 25px 10px 25px;}

#winIntro.popup .label{color: #FFF; font-size:1.2em; text-align: center;
}
#winIntro label{cursor:pointer;color:#427ECF;}
#winIntro #playMode{text-align: left;}
#winIntro .playModeButtonBloc{margin-left:50px; margin-bottom:15px; font-size:1.3em;}
#winIntro .playModeButtonBloc:last-child{margin-bottom:0px;}

/* Game_thumb in winIntro */
/*-----------------------------------*/
#winIntro .game_thumb .game_thumb_img{border-radius:10px;}
#winIntro .game_thumb .game_stars{bottom: -5px;}

#button_training_notes{color:#427ECF; cursor:pointer;}

/* winIntroMobile */
.popup#winIntroMobile{
    top: 300px;
    left:auto;
    right:20px;
    height: 200px;
    width:250px;
}

/* Rules for the .bloc_bg_outer content */
/*-----------------------------------*/
.bloc_bg_outer .v_align_outer{position: relative; z-index: 100;}

/* winIntroMobile */
/*-----------------------------------*/
#winIntroMobile .label{
    padding:0px 20px;
    color:#427ECF !important;
    text-align: center;
    font-size:1.2em;
}
/* For contest game page */
.dark_bloc #winIntroMobile .label p{
    color:#427ECF !important;
}

#winIntroMobile .bloc_bg_ico{bottom: -21px;
top: auto;
left: 10px;
color: #BDEDFF;
font-size: 14em;}


/* winScoreCompCustom */
#bOpenWinScoreCompCustom{position:absolute; bottom: 48px; left: 44px;}
#bOpenWinScoreCompCustom i{color:#FFF; font-size:1.9em;}
.popup#winScoreCompCustom{padding:20px; top:auto; height: 230px; bottom:100px;width: 230px;z-index: 200;}
#winScoreCompCustom .label{color:#427ECF;}
#winScoreCompCustom .bloc_bg_ico{bottom:-22px; top:auto; color:#BDEDFF;}


/* popup_club_tournament_intro */
#game_outer #popup_club_tournament_intro.popup{left: 0px; top: 112px;}

/* winEndGame */
#game_outer #winEndGame.popup {height: 460px;top: 55px;}
#winEndGame {left:50%; margin-left: -168px; }


/*
#winEndGame tr:first-child{height: 140px;}
#winEndGame tr:first-child td{padding-bottom: 40px;}
#winEndGame tr:nth-child(2){height: 140px;}
#winEndGame tr:nth-child(3){height: 100px;}
#winEndGame tr:last-child{height: 50px; text-align: center;}
*/
#winEndGame table{height:100%;}

/*#winEndGame .tr_primary td{padding-top: 30px;}
#winEndGame .tr_stats{height: 80px;}
#winEndGame .tr_button{height: 60px; text-align: center;}*/
#winEndGame .tr_primary td{padding-top: 30px;}
#winEndGame .tr_stats{height: 90px;}
.wrapper_REG #winEndGame .tr_stats{height: 74px;}
#winEndGame .tr_button{height: 110px; text-align: center;}


.wrapper_REG #winEndGame .tr_button{height: 0px;}


#winEndGame .text{
    padding:0px 20px;
    color:#1a62b1;
    text-align: center;
    font-size:1.8em;
    font-weight: bold;
   }

#winEndGame .text .note{font-weight: lighter; font-size:1.1em;}

#winEndGame .scoreTitleLabel{font-size:3.5em;}
#winEndGame .scoreLabel{font-size:4em; font-weight: bold;}
#winEndGame .scoreTitleLabel{font-size:1.5em;}
#winEndGame .scoreLabel{font-size:3.7em; font-weight: bold; color:#1789cf;}
#winEndGame .bonusTitle{font-size:2em; font-weight: bold;}
#winEndGame .bonusLabel{font-size:3.5em; font-weight: bold;}
#nbErrorsTitle{}
#nbErrorsLabel{}


/*#winEndGame .tr_success{ height: 176px; font-family: arial;}*/
#winEndGame .tr_success{ height: 118px; font-family: arial;}
#winEndGame .tr_success td{position: relative; }
#winEndGame .tr_success .content{position:absolute; z-index: 2; top:20%;font-size:1.1em; text-align: left; padding-left:25px; width: 100%;}
#winEndGame .tr_success ul li{margin-bottom: 10px;}
#winEndGame .tr_success .content .note{font-size:0.9em;}

#winEndGame .tr_success .content i{display: inline-block; vertical-align: top; font-size: 0.8em; margin-top: 3px;}
#winEndGame .tr_success .content div.label_in_tr_succes{display: inline-block; width: 91%; margin-left: 7px; line-height: 1em;}

#winEndGame.not_connected .tr_primary td{padding-top:10px;}
#winEndGame.not_connected .tr_success .content{font-size: 0.9em; text-align: center; position: relative;}

/*#winEndGame .tr_success i{position:absolute; top:0;  z-index: 1; }
#winEndGame .tr_success i.starLeft{left:-10px; top:10px; font-size:1em;}
#winEndGame .tr_success i.starRight{right:-17px; font-size:1em;}

#winEndGame .tr_success i.starCenter{right:30%; font-size:1em; -ms-transform: rotate(30deg);
    -webkit-transform: rotate(30deg);
    transform: rotate(30deg);}*/

#winEndGame .statsBloc{padding:10px 30px 0px;}
#winEndGame .statsBloc .timeBloc{margin-top:0px;}

#winEndGame #stars_in_winEndGame{font-size: 4em; text-align: center;}
#winEndGame #stars_in_winEndGame i{position: absolute;}
#winEndGame #stars_in_winEndGame i.star_1{top: 50px; left: 37px;}
#winEndGame #stars_in_winEndGame i.star_2{top: 85px; left: 122px;}
#winEndGame #stars_in_winEndGame i.star_3{top: 50px; right: 43px;}

#winEndGame #buttonPlayAgain{margin-top: 10px;}
.wrapper_REG #winEndGame #buttonPlayAgain{margin-top: 4px;}



/* TIMER */

#timerBloc{position: absolute; bottom: 40px; right: 20px; width: 20px; height: 500px; border: solid 3px #fff;
           -webkit-border-radius: 6px;
           border-radius: 6px;
           -webkit-box-shadow: 0px 1px 4px rgba(0,0,0,0.2);
           box-shadow: 0px 1px 4px rgba(0,0,0,0.2);}
#timerBar{background: #3F3;height: 500px; width: 16px;position: absolute; bottom: 0px; right: -1px;
          -webkit-border-radius: 0px 0px 6px 6px;;
          border-radius: 0px 0px 6px 6px;}



#best_score_bloc_content_result{position: absolute; bottom:5px; left:40px;width:790px;z-index: 200; }/*background: #F00; height: 50px;*/
#best_score_bloc_content_result .best_score_bloc{display:inline-block;}


#best_score_bloc_content_result .bloc_score{display: inline-block;}
#best_score_bloc_content_result .rank{float: right;}
#best_score_bloc_content_result .rank .rank_ratio{display: inline-block; margin-left:5px; padding:2px; border-radius: 2px;}

#misc_data_in_best_score_bloc{margin-left: -50px;
display: inline-block;}

/* Button */
#buttonPlayAgain, #buttonBack{display:inline-block;}
#buttonBack{margin-right: 10px;}


/*gamespecialid_note*/
.gamespecialid_note{position: absolute;
    bottom: 46px;
    left: 9px;
    font-family: arial;
    font-size: 0.6em;
    text-align: right;
    letter-spacing: 0.01em;
    z-index: 200;
    -ms-transform: rotate(270deg); /* IE 9 */
    -webkit-transform: rotate(270deg); /* Chrome, Safari, Opera */
    transform: rotate(270deg);
    -ms-transform-origin: 0px 0px;
    -webkit-transform-origin: 0px 0px;
    transform-origin: 0px 0px;
}

/*btn_fullscreen*/
#btn_fullscreen{
    background:#4da1d9;
    color:#FFF;
    position: absolute;
    bottom: 7px;
    left: 398px;
    text-align: center;
    z-index: 1200;
    border:none;
    padding: 0px 10px;
    font-weight: bold;

}


/*PublishScoreWin*/
#game_outer .popup#winPublishScore{top: 69px; right:20px; text-align: center; height: 330px; width: 250px; z-index:200; padding:20px;}

#labelCongrats{color:#427ECF; font-weight: bold;font-size: 1.2em; margin-top: 20px;}


.labelPublishScore{margin-top:30px;}
#bPublishScoreFb{background:url(images/bPublishScoreFb.png) no-repeat; width:178px; height: 52px; background-size: 178px 52px; margin:auto; margin-top:10px;}
#bPublishScoreTwitter{background:url(images/bPublishScoreTwitter.png) no-repeat; width:178px; height: 52px; background-size: 178px 52px; margin:auto; margin-top:10px;}


/* 221019 : deprecated */
/*-----------------------------------*/
#publish_game_stat_content_result{
    display: none;
}



/*WinButtons*/
#winButtonsEndGame.popup{right: 20px; text-align: center; width: 250px; z-index: 200; height: auto; padding: 15px 20px; bottom: 83px; top: auto;}
#buttonDisplayCorrection{margin-bottom:15px; display:block;}

/*fullscreen*/
#game_outer_container.fullscreen_mozilla{position: fixed; z-index: 9999;
    top:0px; left:0px; background: #FFF; margin:auto; width:100%; height:100%;
}

#winButtonsEndGame a{margin-bottom: 15px;}


/* popup_club_tournament_end_game */
#game_outer #popup_club_tournament_end_game.popup {z-index: 520; }
#btnPopup_club_tournament_end_game_close{position: absolute; top:-10px; right: -10px;}

/* PublishScoreWinBig AND EVERYTHING FOR THIS */


/*#game_outer #winEndGame.popup {left:34px;margin-left:0px;}*/
#game_outer #winEndGame.popup {left: 287px;margin-left:0px;
            z-index: 500;/*for other things not to be upon the "play again" button*/
        }
#game_outer #winPublishScoreBig.popup {    
    height: 460px;
    width: 490px;
    top: 55px;
    right: 62px;
    left: auto;
    /*padding: 20px;*/
    padding : 0px;
    text-align: center;
   /* padding-top: 93px;*/
   
}

#game_outer #winPublishScoreBig.popup .bloc_bg_inner{
    display : flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

}
.push_at_end_game{
    height: 100%;
    width:100%;
    border-radius:10px;
}
.push_at_end_game p{
    font-size: 1.1em;
}
.push_at_end_game .bloc_bg_ico{
    top:110px;
    font-size: 22em;
}



#labelCongrats{margin-top:5px;}
.labelPublishScore{margin-top:5px;}

#winPublishScoreBig #fb_post_fake_bloc{height: 306px; width:408px; background: #FFF; padding:10px; margin:auto; margin-top:10px;text-align: left;}
.fb_game_thumb{width:388px; max-height: 209px; margin:auto;}

.fb_title{font-family: Georgia, serif; font-size: 14px; color:#000;margin-top:5px;font-weight: 600;
line-height: 17px;
letter-spacing: 0.001em;
word-wrap: break-word;}

.fb_baseline{font-family: helvetica, arial, sans-serif;
line-height: 12px;
font-size: 10px; 
max-height: 80px;
color:#000;
margin-top:10px;letter-spacing: normal;}

#bPublishScoreFbBig{margin-top:-11px; font-size:1.3em;}

#winButtonsEndGame.popup{width: 728px;
top: auto;
bottom: 10px;
height: auto;
background: none;
box-shadow: none;
right:102px;
left: auto;
}

#buttonDisplayCorrection {
    display: inline-block;
}





/* special_game_flag the junior and expert flag*/
.special_game_flag{font-size: 1.5em;
color: #FFF;
position: absolute;
bottom: 45px;
right: 0px;
padding-right: 80px;
width: 416px;
height: 44px;
text-align: right;
line-height: 44px;
font-weight: bold;
padding-top: 2px;
text-shadow: 1px 1px 1px rgba(0,0,0,0.6);;}
#junior_flag{background: url(images/bg_junior.png) no-repeat;}
#expert_flag{background: url(images/bg_expert.png) no-repeat;}
#precis_flag{background: url(images/bg_precis.png) no-repeat;}



/* score_comparator */

/*Horizontal*/
/*#score_comparator{position: absolute; left:40px; bottom:28px; z-index: 200; width:400px;}
#score_comparator_best{background: #CCC; height:2px; width: 0px;
position: absolute; bottom: 0px; left:0px;}
#score_comparator_current{background: #6F6; height:2px; width: 0px; position: absolute; bottom: 2px; left:0px;}

#score_comparator i.fa-star{position: absolute; font-size:0.7em; display:none;}*/

/*Vertical*/
#score_comparator{position: absolute; left: 14px; bottom: 180px; z-index: 200; height:400px;}
#score_comparator_best{background: #CCC; width:2px; height: 0px;
position: absolute; left: 0px; bottom:0px;}
#score_comparator_current{background: #6F6; width:2px; height: 0px; position: absolute; left: 2px; bottom:0px;}

#score_comparator i.fa-star{position: absolute; left: -2px;font-size:0.7em; display:none; color:#DDD;}

#mainScoreLabel .score_comparator{font-size: 0.5em;}
#mainScoreLabel .score_comparator i{font-size: 0.8em;}


/* winCorrection */
#winCorrection{position: relative;}
#winCorrection.popup{width:340px;height:460px; padding-top:10px; z-index:1000;}
#winCorrection #locationsList{max-height: 90%; overflow-y: auto; padding:10px; margin: 5px;}

#winCorrection #locationsList .location_item{margin:3px; font-size:0.9em;}

#btnCorrectionScrollContainer{ /* For mobile only */
    position: absolute;
    bottom: 0px;
    right: 3px;
    color: #FFF;
    font-size: 2.5em;
}


/* WinImage */
#winImage{width: 236px;
    height: 157px;
    position: absolute;
    bottom: 50px;
    left: 40px;
    border-radius: 20px;
    border: solid 3px #FFF;
}
#winImage img{border-radius:inherit;width: 100%;height: 100%;}


/* ico_portrait_to_landscape */
#ico_portrait_to_landscape{
   /* position: absolute; 
    width: 900px; 
    height: 600px; 
    z-index: 1200;
    top: 1px;*/
  

    position: absolute;
    height: 100%;
    width: 100vw;
    left: 0px;
    top: 0px;
    display: flex;
    justify-content: center;
    background: #FFF;
    z-index: 900;

}

#ico_portrait_to_landscape img{
    transform: scale(0.3);

}





