.timeline {
	position: relative;
	list-style-type: none;
	padding: 30px 0 50px 0;
	font-family: 'Gorditas', Arial, sans-serif;
}

.timeline:before {
	content: '';
	position: absolute;
	width: 5px;
	height: 100%;
	top: 0;
	left: 165px;
	background: url(../images/1.jpg);
}

.event {
	position: relative;
	margin-bottom: 40px;
	padding-right: 40px;
}

.thumb {
	position: absolute;
	width: 128px;
	height: 128px;
	border: 3px solid #4bc0df;
	background-repeat: no-repeat;
	border-radius: 50%;
	/* -webkit-transform: scale(0.8) translateX(24px);
	-moz-transform: scale(0.8) translateX(24px);
	-o-transform: scale(0.8) translateX(24px);
	-ms-transform: scale(0.8) translateX(24px);
	transform: scale(0.8) translateX(24px); */
	margin-top: 40px;
}
}

.thumb:before {
	content: '';
	position: absolute;
	height: 8px;
	z-index: -1;
	width: 51px;
	top: 42px;
	left: 100%;
	margin-left: 8px;
}

.thumb span {
	color: #4bc0df; 
	width: 100%;
	text-align: center;
	font-size: 20px;
	position: absolute;
	bottom: 35%;
}

/* Transparent Checkbox/radio hack: leave the checkbox on top, hide it with opacity 0 */

.event label,
.event input[type="radio"] {
	width: 14px;
	height: 14px;
	left: 162px;
	top: 45%;
	position: absolute;
	display: block;
}

.event input[type="radio"] {
	opacity: 0;
	z-index: 10;
	cursor: pointer;
}

.event label:after {
	font-family: 'fontawesome-selected';
	content: '';
	background: #f7f7f7;
	border-radius: 50%;
	color: #41838E;
	font-size: 26px;
	height: 100%;
	width: 100%;
	left: -2px;
	top: -3px;
	line-height: 24px;
	position: absolute;
	text-align: center;
}

.content-perspective {
	margin-left: 230px;
	position: relative;

	-webkit-perspective: 600px;
	-moz-perspective: 600px;
	-o-perspective: 600px;
	-ms-perspective: 600px;
	perspective: 600px;
}

.content-inner {
	position: relative;
	padding: 20px;
	color: #333;
	border: none;
	/*box-shadow: 0 4px 6px rgba(0,0,0,0.1);*/
	background: #f7f7f7;
	/*background: url(/image/g_bg.png);*/
}
}

.content-inner h3 {
	font-size: 26px;
	padding: 5px 0 5px 0;
	color: #41838e;
}

.content-inner p {
	font-size: 15px;
	text-align: left;
	line-height: 1.8;
	min-height: 200px;
}

.content-inner:before {
	font-family: 'fontawesome-selected';
	content: '\25c2';
	font-weight: normal;
	font-size: 74px;
	line-height: 74px;
	position: absolute;
	width: 40px;
	height: 50px;
	color: #41838e;
	left: -30px;
	top: 30%;
	z-index: -1;
	color: #f7f7f7;
}

/* Transitions */

/* .thumb,
.thumb span,
.content-inner h3 {
	-webkit-transition: all 0.6s ease-in-out 0.2s;
	-moz-transition: all 0.6s ease-in-out 0.2s;
	-o-transition: all 0.6s ease-in-out 0.2s;
	-ms-transition: all 0.6s ease-in-out 0.2s;
	transition: all 0.6s ease-in-out 0.2s;
} */

.content-inner {
	-webkit-transition: box-shadow 0.8s linear 0.2s;
	-moz-transition: box-shadow 0.8s linear 0.2s;
	-o-transition: box-shadow 0.8s linear  0.2s;
	-ms-transition: box-shadow 0.8s linear 0.2s;
	transition: box-shadow 0.8s linear 0.2s;
}

.content {
	-webkit-transition: -webkit-transform 0.8s cubic-bezier(.59,1.45,.69,.98) 0.2s;
	-moz-transition: -moz-transform 0.8s cubic-bezier(.59,1.45,.69,.98) 0.2s;
	-o-transition: -o-transform 0.8s cubic-bezier(.59,1.45,.69,.98) 0.2s;
	-ms-transition: -ms-transform 0.8s cubic-bezier(.59,1.45,.69,.98) 0.2s;
	transition: transform 0.8s cubic-bezier(.59,1.45,.69,.98) 0.2s;
}

.content-inner p {
	-webkit-transition: max-height 0.5s linear, color 0.3s linear;
	-moz-transition: max-height 0.5s linear, color 0.3s linear;
	-o-transition: max-height 0.5s linear, color 0.3s linear;
	-ms-transition: max-height 0.5s linear, color 0.3s linear;
	transition: max-height 0.5s linear, color 0.3s linear;
}

/* Checked */

/* .event input[type="radio"]:checked + label:after {
	border: 1px solid #0ab8dc;
} */




.event:hover label:after {
	border: 1px solid #0ab8dc;
}

.event:hover .content-perspective:before {
	background: #0ab8dc;
}

.event:hover .content-perspective:before {
	background: #0ab8dc;
}

.event:hover .content-perspective .content-inner {
	border-color: #0ab8dc;
	box-shadow: 10px 0px 10px -6px rgba(0, 0, 0, 0.1);
	background-color: #0ab8dc;
	
}

.event:hover .content-perspective .content-inner p {
	max-height: 260px; /* Add media queries */
	color: #fff;
}

.event:hover .content-perspective .content-inner:before {
	color: #0ab8dc;
}

.event:hover .thumb {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-o-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	background-color: #4bc0df;
}

.event:hover .thumb span {
	color: #fff;
}

.event:hover .content-inner{
	background: #4bc0df;
}























/* .event input[type="radio"]:checked ~ .content-perspective:before {
	background: #0ab8dc;
}

.event input[type="radio"]:checked ~ .content-perspective .content-inner h3 {
	color: #0ab8dc;
}

.event input[type="radio"]:checked ~ .content-perspective .content-inner {
	border-color: #0ab8dc;
	box-shadow: 10px 0px 10px -6px rgba(0, 0, 0, 0.1);
	background-color: #0ab8dc;
	
}

.event input[type="radio"]:checked ~ .content-perspective .content-inner p {
	max-height: 260px; 
	-webkit-transition-delay: 0s, 0.6s;
	-moz-transition-delay: 0s, 0.6s;
	-o-transition-delay: 0s, 0.6s;
	-ms-transition-delay: 0s, 0.6s;
	transition-delay: 0s, 0.6s;
	color: #fff;
}

.event input[type="radio"]:checked ~ .content-perspective .content-inner:before {
	color: #0ab8dc;
}

.event input[type="radio"]:checked ~ .thumb {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-o-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	background-color: #4bc0df;
}

.event input[type="radio"]:checked ~ .thumb span {
	color: #fff;
}

.event input[type="radio"]:checked ~ .content-inner{
	background: #4bc0df;
}
.content-inner p,
.thumb span,
.event label {
	-webkit-backface-visibility: hidden;
} */
.pright{
	padding-right: 225px;
}

@media screen and (max-width: 850px) { 
	.content-inner h3 {
		font-size: 20px;
	}

	.content-inner p {
		font-size: 14px;
		text-align: justify;
	}

	.event input[type="radio"]:checked ~ .content-perspective .content-inner p {
		max-height: 500px; 
	}

	.pright{
	padding-right: 0;
}
}

@media screen and (max-width: 540px) {
	.timeline::before {
		left: 50px;
	}

	.event { 
		padding-right: 0px;
		margin-bottom: 100px;
	}


	.thumb {
		-webkit-transform: scale(0.8);
		-moz-transform: scale(0.8);
		-o-transform: scale(0.8);
		-ms-transform: scale(0.8);
		transform: scale(0.8);
		margin-top: 0;
	}

	.event input[type="radio"] {
		width: 100px;
		height: 100px;
		left: 0px;
		top: 0px;
	}

	.thumb:before,
	.event input[type="radio"]:checked ~ .thumb:before {
		background: none;
		width: 0;
	}

	.event label {
		display: none;
	}

	.content-perspective {
		margin-left: 0px; 
		top: 92px;
	}

	.content-perspective:before {
		height: 0px; 
	}
	.content-inner {
		border-left: none;
	}

	.event input[type="radio"]:checked ~ .content-perspective .content-inner {
		border-color: #0ab8dc;
		box-shadow: 0 10px 10px -6px rgba(0, 0, 0, 0.1);
	}

	.content-inner:before {
		content: '\25b4';
		left: 33px;
		top: -32px;
	}

	.event input[type="radio"]:checked ~ .content-perspective .content-inner p {
		max-height: 500px; 
	}

	.event:hover .content-perspective .content-inner p{
		max-height: 500px;
	}
}