
.edit_block {
  display: block;
  width: 80%;
  max-width: 240px;
  margin: .4em auto;
  background-color: rgba(0,0,0,.5);
  color: #ff0;
  font-size: 14px!important;
  font-weight: normal;
  text-shadow: 1px 1px 1px transparent;
  padding: 0.5em;
  text-decoration: none;
  text-transform: none;
  text-align: center;
  position: relative;
}

.buttons .edit_block {
  display: block !important;
  margin: 0 auto;
}

.buttons .edit_block:after {
  content: '';
  display: block;
  clear: both;
}

.edit_block:hover {
  background-color: rgba(255,255,0,1);
  color: #000;
}

.edit_block_modal {
  padding: .5em 1em;
  background-color: #fff;
  z-index: 100;
  font-size: .8em;
  color: #000;
  position: absolute;
  right: 0.3em;
  top: 0.2em;
}


.edit_block_modal:hover {
  background-color: #ccf;
  color: #00f;
  border-color: #00f;
}

.block-edit-modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0,0,0,.7);
  z-index: 50000;
}

.block-edit-modal {
  position: absolute;
  width: 80%;
  min-width: 260px;
  max-width: 600px;
  max-height: 80vh;
  overflow: hidden;
  background: #fff;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  border-radius: .4em;
  z-index: 50001;
}

body.block-editing {
  overflow: hidden;
}

.block-edit {
  padding: 1em;
}

.block-edit label {
  display: block;
  margin-bottom: 1em;
}

.block-edit label div.label {
  margin-bottom: .4em;
  font-weight: bold;
}

.block-edit textarea, .block-edit input[type=text] {
  width: 97%;
  font-size: 1.3em;
  padding: .3em;
}

.block-edit textarea {
  height: 200px;
}

.block-edit .block-edit-trigger {
  border: 1px #000 solid;
  background-color: #000;
  color: #fff;
  cursor: pointer;
}

.block-edit .block-edit-trigger:hover {
  background-color: #fff;
  color: #000;
}

.block-edit h2 {
  font-size: 1.5em;
  margin-bottom: .65em
}

.edit-block-results {
  display: none;
}

.block-edit-close {
  cursor: pointer; 
}

.block-edit-modal-spinner {
  display: inline;
  position: absolute;
  top: 50vh;
  left: 50vw;
  background-color: #fff;
  padding: 0.1em;
  text-align: center;
  border-radius: 1em;
  line-height: 1;
  width: 32px;
  height: 32px;
}

.block-content-holder {
  display: inline;
}

.block-edit #block_image {
  width: 70%;
}

/*.block-edit #block_image_remove,
.block-edit #block_image_trigger {
  font-size: 1.3em;
  padding: .3em;
  background-color: #fff;
  color: #000;
  border: 1px #000 solid;
  cursor: pointer;
  width: 200px;
  margin-bottom: 10px;
}

.block-edit #block_image_remove:hover,
.block-edit #block_image_trigger:hover {
  background-color: #000;
  color: #fff;
}*/

.block-edit #block_image_preview {
  width: 100%;
  vertical-align: bottom;
  margin-right: .5em;
  border: 1px #ccc solid;
  margin-bottom: .3em;
}

.block-edit-spinner {
  vertical-align: top;
  display: none;
}

.block-edit .wp-core-ui .quicktags-toolbar input.button.button-small {
  min-width: 0;
  color: #000 !important;
}

form#wp-link {
  display: block;
}

.screen-reader-text, .screen-reader-text span, .ui-helper-hidden-accessible {
    border: 0;
    clip: rect(1px,1px,1px,1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal!important;
}