.margin-btm{
    margin-bottom: 14px;
}

#message{
    display: block;
    width: 100px;
    position: fixed;
    text-align: center;
    top: 5px;
    right: 5px;

    padding: 12px;
    border-radius: 4px;
}

.loading{
    background-color: rgb(255,240,240);
}

.holder {
    position: relative;
    width: inherit;
    display:inline-block;
    margin: 0 auto;
    margin-bottom: 5px;
    border: 1px solid black;
    padding: 10px;
}

.image {
    position: relative;
    /*width: 20%;*/
    display:inline-block;
    margin-bottom: 10px;

}

h2 {
    position: absolute;
    z-index: 2;
    bottom: 3px;
    /*left: 241px;*/
    width: 100%;
    text-align: center;
}

h2 span { 
    color: white; 
    font: bold 24px/45px Helvetica, Sans-Serif; 
    letter-spacing: -1px;  
    background: rgb(0, 0, 0); /* fallback color */
    background: rgba(0, 0, 0, 0.5);
    padding: 5px; 

}

h2 span.spacer {
    padding:0 5px;
}

.DistanceTreshold {
    position: absolute;
    z-index: 5;
    top: 45px;
    left: 33px;
    text-align: left;
    background: rgb(255, 0, 0); /* fallback color */
    background: rgba(255, 0, 0, 0.7);
    width: 416px;
    height: 5px;
}

.DistanceTreshold span { 
    color: white; 
    font: bold 12px/24px Helvetica, Sans-Serif; 
    letter-spacing: -1px;  

    padding-left: 10px; 
}

.DistanceTreshold span.spacer {
    padding:0 5px;
}

.WasteDistance {
    position: absolute;
    z-index: 1;
    bottom: 69px;
    left: 33px;
    text-align: right;
    background: rgb(0, 0, 0); /* fallback color */
    background: rgba(0, 0, 0, 0.4);
    width: 416px;
}

.WasteDistance span {
    color: white; 
    font: bold 12px/24px Helvetica, Sans-Serif; 
    letter-spacing: -1px;  
    padding-right: 20px; 
}

.edit {
    /*position: absolute;*/
    z-index: 5;
    top: 5px;
    right: -2px;
    width: fit-content;
    /*height: 35px;*/
    /*border: 2px solid black;*/
}

.edit label {
    font-size: larger
}

/*************** NO SPINNERS *******************/

.no-number-spinner input[type=number]::-webkit-outer-spin-button,
.no-number-spinner input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-number-spinner input[type=number] {
    -moz-appearance:textfield;
}

/***********************************************/

.modal-body {
    position: initial;
}

.map_container {
    height: 580px;
    position: initial;
    overflow: visible;
}

#map_container * {
    overflow: visible;
}