﻿.ol-popup {
    position: absolute;
    background-color: white;
    -webkit-filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.2));
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
    min-width: 280px;
}

#x {
    position: absolute;
    background: white;
    color: black;
    top: 0px;
    right: 0px;
}

:root {
    --result-form-height: calc(100% - 200px);
}

#routeResult {
    position: absolute;
    left: 5px;
    bottom: 10px;
    /*//top: 75px;*/
    background-color: white;
    width: 350px;
    display: none;
    border-style: outset;
    border-width: 2px;
    border-color: whitesmoke;
    transition-property: top;
    transition-duration: 5s;
    max-height: calc(100% - 75px);
}

#routeResultDetail {
    overflow-y: auto;
    overflow-x: hidden;
    /*max-height: var(--result-form-height);*/
}

.routeDetail {
    padding: 10px;
    border-top: outset;
    border-width: 4px;
    border-color: lightgray;
}

#routeForm {
    padding: 10px;
    padding-top: 30px;
    /*//margin:10px;*/
    width: 100%;
    text-align: center;
}

.routeFormInputElement {
    /*padding:10px;*/
    /*//margin:10px;*/
    width: 100%;
    font-weight: bold;
}

.routeFormElement {
    padding-bottom: 10px;
    /*//margin:10px;*/
    /*width:100%;*/
}

.routeElement {
    border-bottom: solid;
    border-top: solid;
    border-width: 2px;
    border-color: whitesmoke;
    /*padding: 10px;*/
    display: block;
}

.selectedRouteElement {
    display: block;
}

.unselectedRouteElement {
    display: none;
}

.stepBlock {
    display: flex;
    padding-top: 5px;
}

.stepDescription {
    flex: 1;
}

.walking {
    border-left: dotted;
    border-color: green;
    border-width: medium;
    width: 10px;
    padding-right: 5px;
}

.transit {
    border-left: solid;
    border-color: green;
    border-width: medium;
    width: 10px;
    padding-right: 5px;
}

#hideResult {
    position: absolute;
    background: white;
    color: black;
    top: -15px;
    left: 130px;
    width: 90px;
    height: 30px;
    display: none;
}

#showResult {
    position: absolute;
    background: white;
    color: black;
    bottom: 0px;
    left: 130px;
    width: 90px;
    height: 30px;
    display: none;
}


.routeResultShowResult {
    top: 75px;
}
