.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
    color: #fff;
    background-color: #33b74f !important;
}

span.twitter-typeahead {
    /*display: block !important;*/
    width: 79% !important;
}
/* 
button.btn.btn-block.btn-default.btn-lg.filtro_3 {
  background: white !important;
}
button.btn.btn-block.btn-default.btn-lg.filtro_3:hover {
  background: #f2f2f2 !important;
} */
button.btn.btn-block.btn-default.btn-lg.filtro_3.active {
  background: #5dc9a9 !important;
}

img.img_dato {
    margin-top: 25px;
    margin-bottom: 25px;
    -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    filter: grayscale(100%);
    cursor: pointer;
}

img.img_dato.active {
    
    -webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
    filter: grayscale(0%);
}

.type_var {
  margin-top: 25px;
  margin-bottom: 25px;
  cursor: pointer;
  width: 10%;
  margin-left: 12.5%!important;
}

.type_var.active {
  background:  #cae3f9;
}



input.typeahead.on{
  width: 113% !important;
}

input#estaciones {
  left: 13%;
}

.typeahead,
.tt-query,
.tt-hint {
  width: 13% !important;
  height: 46px;
  
  float: right !important;
  padding: 8px 12px;
  line-height: 30px;
  border: 2px solid #ccc;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  outline: none;
  margin-top: 2px;
  -webkit-transition: width 1s; /* For Safari 3.1 to 6.0 */
  transition: width 1s;

}

.typeahead {
  background-color: #fff;
}

.typeahead:focus {
  border: 2px solid #0097cf;
}

.tt-query {
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
  color: #999
}

.tt-menu {
  width: 113% !important;
  margin: 12px 0;
  padding: 8px 0;
  background-color: #fff;
  border: 1px solid #ccc;
  border: 1px solid rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 8px;
     -moz-border-radius: 8px;
          border-radius: 8px;
  -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
     -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
          box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
  padding: 3px 20px;
  font-size: 14px;
  line-height: 24px;
}

.tt-suggestion:hover {
  cursor: pointer;
  color: #fff;
  background-color: #0097cf;
}

.tt-suggestion.tt-cursor {
  color: #fff;
  background-color: #0097cf;

}

.tt-suggestion p {
  margin: 0;
}

.btn_filtro {
  margin-top: 13px !important;
}

.filtro {
  margin-bottom: 2%;
}

@media screen and (max-width: 1366px) {
  input.typeahead{
    width: 23% !important;
  }
  
  .type_var {
    width: 15%;
    margin-left: 1.5%;
    margin-right: -8%;
    padding-bottom: 1%;
  }

}

@media screen and (max-width: 991px) {
  input.typeahead{
    width: 8% !important;
  }
}

@media screen and (max-width: 640px) {
  input.typeahead{
    width: 25% !important;
  }

  .type_var {
    width: 30%;
    margin-left: 8% !important;
    margin-right: 12%;
  }

  #hfe {
    margin-left: -35% !important;
  }

  #hf {
    margin-left: 1% !important;
    left: -43%;
  }
}
