/**
 * 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.
 */
 
/* Insert agency-specific branding overrides here */

#legend {
	background-color: white;
	border-radius: 6px 6px 6px 6px;
	padding: 4px 4px 4px 6px;
	margin: 20px;
	border: 2px solid #004784;

}

#contentbox {
	padding:0;
	height: 100%;   /* For IE */
}

#map {
	height: 100%;  /* For IE */
}

#bustime {
	margin: 0 0 0 20px;
	height: 100%;   /* For IE */
	position: relative;
}

#bustime a:visited,
#bustime a:active,
#bustime a {
	color: #0189c7;
}

#bustime a:hover {
	color: #33CCFF;
}

/* header on wiki pages */
#bustime #header {
	padding-top: 10px;
	padding-bottom: 15px;
	position: relative;
	height: 58px;
}

#bustime #header .title {
	margin: 0px;
	padding: 0px;
}

#bustime #header .title h1 a {
	width: 350px;
    height: 42px;
	display: block;
	background-image: url('img/onebusaway-dash.png');
	background-repeat: no-repeat;
	background-size: contain;
	text-indent: -9999px;
}

#bustime #header ul {
	/* position: absolute;
	left: 330px;
	bottom: 25px; */
	display: block;
}

#bustime #header ul li {
	list-style: none;
	float: left;
	font-size: 125%;
	margin-right: 20px;
	display: inline;
	margin: 0;
	margin-right: 1px;
	height: 14px;
}

#bustime #header ul li a {
	text-decoration: none;
   	background-color: #3399C9;
    color: #FFFFFF;
    display: block;
    font-weight: bold;
    font-size: 12px;
    padding: 4px 6px;
    text-align: center;
}
#bustime #header ul #link_mobile {
	width: 84px;
}
#bustime #header ul #link_about {
	width: 46px;
	display: none;
}
#bustime #header ul #link_contact {
	width: 55px;
	display: none;
}
#bustime #header ul #link_developers {
	width: 75px;
}
#bustime #header ul #link_help {
	width: 37px;
}
#bustime #header ul li a:hover {
    background-color: #94CB45;
}


/* header on map page */
#bustime #map_header {
	width: 302px;
	height: 120px;
	padding-top: 30px;
	display: block;
}

#bustime #map_header .title h1 a {
	width: 334px;
	height: 57px;
	display: block;
	background-image: url('img/onebusaway-dash.png');
	background-repeat: no-repeat;
	background-size: contain;
	text-indent: -9999px;
}

#bustime #map_header ul {
	position: relative;
	margin-top: 10px;
	width: 350px;
}

#bustime #map_header ul li {
	list-style: none;
	float: left;
    display: inline;
    height: 14px;
    margin: 0;
    z-index: 100;
    margin-right: 1px;
}

#bustime #map_header ul li a {
	text-decoration: none;
   	background-color: #0054a4;
   	background-color: #0054a4;
    color: #FFFFFF;
    display: block;
    font-weight: bold;
    font-size: 12px;
    padding: 0px;
	padding-top: 4px;
    padding-bottom: 4px;
    text-align: center;
}
#bustime #map_header ul #link_mobile {
	width: 104px;
}
#bustime #map_header ul #link_about {
	width: 46px;
	display: none;
}
#bustime #map_header ul #link_contact {
	width: 75px;
}
#bustime #map_header ul #link_contact a {
	content: "Features";
}
#bustime #map_header ul #link_developers {
	width: 95px;
}
#bustime #map_header ul #link_features {
	width: 75px;
}
#bustime #map_header ul #link_help {
	width: 57px;
}
#bustime #map_header ul li a:hover {
    background-color: #94CB45;
}
#bustime #content {
	padding-top: 0;
}

/* For Help wiki markup */

#bustime #footer {
	padding-bottom: 20px;
}

#google_translate_element {
	text-decoration: none;
	font-weight: bold;
	color: #0189c7;
	cursor: pointer;
	height: 25px;
}

#google_translate_element #icon {
	vertical-align: baseline;
}

.wiki_content .meta span#timestamp {
	color: #FFFFFF;
}

.wiki_content {
	font-size: 14px; 
	line-height: 1.2em;
	border: 0;
}

.wiki_content a {
	text-decoration: none;
}

.wiki_content a img {
	border: 0;
}


/* Adapted from WMATA CSS: */

html, body {
    background-image: url("img/grey_bg.jpg");
    background-repeat: repeat-x;
    color: #333333;
    font: 13px/1.231 helvetica,arial,clean,sans-serif;
}
#mainbox {
    background-color: #FFFFFF;
    margin: 0 auto;
    position: relative;
    width: 960px;
}

#topbar {
	height: 88px;
	width: 100vw;
	margin-left: -75px;
}

div.logo {
	max-width: 80px;
	top: 10px;
	left: 0px;
	padding-right: 10px;
	/* background: #0054a4; */
	margin-top: 5px;
}
div.right-logo {
	max-width: 80px;
	display: inline-block;
	margin-top: 5px;
	float: right;
	padding-right: 95px;
}


#topbar img {
	vertical-align: text-bottom;
	display: inline-block;
	max-width: 100%;
	height: auto;
	/*margin-top: 10px;*/
	/*margin-left: 10px;*/
}

.home-icon {
	width: 40px;
}

.wmata-name {
	position: absolute;
	top: 12px;
	width: auto;
	margin-left: 100px;
}

.wmata-menu {
	/*float: right;*/
	/*height: 100px;*/
	line-height: 88px;
	margin-left: 75px;
	padding-right: 75px;
}

.wmata-menu nav li {
	display: inline-block;
	float: left;
	height: 88px;
	/*max-height: 88px;*/
}

.wmata-menu nav li:hover {
	background-color: #4f4f4f;
}

.wmata-menu nav a {
	font-size: 1.5em;
	padding: 0px 23px;
	vertical-align: middle;
	text-decoration: none;
	font-weight: bold;
	color: #FFF;
}

#topbar-top {
	height: 5px;
	min-width: 1080px;
	position: absolute;
	top: 0;
	width: 100vw;
	background: linear-gradient(to right, #4ab9cf 0%,#4ab9cf 50%,#4ab9cf 50%,#fbe275 50%,#fbe275 100%);
	z-index: 1;
}

#topbar-bottom {
	height: 88px;
	position: absolute;
	top: 5px;
	width: 100vw;
	background: #0054a4 none repeat scroll 0% 0%;
	min-width: 1080px;
}

.wmata-font {
	font-size: 16px;
	font-family: "Lato",sans-serif,Helvetica,Arial;
	color: #FFF;
	font-weight: 300;
}

#map {
	margin: 10px;
}

/*
include routes.css as route is on left nav by default
 */

ul.routeList li {
	width: 90%;
	display: inline-block;
	vertical-align: bottom;
	margin: 5px 10px 10px 10px;
	color: #000;
}
#routes {
	font-size: 16px;
}
#routes .routeList .description {
	margin-bottom: 5px;
	font-size: 14px;
	font-weight: normal;
}
#routes .routeList .name {
	margin-bottom: 5px;
	font-weight: bold;
	cursor: pointer;
	border-bottom-width: 5px;
	border-bottom-style: solid;
}
#routes .routeList .name a {
	text-decoration: none;
	font-weight: bold;
	color: #000;
}