@font-face {
    font-family: 'AtB';
    src: url("atbregular-webfont.woff");
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: 'AtB';
    src: url("atbmedium-webfont.woff");
    font-style: normal;
    font-weight: bold;
}
html, body, #map {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Atb,Roboto,sans-serif;
  font-size: 12px;
  webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  overflow-y: hidden;
  overflow-x: hidden;
}
.leaflet-tooltip.my-labels {
    background-color: transparent;
    border: transparent;
    box-shadow: none;
    font-weight: bold;
    font-size: 12px;
}
#top-title {
  position: absolute;
  top: 11px;
  left: 13px;
  z-index: 999;
  background-color: white;
  opacity: 0.9;
  padding: 0px 8px 0px 8px;
  margin: 0px 0px 0px 0px;
  text-align: left;
  font-family: Atb,Roboto,sans-serif;
  font-size: 12px;
  line-height: 15px;
  /* height: 27px; */
  border-radius: 2px;
  display: none;
  cursor: pointer;
  webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
#topTitle {
  margin: 5px 0px 4px 0px;
  font-family: Atb,Roboto,sans-serif;
  font-size: 12px;
  line-height: 15px;
  webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
#topTitlePress {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 65px;
    text-align: right;
    color: blue;
    font-family: Atb,Roboto,sans-serif;
    font-size: 9px;
    font-style: italic;
    line-height: 12px;
    /* border: 1px solid black; */
    display: inline-block;
}
#floating-title {
  position: absolute;
  top: 70px;
  right: 13px;
  z-index: 5;
  background-color: white;
  opacity: 0.9;
  padding: 6px 4px 6px 4px;
  margin: 0px 0px 0px 0px;
  text-align: left;
  font-family: Atb,Roboto,sans-serif;
  font-size: 12px;
  line-height: 15px;
  /* height: 27px; */
  border-radius: 2px;
  display: none;
  cursor: pointer;
  webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
#mapTitle {
  margin: 5px 0px 4px 0px; 
  font-family: Atb,Roboto,sans-serif;
  font-size: 12px;
  line-height: 15px;
  webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
#helptext-layer {
  position: absolute;
  top: 11px;
  left: 13px;
  z-index: 10;
  background-color: white;
  opacity: 0.95;
  padding: 0px 8px 0px 8px;
  margin: 0px 0px 0px 0px;
  text-align: left;
  font-family: Atb,Roboto,sans-serif;
  font-size: 14px;
  line-height: 15px;
  width: calc(100% - 36px);
  border-radius: 2px;
  display: none;
  cursor: pointer;
  webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
#helptext {
  margin: 5px 0px 4px 0px; 
  font-family: Atb,Roboto,sans-serif;
  font-size: 12px;
  line-height: 15px;
  webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
#map {
  height: 100%;
  border-bottom: 1px solid #999;
}
#help-box {
  width: 28px;
  height: 28px;
  position: absolute;
  bottom: 24px;
  left: 11px;
  z-index: 5;
  background: url('./questionmark.svg');
  background-size: 24px 24px;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: white;
  opacity: 1.0;
  border-radius: 2px;
}
#help-box:hover {
  width: 28px;
  height: 28px;
  position: absolute;
  bottom: 24px;
  left: 11px;
  /*bottom: 144px;
  right: 10px;*/
  z-index: 5;
  background: url('./questionmark_hover.svg');
  background-size: 24px 24px;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: white;
  opacity: 1.0;
  border-radius: 2px;
  cursor: pointer;
}
#geoloc-box {
  width: 28px;
  height: 28px;
  position: absolute;
  bottom: 82px;
  right: 10px;
  z-index: 5;
  background: url('./geoloc.svg');
  background-size: 15px 15px;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: white;
  opacity: 1.0;
  border-radius: 2px;
}
#geoloc-box:hover {
  width: 28px;
  height: 28px;
  position: absolute;
  bottom: 82px;
  right: 10px;
  z-index: 5;
  background: url('./geoloc_hover.svg');
  background-size: 15px 15px;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: white;
  opacity: 1.0;
  border-radius: 2px;
  cursor: pointer;
}
#reset-box {
  width: 28px;
  height: 28px;
  position: absolute;
  bottom: 144px;
  right: 10px;
  z-index: 5;
  background: url('./reset.svg');
  background-size: 48px 48px;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: white;
  opacity: 1.0;
  border-radius: 2px;
}
#reset-box:hover {
  width: 28px;
  height: 28px;
  position: absolute;
  bottom: 144px;
  right: 10px;
  z-index: 5;
  background: url('./reset_hover.svg');
  background-size: 48px 48px;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: white;
  opacity: 1.0;
  border-radius: 2px;
  cursor: pointer;
}
#togstation-box {
  width: 28px;
  height: 28px;
  position: absolute;
  bottom: 113px;
  right: 10px;
  z-index: 5;
  background: url('./togstation.svg');
  background-size: 17px 17px;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: white;
  opacity: 1.0;
  border-radius: 2px;
}
#togstation-box:hover {
  width: 28px;
  height: 28px;
  position: absolute;
  bottom: 113px;
  right: 10px;
  z-index: 5;
  background: url('./togstation_hover.svg');
  background-size: 17px 17px;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: white;
  opacity: 1.0;
  border-radius: 2px;
  cursor: pointer;
}
.zoneBox {
    width:auto; 
    min-width:300px; 
    max-width:90%; 
    height:90px;
    font-family: Atb,Roboto,sans-serif;
    font-size: 16px;
    line-height: 20px;
}
.stationBox {
    width:auto; 
    min-width:250px; 
    max-width:90%; 
    height:45px;
    font-family: Atb,Roboto,sans-serif;
    font-size: 16px;
    line-height: 20px;
}
#rzTextBox {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    vertical-align: middle;
    position: absolute;
    left: 0px;
    top: 35px;
    background-color: darkblue;
    font-family: Atb,Roboto,sans-serif;
    font-size: 12px;
    line-height: 16px;
    color: white;
    cursor: pointer;
}
.relationBox {
    width:370px; 
    height:90px;
}
.relationBoxMobile {
    width:145px; 
    height:240px;
}
.relationBoxMin {
    width:160px; 
    height:45px;
}
.relationBoxText {
    display: inline-block;
    font-family: Atb,Roboto,sans-serif;
    font-size: 12px;
    line-height: 13px;
    /* line-height: 16px; */
    position: relative;
    left: 0px;
    top: -10px;
    /* width: 100%; */
    padding: 0px;
    margin: 0px;
    border: 0px
}
.chooseFromToAdrBox {
    position: relative;
    left: 0px;
    top: -16px;
    width:300px; 
    height:90px;
    margin: 0px;
    padding: 0px;
    border: 0px;
}
.startBox {
  width: 125px;
  height: 55px;
  position: absolute;
  left: 20px;
  top: 57px;
  background-color: darkblue;
  display: inline-block;
  text-align: left;
  font-family: Atb,Roboto,sans-serif;
  font-size: 12px;
  line-height: 18px;
  color: white;
  border-radius: 2px;
  cursor: pointer;
}
.startBoxMobile {
  width: 135px;
  height: 55px;
  position: absolute;
  left: 0px;
  top: 55px;
  background-color: darkblue;
  display: inline-block;
  text-align: left;
  font-family: Atb,Roboto,sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: white;
  border-radius: 2px;
  cursor: pointer;
}
.destinationBox {
  width: 125px;
  height: 55px;
  position: absolute;
  left: 155px;
  top: 57px;
  background-color: darkblue;
  display: inline-block;
  text-align: left;
  font-family: Atb,Roboto,sans-serif;
  font-size: 12px;
  line-height: 18px;
  color: white;
  border-radius: 2px;
  cursor: pointer;
}
.destinationBoxMobile {
  width: 135px;
  height: 55px;
  position: absolute;
  left: 0px;
  top: 120px;
  background-color: darkblue;
  display: inline-block;
  text-align: left;
  font-family: Atb,Roboto,sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: white;
  border-radius: 2px;
  cursor: pointer;
}
.selectZoneBox {
  width: 125px;
  height: 55px;
  position: absolute;
  left: 270px;
  top: 35px;
  background-color: darkblue;
  display: inline-block;
  text-align: left;
  font-family: Atb,Roboto,sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: white;
  border-radius: 2px;
  cursor: pointer;
}
.selectZoneBoxMobile {
  width: 135px;
  height: 55px;
  position: absolute;
  left: 0px;
  top: 185px;
  background-color: darkblue;
  display: inline-block;
  text-align: left;
  font-family: Atb,Roboto,sans-serif;
  font-size: 12px;
  line-height: 16px;
  color: white;
  border-radius: 2px;
  cursor: pointer;
}
.sdBoxImgStart {
  width: 35px;
  height: 35px;
  background: url('./markers/blue_MarkerA.png');
  background-repeat: no-repeat;
  background-position: center center;
  position: absolute;
  left: 0px;
  top: 12px;
  display: inline-block;
}
.sdBoxImgDestination {
  width: 35px;
  height: 35px;
  background: url('./markers/red_MarkerB.png');
  background-repeat: no-repeat;
  background-position: center center;
  position: absolute;
  left: 0px;
  top: 12px;
  display: inline-block;
}
.sdBoxImgSelectZone {
  width: 35px;
  height: 35px;
  background: url('./zoneIcon.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 30px 30px;
  position: absolute;
  left: 0px;
  top: 12px;
  display: inline-block;
}
.sdBoxText {
  width: 86px;
  left: 39px;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}
#selectZonegruppe {
    border: 1px solid #555;
    padding: 0.3em 0.4em 0.3em 0.4em;
    margin: 6px 0px 6px 0px;
    font-family: Atb,Roboto,sans-serif;
    font-size: 14px;
    text-align: center;
    text-align-last: center;
    text-align:-moz-center;
    text-align:-webkit-center;
    line-height: 1.2em;
    width: 100%;
    background: #fff;
    opacity: 1.0;
    background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ccc));
    -webkit-appearance: none;
    -webkit-box-shadow: 1px 1px 1px #fff;
    -webkit-border-radius: 0.5em;
}
#search-box {
  position: absolute;
/*  bottom: 24px;
  left: 13px;*/
  top: 0px;
  left: 0px;
  z-index: 5;
  background-color: white;
  opacity: 0.9;
  padding: 0px 8px 0px 8px;
  margin: 0px 0px 0px 0px;
  text-align: left;
  font-family: Atb,Roboto,sans-serif;
  font-size: 12px;
  line-height: 16px;
  width: 160px;
  height: 80px;
  /* height: 27px; */
  border-radius: 2px;
  display: inline-block;
}
#address-box {
    position: absolute;
    top: calc(50% - 200px);
    left: calc(50% - 155px);
    width: 300px;
    height: 190px;
    z-index: 500;
    background-color: white;
    opacity: 1.0;
    padding: 0px 8px 0px 0px;
    margin: 0px 0px 0px 0px;
    border: 1px solid lightgrey;
    text-align: left;
    font-family: Atb,Roboto,sans-serif;
    font-size: 12px;
    line-height: 16px;
    /* height: 27px; */
    border-radius: 2px;
    display: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;     
    user-select: none;
}
#debug-box {
    position: absolute;
    top: 100px;
    left: 200px;
    width: 700px;
    height: 800px;
    z-index: 550;
    background-color: white;
    opacity: 1.0;
    padding: 0px 8px 0px 0px;
    margin: 0px 0px 0px 0px;
    border: 1px solid lightgrey;
    text-align: left;
    font-family: Atb,Roboto,sans-serif;
    font-size: 12px;
    line-height: 16px;
    /* height: 27px; */
    border-radius: 2px;
    display: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;     
    user-select: none;
}
.debug-txt-box {
    position: absolute;
    left: 10px;
    top: 30px;
    width: calc(100% - 25px);
    height: calc(100% - 45px);
    font-family: Atb,Roboto,sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: black;
    background-color: #E1DED7;
    line-height: 16px;
    border-radius: 3px;
    display: inline-block;
}
#debug-txt {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    cols: 500;
    overflow-y: scroll;
    resize: none;
}
.close-box {
    position: absolute;
    right: 10px;
    top: 7px;
    font-family: Atb,Roboto,sans-serif;
    font-size: 14px;
    color: grey;
    line-height: 16px;
    display: inline-block;
    cursor: pointer;
}
.header-box {
    position: absolute;
    left: 10px;
    top: 7px;
    font-family: Atb,Roboto,sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: black;
    line-height: 16px;
    display: inline-block;
}
#address-from-box {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 200px;
    height: 42px;
    font-family: Atb,Roboto,sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: black;
    background-color: #E1DED7;
    line-height: 14px;
    border-radius: 3px;
    display: inline-block;
}
#address-from-logo {
  position: absolute;
  left: 2px;
  top: 3px;
  width: 20px;
  height: 34px;
  background: url('./markers/blue_MarkerA.png');
  background-repeat: no-repeat;
  background-position: center center;
  border: 0px;
  padding: 0px;
  margin: 0px;
  display: inline-block;
}
#address-to-box {
    position: absolute;
    left: 0px;
    top: 46px;
    width: 200px;
    height: 42px;
    font-family: Atb,Roboto,sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: black;
    background-color: #E1DED7;
    line-height: 14px;
    border-radius: 3px;
    display: inline-block;
}
#address-to-logo {
  position: absolute;
  left: 2px;
  top: 3px;
  width: 20px;
  height: 34px;
  background: url('./markers/red_MarkerB.png');
  background-repeat: no-repeat;
  background-position: center center;
  border: 0px;
  padding: 0px;
  margin: 0px;
  display: inline-block;
}
#search-address-button {
    position: absolute;
    left: 0px;
    top: 93px;
    width: calc(100% + 4px);
    height: 30px;
    font-family: Atb,Roboto,sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: white;
    background-color: darkblue;
    line-height: 16px;
    border-radius: 3px;
    display: inline-block;
    cursor: pointer;
    border: 0px;
    margin: 0px;
    padding: 0px;
}
#address-button-text {
    background-image: url('./search.svg');
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-position: left center;
    background-color: darkblue;
    width: 110px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    text-align: right;
    border: 0px solid green;
}
.search-address-input {
    position: absolute;
    left: 28px;
    top: 10px;
    height: 20px;
    width: 166px;
    background-color: rgba(255,255,255,0.0);
    border: 0px solid green;
    padding: 0px;
    margin: 0px;
    font-family: Atb,Roboto,sans-serif;
    font-size: 12px;
    font-weight: normal;
}
#address-result-box {
    position: absolute;
    top: 190px;
    left: 10px;
    width: 288px;
    display: none;
    font-family: Atb,Roboto,sans-serif;
    font-size: 14px;
    line-height: 16px;
    vertical-align: middle;
    text-align: center;
    overflow-y: auto;
}
.search-result-line {
    cursor: pointer;
    display: inline-block;
    width: 100%;
    margin-bottom: 4px;
    background-color: none;
}
.search-result-line-choosen, .search-result-line:hover {
    background-color: lightgrey;
}
#search-cont {
    margin: 5px 0px 2px 0px;
    font-weight: normal;
}
#legend-box {
  position: absolute;
  bottom: 11px;
  left: 13px;
  z-index: 999;
  background-color: white;
  opacity: 1.0;
  padding: 0px 8px 0px 8px;
  margin: 0px 0px 0px 0px;
  text-align: left;
  font-family: Atb,Roboto,sans-serif;
  font-size: 12px;
  line-height: 16px;
  /* height: 27px; */
  border-radius: 2px;
  display: none;
}
#legend-cont {
    margin: 5px 0px 2px 0px;
    font-weight: bold;
}
.legend-zones {
    float: left; 
    width: 24px; 
    height: 20px;
    text-align: center; 
    line-height: 20px;
}
.legend-search {
    float: left; 
    width: 145px;
    height: 25px;
    text-align: center; 
    line-height: 25px;
    background-color: darkblue;
    display: inline-block;
    font-family: Atb,Roboto,sans-serif;
    font-size: 12px;
    color: white;
    border-radius: 2px;
    cursor: pointer;
    padding: 4px 8px 4px 8px;
}
.spanG {
    color: green;
}
.spanB {
    color: black;
}
.spanT {
    color: blue;
}
.debug {
    color: red;
    cursor: pointer;
}
.container { width: 300px; margin: 0 auto; }
.autocomplete-suggestions { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; border: 1px solid #999; background: #FFF; cursor: default; overflow: auto; -webkit-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); -moz-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); font-size: 12px;}
.autocomplete-suggestion { padding: 5px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-no-suggestion { padding: 5px 5px;}
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: bold; color: #000; }
.autocomplete-group { padding: 2px 5px; font-weight: bold; font-size: 12px; color: #000; display: block; border-bottom: 1px solid #000; }

#pagebox {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 200px;
  height: 150px;
  z-index: 400;
  background: rgba(255,255,255,0.9);
  background-color: white;
  opacity: 0.9;
  padding: 8px 12px 8px 8px;
  margin: 0px 0px 0px 0px;
  text-align: left;
  font-family: Atb,Roboto,sans-serif;
  font-size: 12px;
  line-height: 15px;
  /* height: 27px; */
  border-radius: 0px;
  display: inline-block;  /*none*/
  /*cursor: pointer;*/
  webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  /* overflow: hidden; */
}

#compensationbox {
  position: absolute;
  top: 5px;
  left: 225px;
  width: 240px;
  height: 30px;
  z-index: 400;
  background: rgba(255,255,255,0.9);
  background-color: white;
  opacity: 0.8;
  padding: 6px 6px 6px 6px;
  margin: 0px 0px 0px 0px;
  text-align: left;
  font-family: Atb,Roboto,sans-serif;
  font-size: 12px;
  line-height: 15px;
  border-radius: 0px;
  display: none; /*inline-block;  /*none*/
  cursor: pointer;
  webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  overflow: hidden;
}

.box {
    position: absolute;
/*    border: 1px solid lightgray;*/
    border: 0px;
    background: rgba(255,255,255,0.9);
    background-color: white;
    opacity: 0.9;
    margin: 0px;
    /*padding: 5px;*/
    padding: 0px;
}

#search-result-box {
    position: absolute;
    top: 130px;
/*    border: 1px solid lightgray;*/
    border: 0px;
    background: rgba(255,255,255,0.9);
    background-color: white;
    opacity: 0.9;
    margin: 0px;
    /*padding: 5px;*/
    padding: 0px;    
/*    height: 300px;*/
    overflow: auto;
}

.searchButton {
    float: left; 
    width: 100%;
    height: 25px;
    text-align: center; 
    line-height: 25px;
    background-color: darkblue;
    display: inline-block;
    font-family: Atb,Roboto,sans-serif;
    font-size: 12px;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    padding: 4px 8px 4px 8px;
    margin: 0px 0px 12px 0px;
    text-transform: uppercase;
}

.searchButton:disabled,searchButton[disabled] {
    float: left; 
    width: 164px;
    height: 25px;
    text-align: center; 
    line-height: 25px;
    background-color: lightblue;
    display: inline-block;
    font-family: Atb,Roboto,sans-serif;
    font-size: 12px;
    color: white;
    border-radius: 5px;
    cursor: inherit;
    padding: 4px 8px 4px 8px;
    margin: 0px 0px 4px 0px;
    text-transform: uppercase;
}

.btn-group button {
    font-family: Atb,Roboto,sans-serif;
    font-size: 12px;
    text-align: center; 
    line-height: 25px;
    background-color: #4d4e56;
    border: 0px solid #4d4e56;
    color: white; /* White text */
    /*padding: 10px 15px; /* Some padding */
    cursor: pointer; /* Pointer/hand icon */
    float: left; /* Float the buttons side by side */
    width: 50%;
    outline: 0 !important;
}

/* Clear floats (clearfix hack) */
/*.btn-group:after {
  content: "";
  clear: both;
  display: table;
}*/

/* Prevent double borders */
/*.btn-group button:not(:last-child) {
  border-right: none; 
}*/

.btn-group button:first-child {
    border-radius: 3px 0 0 3px;
}

.btn-group button:last-child {
    border-radius: 0 3px 3px 0;
}

#clickboxNofZones {
    font-family: Atb,Roboto,sans-serif;
    font-size: 12px;
    color: black;
    text-align: left; 
    line-height: 13px;
    background-color: lightgrey;
    height: 45px;
    width: 164 px;
    padding-top: 6px;
    padding-left: 4px
}

.pokedTextRemarks {
    display: inline-block;
    width: 100%;
    margin-bottom: 4px;
    background-color: none;
    font-family: Atb,Roboto,sans-serif;
    font-size: 12px;
    color: black;
    text-align: left; 
}

.readmorelink:link {
    color: darkblue;
    text-decoration: underline;
}

div.line {
    border-bottom:thin solid gray;
    margin: 5px 0 5px 0; 
}

/* Add a background color on hover */
/*.btn-group button:hover {
  background-color: #02598f;
}*/