.leaflet-container {
  z-index: 98;
}
.ui-front {
  z-index: 99;
}

/* Leaflet Styles */
.leaflet-container {
    margin-top:25px;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}
.leaflet-control-layers-toggle {
	background-image: url(../images/layers.png);
}

.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(../images/layers-2x.png);
}

.leaflet-bar a, .leaflet-bar a:hover {
    color: #000!important;
}

.leaflet-control-layers,
.leaflet-bar,
.leaflet-bar a:first-child,
.leaflet-bar a:last-child {
    border-radius:0 !important;
}

/* eigene Mapstyles */
.leaflet-control-layers-selector{
    display: inline!important;
    width: auto!important;
    height: auto!important;
    margin: 0!important;
    padding: 5px!important;
}

.info {
    padding: 6px 8px;
    font: 11px/13px var(--e-global-typography-primary-font-family), Sans-serif;
    background: white;
    background: rgba(255,255,255,0.7);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

.legend {
    text-align: left;
    line-height: 18px;
    color: #555;
}

.legend i{
    width: 18px;
    height: 18px;
    float: left;
    margin-right: 8px;
    opacity: 1;
}

.pruefungJaNein i{
    width: 18px;
    height: 18px;
    float: right;
    margin-left: 8px;
}

.pruefenMoeglich {
    background-color: var( --e-global-color-text );
}

.pruefenNichtMoeglich {
    background-color: var( --e-global-color-secondary );
}

.mapList {
    text-decoration: none;
    color: #3f3f3f;
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-size: 13px;
    list-style: none;
    line-height: 130%;
}

.mapList .listItem{
    line-height: 20px;
    cursor: pointer;
    padding: 8px 10px;
    margin: 0 0 7px 0;
    border: 1px solid #E0E0E0;
    background-color:#f9f9f9;
}

.noAddressFound,
.plzNotValid{
    font-size: 14px;
    color: var( --e-global-color-text );
    margin: 15px 0 0 0;
}

.listItem:hover {
    background: transparent;
    background-color: #f1f1f1;
}

.mapList .pruefungJaNein{
    float: right;
    text-align: right;
    clear: both;
    line-height: 20px;
}

.mapList .entfernung{
    float: right;
    text-align: right;
    clear: both;
    width: 125px;
}

/* .listItem .name, */
.listItem .label,
.leaflet-popup-content .label {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight:bold;
}

.listItem .label,
.leaflet-popup-content .label {
    display: inline-block;
}

.entfernung .label{
    display: inline;
}

.deactivatedData {
    display: inline-block;
    padding: 4px 7px;
    color: var( --e-global-color-secondary );
    background-color: #E0EFFF;
    border: 1px solid #9EB6D4;
    border-radius: 3px;
}

.mapList .deactivatedData {
    float: right;
    text-align: right;
    clear: both;
}

.listpager {
    text-align: right;
    padding: 10px 0;
}

.maplistpage{
    /*border: 2px solid red;*/
    display: none;
    margin-bottom: 10px;
}

.currentPage {
    display: block;
}

.pagerLabel {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}

.pagerLink {
    font-size: 14px;
    display: inline-block;
    padding: 3px 9px;
    background-color: var( --e-global-color-secondary );
    margin: 0 0 0 5px;
    border-radius: 12px;
    color: #FFF!important;
    text-decoration: none!important;
}
.pagerLink:hover {
    background-color:var( --e-global-color-text );
}

.currentPageLink {
    background-color: var( --e-global-color-text );
}

.inputLoading {
    background: url('../images/ajax-loader-input.gif') no-repeat 55px center!important;
    -moz-transition: none;
    -webkit-transition: none;
    -o-transition: color 0 ease-in;
    transition: none;
}

/* jquery-ui Autocomplete */
.ui-widget {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}
.ui-widget-content{
    background: transparent;
    border:1px solid rgba(0,0,0,0.15);
    background-color: #f9f9f9;
}

.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
    border:0;
    background: transparent;
    background-color: var( --e-global-color-text );
    color: #FFF;
}
.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br {
    border-radius:0;
}

.ui-menu .ui-menu-item a.ui-state-focus,
.ui-menu .ui-menu-item a.ui-state-active {
    margin:0;
}


.ui-menu .ui-menu-item a {
    text-decoration: none;
    display: block;
    padding: 2px 6px;
    line-height: 1.5;
    min-height: 0;
    font-weight: normal;
}

/*input styles*/

.text-input{
  position: relative;
}

.text-input label {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight:bold;
}

.text-input input[type="text"]{
    display: inline-block;
    width:100%;
    height: 40px;
    border:0;
    background-color:#f9f9f9;
    color:var( --e-global-color-secondary );
    box-sizing: border-box;
    outline: 1px solid rgba(0,0,0,0.15);
    border-radius: 0;
    padding: 10px 10px 10px 145px;
    transition: all 0.1s ease-out;
  }

 .text-input input[type="text"] + label{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: 40px;
    line-height: 40px;
    color: white;
    border-radius: 0;
    padding: 0 20px;
    background: var( --e-global-color-text );
    transform: translateZ(0) translateX(0);
    transition: all 0.3s ease-in;
    transition-delay: 0.2s;
    outline: 1px solid var( --e-global-color-text );
  }

 .text-input input[type="text"]:focus + label{
    transform: translateY(-120%) translateX(0%);
    border-radius: 0;
    transition: all 0.1s ease-out;
  }

 .text-input input[type="text"]:focus{
    padding: 10px;
    transition: all 0.3s ease-out;
    transition-delay: 0.2s;
  }
