.leaflet-hidden {
	display: none;
}

.title-control {
    left: 10px;
    position: absolute;
    font-weight: bold;
    top: 5px;
}

.icon-active {
  background-color: #ffc !important;
}

.icon-bookmarks {
  cursor: pointer;
  background-image: url(images/bookmark.png) !important;
  width: 44px !important;
  height: 44px !important;
}

.bookmarks-save-button {
    cursor: pointer;
    background-image: url(images/save.png) !important;
    width: 24px !important;
    height: 24px !important;
}

.bookmarks-import-button {
    cursor: pointer;
    background-image: url(images/import.png) !important;
    width: 24px !important;
    height: 24px !important;
}


/* === CONTROL === */
.leaflet-control-bookmarks-form-container {
    max-height: 150px;
}

.leaflet-control-bookmarks-button {
    background-image: url("images/bookmark.png");
}

.leaflet-control-bookmarks-form-open {
    width: 300px;
    max-height: 150px;
    background-color: #fafafa;
}

.leaflet-control-bookmarks-form-open > a {
    display: none;
}

/* Bookmarks Form Exit bar */
.leaflet-control-bookmarks-exit-bar {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    height: 20px;
}

.leaflet-control-bookmarks-exit-bar > a {
    text-decoration: none;
    color: black;
    cursor: pointer;
}

/* Bookmarks list container */
.bookmarks-list-wrapper {
    max-height: 100px;
}

.bookmarks-list {
    max-height: 90px;
}

.leaflet-control-bookmarks-form-list-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.leaflet-control-bookmarks-form-picker-container {
    display: block;
    flex-direction: row;
    gap: 10px;
    padding: 5px;
    justify-content: center;
    flex-wrap: nowrap;
    max-height: 130px;
}

.leaflet-control-bookmarks-form-list-container > button {
    width: 100%;
}

.leaflet-control-bookmarks-form-list-box {
    display: flex;
    flex-direction: column-reverse;
    gap: 3px;
    flex-grow: 1;
    max-height: 130px;
}

.leaflet-control-edition-layer-selector-box > select {
    width: 100%;
    height: 25px;
}

.leaflet-control-bookmarks-form-picker-container .add-bookmark-button {
    display: inline-block;
    width: 100%;
    line-height: 2;
    cursor: pointer;
    padding-left: 5px;
    font-weight: bold;
}

.leaflet-control-bookmarks-form-picker-container .add-bookmark-button .content {
    margin-right: 15px;
    padding-left: 5px;
}

.leaflet-control-bookmarks-form-picker-container .add-bookmark-button .plus {
    background: #002f42;
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    color: #ffffff;
    padding: 0 0 0 4px;
    line-height: 14px;
}

.leaflet-control-bookmarks-form-picker-container .add-bookmark-button:hover .content {
    text-decoration: underline;
}

.leaflet-control-bookmarks-form-list-box .bookmarks-list {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: auto;
}

.leaflet-control-bookmarks-form-list-box .bookmarks-list .bookmark-item {
    cursor: pointer;
    transition: opacity 0.25s linear;
    -webkit-transition: opacity 0.25s linear;
    padding: 5px;
    border-bottom: 1px solid #eeeeee;
}

.leaflet-control-bookmarks-form-list-box .bookmarks-list .bookmark-item:hover {
    background: #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

.leaflet-control-bookmarks-form-list-box .bookmarks-list .bookmark-name {
    font-weight: bold;
}

.leaflet-control-bookmarks-form-list-box .bookmarks-list .bookmark-remove {
    display: inline-block;
    position: relative;
    float: right;
    margin-left: 6px;
    font-size: 1.5em;
    color: #777777;
    opacity: 0;
    z-index: 30;
    filter: alpha(opacity=0);
    transition: opacity 0.15s linear;
    -webkit-transition: opacity 0.15s linear;
}

.leaflet-control-bookmarks-form-list-box .bookmarks-list .bookmark-remove:hover {
    color: #0078a8;
    opacity: 1;
    filter: alpha(opacity=100);
}

.leaflet-control-bookmarks-form-list-box .bookmarks-list .bookmark-item:hover .bookmark-name {
    text-decoration: underline;
}

.leaflet-control-bookmarks-form-list-box .bookmarks-list .bookmark-item:hover .bookmark-remove {
    opacity: 0.6;
    filter: alpha(opacity=60);
}

.leaflet-bookmarks-form {
    padding-top: 10px;
    width: 200px;
}

.leaflet-bookmarks-form .leaflet-bookmarks-form-input,
.leaflet-bookmarks-form .leaflet-bookmarks-form-button {
    display: table-cell;
}

.leaflet-bookmarks-form .leaflet-bookmarks-form-input {
    font-size: 13px;
    padding-left: 5px;
    padding-right: 5px;
    line-height: 19px;
    border: 1px solid #cccccc;
    border-radius: 3px 0 0 3px;
    margin-top: 2px;
}

.leaflet-bookmarks-form .leaflet-bookmarks-form-input,
.leaflet-bookmarks-form .leaflet-bookmarks-form-input:focus {
    outline-color: transparent;
    outline-style: none;
}

.leaflet-bookmarks-form .leaflet-bookmarks-form-button {
    border: 0;
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 -2px -2px;
    position: relative;
    top: 1px;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    height: 2.2em;
}