html {
    height: 100%
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: arial, sans-serif;
    font-size: 13px;
    overflow: hidden;
}

#control-panel {
    height: auto;
    width: 370px;
    position: absolute;
    top: 10px;
    left: -400px;
}

#mapControls {
    height: auto;
    width: auto;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px;
}

#mapControlsType {
    height: auto;
    width: auto;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 10px;
}

.mapControl {
    /*height: 15px;*/
    /*width: 15px;*/
    padding: 10px;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}

.mapControl:hover {
    color: #373737;
}

.controls-panel {
    z-index: 98;
    background: white;
    border-radius: 3px;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);

    -moz-transition: opacity 0.5s, box-shadow 0.5s;
    -webkit-transition: opacity 0.5s, box-shadow 0.5s;
    -o-transition: opacity 0.5s, box-shadow 0.5s;
    transition: opacity 0.5s, box-shadow 0.5s;
}

img {
    border: none;
}

a {
    color: blue;
    text-decoration: none;
}

#tabs_title_row {
    padding-top: 15px;
    padding-left: 15px;
    height: 23px;
}

div.tab_title_div {
    padding-left: 26px;
    padding-right: 26px;
    cursor: pointer;
    float: left;
    padding-bottom: 3px;
    border-bottom: 4px solid #ffffff;
}

div.tab_title_div_selected {
    padding-left: 26px;
    padding-right: 26px;
    cursor: pointer;
    float: left;
    padding-bottom: 3px;
    border-bottom: 4px solid #e70000;
}

#tab_search_title.tab_title_div_selected{
    border-bottom: 4px solid #4b8df8;
}

h1.tab_title_h1 {
    font-size: 13px;
    font-weight: bold;
    display: inline;
}

#control-panel-top {
    padding-left: 15px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    height: 75px
}

#route_wrapper {
    clear: left;
    margin-top: 10px;
    margin-bottom: 10px;
    max-height: 780px;
    overflow:hidden;
    overflow-y:auto;
}

#map-canvas {
    height: 100%;
    width: 100%;
    position:absolute;
    top: 0;
    bottom: 0;
}

#mapbox-canvas {
    height: 100%;
    width: 100%;
    position:absolute;
    top: 0;
    bottom: 0;
}

#fromToDiv {
    width: 310px;
    float: left;
}

#buttonsDiv {
    float: right;
    clear: right;
 }

div.imageBtnDiv {
    cursor: pointer;
    float: top;
    height: 26px;
    width: 26px;
}

#settingsBtn {
    background:url(https://www.rozkladzik.pl/img/settings.png) no-repeat center;
}

#settingsBtn:hover {
    background:url(https://www.rozkladzik.pl/img/settings_on.png) no-repeat center;
}

#replaceBtn {
    background:url(https://www.rozkladzik.pl/img/switch_2.png) no-repeat center;
}

#replaceBtn:hover {
    background:url(https://www.rozkladzik.pl/img/switch_2_on.png) no-repeat center;
}

#addToFavBtn {
    background:url(https://www.rozkladzik.pl/img/fav_conns_2.png) no-repeat center;
}

#addToFavBtn:hover {
    background:url(https://www.rozkladzik.pl/img/fav_conns_2_on.png) no-repeat center;
}

#settingsDiv {
    position: absolute;
    top: 40px;
    left: 378px;
    width: 300px;
    display: none;
    background: #ffffff;
    padding-top: 20px;
    padding-bottom: 0px;
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 99;
    border-radius: 3px;
    border: #4B8DF8 solid 4px;
}

div.settingsRow {
    vertical-align: bottom;
    padding-bottom: 2px;
    padding-top: 1px;
}

div.settingsRadioTitle {
    float: left;
    height: 20px;
    padding-top: 7px;
    padding-right: 5px;
}

div.settingsRadioImg {
    float: left;
    cursor: pointer;
    border-radius: 3px;
    border: 1px solid #ffffff;
    text-align: center;
    width: 30px;
    height: 20px;
    padding-top: 5px;
    margin-right: 3px;
}

div.settingsRadioImg:hover {
    background-color: #f5f7fc;
    border: 1px solid #e6e6e6;
}

div.settingsRadioImgSelected {
    float: left;
    cursor: pointer;
    border-radius: 3px;
    text-align: center;
    width: 30px;
    height: 20px;
    padding-top: 5px;
    background-color: #f5f7fc;
    border: 1px solid #e6e6e6;
    margin-right: 3px;
}

.settingsInput {
    border-color: #cccccc;
    border-style: solid;
    border-width: 1px;
}

select.settingsInput {
    width: 70px;
    border-color: #cccccc;
    border-style: solid;
    border-width: 1px;
}

#showShareLink {
}

#showMeasure {
}

img.settingsButton {
    cursor: pointer;
    padding: 5px;
}

.pseudoLink {
    cursor: pointer;
    color: blue;
}

div.centerInfoWindow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    margin-top: -150px;
    margin-left: -150px;
    display: none;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 99;
    border-radius: 3px;
    border: #4B8DF8 solid 4px;
}

#distanceDiv {
    position: absolute;
    top: 10px;
    left: 378px;
    display: none;
    background: #ffffff;
    padding-left: 20px;
    padding-right: 40px;
    padding-top: 20px;
    padding-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 99;
    border-radius: 3px;
    border: #4B8DF8 solid 4px;
}

#distanceSpan {
    font-weight: bold;
}

input.bsName {
    color: #BBBBBC;
    font-size: 14px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 8px;
    width: 300px;
    border: none;
    background-color: #FFFFFF;
    background:url(https://www.rozkladzik.pl/img/input_bgr.png) no-repeat left bottom;
}

input.bsName:focus {
    background:url(https://www.rozkladzik.pl/img/input_bgr_focus.png) no-repeat left bottom;
    outline: 0 none;
}

#searchFrom {
    margin-top: 12px;
}

#searchTo {
    margin-top: 12px;
}

a.autocomplite_row {
    margin-left: 0px; 
    border-radius: 0px; 
    padding-left: 10px;
}

img.imageBtn {
    cursor: pointer;
    padding: 0px;
    margin: 0px;
    border: none;
}

span.autocompliteBold {
    background: #ebeff9;
    font-weight: bold;
    /*color: #151fbb;*/
}

a.closeButton {
    background-image: url("/img/close.png");
    cursor: pointer;
    position: absolute;
    right: -16px;
    top: -16px;
    height: 35px;
    width: 35px;
    text-decoration: none;
}

img.addToFavButton {
    cursor: pointer;
    position: absolute;
    right: 13px;
    top: 13px;
}

img.imgButton {
    cursor: pointer;
}

/* =============================================================================
 context mapbox
 ========================================================================== */

.marker {
    display: block;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* =============================================================================
 context menu
 ========================================================================== */
.context_menu {
    z-index: 98;
    background: white;
    border-radius: 3px;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);

    -moz-transition: opacity 0.5s, box-shadow 0.5s;
    -webkit-transition: opacity 0.5s, box-shadow 0.5s;
    -o-transition: opacity 0.5s, box-shadow 0.5s;
    transition: opacity 0.5s, box-shadow 0.5s;
}

.context_menu_item {
    padding: 6px 18px;
}

.context_menu_item:hover {
    background-color: #ebeff9;
}

.context_menu_separator {
    background-color: gray;
    height: 1px;
    margin: 0;
    padding: 0;
}

/* =============================================================================
 favorite connections
 ========================================================================== */

#favConnDiv {
    position: absolute;
    top: 100px;
    left: 378px;
    width: 332px;
    display: none;
    background: #ffffff;
    padding: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 99;
    border-radius: 3px;
    border: #4B8DF8 solid 4px;
}

#favConnDiv div.info {
    padding: 15px;
}

div.fav_conn_row {
    background-color: #ffffff;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 8px;
    height: 18px;
    border-radius: 3px;
    border: 1px solid #ffffff;
}

div.fav_conn_row:hover {
    background-color: #f5f7fc;
    border: 1px solid #e6e6e6;
}

div.fav_conn_row div.fav_conn_name {
    cursor: pointer;
    clear: left;
    float: left;
    width: 295px;
    white-space: nowrap;
    overflow:hidden;
}

div.fav_conn_row div.fav_conn_name img {
    margin-right: 10px;
}

div.fav_conn_row div.fav_conn_buttons {
    cursor: pointer;
    display: none;
    float: left;
}

/* =============================================================================
 route summary
 ========================================================================== */

#search_results_wrapper {
    padding-left: 15px;
    width: 340px;
}

div.next_prev_conn {
    padding: 8px;
    text-align: center;
    cursor: pointer;
    border-top: 1px solid #e6e6e6;
}

div.next_prev_conn:hover {
    background-color: #f5f7fc;
}

div.route_row {
    border-top: 1px solid #e6e6e6;
}

div.route_sum_row {
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    cursor: pointer;
    height: 35px;
}

div.route_sum_row img {
    opacity:0.7;
    filter:alpha(opacity=70);
}    

div.route_sum_row:hover img {
    opacity:1;
    filter:alpha(opacity=100);
}    

/*div.route_sum_row:hover {*/
/*background-color: #ebeff9;*/
/*}*/

div.route_sum_row .ride_time {
    margin-left: 7px;
    clear: right;
    float: right;
}

div.route_sum_row .conn_cmd_icons {
    margin-left: 7px;
    clear: right;
    float: right;
    display: none;
}

div.route_sum_row .conn_cmd_icons img {
    cursor: pointer;
    padding-left: 5px;
}

span.line_name {
    font-weight: bold;
}

div.route_sum_row .ride_time_se {
    float: left;
}

img.veh_icon {
    width: 15px;
    height: 15px;
}

.no-wrap {
    white-space: normal;
}

.icons_div img {
    padding-right: 3px;
}

.icons_div span.line_name {
    padding-right: 5px;
}

/* =============================================================================
 route description
 ========================================================================== */

div.route_desc {
    border-left: 5px solid #ebeff9;
    border-right: 5px solid #ebeff9;
    border-bottom: 10px solid #ebeff9;
    background: #fff;
    display: none;
}

div.route_desc_ride {
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #e6e6e6;
}

div.route_desc_ride:hover {
    background-color: #ebeff9;
}

div.route_desc_ride div.title {
    padding-right: 5px;
    padding-left: 5px;
    cursor: pointer;
    height: 20px;
}

div.route_desc_ride div.title img {
    width: 15px;
    height: 15px;
    padding-top: 2px;
    padding-left: 3px;
    padding-right: 2px;
    float: left;
    clear: left;
}

div.route_desc_ride div.row {
    padding-right: 5px;
    padding-left: 5px;
    cursor: pointer;
    height: 20px;
}

div.route_desc_ride div.row:hover {
    background: #ffffff;
}

div.route_desc_ride div.row_selected {
    background: #ebeff9;
}

div.route_desc_ride div.row img.clock {
    width: 16px;
    height: 16px;
    border: none;
    display: none;
    margin-right: 3px;
}

div.route_desc_ride div.row:hover img.clock {
    display: inline;
}

div.route_desc_ride div.row img {
    width: 20px;
    height: 20px;
    float: left;
    clear: left;
}

div.route_desc_ride div.bold {
    float: left;
    padding-top: 2px;
    padding-left: 5px;
    font-weight: bold;
}

div.route_desc_ride div.normal {
    float: left;
    padding-top: 2px;
    padding-left: 5px;
}

div.route_desc_ride div.right {
    padding-top: 2px;
    float: right;
}

div.route_desc_ride div.right_light {
    padding-top: 2px;
    float: right;
    color: #797979;
}

/* =============================================================================
 rozklad jazdy
 ========================================================================== */

#tab_time_table {
    padding-left: 15px;
    padding-right: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
    overflow:hidden;
    overflow-y:auto;    
}

#tab_time_table table {
    width: 340px;
}

#tab_time_table td.lineName {
    width: 55px;
    text-align: center;
    padding-bottom: 3px;
    border-bottom: 4px solid #ffffff;
    cursor: pointer;
}

#tab_time_table td.lineName:hover {
    border-bottom: 4px solid #e70000;
}

#tab_time_table td.selected {
    text-align: center;
    padding-bottom: 3px;
    border-bottom: 4px solid #e70000;
    cursor: pointer;
}

#tab_time_table td.timeTable {
    text-align: left;
    border: none;
    padding-top: 15px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 20px;
    cursor: auto;
}

#tab_time_table td.timeTable div.dirName {
    padding-left: 8px;
    padding-bottom: 5px;
    padding-top: 5px;
    cursor: pointer;
    overflow-x: hidden;
    max-width: 300px;
}

#tab_time_table td.timeTable div.busStopRow {
    padding-right: 5px;
    padding-left: 5px;
    cursor: pointer;
    height: 20px;
}

#tab_time_table td.timeTable div.busStopRow:hover {
    background: #ebeff9;
}

#tab_time_table td.timeTable div.row_selected {
    background: #ebeff9;
}

#tab_time_table td.timeTable div.busStopRow img {
    width: 20px;
    height: 20px;
    float: left;
    clear: left;
}

#tab_time_table td.timeTable div.busStopRow div.bsName {
    float: left;
    padding-top: 2px;
    padding-left: 5px;
    width: 230px;
    overflow-x: hidden;
    white-space: nowrap;
}

#tab_time_table td.timeTable div.busStopRow div.right {
    padding-top: 2px;
    float: right;
}

#tab_time_table td.timeTable div.bsName:hover {
    background-color: #ebeff9;
}

#tab_time_table td.timeTable div.bsName img {
    margin: 0px;
    padding-right: 10px;
    height: 20px;
    border: none;
}

#bus_stop_time_table {
    position: absolute;
    left: 390px;
    top: 100px;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 99;
    border-radius: 3px;
}

#bus_stop_time_table table {
    width: auto;
    border-collapse: collapse;
}

#bus_stop_time_table tr:hover{
    background-color: #ebeff9;
}

#bus_stop_time_table td.hour{
    text-align: right;
    font-weight: bold;
    font-size: 14px;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 3px;
    padding-right: 5px;
    /*border-bottom: 4px solid #ffffff;*/
    background-color: #ebeff9;
}   

#bus_stop_time_table td.minute{
    padding-top: 1px;
    padding-bottom: 1px;
    padding-left: 10px;
    padding-right: 10px;
    border-bottom: 4px solid #ffffff;
    cursor: pointer;
}   

#bus_stop_time_table td.minute:hover{
    border-bottom: 4px solid #e70000;
}

#bus_stop_time_table table.timeTableTitle{
    width: 100%;
    background: #ebeff9;
}

#bus_stop_time_table td{
    padding: 10px;
    white-space: nowrap;
}

#bus_stop_time_table td.lineNameTt{
    font-weight: bold;
    font-size: 40px;
    vertical-align: bottom;
}

#bus_stop_time_table td.dirNameTt {
    padding-right: 20px;
    padding-left: 20px;
}

#bus_stop_time_table span.symbol {
    font-size: 11px;
    color: #6b6b6b;
}

#bus_stop_time_table div.legend {
    border-top: 1px solid #ccc;
    margin-top: 5px;
    padding-top: 5px;
    max-width: 500px;
}

#busStopAllLinesTimeTable {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -250px;
    margin-left: -150px;
    background: #ffffff;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 99;
    border-radius: 3px;
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}

#busStopAllLinesTimeTable div.busStopName {
    padding: 5px 10px;
    font-weight: bold;
    text-align: center;
}

#busStopAllLinesTimeTable div.lineRowDiv {
    padding: 5px 10px;
    cursor: pointer;
    width: 250px;
    overflow-x: hidden;
    overflow-y: hidden;
    border-bottom: 1px solid #e6e6e6;
}

#busStopAllLinesTimeTable div.lineRowDiv:hover {
    background-color: #ebeff9;
}

#busStopAllLinesTimeTable .lineName {
    padding-left: 7px;
    font-weight: bold;
}

#busStopAllLinesTimeTable .dirName {
    padding-left: 7px;
}

#busStopAllLinesTimeTable .time {
    padding-right: 15px;
    padding-top: 3px;
}

#busStopAllLinesTimeTable span.symbol {
    font-size: 11px;
    color: #6b6b6b;
}

#busStopAllLinesTimeTable div.legend {
    font-size: 11px;
    color: #6b6b6b;
}

#busStopTooltipDiv {
    position: absolute;
    background: #ffffff;
    padding: 5px 15px;
    z-index: 2;
    border-radius: 3px;
    border: 1px solid gray;
    white-space: nowrap;
}

#busStopTooltipTextDiv {
    font-family: arial, sans-serif;
    font-size: 12px;
}

/* =============================================================================
 index glowny
 ========================================================================== */

div.white_panel {
    background: none repeat scroll 0 0 #FFFFFF;
    border-color: #E9E9E9 #E9E9E9 #D9D9D9;
    border-radius: 5px;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    float: none !important;
    min-height: 0;
    padding: 30px 10px;
}

div.center_panel h1 {
    margin-top: 0px;
    margin-bottom: 20px;
    margin-left: 10px;
    font-size: 14px;
    font-family: "open sans",arial,sans-serif;
    font-weight: normal;
    color: #777;
}

div.colPan {
    display: inline;
    float: left;
}

div.colPan_3 {
    display: inline;
    float: left;
    margin: 0 15px 0px;
    width: 290px;
}

div.colPan_3 img {
    border: 1px solid #EBEBEB;
}

div.white_panel div.city_name {
    clear: right;
    height: 20px;
}

div.white_panel div.city_name a {
    color: #1068B8;
    font-weight: bold;
    text-decoration: none;
    /*text-transform: uppercase;*/
}

div.white_panel div.city_name div.cityNameIconDiv {
    /*display: none;*/
    width: 50px;
}

div.white_panel div.city_name div.cityNameIconDiv a {
    padding-left: 5px;
}

div.white_panel div.city_name div.cityNameIconDiv a img {
    width: 16px;
    height: 16px;
}

div.center_panel {
    margin: auto;
    width: 978px;
}

div.city_map {
    overflow-x: hidden;
}

div.city_map img {
    margin-left: 100px;
    float: right;
}

a.cityMapPoint {
    position: relative;
    display: none;
}

#footer_index {
    color: #555;
}

#footer_index a {
    text-decoration: none;
    color: #555;
}

#footer_index a:hover {
    text-decoration: underline;
}

/* =============================================================================
 ikony https://www.s-ings.com/typicons/
 ========================================================================== */

.fa-lg {
    font-size: 1.33333em;
    line-height: 0.75em;
    vertical-align: -.0667em; }

.fa-xs {
    font-size: .75em; }

.fa-sm {
    font-size: .875em; }

.fa-1x {
    font-size: 1em; }

.fa-2x {
    font-size: 2em; }

.fa-3x {
    font-size: 3em; }

.fa-4x {
    font-size: 4em; }

.fa-5x {
    font-size: 5em; }

.fa-6x {
    font-size: 6em; }

.fa-7x {
    font-size: 7em; }

.fa-8x {
    font-size: 8em; }

.fa-9x {
    font-size: 9em; }

.fa-10x {
    font-size: 10em; }
