.slide-editor-list .x-grid-item {
  cursor: pointer !important;
  position: relative !important;
  height: 146px !important;
  min-height: 0 !important;
  border: none !important;
  margin-bottom: 8px !important; }
  .slide-editor-list .x-grid-item .x-grid-row {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    position: relative !important;
    height: 100% !important; }
  .slide-editor-list .x-grid-item .x-grid-cell {
    position: absolute !important; }
    .slide-editor-list .x-grid-item .x-grid-cell:not(.x-grid-cell-icon) {
      display: none !important; }
    .slide-editor-list .x-grid-item .x-grid-cell.x-field-widget-media {
      width: 100% !important;
      height: 100% !important;
      z-index: 0;
      display: block !important;
      cursor: pointer !important;
      background: black !important; }
      .slide-editor-list .x-grid-item .x-grid-cell.x-field-widget-media img {
        object-fit: cover !important;
        object-position: center center !important;
        width: 100%;
        height: calc(100% - 24px);
        opacity: 0.9; }
    .slide-editor-list .x-grid-item .x-grid-cell.x-field-title {
      display: flex !important;
      left: 0 !important;
      bottom: -7px !important;
      width: 100% !important;
      align-items: center;
      height: 24px !important;
      padding: 0 10px !important;
      z-index: 100; }
      .slide-editor-list .x-grid-item .x-grid-cell.x-field-title .x-grid-cell-inner {
        width: calc(100% - 30px) !important;
        height: auto !important;
        display: block !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        color: #fff;
        font-size: 9px !important;
        line-height: 11px !important; }
  .slide-editor-list .x-grid-item .x-grid-cell-icon {
    right: 8px !important;
    bottom: 5px !important; }
    .slide-editor-list .x-grid-item .x-grid-cell-icon i:before {
      font-size: 12px !important; }
  .slide-editor-list .x-grid-item.x-grid-item-selected {
    border-color: #292F9A !important; }
    .slide-editor-list .x-grid-item.x-grid-item-selected .x-field-widget-media {
      background: #292F9A !important; }
      .slide-editor-list .x-grid-item.x-grid-item-selected .x-field-widget-media img {
        opacity: 1.0 !important; }
  .slide-editor-list .x-grid-item.x-grid-item-over:not(.x-grid-item-selected) {
    opacity: 0.8; }
  .slide-editor-list .x-grid-item.x-disabled .x-grid-cell {
    opacity: 1.0 !important; }
  .slide-editor-list .x-grid-item.x-disabled img {
    opacity: 0.3 !important; }
  .slide-editor-list .x-grid-item.x-disabled:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    content: '\f04c';
    font-family: FontAwesome;
    color: #ffff;
    font-size: 26px; }

.slide-editor-screen .x-toolbar-docked-top {
  background: #a7a7a7 !important; }

.slide-editor-screen > .x-panel-bodyWrap > .x-panel-body {
  background: #a7a7a7 !important; }

.slide-editor-screen > .x-panel-bodyWrap > div[role='presentation'] {
  width: 100% !important;
  overflow: auto !important; }

.slide-editor-screen .slide-editor-screen-inner {
  width: 1024px !important;
  height: 576px !important;
  position: absolute !important;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: solid 1px #000 !important;
  background-image: linear-gradient(0deg, transparent 24%, rgba(255, 255, 255, 0.09) 25%, rgba(255, 255, 255, 0.09) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.09) 75%, rgba(255, 255, 255, 0.09) 76%, transparent 77%, transparent), linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, 0.09) 25%, rgba(255, 255, 255, 0.09) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.09) 75%, rgba(255, 255, 255, 0.09) 76%, transparent 77%, transparent);
  height: 100%;
  background-size: 40px 40px;
  display: flex;
  flex-direction: column; }
  .slide-editor-screen .slide-editor-screen-inner.portrait-mode {
    width: 441px !important;
    height: 784px !important; }
  .slide-editor-screen .slide-editor-screen-inner .slide-editor-screen-header {
    background: #fff;
    position: relative;
    width: 100%;
    height: 88px;
    display: none;
    z-index: 500;
    transition: all ease-in-out 0.2s; }
    .slide-editor-screen .slide-editor-screen-inner .slide-editor-screen-header:before {
      position: absolute;
      background: url("/api/slideEditor/logo.png") no-repeat center center;
      background-size: contain;
      content: '';
      width: auto;
      height: auto;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 100;
      width: 400px;
      height: 70%; }
  .slide-editor-screen .slide-editor-screen-inner .slide-editor-screen-content {
    width: 100%;
    position: relative;
    flex-grow: 1;
    display: block; }
  .slide-editor-screen .slide-editor-screen-inner .slide-editor-screen-footer {
    background: #fff;
    position: relative;
    width: 100%;
    height: 45px;
    display: none;
    z-index: 500; }
  .slide-editor-screen .slide-editor-screen-inner .slide-editor-screen-bottom {
    content: '';
    background: url("/admin/resources/images/tv_footer.png") no-repeat 0 0;
    position: absolute;
    width: 576px;
    height: 100px;
    left: 50%;
    bottom: -100px;
    z-index: 0 !important;
    transform: translate(-50%, 0); }
  .slide-editor-screen .slide-editor-screen-inner.focus > .x-autocontainer-outerCt {
    border-color: #292F9A !important; }
  .slide-editor-screen .slide-editor-screen-inner.header-visible .slide-editor-screen-header {
    display: block; }
  .slide-editor-screen .slide-editor-screen-inner.footer-visible .slide-editor-screen-footer {
    display: block; }

.slide-element {
  position: absolute !important;
  cursor: pointer;
  z-index: 1;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; }
  .slide-element .x-autocontainer-outerCt {
    border: none !important; }
  .slide-element.fixed {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important; }
  .slide-element .element-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden; }
  .slide-element .element-title {
    position: absolute;
    right: 10px;
    bottom: 10px;
    color: rgba(255, 255, 255, 0.5); }
  .slide-element .element-content {
    padding: 0;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    z-index: 1; }
    .slide-element .element-content iframe {
      width: 100%;
      height: 100%;
      margin: 0;
      padding: 0;
      border: none; }
  .slide-element .element-remove {
    position: absolute;
    right: 0;
    top: 0;
    background: #292F9A;
    width: 30px;
    height: 30px;
    z-index: 150;
    text-align: center;
    line-height: 30px;
    display: none; }
    .slide-element .element-remove:before {
      display: inline-block;
      font-family: FontAwesome;
      content: '\f00d';
      font-size: 15px;
      color: #fff; }
    .slide-element .element-remove:hover {
      opacity: 0.8; }
  .slide-element.focus:after {
    position: absolute;
    left: 0;
    top: 0;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    content: '';
    border: solid 2px #292F9A;
    z-index: 100;
    pointer-events: none; }
  .slide-element.focus:not(.locked) .element-remove {
    display: block; }

.slide-element.text .element-content:before {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  content: ''; }

.slide-element.text .element-content iframe {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0; }

.slide-element.video {
  background: #000; }
  .slide-element.video .element-content video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    object-fit: cover; }

.slide-element.background {
  background: #000; }
  .slide-element.background .element-content:before {
    position: absolute;
    left: 50%;
    top: 50%;
    font-family: FontAwesome;
    content: '\f1c5';
    font-size: 30px;
    color: #fff;
    z-index: 2;
    margin: -15px 0 0 -15px; }
  .slide-element.background .element-content img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    object-fit: cover; }

.slide-element.iframe .element-inner {
  background: rgba(255, 255, 255, 0.3); }
  .slide-element.iframe .element-inner .iframe-url {
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: 30px;
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%); }

.slide-toolbar {
  background: red;
  position: absolute;
  height: 50px;
  width: 150px; }

.slide-editor .x-fit-item {
  margin: 0 !important; }

.slide-editor > .x-panel-bodyWrap > .x-panel-body {
  background: #a7a7a7 !important; }
