body {
	background: white;
	color: #333;
	font: 12px Verdana, Arial, 'Liberation Sans', FreeSans, sans-serif;
	line-height: 1.35em;
}


/* Headings
----------------------------------------------------------------------------------------------------*/

h1 {
	color: #001E7F;
	font-size: 24px;
	margin-bottom: 0.5em;
	line-height:1.1em;
}

h2 {
	font-size: 18px;
	line-height:1.1em;
}

h3 {
	font-size: 16px;
}

h4 {
	font-size: 14px;
}

h5 {
	font-size: 13px;
}

h6 {
	font-size: 12px;
}

/* `Spacing
----------------------------------------------------------------------------------------------------*/

#main td {
	padding: 2px;
	vertical-align: top; /* SCG: added */
}
#main ol {
	list-style: decimal;
}
#main ul {
	list-style: square;
}
#main li {
	margin-left: 30px;
}

#main p,
#main hr,
#main ol,
#main ul,
#main table,
#main address,
#main fieldset {
	line-height: 1.35em;
	margin-bottom: 1.35em;
}

#main h1,
#main h2,
#main h3,
#main h4,
#main h5,
#main h6 {
	line-height: 1.35em;
	margin-bottom: 0.5em;
}

/* exluce nested list from the previous rule */
#main li ul, #main li ol {
	margin-bottom: 0;
}




a {
	color: #001e7f;
}



/* top */
#top {	
	margin-bottom: 20px; /* SCG: was 30px */
	line-height: 12px;
}
#leaderboard {
	border-bottom: 1px solid #cdcdcd; /* SCG: was 2px */
	border-top: 1px solid #cdcdcd; /* SCG: added */
	margin-bottom: 2px;  /*SCG: was 20px*/ 
	margin-top: 3px; /* SCG: added */
	padding: 2px; /* SCG: was padding-bottom: 5px */
	text-align: center;
	line-height:10px; /* SCG: added */
}
#logo {
	margin-top: 15px;
}
/* header */
#header {
	color: #00448a;
	margin: 0;
	margin-bottom: 15px; /* SCG: was 20px */
}

#header a {
	text-decoration: none;
	line-height: 1.45em; /* SCG: added on BH request */
}
#header a:hover {
	text-decoration: underline;
}

/* styling the search box... */
#top .search_box {
	float: right;
}
.search_box {
	background: #4dabdf;
	border: 3px solid #4dabdf;
	color: white;
	font-weight: bolder;
	text-align: center;
	width: 210px;
	float: right;
}
.search_box p {
	margin: 0 !important;
}
.search_box input {
	float: left;
	width: 172px;
	color: #858585;
}
.search_box input[type=submit] {
	background: #4dabdf;
	border: 0;
	color: white;
	cursor: pointer;
	font-weight: bolder;
	float: right;
	width: 30px;
}
#top #tags {
	margin-top: 8px; /* SCG: reduced from 10px */
}
#top #tags p {
	text-align: justify;
}
.tag_color_0 {
	color: #ED1F27;
}
.tag_color_1 {
	color: #FBB03F;
}
.tag_color_2 {
	color: #39B54A;
}
.tag_color_3 {
	color: #1B75BC;
}
.tag_color_4 {
	color: #CAA4CD;
}
.tag_color_5 {
	color: #662D91;
}

#header #auth_links {
	/* padding: 4px 0; */ /* SCG: removed to tighten spacing a bit */
	margin-top: 15px;
}

/*** TOP MENU ***/
#menu {
}

#menu, #menu ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
}

#menu a {
	/*border-bottom: 2px solid white;*/
	color: #2e5fa2;
	display: block;
	font-size: 11px;
	font-weight: bolder;	
	margin: 0 2px;
	text-decoration: none;
/*
	-moz-border-radius-topright: 25px;
	-moz-border-radius-bottomleft: 25px;
	-webkit-border-top-right-radius: 25px;
	-webkit-border-bottom-left-radius: 25px;
*/
}
#menu a:hover, #menu a.active {
	/*
	background: #2e5fa2;
	border-bottom: 2px solid #2e5fa2;
	color: white;
	padding: 12px 12px 13px 13px;
	-moz-border-radius-bottomleft: 0;
	-webkit-border-bottom-left-radius: 0;
	*/
}
#menu li {
	float: left;
}

#menu #link_home {
	background: white url('/img/frontend/icon_home.jpg') no-repeat 50% 50%;
	padding: 11px 5px 12px 5px;
	border-bottom: 1px solid white;
/*
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
*/
}
#menu #link_home:hover {
	/*border-bottom: 2px solid white;*/
}
#menu a span {
	visibility: hidden;
}

#link_0-12_months {
	/*background: #f5b1cc;*/ /* pink */
	background: white url('/img/frontend/icons_sprite.png') no-repeat 0 0;
	padding: 7px 12px;
	width: 58px;
}
#link_0-12_months:hover, #link_0-12_months.active {
	background: white url('/img/frontend/icons_sprite.png') no-repeat -106px 0;
}
#link_1-3_years {
	/*background: #febf71;*/ /* light orange */
	background: white url('/img/frontend/icons_sprite.png') no-repeat 0 -37px;
	padding: 7px 12px;
	width: 40px;
}
#link_1-3_years:hover, #link_1-3_years.active {
	background: white url('/img/frontend/icons_sprite.png') no-repeat -106px -37px;	
}
#link_3-5_years {
	/*background: #fff896;*/ /* light yellow */
	background: white url('/img/frontend/icons_sprite.png') no-repeat 0 -74px;
	padding: 7px 12px;
	width: 40px;
}
#link_3-5_years:hover, #link_3-5_years.active {
	background: white url('/img/frontend/icons_sprite.png') no-repeat -106px -74px;
}
#link_5-7_years {
	/*background: #c6c3df;*/ /* light gray */
	background: white url('/img/frontend/icons_sprite.png') no-repeat 0 -111px;
	padding: 7px 12px;
	width: 40px;
}
#link_5-7_years:hover, #link_5-7_years.active {
	background: white url('/img/frontend/icons_sprite.png') no-repeat -106px -111px;
}
#link_7-11_years {
	/*background: #d7dd75;*/ /* light olive */
	background: white url('/img/frontend/icons_sprite.png') no-repeat 0px -148px;
	padding: 7px 12px;
	width: 50px;
}
#link_7-11_years:hover, #link_7-11_years.active {
	background: white url('/img/frontend/icons_sprite.png') no-repeat -106px -148px;	
}
#link_activities {
	/*background: #6ed6ff;*/ /* blue */
	background: white url('/img/frontend/icons_sprite.png') no-repeat 0px -185px;
	padding: 12px;
}
#link_activities:hover, #link_activities.active {
	background: white url('/img/frontend/icons_sprite.png') no-repeat -106px -185px;
}
#link_education {
	/*background: #c3aef1;*/ /* light violet */
	background: white url('/img/frontend/icons_sprite.png') no-repeat 0px -222px;
	padding: 12px;
}
#link_education:hover, #link_education.active {
	background: white url('/img/frontend/icons_sprite.png') no-repeat -106px -222px;
}
#link_certificates {
	/*background: #eea39d;*/ /* darker pink */
	background: white url('/img/frontend/icons_sprite.png') no-repeat 0px -259px;
	padding: 12px;
}
#link_certificates:hover, #link_certificates.active {
	background: white url('/img/frontend/icons_sprite.png') no-repeat -106px -259px;
}
#link_events {
	/*background: #ffd571;*/ /* another light orange */
	background: white url('/img/frontend/icons_sprite.png') no-repeat 0px -296px;
	padding: 12px;
}
#link_events:hover, #link_events.active {
	background: white url('/img/frontend/icons_sprite.png') no-repeat -106px -296px;
}
#link_offers {
	/*background: #7cd5d6;*/ /* another blue */
	background: white url('/img/frontend/icons_sprite.png') no-repeat 0 -333px;
	padding: 12px;
}
#link_offers:hover, #link_offers.active {
	background: white url('/img/frontend/icons_sprite.png') no-repeat -106px -333px;
}
#link_coupons {
	/*background: #7cd5d6;*/ /* another blue */
	background: white url('/img/frontend/icons_sprite.png') no-repeat 0 -372px;
	padding: 12px;
	width: 82px;
}
#link_coupons:hover, #link_coupons.active {
	background: white url('/img/frontend/icons_sprite.png') no-repeat -106px -372px;	
}

/* Left Hand Side Column */
#lhs {
	background: #faa;
	min-height: 350px;
}

/* Central Column */
#main {

}
.block {
	border-bottom: 1px solid #57abdb;
	margin-bottom: 15px; /* SCG: change from 20px to 14px */
	padding-bottom: 8px; /* SCG: added */
}
.block p {
	line-height: 1.35em; /* SCG: change from 1.5 to 1.35 */
	margin-bottom: 10px;
}
.block h2, .blockheading {
	color: #001e7f;
	font-size: 18px;
	font-weight: bolder;
	margin-bottom: 0.2em; /* SCG: change from 1 to 0.2 */
}
.block a {
	text-decoration: none;
}
.block a:hover {
	text-decoration: underline;
}
.block ul {
	padding: 0 10px 5px;
}
.block ul li {
	padding: 4px 0;
	border-bottom: 1px solid #e5e5e5;
}	
.blockImg {
	float: left; /* SCG: change from right to left */
	margin: 3px 10px 5px 0; /* SCG: change from 0 0 5px 5px to 3px 10px 5px 0 */
}
.offer h1, .offer h2, .offer a {
	color: #d10000;
}
.mpu_banner, .google_banner {
	margin-bottom: 15px; /* SCG: change from 20px to 15px */
	border: 1px solid #EAEAEA; /* SCG: added */
	padding:5px 0 5px 5px; /* SCG: added */
}
/* Inner right column */
#inner_rhs {
}
#inner_rhs .c2a {
	margin-bottom: 10px; /* SCG: change from 15px to 10px */
}
#inner_rhs .c2a p {
	/* margin-bottom: 1em; */
	padding-left: 9px; /* SCG: added */
}
#inner_rhs .c2a p.c2aimg {/* SCG: was #inner_rhs .c2aimg */
	text-align: center;
	padding-left: 0; /* SCG: added */
}

/* Right Hand Side Column */
#rhs {
	/* text-align: center; */ /* SCG: removed, doesn't work on images */
	border-left: 1px solid #e5e5e5; /* SCG: added */
	width: 149px; /* SCG: override custom grid style to allow for left border */
}
#rhs img {
	margin-bottom: 10px;
	display: block;
	margin-left: 12px; /* SCG: added */
}

/* activity listing */
#activity_listing {
	/* border-top: 1px dashed silver; */
	/* padding-top: 20px; */ /* SCG: moved to margin-bottom on filter_form */
}
#activity_listing img {
	border: 1px solid gray;
	margin-bottom: 8px;
}
#activity_listing .mpu_banner img {
	border: none;
	margin-bottom: 0;
}
#activity_listing .grid_4 { /* SCG: added */
	margin-bottom:10px;
	border-bottom:1px solid #f1f1f1;
}
#activity_listing .grid_3 p, #activity_listing .grid_4 p {
	margin-bottom: 0;
	line-height: 1.2em; /* SCG: added */
}
#activity_listing small {
	display:block; /* SCG: added */
}

#refine_tag {
	margin-top: 20px;
	text-align: center;
}

.activity_name a {
	font-size: 14px;
	text-decoration: none;
}
.activity_name a:hover {
	text-decoration: underline;
}
#activity_image {
	border: 1px solid gray;
}

.category_name {
	background: url('/img/frontend/category_separator.png') top left no-repeat;
	font-weight: bolder;
	padding: 23px 0 2px 0; /* SCG: changed from 25px 0 10px 0 */
}
.category_name h2 {
	cursor: pointer;
	display: inline;
	margin-right: 1em;
}
.category_name a {
	color: #db702c;
	z-index: 100;
}

#cat_activity_types, #cat_themes, #cat_education_subjects, #cat_events {
	margin-bottom: 0.5em; /* SCG: changed from 1 */
}
#cat_activity_types input, #cat_themes input, #cat_education_subjects input, #cat_events input {
	cursor: pointer;
	vertical-align: bottom;
}
#cat_activity_types label, #cat_themes label, #cat_education_subjects label, #cat_events label {
	cursor: pointer;
}

#cat_activity_types .grid_2 {
	border-bottom: 1px dashed silver;
	color: #009b00;
	font-weight: bolder;
	padding: 0.35em 0;
}
#cat_activity_types .grid_2:hover, #cat_activity_types .active {
	color: white;
	background: #009b00;
}
#cat_themes .grid_2 {
	border-bottom: 1px dashed silver;
	color: #2e5fa2;
	font-weight: bolder;
	padding: 0.35em 0;
}
#cat_themes .grid_2:hover, #cat_themes .active {
	color: white;
	background: #2e5fa2;
}
#cat_education_subjects .grid_2 {
	border-bottom: 1px dashed silver;
	color: #9b3300;
	font-weight: bolder;
	padding: 0.35em 0;
}
#cat_education_subjects .grid_2:hover, #cat_education_subjects .active {
	color: white;
	background: #9b3300;
}

#education_ages .grid_2 {
	color: black;
}
#education_ages .grid_2:hover, #education_ages .active {
	background: black;
	color: white;
}

#cat_events .grid_2 {
	border-bottom: 1px dashed silver;
	color: #65029d;
	font-weight: bolder;
	padding: 0.35em 0;
}
#cat_events .grid_2:hover, #cat_events .active {
	color: white;
	background: #65029d;
}
#filter_form { /* SCG: added: content moved from #activity_listing */
	margin-bottom: 20px;
}
.filter_separator {
	background: url('/img/frontend/category_listing_separator.png') top left no-repeat;
	height: 25px;
	visibility: visible;
	width: auto;
}
#filter_button {

}

#activity_listing #pagination, #filter_button {
	text-align: center;
	line-height:2em;
}
#pagination {
	margin-top: 20px;
}
#pagination a {
	background: white;
	border: 1px solid #666;
	color: #444;
	font-weight: bolder;
	padding: 0.2em 0.5em;
	text-decoration: none;
}
#pagination a:hover {
	color: #e78318;
}
#pagination strong {
	background: #666;
	border: 1px solid #666;
	color: white;
	padding: 0.2em 0.5em;
}

.activity_types {
	color: #009b00;
}
.themes {
	color: #2e5fa2;
}
.education_subjects {
	color: #9b3300;
}
.events {
	color: #65029d;
}
.certificates {
	color: #BA6E6A;
}

a:hover, #inner_rhs a {
	text-decoration: none;
}
a, #inner_rhs a:hover {
	text-decoration: underline;
}



/* Footer */
#footer {
	border-top: 3px solid #cdcdcd;
	margin-top: 10px; /* SCG: was 30px */
	padding-top: 15px;
	font-size: 0.9em; /* SCG: added */
}
#footer p {
	line-height: 1.2em; /* SCG: was 1.5 */
	margin-bottom: 0.35em;
}
#footer form {
	margin-bottom: 1.35em;
}
#footer, #footer a {
	
}


/* some generic styles */
.horizontal_gutter { /* vertical divider */
	height: 12px;
}
.pad {
	padding: 10px;
}
.error {
	color: red;
}
.info {
	color: blue;
}
small {
	font-size: 10px;
}
.new {
	color: #c00;
	font-size: smaller;
}
.date {
	text-align: right;
}
.image_left {
	margin: 0 10px 5px 0;
	float: left;
}
.image_right {
	margin: 0 0 5px 10px;
	float: right;
}


/* youtube video support */

#ytbody {
	position:relative;
	float:left;
	width:300px;
	padding:0px;
	margin:0px;
	padding-right:10px;
	text-align:left;
}

#ytright {
	position:relative;
	float:left;
	padding:0px;
	margin:0px;
	padding-left:10px;
}

#mpu_banner_div {
	position:relative; 
	float:right; 
	margin-right:7px;
}

/* Twitter counter/link */
#social_media_container {
    width: 100%;
    margin-bottom: 5px;
    padding-top: 5px;
    clear: both;
}
.tweet_view {
    background: transparent url(/img/frontend/twitter_sprite.png) 0 -145px no-repeat;
    display: block;
    width: 37px;
    height: 17px;
    padding: 1px 9px 2px 9px;
    margin-left: 3px;
    float: left;
    color: #2A7090;
    font-weight: bold;
    text-align: center;
    font-family: Arial;
    text-decoration: none;

}
.tweet_view:hover {
    background-position: 0 -166px;
    text-decoration: none !important;
    color: #30566D;
}

.tweet_link {
    display: block;
    width: 55px;
    height: 20px;
    background: transparent url(/img/frontend/twitter_sprite.png) 0 0 no-repeat;
    text-indent: -10000px;
    float: left;
    clear: none;
}

.tweet_link:hover {
    background-position: 0 -21px;
}
#ichild_tickertape_outer {
	height: 28px;
	background: #bddcee;
	position:relative;	
	overflow: hidden;		
	border-top: 3px solid #2e5fa2;	
}
#ichild_tickertape {
	border-top: 5px solid #fff;	
	width: 9999px;
	position: absolute;	
	top: 0;
	left: 0;	
}
#ichild_tickertape ul {
	display: block;	
	float:left;
	
}
#ichild_tickertape li {
	line-height: 21px;
	font-size: 12px;
	display: block;
	vertical-align: top;

}
#ichild_tickertape li {
	float: left;
	display: inline;
	padding-left: 16px;
	background: transparent url(/img/frontend/ticker_divider_icon.png) 0px 7px no-repeat;
	color: #013372;
	margin-right: 8px;
}
