.filtro {
    font-size: 1.1em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-top: 10px;
}
.navfiltro ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.navfiltro ul li {
    cursor:pointer;
}
.navfiltro ul ul {
    display: none;
    background: rgba(0,0,0,0.9);
    z-index: 4000;
    border-radius: 0px 0px 5px 5px;
    -moz-border-radius: 0px 0px 5px 5px;
    -webkit-border-radius: 0px 0px 5px 5px;
    color: white;
    padding: 10px 10px 10px 10px;
    position: absolute;
}
.navfiltro ul ul li {
    margin-top: 5px;
    margin-left: 10px;
}

.navfiltro .btn-filtro {
    display: block;
    padding: 3px 8px;
    margin: 5px 0px;
    text-decoration: none;
    color:#292929;
    border: 2px solid white;
    border-radius: 20px 20px 20px 20px;
    -moz-border-radius: 20px 20px 20px 20px;
    -webkit-border-radius: 20px 20px 20px 20px;
}

.navfiltro .btn-filtro:hover {
    border-color: rgba(40, 22, 111, 0.9);
}

.navfiltro div span {
    margin-left: 5px;
}

.btn-buscar {
    display: block;
    padding: 3px 12px;
    margin: 5px 10px;
    text-decoration: none;
    color:#292929;
    border: 2px solid rgba(40, 22, 111, 0.9);
    border-radius: 20px 20px 20px 20px;
    -moz-border-radius: 20px 20px 20px 20px;
    -webkit-border-radius: 20px 20px 20px 20px;
    -moz-box-shadow: 1px 2px 0px 0px #656d70;
	-webkit-box-shadow: 1px 2px 0px 0px #656d70;
	box-shadow: 1px 2px 0px 0px #656d70;
    
}
.btn-buscar:hover, .btn-buscar:active {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #a4a3d1), color-stop(1, #ededed));
	background:-moz-linear-gradient(top, #a4a3d1 5%, #ededed 100%);
	background:-webkit-linear-gradient(top, #a4a3d1 5%, #ededed 100%);
	background:-o-linear-gradient(top, #a4a3d1 5%, #ededed 100%);
	background:-ms-linear-gradient(top, #a4a3d1 5%, #ededed 100%);
	background:linear-gradient(to bottom, #a4a3d1 5%, #ededed 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#a4a3d1', endColorstr='#ededed',GradientType=0);
	background-color:#a4a3d1;
}

.btn-buscar:active {
    position: relative;
    top: 1px;
    left: 1px;
    -moz-box-shadow: 0px 1px 0px 0px #656d70;
	-webkit-box-shadow: 0px 1px 0px 0px #656d70;
	box-shadow: 0px 1px 0px 0px #656d70;
}
#titulo_filtro {
    display: none;
}

.btn-otrafecha {
    cursor: pointer;
    margin-top: 15px !important;
}
.btn-otrafecha:hover {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
}

.pbotones {
    width: 100%;
    position: relative;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display:flex;
    flex-wrap:wrap;
    flex-direction:row;
    justify-content:space-around;
}

/* ---------------------- menu filtro responsive --------------------- */

.icon-buscar {
    color: white;
    display: flex;
    margin-left: 60px;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid white;
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    font-size: 1.5em;

}

.icon-cerrar {
    display:flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    z-index: 7002;
    font-size: 1.2em;
}
.icon-cerrar:before {
    color: black;
    margin-left: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1;
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}
.icon-cerrar:hover:before {
    background: rgba(109, 109, 109, 0.8);
    color: white;
}
.cerrardiv {
    display: none;
}

#btn-buscar-responsive {
    display: none;
}

@media screen and (max-width:799px){
    #titulo_filtro {
        display: block;
        margin-top: 10px;
    }
    .navfiltro {
        display: none;
    }
    .cerrardiv {
        display: flex;
        position: absolute;
        right: 8px ;
        top: 8px ;
    }
    .navfiltro {
        position: absolute;
        top: 30px;
        background: rgba(0, 0, 0, 0.9);
        width: 90%;
        color: white;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        z-index: 6800;
    }
    .navfiltro .btn-filtro {
        color: white;
        border: 0px;
    }

    .navfiltro ul {
        position: relative;
        display: block;
        border: none;
        z-index: 6900;
        color: white;
        margin-left: 20px;
        margin-right: 20px;
    }
    .navfiltro ul ul {
        position: relative;
        display: block;
        border: none;
        text-align: center;
        background: rgba(0, 0, 0, 0.7);
        
    }
    .liotros {
        text-align: left;
    }
    #otros-adicionales {
        display: none;
    }
    #ingreso, #salida, #ambientes, #orientacion, #unaplaza, #dosplaza, #ingresoper, #salidaper, #tipo_prop {
        width: 100%;
        margin-bottom: 15px;
        margin-top: 15px;
        margin-left: auto;
        margin-right: auto;
    }
    #ingresoper, #salidaper {
        width: 80%;
        margin-bottom: 15px;
        margin-top: 15px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .btn-buscar {
        width: 150px !important;
        color:#ffffff;
        border: 2px solid rgba(255, 255, 255, 0.9);
        border-radius: 20px 20px 20px 20px;
        -moz-border-radius: 20px 20px 20px 20px;
        -webkit-border-radius: 20px 20px 20px 20px;
        -moz-box-shadow: 1px 2px 0px 0px #656d70;
        -webkit-box-shadow: 1px 2px 0px 0px #656d70;
        box-shadow: 1px 2px 0px 0px #3b4276;
        text-align: center;
        margin: auto;
        margin-top: 10px;
        margin-bottom: 10px;

    }
    .btn-buscar:hover, .btn-buscar:active {
        color: black;
        background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #a4a3d1), color-stop(1, #ededed));
        background:-moz-linear-gradient(top, #a4a3d1 5%, #ededed 100%);
        background:-webkit-linear-gradient(top, #a4a3d1 5%, #ededed 100%);
        background:-o-linear-gradient(top, #a4a3d1 5%, #ededed 100%);
        background:-ms-linear-gradient(top, #a4a3d1 5%, #ededed 100%);
        background:linear-gradient(to bottom, #a4a3d1 5%, #ededed 100%);
        filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#a4a3d1', endColorstr='#ededed',GradientType=0);
        background-color:#a4a3d1;
    }

}

/* ------------------ cambiar estilo del range -----------------------*/

input[type='range'] {
  display: block;
  justify-content:center;
  width: 200px;
  margin: 20px 10px 20px 0px;
}

input[type='range']:focus {
  outline: none;
}

input[type='range'],
input[type='range']::-webkit-slider-runnable-track,
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
}

input[type=range]::-webkit-slider-thumb {
  background-color: #777;
  width: 20px;
  height: 20px;
  border: 3px solid #333;
  border-radius: 50%;
  margin-top: -9px;
}

input[type=range]::-moz-range-thumb {
  background-color: #777;
  width: 15px;
  height: 15px;
  border: 3px solid #333;
  border-radius: 50%;
}

input[type=range]::-ms-thumb {
  background-color: #777;
  width: 20px;
  height: 20px;
  border: 3px solid #333;
  border-radius: 50%;
}

input[type=range]::-webkit-slider-runnable-track {
  background-color: #777;
  height: 3px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
  outline: none;
}

input[type=range]::-moz-range-track {
  background-color: #777;
  height: 3px;
}

input[type=range]::-ms-track {
  background-color: #777;
  height: 3px;
}

input[type=range]::-ms-fill-lower {
  background-color: HotPink
}

input[type=range]::-ms-fill-upper {
  background-color: black;
}
