/* all elements */

html {
	background: #FFFFFF;
	overflow-y: scroll;
}

@media only screen and (max-width: 500px)  {
	#footer_created_by {
		width: 130px !important;
		font-size: 80%;
	}
}
@media only screen and (max-width: 920px)  {
	html, body {
		min-width: 250px;
	}
	#main_links {
		display: none;
		position: absolute;
		right: 10px;
		top: 0;
		width: 200px;
		
		z-index: 100;
		background: #333;
		padding: 20px;
		border-radius: 10px;
	}
	#main_links h2 {
		margin-bottom: 20px;
	}
	#main_links p {
		display: none !important;
	}
	#menu_bar_cont {
		width: 100%;
	}
	#menu_bar_inner {
		width: 100%;
	}
	.menu_bar_item {
		margin-right: 15px;
	}
	#content_cont {
		width: 100%;
	}
	#content {
		
	}
	#footer_cont {
		width: 100%;
	}
	#footer {
		
	}
	#footer_created_by {
		float: right;
		width: 300px;
	}
	#menu-button {
		position:absolute;
		right: 6px;
		top: 6px;
		float: right;
		padding: 5px;
		padding-bottom: 0;
		background: #AAA;
		border-radius: 10px;
		cursor: pointer;
	}
	#menu-button img {
		width: 30px;
		height: 30px;
	}
}
@media only screen and (min-width: 921px)  {
	html, body {
		min-width: 920px !important;
	}
	#header_inner {
		width: 900px;
	}
	#header h2 {
		display: inline;
	}
	#main_links {
		float: right;
		display: inline;
		width: 500px;
	}
	#main_links a {
		float: right;
	}
	#menu_bar_cont {
		width: 900px;
		margin: 0 auto;
	}
	#menu_bar_inner {
		width: 900px;
	}
	#content {
		overflow: auto;
		width: 900px;
		margin: 0 auto;
	}
	#footer_cont {
		width: 900px;
		margin: 20px auto;
	}
	#menu-button {
		display:none;
	}
	#footer {
		
	}
}

html, body {
	min-height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	font-family: Verdana,Arial;
	color: #333333;
}

a, p, h1, h2, h3, h4 {
	margin: 0;
	padding: 0;
	border: 0;
}

a {
	color: #FF8800 !important; 
	text-decoration: underline;
}



/* specifics */

/* header css */

#header {
	padding: 5px;

	background: #333333; /* Old browsers */
	background: -moz-linear-gradient(top,  #444444 13%, #222222 90%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(13%,#444444), color-stop(90%,#222222)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #444444 13%,#222222 90%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #444444 13%,#222222 90%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #444444 13%,#222222 90%); /* IE10+ */
	background: linear-gradient(to bottom,  #444444 13%,#222222 90%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#444444', endColorstr='#222222',GradientType=0 ); /* IE6-9 */
}

#header_inner {
	margin: 0 auto;
	height: 40px;
}

#header h1 {
	width: 190px;
	display: inline;
	margin-bottom: 5px;
	margin-left: 90px;
	float:left;
	position: absolute;
}

#header h1 a {
	color: #EEEEEE !important;
	font-family: rockwell;
	font-weight: normal;
	text-decoration: none;
	text-shadow: -2px 2px #333333;
}

#header h1 a:hover {
	color: #FF8800 !important;
}

#cog_logo {
	position: absolute;
	width: 85px;
	height: 85px;
}

#header h2 {
	font-size: 95%;
	font-weight: normal;
}

#main_links {
	margin-top: 10px;
}

#main_links p {
	color: #999999;
	display: inline;
	margin: 0 10px;
	float: right;
}

#main_links a {
	color: #EEEEEE !important;
	text-decoration: none;
	text-shadow: -2px 2px #333333;
	height: 35px;
}

#main_link_history:hover {
	color: #6699FF !important;
}
#main_link_clubs:hover {
	color: #CC4444 !important;
}
#main_link_events:hover {
	color: #00BB00 !important;
}
#main_link_carers:hover {
	color: #CCAA00 !important;
}
#main_link_professionals:hover {
	color: #9900FF !important;
}
#main_link_links:hover {
	color: #999999 !important;
}

/* header menu css */
html .header_menu {
	position: relative;
	top: 35px;
	z-index: 100;
	max-width: 200px;
}
html .header_menu_inner {
	position: absolute;
	padding: 2px;
	padding-bottom: 0;
	-moz-box-shadow: 3px 3px 4px #000;
	-webkit-box-shadow: 3px 3px 4px #000;
	box-shadow: 3px 3px 4px #000;
	/* For IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
	/* For IE 5.5 - 7 */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000');
}
html .header_menu a {
	display: block;
	color: #EEEEEE !important;
	text-decoration: none !important;
	text-shadow: 0px 0px #EEEEEE !important;
	padding: 5px 10px;
	margin-bottom: 2px;
	float: none !important;
	height: 20px !important;
}

/* menu bar css */

#menu_bar {
	width: 100%;
	height: 45px;
}
#menu_bar_cont {
	margin: 0 auto;
}
#menu_bar_inner {
	overflow: auto;
	clear: both;
	position: absolute;
}

#menu_bar_title {
	margin-left: 80px;
	float: left;
	padding: 10px 10px;
	font-weight: bold;
	font-size: 130%;
	text-decoration: none !important;
	text-shadow: -1px 1px #888888;
	color: #EEEEEE !important;
}
a.menu_bar_item {
	float: right;
	padding: 5px 10px;
	height: 20px;
	font-size: 110%;
	margin-left: 1px;
	margin-top: 15px;
	text-decoration: none;
	color: #EEEEEE !important;
}
a.menu_bar_item:hover {
	text-decoration: underline !important;
}

/* content css */

#content_cont {
	width: 100%;
	background-color: #EEEEEE;
	border-bottom: 1px solid #FF8800;
}

#content {
	padding: 10px;
	padding-top: 20px;
	padding-bottom: 50px;
	overflow: auto;
}

#content p {
	text-align: justify;
}

/* footer css */

#footer {
	display: block;
	margin-top: 0;
	margin-bottom: 30px;
	padding: 10px;
	text-align: center;
	color: #333333;
	font-size: 90%;
	text-shadow: -1px 1px #EEEEEE;
}

h3 {
	margin-bottom: 20px;
}

p.section_title {
	width: 100%;
	font-size: 110%;
	border-bottom: 2px solid #FF8800;
	margin-bottom: 10px;
}
