#lb-c-journeyplanner {
    height: 600px;
}

#lb-l-journeyplanner-leftcol {
    width: 100%;
    height: 100%;
    background-color: white;
}

#lb-l-journeyplanner-rightcol,
#lb-l-journeyplanner-results,
#lb-l-journeyplanner-itinerary {
    display: none;
}

#lb-o-journeyplanner-controls,
#lb-o-journeyplanner-results-table {
    padding: 0px 16px 12px 16px;
    display: flex;
    flex-direction: column;
    min-height: 150px;
}

#lb-o-journeyplanner-controls-title {
    font-size: 28px;
    margin: 0;
    padding: 0;
}

#lb-o-journeyplanner-controls-description {
    font-size: 13px;
    margin: 3px 0 12px 0;
    padding: 0;
    font-weight: normal;
}

#lb-o-journeyplanner-start,
#lb-o-journeyplanner-finish {
    background-color: #FFFFFF;
    border: solid 2px #D2D6D9;
    border-radius: 3px;
    width: 100%;
}

#lb-o-journeyplanner-finish {
    margin-top: 8px;
    margin-bottom: 12px;
}

.lb-o-journeyplanner-datebutton {
    background-color: white;
    color: #8C1713;
    font-weight: 400;
    padding: 4px 8px 5px 8px;
    text-decoration: none !important;
    border-radius: 1px;
    border: 1px solid;
}

.lb-o-journeyplanner-datebutton-selected {
    border: solid 1px #8C1713;
    background-color: #8C1713;
    color: white !important;
}

.lb-o-journeyplanner-datebutton:hover {
    background-color: #8C1713;
    color: white !important;
}

#lb-l-journeyplanner-datetime {
    margin-top: 12px;
}

#lb-l-journeyplanner-datetime select {
    background-color: #F0F0F1;
    border: solid 1px #CFCECE;
    border-radius: 3px;
    height: 32px;
}

#lb-l-journeyplanner-go button {
    background-color: #8C1713;
    border: none;
    border-radius: 5px;
    font-style: normal;
    font-weight: 400;
    color: white;
    padding: 4px 16px 6px 16px;
}

#lb-c-journeyplanner-recent-toggle,
#lb-c-journeyplanner-saved-toggle {
    display: none;
    background-color: #e9e9e9;
    border: solid 1px #333333;
    margin: 16px 0 0 0;
    border-radius: 4px;
    padding: 8px 12px 8px 12px;
    height: 50px;
}

#lb-c-journeyplanner-recent-toggle .icon,
#lb-c-journeyplanner-saved-toggle .icon {
    background-image: url("./assets/map/ui-elements-32px-2@2x.png");
    background-size: 320px 320px;
    background-repeat: no-repeat;
    display: block;
    float: left;
    width: 32px;
    height: 32px;
    background-position: -64px -256px;
    margin-right: 8px;
}

#lb-c-journeyplanner-recent-toggle .icon {
    background-position: -96px -256px;
}

#lb-c-journeyplanner-recent-toggle .title,
#lb-c-journeyplanner-saved-toggle .title {
    display: block;
    float: left;
    font-size: 18px;
    line-height: 32px;
}

#lb-c-journeyplanner-recent-toggle .arrow,
#lb-c-journeyplanner-saved-toggle .arrow {
    background-image: url("./assets/map/ui-elements-32px-2@2x.png");
    display: block;
    float: right;
    width: 32px;
    height: 32px;
    background-position: -64px -96px;
}

#lb-c-journeyplanner-recent-toggle .arrow-up,
#lb-c-journeyplanner-saved-toggle .arrow-up {
    background-position: -192px -96px;
}

#lb-c-journeyplanner-recent,
#lb-c-journeyplanner-saved {
    display: none;
    margin-bottom: 24px;
}

.lb-o-journeyplanner-favourites-item {
    display: block;
    clear: both;
    background-color: white;
    border: solid 1px #333333;
    padding: 8px 12px 8px 16px;
    min-height: 48px;
}

.lb-o-journeyplanner-favourites-item .title {
    display: block;
    width: 70%;
    float: left;
    color: black;
    line-height: 100%;
}

.lb-o-journeyplanner-favourites-item .arrow {
    background-image: url("./assets/map/ui-elements-32px-2@2x.png");
    display: block;
    float: right;
    width: 32px;
    height: 32px;
    background-position: -192px -32px;
}

.lb-o-journeyplanner-favourites-item .summary {
    display: block;
    clear: both;
    min-height: 40px;
    margin-top: 4px;
}

#lb-o-journeyplanner-results-title {
    margin: 0;
    padding: 0;
    background-color: #ECEFF1;
    padding: 6px 16px 6px 16px;
    font-size: 18px;
    font-weight: bold;
}

.lb-l-journeyplanner-resultscell {
    display: block;
    background-color: white;
    border: solid 2px #E0E0E0;
    border-bottom-width: 4px;
    padding: 8px 0px 8px 12px;
    margin: 8px 16px 0 16px;
    color: black;
    text-decoration: none !important;
    clear: both;
    height: 96px;
}

.lb-l-journeyplanner-resultscell-selected {
    border-color: #8C1713;
    background-color: #8C171326;
}

.lb-o-journeyplanner-resultcell-disclosurearrow {
    float: right;
    background-image: url("./assets/map/ui-elements-32px-2.png");
    background-size: 320px 224px;
    background-repeat: no-repeat;
    background-position: -160px -32px;
    width: 32px;
    height: 32px;
    margin-right: 4px;
}

.lb-l-journeyplanner-resultscell-selected .lb-o-journeyplanner-resultcell-disclosurearrow {
    background-position: -192px -32px;
}

.lb-l-journeyplanner-resultcell-toprow {
    clear: both;
}

.lb-o-journeyplanner-resultcell-starttime,
.lb-o-journeyplanner-resultcell-finishtime {
    display: block;
    float: left;
    height: 32px;
    font-size: 24px;
    line-height: 32px;
    color: black !important;
}

.lb-o-journeyplanner-resultcell-arrow {
    display: block;
    float: left;
    width: 32px;
    height: 32px;
    background-image: url("./assets/map/ui-elements-32px-2.png");
    background-size: 320px 224px;
    background-repeat: no-repeat;
    background-position: -256px -160px;
}

.lb-l-journeyplanner-resultcell-middlerow {
    clear: both;
    padding-top: 8px;
}

.lb-l-journeyplanner-resultcell-bottomrow {
    clear: both;
}

.lb-o-journeyplanner-resultcell-walkicon {
    display: block;
    float: left;
    width: 32px;
    height: 32px;
    background-image: url("./assets/map/ui-elements-32px-2.png");
    background-size: 320px 224px;
    background-repeat: no-repeat;
    background-position: -288px -160px;
}

.lb-o-journeyplanner-resultcell-walkicon-time {
    display: inline-block;
    padding-left: 14px;
    padding-top: 12px;
    font-size: 14px;
    font-weight: bold;
    color: black;
}

.lb-o-journeyplanner-resultcell-serviceicon {
    display: block;
    float: left;
    background-color: black;
    color: white;
    height: 32px;
    line-height: 32px;
    font-weight: bold;
    padding: 0 12px 0 12px;
    border-radius: 4px;
    margin-right: 8px;
}

#lb-o-journeyplanner-itinerary-summary-time {
    font-size: 24px;
    display: inline-block;
    float: left;
    width: 50%;
    height: 32px;
    line-height: 32px;
    margin-top: 0px;
    margin-left: 16px;
}

#lb-l-journeyplanner-itinerary-summary-controls {
    width: 40%;
    height: 32px;
    float: right;
}

#lb-o-journeyplanner-itinerary-summary-save {
    background-image: none;
    width: 60px;
    border: 2px black solid;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    margin-right: 10px;
    font-weight: bold;
    padding-top: 1px
}

#lb-o-journeyplanner-itinerary-summary-share {
    background-image: none;
    width: 60px;
    border: 2px black solid;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    padding-top: 1px;
}

#lb-o-journeyplanner-itinerary-summary-share:hover,
#lb-o-journeyplanner-itinerary-summary-save:hover {
    background-color: black;
    color: white;
}

#lb-l-journeyplanner-itinerary-legs {
    clear: both;
}

.lb-l-journeyplanner-itinerary-leg {
    clear: both;
}

.lb-l-journeyplanner-itinerary-leg-left {
    float: left;
    width: 60px;
    height: 80px;
    text-align: right;
}

.lb-l-journeyplanner-itinerary-leg-line {
    float: left;
    width: 32px;
    height: 32px;
    margin: 24px 14px 24px 14px;
    background-image: url("./assets/map/ui-elements-32px.png");
    background-position: -128px -224px;
}

.leg-bus {
    background-position: -160px -224px;
    background-color: #8C1713;
}

.leg-servicebox {
    display: inline-block;
    padding: 4px 8px 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 18px;
    margin-right: 8px;
}

.lb-l-journeyplanner-itinerary-leg-right {
    float: left;
    width: calc(100% - 132px);
    height: 80px;
    border-bottom: solid 1px #D9D9D9;
}

.lb-o-journeyplanner-itinerary-leg-time {
    font-weight: bold;
    margin: 0;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.lb-l-journeyplanner-itinerary-leg-right p {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    font-size: 15px;
}

#lb-l-journeyplanner-itinerary-showonmap {
    clear: both;
    text-align: center;
    padding-top: 24px;
}

#lb-o-journeyplanner-map {
    background-color: #F2F1F0;
    height: 600px;
}

/* desktop */
@media (min-width: 768px) {
    #lb-l-journeyplanner-leftcol {
        width: 360px;
        height: 600px;
        padding-top: 12px;
        float: left;
        overflow: hidden;
        overflow-y: scroll;
    }

    #lb-l-journeyplanner-rightcol {
        margin-left: 360px;
        height: 600px;
        background-color: #F2F1F0;
        display: block;
    }

    #lb-o-journeyplanner-map-backbutton,
    #lb-l-journeyplanner-itinerary-showonmap {
        display: none;
    }

    #lb-l-journeyplanner-leftcol .divider {
        border-top: solid 1px #F1F4F5;
        margin-bottom: 16px;
        margin-top: 16px;
    }
}

.loading-spinner {
    display: block;
    width: 100%;
    height: 300px;
    background-image: url("./assets/loading.gif");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.back-button {
    background-color: #8C1713 !important;
    display: inline-block;
    padding: 4px 12px 4px 8px !important;
    margin-left: 2px !important;
    margin-bottom: 8px !important;
    color: white !important;
    border: 2px solid #8C1713 !important;
}

.back-button:hover {
    background-color: white !important;
    border: 2px solid #8C1713 !important;
    color: #8C1713 !important;
}

#poweredByLothian {
    font-size: 100%;
    color: #000000;
}

#lothianLogo {
    margin-left: 4px;
    width: 100px;
}