body #content {
    margin-top : -60px;
}

#cookie-message {
	z-index: -1; 
	position:relative;
}
/* Remove space between header and content*/
body.home #content {
margin-top: -100px;
}

/* Social media share buttons */
ul.share-buttons{
  list-style: none;
  padding: 0;
}

ul.share-buttons li{
  display: inline;
}

ul.share-buttons .sr-only{
  position: absolute;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Gradients for each era */
#informationage {
  background-image: linear-gradient(#474e5d, #ffffff, #474e5d);
}

#modernhistory {
  background-image: linear-gradient(#474e5d, #d4fb78,
#474e5d);
}

#goldenyears {
  background-image: linear-gradient(#474e5d, #daa520, #474e5d);
}


#renaissance {
  background-image: linear-gradient(#474e5d, #005392, #474e5d);
}

#middleages {
  background-image: linear-gradient(#474e5d, #f02d38, #474e5d);
}

#antiquity {
  background-image: linear-gradient(#474e5d, #000000, 
#474e5d)
}

figure {
  display: inline-block;
  margin: 0;
  position: relative;
	 z-index: 1;
}

figcaption {
  position: absolute;
  bottom: 1em;
  left: 0;
  background-color: #474e5d;
  width: 100%;
}

a {
text-decoration: none;
}

a:link {
color: Black;
border-bottom: 2px solid black;
}
a:hover {
    text-decoration: underline;
}

/* unvisited link */
a:link {
    color: #ffffff;
}
.menu {color: #ffffff !important;}

.entry-title {
   display: none;
}

.site-title a {
	color: #ffffff !important
	text-decoration: none;	
}

.site-title {
    font-size: 36px;
    color: #FFFFFF !important;
}
.site-description{
    font-size: 15px;
    font-style: italic;
    color: #FFFFFF;
}

h1.post-title {
	color: #FFFFFF;
}
* {
  box-sizing: border-box;
}

/* Set a background color */
body {
  background-color: #474e5d;
  font-family: Helvetica, sans-serif;
}

/* The actual timeline (background) */
.timeline {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
	border: 20px solid black;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background-color: gray;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.container {
  padding: 20px 30px;
  position: relative;
  background-color: inherit;
  width: 50%;
}


/* The circles on the timeline */
.container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -17px;
  background-color: gray;
  border: 4px solid #00FFE8;
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}
/* Place the container to the center */
.center {
	padding: 30px 30px;
  left: 25%;
	z-index:1;
	position:relative;
	top: 0px;
}
/* Fix the circle for containers in the center */
.center::after {
	 width: 25px;
  height: 25px;
	border: 4px solid #00FFE8;
	background-color: transparent;
	border: transparent;
	left: 168.5px;
	z-index: 1;
	position:absolute;
}
/* Place the container to the left */
.left {
  left: 0;
}

/* Place the container to the right */
.right {
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}


/* Add arrows to the right container (pointing left) */
.right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
  left: -16px;
}

/* The actual content */
.content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: 6px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
/* Place the timelime to the left */
  .timeline::after {
	 content: '';
  position: absolute;
		 width: 6px;
		 top: 0;
  bottom: 0;
    left: 31px;
  }

/* Full-width containers */
  .container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

/* Make sure that all arrows are pointing leftwards */
  .container::before {
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

/* Make sure all circles are at the same spot */
  .left::after, .right::after {
    left: 15px;
  }

/* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }
}
