/* START MAIN */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 18px;
}

strong {
    font-weight: bold;
}

#map_canvas {
    height: 100%;
}

.hidden {
    display: none;
}

#github_badge {
    z-index: 1;
    position: absolute;
    top: 0px;
    right: 0px;
}

#github_badge img {
    width: 120px;
    height: 120px;
}
/* END */

/* START SIMULATION PANEL */
#panel {
    position: absolute;
    width: 310px;
    right: 50px;
    top: 50px;
    padding: 0px;
    margin: 0px;
}

.panel > div {
    background-color: #FAFAFA;
    border: 1px solid #717D7D;
    margin-bottom: 5px;
    padding: 10px 15px;
}

#panel .row {
    margin: 5px 0px;
}

#panel h1 {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

#panel p {
    margin-bottom: 8px;
}

#panel .row-info {
    text-align: center;
    margin: 10px 0px;
    line-height: 25px;
}

#panel .row-info > div {
    float: left;
}

#panel .info-time {
    width: 170px;
}

#panel #time-of-day {
    font-size: 40px;
    font-weight: bold;
}

#panel #time-day {
    font-weight: bold;
    color: #A00000;
}

#panel .info-vehicles {
    color: #A00000;
    margin-top: 2px;
    max-width: 100px;
    overflow: hidden;
}

#panel .vehicles_no {
    font-size: 35px;
    font-weight: bold;
}

#panel .hide-agency #agency_id {
    display: none;
}

#panel .hide-agency {
    margin-top: 15px;
    margin-left: 30px;
}
/* END SIMULATION PANEL */


/* START Social media bar */
.social-wrapper {
    height: 30px;
    margin: auto;
    overflow: hidden;
}

.social {
    width: 90px;
    overflow: hidden;
    float: left;
    margin: 2px 0px 5px 0px;
}

.social-twitter {
    width: 68px;
    margin-left: 70px;
}

#panel.maps_embed {
    right: 20px;
    top: 20px;
}

/* Source of collapsible icons: http://www.shapes4free.com/vector-icons/expand-collapse-icons/ */
input.panel_collapsible {
    background: transparent url(../images/panel_expand.png) no-repeat top;
    
    width: 12px;
    height: 12px;
    border: none;
    
    display: block;
    float: right;
    right: 0px;
    top: 0px;    
}

input.expanded {
    background: transparent url(../images/panel_collapse.png) no-repeat top;
}

input.toggled {
    background-color: #FF0000;
    color: #FFFFFF;
}

.news {
    display: inline-block;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 5px;
    background-color: red;
    color: white;
}

/* END */

/* PANEL TABLES */
#vehicle_timetable_container {
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 500px;
}

table.panel_table {
    width: 280px;
    font-size: 11px;
}

table.panel_table thead td {
    background-color: #DDD;
}

table.panel_table tbody td {
    border-top: 1px solid #DDD;
    background-color: #FFFFFF;
}

table.panel_table tbody tr.passed td, 
table.panel_table tbody tr.passed td a {
    color: #CACACA;
}

td.station {
    /*width: 150px;*/
}

.panel_table .stop_id {
    width: 20px;
}

.panel_table .stop_time {
    width: 45px;
}

.delayed {
    color: orange;
}
/* END */

/* START vehicle popup */
#vehicle_popup {
    width: 180px;
    padding: 5px 0px 5px 10px;
    
    background-color: #F2F2F2;
    border: 1px solid #111111;
}

#vehicle_popup p {
    font-size: 12px;
    line-height: 15px;
}

.liveFeedStatus {
    vertical-align: middle;
}

.vehicle_name {
    display: inline-block;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 5px;
}
/* END */


/* START geolocation_panel */
#user_location {
    display: block; 
    width: 100%;
    padding: 0;
    border-width: 1;
}

#geolocation-button {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 10px;
    bottom: 125px;
    padding: 0px;
    margin: 0px;
    background-color: #FFF;
}

#geolocation-button .icon {
    /* Source: http://www.fontsaddict.com/icon/geolocation-symbol.html; */
    background: transparent url(../images/geolocation_crosshair.png) no-repeat top;
    width: 30px;
    height: 30px;
    border: none;
    background-size: 30px auto;
}
/* END geolocation_panel */

/* START handle small screens */
.mobile .mobile-hidden {
    display: none;
}
/* END handle small screens */

.center {
    text-align: center;
}

#panel_leman_express {
    position: absolute;
    width: 500px;
    right: 370px;
    bottom: 50px;
    padding: 0px;
    margin: 0px;   
}