@font-face {
	font-family: 'icomoon';
	src:url('../fonts/timelineicons/icomoon.eot');
	src:url('../fonts/timelineicons/icomoon.eot?#iefix') format('embedded-opentype'),
		url('../fonts/timelineicons/icomoon.woff') format('woff'),
		url('../fonts/timelineicons/icomoon.ttf') format('truetype'),
		url('../fonts/timelineicons/icomoon.svg#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
} /* Made with http://icomoon.io/ */

/* General Blueprint Style */
@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);
@font-face {
	font-family: 'fontawesome';
	src:url('../fonts/fontawesome.eot');
	src:url('../fonts/fontawesome.eot?#iefix') format('embedded-opentype'),
		url('../fonts/fontawesome.svg#fontawesome') format('svg'),
		url('../fonts/fontawesome.woff') format('woff'),
		url('../fonts/fontawesome.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
body, html {padding: 0; margin: 0;}

/* Clearfix hack by Nicolas Gallagher: http://nicolasgallagher.com/micro-clearfix-hack/ */
.clearfix:before, .clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }

body {
    font-family:'Roboto Slab', serif;
    color: #7b7b7b;
	--color-1:#212f3c;
	--color-2:#8c0119;
	--color-3:#6cbfee;
	--color-4:#ecf1f4;
}

a {
	color:var(--color-2);
	text-decoration: none;
	font-weight:bold;
}

a:hover {
	color: #000;
}

.container{
	height:auto;
}

.main{
	margin-left:360px;
	padding: 0 1.875em 3.125em;
}


.cbp_tmtimeline {
	margin: 30px 0 0 0;
	padding: 0;
	list-style: none;
	position: relative;
} 

/* The line */
.cbp_tmtimeline:before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 10px;
	background: var(--color-4);
	left: 20%;
	margin-left: -10px;
}

/* The date/time */
.cbp_tmtimeline > li {
	position: relative;
}

.cbp_tmtimeline > li .cbp_tmtime {
	display: block;
	width: 25%;
	padding-right: 100px;
	position: absolute;
}

.cbp_tmtimeline > li .cbp_tmtime span {
	display: block;
	text-align: right;
}

.cbp_tmtimeline > li .cbp_tmtime span:first-child {
	font-size: 0.9em;
	color:var(--color-3);
}

.cbp_tmtimeline > li .cbp_tmtime span:last-child {
	font-size: 1.6em;
	color: var(--color-1);
}

.cbp_tmtimeline > li:nth-child(odd) .cbp_tmtime span:last-child {
	color: var(--color-1) ;
}

/* Right content */
.cbp_tmtimeline > li .cbp_tmlabel {
	margin: 0 0 15px 25%;
	background: var(--color-1);
	color: #fff;
	padding: 2em;
	font-size: 1em;
	font-weight: 300;
	line-height: 1.4;
	position: relative;
	border-radius: 5px;
}

.cbp_tmtimeline > li .cbp_tmlabel a{
	color:var(--color-3);
}

.cbp_tmtimeline > li:nth-child(odd) .cbp_tmlabel {
	background: #6cbfee;
}

.cbp_tmtimeline > li:nth-child(2n+1) .cbp_tmlabel a{
	color:var(--color-1);
}

.cbp_tmtimeline > li .cbp_tmlabel h2 { 
	margin-top: 0px;
	padding: 0 0 10px 0;
	border-bottom: 1px solid rgba(255,255,255,0.4);
}

/* The triangle */
.cbp_tmtimeline > li .cbp_tmlabel:after {
	right: 100%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
	border-right-color: var(--color-1);
	border-width: 10px;
	top: 10px;
}

.cbp_tmtimeline > li:nth-child(odd) .cbp_tmlabel:after {
	border-right-color: #6cbfee;
}

/* The icons */
.cbp_tmtimeline > li .cbp_tmicon {
	width: 40px;
	height: 40px;
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	font-size: 1.4em;
	line-height: 40px;
	-webkit-font-smoothing: antialiased;
	position: absolute;
	color: #fff;
	background: var(--color-1);
	border-radius: 50%;
	box-shadow: 0 0 0 8px var(--color-4);
	text-align: center;
	left: 20%;
	top: 0;
	margin: 0 0 0 -25px;
}

.cbp_tmicon-pin:before {
	content: "\f08d";
}

.cbp_tmicon-check:before {
	content: "\f046";
}

.cbp_tmicon-grupo:before {
	content: "\f0c0";
}

.cbp_tmicon-libro:before {
	content: "\f02d";
}

.cbp_tmicon-bandera:before {
	content: "\f024";
}

/* Example Media Queries */
@media screen and (max-width: 65.375em) {

	.cbp_tmtimeline > li .cbp_tmtime span:last-child {
		font-size: 1.5em;
	}
}

@media screen and (max-width: 47.2em) {
	.cbp_tmtimeline:before {
		display: none;
	}

	.cbp_tmtimeline > li .cbp_tmtime {
		width: 100%;
		position: relative;
		padding: 0 0 20px 0;
	}

	.cbp_tmtimeline > li .cbp_tmtime span {
		text-align: left;
	}

	.cbp_tmtimeline > li .cbp_tmlabel {
		margin: 0 0 30px 0;
		padding: 1em;
		font-weight: 400;
		font-size: 95%;
	}

	.cbp_tmtimeline > li .cbp_tmlabel:after {
		right: auto;
		left: 20px;
		border-right-color: transparent;
		border-bottom-color: var(--color-1);
		top: -20px;
	}

	.cbp_tmtimeline > li:nth-child(odd) .cbp_tmlabel:after {
		border-right-color: transparent;
		border-bottom-color: #6cbfee;
	}

	.cbp_tmtimeline > li .cbp_tmicon {
		position: relative;
		float: right;
		left: auto;
		margin: -55px 5px 0 0px;
	}	
}

/* Sidebar */
.sidebar {
  text-align:left;
  background: #f5f5f5;
  z-index: 1000;
  position: fixed;
  width: 300px;
  max-width: 100%;
  height: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  padding: 2em 2em 2em 4em;
}

.sidebar h1 {
  margin:0 0 1em -2.8em;
  font-size: 1.5em;
  line-height: 1;
  font-weight:700;
  background-color:#2c3e50;
  width:330px;
  padding:1em 1em 1em 1.3em;
  color:#fff;
}

.sidebar img{
	max-width:70%;
	margin-bottom:1em;
}

.sidebar p{
	font-size:0.9em;
	line-height:1.5em;
}

.sidebar h1 span {
  display: block;
}

