/* Outer Container */
.smoothslides, .smoothslides-on {
	position:relative;
	font-size:0;
	line-height: 0;
	min-height: 40px;
	border-radius: 0px;
}
/* Outer Container Background (visible while loading) */
.smoothslides {
	background:rgba(255,255,255,.5);
	width:100%;
	height:100%;
}
 
/* Hide images until loaded */
.smoothslides img {
	display:none;
	max-width:100%;
	border-radius: 0px;
}

/* Loading animation keyframes */ 
@keyframes throb {
	0% {
		opacity:0;
		transform:scale(1);
	}
	50% {
		opacity:1;
		transform:scale(.2);
	}
	100% {
		opacity:0;
		transform:scale(1);
	}
}
@-webkit-keyframes throb {
	0% {
		opacity:0;
		-webkittransform:scale(1);
	}
	50% {
		opacity:1;
		-webkittransform:scale(.2);
	}
	100% {
		opacity:0;
		-webkittransform:scale(1);
	}
}
/* Loading animation */
.smoothslides:before {
	content:'';
	position: absolute;
	width:8px;
	height:8px;
	left:50%;
	top:50%;
	margin-left:-4px;
	margin-top:-4px;
	border-radius:0px;
 
	animation: throb 1s infinite;
	-webkit-animation: throb 1s infinite;
}

/* wrapper around all slides */
.ss-slide-stage {
	position: relative;
	overflow: hidden;
	border-radius:6px;
	/* This fixes the bug in chrome where border-radius doesn't work with overflow hidden */
	-webkit-mask-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAIAAACQd1PeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAA5JREFUeNpiYGBgAAgwAAAEAAGbA+oJAAAAAElFTkSuQmCC);
}

/* wrapper around each slide */
.ss-slide {
	position: absolute;
	top:0;
	left:0;
	transform-origin:center;
	display: block;
	width:100%;
	zoom: 1;
}
.ss-slide img{
	height:auto;
	/* max-width, or width gets set via JS */
}
/* Caption wrapper. Used for centering */
.ss-caption-wrap {
	position: absolute;
	bottom:20%;
	width:100%;
	padding:0 5px 5px 5px;
	text-align:center;
	box-sizing:border-box;
}

/* Caption */
.ss-caption {
 
 	color: #fff;
	text-shadow: 0 0 15px #000;
	font-size:70px;
	font-weight: 800;
	line-height: 1.4em;
	border-radius:0px;
	padding-top:15px;
	box-sizing:border-box;
	font-family: 'Codystar', cursive;
}

/* Previous and Next buttons */
.smoothslides-on a.ss-prev, .smoothslides-on a.ss-next {
	position: absolute;
	bottom:5px;
	left:5px;
	font-size:14px;
	line-height: 1em;
	color:#A1A1A1;
	text-decoration: none;
	background:#fff;
	width: 50px;
	height: 50px;
	text-align: center;
	line-height: 50px;
	border-radius: 0px;
	opacity:.5;
	transition:.2s ease-out;
	font-family: sans-serif;
}

.smoothslides-on  a.ss-next {
	left:auto;
	right:5px;
}
/* Highlight nav btns when hovering over the slideshow */
.smoothslides-on:hover .ss-prev, .smoothslides-on:hover .ss-next {
	opacity: 1;
}

.smoothslides-on .ss-prev:hover, .smoothslides-on .ss-next:hover {
	background:#fff;	
	color:#000;
}

/* Pagination wrapper. Used for centering */
.ss-paginate-wrap {
	position: absolute;
	bottom:-30px;
	width:100%;
	text-align:center;
}
.ss-paginate {
	display: inline-block;
	line-height: 0;
}
/* Pagination dots */
.ss-paginate a:link, .ss-paginate a:visited {
	display: inline-block;
	width: 16px;
	height: 4px;
	border-radius: 0px;
	margin: 0 5px;
	background:#ccc;
	background: rgba(0,0,0,.1);
	border: 2px solid #fff;
	transition: .3s;
}
.ss-paginate a:hover {
	background:#ddd;
	background:rgba(0,0,0,.3);
}
.ss-paginate a.ss-paginate-current {
	background:#000;
	background: rgba(0,0,0,.5);
}

/* changes for smaller screens */
@media (max-width: 600px) {
	.ss-paginate-wrap {
		bottom:-35px;
	}
	.ss-caption {
		min-height:0;
		padding:5px;
		font-size:12px;
	}
	a.ss-prev, a.ss-next {
		bottom:auto;
		top:50%;
		margin-top:-25px;
		color:#000;
		background:rgba(255,255,255,.3);
		color:#444;
	}
	.smoothslides-on, .ss-slide-stage {
		border-radius:0;
	}
}

/* Timeline */
.timeline_items { background: url(../images/timeline.png) repeat-y top center; }
.timeline_items li { min-height: 90px; padding: 40px 0; position: relative; overflow: hidden; }

.timeline_items li h5 { margin: 30px 0 0 0; }
.timeline_items li h5 span { -webkit-border-radius: 50%; border-radius: 50%; line-height: 90px; text-align: center; display: block; position: absolute; top: 0; left: 50%; margin-left: -45px; top: 30px; }

.timeline_items li h5 span img{ max-width:100%; -webkit-border-radius: 50%; border-radius: 50%;width: 100px; height: 100px;}

.timeline_items strong{font-family: 'Codystar', cursive; font-size:23px; font-weight:700; color:#00a1f3; letter-spacing:2px;}

.timeline_items li .desc { position:relative; min-height: 90px; background: rgba(201, 167, 93, 0.55); width: 40%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 15px; }

.timeline_items li .desc:after { content:""; display:block; width:0; height:0; position:absolute; top: 35px; border-left:10px solid rgba(201, 167, 93, 0.55); border-top:10px solid transparent; border-bottom:10px solid transparent; }

.timeline_items li h5 { float: right; width: 40%; }
.timeline_items li h5 span { background: #fff; color: #444; border-width: 1px; border-style: solid; }
.timeline_items li .desc { float: left; }
.timeline_items li .desc:after { right:-10px; }

.timeline_items li:nth-child(odd) h5 { float: left; width: 40%; text-align: right; }
.timeline_items li:nth-child(odd) h5 span {}
.timeline_items li:nth-child(odd) .desc { float: right; }
.timeline_items li:nth-child(odd) .desc:after { left:-10px; border-left:none; border-right:10px solid rgba(201, 167, 93, 0.55);}
 
 	 .timeline_items li h5 span, .gallery .gallery-item .gallery-icon, .post,
	.widget_categories ul li a, .widget_archive ul li a, .widget_mfn_menu ul li a, .Recent_comments ul li, .clients ul li .client_wrapper {
		border-color: rgba(0, 0, 0, .12);
	}
	
@media only screen and (max-width: 767px) 
{
		/* Timeline */
	.timeline_items { background: none; }
	.timeline_items li { padding: 100px 0 0 0; position: relative; margin-bottom: 20px; }
	.timeline_items li h5 { margin: 0 0 10px 0; position: static; width: 100% !important; float: none !important; text-align: center !important; }
	.timeline_items li h5 span { top: 0px; }
	.timeline_items li .desc { position: relative; width: 100%; float: none !important; min-height: auto !important; }
	.timeline_items li .desc:after { display: none; }
	.timeline_items li h5 span img{ max-width:100%; -webkit-border-radius: 50%; border-radius: 50%;width: 90px; height: 90px;}
	
}