html, body {
  font-family: "PT Sans", Verdana, Tahoma, "DejaVu Sans", sans-serif;
  overflow-x: hidden;
}

body#export {
  margin-top: 0 !important;
  background: #F1F2EE !important;
}

body#overlay {
  background: #fff !important;
  padding: 3%;
  width: 94%;
  margin-top: 0 !important;
  overflow-y: auto;
}

body#export #admin-menu, body#overlay #admin-menu {
	display: none !important;
}

h1 {
  font-size: 24px;
  font-size: 2.4rem;
  line-height: 30px;
  line-height: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 18px;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 20px;
  margin-bottom: 2rem;
}

h4 {
  font-weight: 400;
  margin-bottom: 0;
}

p {
  color: #666;
  font-family: "PT Sans Caption", Verdana, Tahoma, "DejaVu Sans", sans-serif;
}

header {
  margin-bottom: 50px;
  margin-bottom: 5rem;
}

#content {
  min-height: 800px;
}

img {
  max-width: 100%;
  border: 1px solid #000;
}

/* Embedded Timeline Styles */

.timeline-embed, .timeline-overlay {
  background: #F1F2EE;
  padding: 3%;
  position: relative;
  top: 0;
  left: 0;
  width: 94%;
  margin: 0;
}

.timeline-embed {
	height: 100%;
}

.timeline-overlay {
  background: #fff;
  height: auto;
  padding: 1% 3%;
  overflow: visible;
  width: 94%;
  margin: 0 auto;
}

.timeline-overlay .timeline-area {
	background: #F1F2EE;
	left: -3%;
	padding: 3%;
  position: relative;
  width: 100%;
  border: 1px solid #D8D9D3;
  margin: 0 auto;
}

.timeline-footer {
	padding: 42px 3% 84px;
	padding: 4.2rem 3% 8.4rem;
	margin: 0 auto;
	display: block;
	max-width: 600px;
}

.timeline-footer h1 {
	color: #999;
	font-size: 15px;
	font-size: 1.5rem;
	padding-left: 50px;
	height: 49px;
	background: url('../img/cern-logo-small.png') no-repeat left top;
	overflow: hidden;
	text-indent: -5000px;
	display: block;
}

.timeline-footer h1 span {
	padding-top: 4px;
	display: block;
}

.timeline-embed, .timeline-overlay .timeline-area {
/*
 -webkit-box-shadow: inset 0 0 3px rgba(0,0,0,0.1);
  box-shadow: inset 0 0 3px rgba(0,0,0,0.1);
*/
}

.timeline-area p {
  font-size: 12px;
  font-size: 1.2rem;
}

.timeline-area h1 {
  font-size: 18px;
  font-size: 1.8rem;
}

.timeline {
  height: 0;
  border-top: 3px solid #4d94cc;
  width: 93%;
  margin: 30px auto 40px;
  position: relative;
}

.time-events {
  border: none;
  position: relative;
  top: -42px;
  width: 86%;
  left: 7%;
  height: 0;
  z-index: 1;
}

.event > * {
	display: none;
}

.event {
  display: none;
  background: #222;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  color: #fff;
  padding: 8px 10px 10px;
  padding: 0.8rem 1rem 1rem;
  width: 200px;
  list-style: none;
  position: absolute;
  margin-left: -110px;
  bottom: 18px;
  bottom: 1.8rem;
  border: 1px solid #1c517a;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.event {
  opacity: 0;
}

.event h2 {
  color: #fff;
  margin: 0;
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1.3;
  display: block;
}

.event h4 {
  font-family: "PT Sans Caption", Verdana, Tahoma, "DejaVu Sans", sans-serif;
  margin-bottom: 0;
  font-size: 10px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-style: normal;
  color: #bbb;
  display: block;
}

.time-point {
  position: absolute;
  display: block;
  border: 2px solid #4d94cc;
  background: #F1F2EE;
  height: 4px;
  width: 4px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  top: -6px;
  margin-left: -4px;
  overflow: hidden;
  text-indent: -5000px;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

@media only screen and (min-width: 480px) {
	
	.time-point {
	  height: 8px;
	  width: 8px;
	  top: -8px;
	  margin-left: -8px;
	  border-width: 3px;
	}
	
}

.time-point:hover {
  background: #222;
  border-color: #222;
  z-index: 100 !important;
}

.time-point.on {
  background: #222;
  border-color: #222;
  height: 6px;
  width: 6px;
  top: -7px;
  margin-left: -8px;
  z-index: 100 !important;
}

@media only screen and (min-width: 768px) {
	
	.time-point.on {
		height: 10px;
		width: 10px;
		top: -9px;
		margin-left: -9px;
	}
	
}

.startyear, .endyear {
  position: absolute;
  bottom: -50px;
  bottom: -5rem;
  font-size: 11px;
  font-size: 1.1rem;
  left: -9px;
  width: 100px;
  text-align: left;
  font-family: "PT Sans Caption", Verdana, Tahoma, "DejaVu Sans", sans-serif;
  color: #000;
}

.endyear {
  left: auto;
  right: -9px;
  text-align: right;
}

/* Overlay Timeline Styles */

.full-events {
  position: relative;
  width: 100%;
  margin: 0;
  left: 0;
  height: auto;
  bottom: 0;
  z-index: 100;
}

.full-events .event {
  display: none;
  list-style: none;
  padding: 0;
  width: 100%;
  border: none;
  position: relative;
  color: #414141;
  background: none;
  margin: 0 auto;
  display: block;
  opacity: 0;
  bottom: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  max-width: 600px;
}

.event img, .event iframe {
  border: 1px solid #D8D9D3;
  margin-bottom: 21px;
  margin-bottom: 2.1rem;
}

.event p {
	margin: 0;
}

.event p + p {
	margin-top: 21px;
	margin-top: 2.1rem;
}

.timeline-overlay .full-events h2 {
  margin-top: 0;
  font-size: 30px;
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 21px;
  margin-bottom: 2.1rem;
  color: #414141;
}

.timeline-overlay .full-events h4 {
  margin: 0 auto 6%;
  position: relative;
  top: -24px;
  color: #fff;
  padding: 2px 0 0;
  opacity: 1;
  font-size: 11px;
  font-size: 1.1rem;
  width: 150px;
  z-index: 1;
  text-align: center;
}

.timeline-overlay .full-events .event > * {
  display: block;
}

.timeline-area .event p {
  color: #fff;
}

.timeline-embed .action {
  border: 1px solid #D8D9D3;
  border-bottom-color: #c6c6c6;
  border-radius: 5px;
  padding: 0.3em 0.8em 0.2em;
  font-size: 10px;
  float: right;
  position: relative;
  -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
  color: #666;
  text-decoration: none;
}

.timeline-embed .action:hover {
  background: rgba(255,255,255,0.7);
}

.timeline-embed .action:active {
  background: #fff;
}

.timeline-embed .action .ext {
	background-image: url('../img/fullscreen.png');
	background-repeat: no-repeat;
  background-position: right 0;
  padding-right: 20px;
}

@media only screen and (max-width: 767px) {

.timeline-embed .action {
	display: none;
}
	
}

/* Timeline Nav */

.timeline-nav {
	margin: 12% auto 0;
	height: 24px;
	line-height: 24px;
	width: 100%;
	position: relative;
	z-index: 100;
	background: #4d94cc;
	padding: 0 7%;
	left: -7%;
}

.timeline-nav:before {
  background: #4d94cc;
  content: "";
  border: 10px solid #4d94cc;
  height: 19px;
  width: 19px;
  border-radius: 50%;
  display: block;
  position: absolute;
  left: 50%;
  margin-left: -17px;
  top: -8px;
  text-indent: 0;
}

.timeline-nav a, .timeline-nav a:visited, .timeline-nav a:focus {
	color: #4d94cc;
	position: absolute;
	top: -8px;
	left: 3%;
	padding: 0;
	font-size: 28px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	text-decoration: none !important;
	background: #fff;
	border: 5px solid #4d94cc;
	height: 30px;
	width: 30px;
	border-radius: 50%;
	line-height: 27px;
	text-align: center;
	font-weight: 700;
}

.timeline-nav .timeline-later, .timeline-nav .timeline-later:visited, .timeline-nav .timeline-later:focus {
	right: 3%;
	left: auto;
	text-indent: 2px;
}

.timeline-nav a:hover, .timeline-nav a:active {
	background: #222;
	color: #fff;
	border-color: #222;
}

@media only screen and (min-width: 480px) {
	
	.timeline-nav {
		margin-top: 8%;
	}
	
	.timeline-overlay .full-events h4 {
	  margin-bottom: 8%;
	}
	
	.timeline-nav:before {
	  height: 30px;
	  width: 30px;
	  margin-left: -24px;
	  top: -14px;
	}
	
}

.ie6-8 .timeline-nav {
	margin: 8% auto 0;
}

.ie6-8 .time-point {
  height: 8px;
  width: 8px;
  top: -8px;
  margin-left: -8px;
  border-width: 3px;
}

.ie6-8 .timeline-nav a, 
.ie6-8 .timeline-nav a:visited, 
.ie6-8 .timeline-nav a:focus {
	line-height: auto;
}
