body { 
    overflow: hidden;
    margin: 0
}
/************************    Header     ****************************/
#map_header { 
    background-color: #81AA4B;
    position: absolute;
    left: 0px;
    width: 100%;
    top: 0px;
    height: 80px;
    margin: 0px;
    padding: 5px;
    color: #303030
}

#map_header h1 {
    font-size: 2em;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 3pt
}

#map_subheader {
    position: absolute;
    background-color: #526d30;
    padding: 1px 5px;
    font-size: 0.8em;
    left: 0px;
    width: 100%;
    top: 80px;
    height: 1.2em;
    border-color: #1c2510;
    border-width: 2px;
    border-bottom-style: solid;
    color:#b6d293
}

#map_shr {
    position: absolute;
    background-color: #526d30;
    padding: 1px 5px;
    font-size: 0.6em;
    right: 0px;
    top: 80px;
    height: 1.2em;
    color:#94aa77
}

#map_shr img {
    vertical-align: sub;
    padding-left: 3px
}


.absright {
    position: absolute;
    right: 0;
    top: 0
}

:link {
    text-decoration: none;
    color: #00a;
    font-weight: bold;
}

a:hover {
    text-decoration: underline
}

:visited {
    color: #00a;
    text-decoration: none
}

/******************************    Map    *************************/
#map {
    position: absolute;
    left: 0;
    top: 86px;
    bottom: 20px;
    width: 100%;
}

/* adapt the controls */
.olMap .olControlPermalink {
    top: 90px;
    right: 4px
}

.olMap .olControlMousePosition {
    top: 90px;
    right: 7em
}

.olMap .olControlLayerSwitcher {
    top: 100px
}

.olMap .olControlPanZoomBar {
    margin-top: 90px;
    margin-left: 0
}

.olMap .olControlScaleLine {
    bottom: 4em
}

.olMap .lineDrag {
        cursor: crosshair;
}

#slider {
    position: absolute;
    top: 100px;
    left: 45%;
}

#sliderbg { 
   position:relative; 
   height:18px; 
   width:256px;
   background:url(../img/sliderbg.png) no-repeat;
}

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

.closedsidebar {
    right: 0;
    bottom: 2.5em;
    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 */
.closedsidebar #routecontent {
    display: none
}

#routecontent {
    margin-top : 1.2em;
    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
}

.dllist {
    margin-top: 0.8em;
    margin-bottom: 0.8em;
    margin-left: 0.3em;
    line-height: 150%
}

.dlitem {
    font-weight: bold;
    padding-right: 1ex
}

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

#map_footer {
    background-color: #81AA4B;
    position: absolute;
    left: 0px;
    width: 100%;
    height: 1.3em;
    bottom: 0px;
    margin: 0px;
    padding: 0px;
    border-color: #1c2510;
    border-width: 0.15em;
    border-top-style: solid;
    overflow: hidden
}

#map_footer_21781 {
    float: left;
    width: 200px;
    overflow: hidden
}

#map_footer_inner {
    float: left;
    padding-right: 3pt;
    width: auto;
}

#map_footer_wgs84 {
    float: left;
    width: 200px;
    overflow: hidden
}

#map_footer_permalink {
    float: right;
    width: auto;
    overflow: hidden
}

.legende {
    font-size: 0.7em;
    margin-left: 1em
}

#map_footer .heading {
    font-size: 1.5em;
    font-weight: bold;
    padding: 3px
}

#map_right_footer {
    position: absolute;
    right: 0px;
    height: 2.7em;
    width: 50%;
    bottom: 0px;
    text-align: right;
    font-size: 0.8em;
    margin: 3px
}


