body { 
    overflow: hidden;
    margin: 0
}

/************************    Header     ****************************/
#map_header { 
    background-color: #ecead9;
    position: absolute;
    left: 0px;
    width: 100%;
    top: 0px;
    height: 3em;
    margin: 0px;
    padding: 0px;
    border-color: #50300b;
    border-width: 0.15em;
    border-bottom-style: solid;
}

#map_header h1 {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0
}

#map_header h2 {
    font-size: 1em;
    font-style: italic;
    margin: 0
}

#map_header p {
    margin: 0;
    font-size: 0.8em
}


/******************************    Map    *************************/
#map {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%
}

/* adapt the controls */
.olMap .olControlPermalink {
    bottom: 4em;
    left: 4px
}

.olMap .olControlMousePosition {
    top: 4em;
    right: 4px
}

.olMap .olControlLayerSwitcher {
    top: 5em
}

.olMap .olControlPanZoomBar {
    margin-top: 3em;
    margin-left: 0
}

/************************   side bar    ******************************/

.closedsidebar {
    right: 0;
    bottom: 2.7em;
    overflow: hidden;
}

.opensidebar {
    right: 0;
    bottom: 0;
    width: 25%;
    height: 80%;
    overflow: auto;
}

/* Route view in general */
#routeview {
    position: absolute;
    background-color: #ecece9;
/*    border-top-style: solid;
    border-right-style: solid;
    border-right-width: 1px;
    border-top-width: 1px;
    border-bottom-style: solid;
    border-bottom-width: 1px;*/
    border: 2px solid #222;
    max-height: 100%;
    margin: 4px;
    padding: 3px
}

.closedsidebar a {
    font-size: 1.1em;
    font-weight: bold;
    font-variant: small-caps;
    color: #000;
}

.opensidebar #routeselector {
    font-size: 0.75em;
    position: absolute;
    right: 0.2em
}

/* Routecontent */
#routecontent {
    font-size: 0.8em
}

#routecontent h1 {
    margin-top: 0.4em;
    margin-bottom: 0.2em;
    font-size: 1.6em
}

#routecontent .subtitle {
    font-size: 0.6em
}

#routecontent h2 {
    font-style: italic;
    font-size: 1.1em;
    margin-top: 0.3em;
    margin-bottom: 0.1em;
    background-color: #dde
}

#routecontent .backlink {
    font-size: 0.75em;
}

#routecontent .routedescr {
    margin-bottom: 0.2em;
    font-size: 0.9em
}
#routecontent .routenote {
    margin-bottom: 0.2em;
    font-size: 0.8em
}

#routecontent table {
    font-size: 1em
}

/***************************   Footer   ******************************/

#map_footer {
    background-color: #ecead9;
    position: absolute;
    left: 0px;
    width: 100%;
    height: 2.7em;
    bottom: 0px;
    margin: 0px;
    padding: 0px;
    border-color: #50300b;
    border-width: 0.15em;
    border-top-style: solid;
    overflow: hidden
}

#map_footer table {
    font-size: 0.7em
}

#map_footer .heading {
    font-size: 1.5em;
    font-weight: bold;
    padding-right: 0.5ex
}
