html, body {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  background-color: #f1f5f7;
}

ion-nav-view, ion-view {
  background-color: #f1f5f7 !important;
}

.scroll {
  min-height: 100%;
  background-color: #f1f5f7;
}

.mainBackground.scroll-content {
  margin-top: 0px !important;
}

ion-content {
  background-color: #f1f5f7;
}

.linkRepeat:link, .linkRepea:visited, .linkRepeat:hover, .linkRepeat:active {
  color: inherit;
  text-decoration: none;
}

.platform-android ion-nav-bar.hide {
  display: inline !important;
}

.platform-android ion-nav-bar.hide .nav-bar-block {
  transform: translate3d(0, -60px, 0);
  transition: 0.4s transform ease;
}

.platform-android ion-nav-bar .nav-bar-block {
  transform: translate3d(0, 0, 0);
  transition: 0.4s transform ease;
}

.marginTop {
  margin-top: 15px;
}

.platform-ios .marginTop {
  margin-top: 5px;
}

#downloadProgress {
  display: none;
  height: 18px;
  position: fixed;
  bottom: -15px;
  z-index: 9999;
}

#downloadProgress, #downloadProgress[role][aria-valuenow] {
  background: #E0F7FA !important;
}

#downloadProgress::-webkit-progress-bar {
  background: #E0F7FA;
}

#downloadProgress::-webkit-progress-value {
  background: #B2EBF2;
}

#downloadProgress[aria-valuenow]:before {
  background: #B2EBF2;
}

#downloadProgressText {
  display: none;
  width: 100%;
  height: 18px;
  line-height: 18px;
  text-align: center;
  position: fixed;
  bottom: 0;
  z-index: 9999;
  color: #0D47A1;
}


/***
Cambiare velocità animazioni
https://github.com/driftyco/ionic/blob/master/scss/_transitions.scss
***/


/*** Main view ***/

.appTitle, .bottomText {
  text-align: center;
  color: #ffffff;
}

.appTitle h1 {
  margin-top: 30px;
  font-family: 'Peinture', sans-serif;
  font-size: 6em;
  color: inherit;
  line-height: 60px;
}

.bottomText {
  position: absolute;
  bottom: 5%;
}

.bottomText p:nth-child(1) {
  width: 70%;
  margin: 0 auto;
  font-style: italic;
  font-size: 1.4em;
  font-weight: 400;
  text-align: center;
}

.bottomText p:nth-child(2) {
  margin-top: 30px;
  text-transform: uppercase;
  font-style: normal;
  font-size: 1.3em;
}

.bottomText p:nth-child(2) a {
  color: #ffffff;
}

.mainBackground {
  background-image: url('../resources/splash.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  width: 100%;
  height: 100%;
}

progress {
  -webkit-appearance: progress-bar;
  position: fixed;
  bottom: -15px;
  z-index: 9999;
  height: 10px;
  width: 100%;
  background-color: #eee;
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
}


/*** Menu view ***/

.menuTab {
  height: 100px;
  line-height: 100px;
  margin: 0;
  padding: 0;
  font-size: 1.4em;
  font-weight: 400;
  position: relative;
  color: #ffffff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.menuTabList .menuTab:nth-child(1) {
  background-image: url('../resources/img-menu/mappa.jpg');
}

.menuTabList .menuTab:nth-child(2) {
  background-image: url('../resources/img-menu/sport-tempo-libero.jpg');
}

.menuTabList .menuTab:nth-child(3) {
  background-image: url('../resources/img-menu/natura.jpg');
}

.menuTabList .menuTab:nth-child(4) {
  background-image: url('../resources/img-menu/cultura.jpg');
}

.menuTabList .menuTab:nth-child(5) {
  background-image: url('../resources/img-menu/ospitalita.jpg');
}

.menuTabList .menuTab:nth-child(6) {
  background-image: url('../resources/img-menu/ristorazione.jpg');
}

.menuTabList .menuTab:nth-child(7) {
  background-image: url('../resources/img-menu/utilita.jpg');
}

.menuTabList .menuTab:nth-child(8) {
  background-image: url('../resources/img-menu/eventi.jpg');
}

.menuTabList .menuTab:nth-child(10) {
  background-color: #ffffff;
  color: #616161;
  line-height: 20px;
  padding-top: 20px;
}

.menuTabList .menuTab:nth-child(9) {
  background: url(../resources/icons/gufo.svg) no-repeat #C7D5AA;
  background-size: contain;
  color: #616161;
  line-height: 20px;
  padding-top: 10px;
  padding-left: 60px;
  font-size: 18px;
}
.menuTab.credits {
  height: 50px;
  background:#666;
  display: block;
}
.menuTab.credits p {
  line-height: 50px;
  padding-left: 20px;
  margin:0;
  text-decoration: underline;
}
.opacityLayer {
  padding-left: 10px;
  width: 100%;
  height: 100%;
}

.menuTab .col-25 .menuIcons {
  width: 25px;
  height: auto;
}

.menuTab .col-25 {
  padding-left: 30px;
}

.menuTab .col-75 {
  padding-left: 12px;
}

.menuTabList .menuTab:nth-child(10) .col-25 .icon,
  .menuTabList .menuTab:nth-child(9) .col-25 .icon {
  font-size: 1.8em;
}
.menuTabList .menuTab:nth-child(9) .col-25 {
  padding-top: 15px;
}
.opacityLayerDark {
  background-color: rgba(0, 0, 0, 0.5);
}

.opacityLayerLight {
  background-color: rgba(255, 255, 255, 0.7);
  border-left: 5px #96C100 solid;
  padding-left: 5px;
  color: #616161;
}

.opacityLayerLight .col-25 .menuIcons {
  -webkit-filter: invert(0.6);
}

.opacityLayerLight .button-white {
  color: #616161 !important;
}

.menuTab:last-child {
  margin-bottom: 0;
}

.menuText {
  padding-left: 10px;
}

.menuText img {
  width: 25px;
  height: auto;
}

.menuTextReport {
  font-size: 0.6em;
}

.menuText a:link, .menuText a:visited, .menuText a:hover, .menuText a:active {
  color: inherit;
  text-decoration: none;
}

.menuTab.mappaTab {
  height: 150px;
  line-height: normal;
  position: relative;
}

.menuTab.mappaTab .col-75 p {
  position: absolute;
  bottom: 20px;
}

.menuTab.mappaTab .col-25 p {
  position: absolute;
  bottom: 20px;
}


/***  Page View ***/

.bar-material {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  height: 60px;
  line-height: 60px;
  background-color: #36abda;
  background-size: 100% 0;
}

.platform-ios .bar-material {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  height: 60px;
  line-height: 20px !important;
  background-color: #36abda;
  background-size: 100% 0;
}

.bar-material .buttons:nth-child(1) {
  margin-top: 3px;
  margin-left: 15px;
}

.bar-material .buttons:nth-child(3) {
  margin-top: 3px;
  margin-right: 15px;
}

.bar-material .title {
  height: 60px;
  line-height: 60px !important;
  font-size: 1.4em;
  color: #ffffff;
  padding-left: 35px;
}

.platform-ios .bar-material .title {
  height: 60px;
  line-height: 45px !important;
  font-size: 1.4em;
  color: #ffffff;
  padding-left: 30px;
}

.button-white {
  color: #ffffff !important;
}

.card-custom {
  /* Ionic has his own cards */
  width: 95%;
  margin: 0 auto;
  margin-top: 15px !important;
  padding: 0;
  background-color: #ffffff;
  height: 115px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  border-radius: 2px;
}

.background-image-small {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.imageBikeDescription {
  /* "Sulla ciclabile" or "Deviazione dalla ciclabile" */
  position: absolute;
  bottom: 0;
  text-transform: uppercase;
  color: #ffffff;
  padding: 5px 10px 3px 10px;
  margin: 5px;
  border-radius: 2px;
  font-size: 0.6em;
  line-height: 12px;
}

.imageBikeDescription.greenBackGround {
  background-color: #97bf25;
  width: 92%;
  margin-left: 4%;
}

.imageBikeDescription.cyanBackGround {
  background-color: #2eaadc;
}

.card-custom {
  margin-top: 15px !important;
  margin-bottom: 15px !important;
}

.card-custom-title {
  font-size: 1.15em;
  color: #575960;
  margin: 0;
}

.card-custom-text {
  font-size: 0.9em;
  margin: 0;
  color: #575960;
  display: inline-block;
}

.card-custom-text .moneyFood {
  width: 20px;
  height: auto;
  margin-right: -5px;
}

.pathInfo {
  width: 20px;
  height: auto;
  margin-bottom: -5px;
}

.col-58 .row:nth-child(1) {
  /* Height for .card-custom-title */
  height: 65px;
  margin: 0;
}

.col-58 .row:nth-child(2) {
  /* Height for .card-custom-text */
  height: 50px;
  margin: 0;
}

.icon-size-15x {
  /* Icon size for .card-custom-text */
  font-size: 1.5em;
}

.icon-size-18x {
  /* Icon size for map icon in card-custom */
  font-size: 1.8em;
}

.col-80 {
  /* Fix for ionic */
  padding-left: 5px;
}

.col-42 {
  /* Custom ionic-like colon */
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 42%;
  -moz-box-flex: 0;
  -moz-flex: 0 0 42%;
  -ms-flex: 0 0 42%;
  flex: 0 0 42%;
  max-width: 42%;
}

.col-58 {
  /* Custom ionic-like colon */
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 58%;
  -moz-box-flex: 0;
  -moz-flex: 0 0 58%;
  -ms-flex: 0 0 58%;
  flex: 0 0 58%;
  max-width: 58%;
}

.sectionPath {
  margin-top: 20px !important;
  margin-bottom: -15px;
  text-align: center;
}

.platform-ios .sectionPath {
  margin-top: 10px !important;
}

.sectionImage {
  width: 32px;
  height: auto;
}

.sectionText {
  font-size: 0.75em;
  font-weight: 700;
  color: #989795;
  margin: 0;
  text-transform: uppercase;
}

.placesMapIcon {
  width: 20px;
  height: auto;
  -webkit-filter: invert(0.6);
}


/*** Place ***/

.card-custom-big {
  /* Fullpage card */
  width: 95%;
  margin: 0 auto;
  margin-top: 15px !important;
  padding: 0;
  background-color: #ffffff;
  height: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  border-radius: 3px;
}

.card-custom-big ion-scroll {
  overflow: scroll;
  white-space: nowrap;
  background-color: rgba(0, 0, 0, 0);
  padding-left: 30px;
  padding-right: 30px;
  margin-left: -10px;
  margin-right: -10px;
}

.card-custom-big ion-scroll img {
  width: auto;
  height: 200px;
  margin-right: 10px;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.card-custom-big ion-scroll img:last-child {
  margin-right: 60px;
}

.imageIconPlace {
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background-color: #2eaadc;
  text-align: center;
  font-size: 3em;
  position: absolute;
  bottom: -25px;
  right: 20px;
  background-position: center center;
  background-size: 40px auto;
  background-repeat: no-repeat;
}

.imageIconPlace img {
  padding-top: 8px;
  width: 30px;
  height: auto;
}

.card-custom-big-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  height: 250px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

.card-custom-big-title {
  padding: 40px 20px 10px 20px;
}

.card-custom-big-title .titlePage {
  font-size: 1.7em;
  font-weight: 700;
  color: #64625e;
  margin-bottom: 20px;
  line-height: 25px;
}

.card-custom-big-title .citPage {
  font-size: 1.6em;
  margin-top: 25px;
  margin-bottom: 15px;
  line-height: 25px;
  color: #9f9f9f;
}

.card-custom-big-text {
  padding: 0 20px 20px 20px;
  font-size: 1.15em;
  margin: 0;
  color: #9f9f9f;
  line-height: 1.5;
}
.card-custom-big-text a {
  text-decoration: none;
  color: black;
  border-bottom: 2px solid #36abda;
}
.card-custom-big-text img {
  width: 100%;
}

.infoTab, .socialTab {
  width: 92%;
  margin-left: 4%;
  margin-top: 5px;
  border-top: 1px #e7e7e7 solid;
  padding-top: 10px !important;
}

.socialTab {
  padding-top: 25px !important;
  margin-bottom: 20px;
}

.infoTab div:nth-child(1) p {
  text-transform: uppercase;
  color: #9b9b9b;
  font-size: 0.9em;
  font-weight: 700;
  text-align: left;
}

.infoTab div:nth-child(2) p {
  color: #5c5a59;
  font-size: 0.9em;
  margin: 0;
  margin-bottom: 10px;
}

.infoTab div:nth-child(2) p a {
  color: #1976D2;
}

.infoTab div:nth-child(2) {
  text-align: right;
}

.infoTab .col-33, .socialTab .col-33 {
  text-align: center;
}

.socialBall {
  font-size: 1.5em;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  line-height: 38px;
  margin: 0 auto;
  text-align: center;
  background-color: #97bf25;
  color: #ffffff;
  display: inline-block;
}

.takeMeHereBtn {
  border-style: none;
  border-radius: 3px;
  text-transform: uppercase;
  font-size: 1.1em;
  color: #ffffff;
  background-color: #97bf25;
  padding: 15px 20px;
  margin: 20px 6%;
  width: 88%;
  display: block;
  text-align: center;
  text-decoration: none;
}

ion-scroll > .scroll {
  /* Fix for background in horizontal gallery */
  background-color: #ffffff;
}


/*** Utility page ***/

.utilityName {
  color: #616161 !important;
  font-size: 1.2em !important;
  padding-left: 5px;
}

.utilityNumber {
  color: #9E9E9E;
  opacity: 0.5;
  padding-left: 5px;
}

.utilityIcons {
  width: 25px;
  height: auto;
  margin-top: 3px;
}

.pharmacy {
  padding: 5px 15px;
}

.pharmcyName {
  color: #616161;
  font-size: 1.4em;
}

.pharmcyInfo, .pharmcyInfo a {
  color: #9E9E9E;
  font-size: 1.1em;
}

.pharmacyButton, .pharmacyButtonLink {
  border-style: none;
  border-radius: 3px;
  text-transform: uppercase;
  font-size: 1.1em;
  color: #ffffff;
  background-color: #97bf25;
  padding: 15px 0;
  margin-left: 5%;
  width: 90%;
}

.pharmacyButtonLink {
  position: absolute;
  bottom: 0;
  text-align: center;
  text-decoration: none;
}


/*** Events page ***/

.padding-custom {
  padding: 15px !important;
  margin-bottom: 15px !important;
}

.eventList, .pharmacyList {
  border-top: 1px #E0E0E0 solid;
}

.eventList:nth-child(1), .pharmacyList:nth-child(1) {
  border-top: none;
}

.pharmacyList {
  padding: 10px 0;
}

.eventDate {
  color: #96C100;
  text-transform: uppercase;
  font-size: 0.8em;
  font-weight: 700;
  margin: 0;
  margin-bottom: -10px;
}

.eventTitle {
  font-size: 1.6em;
  margin: 0;
  color: #616161;
}

.eventSubTitle {
  font-size: 1.4em;
  margin: 0;
  margin-top: 5px;
  margin-bottom: 10px;
  color: #9E9E9E;
}

.eventInfo {
  color: #9E9E9E;
  font-size: 1.1em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  /* number of lines to show */
  line-height: 20px;
  /* fallback */
  max-height: 60px;
  /* fallback */
}


/*** Report Page ***/

.reportRow {
  margin-bottom: 12px;
  width: 98%;
  margin-left: 1%;
}

.reportText {
  width: 94%;
  margin-left: 3%;
  color: #9EA2A4;
  text-align: center;
  font-size: 1em;
  margin-top: 15px;
}

.sendReportBtn {
  border-style: none;
  border-radius: 3px;
  text-transform: uppercase;
  font-size: 1.1em;
  color: #ffffff;
  background-color: #97bf25;
  padding: 15px 20px;
  width: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.addPic {
  text-align: center;
  color: #9EA2A4;
}

.addPicBtn {
  color: #97bf25;
  background-color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border-style: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  margin-right: 20px;
  font-size: 1.5em;
}
#uploadedImage {
  width: 60%;
}

/*** Food ***/

.foodCategory {
  height: 180px;
  padding: 15px 20px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  width: 92%;
  margin-left: 4%;
  margin-bottom: 15px;
  border-radius: 3px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
[folder="food"].foodCategoryList a:nth-child(2){
  background-image: url("../resources/img-ristorazione/bar.png");
}
[folder="food"].foodCategoryList a:nth-child(3){
  background-image: url("../resources/img-ristorazione/ristoranti.png");
}

[folder="sleep"].foodCategoryList a:nth-child(2){
  background-image: url("../resources/img-ospitalita/alberghi.jpg");
}
[folder="sleep"].foodCategoryList a:nth-child(3){
  background-image: url("../resources/img-ospitalita/agriturismi.jpg");
}
[folder="sleep"].foodCategoryList a:nth-child(4){
  background-image: url("../resources/img-ospitalita/rifugi-alpini.jpg");
}
[folder="sleep"].foodCategoryList a:nth-child(5){
  background-image: url("../resources/img-ospitalita/affittacamere.jpg");
}
[folder="sleep"].foodCategoryList a:nth-child(6){
  background-image: url("../resources/img-ospitalita/BeB.jpg");
}
[folder="sleep"].foodCategoryList a:nth-child(7){
  background-image: url("../resources/img-ospitalita/case-appartamenti.jpg");
}
[folder="sleep"].foodCategoryList a:nth-child(8){
  background-image: url("../resources/img-ospitalita/camper.jpg");
}
[folder="sleep"].foodCategoryList a:nth-child(9){
  background-image: url("../resources/img-ospitalita/chalet.jpg");
}
.foodType {
  width: 100%;
  text-align: right;
  font-size: 1.3em;
  color: #ffffff;
}

.foodTypeElements {
  width: 100%;
  text-align: right;
  color: #ffffff;
  opacity: 0.8;
  margin-top: -8px;
}

.foodProductType {
  text-transform: uppercase;
  color: #9B9B9B;
  font-weight: 700;
  margin-top: 5px;
}

/*** Mappa ***/
#mappa {
    position: absolute;
    height: 100%;
    width: 100%;
}

.filter-mappa {
  position: absolute;
  height: 50px;
  width: 100%;
  bottom: 0;
  background:#36abda;
  z-index: 9999;
  text-align: center;

}

.filter-mappa .icon {
  height: 50px;
  position: relative;
  width: 30px;
  display: inline-block;
  margin:0 10px;
  line-height: 30px;
  background-position: center center;
  background-size: 25px auto;
  background-repeat: no-repeat;
  opacity: .5;
  -webkit-transition: opacity 250ms linear;
}
.filter-mappa .icon.active {
  opacity: 1;
}
.filter-mappa .icon.active:after {
  position: absolute;
  content: '▼';
  top:5px;
  color: white;
  display: block;
  line-height: 0;
  width: 100%;
}
.filter-mappa .icon.bike{
  background-image:url(../resources/icons/bike.svg)
}
.filter-mappa .icon.nature{
  background-image:url(../resources/icons/nature.svg)
}

.filter-mappa .icon.culture{
  background-image:url(../resources/icons/culture.svg)
}

.filter-mappa .icon.ospitality{
  background-image:url(../resources/icons/ospitality.svg)
}

.filter-mappa .icon.ristorante{
  background-image:url(../resources/icons/ristorante.svg)
}
.filter-mappa .icon.utility{
  background-image:url(../resources/icons/utility.svg)
}

.category-selected {
  position: absolute;
  height: 30px;
  bottom:50px;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,.9);
  line-height: 30px;
  color:#36abda;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}

.poi-selected {
  position: absolute;
  padding:5px 20px;
  height: 80px;
  bottom:80px;
  left: 0;
  width: 100%;
  background: #36abda;
  line-height: 15px;
  color:white;
  text-align: center;
  font-size: 16px;
  -webkit-transform: translateY(200px);
  -webkit-transition:  -webkit-transform 250ms linear;
}
.poi-selected.active {
  -webkit-transform: translateY(0);
}
.poi-selected-close {
  position: absolute;
  right: 5px;
  top:5px;
  font-size: 20px
}

.poi-selected-button {
  display: inline-block;
  width: 45%;
  line-height: 20px;
  padding:5px;
  border:1px solid white;
  border-radius: 10px;
  text-transform: uppercase;
  font-size: 12px;
  margin-top: 5px;
  margin-right: 2%;
  font-weight: 600
}

.poi-elevation {
  position: absolute;
  padding: 10px;
  height: 120px;
  bottom:80px;
  left: 0;
  width: 100%;
  background: white;
  line-height: 15px;
  color:white;
  font-size: 16px;
  -webkit-transform: translateY(200px);
  -webkit-transition:  -webkit-transform 250ms linear;
}
.poi-elevation img {
  height: 100%;
  margin: 0 auto;
}
.poi-elevation.active {
  -webkit-transform: translateY(0);
}

.poi-elevation-close {
  position: absolute;
  right: 5px;
  top:5px;
  font-size: 20px;
  color:#36abda;
}

.leaflet-marker-icon {
  height: 30px;
  width: 30px;
  background: #36abda;
  border-radius: 60px;
  background-size: 15px 15px;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0 !important;
  -webkit-transition: opacity 250ms linear;
  pointer-events: none;
}

.leaflet-marker-icon.marker-active {
  border:2px solid white;
}

.leaflet-marker-icon.icon-sport {
  background-image:url(../resources/icons/bike.svg)
}
.leaflet-marker-icon.icon-nature {
  background-image:url(../resources/icons/nature.svg)
}

.leaflet-marker-icon.icon-culture {
  background-image:url(../resources/icons/culture.svg)
}

.leaflet-marker-icon.icon-sleep {
  background-image:url(../resources/icons/ospitality.svg)
}

.leaflet-marker-icon.icon-food {
  background-image:url(../resources/icons/ristorante.svg)
}
.leaflet-marker-icon.icon-utility {
  background-image:url(../resources/icons/utility.svg)
}
/* Show/hide markers */
[show=sport] .leaflet-marker-icon.icon-sport {
  opacity: 1 !important;
  pointer-events: all;
}
[show=nature] .leaflet-marker-icon.icon-nature {
  opacity: 1 !important;
  pointer-events: all;
}

[show=culture] .leaflet-marker-icon.icon-culture {
  opacity: 1 !important;
  pointer-events: all;
}

[show=sleep] .leaflet-marker-icon.icon-sleep {
  opacity: 1 !important;
  pointer-events: all;
}

[show=food] .leaflet-marker-icon.icon-food {
  opacity: 1 !important;
  pointer-events: all;
}

[show=utility] .leaflet-marker-icon.icon-utility {
  opacity: 1 !important;
  pointer-events: all;
}

.show-percorso .leaflet-marker-icon.leaflet-clickable {
  opacity:0 !important;
  pointer-events: all;
}

.show-percorso .leaflet-marker-icon.marker-active {
  opacity: 1 !important;
  pointer-events: all;
}

.leaflet-marker-icon.icon-posizione {
  pointer-events: all;
  opacity:1 !important;
  border:0px solid rgba(255,255,255,.3);
  background: #36abda;
  -webkit-animation: pulsate 2s ease-out;
  -webkit-animation-iteration-count: infinite;

}



.marker-cluster {
  text-align: center;
  color:white;
  border: none;
  line-height: 50px;
  font-size:22px;
  background-image: none !important;
  opacity: 0;
}

.marker-cluster:after{
  content: '';
  position:absolute;
  top:-5px;
  left:-5px;
  display: block;
  border:5px solid rgba(255,255,255,.5);
  width: 60px;
  height: 60px;
  border-radius: 35px
}

.route-info {
  position: absolute;
  top: 30px;
  right:10px;
  background: white;
  color: #36abda;
  padding:5px 10px;
  border-radius: 10px;
}
.open-map-app{
  text-decoration: underline;
  text-align: center;
}


/* allows the bar-footer to be elastic /*
/* optionally set a max-height */
/* maxlength on the textarea will prevent /*
/* it from getting too large also */

.elmo-view ion-footer-bar.bar-stable.item-input-inset.message-footer.bar.bar-footer {
  position: fixed !important;
  bottom: 0 !important;
}

.elmo-view ion-content {
  bottom:44px !important;
}

.elmo-view .bar-footer {
  overflow: visible !important;
}

.elmo-view .bar-footer textarea {
  resize: none;
  height: 25px;
  width: 100%;
}

/* fixes an ios bug bear */
.elmo-view button.ion-android-send {
  padding-top: 2px;
}

/* add this to keep your footer buttons down
at the bottom as the textarea resizes */
.elmo-view .footer-btn-wrap {
  position: relative;
  height: 100%;
  width: 50px;
  top: 7px;
}

.elmo-view .footer-btn {
  position: fixed !important;
  bottom: 0 !important;
}

.elmo-view img.profile-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: absolute;
  bottom: 10px;
}

.elmo-view img.profile-pic.left {
  left: 10px;
}

.elmo-view img.profile-pic.right {
  right: 10px;
}

.elmo-view .ion-email {
  float: right;
  font-size: 32px;
  vertical-align: middle;
}

.elmo-view .message {
  font-size: 14px;
}

.elmo-view .message-detail {
  white-space: nowrap;
  font-size: 14px;
}

.elmo-view .bar.item-input-inset .item-input-wrapper input {
  width: 100% !important;
}

.elmo-view .message-wrapper {
  position: relative;
  width: 100%;
}

.elmo-view .message-wrapper:last-child {
  margin-bottom: 10px;
}

.elmo-view .chat-bubble {
  border-radius: 5px;
  display: inline-block;
  padding: 10px 18px;
  position: relative;
  margin: 10px;
  max-width: 80%;
}
.elmo-view .sending .chat-bubble {
  opacity: .5
}
.elmo-view .chat-bubble:before {
  content: "\00a0";
  display: block;
  height: 16px;
  width: 9px;
  position: absolute;
  bottom: -7.5px;
}

.elmo-view .chat-bubble.left {
  background-color: #e6e5eb;
  float: left;
  margin-left: 10px;
}

.elmo-view .chat-bubble.left:before {
  background-color: #e6e5eb;
  left: 10px;
  -webkit-transform: rotate(70deg) skew(5deg);
}

.elmo-view .chat-bubble.right {
  background-color: #C3DB8C;
  color: #fff;
  float: right;
  margin-right: 10px;
}

.elmo-view .chat-bubble.right:before {
  background-color: #C3DB8C;
  right: 10px;
  -webkit-transform: rotate(118deg) skew(-5deg);
}

.elmo-view .chat-bubble.right a.autolinker {
  color: #fff;
  font-weight: bold;
}

.elmo-view .user-messages-top-icon {
  font-size: 28px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -3px;
  right: 5px;
}

.elmo-view .msg-header-username {
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -3px;
}

.elmo-view input, textarea, .item-input, .item-input-wrapper {
  background-color: #f4f4f4 !important;
}


.elmo-view a.autolinker {
  color: #3b88c3;
  text-decoration: none;
}

[section="elmo"] .bar-header{
  background-image: url(../resources/icons/gufo.png);
  background-position: center right;
  background-repeat: no-repeat;
  background-size: contain;
}
.cf {
  clear: both !important;
}

.icon-utility {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  margin-right: 10px;
}

@media (max-width: 320px) {
  /* Fix for very small screens */
  html, body {
    font-size: 13px;
  }
  .appTitle h1 {
    margin-top: 15px;
    font-size: 5em;
    line-height: 45px;
  }
  .imageBikeDescription {
    line-height: 12px;
  }
  .menuTextReport {
    font-size: 0.54em;
  }
  .utilityName {
    font-size: 1.1em !important;
  }
  .pharmacyButton {
    white-space: nowrap;
    font-size: 1em;
  }
  .card-custom-big {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
  }
  .platform-ios .sectionPath {
    margin-top: 20px !important;
  }
  .reportRow .input-label-text-small {
    font-size: 0.8em;
  }
}

@-webkit-keyframes pulsate {
    0% {border: 15px solid rgba(255, 255, 255, .5);}
    50% {border: 0px solid rgba(255, 255, 255, 0);}
    100% {border: 15px solid rgba(255, 255, 255, .5); }
}
