/*********************************************
CSS for the  timeline plugin
*********************************************/




/*********************************************
 Timeline (Shortcode) 
*********************************************/


/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}



/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  /* background-color: lightsteelblue; */
  background-color: #37474f;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.timeline_container {
	padding: 10px 40px;
	position: relative;
	background-color: inherit;
	width: 50%;
}

/* Rahmen um den content */
.timeline_container .content{
	border-style: solid;
	border: 2px solid #37474f; /* lightsteelblue; */
	margin: -2px;
}

/* The circles on the timeline */
.timeline_container::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 25px;
  right: -13px;
  background-color: #246126;
  border: 4px solid #c1ff7a;
  top: 18px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the container to the left */
.timeline_left {
  left: 0;
  /* text-align: right; */
}

/* Place the container to the right */
.timeline_right {
  left: 50%;
}



/* Add arrows to the left container (pointing right) */
.timeline_left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid #37474f; /* lightsteelblue; */
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #37474f; /* lightsteelblue; */
}

/* Add arrows to the right container (pointing left) */
.timeline_right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid #37474f; /* lightsteelblue; */
  border-width: 10px 10px 10px 0;
  border-color: transparent #37474f transparent transparent;
}

/* Fix the circle for containers on the right side */
.timeline_right::after {
  left: -13px;
}

/* The actual content */
.content {
  padding: 10px 10px;
  background-color: rgb(0,0,0,0.3);
  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 {
    left: 31px;
  }

/* Full-width containers */
  .timeline_container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  

/* Make sure that all arrows are pointing leftwards */
  .timeline_container::before {
    left: 60px;
    border: medium solid #37474f;
    border-width: 10px 10px 10px 0;
    border-color: transparent #37474f transparent transparent;
  }

/* Make sure all circles are at the same spot */
  .timeline_left::after, .timeline_right::after {
    left: 19px;
  }

/* Make all right containers behave like the left ones */
  .timeline_right {
    left: 0%;
  }
}




.timeline_header {
	/* min-height: 52px; */
	min-height: 20px; 
	border: #339F55;
	/* border-width: 1px; */
	/* border-style: solid; */

	margin: 0;
	padding: 0;
	line-height: 1.2rem;
}

.timeline_title {
	color: #d32f2f;
	text-shadow: 2px 2px 3px #000000;
	margin-top: 0px;
	margin-bottom: 2px;
	font-size: 1.5em;
	
	float:left;	
}
.timeline_subtitle {
	color: #263238;
	font-weight: 400;
	margin-top: 0px;
	margin-bottom: 0px;
	font-size: 1.3em;
	font-variant-caps: petite-caps;
	
	text-align: right;
}

.timeline_body{
	clear: both;
}

/* .inhabitant > div > div > .timeline_title{
	color: #ff9800;
	background-color: #555555;
	border-color: black;
	border-width: 2px;
} */

.inhabitant .content{
	/* color: lime; */
	background-color: #ff980066;
	/* border-color: black; */
	/* border-width: 2px; */
	/* border-style: solid; */
}

/* .inhabitant .timeline_title{
	color: lime;
	background-color: #555555;
	border-color: black;
	border-width: 2px;
} */


/*
.inhabitant::after {
  font-family: "FontAwesome";
  font-size: 2em;
  content: '\f015';
  position: absolute;
  width: 40px;
  height: 40px;
  right: -13px;
  background-color: #246126;
  border: 4px solid #c1ff7a;
  top: 18px;
  border-radius: 10%;
  z-index: 1;

}
*/


.test_icon:after {
    font-family: "FontAwesome";
    content: "\f105";
    position: absolute;
    right: 8px;
}

/* Symbols on the timeline - instead of normal circles */
.iconbox::after {
	content: '';
	position: absolute;
	width: 52px;
	height: 52px;
	right: -26px;
	/* left: -26px; */
	top: 7px;
	border-radius: 15%;
	border: 4px solid #37474f;
	z-index: 1;
}
/* Fix the circle for containers on the right side */
.timeline_right::after {
  left: -26px;
}

.div_icon {
	/* position: absolute; */
	position: relative;
	height: 0px;
	/* text-align: right; */
	text-align: center;
	font-size: 2.1em;
    width: 46px;
	/* top: -1px; */
	/* left: -60px; */
	top: -12px;
	left: 72px;
	z-index: 2;
	float: right;
}
.timeline_right .div_icon{
	/* text-align: left; */
	text-align: center;
	left: -72px;
	float: left;
}

.single_icon {
    font-size: 1.6em;
}

.anniversary .div_icon 	{	/* color: blue; */				}
.anniversary .content 	{ 	background-color: #4caf5066;	}
.anniversary::after 	{  	background-color: #4caf50;		}

.management .div_icon 	{	/* color: blue; */				}
.management .content 	{ 	background-color: #2196f366;	}
.management::after 		{  	background-color: #2196f3;		}

.inhabitant .div_icon 	{	/* color: white; */				}
.inhabitant .content	{	background-color: #ff980066;	}
/* Anpassungen für Einwohner */
.inhabitant .timeline_body	{ display:none;		}


.inhabitant::after 		{  	background-color: #ff9800;		}

.danger .div_icon 		{	/* color: blue; */				}
.danger .content 		{ 	background-color: #f4433666;	}
.danger::after 			{  	background-color: #f44336;		}

.create .div_icon 		{	/* color: blue; */				}
.create .content 		{ 	background-color: #8bc34a66;	}
.create::after 			{  	background-color: #8bc34a;		}

.event .div_icon 		{	/* color: blue; */				}
.event .content 		{ 	background-color: #00bcd466;	}
.event::after 			{  	background-color: #00bcd4;		}

.business .div_icon 	{	/* color: blue; */				}
.business .content 		{ 	background-color: #9e9e9e66;	}
.business::after 		{  	background-color: #9e9e9e;		}


/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {

	/* Make sure all circles are at the same spot */
	.timeline_left::after, .timeline_right::after {
		left: -19px;
	}

	/* Make all right containers behave like the left ones */
	.timeline_right {
		left: 0%;
	}
  
  
	/* Symbols on the timeline - instead of normal circles */
	.iconbox::after {
		left: 5px;
	}
   
	.div_icon {
		/* position: relative; */
		/* height: 0px; */
		/* text-align: left; */
		/* font-size: 2.1em; */
		/* top: -20px; */
		left: -72px;
		float: left;
	}
	.timeline_right .div_icon{
		/* text-align: left; */
		left: -72px;
	}
}


/* Links der Container zu den Beiträgen */
.timeline_header a, 
.div_icon a{
  color:inherit;
  text-decoration: inherit;
}

.timeline_container a:hover,
.timeline_container a:focus{
  color: red;
  text-decoration: inherit;
  
}

.timeline_container  a:hover .content{
	border-style: solid;
	border: 2px solid red;
    margin: -2px;
}

.mark{
	background: #ff0;
    color: #000;
	padding: .2em
}


/* Drucken */
@media print {  
  .timeline_body{
	background-image: none;
    background-color: rgba(255,255,255,0.5);
    color: black;
  }
  .main-container{
	  background-color: white;
  }
  
  .timeline_title {
	color: #000000;
  }
  
  .timeline_subtitle {
    color: #333333;
  }  
}