
.mi-slider {
	position: relative;
	margin-top: 10px;
/*	height: 520px;*/
min-height:480px;
}
#mi-slider2 {
min-height:400px;
}


.mi-slider ul {
	list-style-type: none;
	position: absolute;
	width: 100%;
	left: 0;
	top:50px;
/*	bottom: 140px;*/
	overflow: hidden;
	text-align: center;
	pointer-events: none;
}
.mi-slider ul li{
	text-align: left;
}
	
.no-js .mi-slider ul {
	position: relative;
	left: auto;
	bottom: auto;
	margin: 0;
	overflow: visible;
}

.mi-slider ul.mi-current {
	pointer-events: auto;
	position: relative;
}

.mi-slider ul li {
	display: inline-block;
	padding: 20px;
	width: 32%;
/*	max-width: 300px;*/
	-webkit-transform: translateX(600%);
	transform: translateX(600%);
	-webkit-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
	vertical-align: top;
}

.no-js .mi-slider ul li {
	-webkit-transform: translateX(0);
	transform: translateX(0);
}

.mi-slider ul li a,
.mi-slider ul li img {
	display: block;
	margin: 0 auto;
}

.mi-slider ul li a {
	outline: none;
	cursor: pointer;
}

.mi-slider ul li img {
	max-width: 100%;
	border: none;
}

.mi-slider ul li h4 {
	display: inline-block;
	font-style: italic;
	font-weight: 400;
	font-size: 18px;
	padding: 20px 10px 0;
}

.mi-slider ul li:hover {
/*	opacity: 0.7;*/
} 

.mi-slider .eventslidernav {
/*		position: relative;
top: 400px;*/
/*	text-align: center;*/
	margin: 0 auto;
/*	border-top: 1px solid #c6c7cb;*/
position: absolute;
    top: 0;
	
}

.no-js .eventslidernav {
	display: none;
}

.mi-slider .eventslidernav a {
	display: inline-block;
	/*text-transform: uppercase;
	letter-spacing: 5px;*/
	padding: 10px 0px 10px 0px;
	position: relative;
	color: #888;
	outline: none;
	-webkit-transition: color 0.2s linear;
	transition: color 0.2s linear;
	margin-left:20px;
	
	font-family: "pf_centro_serif_probold",serif;
	font-size: 1.2rem;
    line-height: 130%;
   /* margin: 0.5rem 0 0.4rem;*/
}
.mi-slider .eventslidernav a:first-child {
 margin-left: -5px;
}

.mi-slider .eventslidernav a:hover,
.mi-slider .eventslidernav a.mi-selected {
	color: #344757;
	border-bottom: 0px solid #344757;
    border-top: 4px solid #344757;
}

.mi-slider .eventslidernav a.mi-selected:after,
.mi-slider .eventslidernav a.mi-selected:before {
/*	content: '';
	position: absolute;
	top: -1px;
	border: solid transparent;
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;*/
}

.mi-slider .eventslidernav a.mi-selected:after {
/*	border-color: transparent;
	border-top-color: #ffffff;
	border-width: 20px;
	left: 50%;
	margin-left: -20px;*/
}

.mi-slider .eventslidernav a.mi-selected:before {
/*	border-color: transparent;
	border-top-color: #344757;
	border-width: 28px;
	left: 50%;
	margin-left: -38px;*/
}

/* Move classes and animations */

.mi-slider ul:first-child li,
.no-js .mi-slider ul li {
	-webkit-animation: scaleUp 350ms ease-in-out both;
	animation: scaleUp 350ms ease-in-out both;
}

@-webkit-keyframes scaleUp {
	0% { -webkit-transform: translateX(0) scale(0); }
	100% { -webkit-transform: translateX(0) scale(1); }
}

@keyframes scaleUp {
	0% { -webkit-transform: translateX(0) scale(0); transform: translateX(0) scale(0); }
	100% { -webkit-transform: translateX(0) scale(1); transform: translateX(0) scale(1); }
}

.mi-slider ul:first-child li:first-child {
	-webkit-animation-delay: 90ms;
	animation-delay: 90ms;
}

.mi-slider ul:first-child li:nth-child(2) {
	-webkit-animation-delay: 180ms;
	animation-delay: 180ms;
}

.mi-slider ul:first-child li:nth-child(3) {
	-webkit-animation-delay: 270ms;
	animation-delay: 270ms;
}

.mi-slider ul:first-child li:nth-child(4) {
	-webkit-animation-delay: 360ms;
	animation-delay: 360ms;
}

/* moveFromRight */

.mi-slider ul.mi-moveFromRight li {
	-webkit-animation: moveFromRight 350ms ease-in-out both;
	animation: moveFromRight 350ms ease-in-out both;
}

/* moveFromLeft */

.mi-slider ul.mi-moveFromLeft li {
	-webkit-animation: moveFromLeft 350ms ease-in-out both;
	animation: moveFromLeft 350ms ease-in-out both;
}

/* moveToRight */

.mi-slider ul.mi-moveToRight li {
	-webkit-animation: moveToRight 350ms ease-in-out both;
	animation: moveToRight 350ms ease-in-out both;
}

/* moveToLeft */

.mi-slider ul.mi-moveToLeft li {
	-webkit-animation: moveToLeft 350ms ease-in-out both;
	animation: moveToLeft 350ms ease-in-out both;
}

/* Animation Delays */

.mi-slider ul.mi-moveToLeft li:first-child,
.mi-slider ul.mi-moveFromRight li:first-child,
.mi-slider ul.mi-moveToRight li:nth-child(4),
.mi-slider ul.mi-moveFromLeft li:nth-child(4) {
	-webkit-animation-delay: 0ms;
	animation-delay: 0ms;
}

.mi-slider ul.mi-moveToLeft li:nth-child(2),
.mi-slider ul.mi-moveFromRight li:nth-child(2),
.mi-slider ul.mi-moveToRight li:nth-child(3),
.mi-slider ul.mi-moveFromLeft li:nth-child(3) {
	-webkit-animation-delay: 90ms;
	animation-delay: 90ms;
}

.mi-slider ul.mi-moveToLeft li:nth-child(3),
.mi-slider ul.mi-moveFromRight li:nth-child(3),
.mi-slider ul.mi-moveToRight li:nth-child(2),
.mi-slider ul.mi-moveFromLeft li:nth-child(2) {
	-webkit-animation-delay: 180ms;
	animation-delay: 180ms;
}

.mi-slider ul.mi-moveToLeft li:nth-child(4),
.mi-slider ul.mi-moveFromRight li:nth-child(4),
.mi-slider ul.mi-moveToRight li:first-child,
.mi-slider ul.mi-moveFromLeft li:first-child  {
	-webkit-animation-delay: 270ms;
	animation-delay: 270ms;
}

/* Animations */

@-webkit-keyframes moveFromRight {
	0% { -webkit-transform: translateX(600%); }
	100% { -webkit-transform: translateX(0%); }
}

@-webkit-keyframes moveFromLeft {
	0% { -webkit-transform: translateX(-600%); }
	100% { -webkit-transform: translateX(0%); }
}

@-webkit-keyframes moveToRight {
	0% { -webkit-transform: translateX(0%); }
	100% { -webkit-transform: translateX(600%); }
}

@-webkit-keyframes moveToLeft {
	0% { -webkit-transform: translateX(0%); }
	100% { -webkit-transform: translateX(-600%); }
}

@keyframes moveFromRight {
	0% { -webkit-transform: translateX(600%); transform: translateX(600%); }
	100% { -webkit-transform: translateX(0); transform: translateX(0); }
}

@keyframes moveFromLeft {
	0% { -webkit-transform: translateX(-600%); transform: translateX(-600%); }
	100% { -webkit-transform: translateX(0); transform: translateX(0); }
}

@keyframes moveToRight {
	0% { -webkit-transform: translateX(0%); transform: translateX(0%); }
	100% { -webkit-transform: translateX(600%); transform: translateX(600%); }
}

@keyframes moveToLeft {
	0% { -webkit-transform: translateX(0%); transform: translateX(0%); }
	100% { -webkit-transform: translateX(-600%); transform: translateX(-600%); }
}

.mi-slider {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.mi-slider ul li:first-child {
  /*  margin-left: 20px !important;*/
}

/* Media Queries */
/*
@media screen and (max-width: 910px){
	.mi-slider .eventslidernav {
		max-width: 90%;
	}
	.mi-slider .eventslidernav a {
		font-size: 12px;
		padding: 40px 10px 30px 14px;
	}
}

@media screen and (max-width: 740px){
	.mi-slider {
		height: 300px;
	}
	.mi-slider .eventslidernav {
		top: 220px;
	}
}

@media screen and (max-width: 490px){ 
	.mi-slider {
		text-align: center;
		height: auto;
	}

	.mi-slider ul {
		position: relative;
		display: inline;
		bottom: auto;
		pointer-events: auto;
	}

	.mi-slider ul li {
		-webkit-animation: none !important;
		animation: none !important;
		-webkit-transform: translateX(0) !important;
		transform: translateX(0) !important;
		padding: 10px 3px;
		min-width: 140px;
	}

	.mi-slider .eventslidernav {
		display: none;
	}
}

*/

@media screen and (max-width: 853px){ 
	.mi-slider ul li {
		width: 48%;
	}
	.mi-slider ul#HighlightList li:nth-of-type(3n), #mi-slider2 ul li:nth-of-type(3n) {
    width: 98%;
}

	.mi-slider ul li.lasthighlight  {
		display: none;
	}
	

}


@media screen and (max-width: 630px){ 
	.mi-slider ul li {
		width: 98%;
	}
	.eventitem p.eventdesc, p.newstext {
		display:none;
	}
	
	
	 
	.eventitem a {
		margin-top:20px!important;
		font-size: 18px;
	}
	
	.mi-slider .eventslidernav a {
    font-family: "pf_centro_sans_proregular",serif;
    font-size: 0.9rem;
    margin-left: 4px;
    padding: 5px 0;
	}

}
    
	
	