.mi-slider {
    position: relative;
    margin-top: 0;
    height: 400px;
    -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 {
    list-style-type: none;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 50px;
    overflow: hidden;
    text-align: center;
    pointer-events: none;
    margin: 0 auto;
    padding: 0;
}
.no-js .mi-slider ul {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 0;
    overflow: visible;
}
.mi-slider ul.mi-current {
    pointer-events: auto;
}
.mi-slider ul li {
    display: inline-block;
    /*padding: 20px;*/
    border: 20px solid #fff;
    width: 30%;
    max-width: 398px;
    -webkit-transform: translateX(600%);
    transform: translateX(600%);
    -webkit-transition: opacity .2s linear;
    transition: opacity .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: 0;
    cursor: pointer;
}
.mi-slider ul li img {
    max-width: 100%;
    border: none;
}
.mi-slider ul li h4 {
    display: inline-block;
    font-weight: 300;
    font-size: 18px;
    padding: 20px 10px 0;
}
.mi-slider ul li:hover {
    opacity: .7;
}
.mi-slider nav {
    position: relative;
    top: 400px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    border-top: 4px solid #555;
    background: 0 0;
}
.no-js nav {
    display: none;
}
.mi-slider nav a {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 5px;
    padding: 40px 30px 30px 34px;
    position: relative;
    color: #888;
    outline: 0;
    -webkit-transition: color .2s linear;
    transition: color .2s linear;
}
.mi-slider nav a.mi-selected, .mi-slider nav a:hover {
    color: #555;
}
.mi-slider nav a.mi-selected:after, .mi-slider nav a.mi-selected:before {
    content: '';
    top: -4px;
    border: solid transparent;
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}
.mi-slider nav a.mi-selected:after {
    border-color: #F0F0F0 transparent transparent;
    border-width: 20px;
    left: 50%;
    margin-left: -20px;
}
.mi-slider nav a.mi-selected:before {
    border-color: #555 transparent transparent;
    border-width: 25px;
    left: 50%;
    margin-left: -25px;
}
.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% {
    transform: translateX(0) scale(0);
}
100% {
    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;
}
.mi-slider ul.mi-moveFromRight li {
    -webkit-animation: moveFromRight 350ms ease-in-out both;
    animation: moveFromRight 350ms ease-in-out both;
}
.mi-slider ul.mi-moveFromLeft li {
    -webkit-animation: moveFromLeft 350ms ease-in-out both;
    animation: moveFromLeft 350ms ease-in-out both;
}
.mi-slider ul.mi-moveToRight li {
    -webkit-animation: moveToRight 350ms ease-in-out both;
    animation: moveToRight 350ms ease-in-out both;
}
.mi-slider ul.mi-moveToLeft li {
    -webkit-animation: moveToLeft 350ms ease-in-out both;
    animation: moveToLeft 350ms ease-in-out both;
}
.mi-slider ul.mi-moveFromLeft li:nth-child(4), .mi-slider ul.mi-moveFromRight li:first-child, .mi-slider ul.mi-moveToLeft li:first-child, .mi-slider ul.mi-moveToRight li:nth-child(4) {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}
.mi-slider ul.mi-moveFromLeft li:nth-child(3), .mi-slider ul.mi-moveFromRight li:nth-child(2), .mi-slider ul.mi-moveToLeft li:nth-child(2), .mi-slider ul.mi-moveToRight li:nth-child(3) {
    -webkit-animation-delay: 90ms;
    animation-delay: 90ms;
}
.mi-slider ul.mi-moveFromLeft li:nth-child(2), .mi-slider ul.mi-moveFromRight li:nth-child(3), .mi-slider ul.mi-moveToLeft li:nth-child(3), .mi-slider ul.mi-moveToRight li:nth-child(2) {
    -webkit-animation-delay: 180ms;
    animation-delay: 180ms;
}
.mi-slider ul.mi-moveFromLeft li:first-child, .mi-slider ul.mi-moveFromRight li:nth-child(4), .mi-slider ul.mi-moveToLeft li:nth-child(4), .mi-slider ul.mi-moveToRight li:first-child {
    -webkit-animation-delay: 270ms;
    animation-delay: 270ms;
}
@-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% {
    transform: translateX(600%);
}
100% {
    transform: translateX(0);
}
}@keyframes moveFromLeft {
    0% {
    transform: translateX(-600%);
}
100% {
    transform: translateX(0);
}
}@keyframes moveToRight {
    0% {
    transform: translateX(0);
}
100% {
    transform: translateX(600%);
}
}@keyframes moveToLeft {
    0% {
    transform: translateX(0);
}
100% {
    transform: translateX(-600%);
}
}@media screen and (min-width:768px) and (max-width:1028px) {
    .mi-slider nav a {
    font-size: 12px;
    padding: 40px 10px 30px 14px;
}
.mi-slider ul {
    margin: 0 auto;
    padding: 0;
}
.mi-slider ul li {
    padding: 10px 10px 0;
    min-width: 230px;
}
}@media screen and (min-width:479px) and (max-width:767px) {
    .mi-slider ul {
    margin: 0 auto;
    padding: 0;
}
.mi-slider ul li {
    padding: 10px 10px 0;
    min-width: 135px;
}
.mi-slider ul li h4 {
    display: none;
}
.mi-slider nav a {
    letter-spacing: 2px;
    padding: 20px 5px 0;
}
.mi-slider {
    position: relative;
    margin-top: 140px;
    height: 50px;
    margin-bottom: -70px;
}
.mi-slider nav {
    top: 30px;
}
}@media screen and (max-width:478px) {
    .mi-slider ul {
    margin: 0 auto;
    padding: 0;
}
.mi-slider ul li {
    margin: 0 auto;
    padding: 0 5px 6px;
    min-width: 85px;
}
.mi-slider ul li h4 {
    display: none;
}
.mi-slider nav a {
    letter-spacing: 0;
    padding: 20px 10px 0;
}
.mi-slider {
    position: relative;
    margin-top: 170px;
    height: 0;
    margin-bottom: -70px;
}
.mi-slider nav {
    top: -30px;
}
}