.map-container {
  text-align: left;
}
/* Sortable list */
.sortable-list .list-item {
  background-color: #fff;
  margin-top: 9px;
}

.sortable-list .list-item-handle {
  border: 1px solid #dfdfdf;
  box-shadow: 1px 1px rgba(0, 0, 0, .04);
  cursor: move;
  padding: 10px 15px;
}

.sortable-list .list-item-handle:hover {
  border-color: #999;
}

.sortable-list .list-item-placeholder {
  margin-top: 9px;
  border: 1px dashed #bbb;
}

.sortable-list .menu-item-title {
  color: #222;
  line-height: 20px;
  font-size: 13px;
  font-weight: 600;
}

.sortable-list .menu-item-toggle {
  float: right;
  color: #aaa;
  width: 20px;
  height: 20px;
  margin-right: -5px;
  outline: none;
}

.sortable-list .menu-item-toggle:before {
  display: inline-block;
  font: 400 20px/1 dashicons;
  content: '\f140' !important;
  text-decoration: none !important;
}

.sortable-list .menu-item-toggle.opened:before {
  content: '\f142' !important;
}

.sortable-list .list-item-settings {
  background-color: #fff;
  color: #444;
  display: none;
  padding: 10px;
  border: 1px solid #e5e5e5;
  border-top: none;
  box-shadow: 1px 1px rgba(0, 0, 0, .04);
}

.mapplic-list-location > a.list-item-handle {
  border: none !important;
}

/* Sidebar list */
.mapplic-list {
  font-size: 12px;
  height: auto;
  padding-bottom: 10px !important;
}

.mapplic-list-container {
  height: auto;
  position: relative;
  padding-top: 0;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow-x: hidden;
  overflow-y: auto;
}

/* General styles */
.postbox label {
  font-style: italic;
  display: inline-block;
  margin-bottom: 8px;
  width: 100%;
}

#minor-publishing label {
  display: inline;
}

.postbox label input[type=text],
.postbox label select {
  margin-top: 4px;
}

.right {
  float: right;
}

.mapplic-landmark-field,
.input-select,
.input-text {
  width: 100%;
  margin-bottom: 10px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.input-text.buttoned {
  width: 75%;
}

/* Media button */
.media-button {
  vertical-align: baseline !important;
}

.media-button .dashicons {
  line-height: 24px !important;
}

/* Landmark metabox */
.duplicate-landmark,
#new-landmark {
  margin-top: 6px !important;
}

#landmark-settings {
  display: none;
  margin-top: 12px;
}

#landmark-settings .latitude-input {
  margin-right: 5%;
}

#wp-descriptioninput-wrap {
  margin-bottom: 20px;
}

.sortable-list .list-item-settings input[type="checkbox"] {
  float: left;
  margin-right: 10px;
  margin-top: 2px;
}

.list-item-settings .item-delete {
  color: #a00;
}

.list-item-settings .item-delete:hover {
  color: red;
}

.list-item.new-item {
  display: none;
}

input[type="text"] {
  margin-bottom: 10px;
}

input[type="button"] {
  outline: none;
}

/* Admin map */
#mapplic-admin-map {
  width: 100%;
  float: right;
  margin-top: 10px;
  margin-bottom: 20px;
  height: 480px;
}

/* Search */
.mapplic-search-input {
  margin: 0 !important;
}

/* Zoom level */
.mapplic-zoomlevel {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 3px;
  position: absolute;
  font-size: 14px;
  margin: 10px;
  padding: 4px 6px;
  top: 0;
  left: 0;
  opacity: 0.95;
}

/* Location ID */
.mapplic-locationid {
  background-color: #222;
  color: #fff;
  cursor: pointer;
  position: absolute;
  margin: 10px;
  padding: 4px 6px;
  font-size: 14px;
  top: 0;
  left: 0;
}

/* Pins */
.selected-pin {
  border-radius: 10px;
  box-shadow: 0 2px 4px #049cc5 !important;
}

.mapplic-pin.hidden {
  background-image: url(imagestarget.svg);
  background-size: 20px 20px;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  display: block;
}

.mapplic-pin {
  transition: none !important;
}

.mapplic-pin.hidden,
.mapplic-pin.no-fill {
  background-color: transparent !important;
}

#pins-input {
  margin-top: 0;
  margin-bottom: 10px;
  max-height: 100px;
  overflow-y: auto;
}

#pins-input > li {
  background-color: #f8f8f8;
  border: 1px solid #eee;
  cursor: pointer;
  display: inline-block;
  margin: 2px;
  position: relative;
  width: 24px;
  height: 32px;
  transition: border-color 0.1s ease-in-out;
}

#pins-input > li.selected {
  border-color: #5b9dd9;
  box-shadow: 0 0 2px rgba(30,140,190,0.8);
}

#pins-input .mapplic-pin {
  position: absolute;
  margin-top: -50%;
  top: 50%;
  left: 50%;
}

/* Geoposition Metabox */
#geopos {
  padding-top: 8px;
}

.geopos-field {
  width: 46%;
}

#leftLng.geopos-field {
  margin-right: 5%;
}
#bottomLat.geopos-field {
  margin-bottom: 0;
}

.geopos-corner {
  width: 5%;
  height: 10px;
  display: inline-block;
  margin: 0 9%;
  border: 2px solid #eee;
}

.geopos-corner.tl {
  border-bottom: none;
  border-right: none;
}


.geopos-corner.tr {
  border-bottom: none;
  border-left: none;
}

.geopos-corner.bl {
  border-top: none;
  border-right: none;
}

.geopos-corner.br {
  border-top: none;
  border-left: none;
}

.landmark-geolocation {
  display: none;
}

/* Outline */
.mapplic-element a:active {
  outline: none;
}

.mapplic-element a:focus {
  -webkit-box-shadow: none;
  box-shadow: none;
}

/* Level select */
.mapplic-levels-select {
  box-shadow: none;
  height: auto !important;
  line-height: 1em !important;
  padding: 10px 6px !important;
}

/* Settings panel */
#settings label {
  max-width: 240px;
}

label.field-small {
  display: inline-block;
  margin-right: 10px;
}

.field-medium input {
  max-width: 290px;
}

/* Mapdata */
#mapplic-mapdata {
  margin-top: 10px;
  width: 100%;
}

.mapplic-rawedit {
  margin: 20px 0 10px 0;
  display: none;
}

/* Mapplic logo */
.mapplic-logo {
  display: inline-block;
  margin-left: 1px;
}

/* Remove Draft */
#minor-publishing-actions {
  display: none;
}

/* Help toggle */
.help-toggle {
  opacity: 0.5;
  cursor: pointer;
  transition: 0.1s opacity;
}

.help-toggle:hover {
  opacity: 1;
}

.help-content {
  display: none;
}

/* colorpicker */
.wp-picker-container {
  display: inline-block;
}

.wp-picker-container label {
  width: auto;
}

/* Image pin */
.mapplic-pin.pin-image {
  background-image: url(imagespin-image.png);
  background-size: 20px;
  background-position: center;
  border-radius: 50%;
  box-sizing: content-box;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  border: 2px solid #fff;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  transform-origin: 50%;
}

/* Interactive Elements */
[id^=landmarks] > *:hover {
  opacity: 0.8;
}



.mapplic_map_modal {
  display: none;
}

.ui-dialog,
.cke_dialog {
  z-index: 100001 !important;
}

.mapplic_map_modal_box {
  display: flex;
  justify-content: center;
  position: fixed;
  z-index: 100000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.mapplic_map_modal-content {
  margin: auto;
  padding: 20px;
  width: fit-content;
}

#mapplic_map_newdialog .mapplic_map_modal-content {
  background-color: rgba(9, 21, 23, 0.5);
  border-radius: 5px;
}

#mapplic_map_modal_form .mapplic_map_modal-content {
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 5px;
  max-width: 500px;
}
#mapplic_map_modal_form_cat .mapplic_map_modal-content {
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 5px;
  max-width: 500px;
}
.mapplic_map-btn_panel {
  float: right;
}
.mapplic_map-btn_panel:after {
  clear: both;
}
.mapplic_map_modal-list {
  margin-top: 10px;
  display: flex;
  flex-flow: wrap;
}

.mapplic_map_modal-list:after {
  clear: both;
}

.mapplic_map_modal-btn {
  margin: 0 10px;
  outline: none;
  color: #e8e8e8;
  background: #353131;
  border-radius: 5px;
  border: 1px solid #bababa;
}

.mapplic_map_modal-btn:active {
  border: 1px solid #cecece;
}
.mapplic_map-btn_panel .mapplic_map_modal-btn {
  font-weight: bold;
}
.mapplic_map-btn_panel .mapplic_map_modal-btn.mp-light {
  background: #3a3a3a;
  border-radius: 4px;
}
.mapplic_map-btn_panel .mapplic_map_modal-btn.mp-color {
  background: #1dad63;
  border-radius: 4px;
}
.mapplic_map-btn_panel .mapplic_map_modal-btn.mp-color:hover {
  background: #086d39;
}
.mapplic_map-btn_panel .mapplic_map_modal-btn.mp-color:active {
  background: #034423;
  border-radius: 5px;
}
.mapplic_map-btn_panel .mapplic_map_modal-btn.mp-light:hover {
  background: #545252;
}
.mapplic_map-btn_panel .mapplic_map_modal-btn.mp-light:active {
  background: #212121;
  border-radius: 5px;
}
.mapplic_map_modal-btn:hover,
.mapplic_map_modal-btn:focus {
  outline: none;
}

.filter {
  margin-right: 20px;
  width: 317px;
  height: 69px;
  border-radius: 4px;
  background-color: #ffffff;
  box-shadow: 0 0 30px 0 rgba(199, 199, 199, 0.25);
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 20px;
  margin-bottom: 20px;
}

/* The Close Button */

.mapplic_map_modal-close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}

.mapplic_map_modal-close:hover,
.mapplic_map_modal-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.mapplic_map_form .mapplic_map_form-row {
  display: flex;
}
#mapplic_map-message-alert {
  margin: 10px;
  padding: 10px;
  font-weight: bold;
}
.mapplic_map-message-error-alert {
  border: 1px solid #b71919;
  color: #b71919;
}
.mapplic_map-message-success-alert {
  color: #0f680f;
  border: 1px solid #0f680f;
}
.mapplic_map_form .js-form-type-textfield input {
  background: rgba(0, 0, 0, 0.9);
  color: #f7f7f7 !important;
  width: 100%;
  border: 1px solid #b5b5b5;
}

.mapplic_map_form label {
  color: #f7f7f7;
}

.mapplic_map_modal-btn_mod {
  display: none;
}
.mapplic_map_form-data-delete {
  float: right;
}
.mapplic_map_form-data-delete button {
  margin: 0 10px;
  outline: none;
  color: #e8e8e8;
  background: #353131;
  border-radius: 5px;
  border: 1px solid #bababa;
}
.mapplic_map_form-data-delete button:hover {
  background: #bc0d0d;
}
.mapplic_map_form-data-delete button:active {
  border: 1px solid #cecece;
}
.mapplic_map_form-data-delete button:hover,
.mapplic_map_form-data-delete button:focus {
  outline: none;
}
