html
{
	width: 100%;
	height: 100%;
	line-height: 0;
}

body
{
	background: radial-gradient(ellipse at 100px 50px, #6C6C89 0%, #28285E 100%);
	color: white;
    overflow: hidden;
}

.mainMenu 
{
    position: absolute;
    width: 1200px;
    height: 900px;
    background: orange;
    z-index: 10;
    border: solid 6px white;
    border-radius: 12px;
}

.mainMenu .gameLogo
{
    display: inline-block;
    width: 64px;
    vertical-align: top;
    position: relative;
    left: 4px;
    top: 4px;
}

.mainMenu .gameTitle
{
    font-family: Libre Baskerville;
    font-weight: bold;
    font-size: 250%;
    width: 88%;
    display: inline-block;
    text-align: center;
    color: #631111;
    line-height: 2;
    text-shadow: 2px 2px 4px black;
}

.mainMenu .helpContainer
{
    position: absolute;
    top: 70px;
    width: 98%;
    height: 68%;
    border-top: solid 8px #611111;
    left: 1%;
    border-bottom: solid 8px #611111;
}

.mainMenu .helpContainer p, .mainMenu .helpContainer li
{
    color: black;
    font-family: Comfortaa;
    font-size: 120%;
    line-height: 1.5;
    text-align: justify;
}

.mainMenu .helpContainer span img
{
    width: 24px;
}

.mainMenu .gameOptions
{
    width: 98%;
    height: 20%;
    position: absolute;
    top: 78%;
    left: 1%;
}

.mainMenu .createGame
{
    display: inline-block;
    width: 68%;
    height: 98%;
    border-right: solid 6px #611111;
    vertical-align: top;
    font-family: Comfortaa;
    font-size: 90%;
    color: black;
}

.mainMenu .createGame fieldset
{
    border: none;
    padding: 0;
    padding-top: 4px;
    height: 20px;
}

.mainMenu .createGame fieldset label 
{
    display: inline-block;
    width: 126px;
}

.mainMenu .createGame fieldset[data-id="1"] input, .player_1
{
    background: tomato;
}

.mainMenu .createGame fieldset[data-id="2"] input, .player_2
{
    background: dodgerblue;
}

.mainMenu .createGame fieldset[data-id="3"] input, .player_3
{
    background: lightgreen;
}

.mainMenu .createGame fieldset[data-id="4"] input, .player_4
{
    background: gold;
}

.gameName
{
    margin-bottom: 18px;
}

.gameName label
{
    width: 300px !important;
}

.gameName input
{
    width: 400px;
}

.mainMenu .chkPlayer
{
    width: 22px;
    height: 22px;
    vertical-align: middle;    
}

.mainMenu .continueGame
{
    display: inline-block;
    width: 30%;
    height: 98%;
    vertical-align: top;
    font-family: Comfortaa;
    font-size: 110%;
    color: black;
}

.mainMenu .gamePlayersInfo
{
    width: 50%;
    display: inline-block;
    vertical-align: top;
}

.mainMenu .playerDisabled
{
    color: #ad9c9c;
    text-decoration: line-through;
}

.mainMenu .gameLaunchButtons
{
    display: inline-block;
    width: 39%;
    vertical-align: top;
}

.mainMenu .gameLaunchButtons button
{
    width: 98%;
    left: 1%;
    border-radius: 6px;
    margin-bottom: 6px;
    height: 50px;
    cursor: pointer;
}

#modeChoice
{
    position: absolute;
    bottom: 6px;
    left: 60px;
}

#modeChoice input
{
    width: 22px;
    height: 22px;
    vertical-align: text-bottom;
}

#modeChoice:disabled label
{
    color: #ad9c9c;
}

.mainMenu .continueGame label
{
    position: absolute;
    top: 52%;
    left: 75%;   
}

.mainMenu .continueGame ul
{
    width: 94%;
    height: 88%;
    overflow-y: auto;    
}

.mainMenu .continueGame li
{
    line-height: 1.5;
}

.mainContainer
{
    max-width: 1200px;
}

.headerZone
{
    width: 100%;
    height: 50px;
    position: relative;
    top: 10px;
}

.headerZone .gameTitle
{
    width: 700px;
    display: inline-block;
    line-height: 1;
    text-align: center;
    font-family: Libre Baskerville;
    font-weight: bold;
    font-size: 180%;
}

.headerZone .gameLogo
{
    width: 32px;
    display: inline-block;
    vertical-align: top;
}

.gameZone
{
    width: 100%;
    height: 778px;
}

.mainBoard
{
	width: 720px;
	height: 720px;
	background: url(../images/Plateau.png);
    background-size: contain;
    padding: 22px;
	display: inline-block;
    vertical-align: top;
    margin-left: 10px;
    margin-top: 10px;
}

.historyZone
{
    width: 410px;
    height: 760px;
    margin-top: 10px;
    display: inline-block;
    vertical-align: top;
    line-height: 1.4;
    padding-left: 4px;
    padding-top: 4px;
    font-family: Courrier new;
    font-size: 120%;
    overflow-y: auto;
    border-bottom: solid 1px white;
}

.playerZone
{
    width: 100%;
    height: 100px;
}

.tileZone
{
    width: 734px;
    height: 100px;
    display: inline-block;
    vertical-align: top;
}

.toolZone
{
    display: inline-block;
    vertical-align: top;
    height: 100px;
    width: 460px;
}

.infoZone
{
    width: 446px;
    height: 30px;
    padding: 6px;
    font-family: Comfortaa;
    line-height: 1;
    font-size: 80%;
    text-align: center;
}

.toolbox
{
    text-align: center;
    padding-top: 5px;
}

.toolbox img
{
    width: 36px;
    cursor: pointer;
}

.toolbox img:hover
{
    filter: brightness(1.5);
}

.toolbox img.disabled
{
    filter: grayscale(1);
    cursor: initial;
}

.playerRack
{
    height: 49px;
    position: relative;
    padding-top: 4px;
    width: 386px;
    padding-left: 6px;
    border-radius: 6px;
    box-shadow: 0px 0px 4px 4px black;
    left: 220px;
    top: 20px;
}

.cell
{
    display: inline-block;
    width: 46px;
    height: 46px;
    background: rgba(128, 128, 128, .5);
    border: solid 1px grey;
    vertical-align: top;
}

.specialCell
{
    width: 44px;
    height: 44px;
    border-radius: 50%; 
    position: relative;
    left: 1px;
    top: 1px;
    pointer-events: none;
}

.doubleWord
{
    background: lightpink;
}

.tripleWord
{
    background: red;
}

.doubleLetter
{
    background: #9DDEFF;
}

.tripleLetter
{
    background: #1488AD;
}

.specialCellText
{
    position: relative;
    top: 21px;
    width: 100%;
    text-align: center;
    display: inline-block;
    font-weight: bold;
    pointer-events: none;
}

.star
{
    width: 100%;
    position: relative;
    top: -2px;
}

.tileItem
{
    width: 42px;
    height: 42px;
    background: gainsboro;
    border: solid 1px black;
    border-radius: 6px;
    float: left;
    margin-right: 4px;
    cursor: pointer;
}

.playerRack .tileItem
{
    background: white;
}

.playerRack .tileItem:hover
{
    background: palegreen;
}

.tileLetter
{
    font-family: "Libre Baskerville";
    font-size: 170%;
    color: black;
    position: relative;
    top: 21px;
    pointer-events: none;
    display: inline-block;
    width: 42px;
    text-align: center;
}

.tilePoints
{
    position: relative;
    top: 30px;
    left: 30px;
    color: black;
    font-weight: bold;
    pointer-events: none;
    font-size: 60%;
}

.legalDropZone
{
    background: palegreen !important;
}

.forbiddenDropZone
{
    background: red !important;
}

.gameArea .waitingLetter
{
    background: yellow;
}

.playedTileItem
{
    width: 42px;
    height: 42px;
    background: white;
    border: solid 1px black;
    border-radius: 6px;
    float: left;
    margin-right: 2px;
    pointer-events: none;
    cursor: default;
}

.gameList li .gameName
{
    cursor: pointer;
    display: block;
    height: 6px;
}

.gameList label
{
    position: initial !important;
    margin-right: 6px;
    pointer-events: none;
}

.gameList .gamePlayerNames
{
    display: inline-block;
    font-size: 60%;
    width: 83%;
}

.gameList .vsButton
{
    width: 20px;
    margin-right: 4px; 
}

.gameList .vsButton:hover
{
    border-bottom: solid 4px white;
}

.gameList .currentPlayer
{
    text-decoration: underline;
}

.screenMask
{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0.7;
    z-index: 20;
}

.endScreen
{
    position: absolute;
    width: 600px;
    height: 260px;
    left: 15%;
    top: 36%;
    z-index: 21;
    color: white;
    overflow: hidden;
    border-radius: 8px;
    border: solid 4px white;
}

.endGameTitle
{
    display: inline-block;
    width: 100%;
    height: 60px;
    background: seagreen;
    font-weight: bold;
    font-family: Comfortaa;
    font-size: 250%;
    line-height: 1.5;
    padding-left: 4px;
}

.endGameBox
{
    width: 100%;
    height: 200px;
    background: #707070;
    position: absolute;
}

.gameWinner
{
    position: absolute;
    left: 10px;
    top: 10px;
    line-height: 1;
    color: gold;
    font-family: Comfortaa;
    font-size: 140%;
    white-space: nowrap;
    display: inline-block;
    width: 100%;
    text-align:center;
}

.endGamePlayerList
{
    position: absolute;
    top: 20px;
    line-height: 1.3;
    font-family: Comfortaa;
    font-size: 130%;
    color: darkblue;
    background: antiquewhite;
    left: 32px;
    border-radius: 4px;
    padding: 6px;
    box-shadow: inset 1px 1px 4px black;
    border: solid 1px black;
    border-bottom: solid 1px white;
    border-right: solid 1px white;
}

.endGamePlayerName
{
    display: inline-block;
    width: 400px;
}

.jokerScreen
{
    width: 580px;
    height: 340px;
    position: absolute;
    left: 15%;
    top: 22%;
    background: lightgreen;
    z-index: 21;
    border-radius: 6px;
    border: solid 4px white;
    padding-top: 30px;
    color: sienna;
    font-size: 200%;
    font-family: Libre Baskerville;
    text-align: center;
    padding-bottom: 30px; 
}

.jokerBox
{
    position: absolute;
    top: 58px;
}

.jokerLetter
{
    display: inline-block;
    width: 60px;
    line-height: 2.1;
    border: solid 1px sienna;
    border-radius: 6px;
    height: 60px;
    text-align: center;
    margin: 10px;
    background: antiquewhite;
    color: red;
    box-shadow: 0px 0px 10px;
    cursor: pointer;
}

.jokerLetter label
{
    pointer-events: none;
}

.jokerLetter:hover
{
    transform: scale(1.2);
}

.jokerTile
{
    color: red;
}

.nextTurnScreen
{
    position: absolute;
    width: 700px;
    height: 500px;
    background: tan;
    left: 12%;
    top: 19%;
    border-radius: 6px;
    border: solid 2px white;
    z-index: 20;
    color: black;
    padding: 10px;
}

.nextTurnTitle
{
    font-family: Comfortaa;
    font-size: 210%;
    position: relative;
    top: 16px;
    width: 100%;
    display: inline-block;
    text-align: center;
    margin-bottom: 10px;
}

.nextTurnBox 
{
    line-height: 2;
    font-family: Comfortaa;
    font-size: 120%;
}

.codeZone
{
    word-break: break-all;
    font-size: 70%;
    display: block;
    line-height: 1.5;
    color: darkolivegreen;
    border: solid 1px black;
    padding: 8px;
    max-height: 320px;
    overflow-y: auto;
}

.gameFromCodeScreen
{
    position: absolute;
    width: 700px;
    height: 550px;
    background: steelblue;
    left: 12%;
    top: 18%;
    z-index: 21;
    color: black;
    font-size: 100%;
    border-radius: 6px;
    border: solid 2px white;
    padding: 10px;
}

.fromCodeTitle
{
    font-size: 180%;
    width: 100%;
    text-align: center;
    display: inline-block;
    position: relative;
    top: 16px;
    margin-bottom: 30px;
    font-family: Comfortaa;
}

.fromCodeBox p
{
    display: block;
    font-family: Comfortaa;
}

.fromCodeInfos
{
    position: absolute;
    bottom: 52px;
    color: red;
    font-size: 90%;
    height: 24px;
}

.taFromCode
{
    display: block;
    width: 99%;
    position: relative;
    top: 20px;
    height: 390px;
    resize: none;
    font-family: Comfortaa;
    font-size: 90%;
}

.choosePlayerScreen
{
    position: absolute;
    width: 680px;
    height: 110px;
    left: 33%;
    top: 44%;
    z-index: 26;
    background: thistle;
    border-radius: 6px;
    border: solid 2px white;
    color: black;
}

.choosePlayerTitle
{
    font-family: Comfortaa;
    font-size: 140%;
    position: relative;
    top: 14px;
    width: 100%;
    display: inline-block;
    left: 10px;
    text-align: center;
}

.choosePlayerBox
{
    font-family: Comfortaa;
    font-size: 120%;
    position: relative;
    top: 20px;
    left: 6px;
}

.extendedBox
{
    height: 660px;
    top: 13%;
}

.extendedBox .endGameBox
{
    height: 600px;
}

.endGameBox .nextTurnBox
{
    margin-top: 139px;
}

.extendedBox .codeZone
{
    color: #40FF40;
}

.scoreZone
{
    width: 412px;
    height: 46px;
    display: inline-block;
    vertical-align: middle;
    padding: 2px;
    border-bottom: solid 1px white;
}

.scoreField
{
    width: 40%;
    display: inline-block;
    border: none;
    font-family: Comfortaa;
    margin-bottom: 10px
}

.scoreField .playerName
{
    display: inline-block;
    width: 120px;
    font-family: Comfortaa;
    font-size: 90%;
    text-align: right;
    margin-right: 4px;
}

.scoreField .scoreValue
{
    font-size: 140%;
    display: inline-block;
    width: 40px;
    text-align: right;
}


