.mi-slider {
	
	position: relative;
	height: 320px;
	border: 2px solid #e6ebef;
}

.mi-slider .middle-option{
	border-left: 1px solid white;
	border-right: 1px solid white;
}

.mi-slider ul {
	list-style-type: none;
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 0px;
	overflow: hidden;
	text-align: center;
	pointer-events: none;
}

.no-js .mi-slider ul {
	position: relative;	
	left: auto;
	bottom: auto;
	margin: 0;
	overflow: visible;
}

.mi-slider ul.mi-current {
	pointer-events: auto;
	margin-bottom:0px;
	padding-left:0px;
}

.mi-slider ul li {
	display: inline-block;
	padding: 10px;
	width: 30%;
	max-width: 300px;
	-webkit-transform: translateX(600%);
	transform: translateX(600%);
	-webkit-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
}

.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 {
	background-color: #e7e9e8;
	max-width: 100%;
	border: none;
	border-radius: 20px;
}

.mi-slider ul li h4 {
	display: inline-block;
	font-style: italic;
	font-weight: 400;
	font-size: 18px;
	padding: 20px 10px 0;
}

.mi-title h3{
	background-color: #e7eaf0;
	margin: 20px 20px 0 0 ;
	padding: 5px 40px 5px 20px;
	border-radius:10px;
	float:right;
}

.mi-title h3, .cat-section h3{
	color:#6a727d;
	font-size:16px;
}

.mi-title h3 span, .cat-section h3 span{
	color: #25528d;
}
.mi-slider ul li:hover {
	opacity: 0.7;
} 

.mi-slider nav {
	position: relative;
	margin: 0 auto;
	border-bottom: 2px solid #e6ebef;
}

.no-js nav {
	display: none;
}

.mi-slider nav a {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 1px;
    width: 33.33%;
	padding: 15px 0px 15px 15px;
	position: relative;
	color: #ffffff;
	outline: none;
	-webkit-transition: color 0.2s linear;
	transition: color 0.2s linear;
	
	background: rgba(192,192,192,1);
/* Old Browsers */
	background: -moz-linear-gradient(top, rgba(192,192,192,1) 0%, rgba(207,208,210,1) 50%, rgba(192,192,192,1) 100%);
 /* FF3.6+ */
	background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(192,192,192,1)), color-stop(50%, rgba(207,208,210,1)), color-stop(100%, rgba(192,192,192,1)));
/* Chrome, Safari4+ */
	background: -webkit-linear-gradient(top, rgba(192,192,192,1) 0%, rgba(207,208,210,1) 50%, rgba(192,192,192,1) 100%);
 /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(192,192,192,1) 0%, rgba(207,208,210,1) 50%, rgba(192,192,192,1) 100%);
 /* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(192,192,192,1) 0%, rgba(207,208,210,1) 50%, rgba(192,192,192,1) 100%);
 /* IE 10+ */
	background: linear-gradient(to bottom, rgba(192,192,192,1) 0%, rgba(207,208,210,1) 50%, rgba(192,192,192,1) 100%);
/* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c0c0c0', endColorstr='#c0c0c0', GradientType=0 );
/* IE6-9 */
}
.mi-slider nav a.mi-selected {
	background: rgba(23, 92, 159,1);
}

.mi-slider nav a.mi-selected:after,
.mi-slider nav a.mi-selected:before {
	content: '';
	position: absolute;
	bottom: -30px;
	border: solid transparent;
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.mi-slider nav a.mi-selected:after {
	border-color: transparent;
    border-top-color: rgba(23, 92, 159,1);
    border-width: 15px;
    left: 50%;
    margin-left: -20px;
}

.mi-slider nav a.mi-selected:before {
	border-color: transparent;
	border-width: 27px;
	left: 50%;
	margin-left: -27px;
}

/* 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;
}

/* Media Queries */

@media screen and (max-width: 1200px){
	.mi-slider {
	height: 275px;
}
	.mi-title h3{
		margin: 20px 20px 0 0 ;
		padding: 5px 10px;
		font-size:14px;
	}
	.mi-slider nav a {
    letter-spacing: 0px;
	}
	
}

@media screen and (max-width: 910px){
	.mi-slider {
	height: 250px;
}
	.mi-slider nav a {
	font-size: 12px;
    letter-spacing: 0px;
	}
	.mi-slider ul li {
    	padding: 10px;
	}
	.mi-title h3{
		margin: 30px 10px 0 0 ;
		padding: 5px 10px;
		font-size:12px;
	}
}

@media screen and (max-width: 740px){
	.mi-slider {
		height: 320px;
	}
	.mi-slider nav a {
    letter-spacing: 1px;
	}
	.mi-slider ul{
		bottom:0px;
	}
	.mi-slider nav {
	}
	.mi-title h3{
		margin: 20px 10px 0 0 ;
	}
}

@media screen and (max-width: 490px){ 
	.mi-slider {
		height: 230px;
	}
	.mi-slider nav a {
		font-size: 11px;
    letter-spacing: 1px;
	}
	.mi-slider ul li h4 {
		display:none;
	}
}

