﻿/*
inspired from http://codepen.io/Rowno/pen/Afykb
& https://jsfiddle.net/q0rgL8ws/
*/
.longitudes{
    width: 100%;
    height: initial;
    padding-left: inherit;
    padding-right: inherit;
}
.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
    overflow:hidden;
}
.item.active img {
    transition: transform 5000ms linear 0s;
    /* This should be based on your carousel setting. For bs, it should be 5second*/
    transform: scale(1.05, 1.05);
}
.carousel-fade .carousel-inner .active {
  opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}

.carousel-fade .carousel-control {
  z-index: 2;
  border-radius:100%;
  border-bottom-left-radius:100%;
  border-bottom-right-radius:100%;
}

/*
WHAT IS NEW IN 3.3: "Added transforms to improve carousel performance in modern browsers."
now override the 3.3 new styles for modern browsers & apply opacity
*/
@media all and (transform-3d), (-webkit-transform-3d) {
    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
      opacity: 0;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
      opacity: 1;
      -webkit-transform: translate3d(0, 0, 0);
              transform: translate3d(0, 0, 0);
    }
}
/*responsivo*/

@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation : landscape) {
    .carousel-inner > .item > a > img, .carousel-inner > .item > img {
        height: auto;
        width:100%;
    }
}
@media only screen and (max-width: 767px) {
    .carousel-inner>.item>a>img, .carousel-inner>.item>img{
        height:300px;
        width:100%;
    }

}
@media only screen and (max-width: 400px) {
    .carousel-inner > .item > a > img, .carousel-inner > .item > img {
        height: 250px;
        width:100%;
    }
}
@media only screen and (min-width: 342px) and (max-width: 782px) {
    .carousel-inner > .item > a > img, .carousel-inner > .item > img {
        height: 300px;
        width:100%;
    }
}




