/* Main Wrappers */
#wpbits-library-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
}

#wpbits-library {
  font-size: 16px;
  width: 1200px;
  max-width: 90vw;
  overflow: hidden;
  border-radius: 4px;
}
#wpbits-library label {
  position: relative;
}
#wpbits-library input[type="radio"] {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  opacity: 0;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

#wpbits-library-content {
  position: relative;
  background: #F1F3F5;
  padding: 40px 0px 40px 40px;
  z-index: 8;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  height: 700px;
  max-height: calc(85vh - 54px);
  overflow: auto;
}
#wpbits-library-content #wpbits-library-no-result {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: none;
  width: 100%;
}
#wpbits-library-content #wpbits-library-no-result .no-result-inner {
  background: #c0392b;
  color: #fff;
  padding: 20px;
  margin: 40px;
  border-left: 5px solid rgba(0, 0, 0, 0.2);
  font-size: 16px;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
          box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

#wpbits-library-header {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  background: #fff;
  z-index: 9;
  line-height: 1;
  color: #666;
}

#wpbits-library-close {
  width: 54px;
  margin-left: auto;
  text-align: center;
  border-left: 1px solid #eee;
  font-size: 16px;
  line-height: 54px;
  cursor: pointer;
  -webkit-transition: color .2s ease-in-out;
  transition: color .2s ease-in-out;
}
#wpbits-library-close:hover {
  color: #c0392b;
}

/* Tabs */
#wpbits-library-tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  width: calc(100% - 54px);
}
#wpbits-library-tabs .wpbits-library-tab-logo {
  border-right: 1px solid #eee;
}
#wpbits-library-tabs .wpbits-library-tab-logo img {
  height: 20px;
  width: auto;
  padding: 0 20px;
  vertical-align: middle;
  display: inline-block;
}
#wpbits-library-tabs .wpbits-library-tab-logo a {
  display: block;
  line-height: 54px;
}
#wpbits-library-tabs #wpbits-library-tabs-holder {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
#wpbits-library-tabs .wpbits-library-tab-search {
  position: relative;
  margin-left: auto;
}
#wpbits-library-tabs .wpbits-library-tab-search form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-left: 1px solid #eee !important;
  padding-right: 20px;
}
#wpbits-library-tabs .wpbits-library-tab-search .wpbits-library-search-input {
  line-height: 1 !important;
  height: 54px !important;
  margin: 0 !important;
  background: #fff !important;
  outline: none !important;
  vertical-align: bottom !important;
  color: #666 !important;
  padding: 0 30px 0 15px !important;
  font-size: 14px !important;
  width: 200px;
  max-width: 100%;
  border: none !important;
  border-left: 1px solid #eee !important;
}
#wpbits-library-tabs .wpbits-library-tab-search .wpbits-library-search-input::-webkit-input-placeholder {
  color: #666 !important;
}
#wpbits-library-tabs .wpbits-library-tab-search .wpbits-library-search-input::-moz-placeholder {
  color: #666 !important;
}
#wpbits-library-tabs .wpbits-library-tab-search .wpbits-library-search-input::-ms-input-placeholder {
  color: #666 !important;
}
#wpbits-library-tabs .wpbits-library-tab-search .wpbits-library-search-input::placeholder {
  color: #666 !important;
}
#wpbits-library-tabs .wpbits-library-tab-search i {
  position: absolute;
  right: 14px;
  top: 50%;
  font-size: 16px;
  margin-top: -8px;
  color: #666;
}
#wpbits-library-tabs .wpbits-library-tab-item {
  border-right: 1px solid #eee;
  -webkit-transition: color .2s ease-in-out;
  transition: color .2s ease-in-out;
}
#wpbits-library-tabs .wpbits-library-tab-item .wpbits-library-tab-label {
  display: block;
  cursor: pointer;
}
#wpbits-library-tabs .wpbits-library-tab-item .wpbits-library-tab-label span {
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  display: inline-block;
  line-height: 54px;
  position: relative;
  -webkit-transition: background .2s ease-in-out;
  transition: background .2s ease-in-out;
}
#wpbits-library-tabs .wpbits-library-tab-item .wpbits-library-tab-label span:before {
  position: absolute;
  width: 0;
  height: 3px;
  content: '';
  left: 50%;
  bottom: 0;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}
#wpbits-library-tabs .wpbits-library-tab-item .wpbits-library-tab-label span small {
  margin-left: 5px;
  font-size: 12px;
  padding: 3px 5px;
  background: #0aaac6;
  color: #fff;
  border-radius: 4px;
  font-weight: normal;
  display: inline;
  line-height: 1;
}
#wpbits-library-tabs .wpbits-library-tab-item:hover span, #wpbits-library-tabs .wpbits-library-tab-item.isActive span {
  background: #fafafa;
  color: #000;
}
#wpbits-library-tabs .wpbits-library-tab-item:hover span:before, #wpbits-library-tabs .wpbits-library-tab-item.isActive span:before {
  background: #0aaac6;
  width: 100%;
  left: 0;
}
#wpbits-library-tabs .wpbits-library-tab-item.wpbits-library-tags-tab:hover #wpbits-library-tags-holder {
  visibility: visible;
  opacity: 1;
}

/* Tags */
#wpbits-library-tags-holder {
  display: grid;
  position: absolute;
  grid-template-columns: 1fr 1fr 1fr;
  -webkit-column-gap: 0px;
     -moz-column-gap: 0px;
          column-gap: 0px;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 9;
  padding: 20px 0px;
  background: #fff;
  overflow: hidden;
  width: 500px;
}
#wpbits-library-tags-holder .wpbits-library-tag-item {
  padding: 10px 20px;
  font-size: 14px;
  border-right: 1px solid #eee;
  margin-right: -1px;
}
#wpbits-library-tags-holder .wpbits-library-tag-item .wpbits-library-tag-label {
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}
#wpbits-library-tags-holder .wpbits-library-tag-item .wpbits-library-tag-label span {
  font-size: 9px;
  background: #000;
  line-height: 1;
  padding: 4px;
  color: #fff;
  border-radius: 4px;
  font-weight: 700;
  display: inline-block;
  vertical-align: middle;
  margin-left: auto;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}
#wpbits-library-tags-holder .wpbits-library-tag-item .wpbits-library-tag-label:hover span {
  background: #0aaac6;
}
#wpbits-library-tags-holder .wpbits-library-tag-item .wpbits-library-tag-label:hover {
  color: #000;
}
#wpbits-library-tags-holder .wpbits-library-tag-item.selectedTag .wpbits-library-tag-label span {
  background: #0aaac6 !important;
}
#wpbits-library-tags-holder .wpbits-library-tag-item.selectedTag .wpbits-library-tag-label {
  color: #0aaac6 !important;
}

/* Filters */
#wpbits-library-filters-container {
  width: 15%;
  height: 100%;
  overflow: auto;
}
#wpbits-library-filters-container #wpbits-library-filters .wpbits-library-filter-item {
  padding: 0 0 15px 0;
  margin: 0 0 15px 0;
  border-bottom: 1px solid #ddd;
  font-size: 13px;
  text-transform: uppercase;
}
#wpbits-library-filters-container #wpbits-library-filters .wpbits-library-filter-item:last-child {
  padding: 0;
  margin: 0;
  border: none;
}
#wpbits-library-filters-container #wpbits-library-filters .wpbits-library-filter-item .wpbits-library-filter-label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #666;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  cursor: pointer;
}
#wpbits-library-filters-container #wpbits-library-filters .wpbits-library-filter-item .wpbits-library-filter-label span {
  margin-left: auto;
  font-size: 9px;
  background: #000;
  line-height: 1;
  padding: 4px;
  color: #fff;
  border-radius: 4px;
  font-weight: 700;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}
#wpbits-library-filters-container #wpbits-library-filters .wpbits-library-filter-item:hover .wpbits-library-filter-label {
  color: #000;
}
#wpbits-library-filters-container #wpbits-library-filters .wpbits-library-filter-item:hover .wpbits-library-filter-label span {
  background: #0aaac6;
}
#wpbits-library-filters-container #wpbits-library-filters .wpbits-library-filter-item.isActive .wpbits-library-filter-label {
  color: #0aaac6;
}
#wpbits-library-filters-container #wpbits-library-filters .wpbits-library-filter-item.isActive .wpbits-library-filter-label span {
  background: #0aaac6;
}

/* Templates */
#wpbits-library-templates {
  width: 85%;
  padding: 0 30px;
  height: 100%;
  overflow: auto;
}

.wpb-no-category #wpbits-library-filters-container {
  display: none !important;
}
.wpb-no-category #wpbits-library-templates {
  width: 100%;
}

#wpbits-library-masonry {
  -webkit-column-gap: 30px;
     -moz-column-gap: 30px;
          column-gap: 30px;
  line-height: 0;
  margin: 0;
  padding: 0;
}
.wpb-4-column #wpbits-library-masonry {
  -webkit-column-count: 4;
     -moz-column-count: 4;
          column-count: 4;
}
.wpb-3-column #wpbits-library-masonry {
  -webkit-column-count: 3;
     -moz-column-count: 3;
          column-count: 3;
}
.wpb-2-column #wpbits-library-masonry {
  -webkit-column-count: 2;
     -moz-column-count: 2;
          column-count: 2;
}
.wpb-1-column #wpbits-library-masonry {
  -webkit-column-count: 1;
     -moz-column-count: 1;
          column-count: 1;
}
#wpbits-library-masonry .wpbits-library-masonry-item {
  -webkit-column-break-inside: avoid;
     page-break-inside: avoid;
          break-inside: avoid;
  margin: 0;
  display: none;
  overflow: hidden;
}
#wpbits-library-masonry .wpbits-library-masonry-item.isVisible {
  display: block;
}
#wpbits-library-masonry .wpbits-library-masonry-item.isFiltered {
  display: none;
}
#wpbits-library-masonry .wpbits-library-masonry-item .wpbits-library-masonry-item-inner {
  position: relative;
  margin-bottom: 30px;
  background-color: #fff;
  overflow: hidden;
  -webkit-box-shadow: 0 1px 20px 0 rgba(0, 0, 0, 0.07);
          box-shadow: 0 1px 20px 0 rgba(0, 0, 0, 0.07);
  border-radius: 3px;
  cursor: pointer;
}
#wpbits-library-masonry .wpbits-library-masonry-item .wpbits-library-masonry-item-inner .wpbits-library-masonry-item-img {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
}
#wpbits-library-masonry .wpbits-library-masonry-item .wpbits-library-masonry-item-inner .wpbits-library-masonry-item-caption {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: #fff;
  width: 100%;
  text-align: center;
  font-size: 14px;
  line-height: 28px;
  color: #666;
  z-index: 2;
  padding: 10px;
  font-weight: 700;
}
#wpbits-library-masonry .wpbits-library-masonry-item .wpbits-library-masonry-item-inner .wpbits-library-masonry-item-caption span, #wpbits-library-masonry .wpbits-library-masonry-item .wpbits-library-masonry-item-inner .wpbits-library-masonry-item-caption a.get-pro {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#wpbits-library-masonry .wpbits-library-masonry-item .wpbits-library-masonry-item-inner .wpbits-library-masonry-item-caption a.get-pro, #wpbits-library-masonry .wpbits-library-masonry-item .wpbits-library-masonry-item-inner .wpbits-library-masonry-item-caption span.insert-temp {
  display: none;
}
#wpbits-library-masonry .wpbits-library-masonry-item .wpbits-library-masonry-item-inner .wpbits-library-masonry-item-caption a.get-pro {
  color: #c0392b;
}
#wpbits-library-masonry .wpbits-library-masonry-item .wpbits-library-masonry-item-inner .wpbits-library-masonry-item-caption span.insert-temp {
  color: #0aaac6;
}
#wpbits-library-masonry .wpbits-library-masonry-item .wpbits-library-masonry-item-inner .wpbits-library-masonry-item-caption span i, #wpbits-library-masonry .wpbits-library-masonry-item .wpbits-library-masonry-item-inner .wpbits-library-masonry-item-caption a.get-pro i {
  margin-right: 5px;
  font-weight: normal;
}
#wpbits-library-masonry .wpbits-library-masonry-item .wpbits-library-masonry-item-inner:hover .wpbits-library-masonry-item-caption a.get-pro, #wpbits-library-masonry .wpbits-library-masonry-item .wpbits-library-masonry-item-inner:hover .wpbits-library-masonry-item-caption span.insert-temp {
  display: block;
}
#wpbits-library-masonry .wpbits-library-masonry-item .wpbits-library-masonry-item-inner:hover .wpbits-library-masonry-item-caption span.temp-title {
  display: none;
}
#wpbits-library-masonry .wpbits-library-masonry-item .wpbits-library-masonry-item-inner .wpbits-library-item-preview {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  opacity: 0;
  -webkit-transition: opacity .2s ease;
  transition: opacity .2s ease;
  width: 100%;
  margin-bottom: 48px;
  outline: none;
}
#wpbits-library-masonry .wpbits-library-masonry-item .wpbits-library-masonry-item-inner .wpbits-library-item-preview i {
  color: #fff;
  font-size: 26px;
}
#wpbits-library-masonry .wpbits-library-masonry-item .wpbits-library-masonry-item-inner:hover .wpbits-library-item-preview {
  opacity: 1;
}
#wpbits-library-masonry .wpbits-library-masonry-item .wpbits-library-masonry-item-inner.wpbits-pro:after {
  width: 100px;
  background: #c0392b;
  position: absolute;
  text-align: center;
  line-height: 30px !important;
  color: #fff;
  top: 7px;
  right: -30px;
  left: auto;
  -webkit-transform: translate3d(0, 0, 0) rotate(45deg);
          transform: translate3d(0, 0, 0) rotate(45deg);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  z-index: 1;
  content: 'PRO';
}
#wpbits-library-masonry .wpbits-library-masonry-item .wpbits-library-masonry-item-inner.wpbits-template-loading {
  min-height: 200px;
}
#wpbits-library-masonry .wpbits-library-masonry-item .wpbits-library-masonry-item-inner.wpbits-template-loading:before {
  width: 100px;
  background: #fff !important;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 8;
  content: '';
  width: 100%;
  height: 100%;
}
#wpbits-library-masonry .wpbits-library-masonry-item .wpbits-library-masonry-item-inner.wpbits-template-loading:after {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-radius: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  background-color: #fff !important;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0) rotate(0deg);
  -webkit-transform: translate3d(-50%, -50%, 0) rotate(0deg);
  animation: wpbits-template-loader 1s linear infinite;
  -webkit-animation: wpbits-template-loader 1s linear infinite;
  content: "";
  border-top-color: #0aaac6;
  z-index: 9;
}

.wpb-theme-library #wpbits-library-filters-container {
  display: none !important;
}
.wpb-theme-library #wpbits-library-templates {
  width: 100%;
}

/* Loader */
#wpbits-library-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: rgba(255, 255, 255, 0.9);
  width: 100%;
  height: 100%;
  display: none;
}
#wpbits-library-loading:after {
  width: 70px;
  height: 70px;
  border: 7px solid rgba(0, 0, 0, 0.1);
  border-radius: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0) rotate(0deg);
  -webkit-transform: translate3d(-50%, -50%, 0) rotate(0deg);
  animation: wpbits-template-loader 1s linear infinite;
  -webkit-animation: wpbits-template-loader 1s linear infinite;
  content: "";
  border-top-color: #0aaac6;
  z-index: 99;
}

@-webkit-keyframes wpbits-template-loader {
  100% {
    -webkit-transform: translate3d(-50%, -50%, 0) rotate(360deg);
            transform: translate3d(-50%, -50%, 0) rotate(360deg);
  }
}
@keyframes wpbits-template-loader {
  100% {
    -webkit-transform: translate3d(-50%, -50%, 0) rotate(360deg);
            transform: translate3d(-50%, -50%, 0) rotate(360deg);
  }
}
/* Media Queries */
@media only screen and (max-width: 1200px) {
  #wpbits-library-masonry.wpb-4-column {
    -webkit-column-count: 3;
       -moz-column-count: 3;
            column-count: 3;
  }
}
@media only screen and (max-width: 767px) {
  #wpbits-library-masonry.wpb-4-column,
  #wpbits-library-masonry.wpb-3-column {
    -webkit-column-count: 2;
       -moz-column-count: 2;
            column-count: 2;
  }

  #wpbits-library-templates {
    width: 80%;
  }

  #wpbits-library-filters-container {
    width: 20%;
  }

  #wpbits-library-tabs .wpbits-library-tab-search {
    display: none;
  }
}
@media only screen and (max-width: 575px) {
  #wpbits-library-masonry.wpb-4-column,
  #wpbits-library-masonry.wpb-3-column,
  #wpbits-library-masonry.wpb-2-column {
    -webkit-column-count: 1;
       -moz-column-count: 1;
            column-count: 1;
  }

  #wpbits-library-templates {
    width: 65%;
  }

  #wpbits-library-filters-container {
    width: 35%;
  }
}
