
#message {
    position: absolute;
    bottom: 20px;
    left: 10px;
    background: yellow;
    opacity: 0.7;
    padding: 6px 16px;
    color: black;
    text-align: left;
    line-height: 1.5;
    border: none;
    z-index: 3000;
}

#message a {
    color: blue;
}

#title {
    position: absolute;
    width: 500px;
    min-width: 300px;
    margin: 0 auto;
    left: 0;
    right: 0;
    top: 10px;
    padding: 6px;
    border-radius: 6px;
    background-color: white;
    opacity: 0.9;
    z-index: 1000;
}

#titleview {
    text-align: center;
}

#titleinput {
    width: 100%;
    border-width: 0;
    padding: 0;
    text-align: center;
}

#titleedit {
    border: 1px #444 solid;
    padding: 2px;
}

#editraw {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background-color: black;
    opacity: 0.5;
    z-index: 1001;
    /*display: none;*/
    visibility: hidden;
}

#historybox, #editrawbox {
    width: 70%;
    height: 50%;
    margin: auto;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    opacity: 1.0;
    background-color: white;
    z-index: 1002;
    /*display: none;*/
    visibility: hidden;
}

#editrawta {
    border: none;
    padding: 0;
    resize: none;
    width: 100%;
    height: 100%;
}

#editrawtad {
    position: absolute;
    left: 6px;
    top: 6px;
    right: 6px;
    bottom: 30px;
    border: 1px solid black;
    padding: 4px;
}

#editrawbottom {
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 0px;
    text-align: left;
    line-height: 30px;
}

#fm {
    position: absolute;
    visibility: hidden;
    width: 0;
    height: 0;
    left: 0;
    top: 0;
}

#historybox {
    width: 500px;
}

#historybox .buttons {
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 30px;
}

#historybox h2 {
    font-size: 12pt;
    text-align: center;
    margin: 0;
    line-height: 30px;
}

#histlistcontainter {
}

#historylist {
    overflow-y: auto;
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 0;
    right: 0;
}

.history-entry {
    /*border-top: 1px solid #ddd;
    padding-top: 4px;*/
    margin: 0 8px 8px;
    text-align: left;
}

.history-entry .date {
    font-size: 10pt;
    color: #666;
}

.history-entry .edit {
    float: right;
    font-size: 10pt;
}

.history-entry .delete {
    float: right;
    font-size: 10pt;
    padding-right: 1em;
}

.history-entry .delete a {
    color: #bbf;
}

.history-entry .title {
    clear: both;
}

.history-entry .title a {
    color: black;
}

.leaflet-draw-draw-marker, .leaflet-draw-draw-polyline {
    display: none !important;
}

#mapedit {
    height: calc(100vh - 118px);
    margin: 0;
}
#mapedit .search-bar  a{
    margin-top:0px !important;
}
#mapedit .search-bar input{
    height:30px; !important;
    background: transparent !important;
}

.leaflet-bar.leaflet-control form {
    display: block !important;
    position: relative;
    z-index: 999 !important;
}

.leaflet-bar.leaflet-control form input, .leaflet-bar.leaflet-control form input:focus {
    border: none !important;
    outline: 0 !important;
}

a[title='Search for a location'] {
    margin-top: 2px;
    margin-left: 4px;
}

.leaflet-top.leaflet-right {
    display: none;
}

.leaflet-control-attribution.leaflet-control {
    display: none;
}

.leaflet-popup-content input[value="Close"] {
    display: none;
}

.leaflet-draw-section {
    visibility: hidden;
}

.leaflet-draw-tooltip.leaflet-draw-tooltip-single {
    z-index: 99999;
}
#confirm-areas {
    margin-top: 30px;
    margin-left:20px;
    margin-right:20px;
}

/*a[title="Search for a location"]{
    display:none !important;
}*/

.search-bar {
    position: absolute !important;
    left: 40px !important;
    top: 0 !important;
    width: 400px;
    background: #fff;
    height: 30px !important;
    line-height: 30px !important;
}

.remove-point svg{
    display:inline !important;
}
@media (min-width: 768px) {
    .remove-point-mobile{
        display:none !important;
    }
}
@media (max-width: 768px) {
    .search-bar{
        width:calc(100vw - 100px)
    }
    #mapedit {
        height: 100vh!important;
        width:100vw;
        position:fixed;
        top:0;
        left:0;
        margin: 0;
    }
    .remove-point-desktop{
        display:none !important;
    }

    #tool-modal-content-wrapper {
        padding: 0 !important;
    }

    #tool-modal-content {
        right: auto !important;
        top: auto !important;
        position: fixed !important;
        bottom: 0;
        left: 0 !important;
        width: 100% !important;
        overflow-y: scroll !important;
        max-width: 100% !important;
    }

    #confirm-areas {
        width: 100%;
        margin-top: 30px;
        position: relative;
        margin-left:0px;
        margin-right:0px;
    }

    #coords-wrapper ul{
        padding:5px 0;
    }

    .toggler {
        text-align: center;
        font-size: 41px;
    }

    .toggler .arrow-down-up {
        width: 100%;
        height: 50px;
        margin-top: -20px;
        padding-top: 20px;
    }

    .toggler .arrow-down-up svg{
        margin: 0 auto;
        zoom:150%;
        margin-top:5px;
    }

    .collapsed-content {
        bottom: -220px !important;
        border-bottom-right-radius: 0px;
        border-bottom-left-radius: 0px;
    }

    #mobile-draw-button {
        position: absolute;
        z-index: 999;
        bottom: 58px;
        left: 20px;
        width: calc(100vw - 40px);
    }

    .toggled#mobile-draw-button {
        bottom: 279px !important;
    }

    #selected-areas{
        overflow-y: scroll;
        height: 218px;
    }

    #tool-modal-content-wrapper{
        width:100%;
        height:100%;
    }


}

