#map-selector-container{
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#map-selector-container .controls-wrapper{
  top: 10px;
  right : 10px;
  text-align: right;
  position: absolute;
  z-index: 10;
}

#map-selector-container .controls-wrapper .button .dashicons{
  vertical-align: middle;
}

.map-wrapper{
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 3px;
}

#map-selector-container .results{
  position: absolute;
  z-index: 10;
  bottom: 10px;
  width: auto;
  margin: 0 auto;
  text-align: center;
  background-color: white;
  border-radius: 50px;
  padding: 5px 20px;
  left: auto;
  right: auto;
}

#map-selector-container select{
  min-width: 200px;
}

.input-with-button{
  position: relative;
  margin-bottom: 5px;
}

.input-with-button input{
  width: 100%;
  padding: 5px 40px 5px 8px;
  border-radius:3px;
  margin: 0;
}

.input-with-button button{
  position: absolute;
  right: 0;
  bottom: 0px;
  width: 35px;
  text-align: center;
  background-color: #0085ba;
  border: solid 1px #00709d;
  color: white;
  border-radius: 0px 3px 3px 0px;
  padding: 3px 0 4px 0px;
  text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799;
}

label > p{
  margin: 5px 0;
}

.label-block{
  display: block;
  width: 100%;
  padding: 5px 0px;
}

.label-block input, .label-block select, .label-block textarea{
  width: 100%
}

.label-block textarea{
  resize: vertical;
  min-height: 150px;
}

#map-lock-overlay{
  display:block;
  background-color: rgba(0,0,0,0.7);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
}

#map-lock-overlay.hidden{ display: none; }

#placesdiv{ display : none !important; }

.vertical-align-center-wrapper{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.vertical-align-center-wrapper.center-block{
  left: 0;
  right: 0;
}

.input-label-wrapper{
  display: table;
  width: 100%;
}

.input-label-wrapper .input-label{
  background-color: white;
  border: solid 1px #eee;
  padding: 3px 8px 2px 8px;
  margin-right: -2px;
  margin-top: 1px;
  border-radius: 3px 0px 0px 3px;
  display: table-cell;
  height: 25px;
}

.input-label-wrapper input{
  display: table-cell;
  margin: 0;
}

.button.button-danger{
  background-color: #a00;
  color: white;
  background: #ba0000;
  border-color: #aa0000 #990000 #990000;
  box-shadow: 0 1px 0 #990000;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 -1px 1px #990000, 1px 0 1px #990000, 0 1px 1px #990000, -1px 0 1px #990000;
}

.button.button-danger:hover{
  background: #c20000;
  border-color: #990000;
  color: #fff;
}

.button.button-danger:focus{
  background: #c20000;
  border-color: #990000;
  color: #fff;
  box-shadow: 0 1px 0 #aa0000, 0 0 2px 1px #db3434;
}

.button.button-danger:active{
  background: #aa0000;
  border-color: #990000;
  box-shadow: inset 0 2px 0 #990000;
  vertical-align: top;
}

.delete-link{
  display: inline-block;
  color: #aa0000;
  padding: 4px 0 5px 0;
}

.delete-link:hover{
  color: #990000;
}

.modal-wrapper{
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999999;
}

.modal-wrapper .modal-overlay{
  position: absolute;
  height: 100%;
  background: rgba(0,0,0,0.8);
  width: 100%;
  z-index: -1;
}

.modal-wrapper .modal-container{
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  max-height: 400px;
  margin: auto;
  left: 0;
  right: 0;
  max-width: 350px;
  border-radius: 3px;
  overflow: hidden;
}

.modal-wrapper .modal-container iframe{
  width: 100%;
  height: 100%;
}

.modal-wrapper .modal-container .close-button{
  position: absolute;
  z-index: 999999;
  left: 10px;
  top: 10px;
}

.file-preview-container{
  position: relative;
  max-width: 200px;
  max-height: 200px;
  margin: 15px auto;
  padding: 10px;
  border-radius: 3px;
  overflow: hidden;
  background-color: #edededed;
}

.file-preview-container:before{
  content: "\f498";
  font-family: "dashicons";
  display: block;

  position: absolute;
  top: 50%;
  left: 0;
  right: 0;

  width: 3rem;
  height: 3rem;
  margin: 0 auto;

  font-size: 3rem;
  z-index: 1;
}

.file-preview-container .file-preview-image {
  width: 100%;
  padding-top: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;

  -webkit-background-size: cover;
  background-size: contain;

  background-repeat: no-repeat;
  background-position: center center;
}

.file-preview-container .file-preview-remove-button{
  color: #aa0000;
  border: solid 2px #aa0000;
  border-radius: 100%;
  padding: 2px;

  position: absolute;
  right: 5px;
  top: 5px;
  cursor: pointer;
  z-index: 10;
}
