html, body {
    height: 100%;
    background-color: #f8f8f8;
}

#map {
    width: 100%;
    height: 550px;
    background-color: transparent;
}

leaflet-editing-icon {

}

.border {
    border: 1px solid #ccc;
    border-radius: 4px;
}

.navbar {
    margin-bottom: 0;
}


div.margin {
    margin-bottom: 5px;
}

.row {
    margin-left: 0;
    margin-right: 0;
}

.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
    padding: 5px;
}

.container-fluid {
    padding-right: 0;
    padding-left: 0;
}

span.h1,
span.h2,
span.h3,
span.h4 {
    padding-top: 5px;
}

/* Start by setting display:none to make this hidden.
   Then we position it in relation to the viewport window
   with position:fixed. Width, height, top and left speak
   for themselves. Background we set to 80% white with
   our animation centered, and no-repeating */
.divLoading {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, .8) 50% 50% no-repeat;
}

.divLoading .divLoadingIcon {
    position: absolute;
    top: 50%;
    left: 50%;
}

/* When the body has the loading class, we turn
   the scrollbar off with overflow:hidden */
body.loading {
    overflow: hidden;
}

/* Anytime the body has the loading class, our
   modal element will be visible */
body.loading .divLoading {
    display: block;
}

/* navbar */
.navbar-blue {
    background-color: #0078D7;
    border-color: #E7E7E7;
}

/* Title */
.navbar-blue .navbar-brand {
    color: #D3D3D3;
}

.navbar-blue .navbar-brand:hover,
.navbar-blue .navbar-brand:focus {
    color: #FFFFFF;
}

/* Link */
.navbar-blue .navbar-nav > li > a {
    color: #D3D3D3;
}

.navbar-blue .navbar-nav > li > a:hover,
.navbar-blue .navbar-nav > li > a:focus {
    color: #333;
}

.navbar-blue .navbar-nav > .active > a,
.navbar-blue .navbar-nav > .active > a:hover,
.navbar-blue .navbar-nav > .active > a:focus {
    color: #555;
    background-color: #E7E7E7;
}

.navbar-blue .navbar-nav > .open > a,
.navbar-blue .navbar-nav > .open > a:hover,
.navbar-blue .navbar-nav > .open > a:focus {
    color: #555;
    background-color: #D5D5D5;
}

/* Caret */
.navbar-blue .navbar-nav > .dropdown > a .caret {
    border-top-color: #777;
    border-bottom-color: #777;
}

.navbar-blue .navbar-nav > .dropdown > a:hover .caret,
.navbar-blue .navbar-nav > .dropdown > a:focus .caret {
    border-top-color: #333;
    border-bottom-color: #333;
}

.navbar-blue .navbar-nav > .open > a .caret,
.navbar-blue .navbar-nav > .open > a:hover .caret,
.navbar-blue .navbar-nav > .open > a:focus .caret {
    border-top-color: #555;
    border-bottom-color: #555;
}

/* Mobile version */
.navbar-blue .navbar-toggle {
    border-color: #DDD;
}

.navbar-blue .navbar-toggle:hover,
.navbar-blue .navbar-toggle:focus {
    background-color: #DDD;
}

.navbar-blue .navbar-toggle .icon-bar {
    background-color: #CCC;
}

@media (max-width: 767px) {
    .navbar-blue .navbar-nav .open .dropdown-menu > li > a {
        color: #FFFFFF;
    }

    .navbar-blue .navbar-nav .open .dropdown-menu > li > a:hover,
    .navbar-blue .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #333;
    }
}

#controlbox {
    position: absolute;
    left: 0;
    margin: 16px;
    top: 0;
    transition: left .5s;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    transition-property: -webkit-transform, transform, visibility, opacity;
    transition-duration: .2s;
    transition-timing-function: cubic-bezier(0, 0, .2, 1);
}

.searchbox {
    padding: 11px 10px 11px;
}

.searchbox-shadow {
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2), 0 -1px 0 rgba(0, 0, 0, .02);
}

.searchbox {
    position: relative;
    background: #fff;
    border-radius: 2px;
    box-sizing: border-box;
    width: 360px;
    height: 48px;
    border-bottom: 1px solid transparent;
    padding: 12px 70px 11px;
    transition-property: background, box-shadow;
    transition-duration: .3s;
}

/* TypeAhead - Searchbox  */
.typeahead__container {
    font: inherit;
}

.searchbox {
    padding: 11px 10px 11px;
}

.searchbox .typeahead__field {
    width: 340px;
}

.searchbox .typeahead__field input {
    border: none;
}

.searchbox .typeahead__container button {
    border: none;
}

.searchbox .typeahead__result {
    padding-top: 8px;
}

.searchbox .typeahead__list {
    padding-top: 0;
}

/* Leaflet Controls (Layout angleichen; keine runde Ecken etc.)*/
.leaflet-control-measure {
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0;
}

.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0;
}

.leaflet-popup-content-wrapper {
    border-radius: 0;
}

/*Standard-Cursor für Leaflet (ansonsten immer drag)*/
.leaflet-grab {
    cursor: auto;
}

.leaflet-control-layers-group-name {
    font-weight: bold;
}

.leaflet-control-layers-group input[type=checkbox] {
    margin-left: 20px;
}

.leaflet-control-layers-group-selector {
    margin-left: 3px !important;
    font-weight: bold !important;
}

.leaflet-control-layers-base label {
    display: block;
}

.leaflet-control-layers-header {
    height: 30px;
    border-bottom: 1px solid darkgrey;
    margin-right: -10px;
}

.dojoxFloatingPaneTitle {
    font-size: 14px;
    padding: 2px 4px 4px 6px !important;
    border-bottom: none !important;
    background-color: #eee;
    color: #666;
}

.dojoxFloatingCloseIcon {
    cursor: pointer;
    background: url(../img/buttons/Button_Delete_Square_black.png) no-repeat scroll 0 0 transparent;
    width: 16px;
    height: 16px;
    overflow: hidden;
    float: right;
    margin: 3px 0 0 0;
}

.leaflet-overlay-pane svg {
    z-index: 1000000 !important; /*z.B. Highlighting soll immer über allen Layern liegen*/
}

#divTextBox0 > .col-lg-12,
#divTextBox1 > .col-lg-12,
#divTextBox2 > .col-lg-12 {
    padding: 1px 5px 5px 5px;
}

/*EasyButton, EasyBar */
/*Control Icons*/
.rectangle-select {
    background: url(../img/control_icons/Tools_RectangleSelect.png);
    display: inline-block;
    background-size: cover;
    height: 100%;
    width: 100%;
    filter: grayscale(100%);
}

.polygon-select {
    background: url(../img/control_icons/Tools_PolygonSelect.png);
    display: inline-block;
    background-size: cover;
    height: 100%;
    width: 100%;
    filter: grayscale(100%);
}

.clear-select {
    background: url(../img/control_icons/Tools_ClearSelect.png);
    display: inline-block;
    background-size: cover;
    height: 100%;
    width: 100%;
    filter: grayscale(100%);
}

.leaflet-bar button {
    padding: 4px 4px 4px 4px;
}

.leaflet-layerstree-header-name {
    margin-left: 4px;
}

.leaflet-layerstree-header-label {
    margin-bottom: 0;
    font-weight: normal;
}

.leaflet-layerstree-node .leaflet-layerstree-children {
    padding-left: 20px;
}
