/* Animation */
@-webkit-keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  50% {
    opacity: 1;
  }
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  50% {
    opacity: 1;
  }
}

.carousel {
  position: relative;
  line-height: 1;
}

.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-inner > .item {
  position: relative;
  display: none;
  -webkit-transition: 0.6s ease-in-out left;
     -moz-transition: 0.6s ease-in-out left;
       -o-transition: 0.6s ease-in-out left;
          transition: 0.6s ease-in-out left;
}

.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  display: block;
  line-height: 1;
}

.carousel-inner > .active,
.carousel-inner > .next,
.carousel-inner > .prev {
  display: block;
}

.carousel-inner > .active {
  left: 0;
}

.carousel-inner > .next,
.carousel-inner > .prev {
  position: absolute;
  top: 0;
  width: 100%;
}

.carousel-inner > .next {
  left: 100%;
}

.carousel-inner > .prev {
  left: -100%;
}

.carousel-inner > .next.left,
.carousel-inner > .prev.right {
  left: 0;
}

.carousel-inner > .active.left {
  left: -100%;
}

.carousel-inner > .active.right {
  left: 100%;
}

.carousel-control {
  position: absolute;
  top: 40%;
  left: -70px;
  font-size: 50px;
  font-weight: 100;
  line-height: 30px;
  color: #ffffff;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: all 0.3s linear;
     -moz-transition: all 0.3s linear;
       -o-transition: all 0.3s linear;
          transition: all 0.3s linear;
}

.carousel-control.right {
  right: -70px;
  left: auto;
}

.carousel:hover .carousel-control.left {left: 10px;opacity: 0.6;}
.carousel:hover .carousel-control.right {right: 10px;opacity: 0.6;}

.carousel:hover .carousel-control.left:hover,
.carousel:hover .carousel-control.left:focus,
.carousel:hover .carousel-control.right:hover,
.carousel:hover .carousel-control.right:focus {
  color: #ffffff;
  text-decoration: none;
  opacity: 1;
  filter: alpha(opacity=100);
}

.carousel-indicators {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 5;
  margin: 0;
  list-style: none;
}

.carousel-indicators li {
  display: block;
  float: left;
  width: 10px;
  height: 10px;
  margin-left: 5px;
  text-indent: -999px;
  background-color: #ccc;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 5px;
}

.carousel-indicators .active {
  background-color: #fff;
}

.carousel-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 15px;
  background: #333333;
  background: rgba(0, 0, 0, 0.75);
}

.carousel-caption h4,
.carousel-caption p {
  line-height: 20px;
  color: #ffffff;
}

.carousel-caption h4 {
  margin: 0 0 5px;
}

.carousel-caption p {
  margin-bottom: 0;
}




/* Common Styling */
#xgslider-wrap {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
  
    -webkit-flex-flow: row wrap;
    justify-content: space-around;
    overflow: hidden;
}

.item {
  height: 100%;
}

/*.item.active .item-section{
   -webkit-animation-name: zoomIn;
   -moz-animation-name: zoomIn;
   animation-name: zoomIn;
}*/

.item-section {
  position: relative;
  color: #fff;

   -webkit-animation: zoomIn 0.3s linear alternate;
   -moz-animation: zoomIn 0.3s linear alternate;
   -o-animation: zoomIn 0.3s linear alternate;
   animation: zoomIn 0.3s linear alternate;

}

.item-section::before {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
  bottom: 0;
  content: "";
  left: 0;
  position: absolute;
  right: 0;
  top: 0;

  -webkit-transition: all 0.3s linear;
     -moz-transition: all 0.3s linear;
       -o-transition: all 0.3s linear;
          transition: all 0.3s linear;
}

.item-section:hover::before {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.3);;
}

.item-section img {
  height: 100%;
}

.xgslide-item-details {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 40%;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.xgslider-title a {
  color: #fff;
}

.xgslider-intro {
  line-height: 1.4;
}

.meta-info span+span {
  margin-left: 7px;
}

.meta-info [class^="icon-"],
.meta-info [class*=" icon-"] {
  margin-right: 5px;
}


/* Layout 1 Styling */
.layout1 .primary-col, 
.layout1 .secondary-col {
  float: left;
  height: 100%;
}

.layout1 .primary-col {
    width: 33.33%;
}

.layout1 .secondary-col {
    width: 66.66%;
}

.layout1 .item-section {
  height: 100%;
}

.layout1 .item-section img {
  width: 100%;
}

.layout1 .xgslider-title {
  font-size: 24px;
  line-height: 1.3;
}

.layout1 .secondary-col .item-section {
    width: 50%;
    float: left;
}



/* Layout 2 styling */
.layout2 .primary-col, 
.layout2 .secondary-col {
    float: left;
    height: 100%;
    display: block;
    overflow: hidden;
}

.layout2 .primary-col {width: 60%;}
.layout2 .primary-col .item-section {
  height: 100%;
}

.layout2 .primary-col img{
    height: 100%;
    width: 100%;
}

.layout2 .secondary-col {width: 40%;}
.layout2 .secondary-col .item-section {
    height: 50%;
    float: left;
    width: 100%;
}

.layout2 .secondary-col .item-section img {
    height: 100%;
    width: 100%;
}

.layout2 .secondary-col .xgslider-title {
  font-size: 20px;
  line-height: 1.2;
}
.layout2 .secondary-col .xgslide-item-details {}




/* Responsive Styling */
@media (max-width: 767px) {
    
    .primary-col, .secondary-col {
        width: 100%;
        height: auto;
    }
    
    .primary-col img{
        height: auto;
    }
    
}




