/*
 * 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;
	top: 35%;
	right: 0;
	left: 0;
	background: none;
	color:#fff;
	margin: auto;
	padding: 0 15px;
	width: 100%;
      max-width: 1300px;
	/* padding-left: 120px; */
	opacity: 1;
	/* overflow: hidden; */
	display: none;
	-moz-opacity: 10;
	filter: alpha(opacity=10);
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	z-index: 999;
}
.nivo-caption p {
	padding: 0;
	margin:0;
}
.nivo-caption a {
 }

.nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
	position:absolute;
	top:45%;
    z-index: 9999;
	cursor:pointer;
}
.nivo-prevNav {
left:10px;
 
}
.nivo-nextNav {

    right: 60px;

}
.nivo-prevNav img, .nivo-nextNav img
{
padding: 16px 19px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;

}
/* 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;
}
@-webkit-keyframes nivocap {
    0% {
    opacity:0;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
   }
    100% {
    opacity:1;
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
   transform: translateY(0%);
   }
   }
   @-moz-keyframes nivocap {
    0% {
    opacity:0;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
   }
    100% {
    opacity:1;
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
   transform: translateY(0%);
   }
   }
   @-ms-keyframes nivocap {
    0% {
    opacity:0;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
   }
    100% {
    opacity:1;
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
   transform: translateY(0%);
   }
   }
   .nivo-caption h2 {
       display: block;
       -webkit-animation: nivocap 1000ms ease-in-out;
       -moz-animation: nivocap 1000ms ease-in-out;
       -ms-animation: nivocap 1000ms ease-in-out;
       animation: nivocap 1000ms ease-in-out;
   }
    @-webkit-keyframes nivo_p {
    0% {
    opacity:0;
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
   }
    100% {
    opacity:1;
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
   transform: translateY(0%);
   }
   }
   @-moz-keyframes nivo_p {
    0% {
    opacity:0;
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
   }
    100% {
    opacity:1;
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
   transform: translateY(0%);
   }
   }
   @-ms-keyframes nivo_p {
    0% {
    opacity:0;
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(200px);
   }
    100% {
    opacity:1;
    -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
   transform: translateY(0%);
   }
   }
   .nivo-caption p {
                      -webkit-animation: nivo_p 1000ms ease-in-out;
       -moz-animation: nivo_p 1000ms ease-in-out;
       -ms-animation: nivo_p 1000ms ease-in-out;
       animation: nivo_p 1000ms ease-in-out;
   }


      .nivo-caption a {
 
       -webkit-animation: flipInX 1000ms ease-in-out;
       -moz-animation: flipInX 1000ms ease-in-out;
       -ms-animation: flipInX 1000ms ease-in-out;
       animation: flipInX 1000ms ease-in-out;
   }
  
   


   @keyframes flipInX {
    0% {
    transform:perspective(400px) rotateX(90deg);
    animation-timing-function:ease-in;
    opacity:0
    }
    40% {
    transform:perspective(400px) rotateX(-20deg);
    animation-timing-function:ease-in
    }
    60% {
    transform:perspective(400px) rotateX(10deg);
    opacity:1
    }
    80% {
    transform:perspective(400px) rotateX(-5deg)
    }
    to {
        transform: perspective(400px)
    }
    }

    @-webkit-keyframes flipInX {
        0% {
            -webkit-transform:perspective(400px) rotateX(90deg);
            -webkit-animation-timing-function:ease-in;
        opacity:0
        }
        40% {
            -webkit-transform:perspective(400px) rotateX(-20deg);
            -webkit-animation-timing-function:ease-in
        }
        60% {
            -webkit-transform:perspective(400px) rotateX(10deg);
        opacity:1
        }
        80% {
            -webkit-transform:perspective(400px) rotateX(-5deg)
        }
        to {
            -webkit-transform: perspective(400px)
        }
        }



   .nivoSlider h1 {
 
       -webkit-animation: flipInX 2000ms ease-in-out;
       -moz-animation: flipInX 2000ms ease-in-out;
       -ms-animation: flipInX 2000ms ease-in-out;
       animation: flipInX 2000ms ease-in-out;
       
       -webkit-backface-visibility: visible!important;
       backface-visibility: visible!important;
   }



   .inner-cap {
         width: 600px;
    -webkit-animation: nivocap 500ms ease-in-out;
       -moz-animation: nivocap 500ms ease-in-out;
       -ms-animation: nivocap 500ms ease-in-out;
       animation: nivocap 500ms ease-in-out;
}

@media screen and (max-width:1199px) {
    .nivo-caption {
        top: 15%;
       
    }
    .nivoSlider h1 {
        font-size: 35px;
    }
}
@media screen and (max-width:991px) {
    .nivo-caption {
     left: 35px;
       
    }
}
@media screen and (max-width:767px) {
    .nivo-caption {
     top:26%;
     left: 35px;
     right: 35px;
     width: auto;
       
    }
    .nivoSlider h1 {
     }
    .nivo-caption p {
     }
    
    .inner-cap {
        width: 100%;
    
    }
}
@media screen and (max-width:480px) {
.nivoSlider h1 {
 
}
.nivo-caption p {
 
}
}
@media screen and (max-width:360px) {
.nivo-caption {
    top: 15%;
}
.nivoSlider h1 {
 }
.nivo-caption p {
 }
}