
html {
  cursor: none;
}

body {
  padding-bottom: 100px; 
  overflow: hidden;
}



footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #553399;
  color: #fff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15), 0 0 5px rgba(0, 0, 0, 0.6);
  height:  80px;
  font-size: 10px; 
}

  footer .row {
    height: 80px;
  }


footer .download-button-block{
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
}

footer .download-button {
  display: inline-block;
  text-align: right;
  width: 50%;
}
footer .download-button img {
  max-height: 70px
}

header {
  background: #553399;
  color: #fff;
  padding: 15px 0;
  height: 70px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15), 0 0 5px rgba(0, 0, 0, 0.6); 
}

header h1, header .current-time {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 0;
  line-height: 16px; }
header .current-time {
  text-align: right; 
  padding-left: 0;
}
@media(max-width: 300px) {
  header .current-time {
    padding-right: 50px;
  }
}

header .header-logo {
  max-height: 50px;
}

header .row-container{
  height: 40px;
}

.card-bus {
background: #fff;
color: #000;
padding: 20px 0 5px 0; 
position: relative;}

.card-bus p, .card-bus h2, .card-bus h3, .card-bus h4 {
  margin-bottom: 0; }

.card-bus .bus-info {
  padding-left: 5px;
  padding-right: 0;
}

.card-bus .bus-info h2 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 3px;
  position: relative; }

  .card-bus .bus-info h2 span.color {
    display: inline-block;
    height: 14px;
    width: 14px;
    border-radius: 8px;
    margin-right: 4px; }

.card-bus .bus-info h3 {
  font-size: 11px;
  line-height: 1.2em;
  max-height: 2.4em;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: normal;
  margin-bottom: 5px; }

.card-bus .bus-info .address {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.6); }

.card-bus .bus-time {
  page-break-inside: avoid;
  text-align: right;
  font-weight: bold;
  padding-right: 5px;
 }

  .card-bus .bus-time .time {
    max-width: calc(50% - 5px);
    position: relative;
    padding: 0;
    margin-right: 10px;
    display: inline-block;
    padding: 5px;
    border-radius: 5px;
  }

  .card-bus .bus-time .next {
    float: right;
  }

  .card-bus .bus-time .time.delayed {
    color: #d6a700;
  }
    .card-bus .bus-time .time.delayed .remaining-time i {
      display: inline-block;
    }

    .card-bus .bus-time p, .card-bus .bus-time i {
      margin: 0; padding: 0;
    }

  .card-bus .bus-time .icons {
    text-align: center;
    display: inline-block;
    position: static;
    margin: 0;
    width: auto;
    height: auto;
    border-radius: 0; }

    .card-bus .bus-time .icons i {
      font-size: 13px; }

  .card-bus .bus-time .remaining-time {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 0px;
    line-height: 1;
    white-space: nowrap; }
    .card-bus .bus-time .remaining-time i {
      display: none;
    }

  .card-bus .bus-time .clock {
    font-size: 11px;
    font-weight: normal;
    white-space: nowrap; }

.card-bus + .card-bus {
  border-top: 1px solid #edece7; }

.panel {
  padding: 10px;
  margin-bottom: 15px;
}

.panel-heading {
  margin-bottom: 10px;
  font-size: 13px;
  color: #666;
}

.pmv-message {
  font-size: 22px;
}

.content-shadow {
  -webkit-box-shadow: 0px 4px 9px 3px rgba(0,0,0,0.2);
  -moz-box-shadow: 0px 4px 9px 3px rgba(0,0,0,0.2);
  box-shadow: 0px 4px 9px 3px rgba(0,0,0,0.2);
}

.badge {
  font-size: 10px;
  position: absolute;
  top: 1px;
  right: 15px;
}
.pager {
   position: fixed;
  width: 100%;
  bottom: 120px;
  z-index: 99998;
  margin-bottom: 0px;
  height: 4px;
  border-radius: 0px;
}

.pagination {
  font-size: 11px;
}
.activte-page {
  font-size: 30px;
  padding: 10px;
}

.debug {
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  z-index: 99999;
  margin: 0px;
  padding: 4px;
  background-color: black;
  opacity: .85;
}

.pmv-debug {
  cursor: default;
}

.progress-bar-bottom {
  position: fixed;
  width: 100%;
  left: 0px;
  bottom: 80px;
  z-index: 99998;
  margin-bottom: 0px;
  height: 4px;
  border-radius: 0px;
}

.progress-bar-blue {
  background-color: #ff7f00;
}

.version {
  position: absolute;
  left: 0px;
  top: 0px;
  z-index: 99999;
  margin: 0px;
  padding: 2px;

  color: #606564;
  font-size: 10px;
}

.version-partner {
  left: 250px;
}

.pmv-margin {
  margin-bottom: 20px;
}

.navbar-pmv-title-debug {
  color: white;
  position: absolute;
  left: 2px;
  bottom: 2px;
  height: 20px;
  font-size: 16px;
  line-height: 20px;
}

.status-debug {
   position: absolute;
  left: 0px;
  top: 50px;
  z-index: 99999;
  color: white;
}

.service-logo-container {
  height: auto;
  margin-left: -1px;
  margin-top: -1px;
  padding: 4px;

  background-size: contain !important;
  background-repeat: no-repeat;
  background-position: center;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -moz-border-top-left-radius: 4px;
  -moz-border-bottom-left-radius: 4px;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
}

.service-logo-container-showlogo {
  background-color: white;
  width: 180px;
}

.ad-container {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0px;
  padding: 0px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 999999999;

  background-color: white;
}

.service-data-debug {
  position: absolute;
  top: -30px;
  height: 14px;
  font-size: 14px;
  line-height: 14px;
  background-color: black;
  color: white;
}

.service-prediction-debug {
  position: absolute;
  top: -30px;
  height: 14px;
  font-size: 14px;
  line-height: 14px;
  background-color: black;
  color: white;
}

.service-type {
    position: absolute;
    top: 3px;
    font-size: 14px;
    align-content: center;
    align-self: center;
  }

  .qr-code-image {
    margin-top: 5px;
    height: 70px;
    width: auto;
  }

  .cittamobi-logo{
    margin-top: 10px;
    max-height: 60px;
    width: auto;
  }

@media screen and (min-width: 992px) {
  
  header {
    margin-bottom: 10px;
  }
  header h1, header .current-time {
    font-size: 44px;
    height: 46px;
    line-height: 0.96;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .card-bus {
    padding-top: 25px;
    height: 175px;
  }
  .card-bus .bus-info {
    padding-left: 20px;
  }
  .card-bus .bus-info .line-number {
    float: left;
    max-width: 30%
  }
  .card-bus .bus-info .line-name {
    float: left;
    max-width: 70%;
  }
  .card-bus .bus-info h2 {
    font-size: 44px;
    margin-right: 40px;
    display:  block;
    height: 100px;
  }
  .card-bus .bus-info h2 span.color {
    height: 30px;
    width: 30px;
    border-radius: 15px;
  }
  .card-bus .bus-info h3 {
    margin-left: 0px;
    font-size: 44px;
    display: block;
  }

  .card-bus .bus-info .address {
    font-size: 24px;
    display: block
  }
  .card-bus .bus-time .remaining-time {
    font-size: 38px;
  }
  .card-bus .bus-time .clock {
    font-size: 28px;
  }
  .card-bus .bus-time .icons i {
    font-size: 20px;
  }
  .card-bus .bus-time .time {
    margin-right: 30px;
    margin-left: 15px;
    padding: 15px;
  }
  .badge {
    font-size: 14px;
    right: 30px ;
  }
  .panel {
    padding: 15px;
    margin-bottom: 20px;
  }

  .panel-heading {
    margin-bottom: 15px;
    font-size: 18px;
  }

  .pmv-message {
    font-size: 36px;
  }
  footer {
    font-size: 20px;
  }
  footer.download-button a {
    margin-left: 20px;
  }
}


@media screen and (min-width: 992px) and (max-width: 1400px) {
  header, header .row-container, header h1, header .current-time {
    height: 100%;
  }

  .card-bus .bus-info .line-number,
  .card-bus .bus-info .line-name {
    max-width: fit-content;
  }
}
