/***********************************************/
/* Web Site: Cardiff Half Marathon 2010        */
/*                                             */
/* Media: Screen                               */
/*                                             */
/* Author: Oliver Hoad                         */
/*                                             */
/* Created: 04th June 2010                     */
/***********************************************/

/* 
-- CSS INDEX --

1. BASIC HTML
2. STRUCTURE
3. GLOBAL NAVIGATION
4. HOMEPAGE
5. STANDARD PAGE ELEMENTS
6. PAGE ACTIONS
7. EMBEDDED VIDEO
8. FORMS

*/

/* ----- 1. BASIC HTML ---------------------------------------*/

h1 {
	font-family: arial, helvetica, sans-serif;
	font-weight: bold;
	font-size: 95%;
	color: #fff;
	line-height: 170%;
	margin: 20px 0 15px 0;
	padding: 5px 0 16px 10px;
	background: #063 url(chm10_header_banner.jpg) no-repeat;
}

h2 {
	font-family: arial, helvetica, sans-serif;
	font-weight: bold;
	font-size: 105%;
	color: #678235;
	line-height: 170%;
	padding: 0;
	margin: 16px 0 8px 0;
}

h3 {
	font-family: arial, helvetica, sans-serif;
	font-weight: bold;
	font-size: 95%;
	color: #6a8636;
	line-height: 170%;
	padding: 0;
	margin: 20px 0 5px 0;
}

h4 {
	font-family: arial, helvetica, sans-serif;
	font-size: 80%;
	color: #6A8636;
	margin: 10px 0 5px 0;
}

p {
	font-family: arial, helvetica, sans-serif;
	font-size: 80%;
	line-height: 160%;
	padding: 0;
	margin: 0.2em 0 0.9em 0;
}

ul {
	margin: 0 0 5px 12px; /* Required for cross-browser list indentation */
	padding: 0 0 5px 12px; /* Required for cross-browser list indentation */
	color: #516235;
	list-style-image: url(chm10_bullet.gif);
}

ol {
	margin: 8px 0 10px 15px; /* Required for cross-browser list indentation */
	padding: 8px 0 10px 15px; /* Required for cross-browser list indentation */
	color: #516235;
}

ul li {
	font-weight: normal;
	font-size: 80%;
	line-height: 160%;
	/*margin: 0 0 4px 0;*/
	margin: 0;
	padding: 0 0 4px 0;
}

ol li {
	font-weight: normal;
	font-size: 80%;
	line-height: 160%;
	margin: 0 0 4px 0;
	padding: 0 0 4px 0;
}

a {
	color: #06c;
	text-decoration: none;
}

p a:hover {
	border-bottom: 1px dotted #06c;
}

li a:hover {
	border-bottom: 1px dotted #06c;
}

hr {
	clear: both;
	height: 1px;
	border: none;
	border-bottom: 1px dotted #bbb;
	margin: 7px 0;
}

/* ----- 2. STRUCTURE ----------------------------------------*/

body {
	margin: 0;
	padding: 0;
	background: #d4d4d4;
	font-family: arial, helvetica, sans-serif;
	font-size: 100%;
	color: #516235;
}

.hide {
	display: none;
}

.clear {
	clear: both;
	height: 0;
	margin: 0;
	overflow: hidden;
}

.chm_image {
	margin: 0;
	padding: 0;
	vertical-align: bottom;
}

.cta {
	width: 100%;
	margin: 30px 0 35px 0;
	text-align: center;
}

.cta a {
	border: none;
	outline: none; /* Removes dotted outline in Firefox */
}

.cta_button_off {
	width: 180px;
	height: 40px;
	padding-bottom: 1px;
	border: 0;
	background: url(chm10_cta_button_off.jpg) no-repeat;
	font-family: arial, helvetica, sans-serif;
	font-weight: bold;
	font-size: 100%;
	color: #fff;
	cursor: pointer;
}

.cta_button_on {
	width: 180px;
	height: 40px;
	padding-bottom: 1px;
	border: 0;
	background: url(chm10_cta_button_on.jpg) no-repeat;
	font-family: arial, helvetica, sans-serif;
	font-weight: bold;
	font-size: 100%;
	color: #fff;
	cursor: pointer;
}

#wrapper {
	width: 100%;
	padding-top: 10px;
}

#main {
	width: 995px;
	margin: auto;
}

#header {
	width: 995px;
	height: 180px;
	background: #c9252c;
}

#chm_logo_badge {
	display: inline; /* IE double-margin bug fix */
	float: left;
	width: 102px;
	height: 126px;
	margin: 27px 0 0 32px;
}

#chm_logo_copy {
	display: inline; /* IE double-margin bug fix */
	float: left;
	width: 406px;
	height: 126px;
	margin: 27px 0 0 0;
}

#sponsor_logo {
	display: inline; /* IE double-margin bug fix */
	float: right;
	width: 229x;
	height: 80px;
	margin: 63px 27px 0 0;
}

#nav {
	width: 995px;
	height: 29px;
	background-color: #f7f7f7;
}

.nav_partners {
	float: left;
	width: 169px;
	height: 23px;
	padding-top: 6px;
	background: #fff;
	font-family: arial, helvetica, sans-serif;
	font-weight: bold;
	font-size: 75%;
	color: #c9252c;
	text-align: center;
}

.nav_item {
	float: left;
	width: 80px;
	height: 28px;
	border-right: 1px solid #d4d4d4;
	border-bottom: 1px solid #d4d4d4;
	border-left: 1px solid #d4d4d4;
	background: #fff;
	font-family: arial, helvetica, sans-serif;
	font-weight: bold;
	font-size: 75%;
	text-align: center;
}

.nav_item a {
	display: block;
	width: 100%;
	height: inherit;
	padding-top: 6px;
	color: #618222;
	text-decoration: none;
}

.nav_sponsors {
	float: left;
	width: 170px;
	height: 23px;
	padding-top: 6px;
	background: #fff;
	font-family: arial, helvetica, sans-serif;
	font-weight: bold;
	font-size: 75%;
	color: #c9252c;
	text-align: center;
}

.nav_pointer {
	cursor: default;
}

.nav_spacer {
	float: left;
	width: 2px;
	height: 28px;
	border-bottom: 1px solid #d4d4d4;
}

#content_wrapper {
	width: 995px;
	height: auto;
	background: #000 url(chm10_sidebar_gradient.jpg) repeat-x;
}

#content_left {
	float: left;
	width: 170px;
	height: auto;
	margin-top: 33px;
	text-align: center;
}

#content_left img {
	margin-bottom: 8px;
}

#content_left p {
	padding: 0 15px 14px 15px;
	font-size: 70%;
	color: #f5f5f5;
	line-height: 130%
}

#content_left p a:hover {
	border: none;
}

#content_right {
	float: right;
	width: 171px;
	height: auto;
	margin-top: 33px;
	text-align: center;
}

#content_right img {
	margin-bottom: 8px;
}

#content_right p {
	padding: 0 15px 14px 15px;
	font-size: 70%;
	color: #f5f5f5;
	line-height: 130%
}

#content_right p a:hover {
	border: none;
}

#content_main {
	float: left;
	width: 654px;
	height: auto;
	background-color: #fff;
}

#homepage {
	width: 570px;
	min-height: 500px;
	height: auto !important;
	height: 500px;
	padding: 34px 42px;
}

#section {
	width: 570px;
	min-height: 500px;
	height: auto !important;
	height: 500px;
	padding: 34px 42px;
}

#footer {
	width: 613px;
	height: 37px;
	padding: 16px 0 0 41px;
	background: #006633 url(chm10_footer_bg.jpg) repeat-x;
	font-size: 75%;
	color: #fff;
}

#footer a {
	color: #fff;
	text-decoration: none;
}

#iframe_close {
	width: 225px;
	margin-top: 10px;
	font-size: 80%;
	text-align: right;
}

#iframe_border {
	height: 2px;
	padding: 0;
	border-top: 1px solid #999;
	border-bottom: 2px solid #444;
	background: #ccc;
	font-size: 1px;
}

/* ----- 3. GLOBAL NAVIGATION --------------------------------*/

#nav_wrapper {
	position: absolute;
	top: 218px;
	width: 995px;
}

#nav_main {
	width: 995px;
	margin: auto;
}

#nav_main ul {
	width: 166px;
	margin: 0 0 0 168px;
	padding: 0;
	border-top: 1px solid #d4d4d4;
}

#nav_main ul li {
	display: inline;
	margin: 0;
	padding: 0;
	line-height: 100%;
	list-style-type: none;
}

#nav_main ul li a, #nav_main ul li span {
	display: block;
	width: 150px;
	padding: 8px 0 8px 10px;
	margin: 0;
	border-right: 1px solid #d4d4d4;
	border-bottom: 1px solid #d4d4d4;
	border-left: 1px solid #d4d4d4;
	background: #fff;
	font-family: arial, helvetica, sans-serif;
	font-size: 85%;
	color: #666;
	text-decoration: none;
}

#nav_main ul li span {
	font-weight: bold;
	background: #f9f9f9;
}

#nav_main ul li a:hover, #menu1 a:hover{
	background: #f9f9f9;
}

#dropdown_menu_1 {
	position: relative;
	left: 85px;
	width: 150px;
}

#dropdown_menu_2 {
	position: relative;
	left: 169px;
	width: 150px;
}

#dropdown_menu_3 {
	position: relative;
	left: 253px;
	width: 150px;
}

#dropdown_menu_4 {
	position: relative;
	left: 337px;
	width: 150px;
}

#dropdown_menu_5 {
	position: relative;
	left: 501px;
	width: 150px;
}

#dropdown_menu_6 {
	position: relative;
	left: 580px;
	width: 150px;
}

#menu1 a {
	height: 22px;
}

#breadcrumbs {
	margin-bottom: 20px;
	font-size: 75%;
	color: #888;
}

#breadcrumbs a {
	color: #4c94db;
	text-decoration: none;
}

#breadcrumbs a:hover {
	border-bottom: 1px dotted #4c94db;
}

/* ----- 4. HOMEPAGE -----------------------------------------*/

#homepage h1 {
	font-family: arial, helvetica, sans-serif;
	font-weight: bold;
	font-size: 100%;
	color: #6a8636;
	line-height: 170%;
	padding: 0;
	margin: 12px 0 7px 0;
	background: none;
}

#homepage h2 {
	font-family: arial, helvetica, sans-serif;
	font-weight: bold;
	font-size: 95%;
	color: #fff;
	margin: 25px 0 15px 0;
	background: #063 url(chm10_header_banner.jpg) no-repeat;
}

#homepage h2 a {
	display: block;
	padding: 5px 0 16px 10px;
	border: none;
	color: #fff;
	text-decoration: none;
}

#homepage h2 a:hover {
	text-decoration: underline;
}

#homepage_column_left {
	float: left;
	width: 275px;
	margin: 0 0 10px 0;
}

#homepage_column_left h2 {
	font-family: arial, helvetica, sans-serif;
	font-weight: bold;
	font-size: 95%;
	color: #fff;
	margin: 0 0 10px 0;
	background: #063 url(chm10_header_banner_left.jpg) no-repeat;
}

#homepage_column_left h2 a {
	display: block;
	padding: 3px 0 1px 10px;
	border: none;
	color: #fff;
	text-decoration: none;
}

#homepage_column_left h2 a:hover {
	text-decoration: underline;
}

#homepage_column_left p {
	margin: 0 0 2em 0;
}

#homepage_column_right {
	float: right;
	width: 275px;
	margin: 0 0 10px 0;
}

#homepage_column_right h2 {
	font-family: arial, helvetica, sans-serif;
	font-weight: bold;
	font-size: 95%;
	color: #fff;
	margin: 0 0 10px 0;
	background: #063 url(chm10_header_banner_right.jpg) no-repeat;
}

#homepage_column_right h2 a {
	display: block;
	padding: 3px 0 1px 10px;
	border: none;
	color: #fff;
	text-decoration: none;
}

#homepage_column_right h2 a:hover {
	text-decoration: underline;
}

#homepage_column_right p {
	margin: 0 0 2em 0;
}

#homepage ul {
	margin: 0 0 5px 12px; /* Required for cross-browser list indentation */
	padding: 0 0 5px 12px; /* Required for cross-browser list indentation */
	color: #516235;
	list-style-image: url(chm10_bullet.gif);
}

homepage ul li {
	font-weight: normal;
	font-size: 80%;
	line-height: 180%;
	margin: 0 0 10px 0;
	padding: 0 0 10px 0;
}

#homepage_social_buttons_copy {
	float: left;
	width: 210px;
	padding: 0 0 0 2px;
	font-weight: bold;
}

#homepage_social_buttons_images {
	float: left;
	width: 358px;
}

#homepage_social_buttons_images ul {
	margin: 0;
	padding: 0;
	font-size: 1px;
	line-height: 1px;
	list-style-image: none;
	list-style-type: none;
}

#homepage_social_buttons_images li {
	display: inline; /* IE double-margin bug fix */
	float: left;
	margin: 0 0 0 14px;
	padding: 0;
}

#homepage_social_buttons_images a:hover {
	border: 0;
}

/* ----- 5. STANDARD PAGE ELEMENTS ---------------------------*/

.small {
	font-size: 85%;
}

.imageRight {
	float: right;
	clear: right;
	margin: 10px 0 20px 20px;
}

.highlight {
	padding: 15px;
	border: 1px solid #9c3;
	font-size: 75%;
	color: #516235;
	margin: 15px 0 15px 0;
	line-height: 160%;
}

blockquote {
	float: right;
	clear: right;
	width: 200px;
	margin: 4px 0 20px 15px;
	padding: 0;
	background: url(chm10_quote_left.gif) no-repeat 0 6px;
	font-size: 85%;
	color: #516235;
	line-height: 140%;
}

blockquote p {
	padding: 10px 28px 6px 32px;
	background: url(chm10_quote_right.gif) bottom right no-repeat;
}

#google_map_embed {
	float: right;
	clear: right;
	margin: 10px 0 15px 15px;
}

#charity_letters_intro p {
	float: right;
	padding: 10px;
	width: 180px;
	background: #dbedb8;
	font-size: 70%;
	line-height: 140%;
}

#charity_letters {
	float: right;
	clear: right;
	width: 200px;
}

#charity_letters {
	float: right;
	width: 200px;
	background-color: #9c3;
}

#charity_letters p {
	font-family: arial, helvetica, sans-serif;
	font-weight: bold;
	font-size: 75%;
	margin:0;
}

#charity_letters p a {
	display: block;
	width: 185px;
	padding: 5px 5px 5px 10px;
	border: none;
	background-color: #9c3;
	color: #fff;
}

#charity_letters p a:hover {
	border-bottom: none;
	background-color: #b3d966;
}

#charity_letters td {
	width: 37px;
	height: 27px;
	padding: 1px;
	background-color: #dbedb8;
	font-family: arial, helvetica, sans-serif;
	font-weight: normal;
	font-size: 75%;
	color: #83ab36;
	text-align: center;
}

#charity_letters td a {
	display: block;
	width: 100%;
	height: 16px;
	padding: 5px 0 5px 0; 
	border: none;
	background: #9c3;
	font-weight: bold;
	color: #fff;
}

#charity_letters td a:hover {
	border:none;
	background: #b3d966;
}

#routelink_outer {
	margin-top: 10px;
	padding: 2px 2px 0 2px;
	border: 1px solid #9c3;
}

#routelink_inner {
	float: left;
	width: 244px;
	height: 220px;
	padding: 15px;
	background: #dbedb8;
}

#routelink_inner a {
	border: none;
	font-size: 75%;
	color: #516235;
	line-height: 180%;
}

#routelink_inner a:hover {
	border-bottom: 1px dotted #516235;
}

.simpletable {
	border: 1px solid #ccc;
	font-size: 75%;
	color: #516235;
	line-height: 150%;
}

.simpletable td {
	padding: 5px;
}

.tablehead {
	background: #99cc33;
	font-family: arial, helvetica, sans-serif;
	font-weight: bold;
	font-size: 110%;
	color: #fff;
}

.evenrow {
	background: #8f1f1f1;
}

/* ----- 6. PAGE ACTIONS -------------------------------------*/

#page_actions_container {
	display: inline; /* IE double-margin bug fix */
	float: right;
	clear: right;
	width: 190px;
	height: 28px;
	margin: 3px 0 0px 8px;
	padding: 6px 5px;
	background: url(chm10_page_actions_bg.gif) no-repeat;
}

#page_actions_share ul {
	margin: 0;
	padding: 0;
	font-size: 1px;
	line-height: 1px;
	list-style-image: none;
	list-style-type: none;
}

#page_actions_share li {
	float: left;
	margin: 0 15px 0 0;
	padding: 0;
}

#page_actions_share a:hover {
	border: 0;
}

/* ----- 7. EMBEDDED VIDEO -----------------------------------*/

#embedded_video_standard {
	display: inline; /* IE double-margin bug fix */
	float: right;
	clear: right;
	width: 284px;
	height: auto;
	margin: 10px 0 5px 15px;
	border: 1px solid #9c3;
}

#embedded_video_image {
	margin: 2px;
}

/* ----- 8. FORMS --------------------------------------------*/

fieldset {
	margin: 0 0 10px 0;
	padding: 10px;
	font-size: 0.75em;
	color: #333;
}

fieldset h3 {
	clear: both;
	font-weight: bold;
	font-size: 1.1em;
	color: #444;
}

fieldset p {
	clear: both;
	font-size: 1em;
}

fieldset fieldset {
	margin: 5px 0 0 0;
	border: none;
}

fieldset legend {
	padding: 0 5px 10px 5px;
	background: #fff;
	font-weight: bold;
	font-size: 1.1em;
	color: #111;
}

fieldset .error {
	background: #faeaea;
}

fieldset ul {
	font-size: 1em;
}

fieldset label {
	width: 130px;
	padding: 3px 10px 0 0;
	font-weight: bold;
	text-align: right;
}

fieldset fieldset legend {
	width: 110px;
	margin: 0;
	padding: 0 10px 5px 0;
	font-weight: bold;
	text-align: right;
}

fieldset fieldset label {
	width: 110px;
	padding: 3px 10px 0 0;
	font-weight: normal;
}

fieldset label, fieldset input, fieldset select, fieldset .right {
	display: block;
	float: left;
	margin-bottom: 5px;
}

.fullwidth {
	display: inline;
	width: 370px;
	padding: 3px 10px 0 0;
	font-weight: bold;
	text-align: left;
}

.inline {
	display: inline;
	float: none;
	margin: 0;
}

.indent {
	display: inline;
	margin-left: 140px;
}

fieldset br {
	clear: left;
}

#formbutton {
	display: inline;
	margin-left: 170px;
}

.multioptions label {
	font-weight: normal;
}

.req {
	font-weight: bold;
	color: #c33;
}

input.sbmt {
	width: 140px;
	margin: 3px 0 0 0;
	padding: 2px;
	border: 1px solid;
	border-top-color: #fff;
	border-left-color: #fff;
	border-bottom-color: #d9a300;
	border-right-color: #d9a300;
	background: #fffaea;
	font-family: arial, helvetica, sans-serif;
	font-weight: normal;
	font-size: 80%;
	color: #403000;
	cursor: pointer;
}

input.sbmt:hover {
	border: 1px solid;
	border-top-color: #d9a300;
	border-right-color: #fff;
	border-bottom-color: #fff;
	border-left-color: #d9a300;
	background: #f9bb00;
	color: #fff;
}

.fakeinput {
	display: inline;
	float: none;
	margin: 0;
	margin-right: 2px;
	padding: 4px;  
	border: 1px solid #999;
	background-color: #fff;
	font-family: arial, helvetica, sans-serif;
	color: #000;
}

input:disabled {
	background-color: #fff
}

/* ----- 8. POPUPS -------------------------------------------*/

#popup_main {
	width: 600px;
	margin: auto;
	background: #fff;
}

#popup_header {
	width: 600px;
	height: 180px;
	margin: 0;
	padding: 0;
	background: #c9252c;
}

#popup_chm_logo_badge {
	display: inline; /* IE double-margin bug fix */
	float: left;
	width: 102px;
	height: 126px;
	margin: 27px 0 0 42px;
}

#popup_chm_logo_copy {
	display: inline; /* IE double-margin bug fix */
	float: left;
	width: 406px;
	height: 126px;
	margin: 27px 0 0 0;
}

#popup_content_wrapper {
	width: 600px;
	height: auto;
	margin: 0;
	padding: 0;
	background: #fff;
}

#popup_main_content {
	width: 516px;
	height: auto;
	margin: 0;
	padding: 14px 42px;
	background-color: #fff;
}

#popup_main_content h1 {
	font-family: arial, helvetica, sans-serif;
	font-weight: bold;
	font-size: 95%;
	color: #fff;
	line-height: 170%;
	margin: 20px 0 15px 0;
	padding: 5px 0 16px 10px;
	background: #063 url(chm10_header_banner.jpg) no-repeat;
}
