/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 27/02/2017, 11:09:45 AM
    Author     : Jasweb
*/

/* CAROUSEL
-------------------------------------------------- */
.carousel {
  z-index: 1;
  background: #f2f2f2;
}
.carousel-indicators li {
  width: 40px;
  height: 5px;
  border: 0;
  background: #e7e7e7;
}
.carousel-indicators li.active {
  width: 40px;
  height: 5px;
  border: 0;
  background: #808080;
}
.carousel-control .glyphicon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  color: #282828;
  line-height: 50px;
  font-size: 22px;
}
.carousel-control:hover .glyphicon {
  background: #f78f1e;
  color: #fff;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
  text-align: left;
  color: #333;
  text-shadow: none;
  padding-bottom: 50px;
}
.carousel-caption h2 {
  font-size: 60px;
}
.carousel-caption p {
  font-weight: 300;
  font-size: 20px;
}

.btn-slide {
  border-radius: 0;
  background: transparent;
  border: solid 2px #333;
  padding: 8px 45px;
  text-transform: uppercase;
  color: #333;
  font-weight: 600;
  font-size: 16px;
}
/* Declare heights because of positioning of img element */
/*.carousel .carousel-item {
  height: 564px;
  overflow: hidden;
}*/
.carousel-inner > .carousel-item > img {
  /*  position: absolute;
    top: 0;
  left: 0;*/
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  bottom: -100%;
  margin: auto;
}

.carousel-caption p.slide-text {
  font-weight: 500;
  display: inline-block;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 1px 12px 3px 0;
}

/* CATEGORY MODULES
-------------------------------------------------- */
#category-modules .item > a {
  background: #f3f3f3;
  width: 100%;
  display: block;
  color: #282828;
  height: 240px;
  padding: 5px;
  /*margin-top: 7px;*/
  text-decoration: none;
}
#category-modules .item > a:hover {
  text-decoration: none;
  -moz-box-shadow: inset 0 0 20px #ddd;
  -webkit-box-shadow: inset 0 0 20px #ddd;
  box-shadow: inset 0 0 20px #ddd;
}
#category-modules a:hover h3 {
  color: #c6161d;
}
#category-modules .item h3 {
  margin-bottom: 5px;
}
#category-modules .item p {
  font-size: 16px;
  font-weight: 300;
}
#category-modules .item img {
  max-width: 100%;
  max-height: 150px;
}
.formSubscribe {
  width: 70%;
  margin: 0 auto;
}
.formSubscribe .form-control {
  background: #fff;
  border-color: #fff;
  /*color: #fff;*/
  text-align: center;
}

.formSubscribe .btn {
  border-color: #fff;
  background: transparent;
  border-radius: 0;
}
.formSubscribe .btn:hover {
  background: #343a40;
  color: #fff;
}
/* RESPONSIVE CSS
-------------------------------------------------- */

.carousel,
.carousel .carousel-item {
  position: relative;
  height: 450px;
  overflow: hidden;
}

/*.carousel-holder {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.carousel-holder .carousel-item {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: all 1.5s ease 0s;
  transform: scale(1);
}
.carousel-holder .carousel-item .img-responsive {
  position: absolute;
  left: 0;
  top: 0;
  transition: all 1.5s ease 0s;
  transform: perspective(100vw) translateZ(15vw);
  opacity: 0;
  width: 100%;
}
.carousel-holder .carousel-item.active .img-responsive {
  opacity: 1;
  transform: perspective(100vw) translateZ(0);
}*/

/* RESPONSIVE CSS
-------------------------------------------------- */
/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 0) and (max-width: 576px) {
  h1 {
    font-size: 1.6rem;
  }
  .carousel,
  .carousel .carousel-item {
    height: 245px;
  }
}
@media (min-width: 576px) {
  .carousel,
  .carousel .carousel-item {
    height: 245px;
  }
}

@media (min-width: 768px) {
  .carousel,
  .carousel .carousel-item {
    height: 330px;
  }
}
@media (min-width: 992px) {
  .carousel,
  .carousel .carousel-item {
    height: 425px;
  }
}
@media (min-width: 1200px) {
  .carousel,
  .carousel .carousel-item {
    height: 510px;
  }
}
@media (min-width: 768px) {
  .carousel-caption p {
    margin-bottom: 20px;
    /*font-size: 21px;*/
    line-height: 1.4;
  }
}
