div#containerRicercaDaMappa\> {
  margin-top: 2em;
}
.titoloBlocco {
  text-align: center;
  font-weight: 600;
}
div#mappaDiRicerca {
  margin-top: 2em;
  height: 500px;
}
.marker_fermata {
  font-family: 'Titillium Web', sans-serif;
}
.marker_titolo {
  text-transform: uppercase;
  font-size: 0.9em;
  font-weight: 600;
  color: #208A8A;
  text-align: center;
  font-size: 18px;
  font-weight: normal;
  text-align: left;
}
.area_button .btn-sm {
  padding: 9px 21px;
  font-size: 14px;
  line-height: 1.45;
  font-size: 0.9em;
  border-radius: 10px;
}
.area_button {
  margin-top: 0.8em;
  text-align: left;
}
.area_button button{
  white-space: nowrap;
}
.rit_corsa {
  color: #d8888e;
  font-weight: 400;
  border: solid #d8888e 2px;
  border-radius: 8px;
  vertical-align: middle;
  padding: 0 0.3em;
  height: 25px;
  font-size: 16px;
  margin-right: 27px;
  line-height: 16px;
}

.container_corsa{
  border-radius: 8px;
  -webkit-box-shadow: 2px 2px 19px -1px rgba(199,199,199,1);
  -moz-box-shadow: 2px 2px 19px -1px rgba(199,199,199,1);
  box-shadow: 2px 2px 19px -1px rgba(199,199,199,1);
  margin-bottom:1em;
  padding: 20px 20px;
}
/*
.dettaglio_corsa {
  border-bottom: 1px dashed #208A8A;
  margin: 0 0.5em;
}
*/
.dettaglio_corsa {
    /* border-bottom: 1px dashed #208A8A; */
    margin: 0 0.5em;
    border-bottom-style: dashed;
    border-bottom-width: 2px;
    border-bottom-color: #B0E0E6;
    border-spacing: 5px 10px;
}

.funzioni_corsa {
  margin: 0 0.5em;
}
.sezione_pulsanti_corsa button {
  background: #f2f9fc;
  color: #208A8A;
  font-size: 0.9em;
  padding: 6px 10px;
  border-radius: 10px;
  margin-right: 1em;
}

.sezione_pulsanti_corsa {
  text-align: left;
  margin-top: 20px
}
.sezione_pulsanti_corsa img {
  margin-right: 18px;
}

.funzioni_corsa {
  padding: 1.4em 0;
}
.sezione_dati_corsa{
  position:relative;
}

.sezione_pulsanti_corsa.col-md-7 > button {
  padding: 9px 18px 9px 12px;
}

.dettaglio_corsa {
  padding-bottom: 10px;
  display: flex;
  align-items: center;
}

@media(max-width: 992px) {
  .sezione_pulsanti_corsa.col-md-12 {
    display: flex;
    flex-flow: wrap;
  }

  .sezione_pulsanti_corsa.col-md-12 img {
    margin: 0 auto;
    height: 28px;
    width: auto;
    /*! top: 0px; */
    /*! position: relative; */
    display: block;
    margin-top: 0px;
  }

  .sezione_pulsanti_corsa.col-md-12 span {
    display: block;
    width: 100%;
    flex: 0 0 100%;
    margin-top: 10px;
    line-height: 15px;
  }

  .sezione_pulsanti_corsa.col-md-12 button {
    /*! display: flex; */
    flex: 0 0 23%;
    margin-right: 6px;
    /*! height: 80px; */
    width: 100%;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    align-content: initial;
    padding-top: 9px;
    padding-bottom: 9px;
  }



  span.numero_linea {
    height: auto !important;
    text-align: center;
    width: 100px;
    padding: 9px 0px !important;
  }
  span.numero_linea p {
    width: 100%;
    margin-bottom: 0px;
    padding: 0px !important;
    font-weight: bold !important;
  }

  .numero_linea img {
    vertical-align: middle;
    border-style: none;
    padding-right: 0em!important;
  }

  .labelFiltri {
    width: 100%;
    margin-bottom: 10px;
  }

  .filtro_linee {
    margin-bottom: 10px;
  }


  .dettaglio_corsa {
    align-items: start;
  }
  .dettaglio_corsa div.ora_corsa {
    margin-top: 1px;
  }

  .dettaglio_corsa .ora_corsa, .dettaglio_corsa .rit_corsa, .dettaglio_corsa .head_corsa {
    display: inline;
    padding-left: 0px;
    line-height: 28px;
  }
}

.sezione_dati_corsa.col-md-12 {
  display: flex;
  align-items: center;
}
span.numero_linea p {
  padding: 5px 10px;
  line-height: 0.45;
  font-size: 0.9em;
  /*! background: #208A8A; */
  /*! height: 2.2em; */
  border-radius: 8px;
  display: inline-block;
  color: #fff;
  font-weight: 400;
}
.rit_corsa {
  line-height: 18px !important;
  padding-left: 4px !important;
  margin-top: 4px;
}





@media(max-width: 592px){
  .ora_corsa {
    width: 100% !important;
    display: block !important;
    margin-bottom: 10px;
  }
  .dettaglio_corsa{

    display: flex;
    flex-flow: wrap;
  }
  .rit_corsa {
    line-height: 18px !important;
    padding-left: 4px !important;
    margin-top: 4px;
  }
  .dettaglio_corsa > .rit_corsa {
    order: 0;
  }
  .dettaglio_corsa > .ora_corsa {
    /*! order: 1; */
    display: inline-block !important;
    width: auto !important;
  }
  .dettaglio_corsa > .head_corsa {
    order: 2;
    display: inline-block !important;
  }

  .sezione_pulsanti_corsa.col-md-12 button {
    /*! display: flex; */
    flex: 0 0 47%;
    margin-right: 8px;
    /*! height: 80px; */
    width: 100%;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    align-content: initial;
    padding-top: 9px;
    padding-bottom: 9px;
    margin-bottom: 8px
  }

}



.areapulsanti button.btn.btn-primary.btn-sm {
  background: white !important;
  color: #208A8A;
  border: solid 2px;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}
#portamiAllaFermata {
  background:  #208A8A !important;
  color: white;
}


.leaflet-container a.leaflet-popup-close-button {
  text-align: center;
  font: 28px/24px Tahoma, Verdana, sans-serif;
  color: black;
}

.leaflet-popup-content {
  margin-right: 100px
}



#nuovaricerca {
  background: white !important;
  color: #208A8A;
  border: solid 2px;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
}
#nuovaricerca img {
  margin-left: 0px;
}
#portamiAllaFermata img:last-child {
  margin-left: 18px;
}
