*{	
	line-height: 1.5em;
	font-family: sans-serif;
	font-size: 1em;
	font-family: Helvetica, "Helvetica Neue", sans-serif;
	margin:0;
	padding:0;
	border: 0;
	box-sizing: border-box;
}

html{
height: 100%;
}
img{width: 100%; height: auto;}
video{
	min-width: 100%;
}

body{
	/*color: #2E2925;*/
	color: white;
	margin: 0;
	padding: 0;
    height: 100%;
    width: 100%;
	background: url("../img/BG-tile.png") repeat;
	background: #ec1c24;
}
body #home{
	max-width: 60rem;
	margin: 0 auto;
}

body #home, .hero{margin-top: 4rem;}

.hero + #home{margin-top: 0;}

.hero{position: relative;}

.hero-text{
	position: absolute;
	width: 100%;
	text-align: center;
	left: auto;
	right: auto;
	bottom: 1.5rem;
	font-size: 1.5rem;
	text-shadow: 2px 2px #ff0000;
}

.table-wrapper {
    overflow-x: auto;
    min-width: 100%;
    table-layout: fixed;
}

#matches{
	padding: 2.5rem;	
}
footer{
	padding: 1rem;
	text-align: center;
}
header{
	padding: .5rem;
	background: white;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 100;
	border-bottom: 1px solid rgba(46,41,37,0.25);
}
header a{color: #2E2925;}
header img{
	display: inline;
	vertical-align: middle;
	height: 100%;
	width: auto;
}
#logoBlock{
	height: 3rem;
	display: inline-block;
}
#logotype{
	display: none;
}
nav, nav a{
	display: inline-block;
	line-height: 3rem;
	float: right;
}
nav a{
	padding: 0 1rem;
}
.content{
	margin: 0;
	padding: 1rem;
    height: 100%;
    width: 100%;
	margin: 0 auto;
}
#splash{
	position: relative;
	display: inline-block;
	top: 25%;
  /* -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%); */
  background-color: rgba(255,255,255,0.75);
  background-position: center;
  padding: 1rem;
  text-align: center;
  margin-bottom: 5rem;
	}
#caption{
display: none;
	}

h1{
	margin-right: -.2em;
	text-transform: uppercase;
	font-size: 1.75em;
	line-height: 1em;
	padding-bottom: 1rem;
	font-weight: 700;
}
h2{
	letter-spacing: -.05em;
	margin: auto;
	margin-right: .05em;
	font-size: 1.5em;
	line-height: 1em;
	padding: 1rem 0;
	font-weight: 700;
}
h3{
	line-height: 1.25em;
	font-weight: 700;
}

p, ul, img{
	margin-bottom: 1rem;	
}
blockquote{margin: 1rem; font-style: italic; border: 1px solid rgba(46,41,37,0.25); padding: 1rem;}
blockquote footer{text-align: left; font-size: 0.75rem; font-style: normal;}
figure img{margin-bottom: 0;}
figure {margin-bottom: 2rem;}
figcaption {font-size:0.9rem; border-bottom: 1px solid rgba(46,41,37,1);}
.highlight{background-color: yellow;}
ul{
	list-style-position: inside;
}
strong{
	font-weight: 700;
}

a {
	text-decoration: none;
}

.newsItem{
	display: inline-block;
	width: 100%;
	padding: 1em;
	margin-bottom: 1rem;
	color: rgba(46,41,37,1);
	background: white;
}

.newsItem img{
max-width: 100%;
}
.newsItem a{
	color: rgba(46,41,37,1);
	text-decoration: underline !important;
}
/*report card*/
.matchCard{
	position: relative;
	width: 100%;
	display: inline-block;
	padding: 1rem;
	margin-bottom: 1rem;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	background-image: url(/img/pitch.jpg);
	border-bottom: none;
	}
	
	
.homeTeam, .awayTeam, .result{
	display: inline;
	vertical-align: top;
}
.homeTeam{
	display: block;
	float: left;
	width: 80%;
}
.awayTeam{
	width: 80%;
	display: block;
}
.result{
	text-align: center;
	display: inline-block;
	float: right;
}
.teamName{
	display: inline-block;
	padding: 1rem;
	margin-bottom: .5rem;
	clear: left;
	font-weight: bold;
	color: white;
	text-shadow: 1px 1px #000000;
}
.score{
	position: relative;
	background-color: yellow;
	color: #2E2925;
	display: block;
	padding: 1rem;
	margin-bottom: .5rem;
	font-weight: bold;
}
.halftime{
	background-color: yellow;
	color: #2E2925;
	display: none;
}
.goalscorers{}
.goal{
	padding: 1rem;
	display: inline-block;
	font-size: 0.75rem;
	color: white;
	text-shadow: 1px 1px #000000;
	opacity: 0.9;
}
.date, .goalscorers, .small{
		font-size: 0.75rem;
		line-height: 0.75rem;
	}

.videprinter{margin-bottom: 1rem;}
.videprinter li,.videprinter pre{
	font-family: "Courier New", Courier, monospace;
	list-style-type: none;
	font-size: 0.9rem;
	padding: .1rem 0;
	white-space: pre-wrap;
}
.videprinter span{
	font-family: "Courier New", Courier, monospace;
	list-style-type: none;
	padding: .1rem;
	white-space: pre-wrap;
}
.red{
	background: red;
}
.textWhite{color: white;}
.yellow{
	background: yellow;
}
.green{
	background: green;
}
.formation{
	display: block;
	background: green;
	text-align: center;
	padding: 1rem;
	margin-bottom: .25rem;
	color: white;
}
.att{
	margin-top: 1rem;
	padding-top: 1rem;
	display: block;
}

.mid, .def, .gk{
	display: block;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255,255,255,0.25);
}
.sub{
	display: block;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px dashed rgba(255,255,255,0.5);
}

.formation span{
	padding: 0 .25rem;
	margin-bottom: .25rem;
	
}
@media screen and (min-width: 50rem) {
	.formation span{
	display: inline-block;
	width: 16%;
	line-height: 3rem;
	padding: .5rem;
	border: 1px solid rgba(255,255,255,0.5);
	}
}



#matches .photos img,
#matches .photos video{
	width: 100%;
}
video{display: block;}

td{
	padding: .25rem .5rem;
}
td.name{width: 10rem;}
td.yellowCard, th.yellowCard{
	background-color: yellow;
	padding: .5rem;
}
td.redCard, th.redCard{
	background-color: red;
	padding: .5rem;
}







.player{
	background: rgba(255,255,255,0.9);
	padding: 1rem;
	margin-bottom: 2rem;
	color: rgba(46,41,37,1);
	border: 1px solid #ccc;
}
.playerData, .playerPic{
	display: inline-block;
	position: relative;
}
.playerPic{
	display: inline-block;
	width: 100%;
	vertical-align: top;
	margin-right: 1rem;
}
.playerNickname{
	position:absolute;
	line-height: 2rem;
	height: 2rem;
	bottom: 1.8rem;
	left: 2%;
	padding: 0 1rem;
	background: white;
	width: 96%;
	text-align: center;
}
.playerSpecial{
	position:absolute;
	line-height: 3rem;
	height: 3rem;
	bottom: calc(1.4rem + 2%);
	left: 2%;
	padding: 0 1rem;
	background: yellow;
	width: 96%;
	text-align: center;
}
.playerAttack, .playerDefence{
	position:absolute;
	line-height: 3rem;
	bottom: 1.4rem;
	padding: 0 1rem;
	width: 50%;
	text-align: center;
	color: white;
}
.playerAttack{
	background: red;
	right: 50%;
}
.playerDefence{
	background: green;
	left: 50%;
}
.playerName{}
.playerPosition{}
.playerGoals{}






/*--- RESPONSIVE ---*/

@media only screen and (min-width: 40rem) {

#logotype{
	letter-spacing: -.05em;
	margin: auto;
	margin-right: .05em;
	font-size: 1.5em;
	line-height: 3rem;
	font-weight: 700;
	display: inline;
	text-transform: uppercase;
	vertical-align: top;
}

.hero-text{
	bottom: 4rem;
	font-size: 3rem;
}

h1{
	font-size: 2.5em;
}
h2{
	font-size: 1.5em;
}

.columns .newsItem{
	width: 32%;
	overflow: hidden;
	vertical-align: top;
	height: 26rem;
}
.columns  .newsItem--full{
	width: 100%;
}

.newsItem a{
	color: rgba(46,41,37,1);
}
.player{
	background: rgba(255,255,255,0.9);
	padding: 1rem;
	margin-bottom: 2rem;
	color: rgba(46,41,37,1);
}
.playerData, .playerPic{
	display: inline-block;
	position: relative;
}
.playerPic{
	display: inline-block;
	width: 50%;
	vertical-align: top;
	margin-right: 1rem;
}
.playerNickname{
	position:absolute;
	line-height: 2rem;
	height: 2rem;
	bottom: 1.8rem;
	background: #ec1c24;
	color: white;
	text-align: center;
	font-weight: bold;
}
.playerSpecial{
	position:absolute;
	line-height: 3rem;
	height: 3rem;
	bottom: 1.4rem;
	background: yellow;
	text-align: center;
}
.playerAttack, .playerDefence{
	position:absolute;
	line-height: 3rem;
	bottom: 1.4rem;
	padding: 0 1rem;
	width: 50%;
	text-align: center;
	color: white;
}
.playerAttack{
	background: red;
	right: 50%;
}
.playerDefence{
	background: green;
	left: 50%;
}
.playerName{}
.playerPosition{}
.playerGoals{}

#caption{
	position: absolute;
	display: inline-block;
	right: 0;
	bottom: .5rem;
  background-color: rgba(255,255,255,0.75);
  padding: .5rem;
  max-width: 90%;
  text-align: right !important;
	}
}

.commentaryBox{
	text-align: center;
}
.timer{
	display: block;
	width: 100%;
	line-height: 5em;
	margin: 0 auto;
	margin-bottom: 1rem;
	background: black;
	color: white;
	font-weight: bold;
	cursor: pointer;
}
.home{
	display: block;
	width: 100%;
	height: 5rem;
	padding: 1rem;
}

audio{display: block; margin: 1rem auto;}



