body {
    background: #E6E6E6;
    font-family: calibri;
	margin: 0;
	width: 100%;
	min-height: 100%;
}

.text-center {
    text-align: center;
}

.container {
    margin: 0 auto;
    width: 50%;
}

.btn {
    background: #3498DB;
    border: 2px solid transparent;
    border-radius: 3px;
    font-size: 16px;
    color: #fff;
    padding: 5px;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    opacity: 0.75;
}

/* Login */
#userName {
    width: 230px;
    height: 25px;
    margin-top: 15px;
    padding-left: 15px;
    border-radius: 2px;
    border: 2px solid transparent;
}

.btnPlay {
    width: 250px;
    margin-top: 25px;
}

/* Lobby */
.games {
    margin: 0;
    padding: 0;
}

.games li {
    width: 15%;
    list-style: none;
    display: inline-block;
    margin-bottom: 25px;
}

/* Game */
.map{
	width: 100%;
	height: 100%;
    background: url('gfx/grass2.png');
}

.map .unit{
	width: 13px;
	height: 15px;
	position: absolute;
}

.map .unit.player0{
    background: url('gfx/unit_player0.png');
}

.map .unit.player1{
    background: url('gfx/unit_player1.png');
}

.map .unit.player2{
    background: url('gfx/unit_player2.png');
}

.map .unit.player3{
    background: url('gfx/unit_player3.png');
}

.map .target{
	background: url('gfx/target.png');
	background-size: cover;
	width: 50px;
	height: 50px;
	position: relative;
}

.map .area{
	width: 50%;
	height: 50%;
	float: left;
	position: relative;
}

.map .area .item{
	position: absolute;
}

.map .area.player{
	background:rgba(112,81,246,0.1);
}

.tower{
	width: 25px;
	height: 34px;
	background: url('gfx/tower.png');
}

.map .area .nexus{
	width: 44px;
	height: 47px;
	position: absolute;
}

.map .area .name{
    margin-top: 10px;
    width: 100%;
    text-align: center;
    opacity: 1 !important;
}

.map .area .name .coins{
	color: #FFD700;
	font-weight: bold;
	padding: 0 10px;
}

.map .area .name .coins:before{
	content: "(";
}

.map .area .name .coins:after{
	content: ")";
}

.leftSection {
    width: 15%;
    height: 100%;
    position: absolute;
    background: grey;
    border-right: 1px solid black;
}

.leftSection div {
    padding-left: 10px;
    height: 50%;
}

.btnHowToPlay {
    margin-left: 10px;
}

.itemList ul, .playerList ul {
    list-style: none;
    padding: 0;
    margin-top: 5px;
    font-size: 14px;
}

.itemList ul li div {
    width: 15px;
    height: 35px;
    display: inline-block;
    vertical-align: middle;
    float: left;
    margin-right: 15px;
}

.gameSection {
    width: 70%;
	height: 100%;
    position: absolute;
    left: 15%;
}

.rightSection {
    right: 0;
    width: 15%;
    height: 100%;
    position: absolute;
    background: grey;
    border-left: 1px solid black;
    overflow: hidden;
}

.chatMessages {
    position: relative;
    list-style: none;
    margin: 15px auto;
    width: 90%;
    height: 765px;
    right: 18px;
    padding-right: 30px;
    overflow: auto;
}

.chatMessages li {
    margin-bottom: 25px;
    padding: 0 10px;
}

.chatMessages .sent {
    background: lightblue;
}

.chatMessages .sent small {
    text-align: right;
    display: block;
    margin-right: 5px;
}

.chatMessages .received {
    background: lightgreen;
}

.chatMessages .received small {
    margin-left: 5px;
}

.inputChat {
    margin: 10px 0 0 10px;
    resize: none;
}

.btnSend {
    float: right;
    margin: 10px 10px 0;
}

.chatActions {
    position: absolute;
    bottom: 15px;
}

.chatActions small {
    width: 125px;
    display: inline-block;
    text-align: center;
    margin: 10px auto;
}

/* Admin */
.lobby, .players {
    width: 50%;
    float: left;
    text-align: center;
}

.lobby ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.lobby ul li a {
    color: black;
    text-decoration: none;
}

.lobby ul li a:hover {
    text-decoration: underline;
}

input[type='checkbox'] {
    margin-right: 15px;
}

.addGame {
    font-size: 14px;
}

.players ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.players ul li {
    margin: 0;
    padding: 0;
}


/* Game UI */
.area0 .nexus {
    margin: 10px 0 0 10px;
    background: url('gfx/nexus_area0.png');
}

.area1 .nexus {
    margin: 10px 10px 0;
    background: url('gfx/nexus_area1.png');
}

.area2 .nexus {
    margin: -10px 0 0 10px;
    background: url('gfx/nexus_area2.png');
}

.area3 .nexus {
    margin: -10px 10px 0 0;
    background: url('gfx/nexus_area3.png');
}

.howToPlayInfo {
    width: 750px;
    height: auto;
    background: lightgray;
    opacity: 0.8;
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 15px;
    text-align: center;
}

.howToPlayInfo img{
	max-height: 50px;
	max-width: 50px;
}

.closeBtn {
    color: black;
    position: absolute;
    top: 5px;
    right: 15px;
    text-decoration: none;
}

.closeBtn:hover {
    text-decoration: underline;
}