/*****************************************************************************
 Map Overrides - Transit
 *****************************************************************************/

body, html {
    font-family: Helvetica, Arial, sourcesans, sans-serif;
}

.mg-control-zoomtoextent {
    display: none;
}

#geocoder {
  position: static;
}

#geocoder .geocoder-results {
  position: absolute;
  z-index: 1;
}

.ol-viewport .ol-control button {
  border-radius: 50%;
}

#message-center-tabs {
  /* Whooosh */
  display:none;
}

.ol-viewport .ol-attribution.ol-uncollapsible {
  left: 0;
  bottom: 0.4em;
  right: auto;
}

.ol-viewport .ol-attribution:not(.ol-collapsed):not(.ol-logo-only) {
  background: rgba(255,255,255,0.5);
}

/*****************************************************************************
 Widgets/Tools/Popups - Transit
 *****************************************************************************/

/* --------------------- *
 *  Route title with id  *
 * --------------------- */

.transit-route-title .transit-route-id {
  float: left;
}

.transit-route-title .transit-route-name,
.transit-route-title .transit-route-longname,
.transit-route-title .transit-route-verylongname {
  padding: 0;
}

.transit-route-title .transit-route-clear {
  clear: left;
}


/* ------------ *
 *  All Popups  *
 * ------------ */

.ol-overlay-container .popover {
  background-color: rgba(255, 255, 255, 0.925);
}

.popover.top > .arrow:after {
  border-top-color: rgba(255, 255, 255, 0.925);
}

.popover.bottom > .arrow:after {
  border-bottom-color: rgba(255, 255, 255, 0.925);
}

.popover.right > .arrow:after {
  border-right-color: rgba(255, 255, 255, 0.925);
}

.popover.left > .arrow:after {
  border-left-color: rgba(255, 255, 255, 0.925);
}

/* ------------------------ *
 *  Container - Navigation  *
 * ------------------------ */

.ol-viewport .transit-control-navigation {
  top: 0.5em;
  left: 0;
  position: absolute;
  padding: 11px 25px 7px 14px;
  background-color: #F15A29;
  border-top-right-radius: 10px 15px;
  border-bottom-right-radius: 10px 15px;
}

.ol-viewport .transit-control-navigation .ol-control,
.ol-viewport .transit-control-navigation .ol-control:hover {
  background: none;
  left: auto;
  padding: 0;
  top: auto;
}

.ol-viewport .transit-control-navigation::before {
  content: url(../img/navigation-decoration-right.png);
  position: absolute;

  /* TODO: Adjust with final values */
  right: -20px;
  top: 38px;
}

.ol-viewport .transit-control-navigation div {
  position: static;
}

.ol-viewport .transit-control-navigation button {
  background: #fff;
  border: 0;
  color: #F15A29;
  border-radius: 50% !important;
}

.ol-viewport .transit-control-navigation-help {
  display: inline-block;
  float: left;
  margin-top: 0px;
  margin-right: 1px;
  margin-left: 2px;
}

button.transit-control-help {
  height: 32px;
  width: 32px;
  font-size: large;
}

.ol-viewport .transit-control-navigation button:hover {
  color: #fff;
  background-color: #0075C9;
}

.ol-viewport .transit-control-navigation .ol-zoom button {
  height: 14px;
  line-height: 15px;
  width: 14px;
}

.ol-viewport .transit-control-navigation .ol-zoom .ol-zoom-in {
  margin-bottom: 2px;
}

/* Firefox-specific adjustments */
@-moz-document url-prefix() {
  button.transit-control-help {
    padding-bottom: 3px;
  }

  .transit-control-navigation .ol-zoom button {
    padding-bottom: 6px;
    line-height: 0;
  }
}

.ol-viewport .transit-control-navigation-geocoder,
.ol-viewport .transit-control-navigation-zoom {
  float: left;
}

.ol-viewport .transit-control-navigation-geocoder {
  margin: 4px;
  margin-left: 16px;
  margin-top: 8px;
}

.ol-viewport .transit-control-navigation-geocoder#geocoder input {
  width: 200px;
  height: 20px;
  padding: 0;
  z-index: auto;
}

.ol-viewport .transit-control-navigation-scheduletypeswicher {
  margin-top: 5px;
  margin-left: 6px;
}

.ol-viewport .transit-control-navigation-scheduletypeswicher::before {
  content: '';
  display: inline-block;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  background-color: #0075C9;
  background-image: url(../img/logo-sts.png);
  background-position: 40% center;
  background-repeat: no-repeat;
}

/* Dropdown control */

.ol-viewport .transit-control-scheduletypeswitcher.mg-control-dropdown {
  position: relative;
  width: calc(100% - 60px);
  display: inline-block;
  top: 50%;
  transform: translateY(-65%);
  -webkit-transform: translateY(-65%);
  -ms-transform: translateY(-65%);
  margin-left: 10px;
}

.ol-viewport .transit-control-scheduletypeswitcher.mg-control-dropdown .mg-control-dropdown-header-label {
  display: block;
  font-weight: bold;
  height: 23px;
  overflow: hidden;
  text-overflow: ellipsis;
  width: calc(100% - 20px);
  white-space: nowrap;
}

.ol-viewport .transit-control-scheduletypeswitcher.mg-control-dropdown .mg-control-dropdown-drawer {
  position: absolute;
  width: 100%;
}

.ol-viewport .transit-control-scheduletypeswitcher.mg-control-dropdown div.mg-control-dropdown-header {
  background: #F15A29;
  color: #fff;
  font-size: large;
}

.ol-viewport .mg-control-dropdown .mg-control-dropdown-list-element {
  background: #0075C9;
  color: #fff;
  margin: 0;
  border: 1px solid #0075C9;
}

.ol-viewport .mg-control-dropdown
    .mg-control-dropdown-list-element.mg-control-dropdown-selected-item {
  display: none;
}

.ol-viewport .mg-control-dropdown .mg-control-dropdown-list-element:hover {
  background: #F15A29;
  color: #fff;
}


/* -------------- *
 *  Popup - Stop  *
 * -------------- */

.transit-card-stop-header {
    font-weight: bold;
}

.transit-card-stop-routes {
    margin: 0 0 0 2px;
    max-height: 110px;
    overflow-y: auto;
    padding: 0;
}

.transit-card-stop-route {
    list-style: none;
}

.transit-card-stop-route a {
    border: 1px solid transparent;
    cursor: pointer;
    display: block;
    padding: 2px 6px;
    margin: 0 2px 0 0;
    text-decoration: none;
}

.transit-card-stop-routes a:hover {
    border: 1px solid #adadad;
}

.transit-card-stop-route .transit-route-name,
.transit-card-stop-route .transit-route-longname {
    padding: 4px 0 0 0;
}

.transit-card-stop-route .transit-route-verylongname {
    padding: 0;
}

.mg-control-bottomPopup {
    height:150px;
    margin-top: -150px;
    padding-bottom: 4px;
}

/* ------------------ *
 *  Popup - Schedule  *
 * ------------------ */

.transit-component-schedule {}

.transit-component-schedule-back {
    cursor: pointer;
    float: left;
    font-size: 14pt;
    font-weight: bold;
    padding: 0 6px 0 0;
    text-decoration: none;
}

.transit-component-schedule-back:hover {
    text-decoration: none;
}

.transit-component-schedule-route {
    font-size: 14pt;
    font-weight: bold;
}

.transit-component-schedule-route .transit-route-name {
    margin: 0 0 0 38px;
}

.transit-component-schedule-route:after {
    clear: left;
}

.transit-component-schedule-nextpassages {
    font-weight: bold;
    margin: 2px 0 10px 13px;
}

.transit-component-schedule-nextpassages-item {
    display: inline-block;
    margin: 0 5px;
}

.transit-component-schedule button {
    font-size: 9.5pt;
    margin: 2px 0 2px 16px;
    padding: 3px 6px;
}


/* ---------------------- *
 *  Route list component  *
 * ---------------------- */

.transit-component-routes-selection .transit-route-name,
.transit-component-routes-selection .transit-route-longname,
.transit-component-routes-selection .transit-route-verylongname {
    font-size: 10.5pt;
    font-weight: bold;
}


/* -------------------------------- *
 *  Control - Supplementary Routes  *
 * -------------------------------- */

.ol-viewport .transit-control-sup-routes .transit-route-id {
  background-color: #662D91;
  color: white;
  cursor: pointer;
}

.ol-viewport .transit-control-sup-routes.inactive {
  opacity: 0.7;
}

.ol-viewport .transit-control-sup-routes.active,
.ol-viewport .transit-control-sup-routes:hover {
  opacity: 1;
}

.ol-viewport .transit-control-full-network .transit-route-id {
 background-color: #0075C9;
 color: white;
 cursor: pointer;
}

.ol-viewport .transit-control-full-network.inactive {
 opacity: 0.7;
}

.ol-viewport .transit-control-full-network.active,
.ol-viewport .transit-control-full-network:hover {
 opacity: 1;
}


/* -------------------------- *
 *  Control - Route Switcher  *
 * -------------------------- */

.ol-viewport .transit-control-routes-switcher {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  overflow:hidden;
}

.ol-viewport .transit-control-routes-switcher-full-network {
  position: absolute;
  right: 0.5em;
  top: 0.5em;
}

.ol-viewport .transit-control-routes-switcher-suproutes {
  position: absolute;
  right: 0.5em;
  top: calc(1em + 40px);
}

.ol-viewport .transit-control-routes-switcher-suproutes .transit-route-id.transit-route-bubble-3 {
  font-size: 1em;
}

.ol-viewport .transit-control-routes-switcher .transit-component-routes-list-container,
.ol-viewport .transit-control-routes-switcher .transit-component-routes-selection {
  position: static;
  float: right;
}

.ol-viewport .transit-control-routes-switcher .transit-component-routes-selection {
  margin-right: 5px;
  margin-top: 0.5em;
}

.ol-viewport .transit-control-routes-switcher .transit-component-routes-list-container {
  padding: 100px 0.5em 0 0;
  height: 100%;
  overflow: hidden;
  width: 51px;
}

.ol-viewport .transit-control-routes-switcher .transit-component-routes-list-container
    .transit-component-routes-list-scrollbutton {
  width: 100%;
}

.ol-viewport .transit-control-routes-switcher .transit-component-routes-list {
  height: calc(100% - 46px);
  width: calc(100% + 24px);
  overflow-y: scroll;
  position: relative;
  padding-right: calc(24px + 0.5em);
}

.ol-viewport .transit-control-routes-switcher .transit-component-routes-list
    .transit-route-id {
  color: white;
  background-color: #F15A29;
}

.ol-viewport .transit-control-routes-switcher .transit-component-routes-selection {
  width: 22em;
}

.transit-routes-selected-route {
  background: #fff;
  border: #888 1px;
  box-shadow: 1px 1px 5px 0px #CEC4C6;
  margin: .3em;
  padding: .3em;
}

.transit-routes-selected-route-name {
  font-size: larger;
}

.transit-component-routes-selection .transit-routes-selected-route button,
.transit-component-routes-selection .transit-routes-selected-route button:hover{
  display: inline;
  float: right;
  font-size: 1em;
  height: 30px;
  margin: 0 1px;
  width: 30px;
}

.transit-component-routes-list a {
  cursor: pointer;
  display: block;
  opacity: 0.7;
}

.ol-viewport .transit-control-routes-switcher .transit-component-routes-list
    a:hover,
.ol-viewport .transit-control-routes-switcher .transit-component-routes-list
    .route-selected {
  color: #fff;
  text-decoration: none;
  opacity: 1;
}

.transit-routes-selected-route .transit-route-name {
  padding: 11px 0 0 0;
}


/* ------------------------- *
 *  Control - Help (button)  *
 * ------------------------- */

.ol-viewport .transit-control-help {
  display: inline-block;
}


/* ----------------------------- *
 *  Component - Help (viewport)  *
 * ----------------------------- */

.transit-component-helpviewport {
  background-color: #F15A29;
  background-color: rgba(241, 90, 41, 0.5);
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.transit-component-helpviewport-text {
  display: inline-block;
  color: white;
  font-size: 15pt;
  position: absolute;
  width: 210px;
}

.transit-component-helpviewport-searchtext {
  top: 15px;
  left: 445px;
}

.transit-component-helpviewport-zoomtext {
  top: 166px;
  left: 190px;
}

.transit-component-helpviewport-scheduletext {
  top: 105px;
  left: 440px;
}

.transit-component-helpviewport-alltext,
.transit-component-helpviewport-suptext,
.transit-component-helpviewport-routetext,
.transit-component-helpviewport-scrolltext {
  right: 160px;
  text-align: right;
}

.transit-component-helpviewport-alltext {
  top: 20px;
}

.transit-component-helpviewport-suptext {
  top: 120px;
  width: 280px;
}

.transit-component-helpviewport-routetext {
  top: 220px;
}

.transit-component-helpviewport-scrolltext {
  bottom: 50px;
}

.transit-component-helpviewport-stoptext {
  top: calc(50% + 20px);
  left: calc(50% - 370px);
  text-align: right;
}


.transit-component-helpviewport-arrow {
  background-image: url(../img/arrow-long.png);
  display: inline-block;
  height: 25px;
  position: absolute;
  width: 180px;
}

.transit-component-helpviewport-searcharrow {
  top: 15px;
  left: 250px;
  -ms-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.transit-component-helpviewport-zoomarrow {
  top: 100px;
  left: 35px;
  -ms-transform: rotate(230deg);
  -webkit-transform: rotate(230deg);
  transform: rotate(230deg);
}

.transit-component-helpviewport-schedulearrow {
  top: 85px;
  left: 247px;
  -ms-transform: rotate(195deg);
  -webkit-transform: rotate(195deg);
  transform: rotate(195deg);
}

.transit-component-helpviewport-allarrow,
.transit-component-helpviewport-suparrow,
.transit-component-helpviewport-routearrow,
.transit-component-helpviewport-scrollarrow {
  background-image: url(../img/arrow-short.png);
  height: 25px;
  right: 60px;
  width: 84px;
}

.transit-component-helpviewport-allarrow {
  top: 20px;
}

.transit-component-helpviewport-suparrow {
  top: 100px;
  -ms-transform: rotate(325deg);
  -webkit-transform: rotate(325deg);
  transform: rotate(325deg);
}

.transit-component-helpviewport-routearrow {
  top: 223px;
}

.transit-component-helpviewport-scrollarrow {
  bottom: 58px;
  -ms-transform: rotate(20deg);
  -webkit-transform: rotate(20deg);
  transform: rotate(20deg);
}

.transit-component-helpviewport-stoparrow {
  background-image: url(../img/arrow-short.png);
  height: 25px;
  top: calc(50% + 10px);
  left: calc(50% - 150px);
  -ms-transform: rotate(-20deg);
  -webkit-transform: rotate(-20deg);
  transform: rotate(-20deg);
  width: 84px;
}

.transit-component-helpviewport-helpicon {
  background-color: white;
  border-radius: 50%;
  color: #F15A29;
  display: inline-block;
  font-size: 48pt;
  font-weight: bold;
  height: 90px;
  left: 33px;
  position: absolute;
  text-align: center;
  top: calc(50% - 90px);
  width: 90px;
}

/* ----------------------- *
 *  Full Schedule & modal  *
 * ----------------------- */

.modal-dialog {
  height: calc(100% - 30px);
}

.modal-body {
  height: calc(100% - 130px);
  border-top: 1px solid #e5e5e5;
}
.modal {
  z-index: 2005;
}

/* To account for stop names that are on two lines: */
.modal-header{
  display: table-cell;
  padding: 0 15px;
  height: 70px;
  vertical-align: middle;
  border-bottom: none;
}

.transit-component-fullschedule-exceptions-left,
.transit-component-fullschedule-exceptions-right {
  display: inline-block;
}

.transit-component-fullschedule-exceptions-left {
  float: left;
  width: 36px;
}

.transit-component-fullschedule-exceptions-right {
  margin:6px;
  max-width: calc(100% - 48px)
}

.transit-component-fullschedule-exceptions-header {
  font-size: 17pt;
  font-weight: bold;
  margin-top: 0px;
}

.transit-component-fullschedule-exceptions .transit-route-id {
  line-height: 1.4em;
  min-width: 32px;
  width: 32px;
  height: 32px;
}

.transit-component-fullschedule-table {
  border-bottom: 1px solid #dedede;
  margin: 10px 0;
  min-width: 100%;
}

.transit-component-fullschedule-table tr:nth-child(even) {
  background-color: #ededed;
}

.transit-component-fullschedule-table tr:nth-child(odd) {
  background-color: #ffffff;
}

.transit-component-fullschedule-table th,
.transit-component-fullschedule-table td {
  border-left: 1px solid #dedede;
  border-right: 1px solid #dedede;
  font-size: 13px;
  padding: 1px 2px;
  text-align: center;
}

.transit-component-fullschedule-table th {
  border-bottom: 1px solid #dedede;
  border-top: 1px solid #dedede;
}

.transit-component-fullschedule-weekday {
  display: block;
}

.transit-component-fullschedule-shortweekday {
  display: none;
}

@media (max-width: 600px) {
  .transit-component-fullschedule-weekday {display: none;}
  .transit-component-fullschedule-shortweekday {display: block;}
}

.transit-component-fullschedule-passage {
  float: left;
  margin: 0 6px;
  text-align: center;
  width: calc(100% - 12px);
}

.transit-component-fullschedule h5,
.transit-component-fullschedule h6 {
  font-weight: bold;
}

.transit-component-fullschedule h6 {
  font-size: 10pt;
}

.transit-component-fullschedule-exceptions-body {
  margin: 0;
}

ul.transit-component-fullschedule-exceptions-body-datelist {
  font-weight: bold;
  margin: 10px 0 0 0;
  padding: 0;
}

.transit-component-fullschedule-exceptions-body-datelist li::after {
  content: ", ";
}

.transit-component-fullschedule-exceptions-body-datelist li:last-child::after {
  content: "";
}

ul.transit-component-fullschedule-exceptions-body-passagelist {
  margin: 0;
  padding: 0;
}

ul.transit-component-fullschedule-exceptions-body-datelist:after,
ul.transit-component-fullschedule-exceptions-body-passagelist:after {
  clear: both;
}

ul.transit-component-fullschedule-exceptions-body-datelist li,
ul.transit-component-fullschedule-exceptions-body-passagelist li {
  float: left;
  list-style: none;
  margin: 0 8px 0 0;
}

.transit-component-fullschedule-clearleft {
  clear: left;
}



/*****************************************************************************
 Mobile specific classes all the way down from here
 *****************************************************************************/

.transit-mobile-splash-bg{
  position:absolute;
  top:0;
  width:100%;
  height:100%;
  background-color:rgba(255,255,255,0.9);
  background: linear-gradient(to bottom, rgba(255,255,255,0.98) 10%,rgba(255,255,255,0.9) 100%);
  z-index:1100;
  padding:10px;
  padding-top:100px;
  transition: all 0.2s;
  webkit-transition: all 0.2s;
}

.transit-mobile-splash-bg .transit-mobile-splash-btn{
  display:block;
  margin:auto;
  margin-top:10px;
  margin-bottom:10px;
  max-width: 400px;
  padding:15px;
}

.navbar ~ .transit-mobile-splash-bg {
 padding-top:150px; 
}

.transit-mobile-splash-bg::before {
  content: " ";
  background: url(../img/logo-sts-full.png);
  display: block;
  background-size: 100%;
  width: 200px;
  height: 84px;
  margin: -84px auto 0;
  background-repeat: no-repeat;
}
.transit-mobile-splash-bg[style^="top: 15"]::before {
  display:none;
}

.transit-mobile-splash-bg .transit-mobile-splash-force-desktop{
  display:none;
}

@media screen and (min-width: 500px) and (min-height: 500px) {
  .transit-mobile-splash-bg .transit-mobile-splash-force-desktop{
    cursor:pointer;
    position:absolute;
    bottom:20px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align:center;
    display:block;
  }

}


/* ------------------------------- *
 *  Control - Mobile route search  *
 * ------------------------------- */

.transit-component-mobileroutesearch-bg{
  width:100%;
  height:100%;
  background-color:rgba(255,255,255,0.9);
  background: linear-gradient(to bottom, rgba(255,255,255,0.98) 10%,rgba(255,255,255,0.9) 100%);
  position:absolute;
  top:0;
  z-index:2000;
}

.transit-component-mobileroutesearch-list{
  height:calc( 100% - 80px);
  overflow-y: auto;
}

.transit-component-mobileroutesearch-list .transit-route-title{
  display:table;
}


.transit-component-mobileroutesearch-list .transit-route-title .transit-route-longname,
.transit-component-mobileroutesearch-list .transit-route-title .transit-route-name{
  display:table-cell;
  vertical-align: middle;
}

.transit-component-mobileroutesearch-list .collapse.in{
  max-height:none;
}

.transit-component-back{
  cursor:pointer;
  padding-left: 10px;
  padding-right: 10px;
}

.transit-component-mobileroutesearch-schedule {
  padding:10px;
}

.transit-mobile-back-schedule-btn {
  z-index:2000;
}

.transit-component-mobileroutesearch-list button.btn-info{
  background-color: #0075C9;
  border-color: #0094FF;
  color: #ffffff;
}

.ol-viewport .transit-control-routes-switcher-mobile .transit-component-routes-selection {
  width: 97px;
}
.ol-viewport .transit-control-routes-switcher-mobile button.fa-unlock,
.ol-viewport .transit-control-routes-switcher-mobile button.fa-lock {
  display:none;
}

.transit-route-selection-mobile .transit-routes-selected-route{
  background-color:transparent;
  box-shadow:none;
  position:absolute;
  top:60px;
}
.transit-route-selection-mobile .transit-routes-selected-route button{
  background-color: white;
  border: none;
  border-radius: 12px;
  width: 24px;
  height: 24px;
  margin: 0;
  margin-left: -15px;
  float: right;
  border: solid 1px #efefef;
  padding: 0 5px;
}

.transit-component-mobileroutesearch-bg .transit-control-scheduletypeswitcher.mg-control-dropdown {
  position: static;
  width: 100%;
  display: block;
  transform: none;
  -webkit-transform: none;
  -ms-transform: none;
  margin-left: 0px;
}

.transit-component-mobileroutesearch-bg .transit-control-scheduletypeswitcher .mg-control-dropdown-drawer {
  position:relative;
}

.transit-component-mobileroutesearch-bg .transit-control-scheduletypeswitcher div.mg-control-dropdown-header {
  padding:10px;
  background: white;
  color: #333;
  font-size: large;
  border-bottom: solid 1px #ddd;
  border-top: solid 1px #ddd;
}

.transit-component-mobileroutesearch-bg .transit-control-scheduletypeswitcher .mg-control-dropdown-list-element{
  background-color:white;
  color: #555;
  border: none;
  border-bottom: solid 1px #ddd;
  padding-top:5px;
  padding-bottom:5px;
}

.transit-component-mobileroutesearch-bg .transit-control-scheduletypeswitcher .mg-control-dropdown-header-icon {
  margin-right:10px;
}
/* ------------------------ *
 *  Container - Navigation  *
 * ------------------------ */

.ol-viewport .transit-control-mobile-navigation {
  top: 0;
  left: 0;
  position: absolute;
  width:100%;
  height:60px;
  padding: 13px 13px;
  background-color: #F15A29;
}

.ol-viewport .transit-control-mobile-navigation::before {
  content: '';
  display: inline-block;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  background-color: #0075C9;
  background-image: url(../img/logo-sts.png);
  background-position: 40% center;
  background-repeat: no-repeat;
  background-size: 75%;
  float:left;
  margin-right:10px;
}

.ol-viewport .transit-control-mobile-navigation .transit-control-scheduletypeswitcher.mg-control-dropdown .mg-control-dropdown-header-label{
  position: absolute;
  top: 50px;
  left: -18px;
  font-size: 12px;
  font-weight: normal;
  color: #666;
  width: 100px;
  text-align: right;
  text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff;
}
.ol-viewport .transit-control-mobile-navigation .mg-control-dropdown {
  background-color:transparent;
  position:absolute;
  top:38px;
  right: 55px;
  width: 135px;
}
.ol-viewport .transit-control-mobile-navigation .transit-control-scheduletypeswitcher.mg-control-dropdown div.mg-control-dropdown-header{
  width: 36px;
  height: 36px;
  color: #F15A29;
  background-color:white;
  border-radius:50%;
  font-size:24px;
  border: 1px solid #ccc;
  text-align: center;
  float:right;
}
.ol-viewport .transit-control-mobile-navigation .transit-control-scheduletypeswitcher.mg-control-dropdown .mg-control-dropdown-drawer{
  top:48px;
  right: -46px;
  text-align:right;
}
.ol-viewport .transit-control-mobile-navigation .mg-control-dropdown .mg-control-dropdown-header-icon {
  position: static;
  transform: none;
  -webkit-transform: none;
  -ms-transform: none;
}
.ol-viewport .transit-control-mobile-navigation #geocoder {
  float: left;
}
.ol-viewport .transit-control-mobile-navigation #geocoder input{
  border: none;
  height:36px;
  width:100%;
}
.ol-viewport .transit-control-mobile-navigation #geocoder .input-group{
  width:100%;
}

.ol-viewport .transit-control-mobile-navigation #geocoder{
  width: calc(100% - 133px);
}

.transit-mobile-back-splash-btn:active,
.transit-mobile-back-splash-btn:focus,
.transit-mobile-back-splash-btn:hover,
.transit-mobile-back-splash-btn {
  background-color: transparent;
}
.transit-mobile-back-splash-btn {
  float:left;
  position:static;
  padding:0;
  margin-left:49px;
}

button.transit-mobile-back-splash-btn:active,
button.transit-mobile-back-splash-btn:focus,
button.transit-mobile-back-splash-btn:hover,
button.transit-mobile-back-splash-btn {
  color: #F15A29;
  background-color:white;
  width: 36px;
  height: 36px;
  outline: none;
}

/* ------------------------------ *
 *  Mobile Full Schedule & modal  *
 * ------------------------------ */

@media screen and (max-height: 768px) and (max-width: 768px) {
  .modal-dialog {
    margin-top:15px;
  }
  div.modal-content {
    height: calc(100%);
  }
  .modal-body {
    max-height: calc(100% - 100px);
  }
}

@media screen and (max-width: 480px) {
  .transit-component-fullschedule-table{
    margin: 10px -14px;
    min-width: calc(100% + 28px);
  }
}

@media screen and (max-width: 420px) {
  .transit-component-fullschedule-passage {
    font-size: 13px;
    margin: 0 3px;
    min-width: calc(100% - 6px);
  }
  ul.transit-component-fullschedule-exceptions-body-passagelist li{
    font-size: 13px;
    margin: 0 3px;
  }
}

@media screen and (max-width: 360px) {
  .transit-component-fullschedule-passage {
    font-size: 12px;
    margin: 0 1px;
    min-width: calc(100% - 2px);
  }
  ul.transit-component-fullschedule-exceptions-body-passagelist li{
    font-size: 12px;
    margin: 0 2px;
  }
}

@media (min-width: 768px) {
  .modal-dialog {
    width: 700px;
  }
}


/* ------------------------------ *
 *  Subroutes display             *
 * ------------------------------ */

.transit-subroute-title:hover {
	border: 1px solid #adadad;
}
.transit-subroute-title {
	border: 1px solid transparent;
	cursor: pointer;
	display: block;
	padding: 2px 6px;
	margin: 0 2px 0 0;
	text-decoration: none;
  padding-left: 24px;
}

.transit-subroute-title .fa {
  color: grey;
  float: left;
  padding: 2px 6px;
  margin-left: -24px;
}

.transit-subroute-title.selected .fa {
  color: black;
}

.transit-subroute-title.selected {
  font-weight: bold;
}

.transit-component-subroute-back {
    cursor: pointer;
    float: left;
    font-size: 14pt;
    font-weight: bold;
    padding: 0 6px 0 0;
    text-decoration: none;
}

.transit-component-subroute-back:hover {
    text-decoration: none;
}
.transit-component-subroute-subroutes {
  list-style: none;
}
.transit-component-subroute-subroutes a {
  display: block;
  padding: 2px 6px;
  margin: 0 2px 0 0;
}
