/* pallet:
	
	dkblue 00487D
	blue 0067B3
	dkred 7D0000
	red B30000
	green 00B300
*/

body {
	background-image: url("backgrounds/6.png");
	background-repeat: no-repeat;
	background-size: contain;
	background-size: 100% 100%;
	background-attachment: fixed;
	background-color: #A0D7FF;
	color: #071013;
	box-sizing: border-box;
	padding: 0px 12px;
	align-items: center;
}

ul.nav {
	list-style-type: none;
	margin: 0;
	padding: 0;
	background-color: #777777;
	display: flex;
	justify-content: center;
}
ul.nav li a {
	display: block;
	width: auto;
	height: 40px;
	background-color: transparent;
	border-radius: 0;
	text-align: center;
	font-size: 30px;
	text-decoration: none;
	font-weight: bold;
	color: black;
	line-height: 1.4;
	padding: 8px 20px;
}
ul.nav li {
	float: left;
}
ul.nav li a:hover {
	background-color: #999999;
}

.bar {
	display: block;
	background-color: #0067B3;
	width: 100%;
	height: 20px;
	font-weight: bold;
	color: white;
}

#navbutton {
	display: block;
	position: fixed;
	top: 2px;
	right: 2px;
	width: 50px;
	height: 50px;
	font-size: .5em;
	z-index: 4;
}

h1 {
	display: block;
	color: #071013;
	font-size: 3em;
	font-weight: bold;
	text-align: center;
	margin-top: 0px;
	padding-top: 0px;
	margin-bottom: 0px;
	padding-bottom: 0px;
}

h2 {
	display: block;
	width: 100%;
	text-align: center;
}

h3 {
	margin-top: 0px;
	padding-top: 0px;
}

section {
	width: 100%;
}

a {
	display: block;
	width: 100%;
	height: 50px;
	background-color: #00B300;
	border-radius: 12px;
	text-align: center;
	font-size: 20px;
	text-decoration: none;
	font-weight: bold;
	color: black;
	line-height: 2.5;
	overflow: hidden;
}

a.halfbutton {
	width: 49%;
	display: inline-block;
}

a.user {
	text-decoration: underline;
	color: black;
	display: inline;
	font-size: 20px;
	padding: 3px;
}

a.inTable {
	text-decoration: underline;
	color: black;
	display: inline;
	background-color: rgba(150,205,245, .9);
	font-size: 17px;
	line-height: 1;
}

a img {
	padding-top: 2px;
	height: 45px; 
}

table { 
	min-width: 75%;
	width: 100%;
	text-align: right; 
	font-size: .8em;
}

td {
	padding: 10px;
	vertical-align: top;
	border: 2px solid black;
	border-radius: 5px;
	max-width: 50%;
}

tr {
	background-color: rgba(160,215,255, .7);
}

table.library tr:nth-of-type(4n) {
	background-color: rgba(200,200,200, .7);
}

table.library tr:nth-of-type(4n+3) {
	background-color: rgba(200,200,200, .7);
}

.gamename {
	font-weight: bold;
	font-size: 1em;
}

.seats {
	text-align: left;
}

section {
	display: block;
	margin-top: 5px;
	background-color: rgba(200,200,200, .8);
}

meter {
	width: 100%;
	height: 35px;
	border: 2px solid;
	position: relative;
	z-index: 2;
}

.hamburger hr {
	width: 55%;
	border: 3px solid black;
	margin-top: 7px;
}

.delete {
	position: absolute;
	top: 10px;
	right: 10px;
	background-color: white;
	color: red;
	font-weight: bold;
	padding: 10px;
}
.delete:hover {
	cursor: pointer;
}

/* form parts */

label {
	display: block;
	width: 100%;
	font-size: 1.2em;
	text-align: center;
	padding-top: 10px;
}

input {
	width: 95%;
}

textarea {
	width: 95%;
	height: 50px;
}

select {
	width: 100%;
	height: 40px;
	margin-bottom: 20px;
}

input[type="submit"] {
	display: block;
	width: 100%;
	height: 50px;
	background-color: #00B300;
	border-radius: 12px;
	text-align: center;
	font-size: 30px;
	text-decoration: none;
	font-weight: bold;
	color: black;
	line-height: 1.6;
	border: 0px none;
}

/* Specific Objects */

#errortext {
	color: red;
}
			
#pollOutput {
	display: block;
	font-weight: bold;
	background-color: rgba(200,200,200, .8);
}

#screencover {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0, .75);
}

.notCovered {
	display: none;
}

.covered {
	display: block;
}

#gameeditor {
		background-color: #A0D7FF;
		color: #071013;
		box-sizing: border-box;
		width: 70%;
		text-align: center;
		margin-left: 15%;
		padding: 25px;
		margin-top: 30px;
}

/* Navigation Menu */

#navmenu {
	width: 50%;
	position: fixed;
	right: 0%;
	background-color: rgba(200,200,200, .9);
	padding-top: 50px;
	z-index: 3;
}
.hidemenu {
	display: none;
}
.showmenu {
	display: block;
}

/* DROP SORT and VOTE BOXES */
select {
	height: 35px;
	font-size: .9em;
	max-width: 280px;
}

.voteBox {
	position: relative;
	border: solid 1px black;
	border-radius: 4px;
	padding: 10px;
	padding-top: 0px;
}
.sortable-list {
	list-style: none;
	padding: 0;
	width: 280px;
	margin-bottom: 0px;
	margin-right: 30px;
}
.sortable-list li {
	touch-action: none;
	padding: 15px;
	padding-bottom: 10px;
	background-color: #fff;
	border: 1px solid #ddd;
	cursor: grab;
	user-select: none;
	transition: background-color 0.2s;
	float: none;
}
.sortable-list li.dragging {
	opacity: 0.5;
	background-color: #e0e0e0;
}
.voteSaver {
	margin-top: 0px;
	width: 280px;
	padding: 15px;
}
.dragBar {
	width: 30px;
	height: 100%;
	background-color: #aaa;
	text-align: center;
	vertical-align: middle;
}