/*body{
background: url("grid.png") repeat top left;
background-size: 1em;
}*/
*{	
	line-height: 1.5em;
	font-weight: normal;
	font-family: sans-serif;
	font-size: 1em;
	font-family: 'Montserrat', sans-serif;
	margin:0;
	padding:0;
	border: 0;
	box-sizing: border-box;
}

html{
height: 100%;
}

body{
	/*color: #2E2925;*/
	color: white;
	margin: 0;
	padding: 0;
    height: 100%;
    width: 100%;
}
body#home{
	width: 100%;
	height: 100%;
	background: rgba(46,41,37,1);
	padding-top: 5rem;
}
#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%;
}
#logoBlock{
	height: 4rem;
	display: inline-block;
}
#logotype{
	display: none;
}
nav, nav a{
	display: inline-block;
}
.content{
	margin: 0;
	padding: 0rem;
    height: 100%;
    width: 100%;
	max-width: 47rem;
	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{
	letter-spacing: .2em;
	margin-right: -.2em;
	font-variant: small-caps;
	text-transform: lowercase;
	font-size: 2em;
	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%;
	background: rgba(255,255,255,1);
	padding: 1em;
	border-bottom: 1px solid rgba(46,41,37,1);
	color: rgba(46,41,37,1);
}
.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 0;
	margin-bottom: 1rem;
	border-bottom: 1px solid rgba(46,41,37,1);
}
.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;
}
.score{
	position: relative;
	background-color: yellow;
	color: #2E2925;
	display: block;
	padding: 1rem;
	margin-bottom: .5rem;
}
.halftime{
	background-color: yellow;
	color: #2E2925;
	display: none;
}
.goalscorers{}
.goal{
	display: inline-block;
	background-color: rgba(255,255,255,0.9);
	padding: 1rem;
	font-size: 0.9rem;
	margin-bottom: .25rem;
}

@media screen and (min-width: 50rem) {
	.matchCard{
		position: relative;
		width: 100%;
		display: inline-block;
		padding: 1rem 0;
		padding-bottom: 7.5rem;
		text-align: center;
		background-repeat: no-repeat;
		background-position: center;
		background-size: cover;
		background-image: url(/img/CHAPS_badge--watermark.png);
		border-bottom: none;
	}
	.ruberyJuniorsAway{
		  background-image: url(/img/23082015/DowsettGoal3-RuberyJuniors-23082015.jpg);	
	}
	.NewInnSaintsAway{
		  background-image: url(/img/04102015/EdwardMosedale-NewInnSaints-04102015.jpg);	
	}
	.VineAway{
		  background-image: url(/img/11102015/ChangingRooms-Vine-11102015.jpg);	
	}
	.StokePriorBridgewater{
		background-image: url(/img/25102015/CullyLino-StokePrior-25102015.jpg);	
	}
	.AFCMillfieldsBridgewater{
		background-image: url(/img/01112015/SecondHalf-AFCMillfields-01112015.jpg);	
	}
	.BromsgroveBrentnalAway{
		background-image: url(/img/08112015/MinuteSilenceEdited-BromsgroveBrentnal-08112015.jpg);
	}
	.StokeSportingReservesBridgewater{
		background-image: url(/img/15112015/SlatersSecretJuice-StokeSportingReserves-01112015.jpg);
	}
	.HMPHewell{
		background-image: url(/img/22112015/FarrMessyEater-HMPHewell-22112015.jpg);
	}
	.AwkiesAllstarsBridgewater{
		background-image: url(/img/29112015/CornerToChaps-AwkiesAllstars-29112015.jpg);
	}
	.HMPHewellAway{
		background-image: url(/img/31012016/TomoGetsBullied-HMPHewellAway-31012016.jpg);
	}
	.HizzaUtdCentenaryCup{
		background-image: url(/img/21022016/DixiesChicken-HizzaUtdCentenaryCup-02212016.jpg);
	}
	.HizzaUtdBridgewaterCup{
		background-image: url(/img/28022016/JonesTacklingBack-HizzaUtdBridgewaterCup-28022016.jpeg);
	}
	.BromsgroveBrentnal{
		background-image: url(/img/13032016/KevCorner-BromsgroveBrentnal-13032016.jpg);
	}
	.LPRAway{
		background-image: url(/img/27032016/FeaseyPopeyeWallpaper-LPRAway-27032016.jpg);
	}
	.WoodgateValleyAway{
		background-image: url(/img/03042016/Jackpot-WoodgateValleyAway-03042016.jpg);
	}
	.HizzaUtdAway{
		background-image: url(/img/10042016/MosedaleIsotonic-HizzaUtdAway-10042016.jpg);
	}
	.SportingClubRedditchAway{
		background-image: url(/img/24042016/SimmoSetsHisWall-SportingClubRedditchAway-24042016.jpg);
	}
	
	
	
	
	
	
	
	
	
	.homeTeam, .awayTeam, .result{
		display: inline-block;
		vertical-align: top;
		float: none;
	}
	.homeTeam{
		text-align: right;
		width: 30%;
	}
	.awayTeam{
		text-align: left;
		width: 30%;
	}
	.result{
		text-align: center;
	}
	.teamName{
		background-color: rgba(255,255,255,0.75);
		display: inline-block;
		padding: 1rem;
		margin-bottom: .5rem;
	}
	.score{
		background-color: yellow;
		color: #2E2925;
		display: inline-block;
		padding: 1rem;
		margin-bottom: .5rem;
	}
	.halftime{
		background-color: yellow;
		color: #2E2925;
		display: block;
	}
	.date, .goalscorers, .small{
		font-size: 0.75rem;
		line-height: 1.5rem;
	}
	.goalscorers{

	}
	.goal{
		display: inline-block;
		background-color: rgba(255,255,255,0.9);
		padding: .25rem;
		margin-bottom: .25rem;
	}
}
.videoprinter{margin-bottom: 1rem;}
.videoprinter li,.videoprinter pre{
	font-family: "Courier New", Courier, monospace;
	list-style-type: none;
	font-size: 0.9rem;
	padding: .1rem 0;
	white-space: pre-wrap;
}
.red{
	background: red;
}
.yellow{
	background: yellow;
}
.green{
	background: green;
}
.formation{
	display: block;
	background: green;
	text-align: center;
	padding: 1rem;
	margin-bottom: .25rem;
	color: white;
}
.att, .mid, .def, .gk{
	display: block;
	margin-bottom: 2rem;
}
.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);
	}
}

.sub{
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px dashed rgba(255,255,255,0.25);
}

#matches .photos img,
#matches .photos video{
	width: 100%;
}
video{display: block;}
table{
	margin-bottom: 1rem;
}
td{
	padding: .25rem .5rem;
}
td.yellowCard{
	background-color: yellow;
	padding: .5rem;
}
td.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);
}
.playerData, .playerPic{
	display: inline-block;
	position: relative;
}
.playerPic{
	display: inline-block;
	width: 100%;
	vertical-align: top;
	margin-right: 1rem;
}
.playerNickname{
	position:absolute;
	line-height: 3rem;
	height: 3rem;
	bottom: calc(4.4rem + 2%);
	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) {

body#home{
	width: 100%;
	height: 100%;
background: url(/img/23082015/KevGoal-RuberyJuniors-23082015.jpg) fixed, -moz-radial-gradient(center, ellipse cover, rgba(46,41,37,0.25) 0%, rgba(46,41,37,0.25) 50%, rgba(46,41,37,0.75) 100%); /* FF3.6+ */
background: url(/img/23082015/KevGoal-RuberyJuniors-23082015.jpg) fixed, -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(46,41,37,0.25)), color-stop(50%,rgba(46,41,37,0.25)), color-stop(100%,rgba(46,41,37,0.75))); /* Chrome,Safari4+ */
background: url(/img/23082015/KevGoal-RuberyJuniors-23082015.jpg) fixed, -webkit-radial-gradient(center, ellipse cover, rgba(46,41,37,0.25) 0%,rgba(46,41,37,0.25) 50%,rgba(46,41,37,0.75) 100%); /* Chrome10+,Safari5.1+ */
background: url(/img/23082015/KevGoal-RuberyJuniors-23082015.jpg) fixed, -o-radial-gradient(center, ellipse cover, rgba(46,41,37,0.25) 0%,rgba(46,41,37,0.25) 50%,rgba(46,41,37,0.75) 100%); /* Opera 12+ */
background: url(/img/23082015/KevGoal-RuberyJuniors-23082015.jpg) fixed, -ms-radial-gradient(center, ellipse cover, rgba(46,41,37,0.25) 0%,rgba(46,41,37,0.25) 50%,rgba(46,41,37,0.75) 100%); /* IE10+ */
background: url(/img/23082015/KevGoal-RuberyJuniors-23082015.jpg) fixed, radial-gradient(ellipse at center, rgba(46,41,37,0.25) 0%,rgba(46,41,37,0.25) 50%,rgba(46,41,37,0.75) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#402e2925', endColorstr='#bf2e2925',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
-webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  padding-top: 9rem;
}

	header{
	padding: 1rem;
	background: white;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 100;
}

#logoBlock{
	height: 5rem;
	display: inline-block;
}
#logotype{
	letter-spacing: -.05em;
	margin: auto;
	margin-right: .05em;
	font-size: 3em;
	line-height: 5rem;
	padding-bottom: 2rem;
	font-weight: 700;
	display: inline;
	text-transform: uppercase;
	vertical-align: middle;
}
h1{
	font-size: 3em;
}

h3{
	line-height: 3em;
}

nav, nav a{
	display: inline-block;
	padding: 1rem;
}

.content{
	padding: 1rem;
}

.newsItem{
	background: rgba(255,255,255,0.9);
	padding: 1rem;
	margin-bottom: 2rem;
	color: rgba(46,41,37,1);
}
.newsItem img{
max-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: 3rem;
	height: 3rem;
	bottom: 4.4rem;
	padding: 0 1rem;
	margin: 2%;
	background: white;
	width: 96%;
	text-align: center;
}
.playerSpecial{
	position:absolute;
	line-height: 3rem;
	height: 3rem;
	bottom: 1.4rem;
	padding: 0 1rem;
	background: yellow;
	margin: 2%;
	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{}

#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;
	position: relative;
	width: 100%;
}
.timer{
	display: block;
	width: 100%;
	line-height: 5rem;
	margin: 0 auto;
	background: black;
	color: white;
	font-weight: bold;
	cursor: pointer;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
}
.timer.hidden {
	display: none;
}
.home{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 5rem;
	padding: 1rem;
}





