.lib-inner{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    height: 90vh;
    background: #f1f3f5;
    overflow-y: auto;
    overflow-x: hidden;   
    padding: 80px 30px 30px 30px; 
}
.lhead .back-to-home{
    display:none;
}

.tp-lib-wrap .header{
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  -webkit-box-shadow: 0 0 8px rgb(0 0 0 / 10%);
  box-shadow: 0 0 8px rgb(0 0 0 / 10%);
  width: 100%;
  position: relative;
  z-index: 9;
  padding: 0px 30px;
  max-width: 1200px;
  margin: 0px auto;
  top:5vh;
}

.tp-lib-wrap .lib-content {
  padding: 20px;
  display: flex;
}
.tp-lib-wrap .sidebar {
  width: 230px;
  flex: 0 0 230px;
}
.tp-lib-wrap .item-inner {
  flex: 1;
}
.tp-lib-wrap .filter-cat {
  position: sticky;
  top: 0;
}
.tp-lib-wrap .filter-cat li.active {
  color: #93003c;
}
.tp-lib-wrap .filter-cat li{
  padding: 5px 0px;
  text-transform: capitalize;
  cursor: pointer;  
}

.tp-lib-wrap{
    position: fixed;
    background: #00000054;
    z-index: 1;
    width: 100%;
    top: 0;
    bottom: 0;
    color:black;
}
.tp-lib-wrap .lib-img-wrap{
    position: relative;
}
.lib-img-wrap img{
    width:100%;
}
.tp-lib-wrap .product{
    padding: 8px;
    background-color: #fff;
    -webkit-box-shadow: 0 1px 20px 0 rgb(0 0 0 / 7%);
    box-shadow: 0 1px 20px 0 rgb(0 0 0 / 7%);
    -webkit-border-radius: 3px;
    border-radius: 3px;    
}
.lib-img-wrap i{
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
    transform: translate(-50%, -50%);   
    opacity: 0; 
}
.tp-lib-wrap .product:hover i{
  opacity:1;
  z-index: 1; 
}

.tp-lib-wrap .item{
    width: 25%;
    float: left;
    padding: 10px;
}
.tp-lib-wrap .no-found{
  text-align: center;
}
.lib-img-wrap::before {
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  background-color: rgba(0,0,0,.5);
  -webkit-transition: opacity .5s;
  -o-transition: opacity .5s;
  transition: opacity .5s;
  cursor: pointer;
  z-index: 1;
}
.tp-lib-wrap .no-result{
  text-align: center;
}
.tp-lib-wrap .product:hover .lib-img-wrap::before{
  opacity:1;
}
.tp-lib-wrap .pro{
color: #d5dadf;
    position: absolute;
    text-transform: uppercase;
    top: 5px;
    right: 5px;
    padding: 3px 5px;
    font-size: 9px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    background: #db3232;  
}

.tp-lib-wrap .rhead{
  display: flex;
  gap: 11px;
}
.tp-lib-wrap .lib-footer{
    padding: 7px 0px;
}
.tp-lib-wrap .rhead i{
  cursor:pointer;
  color: #93003c;
  position: relative;
}
.tp-lib-wrap .product:hover .lib-name{
  display:none;
}
.tp-lib-wrap .product .buy-tmpl,.tp-lib-wrap .product .insert-tmpl{
  display:none;
}
.tp-lib-wrap .product:hover .buy-tmpl,.tp-lib-wrap .product:hover .insert-tmpl{
  display:block;
}

/*Navigation*/

.tp-lib-wrap .filter-wrap {
  text-align: center;
  padding-bottom: 22px;
}
.tp-lib-wrap .filter-wrap a{
  color: black;
  padding: 0px 8px;
  font-weight: 600;
  font-size: 14px;
}

/*End navigation*/

/*Pagination*/

.tp-lib-wrap .pagination-wrap ul {
  text-align: center;
  padding: 20px 0px;
}
.tp-lib-wrap .pagination-wrap li {
  display: inline-block;
  padding:0px 1px;
}
.tp-lib-wrap .pagination-wrap li a{
  font-weight: 600;
  font-size: 14px;
  background: white;
  border: 1px solid #93003c;
  color:#93003c;
  display: inline-flex;
  width: 30px;
  border-radius: 50%;
  height: 30px;
  align-items: center;
  justify-content: center;  
}
.tp-lib-wrap .pagination-wrap .active a{
  background: #93003c;
  color:#fff;
}
/*End pagination*/
.centerhead ul{
  display: inline-flex;
  gap: 18px;  
}
.centerhead li{
  cursor: pointer;
  padding-top: 28px;
  padding-bottom: 12px;
  font-weight: 600;
  position:relative;
}
.centerhead li span{
  position: absolute;
  display: inline-flex;
  top: 9px;
  font-size: 9px;
  left: 50%;
  transform: translateX(-50%);
  background: #93003c;
  color: #fff;
  padding: 2px 6px;
}

.centerhead li.active{
  border-bottom: 2px solid #93003c;
  color: #93003c;
}

.lib-inner.loading::before{
  content:"";
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgb(0 0 0 / 21%);
  -webkit-transition: opacity .5s;
  -o-transition: opacity .5s;
  transition: opacity .5s;
  z-index: 2;
}
.lib-inner.loading{
  overflow-y: hidden;
}

/*No live preview*/
.no-live-preview {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.no-live-preview h4{
font-size:25px;
margin-bottom: 20px;
}
.no-live-preview a{
  padding: 10px 15px;
  background: black;
  color: white;  
}

/*Preloader*/
.tp-loader,
.tp-loader:after {
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.loading .tp-loader{
  opacity:1;
}
.tp-loader {
margin-left: -20px;
    z-index: 2;
    font-size: 4px;
    position: absolute;
    top: 50%;
    left: 50%;
    opacity:0;
    transform: translate(-50%, -50%);
    border-top: 1.1em solid rgb(255 255 255);
    border-right: 1.1em solid rgb(255 255 255);
    border-bottom: 1.1em solid rgb(255 255 255);
    border-left: 1.1em solid #93003c;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
