/* EDITOR DE CONTEUDO */
body.editor .barra-editing {
  background: var(--bs-danger);
  color: #fff;
  text-align: center;
  font-weight: 400;
  font-size: 13px;
  padding: 10px;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 9999;
}

body.editor .barra-editing-all-site {
  background: var(--bs-danger);
  text-align: center;
  color: #fff;
  font-size: 13px;
  padding: 5px;
}

body.editor .barra-editing strong,
body.editor .barra-editing a {
  font-weight: 800;
  color: #fff;
}

body.editor [data-editor] {
  border: 1px dashed red!important;
  transition: .2s ease-in-out!important;
}

body.editor [data-editor]:hover, body.editor [data-editor]:active, body.editor [data-editor]:focus {
  border: 2px solid red!important;
}

body.editor .editando[data-editor] {
  transform: scale(1.2);
  border: 2px solid red!important;
  background-color: #fff!important;
  color: #000!important;
  z-index: 99999999!important;
  position: relative!important;
  padding: 10px!important;
  border-radius: 6px!important;
}

body.editor .editando[data-editor] * {
  color: #000!important;
}

body.editor [data-editor][data-color="blue"],
body.editor [data-editor][data-color="blue"]:hover, body.editor [data-editor][data-color="blue"]:active, body.editor [data-editor][data-color="blue"]:focus,
body.editor .editando[data-editor][data-color="blue"] {
  border-color: blue!important;
}

body.editor .modal_edit_admin {
  z-index: 99999999;
}

body.editor #modalEditText {
  height: 380px;
}

body.editor #modalEditImage {
  height: 300px;
}

body.editor #modalEditBanner {
  height: 325px;
}

body.editor #modalEditText .note-editable {
  height: 190px!important;
}

body.editor .modal_edit_admin .preview {
  width: 100%;
  height: 150px;
  background: #d6d6d7;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

#backdrop_editor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,.4);

  opacity: 0;
  z-index: -1;
  transition: .2s ease-in-out;
}

body.editor.editando #backdrop_editor {
  opacity: 1;
  z-index: 99999;
}

.PinturaRoot {
  background-color: #fff!important;
}

#modalPintura.show {
  z-index: 999999999!important
}

#modalPintura .pintura {
  height: 100%;
}

.editarBanner {
  position: fixed;
  bottom: 5px;
  left: 5px;
  z-index: 9999999;
  border: 0;
  padding: 10px 30px;
  text-transform: uppercase;
  font-size: 12px;
  background: var(--bs-danger);
  color: #fff;
  border-radius: 5px;
}

