#rtElementsTemplatesLibrary .dialog-message {
  height: 90vh;
  max-height: 90vh;
}
#rtElementsTemplatesLibrary .dialog-buttons-wrapper {
  height: 35px;
}
#rtElementsTemplatesLibrary .rt-elements-template-requesting-status {
  text-align: center;
  width: 100%;
}
#rtElementsTemplatesLibrary #rt-elements-preloader, #rtElementsTemplatesLibrary #rt-elements-preloader-small {
  /* Pulsing animation */
}
@keyframes rtPreloaderPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.2;
  }
}
#rtElementsTemplatesLibrary #rt-elements-preloader, #rtElementsTemplatesLibrary #rt-elements-preloader-small {
  background-color: var(--e-a-bg-default);
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
}
#rtElementsTemplatesLibrary #rt-elements-preloader .rt-elements-preloader-inner, #rtElementsTemplatesLibrary #rt-elements-preloader-small .rt-elements-preloader-inner {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  border-radius: 100%;
}
#rtElementsTemplatesLibrary #rt-elements-preloader .rt-elements-preloader-inner .rt-elements-preloader-rt-shape, #rtElementsTemplatesLibrary #rt-elements-preloader-small .rt-elements-preloader-inner .rt-elements-preloader-rt-shape {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rtPreloaderPulse 1.5s infinite ease-in-out;
}
#rtElementsTemplatesLibrary #rt-elements-preloader .rt-elements-preloader-inner .rt-elements-preloader-rt-shape img, #rtElementsTemplatesLibrary #rt-elements-preloader-small .rt-elements-preloader-inner .rt-elements-preloader-rt-shape img {
  height: 60px;
}
#rtElementsTemplatesLibrary #rt-elements-preloader-small {
  display: none;
  height: 60px;
  width: 60px;
  position: absolute;
  top: unset;
  bottom: 3%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#rtElementsTemplatesLibrary #rt-elements-preloader-small .rt-elements-preloader-inner {
  position: absolute;
  width: 60px;
  height: 60px;
}
#rtElementsTemplatesLibrary #rt-elements-preloader-small .rt-elements-preloader-inner img {
  width: 100%;
  height: auto;
}
#rtElementsTemplatesLibrary .rt-elements-layout-library--logo-area {
  position: relative;
}
#rtElementsTemplatesLibrary .rt-elements-layout-library--logo-area #elementor-template-library-header-preview-back,
#rtElementsTemplatesLibrary .rt-elements-layout-library--logo-area .elementor-templates-modal__header__logo {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 150px;
}
#rtElementsTemplatesLibrary .rt-elements-layout-library--logo-area .elementor-templates-modal__header__logo__icon-wrapper {
  padding: 0;
  line-height: unset;
  background: transparent;
}
#rtElementsTemplatesLibrary .rt-elements-layout-library--logo-area .elementor-templates-modal__header__logo__icon-wrapper img {
  height: 30px;
}
#rtElementsTemplatesLibrary .dialog-lightbox-content {
  position: relative;
  overflow: hidden;
}
#rtElementsTemplatesLibrary .dialog-lightbox-content div#elementor-template-library-templates {
  position: relative;
}
#rtElementsTemplatesLibrary .dialog-lightbox-content #elementor-template-library-toolbar {
  z-index: 3;
  position: relative;
}
#rtElementsTemplatesLibrary .dialog-lightbox-content #elementor-template-library-templates-container-wrapper {
  height: calc(75vh - 80px) !important;
  overflow-y: auto;
  padding-bottom: 100px;
}
#rtElementsTemplatesLibrary .dialog-lightbox-content #elementor-template-library-templates-container {
  margin: 0 -15px;
}
#rtElementsTemplatesLibrary .dialog-lightbox-content #elementor-template-library-templates-container .elementor-template-library-template {
  width: calc(25% - 30px);
  overflow: hidden;
}
#rtElementsTemplatesLibrary .dialog-lightbox-content #elementor-template-library-templates-container .elementor-template-library-template .elementor-template-library-template-footer {
  display: fleX;
  transform: unset !important;
  position: relative !important;
  bottom: unset !important;
}
#rtElementsTemplatesLibrary .dialog-lightbox-content #elementor-template-library-templates-container .elementor-template-library-template .elementor-template-library-template-footer .elementor-template-library-template-name {
  display: inline-flex;
}
#rtElementsTemplatesLibrary .dialog-lightbox-content #elementor-template-library-templates-container .elementor-template-library-template .elementor-template-library-template-footer .elementor-template-library-template-action {
  margin-right: 5px;
}
#rtElementsTemplatesLibrary .dialog-lightbox-content #elementor-template-library-templates-container .elementor-template-library-template.elementor-template-library-template-templates > .elementor-template-library-template-footer .elementor-template-library-template-action {
  display: none !important;
}
#rtElementsTemplatesLibrary .dialog-lightbox-content #elementor-template-library-templates-container .elementor-template-library-template .elementor-template-library-template-body {
  overflow: hidden;
}
#rtElementsTemplatesLibrary .dialog-lightbox-content #elementor-template-library-templates-container .elementor-template-library-template.elementor-template-library-template-pages .elementor-template-library-template-body {
  height: 250px;
}
#rtElementsTemplatesLibrary .dialog-lightbox-content .rt-elements-template-library-templates-preview {
  width: 100%;
  position: absolute;
  height: 100%;
  top: 0;
  overflow-y: auto;
  display: none;
  z-index: 3;
}
#rtElementsTemplatesLibrary .dialog-lightbox-content .rt-elements-template-library-templates-preview img {
  width: 100%;
  max-width: 100%;
}
#rtElementsTemplatesLibrary[data-templates-tab=templates] .elementor-template-library-filter-toolbar, #rtElementsTemplatesLibrary[data-templates-tab=pages] .elementor-template-library-filter-toolbar {
  visibility: hidden;
}

.easyel-template-library-item:hover .elementor-template-library-template-name {
  display: none !important;
}

.rt-elements-template-library-templates-preview {
  display: none;
  position: relative;
  width: 100%;
  height: calc(100vh - 100px);
  background: #fff;
}

.rt-preview-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.rt-preview-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.easyel-template-library-body.easyel-pro {
  position: relative !important;
}

.easyel-template-library-body.easyel-pro:before {
  background-color: #7455FF;
  border-radius: 2px;
  color: #fff;
  content: "PRO";
  font-size: 8px;
  inset-block-start: 5px;
  inset-inline-end: 5px;
  line-height: 1;
  padding: 3px 5px;
  position: absolute;
  text-transform: uppercase;
}