/* Template listing slider START */
.template-slider-section {
    background-color: var(--bs-white);
    padding: 35px 100px;
    border-top: 1px solid #D6D7E1;
    border-bottom: 1px solid #D6D7E1;
}
.template-back-cont {
    background-image: url(../../../../../images/template_option/create_template_page.png);
    /* background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 130px 0; */
}

/* .template-slider-ul .owl-stage-outer {
    padding: 7px 0;
} */
.with-user-template-wrp {
    padding: 30px 50px;
}
.template-slider-li {
    position: relative;
    width: 100%;
    height: 100%;
    /* background-color: var(--color-light-gray);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--color-border-v1); */
    text-align: center;
    cursor: pointer;
    padding: 8px 0;
    transition: .3s;
}

/* .template-slider-li.active {
    border: 3px solid var(--color-primary);
} */

/* .template-slider-li.active{
    scale: 1.09;
} */

.template-slider-li:not(.active) .template-image-preview::before{
    position: absolute;
    content: "";
    width: 100%;
    height: calc(100% - 16px);
    background-color: rgb(62 64 72 / 70%);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    border-radius: 11px;
    transition: .3s;
    opacity: 0;
}

.template-slider-li.active .template-image-preview:before {   
    /* border-color: var(--color-primary);
    border-width: 2px;
    box-shadow: var(--box-shadow); */
    position: absolute;
    content: "";
    background-image: url(../../../../../images/pen-checkmark.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 22px;
    height: 22px;
    top: 0px;
    right: -8px;
}

.template-slider-li:not(.active):hover .template-image-preview {
    /* scale: 1.02; */
    /* box-shadow: var(--box-shadow); */
    /* border: 2px solid var(--color-secondary); */
}

.template-slider-li:not(.active):hover .template-image-preview::before{
    opacity: 1;
}

.template-slider-li .template-image-preview{
    transition: .3s;
    /* margin-bottom: 15px; */
}
.template-image-preview {
    width: 100%;
    /* height: 170px; */
    /* background-color: var(--color-light-gray); */
    background-color: var(--color-dark-new-bg);
    padding: 0;
    border-radius: 15px;
    border: 2px solid transparent;
    overflow: hidden;
}

.template-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.template-name {
    /* color: var(--bs-white); */
    color: var(--color-secondary);
    font-size: 12px;
    font-family: var(--font-book);
    margin-bottom: 0;
    /* margin-top: 5px; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    opacity: 0;
    transition: .3s;
}

.category-template .template-name{
    color: var(--bs-white);
}

.template-slider-li:not(.active):hover .template-name{
    opacity: 1;
}

/* .template-slider-ul.owl-carousel .owl-prev,
.template-slider-ul.owl-carousel .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: var(--color-secondary) !important;
    color: var(--bs-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.template-slider-ul.owl-carousel .owl-prev.disabled,
.template-slider-ul.owl-carousel .owl-next.disabled {
    background-color: #8b8b8b !important;
    cursor: no-drop;
}

.template-slider-ul .owl-prev {
    left: -70px;
}

.template-slider-ul .owl-next {
    right: -70px;
}

.template-slider-ul.owl-carousel .owl-prev span,
.template-slider-ul.owl-carousel .owl-next span {
    position: relative;
    top: -2px;
    font-size: 32px;
    line-height: 18px;
    color: var(--bs-white);
    font-family: var(--font-book);
}

.template-slider-ul.owl-carousel .owl-prev span {
    left: -1px;
}

.template-slider-ul.owl-carousel .owl-next span {
    right: -1px;
} */

/* Template listing slider END */

/* Selected templated category preview START */
.template-category-preview {
    padding: 0 0 50px;
}

.template-filter-content {
    /* margin: 50px 0; */
    margin-bottom: 30px;
    /* padding-left: 35px;
    padding-right: 35px; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
}

.template-input-on-off {
    position: relative;
    display: flex;
    column-gap: 10px;
    align-items: center;
    /* justify-content: flex-end;
    min-width: 380px;
    width: 100%; */
    /* padding-right: 30px;
    border-right: 1px solid #000;
    margin-right: 30px; */
}

.c-gap-13 {
    column-gap: 13px;
}

.template-filter-ul {
    display: flex;
    align-items: center;
    column-gap: 30px;
    overflow: hidden;
    overflow-x: auto;
}

.template-filter-li {
    background-color: #e9eaf0;
    color: var(--color-secondary);
    cursor: pointer;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 10px;
    line-height: 13px;
    font-family: var(--font-regular);
    text-align: center;
    white-space: nowrap;
    transition: .3s;
}

.template-filter-li:hover {
    background-color: var(--color-border-v1);
}

.template-filter-li.active {
    background-color: var(--color-primary);
    color: var(--bs-white);
}

.template-filter-tag-name {
    width: calc(100% - 412px);
}

.cm-label-title {
    font-size: 11px;
}

.filter-content {
    padding: 0;
    position: relative;
    height: 100%;
    /* display: grid; */
    /* grid-gap: 20px; */
    /* grid-template-columns: repeat(5, 1fr); */
    /* columns: 18rem; */
    -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */
    overflow: auto;
}
.filter-content::-webkit-scrollbar { 
    display: none;  /* Safari and Chrome */
}

/* .template-list-content {      
    -webkit-column-count: 5;
    -moz-column-count: 5;
    column-count: 5;
    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;
    -moz-column-gap: 20px;
    -webkit-column-gap: 20px;
    display: block;
    height: auto;
    max-height: 100%;
} */

/* .template-form + .template-form {
	margin-top: 20px;
} */

.template-form {
    display: block;
    margin-bottom: 1.5%;
    /* margin-bottom: 3%; */
    /* break-inside: avoid;
	aspect-ratio: 4 / 3; */
    transition: .3s;
}

/* .template-form:not(:first-child){
    opacity: 0;
} */

.grid-sizer,
.template-form {
    /* width: 17.2%; */
    /* width: calc(16.7% - 30px); */
    /* width: calc(24.8% - 30px); */
    /* width: calc(18.95% - 30px); */
    width: calc(19% - 30px);
}
.gutter-sizer { width: 3%; }

.filter-wrp {
    width: 100%;
    /* height: 100%; */
    background-color: transparent;
    border-radius: 0;
    /* border-top-left-radius: 0;
    border-top-right-radius: 0; */
    border: 0;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    -webkit-animation: fade-in-top 0.35s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.98s both;
	        animation: fade-in-top 0.35s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.98s both;
}

@-webkit-keyframes fade-in-top {
    0% {
      -webkit-transform: translateY(-5px);
              transform: translateY(-5px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
}
@keyframes fade-in-top {
    0% {
        -webkit-transform: translateY(-5px);
                transform: translateY(-5px);
        opacity: 0;
    }
    100% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
        opacity: 1;
    }
}

.create-template-project .filter-image-preview{
    border-radius: 16px;
    overflow: hidden;
}

.filter-box {
    padding: 15px 0 5px;
    column-gap: 15px;
    border-top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-description {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.profile-image-cont {
    width: 45px;
    min-width: 45px;
    max-width: 45px;
    height: 45px;   
    min-height: 45px;
    max-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    border-radius: 11px;
    overflow: hidden;
}
.profile-name-cont {
    color: var(--bs-white);
    font-size: 14px;
    line-height: 15px;
    font-family: var(--font-regular);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image-cont img {
    width: 100%;
    height: 100%;
    background-color: var(--bs-white);
    object-fit: cover;
}

.filter-name {
    font-size: 13px;
    line-height: 15px;
    color: var(--color-secondary);
    margin-bottom: 2px;
    font-family: var(--font-regular);
}

.profile-filter-name {
    font-size: 10px;
    line-height: 16px;
    color: var(--color-secondary);
    margin-bottom: 2px;
    font-family: var(--font-regular);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.filter-creator {
    font-size: 10px;
    line-height: 12px;
    color: var(--color-secondary);
    margin-bottom: 0px;
    font-family: var(--font-book);
    font-style: italic;
}

.filter-symbol {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.f-icon {
    width: 17px;
    height: 17px;
    display: flex;
}

.f-icon svg {
    width: 100%;
    height: 100%;
}

.f-icon svg path {
    color: var(--color-secondary);
}
.like-tab svg path {
    fill: var(--color-primary);
}

/* .favorite-cont {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.favorite-cont svg {
    width: 100%;
    height: 100%;
    display: flex;
} */

.create-template-project .eye-icon-cont.active svg path {
   fill: var(--color-primary);
}

/* .favorite-cont.active svg path {
    stroke: var(--color-secondary);
 } */

.eye-icon-cont {
    display: flex;
    align-items: center;
    column-gap: 3px;
}

.count-number {
    font-size: 11px;
    line-height: 12px;
    font-family: var(--font-italic);
    color: var(--color-secondary);
}

.filter-image-preview {
    position: relative;
    width: 100%;
    /* height: 325px; */
    display: block;
}

.filter-image-preview img {
    width: 100%;
    height: 100%;
}

.filter-image-preview img {
    object-fit: contain;
    display: block;
}

.ai-tag-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background-color: var(--color-primary);
    padding: 0 14px;
    color: var(--bs-white);
    border-radius: 25px;
    font-size: 9px;
    line-height: 23px;
}

.ai-tag-badge svg {
    width: 9px;
    height: 9px;
    display: none;
}

.ai-tag-badge svg path {
    fill: var(--bs-white);
}

.template-category-preview .pencila-loader {
    /* background-color: rgb(247 248 252 / 70%); */
    background-color: transparent;
    height: 35px;
    inset: auto;
    padding: 0;
    bottom: 8px;
    left: 0;
    z-index: 1;
}

.filter-content {
    width: 100%;
    /* min-height: 350px; */
    margin: 0 auto;
}

.template-category-preview .pencila-loader img {
    position: absolute;
    height: 80px;
    width: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Selected templated category preview END */

.publish-fill-up-detail .text-danger,
.publish-fill-up-detail label.error,
.publish-fill-up-detail .error.has-error {
    font-size: 10px;
}

.no-publish-text {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--color-secondary);
    font-family: var(--font-book);
}

.btn-saved {
    background-color: var(--bs-white);
    color: var(--color-secondary);
    font-size: 10px;
    font-family: var(--font-regular);
    text-transform: capitalize;
    padding: 8px 15px; 
    display: flex;
    align-items: center;
    column-gap: 7px;
    border-radius: 16px;
    border: 1px solid #D1D3DF;
    letter-spacing: .2px;
    transition: .3s;
}

.btn-saved svg path,
.btn-saved svg path {
    stroke: var(--color-secondary);
    transition: .3s;
}

.btn-saved.active {
    background-color: var(--color-primary);
    color: var(--bs-white);
}

.btn-saved.active svg path {
    stroke: var(--bs-white);
}

.with-user-template-wrp .btn-head-filter .bhf-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--bs-white);
    border-radius: 9px;
    border: 2px solid transparent;
}
.with-user-template-wrp .bhf-icon svg {
    width: 16px;
    height: 16px;
}

.with-user-template-wrp .btn-lg-filter svg{
    width: 20px;
    height: 20px;
}

/*------------------- template switch start ------------------*/

/* .template-list-switch {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
} */

.template-mng-switch {
    /* width: 300px; */
    width: 230px;
    /* border: 1px solid var(--color-border-v2); */
    margin-bottom: 0;
}

.template-mng-switch label{
    line-height: 35px;
}

.template-mng-switch .switch-wrapper{
    /* padding: 3px; */
    padding: 0;
}

.template-title-badge {
    display: flex;
    align-items: center;
    grid-gap: 20px;
    width: 70%;
}

.template-list-title{
    white-space: nowrap;
}

.tmp-badge-block {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    white-space: nowrap;
    grid-gap: 8px;
    max-width: calc(100% - 50px);
    overflow: hidden;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.btn-tmp-badge {
    color: var(--color-secondary);
    font-size: 10px;
    font-family: var(--font-regular);
    background-color: var(--color-input-bg);
    border: 0;
    border-radius: 9px;
    padding: 0 15px;
    line-height: 35px;
    transition: .3s;
}

.btn-tmp-badge:hover{
    color: var(--bs-white);
    background-color: var(--color-secondary);
}

/* .template-mng-switch .switch{
    background: var(--color-secondary);
} */

/*------------------- template switch end ------------------*/