{
	font-family: Source Sans Pro, Myriad Pro, Ubuntu, Arial, Helvetica, sans-serif;
}

@font-face {
	font-family: 'FontAwesome';
	src: url('../font/fontawesome-webfont.eot?v=3.0.1');
	src: url('../font/fontawesome-webfont.eot?#iefix&v=3.0.1') format('embedded-opentype'),
		url('../font/fontawesome-webfont.woff?v=3.0.1') format('woff'),
		url('../font/fontawesome-webfont.ttf?v=3.0.1') format('truetype');
	font-weight: normal;
	font-style: normal;
}

a {
	color: #000000;
	text-decoration: none;
	border-bottom: none;
}
a:hover {
	color: #b01c2e;
	text-decoration: none;
	border-bottom: none;
}
a.helplink {
	color: #3030E0;
	border-bottom: none;
}

html {
	height: 100%;
}

body {
	background-color: #000000;/*#f8f6f4;*/
	padding:0px;
	margin:0px;
	font-size: 20pt;
	color:white;
	height: 100%;
	
	background-repeat: no-repeat;
	background-attachment: fixed;
}

body.wait, body.wait *{
	cursor: wait !important;
}

h1 {
	text-align:center;
	color:#2797f9;
}

p {
	padding-bottom:20px;
}

.warning {color:rgba(200,0,0,1);}

button {
  border: 1px solid #0066cc;
  background-color: #0099cc;
  color: #ffffff;
  padding: 5px 10px;
}

button:hover {
  border: 1px solid #0099cc;
  background-color: #00aacc;
  color: #ffffff;
  padding: 5px 10px;
}

button:disabled,
button[disabled]{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}

.newPlayerButton {
    display: inline-block;
    margin: 2px 2px;
    padding-left: 15px;
    padding-right: 15px;
    cursor: pointer;
}

table td:hover { background-color: rgba(0,0,0,0.3) !important; }


.sortcol { background-color: rgba(0,0,150,0.5); }




.object {
  width: 60px;
  padding: 10px;
  height: 70px;
  float: left;
  margin: 5px;
  cursor: pointer;
}

table.mapGrid {
	border-collapse: collapse;
}
table.mapGrid td {
	border: 1px solid black;
	font-size: 8pt;
	text-align:center;
	vertical-align:middle;
}
table.mapGrid th {
	border: 1px solid black;
	
}

.unselected { background-color: rgba(0,0,0,0.0); }
.selected {
	background-color: rgba(200,0,0,0.6);
	color: #000000;
}

.pastflood { background-color: rgba(0,0,230,0.5);}
.flooded { 
	background-color: rgba(0,0,200,0.7);
	filter: brightness(200%);
	font-weight: bold;
}

table.players {
	border-spacing:0;
	border-collapse:collapse;
	overflow-y:auto;
	color:white;
	font-size:16pt;
}
table.players th {
	padding:15px;
	margin:0px;
}
table.players th:hover {
	background-color: rgba(0,0,150,0.5) !important;
}
table.players td {
	padding:15px;
	margin:0px;
	vertical-align: bottom;
}
table.players tr {
	vertical-align: bottom;
}
table.players td.center {
	text-align: center;
	vertical-align: middle;
}

.column {
	float: left;
	width: 50%;
	padding: 5px;
}

.column1 {
	float: left;
	width: 33%;
	padding: 5px;
}
.column2 {
	float: left;
	width: 66%;
	padding: 5px;
}
.full {
	float: left;
	width: 90%;
	padding: 5%;
	display: none;
}

#grid-source { position: absolute; }
#grid-overlay { position: relative; }


 /* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed;  /* Stay in place  */
    z-index: 1; /* Sit on top */
/*
    left: 0;
    top: 0;
*/
    position: absolute;
	left: 35%;
	top: 20%;
    width: 50%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    color:black;
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #424242;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

img { 
	width: 100%;
	height: auto;
	max-width: 600px;
}
