body {
	font: 400 100%/1.4em "Source Sans Pro", Arial, Helvetica, sans-serif;
    color: #1c1c1c;
	background: #c0c2c7 url(/images/page_bg.gif) left top repeat-x;
	margin: 0;
	padding: 0;
}
:focus {  /* Prevent dotted outline remaining in Firefox */
	outline:none;
}
::-moz-focus-inner {  /* Prevent dotted outline remaining in Firefox */
	border:0;
}
.fixedWidth {
	min-width: 350px;
	background: #f6fdff;
    margin: 0 auto;
	text-align: left;
	width: 100%;
	max-width: 1000px;
	min-height: 100%;
}
a {
	color: #33c;
}
header {
	height: 82px;
}
sup {
	font-size: 50%;
	position: relative;
	display: inline-block;
	top: -0.8em;
}
header h1 {
	margin: 0 auto; 
	width: 100%;
	text-align: center;
	font-weight: 300;
	font-size: 195%;
    letter-spacing: -0.03em;
	padding-top: 14px;
	line-height: 1.4em;
}
header.home h1 {
	padding-bottom: 23px;
}
header h1 a {
	display: inline-block;
	color: #888b91; 
	text-decoration: none; 
	margin-right: 4px;
	padding: 4px 0 0 39px; 
	background: url(/images/icon_round_britain_small.png) 0 10px no-repeat;
}
header.home h1 a {
	color: #fff;
	text-shadow: 1px 1px 1px #555;
	background-image: url(/images/icon_round_britain_small_white.png);
}
header h2 {
	display: none;
	float: right; 
	background: url(/images/logo_cb_com_small.png) top right no-repeat; 
	width: 308px; 
	height: 43px; 
	font-size: 1px; 
	text-indent: -4000px; 
	margin: 26px 30px 0 0;
}
header.home h2 {
	background-image: url(/images/logo_cb_com_small_white.png)
}
.legTitle {
	background: #e4e6ec; 
	margin: 0;
	min-height: 30px;
	font-size: 115%; 
	padding: 0.4em 1.3em 0.5em; 
	color: #3f3f43;
}
header.home .legTitle {
	clear: both;
	background: rgba(70, 75, 80, 0.75) none repeat scroll 0 0;
    border-top: 1px solid #999;
	color: #eef;
	font-weight: 300;
}
header.home .legTitle h3 {
	font-size: 90%;
}
#mobileNavBtn {
	display: inline-block;
	vertical-align: middle;
	height: 34px;
	width: 34px;
	margin-left: 20px;
	float: right;
	background: url(/images/mobile_menu_icon.png) left center no-repeat;
}
#mobileNavBtn.down {
	background-position: right top;
}
ul#mobileNav {
	display: none;
	position: absolute;
	z-index: 1000;
	width: 100%;
	background: #fff;
	list-style-type: 0;
	margin: 0;
	padding: 0;
	box-shadow: 0 8px 8px #666;
}
#mobileNav li {
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #bbb;
	margin: 0;
	padding: 0.2em 1.4em 0.3em;
}
#mobileNav li.sectionLi {
	background: #e6eef1;
	font-style: italic;
}
#mobileNav a {
	color: #337;
    text-decoration: none;
}
#jumpToLegForm {
	display: none;
	float: right;
}
#jumpTo {
	color: #666;
    font-size: 60%;
    padding: 3px 4px 4px;
}
.legTitle h3 {
	font-weight: 300;
	margin: 0;
	padding: 0;
	display: inline;
	vertical-align: middle;
}
.titleDivider {
	display: inline-block; 
	padding: 0 0.2em; 
	color: #bbb;
}
.dayStatusBar {
	background: #c0c2c7;
	line-height: 2.5em;
	padding: 0 1px;
}
.dayStatusBar::before {
    box-shadow: 0 1px 1px #555;
    width: 100%;
    height: 1px;
    content: "";
    display: block;
    margin-top: -1px;
}
.dayCounters {
	display: none;
	float: left; 
	width: 300px; 
	margin-left: 30px;
}
a.dayCounterItem {
	display: inline-block; 
	background: #697497; 
	width: 21px; 
	height: 22px;
	line-height: 1.3em; 
	border-radius: 11px;  
	margin-right: 2px;
	padding-right: 1px;
	text-align: center; 
	color: #fff; 
	text-decoration: none;
}
a.dayCounterItem:hover {
	background: #414d74;
}
a.dayCounterItem.selected {
	background: #fff;
	color: #697497;
}
.dayStage {
	float: left; 
    margin-left: 27px;
    padding: 0.45em 0 0.55em;
	line-height: 1.4em;
}
.dayStage .titleDivider {
    color: #eee;
}
.topBarDayIndicator {
	margin-right: 12px;
}
main {
	padding: 25px 29px 29px;
	min-height: 400px;
}
#mapRouteContainer {
	width: 302px; 
	height: 302px; 
	margin: 0 auto 20px;
}
#mapDivContainer {
	position: relative; 
	width: 302px; 
	height: 302px; 
	background: #666;
	box-shadow: 1px 1px 1px #ccc;
}
#mapDiv {
	position: absolute; 
	top: 0; 
	left: 0; 
	z-index: 80;
	width: 300px; 
	height: 300px; 
	border: 1px solid #888;
	overflow: hidden;
}
img#mapImageDisplay {
	position: absolute; 
	top: 0; 
	left: 0; 
	z-index: 1;
}
#mapDivBlackout {
	position: absolute; 
	top: 2px; 
	left: 2px; 
	width: 300px; 
	height: 300px; 
	display: none; 
	background: #666; 
	z-index: 1000;
}
#mapLoading {
	position: absolute; 
	top: 2px; 
	left: 2px; 
	width: 300px; 
	height: 200px; 
	background: #666; 
	z-index: 1000; 
	opacity: 0.8; 
	filter: alpha(opacity=80); 
	text-align: center; 
	padding-top: 100px; 
	color: #fff;
}
#commentaryContainer {
	color: #484848;
    line-height: 1.6em;
    padding: 0;
}
#commentaryContainer p {
	line-height: 1.55em;
    margin: 0.8em 0;
}
#commentaryContainer p strong {
	font-style: italic;
	font-weight: 400;
	font-size: 110%;
	color: #484747;
	line-height: 1.55em;
}
#commentaryContainer p em {
	font-style: italic;
}
#overviewMapContainer {
	float: right; 
	width: 170px;
	height: 170px;
    margin: 0 0 20px 20px;
	border: 1px solid #aaa;
	background: #f4f4f4;
}
a.navTextButton, a.switchDayViewLink {
	background: #697497 none repeat scroll 0 0;
    border-radius: 4px;
    color: #f4f4f4;
    display: inline-block;
    margin: 3px 20px 0 0;
    padding: 5px 15px 8px 12px;
    text-decoration: none;
}
a.navTextButton:hover {
	background: #414d74;
    color: #fff;
}
.dayStage .navTextButton {
	font-size: 90%;
	line-height: 1.1em;
	margin-right: 8px;
	padding-top: 3px;
	padding-bottom: 4px;
}

img { border: 0; }
p#jumpMenu {
	width: 302px; 
	margin-top: 3px; 
	padding-top: 8px; 
	line-height: 0.3em; 
	border-top: 1px solid #999;
}
#inStageNavigation {
	margin-top: 20px;
}

/* jQuery overrides */

#lightbox-container-image-box {
    border-radius: 8px 8px 0 0;
}
#lightbox-container-image-data-box {
    border-radius: 0 0 8px 8px;
    font: 0.75em/1.6em Arial,Helvetica,sans-serif;
}
#lightbox-image-details {
    color: #555;
	line-height: 1.3em;
    margin-bottom: 6px;
}
#lightbox-image-details-currentNumber {
    color: #888;
    font-size: 90%;
	padding: 3px 0 0;
}

/* glightbox overrides */

.goverlay {
	background: rgba(0,0,0,.65);
}
.glightbox-clean .gslide-media {
	border: 3px solid #fff;
	border-bottom: none;
}
.glightbox-clean .gslide-description {
	background: #ddd;
	border-radius: 0 0 12px 12px;
	border: 3px solid #fff;
	border-top: none;
}
.glightbox-clean .gdesc-inner {
	padding-top: 18px;
}
.glightbox-clean .gslide-desc {
	font-size: 1em;
	font-family: inherit;
}

/* Home page styles */

header.home {
	background: url(/images/header_home.jpg) top left no-repeat;
	height: auto;
}
main.home {
	position: relative;
	padding-top: 6px;
}
main.home #mapRouteContainer {
	width: 480px;
	margin-right: 0;
    right: 16px;
	display: none;
}
main.home #commentaryContainer {
	margin-right: 0;
	margin-left: 0;
	padding-top: 18px;
}
.routeMapContainer {
	float: left;
	margin-left: 20px;
	position: relative; 
	width: 480px; 
}
img#routeMap {
	position: absolute; 
	top: 0; 
	left: 0; 
	z-index: 10;
}
.routeMapRollover {
	position: absolute; 
	top: 26px; 
	right: 14px; 
	width: 270px; 
	height: 360px; 
	z-index: 1;
}
.routeMapRollover h3 {
	font-size: 110%; 
	color: #fff; 
	text-align: right;
	background: none !important;
}
.note {
	color: #55727d;
	font-style: italic;
	font-weight: bold;
}
#mapster_wrap_0 {
	z-index: 10;
}
.routeMapRolloverContainer {
	width: 121px; 
	height: 225px; 
	margin: 0; 
	padding: 135px 17px 0 132px;
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 90%; 
	color: #fff; 
	text-align: right;
}
.routeMapRolloverContainerDefault {
	width: 121px; 
	height: 340px; 
	background: url(/images/route_map_rollover_00.png) top right no-repeat; 
	margin: 0; 
	padding: 20px 17px 0 132px;
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 90%; 
	color: #777; 
	text-align: right;
	font-style: italic;
}
.routeMapLegTitle {
	font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
    font-size: 140%; 
	font-weight: normal; 
	line-height: 1.2em; 
	margin: 0;
}
.routeMapLegDate {
	margin-left: 16px; 
	margin-top: 10px;
	border-top: 1px solid #b5b5b5; 
	line-height: 2.4em;
}
.routeMapLegView {
	margin-left: 24px; 
	border-top: 1px solid #b5b5b5; 
	line-height: 2.4em;
}
.homeActionButton {
	text-align: center;
}
.homeMobileJumpMenu {
	background: #697497; 
	color: #f4f4f4; 
	padding: 4px 8px 10px; 
	border-radius: 6px; 
	box-shadow: 0 2px 2px #ccc;
}
.homePageContentHeader {
	font-size: 180%;
	font-weight: 400;
	font-style: italic;
	line-height: 2.1rem;
	color: #666;
}
#commentaryContent ul {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	list-style-type: disc;
}
#commentaryContent li {
	margin: 0.3em 0 0.3em 1.2em;
}

/* Clearfix */

.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}

/* End clearfix */


/* Lightbox2 overrides */

.lightboxOverlay {
    background-color: #333;
    opacity: 0.7;
}
.lb-outerContainer {
    border-radius: 4px 4px 0 0;
}
.lb-dataContainer {
    background: #ddd none repeat scroll 0 0;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    padding: 8px 0 12px;
}
.lb-data .lb-details {
    padding-left: 6px;
}
.lb-data .lb-caption {
    font-weight: normal;
	color: #444;
	font-size: 90%;
}
.lb-data .lb-number {
    color: #777;
    padding-bottom: 0;
    padding-top: 3px;
}
.lb-data .lb-closeContainer {
	padding-right: 5px;
}
	
/* End Lightbox2 overrides */


@media only screen and (min-width: 470px) {
	
	header {
		height: 87px;
	}
	header h1 {
		font-size: 240%;
		letter-spacing: -0.02em; 
		line-height: 1.3em;
	}
	header h1 a {
		margin-top: 0;
		padding: 0 0 0 48px; 
		background: url(/images/icon_round_britain.png) 0 8px no-repeat;
	}
	header.home h1 a {
		background-image: url(/images/icon_round_britain_white.png);
	}

	
}


@media only screen and (min-width: 720px) {
	
	header h1 {
		float: left;
		width: auto;
		font-size: 205%; 
		padding-left: 20px;
    	padding-top: 18px;
	}
	header h1 a {
		padding: 0 0 0 40px; 
		background: url(/images/icon_round_britain_small.png) 0 6px no-repeat;
	}
	header.home h1 a {
		background-image: url(/images/icon_round_britain_small_white.png);
	}
	header h2 {
		display: block;
	}
	header.home h2 {
		padding-bottom: 14px;
	}
	#mapRouteContainer {
		position: absolute;
		z-index: 80;  
		margin-right: 20px; 
	}
	#commentaryContainer {
		float: left;
		margin-left: 330px;
	}
	#mobileNavBtn {
		display: none;
	}
	#mobileNav {
		display: none;
	}
	#jumpToLegForm {
		display: block;
	}
	.dayCounters {
		display: block;
	}
	
}


@media only screen and (min-width: 900px) {
	
	div.fixedWidth {
    	min-width: 900px;
	}
	header {
		height: 96px;
	}
	header h1 {
		float: left; 
		margin: 0;
		width: auto;
		font-size: 260%; 
		letter-spacing: -0.02em; 
	}
	header h1 {
		font-size: 260%;
	}
	header.home h1 {	
		padding-top: 36px;
	}
	header h1 a {
		background: url(/images/icon_round_britain.png) 6px 11px no-repeat;
		padding-left: 53px;
	}
	header.home h1 a {
		background-image: url(/images/icon_round_britain_white.png);
	}
	header h2 {
		background: url(/images/logo_cb_com.png) top right no-repeat; 
		width: 354px; 
		height: 46px; 
		margin-top: 28px;
	}
	header.home h2 {
		background-image: url(/images/logo_cb_com_white.png); 
		margin: 50px 28px 34px 0;
	}
	.legTitle {
		font-size: 140%;
	}
	header.home .legTitle {
		font-size: 140%;
	}
	main.home #mapRouteContainer {
		display: block;
	}
	main.home #commentaryContainer {
		float: left;
		margin-right: 480px;
	}
	.homeActionButton {
		text-align: left;
	}
	.homeMobileJumpMenu {
		display: none;
	}
	
}


