.em-elemento-edit {
  position: relative;
}
.card-segnaposto {
  border:none;
  background-color:lightgray;
  height:100px;
  line-height: 100px;
  cursor:default;
}
.em-cms-segnaposto-interno {
  vertical-align:middle;
  text-align:center;
  font-size:50px;
  color:white;
  width:100%;
  cursor: pointer;
}  
.card-segnaposto-shade {
  background-color:gray;
}

/* ===== Segnaposto EM - 12/2020 ===== */
.em-placeholder {
  position: relative;
}
.inactive-element {
  opacity: .6;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.inactive-element span{
  background-color: black;
  color: white;
  padding: 10px;
}
.contenuto-assente {
  padding: 20px;
  background-color: #eee;
}
.em-bottoniera-flex {
  display: flex;
  align-items: center;
}
.em-container-bottoni-padre,
.em-container-bottoni-elemento {
  position: absolute;
  top: 0;
  width: auto;
  z-index: 50;
  background-color: transparent;
  display: flex;
  padding: 5px;
}
.em-container-bottoni-elemento {
  right: 13px;
}
.em-container-bottoni-elemento.active,
.em-container-bottoni-padre.active {
  height: 70px;
}
.em-container-bottoni-padre.hidden,
.em-container-bottoni-elemento.hidden {
  display: none;
}
.em-parent-btn,
.em-element-btn,
.em-segnaposto-btn {
  width: 30px;
  height: 30px;
  text-align: center;
  color: white;
  background-color: #5151ff;
  border-radius: 5px;
  margin-left: 5px;
  line-height: 2;
}
.em-parent-btn:hover {
  background-color: #3434eb;
  cursor: pointer;
}
.em-btn-option {
  position: relative;
  top: 33px;
  right: -40px;
}
.em-parent-btn.em-btn-option {
  left: -35px;
}
.em-btn-option.hidden {
  display: none;
}
div.em-segnaposto-btn.hidden {
  display: none;
}
div.em-segnaposto-btn {
  background-color: #333;
  position: absolute;
  top: 22px;
  left: 48.5%;
  z-index: 50;
}
div.em-segnaposto-btn:hover {
  background-color: #111;
  cursor: pointer;
}
div.em-element-btn {
  background-color: #ffb342;
  margin-right: 5px;
}
div.em-element-btn:hover {
  cursor: pointer;
  background-color: #fc9700;
}
.em-bordered-selector,
.em-bordered-selector-element,
.em-bordered-selector-segnaposto {
  border: 5px solid #84a1ff;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 30;
}
div.em-bordered-selector-element {
  border: 3px solid #fca420;
}
.em-bordered-selector-segnaposto {
  border: 3px solid #111;
}


.em-segnaposto {
  position: relative;
  margin: 5px 0;
}
.card-segnaposto-cover {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 40;
  background-color:transparent;
  cursor: pointer;
}
.card-segnaposto-cover-disabled {
  background-color:rgba(255,255,255,0.7) !important;
}
.card-segnaposto-cover-shaded {
  background-color:rgba(63,63,63,0.7) !important;
}



.em-sibling {
  display: none;
  position: absolute;
  top: 0;
  height: 100%;
  width: 15px; /* 1px */
  overflow: visible;
  background-color: white; /* ccc */
  border: 1px dashed #fca420; /* */
  transition: all linear .2s;
  z-index: 60;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fca420;
}
.em-sibling-left::after {
  position: absolute;
  height: 100%;
  content: '';
  width: 40px;
  top: 0;
  left: 0;
}
.em-sibling-right::before {
  position: absolute;
  height: 100%;
  content: '';
  width: 40px;
  top: 0;
  right: 0;
}
.em-sibling-left {
  left: 0;
}
.em-sibling-right {
  right: 0;
}
.em-sibling-hover {
  /* width: 7px; */
  background-color: #ccc;
}

.em-sibling-row {
  display: none;
  position: relative;
  height: 1px;
  transition: all linear .2s;
  width: 100%;
  height: 15px;
  line-height: 1;
  background-color: white;
  transition: all linear .2s;
  border: 1px dashed #fca420;
  color: #fca420;
  z-index: 50;
  flex-direction: row;
  justify-content: center;
}
.em-sibling-row-hover {
  background-color: #ccc;
}
.em-sibling-row::before {
  position: absolute;
  height: 20px;
  content: '';
  width: 100%;
  bottom: 0;
  left: 0;
}
.em-sibling-row::after {
  position: absolute;
  height: 20px;
  content: '';
  width: 100%;
  top: 0;
  left: 0;
}
.em-sibling-row-bottom {
  bottom: 0;
}
.em-sibling-row-top {
  top: 0;
}



/* FREE FORM */
.em-section-add-editable-field {
  width: 100%;
  height: 100px;
  vertical-align: middle;
  text-align: center;
  font-size: 50px;
  color: #999;
  background-color: transparent;
  border: 2px dashed #999;
  margin: 30px 0;
}
.em-add-segnaposto-sibling {
  display: none;
  position: relative;
  height: 40px;
  color: #999;
  line-height: 2.3;
  text-align: center;
  border: 2px dashed #999;
  transition: all linear .2s;
  width: 100%;
  background-color: transparent;
  z-index: 20;
  margin: 15px 0;
}
.em-add-segnaposto-sibling-hover {
  background-color: #ccc;
}
div.em-drag-enter-new {
  cursor: pointer;
  background-color: #ccc;
}
.em-componente-riga {
  background-color: lightgray;
  border-width: 0;
}