
div.map-extent {
    font-size: 12px; 
    margin: 8px 0 0 5px;
}

div.map-extent span {
    white-space:nowrap;
    display: inline-block;
}

div.map-extent span::first-letter {
    color: darkgray;
}

/** View mode **/

.atons {
    background-color: #eee;
}

/** View mode -> Grid **/

.aton-grid-item {
    /** min-width: 280px; **/
    height: 60px;
    margin: 10px 5px 5px 5px;
    background-color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-size: 12px;
}

.aton-grid-item table {
    width: 100%;
    height: 100%;
    table-layout: fixed; /** Ensures that text overflow works **/
}

.aton-grid-item div {
    white-space:nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aton-grid-item .small-text {
    font-size: 10px;
    color: #666;
}

.aton-grid-item td.select-btn {
    font-size: 12px;
    vertical-align: middle;
    text-align: center;
    padding-top: 3px;
    border-left: 1px dotted lightgray;
    cursor: pointer;
}

.aton-grid-item td.move-btn {
    font-size: 12px;
    color: lightgray;
    vertical-align: middle;
    text-align: center;
    padding-top: 3px;
    border-right: 1px dotted lightgray;
    cursor: move;
    cursor: -webkit-grabbing;
}

.aton-edit-btn {
    color: gray;
    background: transparent;
    border: 1px solid lightgray;
    position: absolute;
    bottom: 5px;
    right: 10px
}

.aton-edit-btn:hover {
    background: lightgray;
}

.aton-selected {
    color: white;
    background-color: darkred;
}

/** View mode -> Selection **/

.aton-selection {
    background-color: white;
}

.aton-btn-panel {
    border: 1px solid rgba(100, 50, 100, 0.3);
    text-align: center;
    padding: 5px;
    margin-bottom: 10px;
}

.aton-btn {
    margin-top: 5px;
    width: 340px
}

.aton-feature-collection-panel {
    margin: 10px 5px 5px 0;
    padding: 10px;
    border: 1px solid lightgray;
    background-color: #eee;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.aton-selection-map {
    width: 100%;
    height: 200px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

@media (min-width: 600px) {
    .aton-selection-map {
        height: 300px;
    }
}

/** View mode -> Map **/

.atons .selection-panel {
    position: relative;
    z-index: 100;
    width: 100%;
    background-color: lightgray;
}

.atons .selection-panel-header {
    text-align: center;
    font-size: 12px;
    line-height: 24px;
    background-color: #666;
    height: 34px;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(50, 50, 50, 0.5);
}

.atons .selection-panel-atons {
    -webkit-padding-end: 15px; /** NB: Only safari needs this, not chrome **/
    max-height: 300px;
    overflow-y: scroll;
    box-shadow: 0 2px 4px rgba(50, 50, 50, 0.5);
}

@media (min-width: 600px) {
    .atons .selection-panel {
        width: 340px;
        margin: 10px 0 0 10px;
    }

    .atons .selection-panel-atons {
        max-height: 500px;
    }
}

.atons-map {
    position: fixed;
    top: 50px;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #b5d0d0;
}

.atons-map .ol-zoom {
    top: auto;
    bottom: 10px;
}

/** AtoN Details Editor **/

div.aton-details-editor {
    font-size: 12px;
    width: 100%;
    max-height: 300px;
    overflow-y: scroll;
    overflow-x: hidden;
    padding-right: 15px;
    padding-bottom: 10px;
}

.aton-svg-image {
    width: 100%;
    height: 200px;
    border: 1px solid #ddd;
    background-color: #eee;
    margin: 10px auto;
}

table.osm-tags {
    width: 100%;
}

td.osm-tag-info, th.osm-tag-info {
    padding: 3px 5px;
}

td.osm-tag, th.osm-tag {
    font-size: 11px;
    width: 50%;
    padding: 3px;
}

td.osm-tag-btns {
    font-size: 11px;
    width: 30px;
    padding: 5px;
    text-align: center;
    white-space: nowrap;
}

td.osm-tag-btns a {
    color: darkgray;
}

td.osm-tag .ui-select-search, td.osm-tag .btn-xs {
    font-size: 11px;
}

.edit-tag-label {
    width: 100%;
    cursor: pointer;
}

.edit-tag-editor {
    width: 80%;
    white-space: nowrap;
}

.edit-tag-editor input {
    width: 100%;
}

.edit-tag-btn {
    cursor: pointer;
    margin-left: 5px;
}

