/* homepage slider */

.homepage-slider-ng {
  height: 400px;
  position: relative;
}

.homepage-slider-ng:before, .homepage-slider-ng:after {
  position: absolute;
  width: 100%;
  height: 15px;
  z-index: 10;
  content: ' ';
  left: 0;
  right: 0
}

.homepage-slider-ng:before {
  top: 0;
  background: rgba(0, 0, 0, 0);
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgba(0, 0, 0, 0)), color-stop(1, rgba(0, 0, 0, 0.3)));
  background: -ms-linear-gradient(bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
  background: -moz-linear-gradient(center bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.3) 100%);
  background: -o-linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='rgba(0, 0, 0, 0.3)', endColorstr='rgba(0, 0, 0, 0)', GradientType=0)
}

.homepage-slider-ng:after {
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  background: -webkit-gradient(linear, left bottom, left top, color-stop(0, rgba(0, 0, 0, 0.3)), color-stop(1, rgba(0, 0, 0, 0)));
  background: -ms-linear-gradient(bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
  background: -moz-linear-gradient(center bottom, rgba(0, 0, 0, 0.3) 0, rgba(0, 0, 0, 0) 100%);
  background: -o-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.3));
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='rgba(0, 0, 0, 0)', endColorstr='rgba(0, 0, 0, 0.3)', GradientType=0)
}

.homepage-slider-ng .text-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 400px;
  z-index: -10;
	background-size: cover;
  background-position: center center
}

.homepage-slider-ng .text-wrapper .text-container {
  color: #fff;
  padding-top: 30px;
  text-align: center;
  text-shadow: #000 2px 2px 5px;
  font-size: 24px;
  line-height: 32px;
  width: 900px;
  margin: 0 auto
}

.homepage-slider-ng .text-wrapper .text-container h3, .homepage-slider-ng .text-wrapper .text-container .text-row {
  background: rgba(0, 0, 0, 0.5);
  padding: 0 10px;
  display: inline-block;
  margin: 3px 0
}

.homepage-slider-ng .text-wrapper .text-container h3 {
  font-size: 32px;
  text-transform: uppercase;
  font-weight: bold
}

.homepage-slider-ng .text-wrapper .text-container a {
  color: #eee;
  text-decoration: underline
}

.homepage-slider-ng .boxes-wrapper {
  position: absolute;
  top: 150px;
  left: 0;
  right: 0;
  /* bottom: 10px */
}

.homepage-slider-ng .boxes-wrapper, .homepage-slider-ng .boxes-wrapper .home-box {
  z-index: 10 !important
}
