/* Dundalk F.C. Whos Who Stylesheet */

@import url('reset.css');

body{
	font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
	background-color:#F7F7F7;
}

a{
color:#AD0000;
}

strong{
	font-weight:bold;
}

small{
	font-size:0.875em;
}

.extraInfo{
	color:#6F6F6F;
}

#page{
	width:90%;
	margin:auto;
	background:#ffffff;
}

#header{
	color:#fff;
	position:relative;
	border-bottom:1px solid #fff;
	padding:1rem;
}

#navigation{
	background-color:#000;
	font-size:.9rem;
}

.jim {
	max-width:100%;
	margin-bottom:1rem;
}

blockquote {
	line-height:1.5;
}

#navigation ul {
	display:flex;
}

#navigation ul li a{
	display:block;
	color: #aaa;
	padding: 1rem;
	text-decoration: none;
}

#navigation ul li a.current_page{
	color:#fff;
}

#navigation ul li a:hover{
	background: #333;
	color: #fff;
}

#navigation ul li:hover{
	background: #333;
}

#site-title {
	font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight:bold;
}

#site-title h1, #site-title p{
	color:#000;
	text-transform: lowercase;
}

#site-title h1{
	color:#000;
	font-size: 3em;

}

#site-title p{
	font-size:2em;
}

#site-title a{
	color: #000;
	text-decoration: none;
}

main {
	display:flex;
	align-items: center;
	justify-content: center;
}

/* CONTENT */

#content{
	margin-top:10px;
	margin-bottom:30px;
	width:90%;
}

#content h2{
	font-size:2em;
	font-weight:bold;
	line-height:1.5;
	margin-bottom:.5em;
}

#content h3{
	font-weight:bold;
	font-weight:1.25em;
	line-height:1.5;
}

#content p{
	line-height:1.5;
	margin-bottom:1em;
	color:#303030;
}

#content ul{
	line-height:1.5;
}

.normalUl {
	margin-bottom: 1em;
}

#content ul li h3{
	font-size:1.25em;
	border-bottom:1px solid #494949;
}

/* Player Profiles */

#playerProfile{
	display:flex;
	justify-content: space-around;
	gap:1rem;
}

#playerSidebar{

}

#playerMain{


}

#playerMain table.playerDetails{
	font-size:.875em;
	margin-bottom:24px;
	width:100%;
}

#playerMain table tr:nth-child(odd) {
   background-color: #ddd;
}

#playerMain table.playerDetails td{
	padding:.5rem;
}

#playerMain table.playerDetails td.value{
	font-weight:bold;
	padding-right:10px;
}


.playerSearchMain{
	border:1px solid #e0e0e0;
	margin-bottom:1rem;
}

.playerSearchMain h3{
	font-weight:bold;
	padding:10px;
	background-color:#e0e0e0;
}

.playerSearchMain ul{
	padding:10px;
	display:flex;
	flex-wrap: wrap;
}

.playerSearchMain li{
	list-style-type:none;
	padding:5px;
	border-right:1px solid #e0e0e0;
}

.playerSearchSidebar{
	border:1px solid #e0e0e0;
	margin-bottom:20px;
	background-image:url(../images/bg_searchbox.jpg);
	background-repeat:no-repeat;
	background-position:top right;
}

.playerSearchSidebar li{
	float:left;
	padding:5px;
}

.playerSearchSidebar h3{
	background:#e0e0e0;
	padding:5px;
	font-size:.875em;
	font-weight:bold;
}

.decadeBlock li{
	margin-top:40px;
}

.clear{
	clear:both;
}

/* SIDEBAR */

#sidebar{
	margin-left:20px;
	margin-top:10px;
}

/* FOOTER */


#footer{
	clear:both;
	background-color:#575757;
	height:100px;
	margin-top:50px;
	padding:10px;
	color:#fff;
}

#footer a{
	color:#fff;
}

#footer ul li{
	margin-bottom: .5em;
}

/* Player Stats Boxes */

#playerStats{
	margin-top:1rem;
	font-size:.875em;
}

.statsPlayerName{
	text-align:center;
}

table.stats, table.euroRecord {
border:1px solid #ccc;
border-collapse:collapse;
background-color:#fff;
text-align:left;
width:100%;
}

table.specialstats, table.euroStats {
margin:5px 0px;
width:400px;
border:1px solid #ccc;
border-collapse:collapse;
background-color:#fff;
}

.stats th, .specialstats th, .euroStats th{
background-color:#dfdfdf;
padding:.5em;
font-weight:bold;
}

.stats td{
padding:.5em;
}

.specialstats td, .euroStats td{
padding:.5em;
}

table.euroRecord {
margin-top:10px;
width:100%;
}

.euroRecord th{
background-color:#dfdfdf;
font-weight:bold;
padding:.5em .1em;
}

.euroRecord td {
padding:.25em .2em;
}

.totals {
text-align:right;
}

.lastCol {
text-align:right;
}

.totalsrow {
background-color:#dedede;
}


.specialstats .totalsrow, .euroStats .totalsrow{
font-weight:bold;
}

.specialTotals {
align:left;
}



/* Player names */

table.playerNames {
	width:100%;
}

table.playerNames th{
	font-weight:bold;
	padding:.5em 0;
	text-align:center;
}


table.playerNames td{
	color:#6F6F6F;
	font-size:0.875em;
	padding:.5em 0;
	text-align:center;
	width:10%;
}

table.playerNames td.playerName{
	font-size:1em;
	text-align:left;
	width:20%;
}

table.playerNames .apps, table.playerNames .goals{
	text-align:right;
}

.euroRecord{
	font-size:.875em;
}

table .euroKey{
	 border-top:1px solid #ccc;
	padding:.5em;
}

/* Admin Form */
.formblock{
display:block;
padding:10px;
}

.formblocka{
display:block;
background-color:#E6E6E6;
padding:10px;
}


label{
float:left;
width:200px;
text-align:right;
margin-right:10px;
font-weight:bold;
}

#edit{
	float:right;
}

.altPhoto{
	display:block;
	margin-top:10px;
}

blockquote{
	margin-left:1em;
	margin-bottom:2em;
	color:#444;
}

@media screen and (min-width:960px){
	#page {
		max-width:960px;
	}
}

@media screen and (max-width:500px){
	#page {
		width:100%;
	}
	#playerProfile{
		flex-direction: column;
	}

	#header {
		text-align: center;
	}

	#navigation ul{
		flex-direction: column;
		text-align: center;
	}

	#navigation ul li a{
		border-bottom: 1px solid #fff;
	}
}
