.jqmOverlay {
    background-color: #000;
    display: none
}

.jqmWindow {
    display: none;
    position: fixed;
    top: 17%;
    left: 50%;
    max-height: 67%;
    margin-left: -250px;
    width: 500px;
    color: #333;
    overflow: auto;
}

* html .jqmWindow {
    position: absolute
}

.jqmWindowPrint {
    height: 67%;
    margin-left: -109mm;
    width: 218mm
}

.jqmWindow .jqmInner {
    background-color: #FFF;
    border: 1px solid #CCC;
    padding: 10px 22px;
    margin: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;    
}

.jqmClose {
    float: right;
    cursor: pointer;
    font-size: 12px;
    color: #EE7E00;
    padding: 6px 25px 5px 0;
    background: url("../../img/icons.png") no-repeat right -1134px;

}

.modalHeader,.modalDescription {
    font-size: 12px
}

/* currently hidden due to invalid data */
.modalSubtext {
    font-size: 12px;
    display: none;
}

.modalHeader {
    font-weight: 700;
    clear: both;
}

.modalHeader,.modalDescription,.modalSubtext {
    margin: 12px 0
}

.modalDescription {
    white-space: pre-line
}

.modalSeparator {
    margin: 15px 0;
    background-color: #CCC;
    height: 1px
}

.ui-autocomplete {
    position: absolute;
    cursor: default;
}

* html .ui-autocomplete {
    width: 1px
}

ul .ui-autocomplete {
    z-index: 99999;
}

.ui-autocomplete a {
    font-family: Arial;
    font-size: 70%
}

.ui-autocomplete.ui-corner-all {
    border-radius: 0;
}

.ui-autocomplete a img {
    margin: 0 10px 3px 0;
}

.ui-autocomplete span {
    font-family: Arial;
    font-size: 70%;
    margin-left: 6px
}

.ui-autocomplete-input {
    width: 300px
}

.ui-autocomplete #legend {
    background-color: #e9e9e9;
    margin-top: 14px;
    float: left;
    width: 100%;
    padding: 4px 0;
}

    .ui-autocomplete #legend .legend-item {
        width: 31%;
        display: inline-block;

        font-size: 10px;
        font-family: Arial;
        font-weight: bold;
        text-transform: uppercase;
        color: #373737;
    }

.ui-autocomplete #legend img {
    margin-right: 10px;
    margin-bottom: 3px;
}

.ui-menu {
    list-style: none;
    padding: 0 10px 10px;
    margin: 0;
}

    .ui-menu li {
        display: block;
        clear: both;
    }

.ui-menu .ui-menu {
    margin-top: -3px
}

.ui-menu .ui-menu-item {
    margin: 0;
    padding: 0;
    zoom: 1;
    float: left;
    clear: left;
    width: 100%;
    border-bottom: 1px solid #e9e9e9;
}

.ui-menu .ui-menu-item a {
    text-decoration: none;
    display: block;
    padding: 8px 5px;
    line-height: 1.5;
    zoom: 1;
    font-size: 15px;
}

.ui-menu .ui-menu-item a.ui-state-hover,.ui-menu .ui-menu-item a.ui-state-active {
    font-weight: 400;
    border: none;
    border-radius: 0;
    background: #e9e9e9 !important;
}

    .ui-menu .title {
        font-size: 10px;
        font-family: Arial;
        font-weight: bold;
        text-transform: uppercase;
        padding: 12px 0 2px;
        color: #373737;
        border-bottom: 2px solid #e9e9e9;
    }

.ui-widget-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.ui-widget {
    font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;
    font-size: 1.1em
}

.ui-widget .ui-widget {
    font-size: 1em
}

.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button {
    font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;
    font-size: 1em
}

.ui-widget-content {
    border: 1px solid #ddd;
    background: #fff url(../images/ui-bg_highlight-soft_100_ffffff_1x100.png) 50% top repeat-x;
    color: #333
}

.ui-widget-content a {
    color: #333
}

.ui-widget-header {
    border: 1px solid #e78f08;
    background: #f6a828 url(../images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x;
    color: #fff;
    font-weight: 700
}

.ui-widget-header a {
    color: #fff
}


#sok_container,#sok_container_line {
    background: #D6EDF9;
}

#sok_container {
    border-top: 5px solid #f4753b;
}

#sok_container_line {
    padding-top: 12px;
    width: 100%
}

#errorcontainer {
    clear: both;
    display: none;
    width: 100%;
    overflow: hidden;
    text-align: center;
    padding-top: .6em
}

#searcherror {
    text-align: center
}

#errormessage {
    vertical-align: middle;
    font-weight: 700;
    font-size: 90%;
    color: #C97C0E
}

#searcherror_warning {
    vertical-align: middle
}

.infoPointOverlay {
    position: absolute;
    color: #000;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0 7px;
    width: 225px;
}

.infoPointOverlay .infoPointOverlayRow {
    margin: .6em 0;
    font-family: Arial;
    font-size: .8em;
    width: 100%
}

    .infoPointOverlay .infoPointOverlayRow.lines {
        clear: both;
        font-size: 1.1em;
        display: block;
        margin-top: 10px;
    }

.infoPointOverlay .type {
    font-size: 1em;
    margin-bottom: 0;
}

.infoPointOverlay .heading {
    clear: both;
    font-weight: 700;
    white-space: nowrap;
    font-size: 1.1em;
    margin: 0;
}

.infoPointOverlay .information {
    font-size: 70%
}

.infoPointOverlay .menuItem {
    cursor: hand;
    cursor: pointer;
    text-align: center;
    color: #fff;
    padding: 0;
    width: 48%;
    margin: 10px 1% 0 1%;
    display: inline-block;
}

.infoPointOverlay .menuItem .overlay-button {
    background-color: #818181;
    text-transform: uppercase;
    display: block;
    font-size: 1.2em;
    font-weight: normal;
    width: 100%;
    padding: 5px 0;
    margin: 0;
}


    .infoPointOverlay .menuItem .overlay-button:hover {
        background-color: #666;
    }

.infoPointOverlay .menuItem.zoomto {
    display: none;
}

.infoPointOverlay .infoPointOverlayClose {
    position: absolute;
    top: -9px;
    right: -8px;
    width: 22px;
    height: 22px;
    background-image: url('../../img/close-black.png');
    background-repeat: no-repeat;
    cursor: default
}

#reseplaneraren_no_js {
    background-image: url('../../img/buss/Reseplaneraren/noscript.png');
    background-repeat: no-repeat;
    width: 930px;
    height: 320px
}

#reseplaneraren_no_js_text {
    position: relative;
    width: 560px;
    left: 195px;
    top: -230px
}

.topBar,.bottomBar {
    width: 100%;
    color: #fff;
    position: relative;
    background-color: #3c3c3c;
    overflow: hidden;
    padding: 10px 0;
}

.topBar {
    cursor: pointer;
    margin-bottom: 15px;
}

.bottomBar {
    cursor: pointer;
    margin-top: 15px;
}

#showEarlier,
#showLater,
#printAll {
    font-size: 14px;
}

#showEarlier,
#showLater {
    padding-left: 30px;
    margin-left: 15px;
    background: url('../../img/buss/Reseplaneraren/arrow-up.png') no-repeat left center;
    float: left;
    cursor: pointer;
}

#showLater {
    background: url('../../img/buss/Reseplaneraren/arrow-down.png') no-repeat left center;
}

#printAll {
    display: inline-block;
    position: absolute;
    height: 18px;
    width: 20px;
    right: 15px;
    top: 11px;
    cursor: pointer;
    background: url('../../img/buss/Reseplaneraren/print.png') no-repeat right center;
}



#showEarlier:hover,
#showLater:hover,
#printAll:hover {
    text-decoration: underline;
}

/* Route */

div.route-header {
    background: #fff;
    border-top: 5px solid #3c3c3c;
    display: block;
    overflow: auto;
    position: relative;
}

div.route-header:hover,
.domJourney .journeyLeg:hover {
    background-color: #f7f7f7;
}

div.route-header:hover .item.time,
div.route-header:hover .item.travelTime,
div.route-header:hover .item.switches,
.domJourney .journeyLeg:hover .route-depart,
.domJourney .journeyLeg:hover .route-time {
    font-weight: bold;
}

div.domJourney .expanded {
    background: #fff;
}

.domJourney {
    margin: 10px;
}

.domSearchResultRow {
}

.domSearchResultRow {
    display: none;
}

.domSearchResultRow.domJourney {
    cursor: pointer;
}

.domJourney img {
    display: inline-block;
}

.domSeparator {
    font-weight: 700;
    padding: 5px 10px;
    margin: 10px;
    background-color: #fff;
}

.domNoJourneyOnSelectedDay {
    border: solid 1px #FF8A8A;
    background-color: #FFE5E5
}

.domNoJourneyOnSelectedDay .inner {
    padding: 10px
}

.domJourney .item {
    display: inline-block;
}

.domJourney .tofrom {
    display: none
}

.domJourney .time {
    padding: 0px 10px 0px 0px;
    margin-right: 10px;
    margin-left: 10px;
    border-right: 1px solid #ccc;
}

.domJourney .time div {
}

.domJourney .date {
    display: none
}

.domJourney .switches, 
.domJourney .travelTime {
}

.domJourney .switchAndTravelTime {
    margin: 10px 0;
}

.switchUnavailable {
    color: #a2a2a2;
}
.switchUnavailable div.route-header {
    background: #e9e9e9 !important;
}

div.domJourney + .switchUnavailable .expanded {
    background: #e9e9e9;
}

.item .switchUnavailable {
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid #ccc;
}
.item .switchUnavailable img {
    width: 16px;
    height: 16px;
    position: relative;
    bottom: 2px;
    margin-right: 5px;
}

.domJourney .travelPlan {
    margin-left: 10px;
}

.domJourney .travelPlan .travelPlanInner {
    width: auto;
}

.domJourney .travelPlan .domTravelPlanIcon,.domJourney .travelPlan .domTravelPlanLineName,.domJourney .travelPlan .domTravelPlanLineNumber,.domJourney .travelPlan .domTravelPlanLineNumberFade {
    
}

.domJourney .travelPlan .domTravelPlanIcon {
    display: inline-block;
    position: relative;
    bottom: 2px;
}

.domJourney .travelPlan .domTravelPlanIcon .travelPlanCalltrip {
    cursor: pointer
}

.domJourney .travelPlan .domTravelPlanIcon .travelPlanDeviation {
    margin-left: -5px;
    margin-top: 2px;
    cursor: pointer
}

.domJourney .travelPlan .domTravelPlanLineName {
    position: relative;
    display: inline-block;
    font-weight: bold;
}

/* Dont show? */
.domJourney .travelPlan .domTravelPlanLineNumber,.domJourney .travelPlan .domTravelPlanLineNumberFade {
    display: none; 
    top: 5px;
    left: -12px;
    height: 20px;
    padding-left: 7px;
    z-index: 1
}

.domJourney .travelPlan .domTravelPlanSwitch {
    margin: 5px 5px 8px 5px;
}

.domJourney .deviatedTime {
    position: relative;    
}

.domJourney .deviatedTimeNoLongerValid {
    text-decoration: line-through;
	display:none;
}
.domJourney .route-info {
    position: absolute;
    right: 10px;
    top: 10px;
}

.domJourney .route-info a {
    margin: 0;
    padding: 0 0 0 10px;
    color: #333;
    font-weight: bold;
    text-transform: lowercase;
    display: inline-block !important;
}

.domJourney .route-info a:hover {
    color: #E75114;
}

.domJourney .route-info .deviations {
    position: relative;
    bottom:2px;
}

.domJourney .route-info .map.highlighted {
    color: #E75114;
}

/* route-info mobile */

.route-info-mobile {
    display: none;
} 

.route-info-mobile ul {
    margin: 0;
    padding: 0;
    text-align: right;
}

.route-info-mobile ul li {
    display: inline-block;
    background-color: #fff;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.route-info-mobile ul li.warning {
    padding-bottom: 10px;
    padding-top: 7px;
}

.route-info-mobile ul li a {
    color: #444;
}

.domJourney .expandContract {
    top: 8px
}

/* Route details */
.domJourney .expanded {
    border-top: 1px solid #ccc;
    overflow: auto;
    clear: both;
}

/* new "journeyLeg" */
.domJourney .journeyLeg {
    position: relative;
    font-size: 12px;
    padding: 7px 10px 5px 10px;
    border-bottom: 1px solid #ccc;
}

.journeyLeg .route-number,
.journeyLeg .route-time,
.journeyLeg .route-depart {
    display: inline-block;
}

.journeyLeg .route-number {
    position: relative;
    bottom: 2px;
    margin-left: 10px;
}

.journeyLeg .route-time {
    border-right: 1px solid #ccc;
    padding-right: 10px;
    margin-right: 10px;
    margin-left: 10px;
}

.journeyLeg .route-expand {
    display: inline-block;
    position: absolute;
    right: 20px;
    top: 12px;
    background: url('../../img/buss/reseplaneraren/expand-route.png') no-repeat right center;
    width: 15px;
    height: 8px;
}   

.journeyLeg .route-expand.open {
    background: url('../../img/buss/reseplaneraren/collapse-route.png') no-repeat right center;
}

/* detailed view of stops */

.inbetweenStop-wrapper {
    position: relative;
    padding: 5px 10px;
    z-index: 800;
    border-bottom: 1px solid #ccc;
    /* them shadows */
    -webkit-box-shadow: inset 0px 5px 10px -3px rgba(50, 50, 50, 0.1);
    -moz-box-shadow:    inset 0px 5px 10px -3px rgba(50, 50, 50, 0.1);
    box-shadow:         inset 0px 5px 10px -3px rgba(50, 50, 50, 0.1);
}

div.route-line {
    height: 93%;
    width: 3px;
    background-color: #3c3c3c;
    position: absolute;
    top: 13px;
    left: 30px;
    z-index: 1000;
}

.inbetweenStop {
    position: relative;
    font-size: 12px;
    font-style: italic;
    margin: 5px 0;
}

.inbetweenStop.start, .inbetweenStop.end {
    font-weight: bold;
    font-style: normal;
}

.inbetweenStop.start .stop-indicator {
    background-color: #3f9c35;
}

.inbetweenStop .stop-indicator {
    position: absolute;
    height: 12px;
    width: 12px;
    top: 1px;
    left: 16px;
    z-index: 1100;
    background-color: #3c3c3c;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
}

.inbetweenStop.end .stop-indicator {
    background-color: #a42522;
}

.inbetweenStop .legitemborder {

}

.inbetweenStop .directions {
    margin-left: 40px;
    padding-left: 11px;
    border-left: 1px solid #c6c6c6;
}

.inbetweenStop .time,
.inbetweenStop .directions {
    display: inline-block;
}

.inbetweenStop .time {
    font-style: normal;
    font-weight: normal;
    padding-left: 5px;
    margin-left: 30px;
}

.priceRow {
    position: relative;
    height: 19px
}

.priceType,.priceSum {
    position: absolute;
    overflow: hidden;
    top: 2px
}

.priceType {
    width: 170px
}

.priceSum {
    left: 180px;
    width: 55px;
    text-align: right
}

.priceSeparator {
    margin: 3px 0;
    background-color: #CCC;
    height: 1px
}

li {
    list-style-image: none;
    vertical-align: middle
}

#busline_default {
    cursor: pointer;
    display: block;
    text-align: center;
    color: #fff;
    padding: 5px 0;
    margin: 0 1% 10px 1%;
    background: #818181;
    font-size: 1em;
    line-height: 1em;
    width: 98%;
    height: auto;
}

    #busline_default:hover {
        background-color: #666;
    }

.busline
{
    display: inline-block;
    height: 21px;
    width: 21px;
    margin: 0 5px;
    cursor: pointer;
}

.livetimetable {
    display: block;
    width: 98%;
    margin: 5px 1% 10px 1%;
    padding: 5px 0px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.livetimetable .line 
{
    overflow: hidden;
}

.livetimetable .busnumber 
{
    float: left;
    width: 20px;
}

.livetimetable .direction 
{
    float: left;
    width: 140px;
}

.livetimetable .time
{
    float: left;
    width: 60px;
    text-align: right;
}
.realtimelink:hover
{
	color: #F3A54D;
}

/* Desktop */
@media screen and (min-width: 980px) {

    .tablet {
        display: none !important;
    }

    .mobile {
        display: none !important;
    }

}

/* Responsive */
@media screen and (max-width: 980px) {
    
    .desktop {
        display: none !important;
    }

    .mobile {
        display: none !important;
    }

    div.item.route-info {
        display: none;
    }

    div.route-info-mobile {
        display: block;
    }

}
@media screen and (max-width: 860px) {

}
@media screen and (max-width: 600px) {

}
@media screen and (max-width: 420px) {

    .desktop {
        display: none !important;
    }

    .tablet {
        display: none !important;
    }

    /* top & bottom bar */
    div.topBar {
        display: inline-block;
    }

    div.topBar #printAll {
        display: none;
    }

    div.topBar #showEarlier,
    div.bottomBar #showLater {
        text-indent: -9999px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        background-position: center center;
    }

    div.bottomBar {
        margin: 0 0 20px 0;
    }


    div.route-info-mobile ul li,
    div.route-info-mobile ul li.warning {
        width: 100%;
        text-align: left;
        padding: 10px 10px;
        margin: 0;
        background: #ededed;
        border-top: 1px solid #ccc;
    }

    div.route-info-mobile ul li:first-child {
        border-top: none;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    div.route-header {
        padding: 10px;
    }
    
    /* resets */

    div.route-header .item.travelPlan,
    div.route-header .item.time,
    div.route-header .item.travelTime,
    div.route-header .item.switches {
        display: block;
        padding: 0;
        margin: 0;
        text-align: center;
    }

    .domJourney div.switchAndTravelTime {
        margin: 0;
    }

    .domJourney .time {
        border-right: none;
    }

    div.route-header:hover .item.time,
    div.route-header:hover .item.travelTime,
    div.route-header:hover .item.switches,
    .domJourney .journeyLeg:hover .route-depart,
    .domJourney .journeyLeg:hover .route-time {
        font-weight: normal;
    }

    /* resets end */
    
    div.route-header .item.time {
        font-size: 18px;
        padding: 0 20px;
        margin: 5px 0 0 0;
    }

    /* DOMJourney */

    .inline-divider {
        display: none;
    }

    /* journeyLeg */

    .domJourney .journeyLeg {
        padding: 15px 10px;
    }

    .journeyLeg .route-number {
        margin-left: 0;
    }

    .journeyLeg .route-expand {
        top: 30px;
        right: 10px;
    }

    .journeyLeg .route-time {
        border-right: 0;
    }

    .journeyLeg .route-depart {
        display: block;
    }

    /* Detailed stops */

    div.inbetweenStop-wrapper {
        margin: 0;
        padding: 5px 0;
    }
    
    div.route-line {
        left: 20px;
    }

}
@media screen and (max-width: 320px) {

}