/*
 * jQuery Nivo Slider v3.2
 * http://nivo.dev7studios.com
 *
 * Copyright 2012, Dev7studios
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

/* The Nivo Slider styles */
.nivoSlider {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.nivoSlider img {
    position: absolute;
    top: 0px;
    left: 0px;
    max-width: none;
}

.nivo-main-image {
    display: block !important;
    position: relative !important;
    width: 100% !important;
}

/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    z-index: 6;
    display: none;
    background: white;
    filter: alpha(opacity=0);
    opacity: 0;
}

/* The slices and boxes in the Slider */
.nivo-slice {
    display: block;
    position: absolute;
    z-index: 5;
    height: 100%;
    top: 0;
}

.nivo-box {
    display: block;
    position: absolute;
    z-index: 5;
    overflow: hidden;
}

.nivo-box img {
    display: block;
}

/* Caption styles */
.nivo-caption {
    position: absolute;
    left: 0px;
    /* bottom:0px; */
    top: 60%;
    transform: translateY(-50%);
    color: #fff;
    width: 100%;
    z-index: 8;
    padding: 5px 10px;
    opacity: 0.8;
    /* overflow: hidden; */
    text-align: center;
    display: none;
    -moz-opacity: 0.8;
    filter: alpha(opacity=8);
    -webkit-box-sizing: border-box;
    /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;
    /* Firefox, other Gecko */
    box-sizing: border-box;
    /* Opera/IE 8+ */
}

.nivo-caption h1 {
    font-weight: 800;
    display: inline-block;
    color: white;
}

.nivo-caption span{
    display: inline-block;
    overflow: hidden;
    animation: .3s swift-up ease-in-out forwards;
  }

  .nivo-caption span i{
    font-style: normal;
    position: relative;
    top: 40px;
    animation: .3s swift-up ease-in-out forwards;
  }

  @keyframes swift-up {
    to {
      top: 0;
    }
  }

.nivo-caption p {
    padding: 10px;
    max-width:60%;
    width: 100%;
    text-align: center;
    margin: auto;
    display: block;
background-image: linear-gradient(-225deg,
        #231557 0%,
        #ffff 29%,
        #ff1361 67%,
        #fff800 100%);
background-size: auto auto;
background-clip: border-box;
background-size: 200% auto;
color: #fff;
background-clip: text;
text-fill-color: transparent;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: textclip 5s linear infinite;
font-weight: 600;
font-size: 1.2rem;
}


@keyframes textclip {
to {
    background-position: 200% center;
}
}


.nivo-caption a {
    display: inline-block !important;
    padding: 0.4ren 1rem;
    border-radius: 20px;
}


.nivo-html-caption {
    display: none;
}

/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
    position: absolute;
    top: 45%;
    z-index: 9;
    cursor: pointer;
}

.nivo-prevNav {
    left: 0px;
}

.nivo-nextNav {
    right: 0px;
}

/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav {
    text-align: center;
    padding: 15px 0;
}

.nivo-controlNav a {
    cursor: pointer;
}

.nivo-controlNav a.active {
    font-weight: bold;
}

.nivo-caption1 {
    position: absolute;
    margin: auto;
    top: 5%;
    overflow: hidden;
    background: none;
    font-family: 'Gotham';
    color: #FFF;
    font-weight: bold;
    font-size: 50px;
    line-height: 44px;
    text-align: center;
    text-transform: uppercase;
    /* converts text to UPPERCASE */
}


/* media query at 768px */

@media screen and (max-width:768px) {
    .nivo-caption p{
        max-width: 90%;
        width: 100%;
        font-size: 3vw;
    }

    .nivo-caption h1{
        font-size: 5vw;
    }

    .theme-default .nivo-caption a{
        display: none !important;
    }

}

