/*------------------------------------*\
	RESET
\*------------------------------------*/
/* body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{
	margin:0;
	padding:0;
}
table{
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img{
	border:0;
}
address,caption,cite,code,dfn,th,var{
	font-style:normal;
	font-weight:normal;
}
caption,th{
	text-align:left;
}
h1,h2,h3,h4,h5,h6{
	font-size:100%;
	font-weight:normal;
}
q:before,q:after{
	content:'';
}
abbr,acronym{
	border:0;
}
*/


body {
	margin: 0px 0px 20px 0px;
		background: url('../images/background_maynooth_10k_gathering.jpg') top repeat-y; /* repeat:none; */
       	text-align: center;
	}

a {
	text-decoration: none;
	vertical-align:bottom;
	color:#237bad:
	}

a:link {
	color:#237bad; /* #99fdec; #993366; */
	font-size: medium;
	}
	
a:visited {
	color: #ffffff;
	}
	
a:hover {
	color: #99fdec; ;/* #663399; */
/*	border:1px solid #FF00FF; */
	}
button:hover {
	color: #000000; ;/* #663399; */
/*	border:1px solid #FF00FF; */
	}
a:active {
	color: #993366;
	}
	
ul a:link {
	color:#ffffff;
	font-size: medium;
	font-style:italic;
	}
	
ul a:visited {
	color: #99fdec;
	font-size: medium;
	}

ul a:hover {
	color: #99fdec; /*#663399; */
	border: none;
	}

ul a:active {
	font-size: medium;
	}
	
ul.directions {
	text-align: left;
	list-style-position:inside;
	}
	
td a:link {
	color: #ffffff;
	font-size: medium;
	font-style: italic;
	}
	
td a:visited {
	font-size: medium;
	color: #99fdec;
	font-style: italic;
	}
	
td a:hover {
	color: #99fdec; /* #663399; */
	border: none;
	}

td a:active {
	font-size: medium;
	color: #ffffff;
	font-style: italic;
	}
p a:link {
	color: #237bad;
	font-size: medium;
	font-style: italic;
	}
	
p a:visited {
	font-size: medium;
	color: #237bad;
	font-style: italic;
	}
	
p a:hover {
	color: #993366; /* #a5bad7; */
	/*663399*/
	border: none;
	}

p a:active {
	font-size: medium;
	color: #ffffff;
	font-style: italic;
	}
	
#banner {
	font-family: Arial, sans-serif;
	color: #FFFFFF;
    background: #ffffff url('../images/banner_maynooth_10k_2014.jpg') center no-repeat;
	width:1262px;
	height:188px;
	text-align: center;
	margin-bottom:14px;
	}

a#banner-img {
	display: none;
	}


#banner a {
	color: #FFFFFF;
	text-decoration: none;
	}

#banner h1 {
	font-size: xx-large;
	}

#banner h2 {
	font-size: small;
	}

#map_canvas {
	margin: auto;
	}

/* The next three - right, left and center are for floating images throughout the site */
.right {
	float:right;
	margin: 0px 5px 0px 5px;	/* top right bottom left */
	}

.left {
	float:left;
	margin: 0px 5px 0px 5px;	/* top right bottom left */
	}

.center {
	float:center;
	}
	
.content {
/*	padding: 10px 50px 5px 50px; */
/*	background-color: #CFDEFF; */
/*	border-right: 2px solid #ffffff; */
/*	color: #000000; */
/*	background-color: none; /* #333333 charcoal gray for main content */
	color: #ffffff; /* white font */
	font-family: Arial, sans-serif; /* Helvetica, Arial, sans-serif; */
	font-size: medium;
	max-width: 1140px;
	margin-left: auto;
	margin-right: auto;
	}


	
.content p {
	
	font-family: Arial, sans-serif; /* Helvetica, Arial, sans-serif; */
	font-size: medium;
	font-weight: normal;
	line-height: 150%;
	text-align: left;
	margin-bottom: 10px;
	}

.h1 {
	color: #ffffff;
	font-family: Arial, sans-serif;
	font-size: 30px;
	text-align: center;
	font-weight: bold;
	letter-spacing: .1em;	
    margin-top: 0.1em; 
    margin-bottom: 0.1em;
	}
.h2 {
	color: #ffffff;
	font-family: Arial, sans-serif;
	font-size: x-large;
	text-align: center;
	font-weight: bold;
	letter-spacing: .1em;	
    margin-top: 0.1em; 
    margin-bottom: 0.1em;
	}

.content h3 {
	color: #ffffff;
	font-family: Arial, sans-serif;
	font-size: 110%;
	text-align: center;
	font-weight: bold;
	margin-top: 0.1em; 
    margin-bottom: 0.1em;
	}

.content img.imgborder {
	border: 1px solid #000; 
	}

	
table {
	width:100%;
	}

/* Next two are for tne faq page */	
.faqa {
	text-decoration:underline;
	}

.faqq a:link{
	text-decoration:none;
	color:#ffffff;
	}

	
/* Dropdown test 2 */

/*
    NAV
\*------------------------------------*/
#nav{
    list-style:none;
    font-weight:bold;
    margin-bottom:10px;
    float:left;
    width:100%;
/* Bring the nav above everything else--uncomment if needed.
    position:relative;
    z-index:5; */
}
#nav li{
    float:left;
    margin-right:59px;	/* space nave buttons so that they line up with content area */
    position:relative;
}
#nav a{
    display:block;
/*    padding:5px; removed for images */
    color:#fff;
    background:#333;
    text-decoration:none;
}
#nav a:hover{
    color:#fff;
    background:#6b0c36;
    text-decoration:underline;
}
a#testimg {
	background:url('../images/buttons/10k_run.jpg') no-repeat 0px 0px;
	}

	
/*--- DROPDOWN ---*/
#nav ul{
    background:#fff; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
    background:rgba(255,255,255,0); /* But! Let's make the background fully transparent where we can, we don't actually want to see it if we can help it... */
    list-style:none;
    position:absolute;
    left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
}
#nav ul li{
    padding-top:1px; /* Introducing a padding between the li and the a give the illusion spaced items */
    float:none;
}
#nav ul a{
    white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
}
#nav li:hover ul{ /* Display the dropdown on hover */
    left:0; /* Bring back on-screen when needed */
	z-index:1000;
}
#nav li:hover a{ /* These create persistent hover states, meaning the top-most link stays 'hovered' even when your cursor has moved down the list. */
    background:#6b0c36;
    text-decoration:underline;
}
#nav li:hover ul a{ /* The persistent hover state does however create a global style for links even before they're hovered. Here we undo these effects. */
    text-decoration:none;
}
#nav li:hover ul li a:hover{ /* Here we define the most explicit hover states--what happens when you hover each individual link. */
    background:#333;
}

#mainarea {
	overflow: visible;	/* overflow hidden is set in 1140 for rows but causing dropdowns to be hidden */
	}
/* End of Dropdown test 2 */


	
/*	Footer */
.footer p {
    color: #FFFFFF;
	font-family: Arial, sans-serif;
	font-size: small;
	text-align: center;
	line-height: 110%;
	}

#footer a:link {
    color: #000000;
	}
	
#footer {
	background-color:#d1d2d4;
	text-align:center;
	}
	
h5  {
	color: #993366;
	font-family: Arial, sans-serif;
	font-size: 16px;
	text-decoration:none;
	text-align: left;
	font-weight: bold;
 	}
/* Clearfix to fix zero height problem on main content row - from http://www.webtoolkit.info/css-clearfix.html */
#clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

#clearfix {
	display: inline-block;
}
/* End of Clearfix */