.layerEditorCbox #cboxClose,
.layerEditorCbox #cboxClose:hover {
  top: 10px;
  right: 10px;
  bottom: auto;
  background-image: none;
  width: auto;
  height: auto;
  border: inherit;
  text-indent: unset;
}
.layerEditorCbox {
   margin-top: 28px;
}
.layerEditorCbox #cboxLoadedContent {
  margin-bottom: 0;
}
.layer_editor .layer {
  overflow: hidden;
}
.layer_editor .layer * {
  margin: 0;
  line-height: 1.4em;
  font-size: 1em;
}
.layer_editor .layer img {
  max-width: 100%;
  height: auto !important;
}
.layer_editor .spinner:not(.spinner-off) {
  visibility: visible;
}
.layer_editor .spinner {
  float: none !important;
}
.layer_editor .addLayer,
.layer_editor .addLayer:hover,
.layer_editor .addLayer:focus {
  outline: 0;
}
.layer_editor .save,
.layer_editor .save:hover,
.layer_editor .save:focus {
  outline: 0;
}
.layer_editor .animation_in,
.layer_editor .animation_out {
  height: 100%;
  width: 100%;
}
.layer_editor .ms-layer-container {
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);
}
.layer_editor .metaslider-active {
  border: 1px dashed #ccc;
  margin: -1px 0 0 -1px;
}
.layer_editor #animation_in_delay,
.layer_editor #animation_out_delay,
.layer_editor #layer_padding {
  width: 60px;
}
.layer_editor #wysiwyg_buttons {
  height: 42px;
  border-bottom: 1px solid #e3e3e3;
  margin-bottom: 15px;
  margin-top: 7px;
}
.layer_editor .button {
  margin: 0px 5px 10px 0;
}
.layer_editor .toolbar_wrapper {
  clear: both;
  border-radius: 3px 3px 0 0;
  border: 1px solid #b6b6b6;
  padding: 6px 8px 2px;
  white-space: normal;
  -moz-box-shadow: 0 1px 0 #fff inset;
  -webkit-box-shadow: 0 1px 0 #fff inset;
  box-shadow: 0 1px 0 #fff inset;
  background: #fff;
}
.layer_editor .cke {
  border: 0 !important;
  box-shadow: none !important;
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
}
.layer_editor .cke_inner {
  background: transparent;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.layer_editor .cke_top {
  border-bottom: 0;
  padding: 0;
  white-space: normal;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  background: transparent;
  background-image: none;
}
.layer_editor #style_toolbar,
.layer_editor #animation_toolbar {
  margin-top: 13px;
}
.layer_editor #style_toolbar {
  margin-bottom: 13px;
}
.layer_editor #animation_toolbar .sp-preview,
.layer_editor #style_toolbar .sp-preview {
  width: 22px;
  height: 22px;
  margin-top: 0px;
  margin-right: 0;
  border-radius: 3px;
}
.layer_editor #animation_toolbar #snapToGrid input,
.layer_editor #style_toolbar #snapToGrid input {
  height: auto;
  background-image: none;
  border: 0;
}
.layer_editor #snapToGrid {
  font-weight: bold;
}
.layer_editor #animation_toolbar select,
.layer_editor #style_toolbar select,
.layer_editor #animation_toolbar input,
.layer_editor #style_toolbar input,
.layer_editor #animation_toolbar .sp-replacer,
.layer_editor #style_toolbar .sp-replacer {
  vertical-align: middle;
  height: 27px;
  margin: 0 6px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
.layer_editor #animation_toolbar .sp-replacer,
.layer_editor #style_toolbar .sp-replacer {
  
}
.layer_editor .drag_handle {
  position: absolute;
  display: none;
  width: 15px;
  height: 15px;
  bottom: 0;
  left: 0;
  text-indent: -9999px;
  border-radius: 0 2px 0 0;
  background: url('images/move.png') no-repeat center center;
}
.layer_editor .layer p {
  margin-top: 0;
}
.layer_editor .layer:hover .drag_handle {
  display: block;
  cursor: move;
}
.layer_editor .layer .delete_button {
  z-index: 9999999;
  position: absolute;
  top: 0;
  right: 0;
  display: none;
  width: 15px;
  height: 15px;
  text-indent: -9999px;
  background: url('images/delete.png') no-repeat center center;
  cursor: pointer;
}
.layer_editor .layer:hover .delete_button {
  display: block;
}
.layer_editor .layer .ui-resizable-handle {
  background: url('images/resize.png') no-repeat center center;
  display: none !important;
  width: 15px;
  height: 15px;
  position: absolute;
  right: 0;
  bottom: 0;
  cursor: se-resize;
}
.layer_editor .layer:hover .ui-resizable-handle {
  display: block !important;
}

.metaslider .rawEdit {
  text-align: center;
  font-style: italic;
  cursor: pointer;
}

/* Switch button */
.layer_editor .ms-switch-button {
  margin: 0 8px 0 0;
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  line-height: 19.5px;
  vertical-align: middle;
}
.layer_editor .ms-switch-button label {
  margin: 17px 0;
}
.layer_editor .ms-switch-button label input {
  display: none !important;
}
.layer_editor .ms-switch-button label input:checked + span {
  background-color: #dd6923;
}
.layer_editor .ms-switch-button label input:checked + span:before {
  -webkit-transform: translateX(20px);
  -moz-transform: translateX(20px);
  -ms-transform: translateX(20px);
  -o-transform: translateX(20px);
  transform: translateX(20px);
}
.layer_editor .ms-switch-button label span {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.1s;
  -moz-transition: 0.1s;
  -ms-transition: 0.1s;
  -o-transition: 0.1s;
  transition: 0.1s;
  -webkit-border-radius: 40px;
  -moz-border-radius: 40px;
  border-radius: 40px;
  width: auto;
}
.layer_editor .ms-switch-button label span:before {
  position: absolute;
  content: '';
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: #fff;
  -webkit-transition: 0.1s;
  -moz-transition: 0.1s;
  -ms-transition: 0.1s;
  -o-transition: 0.1s;
  transition: 0.1s;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}
.layer_editor .layerSlideshowInfo .dashicons-info {
  font-size: 1rem;
  opacity: .5;
}