#main.l-proyectos::after {

    height: calc(100% - 300px);

}



.proyecto {
    margin-bottom:30px;

}

.proyecto .card-img-overlay {
/*    position:absolute;
    top:0;
    width: 100%;
    height: 100%;*/
    background-image: url(../img/capa_proyecto_tl.png), url(../img/capa_proyecto_br.png);
    background-position: left top, bottom right;
    background-repeat: no-repeat;

    background-color: rgba(51,51,51,0.4);

/*     background-size: cover; */
    text-align:center;
}

.proyecto .card-img-overlay .titulo {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    line-height: 32px;
    margin-top: 20%;
    display:block;
    margin-bottom: 30px;
}

.proyecto:hover .card-img-overlay{
    background-color:rgba(51,51,51,1);
    transition: all 0.3s ease;
}
.proyecto:hover img {
    transform: scale(1.2);
    transition: all 0.3s ease;
}

.proyecto {
    overflow:hidden;
}

.proyecto .titulo span {
    font-size: 16px;
    font-weight: normal;
    display:block;
    margin-bottom: 5px;
}

.proyecto .enlace {
    font-size: 16px;
    font-weight: bold;
    display:none;
}

.proyecto:hover .enlace{
    display: inline-block;
}

.proyecto:hover .enlace{
    color: #f14639;
}

.contenido-proyecto {
    margin-top: 40px;
    margin-bottom: 60px;
}

.caracteristicas ul {
    padding:0;
    list-style:none;

}

.open-filtro {
    white-space: nowrap;
}

.bloque-gris-oscuro {
    margin-top:0px;
}

.imagen-principal {
    margin-bottom: 60px;
}


#contenido.proyectoDatos {
    padding-top:90px;
}

.intro {
/*     object-fit: contain; */
/*     background: rgba(0, 0, 0, 0.87) url(../img/texture-project.png); */
    background: rgba(0, 0, 0, 0.82) url(../img/texture-decoration.svg) no-repeat;

    background-size: cover;
    padding: 92px 20px;
    position: relative;
    z-index: -2;
}

.intro .comillas-left {
  background: url(../img/quotes.svg) no-repeat;
  background-size: cover;
  padding:40px 50px;
  position: absolute;
  top:-20px;
  left:20%;
  z-index: -1;
}

.intro .comillas-right {
  background: url(../img/quotes.svg) no-repeat;
  background-size: cover;
  padding:40px 50px;
  position: absolute;
  bottom:-24px;
  right:20%;
  z-index: -1;
  transform: rotate(180deg);
}

.intro .textoHtml {
    font-size: 50px;
    font-weight: bold;
    line-height: normal;
    text-align: center;
    color:#fff;
}

.linea-filtros {
    padding: 10px 0 30px 0;
}

.linea-filtros .nav a{
    color: #575756;
}


#window-filtros {
    top:0;
    width:100%;

    position:absolute;
    display: none;
    background: #fafafa url(../img/menu-texture.svg) no-repeat bottom right;
    overflow: hidden;
    z-index:99999;
}

.topciones {
    padding-top:180px;
}

#window-filtros .footer{
    margin-top: 30px;
    padding:40px 0px 40px 0px;
    background:#fff;
}

.btexto input {
    background: #eaeaea;
    border-radius:0;
    border: none;
    padding: 10px;
}

.opcion span {
    color: #575756;
    margin-left:0;
    font-size: 16px;
}

.subs {
    margin-left: 15px;
}

.caracteristicas .subs {
    margin-left: 0;
}

#resultados {
    color: #c2c2c2;
    line-height:54px;
}

#resultados .total {
    color: #333;
    font-size:36px;
    font-weight:bold;
}
#resultados span {
    vertical-align:middle;
}

#paginas {
    padding-bottom: 40px;
}

.relacionados {
    margin: 200px 0 40px 0;

}

.relacionados .titulo-h1 {
    font-size: 36px;
    margin-bottom: 80px;
}

.caracteristicas .titulo {
    font-weight: bold;
    font-size: 16px;
}

.caracteristicas .titulo:after {
   content: " ";
   height: 2px;
   width: 20px;
   background-color: #f14639;
   display:block;
   margin-top: 34px;
   margin-bottom: 42px;
}


.bx-wrapper .bx-controls-direction a {
    top: 55%;
}

.bx-wrapper .bx-prev {
    left: 15px;
}

.bx-wrapper .bx-next {
    left: 40px;
}

.imagenes {
    margin-bottom: 40px;
}

.bloque-gris-oscuro.con-ficha > div {
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.btn-ficha {
    border: 1px solid #fff;
    background: none;
    font-size: 22px;
    border-radius: 0;
    margin: 15px;
    padding: 2px 10px;
    line-height: 22px;
    color: #fff;
    width: 36px;
    text-align: center;
}

.btn-ficha:hover {
    background: #fff;
    color: #333;

}

.btn-ficha.collapsed:after {
    content: "+";
}

.btn-ficha:after {
    content: "-";
}

.btn-ficha.focus, .btn-ficha:focus {
    outline: 0;
    box-shadow: none;
}

#ficha {
    margin-bottom: 15px;
}

#ficha .card-body{
    padding: 0;
}

#ficha td {
    display: block;
    width: 100%;
    color: #fff;
    font-size: 14px;
}

#ficha .card {
    background: #333;
    color: #fff;
}



.mas-imagenes {
    margin: 20px 0 100px 0;
}

.mas-imagenes img{
    max-width:100%;
}

.mas-imagenes .image {
    margin-top: 30px;
}

.btexto {
    margin-bottom:15px;
}

.select-nav {
    width:100%;
    background:#c2c2c2;
    border: none;
    padding:10px 15px;
    margin-bottom: 15px;
}


@media (max-width: 991px) {
    .intro .textoHtml {
      font-size: 44px;
    }

    #nav .izq{
        background-image: none;
    }

    .relacionados .titulo-h1 {
        font-size: 32px;
    }

    .topciones {
        padding-top: 100px;
    }

    body.open-menu.filtro {
        overflow:auto;
        position:static;
    }

    .opciones {
        font-size: 12px;
    }

    body.open-menu #window-filtros .header {
        background: #fafafa;

    }

    .btexto input {
        width: 100%;
    }

}

@media (max-width: 767px) {

    .intro {
        padding: 100px 10px;
    }

    .intro .textoHtml {
        font-size: 25px;
    }

    .relacionados {
      margin-top: 100px;
    }

    .relacionados .titulo-h1 {
        font-size: 36px;
        padding-left: 20px;
    }

    .intro .comillas-left {
      left: 10%;
      top: -48px;
    }

    .intro .comillas-right {
      right: 10%;
      bottom: -48px;
    }

    .linea-filtros select {
      width: 100%;
      height: 40px;
      background: #dadada url(../img/flecha_arriba.svg) no-repeat;
      background-size: 15px;
      background-position:  right 10px center;
      padding-left: 15px;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      -webkit-border-radius: 4px;
      -moz-border-radius: 4px;
      border-radius:0;
    }

}
