
@media (min-width: 992px) {
    .publish-content-modal .modal-xl {
        --bs-modal-width: 800px;
    }
}
@media (min-width: 1180px) {
    .publish-content-modal .modal-xl {
        --bs-modal-width: 1140px;
    }
}
@media (min-width: 1280px) {
    .tb-c-templates .no-templates {       
        padding-bottom: 130px;
    }
}
@media (min-width: 1600px){
    .desktop-large-modal .modal-xl {
        --bs-modal-width: 1560px;
    }
    .publish-content-modal .modal-xl {
        --bs-modal-width: 1200px;
    }    
}

@media (min-width:2000px){
    .create-design-view{
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1699.98px){
    .project-left-account-detail{
        top: 90px;
    }
}

@media (max-width: 1600.98px){
    .small-text-bottom, .folder-name-wrp,
    .btn-unorganized{
        font-size: 10px;
    }
}

@media (max-width: 1599.98px){
    .folder-mng-switch label{
        line-height: 36px;
    }
    .p-inline-50 {
        padding-inline: 50px;
    }
    .project-folder-structure {
        padding: 20px 50px 40px;
    }
    .center-icon-cont {
        width: 30px;
        height: 30px;
    }
    .canvas-project-wrp {
        padding: 15px;
    }
}

@media (max-width: 1499.98px){
    /* .choose-template-content .template-switch {
        padding: 3px 40px 0px 15px;
    } */
    .folder-thumb{
        max-width: 35px;
    }
    .custom-create-thumb svg{
        width: 35px;
        height: 35px;
    }

    .choose-template-content.extended-open .template-search,
    .choose-template-content.extended-open .template-filter-content,
    .extended-open.project-popup-cont .tool-box-content {
        padding: 0 70px;
    }

    .template-popup-slider{
        width: calc(100% - 140px);
    }

    .choose-template-content.extended-open .template-main-cont .template-option-wrp{
        margin-inline: 70px;
    }

    .art-board-scrolling .w-120 {
        min-width: 95px;
        width: 95px;
        max-width: 95px;
    }
	.search-show.template-main-cont .template-option-wrp,
	.template-main-cont .template-result-cont {
    	max-height: calc(var(--viewport-height) - 259px);
	}
	.template-main-cont .template-result-cont,
	.search-show.template-main-cont .template-option-wrp {		
		min-height: 315px;
	}


}

@media (max-width: 1399.98px){
    .template-main-cont{
        /* max-height: -webkit-calc(var(--viewport-height) - 315px);
        max-height: -moz-calc(var(--viewport-height) - 315px);    
        max-height: calc(var(--viewport-height) - 315px); */
        /* min-height: -webkit-fill-available; */
    }

    .extended-open .switches-container {
        margin-left: 0;
    }

    /*---- folder design start ----*/
    
    .create-design-view{
        grid-gap: 25px;
    }

    .create-folder-wrp {
        width: 200px;
    }

    .folder-list-content {
        width: calc(100% - 235px);
    }

    /* .canvas-project-wrp {
        padding: 20px;
    } */

    .small-text-bottom, .folder-name-wrp,
    .size-option-name {
        font-size: 10px;
    }

    .folder-thumb {
        max-width: 25px;
    }

    /*---- folder design end ----*/

    .custom-create-thumb svg {
        width: 25px;
    }
    .choose-template-content.tool-box-left-wrapper, 
    .project-popup-cont.tool-box-left-wrapper {
        /* width: 385px; */
    }

    .choose-template-content.tool-box-left-wrapper, 
    .project-popup-cont.tool-box-left-wrapper, 
    .ai-tool-option.tool-box-left-wrapper {
        /* width: 385px; */
    }

    .template-search{
        /* padding: 0 35px; */
    }

    .template-main-cont .template-option-wrp{
        /* margin: 0 35px 0; */
    }
    .add-element-icon-top {      
        top: 12px;
        right: 12px;
        width: 16px;
        height: 16px;
    }

}

@media (max-width: 1299.98px){
    /*---- folder design start ----*/

    .create-folder-wrp{
        width: 177px;
    }

    .folder-list-content {
        width: calc(100% - 207px);
    }

    .add-element-icon-top {
        top: 10px;
        right: 10px;
        width: 12px;
        height: 12px;
    }

    .project-left-account-detail {
        top: 80px;
    }

    /* .create-design-view {
        grid-template-columns: repeat(6, 1fr);
    } */

    .center-icon-cont {
        width: 35px;
        height: 35px;
    }

    /*---- folder design end ----*/
}


@media (max-width: 1199.98px){
    .top-action-content {
        padding-bottom: 10px;
    }
    .create-new-folder{
        padding: 10px 0;
    }
    /* .two-split-view,
    .folder-list-ul{
        column-gap: 10px;
    } */
    .folder-list-content {
        width: calc(100% - 200px);
        padding-right: 10px;
    }
    .add-element-icon-top{
        top: 10px;
        right: 10px;
        width: 16px;
        height: 16px;
    }
    /* .create-new-design {
        padding: 10px 0;
    } */
    /* .create-new-design-wrp {
        height: 350px;
    } */

    .canvas-project-wrp {
        padding: 10px;
    }

    .large-image-view{
        border-radius: 10px;
    }
    .project-folder-structure {
        padding: 20px 25px 40px;
    }
    .p-inline-50 {
        padding-inline: 25px;
    }
}

@media (max-width: 1080.98px){
    /* .create-design-view {
        grid-template-columns: repeat(5, 1fr);
    } */
    .custom-create-thumb svg {
        width: 25px;
    }
    
}

@media (max-width: 1024.98px){
    /* .choose-template-content.tool-box-left-wrapper, .project-popup-cont.tool-box-left-wrapper {
        width: 300px;
    } */
    .extended-open .tb-c-templates, 
    .extended-open.project-popup-cont .tool-box-content {
        max-height: calc(100vh - 70px);
        margin-top: 5px;
    }
}

@media (max-width: 991.98px){
    .template-option-wrp {       
        grid-template-columns: repeat(2, 1fr); 
    }

    .create-design-view {
        grid-template-columns: repeat(3, 1fr);
    }
    .create-design-view {
        grid-gap: 20px;
    }

    .content-title {
        font-size: 18px;
        font-family: var(--font-regular);
        text-align: center;
        margin-bottom: 10px;
        padding-top: 20px !important;
    }
    .product-listing.page-listing {
        grid-template-columns: repeat(2, 1fr);
    }
    .option-modal .option-cont {      
        padding: 0;
    }
    /* .create-new-design-wrp {
        height: 250px;
    } */
    #slider2 .create-new-design-wrp {
        height: auto;
    }
    .custom-create-thumb svg {
        width: 25px;
    }

    .mx-40 {
        margin-inline: 25px;
    }

    .project-folder-structure{
        padding: 25px 0;
    }

    .template-view-extended {
        display: none;
    }

    .projects-body .hs-row{
        align-items: flex-start;
    }

    .projects-body .hs-info-block{
        flex-wrap: wrap;
        grid-gap: 10px;
        justify-content: flex-end;
    }

    .project-folder-structure .cm-container-full {
        max-width: calc(100% - 50px);
    }

    .with-ai-cont{
        justify-content: center;
    }

    .like-cont{
        display: none;
    }
}

@media (max-width: 767.98px){
    .cm-sm-none{
        display: none;
    }
    .content-title{
        font-size: 16px;
    }

    .template-title{
        margin-top: 10px;
        padding: 0px 50px 0;
    }

    .option-modal .back-action{
        left: 10px;
        top: 12px;
    }

    .create-info{
        font-size: 10px;
    }

    .select-product-error{
        border-radius: 8px;
        font-size: 10px;
        line-height: 22px;
    }

    .success-dot{
        top: 10px;
        left: 14px;
    }

    .add-icon-btn{
        right: 12px;
        width: 16px;
        height: 16px;
    }

    .product-detail{
        padding: 0 10px;
        max-width: 100%;
        margin-bottom: 15px;
    }

    .add-new-product .gallery-content{
        padding-inline: 10px;
        height: calc(var(--viewport-height) - 304px);
        padding-bottom: 10px;
    }

    .add-new-product .gl-img-box{
        grid-gap: 5px;
    }

    .product-gallery .gl-drop-label .drop-placeholder{
        max-height: 100% !important;
    }

    .drop-placeholder{
        border-radius: 8px;
    }

    .template-wrp{
        padding: 0 10px 10px;
    }

    .template-search {
        margin: 10px auto 0;
        padding: 0 10px;
        max-width: 100%;
    }

    .project-main-wrapper {
        flex-direction: column;
        grid-gap: 15px;
    }
    .project-left-account-detail {
        position: relative;
        top: 0;
        padding: 20px 15px;
    }
    .project-left-account-detail, .project-right-content {
        margin: 0 auto;
        /* width: calc(100% - 45px); */
        width: calc(100% - 25px);
    }
    .two-split-view {       
        flex-direction: column;
        row-gap: 15px;
    }
    .folder-list-content {
        width: 100%;
    }
    .create-design-view {       
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 25px;
    }
    /* .create-new-design-wrp {
        height: 175px;
    } */
    .profile-content {       
        width: 150px;
        height: 150px;
    }
    .profile-name-text {
        font-size: 58px;
        line-height: 38px;
    }
    .template-review-modal .cm-inner-body {
        padding: 20px;
    }      
    .template-review-modal .modal-sm {
        --bs-modal-width: 100%;       
    }

    .publish-fill-up-detail .filter-box {
        padding: 8px;
        column-gap: 8px;
        /* align-items: flex-start; */
    }
    .publish-fill-up-detail .filter-description {      
        column-gap: 5px;
    }
    .publish-fill-up-detail .profile-image-cont {
        width: 32px;
        min-width: 32px;
        max-width: 32px;
        height: 32px;
        max-height: 32px;
        min-height: 32px;
    }
    .publish-fill-up-detail .profile-name-cont {       
        font-size: 12px;
        line-height: 13px;
    }
    .eye-icon-cont {      
        flex-direction: column;
        row-gap: 3px;
    }
    .template-form .filter-name {      
        font-size: 12px;
        line-height: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;  
        overflow: hidden;
    }
    .publish-fill-up-detail .filter-description {        
        align-items: center;
    }

    .profile-filter-name{
        margin-bottom: 0;
    }
    .filter-description{
        column-gap: 5px;
    }

    /*-----  -----*/
    .project-folder-structure{
        padding: 15px 0;    
        min-height: calc(var(--viewport-height) - 280px);
    }
    .project-switch {
        margin-bottom: 0;
        width: 100%;
    }
    .create-new-design {
        padding: 5px 0;
    }

    .add-element-icon-top{
        top: 12px;
        right: 12px;
        width: 20px;
        height: 20px;
    }

    .create-new-folder{
        border-bottom: 0;
    }

    .create-new-folder .gray-box-element,
    .create-folder-wrp{
        width: 100%;
    }

    .folder-list-ul{
        width: 100%;
        display: grid;
        grid-gap: 10px;
        grid-template-columns: repeat(2, 1fr);
    }

    .folder-list-li {
        max-width: 100%;
    }

    .small-sqr-box{
        width: 100%;
        /* height: 180px; */
    }

    .top-action-content {
        padding-bottom: 10px;
    }

    .create-new-folder{
        padding-top: 10px;
    }
    .choose-template-content.tool-box-wrapper .template-option-wrp {       
        max-height: none;
    }
    .choose-template-content #div-template-option-wrp .option-cont {
        height: auto;
        aspect-ratio: auto;
        overflow: hidden;
    }
    .template-main-cont {
        max-height: -webkit-calc(var(--viewport-height) - 235px);
        max-height: -moz-calc(var(--viewport-height) - 235px);    
        max-height: calc(var(--viewport-height) - 235px);
        /* min-height: -webkit-fill-available; */
    }

    .mx-40 {
        margin-inline: 0;
        padding-right: 25px;
    }

    .add-product-body {       
        flex-direction: column;
    }
    .add-product-left {      
        max-width: 100%;
    }
    .cm-gl-box {       
        grid-template-columns: repeat(2, 1fr);
    }

    .folder-mng-switch-block{
        /* background-color: var(--color-bg-new); */
        /* padding-block: 5px; */
        margin: 0;
    }

    .folder-mng-switch{
        margin-bottom: 0;
        width: 350px;
        /* border-radius: 50px; */
    }

    /* .cpf-chk-box, .cpf-tool-box{
        opacity: 1;
        visibility: visible;
    } */

    .project-folder-opt-block .sm-title-text, .template-filter-content .template-list-title, .project-folder-structure .sm-title-text {
        font-size: 12px;
    }

    .projects-body .hs-info-block {       
        justify-content: space-between;
        width: 100%;
    }

    .projects-body .list-unorganised_project {
        order: 1;
    }
    .projects-body .folder-mng-switch-block {
        order: 3;
        width: 100%;
    }
    .projects-body .hs-info-block .hs-search-box {
        order: 2;
        width: 100%;
    }

    .bottom-selection-option {       
        bottom: 30px;
        width: 100%;
        padding: 8px 15px;
        max-width: calc(100% - 40px);
    }
}

@media (max-width: 575.98px){
    .option-cont img {   
        width: 100%;
    }
    .template-option-wrp {
        padding: 0px 15px 5px;
    }
    .template-option-wrp {      
        max-height: -webkit-calc(var(--viewport-height) - 272px);
        max-height: -moz-calc(var(--viewport-height) - 272px);    
        max-height: calc(var(--viewport-height) - 272px);
        /* min-height: -webkit-fill-available; */
        margin-top: 10px;
    }
    .product-listing {      
        max-height: -webkit-calc(var(--viewport-height) - 380px);
        max-height: -moz-calc(var(--viewport-height) - 380px);    
        max-height: calc(var(--viewport-height) - 380px);
        /* min-height: -webkit-fill-available; */
    }   
    .add-new-button-content{
        max-width: 100%;
    }
    .option-modal .product-listing {    
        max-height: -webkit-calc(var(--viewport-height) - 198px);
        max-height: -moz-calc(var(--viewport-height) - 198px);      
        max-height: calc(var(--viewport-height) - 198px);
        /* min-height: -webkit-fill-available; */
        padding: 0 10px 10px;
        grid-gap: 8px;
    }   
    .option-modal .content-title {
        padding-top: 0 !important;
        margin-top: 10px !important;
    }
    .option-modal .add-new-button-content {
        margin: 0 auto 5px;
        padding: 10px;
    }
    .product-listing.page-listing {
        grid-template-columns: repeat(1, 1fr);
    }
    .template-switch {
        padding: 3px 30px 0;
    }
    .template-preview-large {      
        flex-direction: column;
    }
    .content-left, 
    .content-right, 
    .publish-content-modal .content-left,
    .publish-content-modal .content-right {
        width: 100%;
    }
    .template-image-preview-content {        
        row-gap: 20px;    
        flex-direction: column;
    }
    .right-preview-content {
        width: 100%;
        height: 100%;
        aspect-ratio: 1 / 1;
    }
    .small-thumbnail-preview {
        min-width: 93px;
    }
    .left-preview-content {      
        flex-direction: row;       
        column-gap: 15px;
        height: 100%;       
    }
    .text-format-content{
        position: relative;
        height: calc(100% - 90px);
    }
    .text-format-content .btn-tb-display:active {
        background-color: #EAEBF2;
        color: var(--color-secondary);
    }

    #new-template-modal .content-left {      
        /* min-height: calc(var(--viewport-height) - 320px); */
        min-height: calc(var(--viewport-height) - 276px);
        max-height: -webkit-calc(var(--viewport-height) - 320px);
        max-height: -moz-calc(var(--viewport-height) - 320px);    
        max-height: calc(var(--viewport-height) - 320px);
        /* min-height: -webkit-fill-available; */
    }
    .projects-back-cont {
        background-image: url(../../../../../images/heading-bg/head-bg-project_mobile.png);
    }

    .project-folder-structure{
        padding-top: 0;
    }

    .folder-mng-switch{
        /* width: 100%; */
        /* border-radius: 0; */
        border-left: 0;
        border-right: 0;
    }

    .projects-body .hs-info-block .folder-mng-switch{
        width: 100%;
    }

    .create-design-view {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 25px;
    }

    .template-right-artboard{
        /* height: 430px; */
        height: 100%;
    }


    .publish-fill-up-detail{
        overflow: hidden;
        overflow-y: auto;
        /* max-height: 280px; */
        max-height: 221px;
    }

    .proj-space-c{
        padding: 25px;
    }

    .publish-fill-up-detail{
        padding: 25px;
    }
    .projects-body .create-new-design-wrp {
        aspect-ratio: 1 / 1;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    /* .project-folder-structure {
        padding: 10px;
    }     */
    /* .create-new-design-wrp {
        height: 250px;
    } */
    .create-folder-wrp {       
        width: 200px;
    }
    .project-left-account-detail {
        padding: 20px 25px;
        width: 245px;
        top: 75px;
    }
    /* .profile-content {      
        width: 160px;
        height: 160px;
    } */
    .profile-name-text {
        font-size: 58px;
        line-height: 34px;
    }
    .project-right-content {
        width: calc(100% - 255px);
    }
    /* .create-design-view {    
        grid-template-columns: repeat(2, 1fr);
    } */
    .ai-design-template-search {
        max-width: 370px;
    }

    .template-preview-large {      
        flex-direction: column;
    }
    .content-left, 
    .content-right, 
    .publish-content-modal .content-left,
    .publish-content-modal .content-right {
        width: 100%;
    }
    .template-image-preview-content {        
        row-gap: 20px;    
        flex-direction: column-reverse;
    }
    .right-preview-content {
        width: 100%;
        height: 100%;
    }
    .small-thumbnail-preview {
        min-width: 93px;
    }
    .left-preview-content {      
        flex-direction: row;       
        column-gap: 15px;
        height: 100%;       
    }   
    .template-option-wrp {
        margin-top: 8px;
    }
    .option-cont img {      
        width: 95%;
    }
    .large-image-view {
        width: 100%;
        height: 100%;
    }
    /* .create-new-design-wrp {
        height: auto;
    } */
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    /* .create-design-view {
        grid-template-columns: repeat(4, 1fr);       
    } */
    /* .create-new-design-wrp {
        height: 280px;
    } */
    .project-left-account-detail {      
        top: 90px;
    }
}

@media (max-width: 359.98px){
    .template-right-artboard{
        height: 360px;
    }
    .publish-fill-up-detail {
        padding: 15px;
    }
}
