/**
 * BxSlider v4.1.2 - Fully loaded, responsive content slider
 * http://bxslider.com
 *
 * Written by: Steven Wanderski, 2014
 * http://stevenwanderski.com
 * (while drinking Belgian ales and listening to jazz)
 *
 * CEO and founder of bxCreative, LTD
 * http://bxcreative.com
 */


/** RESET AND LAYOUT
===================================*/

.bx-wrapper {
  position: relative;
  padding: 0;
  *zoom: 1;
}

.bx-wrapper img {
  max-width: 100%;
  display: block;
}

/** THEME
===================================*/

.bx-wrapper .bx-viewport {
  -moz-box-shadow: 0 0 5px #ccc;
  /* -webkit-box-shadow: 0 0 5px #ccc; */
  /* box-shadow: 0 0 5px #ccc; */
  /* border:  5px solid #fff; */
  /* left: -5px; */
  /* background: #fff; */
  
  /*fix other elements on the page moving (on Chrome)*/
  /* -webkit-transform: translatez(0); */
  -moz-transform: translatez(0);
      -ms-transform: translatez(0);
      -o-transform: translatez(0);
      
  /* transform: translatez(0); */
}

.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
  position: absolute;
  /* bottom: -30px; */
  width: auto;
}

/* LOADER */

.bx-wrapper .bx-loading {
  min-height: 50px;
  background: url(images/bx_loader.gif) center center no-repeat #fff;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2000;
}

/* PAGER */
.bx-wrapper .bx-pager {
  text-align: left;
  font-size: .85em;
  font-family: Arial;
  font-weight: bold;
  color: #C00000;
  padding-top: 20px;
  padding-left: 15px;
}

.bx-wrapper .bx-pager .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
  display: inline-block;
  *zoom: 1;
  *display: inline;
}

.bx-wrapper .bx-pager.bx-default-pager a {
  background: #c0c0c0;
  text-indent: -9999px;
  display: block;
  width: 9px;
  height: 9px;
  margin: 0 3px;
  outline: 0;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
  background: #C00000;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
  left: 0px;
  background: url(../img/NG_slidergran_left.png) no-repeat;
}
.bx-wrapper .bx-next {
  right: 10px;
  background: url(../img/NG_slidergran_right.png) no-repeat 0px;
  z-index: 999 !important;
}
.slider-nou .bx-wrapper .bx-prev {
  left: 0px;
  background: url(../img/big_arrrow_left.png) no-repeat;
}
.slider-nou .bx-wrapper .bx-next {
  right: 10px;
  background: url(../img/big_arrrow_right.png) no-repeat 0px;
  z-index: 999 !important;
}
.bx-wrapper .bx-controls-direction{
  opacity: 0;
}
.bx-wrapper .bx-controls-direction:hover{
  opacity: 1;
}
.fpca_carrusel .slider-nou .bx-wrapper .bx-controls-direction a {
    position: absolute;
    top: 17%;
    outline: 0;
    width: 119px;
    height: 119px;
    text-indent: -9999px;
    z-index: 9999;
    top: 26%;
}
.bx-wrapper .bx-prev:hover {
  background-position: 0 0;
}

.bx-wrapper .bx-next:hover {
  /* background-position: -43px 0; */
}

.bx-wrapper .bx-controls-direction a {
  position: absolute;
  top: 17%;
  outline: 0;
  width: 55px;
  height: 55px;
  text-indent: -9999px;
  z-index: 9999;
  top: 45%;
}

.bx-wrapper .bx-controls-direction a.disabled {
  display: none;
}

/* AUTO CONTROLS (START / STOP) */

.bx-wrapper .bx-controls-auto {
  text-align: center;
}

.bx-wrapper .bx-controls-auto .bx-start {
  display: block;
  text-indent: -9999px;
  width: 10px;
  height: 11px;
  outline: 0;
  background: url(images/controls.png) -86px -11px no-repeat;
  margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active {
  background-position: -86px 0;
}

.bx-wrapper .bx-controls-auto .bx-stop {
  display: block;
  text-indent: -9999px;
  width: 9px;
  height: 11px;
  outline: 0;
  background: url(images/controls.png) -86px -44px no-repeat;
  margin: 0 3px;
}

.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active {
  background-position: -86px -33px;
}

/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
  text-align: left;
  width: 80%;
}

.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
  right: 0;
  width: 35px;
}

/* IMAGE CAPTIONS */

.bx-wrapper .bx-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #666\9;
  background: rgba(80, 80, 80, 0.75);
  width: 100%;
}

.bx-wrapper .bx-caption span {
  color: #fff;
  font-family: Arial;
  display: block;
  font-size: .85em;
  padding: 10px;
}
.fpca_carrusel .slider-nou .carousel-caption {
  right: 15%;
  bottom: 20px;
  left: 15%;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #000;
  text-align: left;
  padding: 10px;
  position: inherit;
  text-shadow: none; 
  background:#fff
}
.fpca_carrusel .slider-nou .carousel-caption p{
  font-size: 14px;
}
/*.fpca_carrusel .slider-nou .ombra-li{
  border-image: url(/system/modules/cat.vass.wcmResponsive.template.common/resources/common/img/shadow.png) 15 15 20 15;
  border-width: 5px;
}*/
.carousel-caption:after {
  content: "";
  position: absolute;
  z-index: -1;
  -webkit-box-shadow: 0 0 34px #999;
  box-shadow: 0 0 34px #999;
  bottom: 3px;
  width: 81%;
  height: 12%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  /* left: 10%; */
  right: 10%;
  opacity: 0.5;
  filter: alpha(opacity=40);
}
.fpca_carrusel .slider-nou .carousel-image span {
  /*position: absolute;
  color: #fff;
  bottom: 21%;
  width: 100%;
  height: 15%;
  padding-top: 1.2em;
  padding-left: 0.7em;
  background: -moz-linear-gradient(top, rgba(51, 51, 51, 0) 0%, rgba(51, 51, 51, 0.5) 100%, rgba(51, 51, 51, 1) 100% );
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(51, 51, 51, 0) ), color-stop(100%, rgba(51, 51, 51, 0.5) ), color-stop(100%, rgba(51, 51, 51, 1) ) );
  background: -webkit-linear-gradient(top, rgba(51, 51, 51, 0) 0%, rgba(51, 51, 51, 0.5) 100%, rgba(51, 51, 51, 1) 100% );
  background: -o-linear-gradient(top, rgba(51, 51, 51, 0) 0%, rgba(51, 51, 51, 0.5) 100%, rgba(51, 51, 51, 1) 100% );
  background: -ms-linear-gradient(top, rgba(51, 51, 51, 0) 0%, rgba(51, 51, 51, 0.5) 100%, rgba(51, 51, 51, 1) 100% );
  background: linear-gradient(to bottom, rgba(51, 51, 51, 0) 0%, rgba(51, 51, 51, 0.5) 100%, rgba(51, 51, 51, 1) 100% );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00333333', endColorstr='#333333', GradientType=0 );*/
  position: absolute;
  color: #fff;
  /* left: 4%; */
  /* bottom: 21%; */
  width: 100%;
  /* bottom: 0; */
  height: 15%;
  margin-top: 13.3em;
  padding-top: 1.2em;
  padding-bottom: 1.9em;
  padding-left: 0.7em;
  background: -moz-linear-gradient(top, rgba(51, 51, 51, 0) 0%, rgba(51, 51, 51, 0.5) 100%, rgba(51, 51, 51, 1) 100% );
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(51, 51, 51, 0) ), color-stop(100%, rgba(51, 51, 51, 0.5) ), color-stop(100%, rgba(51, 51, 51, 1) ) );
  background: -webkit-linear-gradient(top, rgba(51, 51, 51, 0) 0%, rgba(51, 51, 51, 0.5) 100%, rgba(51, 51, 51, 1) 100% );
  background: -o-linear-gradient(top, rgba(51, 51, 51, 0) 0%, rgba(51, 51, 51, 0.5) 100%, rgba(51, 51, 51, 1) 100% );
  background: -ms-linear-gradient(top, rgba(51, 51, 51, 0) 0%, rgba(51, 51, 51, 0.5) 100%, rgba(51, 51, 51, 1) 100% );
  background: linear-gradient(to bottom, rgba(51, 51, 51, 0) 0%, rgba(51, 51, 51, 0.5) 100%, rgba(51, 51, 51, 1) 100% );
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00333333', endColorstr='#333333', GradientType=0 );
}
.fpca_carrusel .slider-nou .carousel-image span a{
  color: #fff;
  top: 0;
}
/*.fpca_carrusel .slider-nou .carousel-image{
  margin: -5px -5px 0px -5px; 
}*/
.fpca_carrusel .slider-nou .gradient{
    position: relative;
}
.fpca_carrusel .carousel-image.no-descripcio span {
    bottom:0% !important;
    overflow:hidden;
}
@media (max-width: 47.938em){
  .fpca_carrusel .slider_petit .carousel-caption p {
    height: 36px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    min-height: inherit;
  }
}
.fpca_carrusel .slider_petit .carousel-caption p {
  color: #fff;
  color: #333;
  font-size: 13px;
  text-align: left;
  padding: 15px 15px 0;
  margin: 14px 0 0;
  min-height: 86px;
}

.fpca_carrusel .slider-nou .carousel-image:not(.no-descripcio) span {
position: absolute;
color: #fff;
width: 100%;
margin-top: 13.3em;
padding-bottom: 1.9em;
padding-left: 0.7em;
height: 47px;
padding-top:0;
}

@media (max-width: 1029px){
.fpca_carrusel .slider-nou .carousel-image:not(.no-descripcio) span{
    left: 0;
    top: -15.5%;
	overflow:hidden;
  height: 15%;
  margin-top: 13.3em;
  padding-top: 1.2em;
  padding-bottom: 1.9em;
  padding-left: 0.7em;
 }
}

@media screen and (max-width: 772px){
  .fpca_carrusel .slider-nou .bx-controls-direction{
    display: none;
  }
  .fpca_carrusel .slider-nou .carousel-caption p{
    font-size: 13px;
  }
  .fpca_carrusel .bx-wrapper .bx-controls-direction {
      opacity: 1;
  }
  
  .bx-wrapper .bx-next {
      right: 0px;
      background: url(../img/NG_sliderpetit_right.png) no-repeat 0px;
      z-index: 999 !important;
  }
  .bx-wrapper .bx-prev {
      left: 10px;
      background: url(../img/NG_sliderpetit_left.png) no-repeat 0px;
  }
  .fpca_carrusel .slider-nou .bx-wrapper .bx-prev { 
    background: none;
  }
  .fpca_carrusel .slider-nou .bx-wrapper .bx-next {
    background: none;
  }
  .fpca_carrusel .slider-nou .carousel-image span {
  	bottom: 40%;
		left: 0%;
		padding-bottom: 25px;
  }
  .fpca_carrusel .slider-nou .carousel-image span a {
    color: #fff;
  }
}
@media screen and (max-width: 47.939em){
  .fpca_carrusel .slider-nou .carousel-image span {
		  position: absolute;
		  bottom: 0%;
		  color: #fff;
		  width: 100%;
		  height: 39.1%;
		  background: -moz-linear-gradient(top, rgba(51, 51, 51, 0) 0%, rgba(51, 51, 51, 0.5) 100%, rgba(51, 51, 51, 1) 100% );
		  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(51, 51, 51, 0) ), color-stop(100%, rgba(51, 51, 51, 0.5) ), color-stop(100%, rgba(51, 51, 51, 1) ) );
		  background: -webkit-linear-gradient(top, rgba(51, 51, 51, 0) 0%, rgba(51, 51, 51, 0.5) 100%, rgba(51, 51, 51, 1) 100% );
		  background: -o-linear-gradient(top, rgba(51, 51, 51, 0) 0%, rgba(51, 51, 51, 0.5) 100%, rgba(51, 51, 51, 1) 100% );
		  background: -ms-linear-gradient(top, rgba(51, 51, 51, 0) 0%, rgba(51, 51, 51, 0.5) 100%, rgba(51, 51, 51, 1) 100% );
		  background: linear-gradient(to bottom, rgba(51, 51, 51, 0) 0%, rgba(51, 51, 51, 0.5) 100%, rgba(51, 51, 51, 1) 100% );
		  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00333333', endColorstr='#333333', GradientType=0 );
  }
  .fpca_carrusel .slider-nou .ombra-li {
			/*border-right: 1px solid;*/
			border-width: 5px;
			}
  /*Canvi de mediaQuery INICI*/
  .bx-wrapper .bx-controls-direction a {
      position: absolute;
      top: 17%;
      outline: 0;
      width: 55px;
      height: 55px;
      text-indent: -9999px;
      z-index: 9999;
      top: 30%;
  }
  .carousel-image:after {
  content: "";
  position: absolute;
  z-index: -1;
  -webkit-box-shadow: 0 0 17px #999;
  box-shadow: 0 0 17px #000;
  bottom: 0px;
  width: 81%;
  height: 13%;
  -moz-border-radius: 100%;
  border-radius: 100%;
  /* left: 10%; */
  right: 10%;
  opacity: 0.8;
  filter: alpha(opacity=40);
}
  /*Canvi de mediaQuery FI*/
}