/**
 * 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: 302px;
	height: 58px;
	display: block;
	background-image: url('img/onebusaway-wmata.png');
	background-repeat: no-repeat;
	text-indent: -9999px;
}

#bustime #header ul {
	position: absolute;
	left: 330px;
	bottom: 25px;
}

#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;
}
#bustime #header ul #link_contact {
	width: 55px;
}
#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: 105px;
	padding-top: 10px;
	display: block;
}

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

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

#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: #3399C9;
    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: 84px;
}
#bustime #map_header ul #link_about {
	width: 46px;
}
#bustime #map_header ul #link_contact {
	width: 55px;
}
#bustime #map_header ul #link_developers {
	width: 75px;
}
#bustime #map_header ul #link_help {
	width: 37px;
}
#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_side {
	text-decoration: none;
	font-weight: bold;
	color: #0189c7;
	cursor: pointer;
	height: 25px;
}

#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: 133px;
}

div.logo {
	max-width: 80px;
	top: 10px;
	left: 0px;
}

#topbar img {
	vertical-align: middle;
	display: block;
	max-width: 100%;
	height: auto;
	margin-top: 10px;
	margin-left: 10px;
}

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

.wmata-menu {
	float: right;
	height: 100px;
	line-height: 88px;
}

.wmata-menu nav li {
	display: block;
	float: left;
	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: 300;
	color: #FFF;
}

#topbar-top {
	height: 45px;
	position: absolute;
	top: 0;
	width: 100%;
	background: #3E3E3E none repeat scroll 0% 0%;
	z-index: 1;
}

#topbar-bottom {
	height: 88px;
	position: absolute;
	top: 45px;
	width: 100%;
	background: #4679B0 none repeat scroll 0% 0%;
}

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

#map {
	margin: 10px;
}