#wcf-template-library > .dialog-widget-content {
  width: 100%;
  max-width: 1200px;
}

#wcf-template-library .elementor-templates-modal__header__logo-area {
  width: 55px;
  height: 40px;
  background-image: url(../images/logo-big.png);
  background-position: right center;
  background-size: contain;
  background-repeat: no-repeat;
}

.aaeplugin-activate {
  background: transparent;
}

#wcf-template-library-filter-text {
  border: none;
  border-block-end: var(--e-a-border-bold);
  border-radius: 0;
  font-size: 11px;
  padding: 8px 15px 8px 0;
  transition: border 0.5s;
}

#wcf-template-library-filter-subtype {
  min-width: 150px;
}

#wcf-template-library-color-subtype {
  min-width: 150px;
}

#wcf-template-library-header-preview-back {
  padding: 15px;
  border-inline-end: 1px solid #e6e8ea;
  cursor: pointer;
  transition: color 0.5s;
}

.library--action {
  display: block;
  padding: 7px 0 10px;
  border-width: 0;
  font-family: Roboto, sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 14px;
  transition: color 0.3s, opacity 0.3s, visibility 0.3s;
  cursor: pointer;
  z-index: 1;
}
.library--action.pro {
  color: #f12529;
}
.library--action.insert {
  color: black;
  background-color: orange;
  padding: 7px;
  border-radius: 5px;
}

#wcf-template-library .dialog-message {
  overflow-y: scroll;
}

.wcf-library-templates {
  -moz-column-count: 1;
       column-count: 1;
  gap: 20px;
  margin-top: 25px;
  padding-bottom: 100px;
}
@media (min-width: 576px) {
  .wcf-library-templates {
    -moz-column-count: 2;
         column-count: 2;
  }
}
@media (min-width: 768px) {
  .wcf-library-templates {
    -moz-column-count: 3;
         column-count: 3;
  }
}
@media (min-width: 992px) {
  .wcf-library-templates {
    -moz-column-count: 4;
         column-count: 4;
  }
}

.wcf-library-template {
  background-color: #fff;
  position: relative;
  padding: 8px;
  border-radius: 3px;
  border: 1px solid #e6e8ea;
  text-align: left;
  margin-bottom: 20px;
  -moz-column-break-inside: avoid;
       break-inside: avoid;
}
.wcf-library-template .thumbnail {
  line-height: 0;
  background-color: #ddd;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  position: relative;
  max-height: 400px;
  overflow: hidden;
}
.wcf-library-template .thumbnail img {
  line-height: 0;
  width: 100%;
  max-width: 100%;
}
.wcf-library-template .thumbnail:before {
  content: "\e92e";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d5dadf;
  background-color: rgba(0, 0, 0, 0.5);
  font-family: eicons;
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  cursor: pointer;
  z-index: 1;
}
.wcf-library-template .thumbnail:hover:before {
  opacity: 1;
  visibility: visible;
}
.wcf-library-template .title {
  margin-bottom: 0;
  padding-top: 5px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  transition: opacity 0.3s;
}
.wcf-library-template .library--action {
  position: absolute;
  left: 8px;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
}
.wcf-library-template:hover .library--action {
  opacity: 1;
  visibility: visible;
}
.wcf-library-template:hover .title {
  opacity: 0;
}

.wcf-template-library--loading {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fcfcfc;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.1);
  z-index: 2;
  transition: opacity 0.3s, visibility 0.3s;
}

.wcf-template-library--loading[hidden] {
  opacity: 0;
  visibility: hidden;
}