* {
	box-sizing: border-box;
}

html {
	height: -webkit-fill-available;
}

body {
	padding: 0;
	margin: 0;
	font-family: 'Exo', sans-serif;
	background-attachment: fixed;
	background-image: url(../img/grass.jpg);
	/* background-image: url(https://cdn.pixabay.com/photo/2017/08/10/01/38/grass-2616911_960_720.jpg); */
	background-size: cover;
	min-height:100vh;
	min-height: -webkit-fill-available;
}

.points0 {
	background: #fff;
}

.points2 {
	background-color: #336aa3;
}

.points3 {
	background-color: #70ae3f;
}

.points4 {
	background-color: #e57c43;
}

.matchlist {
	width: 100%;
}

.match {
	display: block;
	float: left;
	margin: 5px;
	padding: 3px;
	border: 1px solid black;
	border-radius: 4px;
}


@media screen and (min-width: 920px) {
	.match {
		width: 31%;
	}

	.match:nth-child(3n+1) {
		clear: left;
	}
}

@media screen and (max-width: 919px) {
	.match {
		width: 47%;
	}

	.match:nth-child(2n+1) {
		clear: left;
	}
}

@media screen and (max-width: 420px) {
	.match {
		width: 98%;
		clear: left;
	}
}

header {
	text-align: center;
	width: 100%;
}
.matchboard {
	display: table;
	width: 100%;
	overflow: hidden;
	table-layout: fixed;
}

.matchboard-header {
	display: table-row;
	font-size: 70%;
	font-variant: small-caps;
}

.matchboard-header-teams, .matchboard-header-result, .matchboard-header-bet {
	display: table-cell;
	text-align: center;
	padding: 5px;
	vertical-align:middle;
}

.matchboard-header-result, .matchboard-header-bet {
	width: 60px;
}

.home, .guest {
	display: table-row;
	width: 100%;
	font-size: 150%;
	overflow: hidden;
}

.team-home, .team-guest {
	display: table-cell;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.bet-home > input[type="text"].changed, .bet-guest > input[type="text"].changed {
	border: 1px solid red;
}

.bet-home > input, .bet-guest > input {
	display: table-cell;
	border: 1px solid black;
	border-radius: 4px 4px 4px 4px;
	width: 50px;
	text-align: center;
}

.bet-home, .bet-guest, .result-home, .result-guest {
	display: table-cell;
	text-align: right;
	padding: 2px;
}

.submit {
	clear: both;
}

.odd {
	background: #ccc;
}

.even {
	background: #eee;
}

#content table{
	border: solid;
	background-color: #fff;
	
}
#content table td,th{
	padding:10px;
}
#content table th{
	padding-top:  30px;
	background-color: #ddd;
}
