.label-marc {
   background-color: #a5272d;
   padding: .5em .5em .5em;
   margin-left: 7px;
}
.btn-filter-schedule {
   transition: all 0.0s ease-in-out 0.0s;
}
.btn-toolbar .btn-group {
	margin: 0px 5px 30px 0px;
}
.btn-toolbar .btn-group button {
	background: #a5272d;
	border-radius: 8px !important;
	margin: 8px;
	padding: 0.25em 1.25em !important;
}
.btn-toolbar .btn-group button.active {
	background: #ffca40;
	color: #383838;
	font-weight: bold;
}

/* ESRI Customizations */
.zoomTo {  
	display:none !important;  
}  
.esri-popup__header {
	display: none !important;
}
.esri-popup__feature-buttons {
	display: none !important;
}
.esri-feature__main-container {
    font-weight: bold !important;
	width: 100% !important;
}
.esri-popup__main-container {
	width: 100% !important;
}
.esri-popup__content {
	margin: 15px !important;
}
.esri-popup__footer {
	display: none !important;
}
.esri-popup__content {
	font-weight: bold !important
}
.map-desktop {
	height: 290px !important;
	display: none;
}

/* MARC Timetables */
.marctable {
	/*overflow-y: scroll;*/
	-webkit-overflow-scrolling: touch;
	margin-bottom: 27px;
	max-height: 365px;
	overflow: auto;
	border: 1px solid #000;
}
.marctable table {
	font-size: .75em;
	margin: 0 0 1em;
	width: 100%;
	border: 1px solid #333;
	overflow: auto;
}

.marctable table th, .marctable table td {
	line-height: 1.25em;
	width: 200px;
}

.marctable thead th {
  position: -webkit-sticky; /* for Safari */
  position: sticky;
  top: 0;
  background: #333;
  color: #FFF;
  border-right: 1px solid #dedede;
  height: 50px;
}
.marctable thead th.stop-name {
  background: #a5272d;
  text-align: left;
}
.marctable thead th .cell-width {
	width: 65px;
	text-align: center;
}
.marctable table thead th .nowrap {
  white-space: nowrap;
}

.marctable thead th:first-child {
  left: 0;
  z-index: 1;
}
.marctable tbody th {
  position: -webkit-sticky; /* for Safari */
  position: sticky;
  left: 0;
  background: #a5272d;
  color: #fff;
  font-weight: 600;
  text-align: left;
  border-right: 1px solid #dedede;
}
.marctable table tbody td {
  border-right: 1px solid #dedede;
  text-align: center;
}

@media all and (min-width: 768px) {
  table th.nowrap,
  table th.no-wrap,
  table td.nowrap,
  table td.no-wrap {
    white-space: nowrap;
    width: 1px;
  }
  .marctable thead th .cell-width {
    width: 100px;
  }
  .marctable table {
    font-size: .813em;
    margin: 0 0 .875em;
  }
  .marctable table tbody {
    max-height: 550px;
  }
  .marctable {
	  max-height: 550px;
  }
}

@media all and (min-width: 992px) {
  .marctable table tbody {
    max-height: 400px;
  }
  .marctable {
    max-height: 450px;
  }
  .map-wrapper {
	  display: inline-block;
  }
}

@media all and (min-width: 1200px) {
  .marctable table {
    font-size: .875em;
  }
}

@media all and (min-width: 1440px) {
  .marctable table tbody {
    max-height: 550px;
  }
  .marctable {
    max-height: 600px;
  }
}