.navbar-brand img {
  max-height:40px;
  margin-top: -9px;
}

.barralateral a:hover {
  border-left: 3px solid #7368c8;
  background: none;
}

.barralateral > .nav > li > a:hover,
.barralateral > .nav > li > a:focus {
  background: none;
}

.barralateral .nav>.active>a {
  border-left: 3px solid #110098;
  background: none;
}


/* Personalizar diapositivas
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  padding: 0;
}

.carousel-caption {
  z-index: 10;
}

.item img {
  width: 100%;
}

/*Carousel fade
---------------------------------------------------------------*/

.carousel-fade .carousel-inner .item {
  opacity: 0;
  transition-property: opacity;
}

.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;
}

@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);
    }
}

/*Cabecera indice*/

.cabeceraindice {
  height: 202px;
  background-image: url('../images/PFuengirolaI89_XS.jpg');
  background-size: cover;
  background-position: center;
  z-index: 10;
  padding-top: 80px;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}


/*Cabecera estatica*/

.imagencabecera {
  padding: 0;
}

.imagencabecera img {
  width: 100%;
}


/* cuerpo CONTENT
-------------------------------------------------- */

section {
  margin-top: 51px;
}

.cuerpoprincipal {
  background-color: #fff;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding-bottom: 50px;
}

.cuerpoprincipal p {
  text-align: justify;
}

.variasimagenes > div {
  padding: 20px;
}

/*Barra lateral=================*/

.barralateral {
  z-index: 1000;
  padding: 0;
  padding-top: 10px;
  overflow: auto;
  border-right: 3px solid hsl(0, 0%, 80%);
}

.barralateral a{
  font-size: 16px;
}

.alturauniforme .col-md-9{
  padding-bottom: 50px;
}

.affix-top,.affix{
	position: static;
}

#sidebar.affix-top {
  position: static;
	width:228px;
}

#sidebar.affix {
  position: fixed;
  top:100px;
  width:228px;
}

.nav-barralateral {
  position: fixed;
  overflow: auto;
}

/*Texto desplegable====================================*/

.desplegable{
  cursor: pointer;
}

.iconodesplegable{
  font-size: 20px;
}

.oculto{
  display: none;
}

/*Nuestros clientes====================================*/

#nuestrosclientes img {
  background: #3fbf79;
  width: 150px;
  margin: auto;
}

#nuestrosclientes .owl-pagination {
  display: none;
}

.ClientesNavegacion{
  text-align: center;
}

.ClientesNavegacion a{
  color: #110098;
}

.ClientesNavegacion a:hover{
  color: #7368c8;
}


/*Arreglos de link por barra fija================*/

.enlace {
  display: block;
  height: 51px;
  margin-top: -51px;
  visibility: hidden;
}

/* Centrar el texto */
.cuerpoprincipal .col-lg-4 {
  margin-bottom: 20px;
  text-align: center;
}
.cuerpoprincipal h2 {
  font-weight: normal;
}
.cuerpoprincipal .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}

.cuerpoprincipal .col-sm-3,
.cuerpoprincipal .col-sm-6 {
  margin-bottom: 20px;
  text-align: center;
}

/*   Estilos de texto con padding debajo     */

.col-md-9 .col-md-6 {
  padding-bottom:20px;
}

/*Padding para elementos con barra lateral*/

.col-md-9 {
  padding-left: 30px;
}

/*Pie de pagina*/
.pieprincipal {
  /*padding-top: 15px;*/
  background-color: rgb(5, 4, 29);
}

.pieprincipal > .container > .row > div{
  padding: 30px;
}

.pieprincipal h4{
  color: #aaaaaa;
  margin-top: 0px;
  margin-bottom: 15px;
}

.pieprincipal p{
  color: rgb(170, 170, 170);
  font-size: 13px;
  border-bottom: 1px dotted rgb(170, 170, 170);
  margin-bottom: 7px;
}

.pieprincipal a{
  color: rgb(170, 170, 170);
  font-weight: normal;
  text-decoration: none;
}

.pieprincipal img{
  margin: inherit;
  float: right;
  margin-bottom: 10px;
}

.pieprincipal small {
  color: rgb(170, 170, 170);
  font-weight: lighter;
}




/* RESPONSIVE CSS
-------------------------------------------------- */
@media (min-width: 768px) {
  .navbar-fixed-top li a {
      line-height: 55px;
      height: 55px;
      padding-top: 0;
  }
  .navbar-brand img {
    max-height:65px;
    margin-left: -15px;
    margin-top: -9px;
  }
  section {
    margin-top: 56px;
  }
  #navbar .nav>li>a:hover{
    color: #7368c8;
  }

  #navbar .nav>li>a:hover:after{
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #7368c8;
  }

  #navbar .nav>.active>a {
    background: none;
    color: #110098;
  }

  #navbar .nav>.active>a:after{
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #110098;
  }


}
@media (min-width: 992px) {
  .navbar-fixed-top li a {
      line-height: 60px;
      height: 60px;
      font-size: 16px;
  }
  .navbar-brand img {
    max-height:75px;
    margin-left: 0px;
  }
  section {
    margin-top: 61px;
  }
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }
  .alturauniforme {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display:         flex;
  }
  .vcenter {
      display: inline-block;
      vertical-align: middle;
      float: none;
      margin-right: -4px;
  }
  .oculto{
    display: inherit;
  }
  .pieprincipal p{
    border-bottom: none;
  }
}
/*@media (min-width: 1200px) {

}*/

/*Hacer responsive las imágenes redondeadas*/
.img-rounded{
  max-width: 100%;
  height: auto;
}

/*Centrar las imágenes responsive*/

.img-responsive{
  margin: 0 auto;
}
