* {
  font-family: 'Gilroy-Regular';
}

body {
  background: #fff;
  padding: 0;
  margin: 0;
  height: 100vh;
  overflow: hidden;
}

nav {
  background: #ffc40d;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#notification {
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 14px;
  height: 30px;
  line-height: 30px;
  text-transform: unset;
  position: absolute;
  top: 55px;
  left: 0;
  width: 100%;
  z-index: 450;
  opacity: 1;
  transition: opacity .25s ease;
}

#notification.hidden {
  opacity: 0;
  transition: opacity .25s ease;
}

#main_map {
  height: calc(100vh - 55px);
}

.map-container{
  display: flex;
  height: 100%;
  width: 100%;
}

.bus-selector {
  position: absolute;
  bottom: 2em;
  right: 2em;
  border-radius: 50%;
  background: #ffc40d url('../img/selector@2x.png') 50% 50% no-repeat;
  background-size: contain;
  width: 60px;
  height: 60px;
  z-index: 999;
  -webkit-box-shadow: 0 0 16px 0 rgba(0,0,0,.25);
  box-shadow: 0 0 16px 0 rgba(0,0,0,.25);
}

.bus-selector.active {
  background: #ffc40d url('../img/selector-close@2x.png') 50% 50% no-repeat;
  background-size: contain;
}

#bus_menu {
  color: #000;
}

#bus_menu_close {
  color: #000;
  margin: 15px;
}

#bus_menu_div {
  position: fixed;
  z-index: 500;
  background: #fff;
  background-size: cover;
  padding: 0;
  width: 100vw;
  height: calc(100vh - 55px);
  pointer-events: all;
  transition: transform .25s ease;
  transform: translateX(0%);
  overflow-y: auto;
  overflow-x: hidden;
}

#bus_menu_div.hidden {
  pointer-events: none;
  transition: transform .25s ease;
  transform: translateX(100%);
}

h2#bus_label {
  font-family: 'Gilroy-Bold';
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -.6pt;
  line-height: 1.6;
  margin: 0;
  text-align: left;
  width: 100%;
  padding: 10px 15px 0;
  color: #000;
  background: #fff;
}

nav.navbar h2 {
  font-family: 'Gilroy-Bold';
  font-weight: 700;
  font-size: 30px;
  line-height: 1.6;
  margin: 0;
  text-align: center;
  width: 100%;
}

ul.navbar-nav {
  padding: 15px;
  margin: 0;
}

.leaflet-control-attribution {
  display: none !important;
}

.navbar-light .navbar-toggler {
  color: #000;
  border: 0;
}

li.nav-item {
  background: #fff;
  margin-bottom: 4px;
  border-radius: 5px;
  height: 70px;
  color: #000;
  padding: 0 20px;
}

li.nav-item a {
  display: block;
  height: 100%;
  line-height: 50px;
  font-size: 50px;
  font-weight: 900;
  color: #000 !important;
  text-transform: uppercase;
  position: relative;
}

li.nav-item a small {
  font-size: 16px;
  line-height: 20px;
  text-transform: initial;
  position: absolute;
  right: 0;
  text-align: right;
  top: 0;
  display: block;
  overflow: hidden;
  height: 100%;
  width: 72%;
  padding: 6px 0;
}

a.grid {
  background: #fff;
  margin-bottom: 10px;
  border-radius: 5px;
  color: #000;
  padding: 10px;
  display: grid;
  grid-template-columns: 35% auto;
  grid-gap: 5px;
  -webkit-box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.15);
  -moz-box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.15);
  box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.15);
  min-height: 140px;
  text-decoration: none;
  align-items: center;
}

a.grid.selected {
  border: solid 4px #FFC40C;
}

a.grid:focus,
a.grid:hover {
  text-decoration: none;
}

a.grid .span-row-2 {
  font-family: 'Gilroy-Bold';
  font-size: 40px;
  font-weight: 700;
  color: #000 !important;
  text-transform: uppercase;
  position: relative;
  text-align: center;
  justify-self: center;
  align-self: center;
}

a.grid .title {
  font-family: 'Gilroy-Medium';
  font-size: 18px;
  font-weight: 400;
  color: #000 !important;
}

a.grid .sub-title {
  font-size: 14px;
  font-weight: 400;
  color: #9e9e9e !important;
}

.leaflet-marker-icon.bus-icon-class {
  width: 60px;
  height: 66px;
  background: transparent url('../img/bus_icon@2x.png') 50% 50% no-repeat;
  background-size: contain;
  text-align: center;
  line-height: 60px;
  text-transform: uppercase;
  font-size: 20px;
  border-radius: 0;
  color: #fff;
}

.leaflet-marker-icon.bus-icon-class .bus-icon {
  font-family: 'Gilroy-Bold';
  font-weight: 700;
  border-radius: 22px;
  border: 5px solid #000;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leaflet-marker-icon.bus-icon-class .bus-icon::after {
  position: absolute;
  content: '';
  width: 0;
  height: 0;
  border-color: inherit;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #000;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
}

.leaflet-marker-icon.stop-icon-class {
  width: 60px;
  height: 66px;
  background: transparent url('../img/stop@2x.png') 50% 50% no-repeat;
  background-size: contain;
  text-align: center;
  line-height: 60px;
  text-transform: uppercase;
  font-size: 20px;
  border-radius: 0;
  color: #fff;
}

.leaflet-marker-icon.stop-icon-class .stop-icon {
  font-family: 'Gilroy-Bold';
  font-weight: 700;
  background: #ffaa17;
  height: 30px;
  line-height: 30px;
  font-size: 13px;
  position: absolute;
  left: 45px;
  top: 10px;
  width: auto;
  border-radius: 100px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding: 0 16px 0 8px;
  white-space: nowrap;
}

@keyframes slideupNoti {
  0% {
      top: 64px;
  }
  60% {
      top: 64px;
  }
  100% {
      top: 0px;
  }
}
@-moz-keyframes slideupNoti {
  0% {
      top: 64px;
  }
  60% {
      top: 64px;
  }
  100% {
      top: 0px;
  }
}
@-webkit-keyframes slideupNoti {
  0% {
      top: 64px;
  }
  60% {
      top: 64px;
  }
  100% {
      top: 0px;
  }
}
@-o-keyframes slideupNoti {
  0% {
      top: 64px;
  }
  60% {
      top: 64px;
  }
  100% {
      top: 0px;
  }
}
