/**
 * Copyright (C) 2011 Metropolitan Transportation Authority
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
 
.popup {
    font-size: 12px;
	color: #333333;
	display: block;
}

.popup.loading {
	background-image: url('img/ajax-loader.gif');
	background-repeat: no-repeat;
	background-position: 35% 48%;
}

.popup.loading p {
	padding: 0px;
	padding-left: 45%;
	padding-top: 50px;
	padding-bottom: 50px;
	font-size: 120%;
	font-weight: normal;
	color: #999;
}

.popup .header {
	white-space: nowrap;
	padding-left: 35px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.popup .header.stop {
	background-image: url("img/header_stop.png");
	background-repeat: no-repeat;
	background-position: left center;
}

.popup .header.vehicle {
	background-image: url("img/header_bus.png");
	background-repeat: no-repeat;
	background-position: left center;
}

.popup .header .title {
	white-space: nowrap;
    font-size: 16px;
    font-weight: bold;
}

.popup .header .type {
	height: 16px;
	font-weight: bold;	
	margin-top: 3px;
}

.popup .header .updated {
	white-space: nowrap;
	height: 16px;
	color: #666666;
	padding-left: 4px;
	margin-left: 4px;
	border-left: 1px solid #bebebe;
}

.popup .occupancy {
	height: 16px;
	font-weight: bold;
	margin-top: 3px;
}

.popup .apcDotG {
	height: 12px;
	width: 12px;
	background-color: #268C0B;
	border-radius: 50%;
	display: inline-block;
}
#apcTextG {
	color: #268C0B;
	display: inline-block;
	white-space: nowrap;
	font-size: 12px;
	font-weight: bold;
}

.popup .apcDotY {
	height: 12px;
	width: 12px;
	background-color: #EF8424;
	border-radius: 50%;
	display: inline-block;
}
#apcTextY {
	color: #EF8424;
	display: inline-block;
	white-space: nowrap;
	font-size: 12px;
	font-weight: bold;
}
.popup .apcDotR {
	height: 12px;
	width: 12px;
	background-color: #CA001F;
	border-radius: 50%;
	display: inline-block;
}
#apcTextR {
	color: #CA001F;
	display: inline-block;
	white-space: nowrap;
	font-size: 12px;
	font-weight: bold;
}

.popup .apcDashedLine {
	margin-top: -1px;
	height: 10px;
}

.popup .apcicong {
	background-image: url("img/apcicong.png");
	background-repeat: no-repeat;
	height: 12px;
	width: 10px;
	display: inline-block;
}

.popup .apcicony {
	background-image: url("img/apcicony.png");
	background-repeat: no-repeat;
	height: 12px;
	width: 10px;
	display: inline-block;
}

.popup .apciconr {
	background-image: url("img/apciconr.png");
	background-repeat: no-repeat;
	height: 12px;
	width: 10px;
	display: inline-block;
}
/* apc weebles */
.popup .apcLadderContainer {

}
/* 0 for no data */
.popup ul li.arrival .weeble0,
.popup ul li.nextStop .weeble0 {
	height: 12px;
	width: 20px;
	background-color: #FFFFFF;
	display: inline-block;
	background-image: url("img/icon-crowding-0.png");
	background-repeat: no-repeat;
	background-size: cover;
}

.weeble0 {
	height: 12px;
	width: 20px;
	background-color: #FFFFFF;
	display: inline-block;
	background-image: url("img/icon-crowding-0.png");
	background-repeat: no-repeat;
	background-size: cover;
}

/* G for green for seats available */
.popup ul li.arrival .weebleG,
.popup ul li.nextStop .weebleG {
	height: 12px;
	width: 20px;
	background-color: #FFFFFF;
	display: inline-block;
	background-image: url("img/icon-crowding-1.png");
	background-repeat: no-repeat;
	background-size: cover;
}

.weebleG {
	height: 12px;
	width: 20px;
	background-color: #FFFFFF;
	display: inline-block;
	background-image: url("img/icon-crowding-1.png");
	background-repeat: no-repeat;
	background-size: cover;
}

/* Y for yellow for standing available */
.popup ul li.arrival .weebleY,
.popup ul li.nextStop .weebleY {
	height: 12px;
	width: 20px;
	background-color: #FFFFFF;
	display: inline-block;
	background-image: url("img/icon-crowding-2.png");
	background-repeat: no-repeat;
	background-size: cover;
}

.weebleY {
	height: 12px;
	width: 20px;
	background-color: #FFFFFF;
	display: inline-block;
	background-image: url("img/icon-crowding-2.png");
	background-repeat: no-repeat;
	background-size: cover;
}

/* R for red for full */
.popup ul li.arrival .weebleR,
.popup ul li.nextStop .weebleR  {
	height: 12px;
	width: 20px;
	background-color: #FFFFFF;
	display: inline-block;
	background-image: url("img/icon-crowding-3.png");
	background-repeat: no-repeat;
	background-size: cover;
}

.weebleR  {
	height: 12px;
	width: 20px;
	background-color: #FFFFFF;
	display: inline-block;
	background-image: url("img/icon-crowding-3.png");
	background-repeat: no-repeat;
	background-size: cover;
}

/* end apc */

.popup .header .updated.stale {
    color: #d12020;
}

.popup .service {
	width: 325px;
	margin: 0;
	padding: 0;
	padding-top: 4px;
	color: #666666;
	font-weight: bold;
}

.popup .meta.stale {
  	color: #d12020;
}

.popup .popupServiceAlertContainer {
	color: #000099;
	background-color: #bdd5fd;
	font-size: 12px;
	width: 300px;
	padding-bottom: 5px;
}

.popup .ui-state-focus {
	outline: none;
}

.popup p.popupServiceAlert {
	color: #000099;
	font-weight: bold;
	font-size: 13px;
	padding: 5px 5px 5px 5px;
	position: relative;
	cursor: pointer;
}

.popup .popupAlerts li {
	padding: 5px 5px 5px 10px;
	color: #000099;
	font-size: 13px;
	line-height: 1.2em;
}

.popup .serviceAlertContainer .title {
	padding: 5px;
	font-weight:bold;
}

.popup ul li.route {
	white-space: no-wrap;
	color: #000099;
	font-weight: bold;
	padding: 2px 0 2px 0;
}

.popup ul li.last {
	padding-bottom: 4px;
}

.popup ul li.route.no-padding {
	margin-top: 0px;
}

.popup ul li.arrival {
	white-space: nowrap;
	height: 16px;
	font-weight: bold;
	padding-left: 19px;
	background: url("img/bullet_bus.png");
	background-position: left top;
	background-repeat: no-repeat;
}

.popup ul li.arrival_schedule {
	white-space: nowrap;
	height: 16px;
	font-weight: bold;
	padding-left: 19px;
	background: url("img/schedule_bullet_bus.png");
	background-position: left top;
	background-repeat: no-repeat;
}

.popup ul li.arrival .not_bold {
	font-weight: normal;
	white-space: nowrap;
	position: relative;
}

.popup ul li.nextStop {
	white-space: nowrap;
	color: #000099;
	height: 16px;
	font-weight: bold;
	padding-left: 19px;
	background: url("img/bullet_stop.png");
	background-position: left top;
	background-repeat: no-repeat;
}

#bustime .popup ul li.nextStop span.stopName {
	color: #000099;
	cursor: pointer;
}

#bustime .popup ul li.nextStop span.stopName:hover {
	color: #8FC743;
}

.popup ul.otherRoutes li {
	display: inline;
	margin-right: 10px;
}

.popup ul li.nextStop span,
.popup ul li.arrival span {
	white-space: nowrap;
	color: #333333;
	padding-left: 0px;
	margin-left: 4px;
}

.popup ul li.arrival span:first-child {
	margin-left: 0px;
}

.popup .no-service-routes {
	padding-bottom: 4px;
}

.popup .no-service-routes li.route {
	display: inline-block;
	padding: 0 1.0em 0 0;
	zoom: 1;
	*display:inline;
}

.popup li.route a {
	padding-right: 0.5em;
}

.popup .route-name {
	font-weight: bold;
}

.popup .footer {
	margin-top: 7px;
	padding-top: 7px;
	border-top: 1px solid #bebebe;
}

.popup .footer .header {
	padding: 0px;
	font-size: 12px;
	font-weight: bold;
	font-style: italic;	
}

.popup ul.links {
	margin-top: 10px;
}

.popup .popup-filtered-matches ul li {
	display: inline-block;
	padding: 0 1.0em 0 0;
	zoom: 1;
	*display:inline;
}

#bustime .popup .muted {
	color: rgb(100,100,100);
}

#bustime .popup a.muted {
	color: rgb(130,130,130);
}

#bustime .popup a:HOVER.muted {
	color: rgb(100,100,100);
}

#bustime .popup .scheduleAlert {
	color: rgb(0,0,225);
}

#bustime .popup .vehicleId {
	color: rgb(0,0,255);
}

#bustime .popup a.alert-link{
	color: rgb(0,0,225);
	background: url("img/alert_icon.png");
	background-position: 0 100%;
	background-repeat: no-repeat;
	padding-left: 21px;
}

#bustime .popup a:HOVER.alert-link {
	color: rgb(0,0,255);
}
