/*--CSS Document----------------------------------*/
/*------------------------------------------------*/
/*      Autor:	Damjan Gataric                    */
/*      damjan.gataric@etondigital.com            */
/*      EtonDIGITAL | http://www.etondigital.com  */
/*------------------------------------------------*/


ul, li, p, a, img {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
}
h1, h2, h3, h4, h5 {
	font-family: Arial, Helvetica, sans-serif;
	color: #000;
	margin: 0;
	padding: 0;
}


body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 62.5%;
	margin: 0;
	background: #004054;
	padding-top: 18px;
}


.hidden {
	display: none;
}
.left {
	float: left;
}
.right {
	float: right;
}
.center {
	margin-left: auto;
	margin-right: auto;
}


/*---containers-------------------------------------------------------------*/

#container {
	width: 780px;
	margin: 0 auto 50px;
	font-size: 1.2em;
	line-height: 1.4em;
	background: url(images/container-bg.png) no-repeat bottom;
}
#content {
	height: 563px;
	width: 780px;
	overflow: hidden;
	position: relative;
	padding-top: 100px;
	margin-top: -100px;
}
#overlay {
	position: absolute;
	left: 0;
	top: 100px;
	right: 0;
	border: 0;
	width: 100%;
	height: 728px;
	z-index: 10000;
	background: url(images/blank.gif);
	/*margin-top: 100px;*/
}

/*---header----------------------------------------------------------------*/

#header {
	margin-bottom: 4px;
}
#header h1 {
	float: right;
	margin-top: 65px;
	background: url(images/royal-society.png) no-repeat;
	width: 193px;
	height: 13px;
	text-indent: -9000px;
}
#header h1 a {
display: block;
width: 193px;
height: 13px;
}
#header #logo {
	float: left;
	width: 66px;
	height: 78px;
	background: url(images/350-years.png);
	text-indent: -9000px;
}
#header img {
	clear: both;
	margin-top: 18px;
}


/*---timeline---------------------------------------------------------------*/

#timeline {
	width: 6240px;
	position: absolute;
}

#timeline div {
	width: 780px;
	height: 383px;
	background: #CC9;
	float: left;
	position: relative;
}
#timeline div.period-1 {
	background: url(images/period-1-bg.png) no-repeat;
	position: relative;
}
#timeline div.period-2 {
	background: url(images/period-2-bg.png) no-repeat;
	position: relative;
}
#timeline div.period-3 {
	background: url(images/period-3-bg.png) no-repeat;
	position: relative;
}
#timeline div.period-4 {
	background: url(images/period-4-bg.png) no-repeat;
	position: relative;
}
#timeline div.period-5 {
	background: url(images/period-5-bg.png) no-repeat;
	position: relative;
}
#timeline div.period-6 {
	background: url(images/period-6-bg.png) no-repeat;
	position: relative;
}
#timeline div.period-7 {
	background: url(images/period-7-bg.png) no-repeat;
	position: relative;
}
#timeline div.period-8 {
	background: url(images/period-8-bg.jpg) no-repeat;
	position: relative;
}

#timeline span.bg-description {
	color: #fff;
	position: absolute;
	top: 10px;
	left: 10px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: normal;
}

/*---event-----------------------------------------------------------------*/

#timeline div.event {
	width: 28px;
	height: 28px;
	position: absolute;
	background: none;
	display: none;	/* hide before pressing Start button, for Non-JS version alternative should be provided */
}

#timeline div.event.decade-1 {
	left: 24px;
}
#timeline div.event.decade-2 {
	left: 102px;
}
#timeline div.event.decade-3 {
	left: 180px;
}
#timeline div.event.decade-4 {
	left: 258px;
}
#timeline div.event.decade-5 {
	left: 336px;
}
#timeline div.event.decade-6 {
	left: 414px;
}
#timeline div.event.decade-7 {
	left: 492px;
}
#timeline div.event.decade-8 {
	left: 570px;
}
#timeline div.event.decade-9 {
	left: 648px;
}
#timeline div.event.decade-10 {
	left: 726px;
}
body.page #timeline div.event.decade-8 span.infoBox, body.page #timeline div.event.decade-9 span.infoBox, body.page #timeline div.event.decade-10 span.infoBox {
	right: 10px;
	left: auto;
}

#timeline div.event.rightPosition a span.infoBox {
	right: 10px;
	left: auto;
}

#timeline div.event.vertical-1 {
	bottom: 50px;
	z-index: 50;
}
#timeline div.event.vertical-2 {
	bottom: 88px;
	z-index: 40;
}
#timeline div.event.vertical-3 {
	bottom: 126px;
	z-index: 30;
}
#timeline div.event.vertical-4 {
	bottom: 164px;
	z-index: 20;
}
#timeline div.event.vertical-5 {
	bottom: 202px;
	z-index: 10;
}
#timeline div.event.vertical-5 span.infoBox {
	bottom: -80px;
	left: 30px;
}

#timeline div.event a {
	position: relative;
	display: block;
	width: 28px;
	height: 28px;
	text-decoration: none;
	color: #000;
}
#timeline div.event a.scientificEvent {
	background: url(images/scientific-event.png) no-repeat top;
}
#timeline div.event a.scientificEvent:hover {
	background: url(images/scientific-event.png) no-repeat center;
}
#timeline div.event a.scientificEvent.highlight {
	background: url(images/scientific-event.png) no-repeat bottom;
}
#timeline div.event a.scientificEvent.highlight {
	background: url(images/scientific-event.png) no-repeat bottom;
}
#timeline div.event a.scientificEvent.highlight:hover {
	background: url(images/scientific-event.png) no-repeat center;
}

#timeline div.event a.historicEvent {
	background: url(images/historic-event.png) no-repeat;
}

#timeline div.event a span.infoBox {
	background: url(images/infobox-s-bottom-bg.png) bottom no-repeat;
	display: none;
	position: absolute;
	z-index: 10000;
	bottom: 23px;
	left: 10px;
	padding: 0 0 10px 0;
	width: 203px;
	cursor: default;
}
#timeline div.event a:hover span.infoBox {
	display: block;
}
#timeline div.event a.historicEvent span.infoBox {
	background: url(images/infobox-h-bottom-bg.png) bottom no-repeat;
}

#timeline span.infoBox img {
	margin: 0 10px;
}
#timeline span.infoBox span.date {
	background: url(images/infobox-s-top-bg.png) top no-repeat;
	height: 8px;
	width: 183px;
	display: block;
	margin-top: -26px;
	padding: 10px 10px 8px 10px;
	font-weight: bold;
	font-size: 9px;
	line-height: 9px;
}
#timeline div.event a.historicEvent span.infoBox span.date {
	background: url(images/infobox-h-top-bg.png) top no-repeat;
}
#timeline span.infoBox strong.title {
	display: block;
	color: #bd0e2b;
	margin: 0 10px 10px 10px;
}
#timeline div.event a.historicEvent span.infoBox strong.title {
	color: #000;
}
#timeline span.infoBox span.credit {
	display: block;
	font-size: 0.75em;
	color: #666666;
	margin: 2px 10px;
}
#timeline span.infoBox span.description {
	display: block;
	font-size: 0.8em;
	margin: 0 10px;
}
#timeline div.event a.scientificEvent span.infoBox span.description {
	color: #bd0e2b;
	text-decoration: underline;
	cursor: pointer;
}

#timeline div.event span.infoBox span.warning {
	border-top: 1px solid #aaa;
	display: block;
	font-size: 10px;
	line-height: 12px;
	color: #bd0e2b;
	padding-top: 3px;
	margin: 3px 10px 0;
}


/*---panel-----------------------------------------------------------------*/

#panel {
	height: 78px;
	background: url(images/panel-bg.png) no-repeat bottom;
	cursor: default;
}

#panel a {
	color: #2a2a2a;
	text-decoration: none;
	cursor: pointer;
}
#panel a:hover {
	color: #000;
}

#panel a.controlBack {
	display: inline;
	float: left;
	margin-top: 6px;
	padding-top: 23px;
	background: url(images/control-back.png) no-repeat top center;
	width: 84px;
	height: 25px;
	text-align: center;
	font-weight: bold;
	font-size: 10px;
	line-height: 11px;
}
#panel a.controlForward {
	display: inline;
	float: left;
	margin-top: 6px;
	padding-top: 23px;
	background: url(images/control-forward.png) no-repeat top center;
	width: 84px;
	height: 25px;
	text-align: center;
	font-weight: bold;
	font-size: 10px;
	line-height: 11px;
}
#panel a.controlBack:hover {
	background-position: bottom;
}
#panel a.controlForward:hover {
	background-position: bottom;
}
#panel a.controlBack span, #panel a.controlForward span {
	display: block;
	font-size: 9px;
}
#panel a.inactive:hover {
	background-position: top;
	color: #2a2a2a;
}

#panel dl.legend {
	float: left;
	width: 150px;
	padding: 0;
	margin: 12px 10px;
	font-size: 10px;
}
#panel dl.legend dt {
	float: left;
	font-weight: bold;
	color: #2a2a2a;
}
#panel dl.legend dd {
	background: left no-repeat;
	float: right;
	width: 97px;
	height: 14px;
	line-height: 14px;
	margin: 2px 0;
	padding-left: 17px;
}
#panel dl.legend dd.scientific {
	background-image: url(images/legend-scientific-event.png);
}
#panel dl.legend dd.historic {
	background-image: url(images/legend-historic-event.png);
}

#panel form {
	margin: 15px 0 0 14px;
	padding: 0;
	float: left;
	width: 290px;
	height: 50px;
}
#panel form label {
	font-size: 10px;
	line-height: 12px;
	display: block;
	float: left;
	width: 95px;
}
#panel select {
	margin-left: 5px;
}

#panel #commentaryList {
	width: 170px;
	height: 20px;
	position: relative;
	float: left;
	display: inline;
	margin-left: 10px;
	margin-top: 2px;
}
#panel #commentaryList ul {
	list-style: none;
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: 20px;
	z-index: 5000;
	display: none;
}
#panel #commentaryList ul li {
	float: left;
	clear: left;
	width: 170px;
}
#panel #commentaryList ul a {
	display: block;
	height: 20px;
	line-height: 20px;
	text-indent: 10px;
	background: #999 url(images/commentary-item.png) no-repeat top;
	color: #fff;
	font-size: 10px;
}
#panel #commentaryList ul a:hover {
	background-position: bottom left;
}
#panel #commentaryList #allCategories {
	display: block;
	background: url(images/commentary-all.png) no-repeat top;
	width: 170px;
	height: 20px;
	line-height: 20px;
	text-indent: 10px;
	color: #fff;
	font-size: 10px;
}
#panel #commentaryList #allCategories:hover, #panel #commentaryList #allCategories.active {
	background-position: bottom left;
}

#panel a.downloadCommentaries {
	float: left;
	width: 83px;
	height: 37px;
	margin: 12px 8px 0;
	padding-left: 39px;
	background: url(images/download-commentaries.png) 0 3px no-repeat;
	font-size: 9px;
	font-weight: bold;
	line-height: 12px;
}
#panel a.downloadCommentaries:hover {
	background-position: left bottom;
}

#panel a.downloadCommentaries.inactive:hover {
	background-position: 0 3px;
	color: #2a2a2a;
}


/*---buttons---------------------------------------------------------------*/

#buttons {
	width: 780px;
	height: 33px;
	clear: both;
}

#buttons #help-box {
	display: inline;
	background: url(images/help-ico.png) left no-repeat;
	padding: 0 0 0 29px;
	height: 22px;
	line-height: 22px;
	color: #f3f6f7;
	float: left;
	margin: 10px 20px 0;
	text-decoration: none;
}

#buttons div.font {
	float: right;
	color: #f3f6f7;
	margin: 10px 20px 0;
	display: inline;
}
#buttons div.font span {
	float: left;
	margin: 0 12px 0 0;
	height: 22px;
	line-height: 22px;
}
#buttons div.font a {
	float: left;
	width: 22px;
	height: 22px;
	text-indent: -9000px;
	margin: 0 9px 0 0;
}
#buttons div.font a:hover, #buttons div.font a.active {
	background-position: left bottom;
}
#font-small {
	background: url(images/font-s.png) left top no-repeat;
}
#font-medium {
	background: url(images/font-m.png) left top no-repeat;
}
#font-large {
	background: url(images/font-l.png) left top no-repeat;
}


#popupFontSize {
	position: absolute;
	bottom: 16px;
	right: 23px;
}
#popupFontSize span {
	float: left;
	margin: 0 12px 0 0;
	height: 22px;
	line-height: 22px;
	display: none;
}
#popupFontSize a {
	float: left;
	width: 22px;
	height: 22px;
	text-indent: -9000px;
	margin: 0 9px 0 0;
}
a.popup-font-small {
	background: url(images/popup-font-s.png) left top no-repeat;
}
a.popup-font-medium {
	background: url(images/popup-font-m.png) left top no-repeat;
}
a.popup-font-large {
	background: url(images/popup-font-l.png) left top no-repeat;
}
#popupFontSize a:hover, #popupFontSize a.active {
	background-position: left bottom;
}

/*---footer----------------------------------------------------------------*/

#footer {
	width: 100%;
	height: 25px;
	background: #bd0e2b;
	position: absolute;

}
#footer p {
	width: 780px;
	height: 25px;
	margin: 0 auto;
	line-height: 25px;
	color: #fff;
	text-align: right;
}
#footer p a {
	float: left;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}
#footer p a:hover {
	text-decoration: underline;
}


/*---slider ui-------------------------------------------------------------*/

div#sliderWrap {	
	width: 733px;
	height: 19px;
	padding: 0px 0px 0px 47px;
	background: url(images/slider-handle.png) left bottom no-repeat;   /* For Non-JS version */
}
div.ui-slider-horizontal {
	position: relative;
	width: 683px;
	height: 19px;
}

#slider a.ui-slider-handle {
	display: block;
	background: url(images/slider-handle.png) bottom no-repeat;
	width: 98px;
	height: 18px;
	position: absolute;
	margin-left: -47px;
	top: 1px;
}
#slider a.ui-slider-handle.ui-state-hover, a.ui-slider-handle.ui-state-active {
	background-position: bottom;
}

#introBox div.sliderVerticalWrap {
	float: right;
	width: 10px;
	height: 102px;
	padding-top: 65px;
	background: #ccc;
	display: none;	/* this value is for Non-JS version, for JS version is "block" */
}
#introBox div.sliderVertical {
	background: #ccc;
	width: 10px;
	height: 102px;
	position: relative;
}
#introBox div.sliderVertical a.ui-slider-handle {
	width: 10px;
	height: 65px;
	background: #999;
	display: block;
	position: absolute;
	outline: none;
}

#commentaryBox div.sliderVerticalWrap {
	float: left;
	width: 10px;
	height: 115px;
	padding-top: 65px;
	background: #ccc;
	display: none;	/* this value is for Non-JS version, for JS version is "block" */
}
#commentaryBox div.sliderVertical {
	background: #ccc;
	width: 10px;
	height: 115px;
	position: relative;
}
#commentaryBox div.sliderVertical a.ui-slider-handle {
	width: 10px;
	height: 65px;
	background: #999;
	display: block;
	position: absolute;
	outline: none;
}


/*---intro box-----------------------------------------------------------------------*/

#introBox {
	width: 564px;
	height: 262px;
	background: url(images/intro-box-bg.png) no-repeat;
	margin: 130px auto 0;
	padding: 23px;
	position: relative;
}

#introBox h3 {
	color: #bd0e2b;
	font-size: 2em;
}
#introBox h4 {
	font-size: 1.2em;
	margin-top: 1px;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #999;
}
#introBox div.viewContent {
	overflow: auto;	/* this vaule is for Non-JS version, for JS version is "hidden" */
	float: left;
	height: 167px;
	width: 559px;	/* this value is forNon-JS version, for JS version is "540px" */
	position: relative;
}
#introBox div.content {
	position: absolute;
	display: none;
	font-size: 12px;
}
#introBox div.content.active {
	position: absolute;
	display: block;
}
#introBox div.content p {
	margin-bottom: 7px;
	line-height: 1.4em;
}
#introBox div.content.active p {
	width: 90%;
}

#introBox a.startButton {
	float: left;
	height: 28px;
	background: url(images/start-button.png) no-repeat top left;
	padding-left: 30px;
	line-height: 28px;
	font-size: 1.6em;
	font-weight: bold;
	text-decoration: none;
	color: #333;
	margin-top: 10px;
	margin-right: 25px;
}
#introBox a.helpButton {
	float: left;
	height: 28px;
	background: url(images/help-button.png) no-repeat top left;
	padding-left: 30px;
	line-height: 28px;
	font-size: 1.6em;
	font-weight: bold;
	text-decoration: none;
	color: #333;
	margin-top: 10px;
}
#introBox a.startButton:hover, #introBox a.helpButton:hover {
	background-position: bottom left;
	color: #000;
}
#introBox a.helpButton.intro {
	float: left;
	height: 28px;
	background: url(images/intro-button.png) no-repeat top left;
	padding-left: 30px;
	line-height: 28px;
	font-size: 1.6em;
	font-weight: bold;
	text-decoration: none;
	color: #333;
	margin-top: 10px;
}
#introBox a.helpButton.intro:hover {
	background-position: bottom left;
	color: #000;
}


/*---commentary box-------------------------------------------------------------*/

#commentaryBox {
	width: 610px;
	height: 308px;
	background: url(images/commentary-box-bg.png) bottom no-repeat;
	margin: 0 auto;
	position: relative;
	top: 130px;
	display: none;
}
#commentaryBox ul.tabs {
	list-style: none;
	margin: 0;
	padding: 0;
	height: 24px;
}
#commentaryBox ul.tabs li {
	float: left;
	margin: 0;
	padding: 0;
}

#commentaryBox ul.tabs a {
	display: block;
	height: 18px;
	padding: 6px 0 0;
	text-align: center;
	text-decoration: none;
	font-size: 1.2em;
	font-weight: bold;
	color: #666;
}
#commentaryBox ul.tabs a:hover {
	color: #333;
}
#commentaryBox ul.tabs a.informationTab {
	background: url(images/information-tab.png) no-repeat top;
	width: 291px;
}
#commentaryBox ul.tabs a.imagesTab {
	background: url(images/images-tab.png) no-repeat top;
	width: 290px;
}
#commentaryBox ul.tabs a.active {
	background-position: bottom;
	color: #666;
	cursor: default;
}
#commentaryBox ul.tabs a.closeTab {
	background: url(images/close-tab.png) no-repeat top;
	width: 29px;
	text-indent: -9000px;
	font-size: 0;
	line-height: 0;
	overflow: hidden;
}
#commentaryBox ul.tabs a.closeTab:hover {
	background-position: bottom;
}

#commentaryBox h3 {
	color: #bd0e2b;
	font-size: 1.5em;
	height: 2em;
	line-height:1em;
	border-bottom: 1px solid #999;
	margin: 1px 25px 10px;
}
#commentaryBox h4 {
	font-size: 1.2em;
	margin: 20px 25px 0;
}

#commentaryBox div.informationTab {
	display: none;
	margin: 0 25px;
	overflow: hidden;
}
#commentaryBox div.informationTab.active {
	display: block;
}
#commentaryBox div.viewContent {
	overflow: auto;	/* this vaule is for Non-JS version, for JS version is "hidden" */
	float: left;
	height: 180px;
	width: 279px;	/* this value is for Non-JS version, for JS version is "260px" */
	position: relative;
	margin-right: 15px;
}
#commentaryBox div.content {
	position: absolute;
	display: none;
	font-size: 12px;
}
#commentaryBox div.content.active {
	position: absolute;
	display: block;
	width: 97%;
}
#commentaryBox div.content p {
	margin-bottom: 7px;
}
#commentaryBox div.content p.disclaimer {
	margin-top: 1em;
	color: #BD0E2B;
}

#commentaryBox div.content p.ccl {
	font-size: 0.9em;
	margin: 9px 0 0;
	padding: 7px 0 0;
	border-top: 1px solid #aaa;
	color: #333;
}

#commentaryBox div.imagesTab {
	display: none;
	margin: 0 25px;
	overflow: hidden;
	font-size: 12px;
}
#commentaryBox div.imagesTab.active {
	display: block;
}
#commentaryBox div.imagesTab div.viewImage {
	overflow: auto;	/* this vaule is for Non-JS version, for JS version is "hidden" */
	float: left;
	height: 180px;
	width: 275px;	/* this value is for Non-JS version, for JS version is "260px" */
	position: relative;
	margin-right: 15px;
}
#commentaryBox div.imagesTab div.viewImage img {
	position: absolute;
}

#commentaryBox div.informationTab ul {
	float: right;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 112px;
	overflow: hidden;
	font-size: 11px;
}
#commentaryBox div.informationTab ul li {
	display: block;
	float: left;
	clear: left;
	margin-bottom: 10px;
}
#commentaryBox div.informationTab ul a {
	display: block;
	padding-left: 30px;
	padding-top: 10px;
	color: #000;
	text-decoration: none;
}
#commentaryBox div.informationTab ul a:hover {
	text-decoration: underline;
}
#commentaryBox div.informationTab ul a.printCommentary {
	background: url(images/print-commentary.png) left no-repeat;
}
#commentaryBox div.informationTab ul a.viewEvent {
	background: url(images/view-event.png) left no-repeat
}
#commentaryBox div.informationTab ul a.furtherInformation {
	background: url(images/further-information.png) left no-repeat;
}

#commentaryBox div.imagesTab img {
	float: left;
}
#commentaryBox div.imagesTab p.credit {
	float: right;
	width: 115px;
	margin-bottom: 10px;
	color: #666;
	font-size: 11px;
	font-family: Arial, Helvetica, sans-serif;
}
#commentaryBox div.imagesTab p.caption {
	float: right;
	width: 115px;
	margin-bottom: 10px;
	font-size: 11px;
}
#commentaryBox div.imagesTab a {
	float: right;
	width: 115px;
	color: #bd0e2b;
	text-decoration: underline;
}

#overlay #commentaryBox img.ajaxLoading {
	display: block;
	margin: 0 auto;
	padding-top: 100px;
	float: none;
}


/*---message box--------------------------------------------------------------------*/

#messageBox {
	background: url(images/message-box-bg.png);
	display: none;
	width: 289px;
	height: 149px;
	margin: 0 auto;
	padding: 20px;
	position: relative;
	top: 250px;
}
#messageBox h3 {
	color: #BD0E2B;
	font-size: 2em;
	border-bottom: 1px solid #999999;
	margin-bottom: 12px;
	padding-bottom: 5px;
}
#messageBox p {
	font-size: 12px;
	margin: 0 0 10px;
}
#messageBox a.continueButton {
	display: block;
	width: 80px;
	height: 28px;
	background: url(images/start-button.png) no-repeat top left;
	margin: 20px auto 0;
	padding-left: 30px;
	line-height: 28px;
	font-size: 1.6em;
	font-weight: bold;
	text-decoration: none;
	color: #333;
}
#messageBox a.continueButton:hover {
	background-position: bottom left;
	color: #000;
}


/*---Non-JS Version CSS-------------------------------------------------------------*/

body.page #introBox {
	display: none;
}
body.page #overlay {
	display: none;
}
body.page.commentary #overlay {
	display: block;
}
body.page.commentary #overlay #commentaryBox {
	display: block;
}
body.page #timeline div.event {
	display: block;
}



body.page #timeline div.period {
	display: none;
}
body.page #timeline div.period.active {
	display: block;
}




body.page-2 div#sliderWrap {
	background-position: 98px -71px;
}
body.page-3 div#sliderWrap {
	background-position: 195px -71px;
}
body.page-4 div#sliderWrap {
	background-position: 293px -71px;
}
body.page-5 div#sliderWrap {
	background-position: 391px -71px;
}
body.page-6 div#sliderWrap {
	background-position: 488px -71px;
}
body.page-7 div#sliderWrap {
	background-position: 585px -71px;
}
body.page-8 div#sliderWrap {
	background-position: 682px -71px;
}




