.nivo-box, .nivo-caption, .nivoSlider {
  overflow: hidden
}
.nivoSlider {
  position: relative;
  width: 100%;
  height: auto
}
.nivoSlider img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none
}
.nivo-main-image {
  display: block !important;
  position: relative !important;
  width: 100% !important
}
.nivoSlider a.nivo-imageLink {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
	z-index:2
 
}
.nivo-box, .nivo-slice {
  z-index: 5;
  position: absolute
}
.nivo-box, .nivo-box img, .nivo-slice {
  display: block
}
.nivo-slice {
  height: 100%;
  top: 0
}
.nivo-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #000;
  color: #fff;
  width: 100%;
  z-index: 8;
  padding: 5px 10px;
  opacity: .8;
  display: none;
  -moz-opacity: .8;
  filter: alpha(opacity=8);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box
}
.nivo-caption p {
  padding: 5px;
  margin: 0
}
.nivo-caption a {
  display: inline !important
}
.nivo-html-caption {
  display: none
}
.nivo-directionNav a {
  position: absolute;
  top: 45%;
  cursor: pointer;
	z-index: 9
}
.nivo-prevNav {
  left: 0
}
.nivo-nextNav {
  right: 0
}
.nivo-controlNav {
  text-align: center;
  padding: 15px 0
}
.nivo-controlNav a {
  cursor: pointer
}
.nivo-controlNav a.active {
  font-weight: 700
}
/*----------------------------------------

  4.  Main Slider Area

----------------------------------------*/
.slide-text {
  display: flex;
	width: 100%;
	align-items:center;
justify-content: center;
  height: 100%;
  text-align: center;
}
.main-slider .slide-text {
  text-transform: uppercase;
}
.main-slider .slide-text h2 {
  display: block;
  font-size: 0;
  height: 50px;
  margin-bottom: 20px;
  position: relative;
}
.main-slider .slide-text p {
  font-size: 18px;
  letter-spacing: 1px;
  margin-top: 10px;
  text-transform: uppercase;
  margin-bottom: 25px;
  color: #fff;
}
.main-slider .slide-text h1 {
  font-size: 20px;
  letter-spacing: 5px;
  line-height: 40px;
  padding: 0 15px;
  font-weight: 800;
  background: rgba(40, 56, 145, 0.8);
  color: #fff;
}
.main-slider .slide-text h2 {
  font-size: 40px;
  line-height: 40px;
  padding: 0 15px;
  font-weight: 800;
  color: #fff;
	margin: 0;
}
.main-slider .slide-text a {
  background: #ed1c24;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  padding: 10px 15px;
  position: relative;
  text-transform: uppercase;
  top: 10px;
  border: 2px solid #ed1c24;
}
.main-slider .slide-text a:hover {
  background: #283891;
  color: #fff;
  border: 2px solid #283891;
}

.nivo-caption {
  background: rgba(255, 255, 255, 0) none repeat scroll 0 0;
  height: 100%;
  opacity: 1;
}
.cap-readmore a:hover {
  opacity: 1;
}
i.nivo-prev-icon, i.nivo-next-icon {
  color: #333;
  font-size: 25px;
  height: 45px;
  line-height: 43px;
  margin-left: 50px;
  margin-right: 30px;
  opacity: 0;
  text-align: center;
  transform: scale(1.5);
  width: 45px;
  background-color: #fff;
}
i.nivo-prev-icon:hover, i.nivo-next-icon:hover {
  border: 2px solid #222;
  color: #fff;
  background-color: #222;
}
.slider:hover i.nivo-prev-icon, .slider:hover i.nivo-next-icon {
  transform: scale(1);
  opacity: 1;
}
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #9D9EA2;
  height: 5px;
  -webkit-animation: timebar 5000ms ease-in-out;
  -moz-animation: timebar 5000ms ease-in-out;
  -ms-animation: timebar 5000ms ease-in-out;
  animation: timebar 5000ms ease-in-out;
  opacity: 0.8;
}
@-webkit-keyframes timebar {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@keyframes timebar {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
.slider-progress.pos_hover {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}

.main-slider .slide-text h1 {
  font-size: 20px;
  display: inline-block;
  letter-spacing: 6px;
  font-weight: 400;
  line-height: 30px;
}
.main-slider .slide-text p {
  font-size: 16px;
  letter-spacing: 4px;
	max-width: 50%;
	margin: auto
}
@media only screen and (min-width: 280px) and (max-width: 479px) {
  .main-slider .slide-text h1 {
    font-size: 15px;
    line-height: normal;
    letter-spacing: 1px;
  }
  .main-slider .slide-text h2 {
    font-size: 20px;
    line-height: normal;
    margin-top: 5px;
    letter-spacing: 2px;
    height: inherit;
    padding-bottom: 0px;
    margin-bottom: 0px;
  }
  i.nivo-prev-icon, i.nivo-next-icon {
    font-size: 18px;
    height: 25px;
    line-height: 21px;
    margin-left: 10px;
    margin-right: 10px;
    width: 25px;
  }
  .main-slider .slide-text p {
    font-size: 13px;
    letter-spacing: 0px;
    margin-top: 5px;
    margin-bottom: 10px;
	  padding: 0;
	  line-height: 17px
  }
  .main-slider .slide-text a {
    font-size: 12px;
    padding: 5px 10px;
    top: -4px;
  }
  
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
  .main-slider .slide-text h1 {
    font-size: 30px;
    line-height: normal;
    letter-spacing: 2px;
  }
  .main-slider .slide-text h2 {
    font-size: 35px;
    line-height: normal;
    margin-top: 10px;
    letter-spacing: 2px;
    height: inherit;
    padding-bottom: 0px;
    margin-bottom: 2px;
  }
  i.nivo-prev-icon, i.nivo-next-icon {
    font-size: 22px;
    height: 30px;
    line-height: 28px;
    margin-left: 10px;
    margin-right: 10px;
    width: 30px;
  }
  .main-slider .slide-text p {
    font-size: 15px;
    letter-spacing: 0px;
    margin-top: 10px;
    margin-bottom: 15px;
  }
  .main-slider .slide-text a {
    font-size: 15px;
    padding: 8px 15px;
    top: 6px;
  }
  .slide-text {
    margin-top: 10%;
  }
}