/*
 * 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 */

.slider-main{ position:relative; }
.nivoSlider { position:relative; width:100%; height:auto; overflow:hidden;	}
.nivoSlider img { position:absolute; top: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-html-caption { display:none; }

/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a { display:block; height:50px; text-indent:-9999px; -webkit-transition:all 200ms ease-in-out 0s; transition:all 200ms ease-in-out 0s; width:50px; position:absolute; bottom:45%; z-index:10; cursor:pointer; border-radius: 50px; }
a.nivo-nextNav { right:15px; top:52%; background:url(../images/slide-nav.png) no-repeat -99px center #ff5951;}
a.nivo-prevNav { left:15px; top:52%; background:url(../images/slide-nav.png) no-repeat -20px center #ff5951;}
	
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav { padding:0; position:absolute; width:100px; bottom:10%; z-index:9; line-height:10px; left:0; text-align:center; right:0; margin:0 auto;}
.nivo-controlNav a { cursor:pointer; display:inline-block; margin:5px 5px; text-indent: -9999px; width:10px; height:10px; border:2px solid #ffffff; line-height:7px; border-radius: 30px; }
.nivo-controlNav a.active { font-weight:bold; border-color:#ff5951; background-color:#ff5951;}


/* Nivo Caption */
.nivo-caption{ position:absolute; padding:4% 0; top:52%; z-index:8; width:80%; -webkit-transform:translateY(-50%); -ms-transform:translateY(-50%); transform:translateY(-50%); -webkit-box-sizing:border-box; box-sizing:border-box;}
.nivo-caption h2{ font:700 50px/58px 'Oswald'; color:#ffffff; text-transform:uppercase; display:block; position:relative; margin:0 0 20px;}
.nivo-caption a h2{ display:block; }
.nivo-caption p { font:400 20px 'Oswald'; color:#ffffff; letter-spacing:1.5px; line-height:normal; display:block; position:relative; margin:0 0 20px;}

/* Caption Text Styles Left */
#slider.caption-text-left .nivo-caption{ text-align:left; left:4%; padding-left:4%;}

/* Caption Text Styles Center */
#slider.caption-text-center .nivo-caption{ text-align:center; left:0; right:0; margin:0 auto; border-left:none;}
#slider.caption-text-center .nivo-caption:before, #slider.caption-text-center .nivo-caption:after { margin:0 auto; right:0;}
#slider.caption-text-center a.sliderbtn{ margin:0 auto; }
#slider.caption-text-center .nivo-caption .witr_bar_inner { margin-left:auto; margin-right:auto;}

/* Caption Text Styles Right */
#slider.caption-text-right .nivo-caption{ text-align:right; border-left:none; border-right:15px solid #ff5951; right:7%; padding-right:4%;}
#slider.caption-text-right .nivo-caption .witr_bar_inner { margin-right:5px; margin-left:auto;}
#slider.caption-text-right .nivo-caption:before, #slider.caption-text-right .nivo-caption:after { right:0; left:auto;}
#slider.caption-text-right a.sliderbtn{ float:right; }

/* Animation Effects */
.witr_bar_inner { height:5px; position:relative; width:90px; background-color:#ffffff; margin-left:10px; margin-bottom:15px;}
.witr_bar_inner:before { content:''; position:absolute; left:0; top:50%; transform:translateY(-50%); border:6px solid #ff5951; border-radius:50%; background-color: #ff5951; -webkit-animation-duration:3s; animation-duration:3s; -webkit-animation-timing-function:linear; animation-timing-function:linear; -webkit-animation-iteration-count:infinite; animation-iteration-count:infinite; -webkit-animation-name:move_title_bg; animation-name:move_title_bg1;}
.witr_bar_inner:after { content:''; position:absolute; right:0; top:50%; transform:translateY(-50%); border:6px solid #ff5951; border-radius:50%; background-color:#ff5951; -webkit-animation-duration:3s; animation-duration:3s; -webkit-animation-timing-function:linear; animation-timing-function:linear; -webkit-animation-iteration-count:infinite; animation-iteration-count:infinite; -webkit-animation-name:move_title_bg; animation-name:move_title_bg2;}

@keyframes move_title_bg1 {
    0% {
        left: 0;
      }
    100% {
        left: 100%;
      }
}

@keyframes move_title_bg2 {
    0% {
        right: 0;
      }
    100% {
    right: 100%;
    }
}