:root,[data-bs-theme=light] {
    --bs-border-radius: 16px;
}

.btn {
    --bs-btn-border-radius: var(--bs-border-radius);
}

.nowrap {
    white-space: nowrap;
}



#main-wrapper[data-layout=horizontal] .sidebar-nav #sidebarnav > .sidebar-item .first-level {
    padding: 10px;
    border-radius: 7px;
    animation: menuDropdownShow .3s ease-in-out;
    transition: background-color 1.3s
}

#main-wrapper[data-layout=vertical] .editor-header.fixed-header {
    transition: 10s ease-in
}
.body-wrapper > .container-fluid,
.body-wrapper > .container-lg,
.body-wrapper > .container-md,
.body-wrapper > .container-sm,
.body-wrapper > .container-xl,
.body-wrapper > .container-xxl {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    transition: 10s ease-in !important;
}

/* for mobile 
@media (max-width: 768px) {
    .body-wrapper > .container-fluid,
    .body-wrapper > .container-lg,
    .body-wrapper > .container-md,
    .body-wrapper > .container-sm,
    .body-wrapper > .container-xl,
    .body-wrapper > .container-xxl {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0px;
        transition: 10s ease-in !important;
    }
    .m-5 {
        margin: 1rem !important;
    }
}
*/


.body-wrapper {
    padding-top: 80px;
}



/* */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Account for sticky header height */
}

body {
    letter-spacing: 1.14px;
    font-size: 1rem;
}

.min-vh-70 {
    min-height: 70vh !important
}
.min-vh-80 {
    min-height: 80vh !important
}

.h4,
.h5,
.h6,
h4,
h5,
h6 {
    font-weight: 500 !important;
    letter-spacing: 1.05px !important;
}
.h1,
.h2,
.h3,
h1,
h2,
h3 {
    text-transform: capitalize;
    font-family: 'Roboto Serif', serif;
    font-weight: 500;
}

.h2,
h2 {
    font-size: 2rem;
}

.megazilla {
    font-size: 80px;
    font-weight: 900;
}

.fw-bolder {
    font-weight: 500 !important;
}
.fw-semibold {
    font-weight: 400 !important;
}
.very-thin{
    font-weight: 100;
}

.registry-background{
	background: rgb(255,206,68);
	background: linear-gradient(164deg, rgba(250,255,68,1) 0%, rgba(255,31,6,1) 100%);
}
.gray-background {
    background: linear-gradient(164deg, rgb(90 90 90) 0%, rgb(35 35 35) 100%);
}

.tooltip{
    z-index: 999999999;
}
.c-rounded{
    border-radius: 16px;
}

.carrot_cta {
    /*
    border-color: #ff5df2;
    border: 1px dashed #ff5df2;
    */
}


#countdown{
    font-size: 14px;
}

.div-on-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.fade-out {
    opacity: 0 !important;
    transition: opacity 1s ease;
}
@keyframes fadeInAnimation {
    to {
        opacity: 1;
    }
}
.fade-in {
    opacity: 0;
    animation: fadeInAnimation 3s ease forwards !important;
}


/*******************************   acknowledge   ************************/
.acknowledge {
    position: relative;
    display: contents;
    overflow: hidden;
}


/*******************************   badge   ************************/
#v-pills-tab .nav-link .badge-outlined {
    border: 1px solid black;
    color: black;
}
#v-pills-tab .nav-link.active .badge-outlined,
#v-pills-tab .nav-link.active.show .badge-outlined {
    border: 1px solid white;
    color: white;
}


/*******************************   navigation   ************************/
.editor-header .navbar .navbar-nav.quick-links .nav-item .nav-link {
    font-size: 1.2rem;
    font-weight: 400;
    position: relative;
    z-index: 2;
    color: black;
}
.editor-header .navbar .navbar-nav.quick-links .nav-item:hover .nav-link:before {
    height: 52px;
}
.editor-header .navbar .navbar-nav .nav-item .nav-link {
    padding: 8px 24px !important;
}


.navbar-nav .hover-dd .dropdown-menu-nav {
    max-width: 510px;
    width: unset;
}

.page-link {
    margin: 4px;
    border: none;
    border-radius: 8px;
}

.proposal-navbar{
    backdrop-filter: blur(10px);
    background-color: #525252b2 !important;
}


.btn-outline-blue {
    color: #007bff;
    border-color: #007bff;
    border: 2px solid #007bff;
}
.btn-outline-blue:hover {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}
.btn-success {
    background-color: #148f14;
}

.menu-active {
    color: #fff !important;
    background-color: #000000;
    transition: background-color 0.5s ease;
}
.menu-active:hover {
    color: #e0e0e0 !important; 
    background-color: #4a4a4a; 
}
.menu-active:focus {
    color: #fff !important;
    background-color: #000000;
}
.menu-active .text-muted {
    color: rgba(255, 255, 255, 0.666) !important;
}

.settings-title-container {
    background-color: black;
    /* border-radius: 8px; */
    padding: 15px;
}
.settings-title{
    text-transform: uppercase;
    font-size: 16px;
    margin: 0px;
}

.settings-navigation{
    flex-wrap: nowrap;
}
/*
#settings-navigation {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
}
*/

/* Style for nav-link when it's active */
.nav-link.active {
    color: #ff6600 !important;  /* White text color; adjust if needed */
    text-decoration: none;  /* Removes underline */
}

.nav-pills .nav-link.active.active-white {
    color: #ffffff !important;
}
.nav-pills .nav-link.active.active-white:hover {
    background: #3f5bb9 !important;
}

.sub-navigation {
    cursor: pointer;
    border-radius: 6px;
}
.sub-navigation:hover {
    background: #ecf2ff;
}
.sub-navigation:hover h6,
.sub-navigation:hover span {
    color: rgb(93, 135, 255) !important;
}
.sub-navigation:hover .ti{
    color: rgb(93, 135, 255) !important;
}
.sub-navigation:hover .bg-light{
    background-color: #ecf2ff !important;
}


.nav-link {
    cursor: pointer;
    color: #4768d6;
}


.tab-link {
    border: 1px solid #5D87FF;
    cursor: pointer;
    color: #4768d6;
}
.tab-link-disabled {
    border: 1px solid #d0d0d0;
    cursor: pointer;
    color: #7c7c7c;
}
.tab-link:hover {
    color: #4768d6;
    background: #ecf2ff;
}

/* proposal navbar */
#mainNavbar {
    transition: top 0.3s;
}


.hidden-on-start{
    display: none;
}


/* General styles */
.mb-3 {
    margin-bottom: 1rem;
}

.image-preview-container {
    height: 200px;
    overflow: hidden;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    display: flex;         /* Use flex to center the image */
    justify-content: center;
    align-items: center;
}


.preview-image {
    transition: transform 0.3s ease-in-out;
    cursor: pointer !important;
}
.preview-image:hover {
    transform: scale(1.02);
}
.preview-image.no-transform {
    transform: none !important;
}


/* Styles for the actual uploaded image preview */
.uploaded-image {
    max-width: 100%;       /* Allow the image to scale up to the full width of the container */
    max-height: 100%;      /* Allow the image to scale up to the full height of the container */
    object-fit: contain;   /* Ensure the image fits inside the container while preserving aspect ratio */
}



.form-control:disabled {
    background-color: var(--bs-secondary-bg);
    opacity: 0.5 !important;
}

.form-control {
    color: black;
    background-color: #f6f6f6;
    background-clip: padding-box;
    border: var(--bs-border-width) solid #ffffff;
    /* font-size: 21px; */
}

.open-options-cta, .form-check-input {
    cursor: pointer;
}
.form-switch .form-check-input:checked {
    width: 52px;
    height: 32px;
}
.form-check-input:checked {
    border: unset;
}

.form-switch .form-check-input {
    width: 52px;
    height: 32px;
}
.form-switch .form-check-input:hover {
    border: 2px solid #4768d6;
}

.form-switch-sm .form-check-input {
    width: 40px !important;
    height: 20px !important;
}

.form-check-input:checked {
    background-color: black;
}

.form-check-input:disabled {
    pointer-events: none;
    filter: none;
    opacity: .3 !important;
}

.select-label{
    color: rgba(var(--bs-body-color-rgb), .65);
    transform: scale(.85) translateY(-0.5rem) translateX(0.15rem);
}

/* select option tab */
.monospace {
    font-family: monospace;
}
/*
.tabbed-option::before {
    content: attr(value);
    display: inline-block;
    width: 50px;
}
*/



.set-form-hover {
    background-color: white;
}
.set-form-hover:hover {
    border-color: #4768d6;
    background-color: white;
}


.hovereffect{
    transition: background-color 0.3s ease; /* Smooth transition */
    padding: 10px;
    border-radius: 12px;
}
.hovereffect:hover {
    background-color: rgb(246, 249, 252) !important;
}



.no-select {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Old versions of Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently supported by Chrome, Opera and Firefox */
}


#main-wrapper[data-layout=vertical][data-header-position=fixed] .editor-header {
    width: 100% !important;
}
.editor-header.fixed-header {
    padding: 0px !important;
    transition: none !important;
    
}

.editor-header {
    padding-left: 36px !important;
    padding-right: 36px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}


.large-offcanvas{
    width: 620px !important;
}
.offcanvas-header,
.offcanvas-footer {
    position: sticky;
    z-index: 1020;
    padding: 32px;
}

.offcanvas-header {
    top: 0;
    background: white;
}

.offcanvas-footer {
    bottom: -24px;
    background: white;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding-left: 0px;
    padding-right: 0px;
    display: flex !important;
    justify-content: space-between !important;
}
.offcanvas-body {
    overflow-y: auto;
    padding: 0px;
    display: flex;
    flex-direction: column;
}



.form-control:focus {
    color: #5a6a85;
    background-color: transparent;
    border-color: #aec3ff;
    outline: 0;
    box-shadow: unset,0 0 0 .25rem rgba(93,135,255,.25);
    border: 3px solid #5D87FF;
}
.form-control {
    font-size: 0.98rem;
}



#main-wrapper[data-layout=vertical][data-sidebartype=full] .body-wrapper {
    /*margin-left: unset !important;*/
}


textarea[autosize] {
    box-sizing: border-box;
    resize: none; /* Optional: if you don't want the user to manually resize the textarea */
}



.dropify-font-upload:before, .dropify-wrapper .dropify-message span.file-icon:before {
    content: '\e800';
}



.child-ajax-stage{
    margin: 5px;
    padding: 5px;
    border: 10px solid green;
}




.toast{
    top: 46px;
        right: -12px;
        border-radius: 8px !important;
        opacity: 0.6   ;
}
.toast-container {
    position: fixed !important;
    z-index: 999999 !important;
    pointer-events: none;
    width: 100% !important;
    display: flex;
    justify-content: flex-end;

    
}

#toast-container {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: end;
    /* Aligns the toasts to the right */
    margin-top: 10px;
    /* Adjust as needed */
    margin-right: 10px;
    /* Adjust as needed */


}


/*********************************************************************/




.drag-highlight-container {
	background-color: rgb(225, 225, 225) !important;
	transition: opacity 0.3s;

    /*border: 2px solid #2196F3; /* Blue color for demonstration */
}

.drag-container-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Create a grid with boxes of minimum 250px width */
    gap: 20px; /* Space between grid items */
    width: 800px; /* This is just an example width; set this to whatever you like */

    border: 1px solid #ccc; 
    padding: 20px;
	background-color: rgb(203, 203, 203);

    
}

.drag-item-content{
	
	/* height: 30px;*/
}

.drag-container-style {
    border: 1px solid #ccc; 
    padding: 22px;
    /*width: 290px;  Or any desired width */
    background-color: rgb(118, 134, 255);
	display:grid;
	gap: 22px;

    /*margin-bottom: 20px; /* Spacing between boxes */
}

.drag-container {
    border: 1px solid #ccc; 
    padding: 22px;
    /*width: 250px; /* Or any desired width */
    background-color: rgb(203, 203, 203);
	display:grid;
	gap: 20px;

    /*margin-bottom: 20px; /* Spacing between boxes */
}

.drag-list-item {
	/*height: 30px;*/
    padding: 10px;
    background-color: #fff;
    
    /*border: 1px solid #ddd;*/
    /* margin-bottom: 10px; /* Spacing between list items */
    /*box-shadow: 0 3px 6px rgba(0,0,0,0.1);*/
}

/* Placeholder style when dragging */
/*    transition: all 0.3s; */
.sortable-placeholder {
	height: 30px;
	padding: 0px;

    background: #d5d5d5;

	opacity: 0; 
	transition: opacity 1s;
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
.sortable-product-placeholder {
    border-radius: 16px;
    background-color: rgba(0, 0, 255, 0.08);
    height: 80px;
    opacity: 0;
    /* Start with an invisible state */
    animation: fadeIn 1s ease forwards;
    /* Apply the animation */
}



.sortable-placeholder {
    margin: 0;
}

.drag-list-item.ui-sortable-helper {
    transform: scale(1.05); /* 5% larger */
    z-index: 100; /* Ensure it's above other items */
    box-shadow: 0 8px 16px rgba(0,0,0,0.2); /* Optional: give it a more pronounced shadow */
}





.template{
    display: none;
}

.select-documentTemplate{
    cursor: pointer;
}

.drag-handle-icon{
    cursor: grab;
    background-color: blue;
    color: white;
    padding: 8px;
    margin:4px;
    display: inline-table;
}


/****************************  Style the close button  *****************************/
/*
.page-grid-structure {
    height: 100vh !important;
    
}

.a4-container{
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f4f6; 
}

.a4-portrait {
    width: 70vw;
    
    height: calc(70vw * 1.4142);
    
    background-color: white;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
}
.a4-portrait {
    width: 70vw;
    
    height: calc(70vw * 1.4142); 
    
    background-color: white;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
}
.a4-landscape {
    height: calc(100% / 1.4142); 
    
    background-color: white;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.1);
}


.responsive-text {
    font-size: 1vw; 
}
.responsive-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
 */


/****************************  proposal generator  *****************************/
.btn-gradient {
    background: linear-gradient(to right, blue, red);
    border: none;
    color: white;
}
.btn-gradient:hover {
    color: white;
    background: linear-gradient(to right, darkblue, darkred);
}

.proposal-icon {
    width: 100px;
    background-color: rgb(235, 235, 235);
    display: flex;
    border-radius: 17px;
    justify-content: center;
    height: 45px;
    align-items: center;
    left: -23px;
    position: relative;
}
 .grid-structure .row {
    display: flex;   
    /* height: 100vh;   mitja... */
}
.row-proposal{
    margin:0px;
}
.col-fixed {
    width: 200px;
    height: 100%;  
    padding: 0px;
    margin: 0px;
    /* overflow-y: auto; */
}
/*
.cta-column button {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.cta-column:hover button {
    opacity: 1;
}
*/

#open-new-section-modal {
    background-color: rgba(6, 6, 6, 0.08);
    border: 1px solid rgba(255, 255, 255, 0) !important;
    border-radius: 16px;
    padding: 6px;
    width: 100%;
    transition: opacity 0.2s ease;
}
#open-new-section-modal:hover {
    border: 1px solid white !important;
    transition: opacity 0.2s ease;
}
/*
#open-new-section-modal {
    opacity: 0 !important;
    transition: opacity 0.6s ease;
}
.sidebar-nav:hover #open-new-section-modal {
    opacity: 1 !important;
    transition: opacity 0.2s ease;
}
*/

.link_disabled {
    /*pointer-events: none;*/
    cursor: progress !important;
    opacity: 0.4;
}

.btn-link{
    color: #4768d6;
    text-decoration: none;
}
.btn-link:hover{
    color: #2a4292;
    text-decoration: none;
}

.btn-small {
    --bs-btn-padding-x: 9px;
    --bs-btn-padding-y: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    padding-bottom: 9px;
    margin-right: 4px;
}

.col-flexible {
    flex: 1;   
    display: flex;
    /*
    justify-content: center;
    align-items: center;
    */
    overflow: hidden; 
}
.scrolled-content {
    /* now there is a new version */
    /*
    height: 100vh;
    padding-left: 20px;
    padding-right: 20px;
    overflow-y: auto;
    padding-top: 100px;
    padding-bottom: 100px;
    */
}
.page-container {
    /*scroll-behavior: smooth; */
} 

.open-page-settings{
    outline: 10px solid #5D87FF;
}


.carrot-background{
    background-color: white !important;
}

.order {
    position: relative;
    top: -5px;
    left: 22px;
    display: flex;
    flex-direction: row-reverse;
    color: white;
}

/*******************************   page preview   ************************/
.proposal-dark-preview {
    background-color: #c2c2c2 !important;
    color: black !important
}
.proposal-dark-preview h3 {
    color: black !important
}
.proposal-dark-preview .ti {
    color: black !important
}
.proposal-navbar-preview {
    background-color: #525252b2 !important;
}
.proposal-dark-preview .chapter-title{
    color: #000000 !important;
}

.static_preview_active {
    pointer-events: none;
}
.body-preview-mode {
    margin-left: 0px !important;
}
.page-container-preview-mode {
    width: 100% !important;
    padding-bottom: 50px;
}
.page-preview-mode {
    margin-bottom: 2px !important;
    margin-top: 0px !important;
}
.preview-hide {
    display: none !important;
}
.proposal-section-list .chapter_clientview{ /* preview */
    background-color: unset !important;
}
.proposal-section-list .chapter_clientview .list-item-header:hover{ /* preview */
    pointer-events: none !important;
}



.carrot_proposal_url {
    pointer-events: none !important;
}


.page-settings-cta-container{
    position: absolute;
    right: 0;
    top: 0;
    transition: background-color 0.3s ease;
    transform: translateY(-100%);
    display: flex;
    gap: 4px;
}
.page-settings-cta {
    display: flex;
    align-items: center;

    background-color: #5D87FF;
    border: 1px solid #5D87FF;
    color: white;
    border-radius: 8px;
    padding: 2px 10px;
    cursor: pointer !important;
}
.page-settings-cta:hover {
    background-color: #4768d6;
    color: white;
}
.page-settings-cta.active {
    background-color: transparent;
    color: #5D87FF;
    border: 1px solid #5D87FF;
}


/* hover */
.bg-hover {
    border-radius: 8px;
    transition: background-color 0.3s ease;
}
.bg-hover h6,
.bg-hover span {
    transition: color 0.3s ease;
}
.bg-hover .ti-settings-2 {
    transition: color 0.3s ease;
}
.bg-hover:hover {
    background-color: #007bff;
}
.bg-hover:hover h6 {
        color: #ffffff !important;
}
.bg-hover:hover span {
    color: #ffffffae !important;
}
.bg-hover:hover .ti-settings-2 {
    color: #ffffff;
}






/*******************************   page top and bottom CTA   ************************/

.page-start-state {
    opacity: 0;
}

.page-container {
    position: relative;
}
.page {
    position: relative;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page .ontop, .page .onbottom {
    position: absolute;
    left: 0;
    right: 0;
}
.page .ontop {
    top: -30px;
}
.page .onbottom {
    bottom: -30px;
}
.page:not(:first-child) .onbottom {
    opacity: 0;
    pointer-events: auto;
}

.page .cta {
    text-align: center;
    height: 30px;
    line-height: 30px;
    opacity: 0;
    transition: opacity 0.5s ease;
    /*pointer-events: none;*/
}
.page:hover .cta {
    opacity: 1;
    pointer-events: auto;
}




/*********************************** cta hover *************************************/
/**/
.hover-cta {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.main-product-container {
    width: 100%;
    /*left: -60px !important;*/
    position: relative;
    /*background-color: #148f14;*/
}

.main-product-container:hover .hover-cta {
    opacity: 1;
    transition: opacity 0.1s ease;
}

/***********************************************************************************/
.a4-container {
    /* Adjust this as necessary to fit your layout */
}




.a4-wrapper {
    padding-bottom: 70.71%; /* Landscape A4 ratio: 210mm/297mm = 70.71% */
    position: relative;
    background-color: #eee; /* This is for visualization. You can remove this. */
    box-shadow: 0 23px 26px rgba(0,0,0,0.1);
}

.a4-landscape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.1);

    font-size: 1vw; 
    font-family: verdana;

/*    background-image: url('../../../../vendor/test-image.jpg'); */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}



/****************************  proposal templates  *****************************/
.responsive-text {
    font-size: 1vw; 
}
.responsive-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.a4-headline {
    font-size: calc(30 * 0.076vw);
    font-weight: bold;
    margin-bottom: 10px;
}

.a4-copy {
    font-size: calc(18 * 0.076vw);
    line-height: 1.5;
}

.image-container {
    width: 100%;   /* You can set the desired width */
    height: 100%;  /* You can set the desired height */
    
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Ensures the image doesn't repeat */
    background-size: cover; /* Makes the image cover the entire div */

    cursor: pointer;
    /* Transition for smooth effect */
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}
.image-container:hover {
    /*transform: scale(1.1); /* Zooms the image on hover */
    /*filter: brightness(70%); /* Darkens the image on hover */
    /*box-shadow: inset 0 0 0 5px blue; */
}
.el-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out; /* for smooth fade in/out */
    display: flex;
    justify-content: center; /* centers the ul horizontally */
    align-items: center; /* centers the ul vertically */
}

/** carrot-editable **/
.carrot-editable {
    border-radius: 8px;
    border: 1px dashed rgba(55, 0, 255, 0);
    /*transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;*/
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out, background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
    margin-bottom: 1rem !important;
    opacity: 1 !important;
}
.carrot-product-editable {
    border: 1px dashed rgba(255, 0, 0, 0) !important;
}
.main-product-item:hover .carrot-product-editable {
    border: 1px dashed rgb(8, 0, 255) !important;
}
.optional-product-item:hover .carrot-product-editable {
    border: 1px dashed rgb(8, 0, 255) !important;
}
.carrot-client-view{
    margin-bottom: 1rem !important;
}
.page:hover .carrot-editable {
    transition: border-color 0.3s ease-in-out;
    border: 1px dashed #007bff;
}


.cke_preview {
    border: 1px dashed rgba(55, 0, 255, 0) !important;
    pointer-events: none !important;
}
.image_preview{
    pointer-events: none !important;
}
/*
.carrot-editable:hover {
    box-shadow: 0 0 0 3px rgb(93 135 255);
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0);
}
*/
.current-page .carrot-editable {
    border: 1px dashed rgba(55, 0, 255, 0.182);
    transition: opacity 0.4s ease;
}
.current-page .carrot-editable:hover {
    /*border: 1px dashed rgba(55, 0, 255, 0);*/
    transition: opacity 0.4s ease;
}
.image-container:hover .el-overlay {
    opacity: 1;
}
#cta-small {
    /*pointer-events: none; */
    display: none;
}

.current-page .ck.ck-editor__editable_inline {
    padding: 0px !important;
    margin: 0px !important;
    margin-bottom: 1rem !important;
    border: 1px dashed rgba(55, 0, 255, 0.267) !important;
}
.ck.ck-powered-by {
    display: none;
}
.ck.ck-editor__editable_inline {
    border: 1px dashed rgba(55, 0, 255, 0) !important;
} 
/*.ck-editor__editable_inline > :first-child { */
.ck-editor__editable_inline {
    margin: 0px !important;
    margin-bottom: 1rem !important;
}
.ck-editor__editable_inline {
    border: 1px solid transparent;
    overflow: auto;
    padding: 0px !important;
}

.ck.ck-editor__editable_inline > :last-child {
    margin-bottom: 1rem !important;
}
.ck.ck-editor__editable_inline > :first-child {
    margin-top: 0px !important;
}



/****************************  product pages  *****************************/
.editable-wrapper {
    position: relative;
    display: inline-block;
    /* or block depending on your layout needs */
}

.carrot-content-editable {
    border-radius: 8px;
    padding: 6px;
    transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.carrot-content-editable:hover {
    
    background-color: #f2f2f2;
}
.carrot-content-editable:focus {
    box-shadow: 0 0 0 3px rgb(93, 135, 255) !important;
    background-color: #ffffff;
}

.option-product-container {
    transition: opacity 0.2s ease-in-out;
}

.option-product-container.product_view_hidden {
    opacity: 0.3;
}
.product_view_hidden {
    opacity: 0.3;
    text-decoration: line-through !important;
}


/****************************  Uploader  *****************************/

#files {
    /* overflow-y: scroll !important; */
    min-height: 320px;
}
.dm-uploader {
    border: 0.25rem dashed #A5A5C7;
    text-align: center;
}
.dm-uploader.active {
    border-color: red;
    border-style: solid;
}
.dm-uploader {
    cursor: default;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}
.dm-uploader .btn {
    position: relative;
    overflow: hidden
}
.dm-uploader .btn input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    border: solid transparent;
    width: 100%;
    opacity: 0;
    cursor: pointer
}


/****************************  proposal inline editing  *****************************/
.inline-edit {
    cursor: pointer;
    border-radius: 8px;
    padding: 4px;
}
.inline-edit:hover{
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.inline-edit-active {
    cursor: text;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5) !important;
    background-color: #0000001c;
}
.inline-edit::after {
    content: '\eb04';
    font-family: tabler-icons;
    font-size: 24px !important;
    position: absolute;
    /* right: -10px; */
    top: 27px;
    opacity: 0.3;
    transition: opacity 0.3s;
    /* left: -5px; */
    margin-left: 10px;
}

.inline-edit:hover::after {
    opacity: 1;
}

/****************************  proposal pages drag and drop  *****************************/


.proposal-section-list {
    display: flex;
    flex-direction: column;

    gap: 10px;
    width: 100%;

    padding: 4px;
	/*background-color: rgb(203, 203, 203);*/
}
.text-truncate {
    /* override bootstrap */
    white-space: normal;
}
.list-item-content{
    border-radius: 16px;
    padding: 12px;
    /*height: 30px;*/
    
    border-right: 40px solid transparent;
    width: calc(100% + 40px);
}

.proposal-list-item {
    background-color: rgba(6, 6, 6, 0.08);
    border-radius: 16px;
}
.list-item-content button {
    opacity: 0;
    transition: opacity 0.6s ease;
}
.list-item-content:hover {
    /*background-color: rgba(6, 6, 6, 0.04) !important;*/
    transition: opacity 0.2s ease;
}
.plus-btn-small {
    width: 25px !important;
    height: 25px !important;
}
.secion-cta-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* gap: 8px; */
}


.list-item-content:hover button {
    opacity: 1;
}







@keyframes slowRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
.ti-rotate-clockwise {
    animation: slowRotate 3s linear infinite;
    display: inline-block;
    /* Make sure it's inline-block or block */
    font-size: 40px;
    /* No need for !important if it's not being overridden elsewhere */
    color: #d2d2d2;
}




.btn-light-danger:hover {
    background-color: rgb(250, 137, 107);
    border-color: rgb(250, 137, 107);
    color: #fff !important;
}

.editor-working {
    background-color: rgba(0, 0, 0, 0.274);
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 999999999999;
    cursor: wait;
}

.loading-animation {
    background-image: linear-gradient(45deg, white 25%, #ebf3fe 25%, #ebf3fe 50%, white 50%, white 75%, #ebf3fe 75%, #ebf3fe);
    background-size: 1rem 1rem;
    animation: slide 0.6s linear infinite;
    --bs-table-bg: none;
    pointer-events: none !important;
}

.button-loading-animation {
    background-image: linear-gradient(45deg, white 25%, #5D87FF 25%, #5D87FF 50%, white 50%, white 75%, #5D87FF 75%, #5D87FF);
    background-size: 1rem 1rem;
    animation: slide 0.6s linear infinite;
    --bs-table-bg: none;
    border: 1px solid white !important;
    pointer-events: none !important;
}

.light-loading-animation {
    background-image: linear-gradient(45deg, #FFFFFF00 25%, #E6F0FFDD 25%, #E6F0FFDD 50%, #FFFFFF00 50%, #FFFFFF00 75%, #E6F0FFDD 75%, #E6F0FFDD);
    background-size: 1rem 1rem;
    animation: slide 0.6s linear infinite;
    --bs-table-bg: none;
    pointer-events: none !important;
}
.dark-loading-animation {
    background-image: linear-gradient(45deg, #FFFFFF00 25%, #00000025 25%, #00000025 50%, #FFFFFF00 50%, #FFFFFF00 75%, #00000025 75%, #00000025);
    background-size: 1rem 1rem;
    animation: slide 0.6s linear infinite;
    --bs-table-bg: none;
    pointer-events: none !important;
}


@keyframes flashOutline {
    0%, 100% { box-shadow: 0 0 0 18px rgba(93, 135, 255, 0); } /* No shadow */
    50% { box-shadow: 0 0 0 18px rgba(93, 135, 255, 0.61); } /* Full shadow */
}
.flash-outline {
    box-shadow: 0 0 0 18px rgba(93, 135, 255, 0);
    animation: flashOutline 1.5s ease-in-out 0s 1;
}
@keyframes flashOutlineBlack {
    0%, 100% { box-shadow: 0 0 0 18px rgba(0, 0, 0, 0); } /* No shadow */
    50% { box-shadow: 0 0 0 18px rgba(0, 0, 0, 0.3); } /* Full shadow */
}
.flash-outline-black {
    box-shadow: 0 0 0 18px rgba(0, 0, 0, 0);
    animation: flashOutlineBlack 1.5s ease-in-out 0s 1;
}



.load_settings {
    height: 30px;
    border-radius: 8px;
}

@keyframes slide {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 1rem 0;
    }
}





@keyframes upDownAnimation {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}
.add-page-arrow {
    position: absolute;
    top: -23px;
    right: -17px;
    animation: upDownAnimation 2s infinite;
}

.proposal-list-thumbnail {
    width: 83px;
    padding: 5px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    

    display: flex;
    flex-direction: column;
        position: relative;
    /*
    background-color: #f4f4f4;
    
    */
}

.proposal-list-thumbnail:hover .thumbnail{
    transform: scale(1.55);
}

.proposal-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80%, 0fr)); /* Create a grid with boxes of minimum 250px width */
    gap: 10px; /* Space between grid items */
    width: 100%; /* This is just an example width; set this to whatever you like */

    /*padding: 20px;*/
    min-height: 35px;
}
.grid-item-content{
	/*height: 65px;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: contain;
    */
    background-size: cover;
    background-position: center;
}
.proposal-grid-item {
    width: 100%;
    height: 65px;
    background-color: white;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.5);
    cursor: pointer; 
    /* 
        grab; 
        https: //www.w3schools.com/cssref/playit.php?filename=playcss_cursor&preval=wait
    */
    transition: box-shadow 0.3s ease; /* Transition for smooth effect */
    position: relative;
}
.proposal-grid-item-selected {
    box-shadow: 0 0 0 3px rgb(93 135 255);
}

.proposal-grid-item:hover {
    /*box-shadow: 0 6px 12px rgba(0,0,0,0.2);*/ /* Slightly larger and more opaque shadow on hover */
    box-shadow: 0 0 0 5px rgb(93 135 255);
}
/*
.container-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(35px, 1fr)); 
    gap: 20px;
    width: 800px; 

    border: 1px solid #ccc; 
    padding: 20px;
	background-color: rgb(203, 203, 203);
}
*/



.sortable-placeholder {
	height: 35px;
	padding: 10px;

    background: rgba(0, 0, 0, 0.109);

	opacity: 0; 
	transition: opacity 1s;
}
.list-item.ui-sortable-helper {
    transform: scale(1.05); /* 5% larger */
    z-index: 100; /* Ensure it's above other items */
    box-shadow: 0 8px 16px rgba(0,0,0,0.2); /* Optional: give it a more pronounced shadow */
}
.highlight-page-container {
	background-color: rgba(0, 0, 0, 0.2) !important;
	transition: opacity 0.3s;
}




.sortable-placeholder {
	height: 35px;
	padding: 10px;

    background: #d5d5d5;

	opacity: 0; 
	transition: opacity 1s;
}
.list-item.ui-sortable-helper {
    transform: scale(1.05); /* 5% larger */
    z-index: 100; /* Ensure it's above other items */
    box-shadow: 0 8px 16px rgba(0,0,0,0.2); /* Optional: give it a more pronounced shadow */
}










.highlight-container {
    /*border: 2px solid #2196F3; /* Blue color for demonstration */
	background-color: rgb(225, 225, 225) !important;
	transition: opacity 0.3s;
}









.item-content-milestone{
	background-color: gray;
}

.container-style {
    border: 1px solid #ccc; 
    padding: 20px;
    /*margin-bottom: 20px; /* Spacing between boxes */
    width: 290px; /* Or any desired width */
    background-color: rgb(118, 134, 255);
	display:grid;
	gap: 20px;
}

/*
.container {
    border: 1px solid #ccc; 
    padding: 20px;
    width: 250px;
    background-color: rgb(203, 203, 203);
	display:grid;
	gap: 20px;
}

.list-item {
	height: 30px;
    cursor: grab;
    padding: 10px;
    background-color: #fff;
}
*/
/* Placeholder style when dragging */
/*    transition: all 0.3s; */


.proposal-background{
    background-color: rgb(240, 240, 240);
}


/***************************** DARK ***************************/
.proposal-dark-background {
    background-color: #525252 !important;
}
.proposal-dark{
    background-color: #525252 !important;
}
.proposal-dark h2 {
    color: white;
}
.proposal-dark h3 {
    color: white;
}
.proposal-dark h4 {
    color: white;
}
.proposal-dark h5 {
    color: white;
}
.proposal-dark h6 {
    color: white;
}
.proposal-dark pre {
    color: white;
}
.proposal-dark label {
    color: white;
}
.proposal-dark select {
    background-color: #ffffff14;
        color: white;
        border-color: #ffffff00;
}
.proposal-dark .form-select{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='miter' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"), var(--bs-form-select-bg-icon, none);
    background-size: 18px 18px;
}
.proposal-dark .chapter-title{
    color: white;
}
.proposal-dark .accordion-body {
    color: white;
}
.proposal-dark .accordion-header {
    color: white;
}
.proposal-dark .accordion-button {
    color: white;
}
.proposal-dark .accordion-button:not(.collapsed) {
    color: rgb(191, 191, 191);
    background-color: rgba(0, 0, 0, 0.015);
    box-shadow: unset;
}
.proposal-dark .editor-header .ti {
    color: white;
}
.proposal-dark #proposal_total_sum {
    color: white;
}


/*
.proposal-dark .nav-icon-hover:hover::before {
    background-color: rgba(6, 6, 6, 0.12) !important;
    transition: opacity 0.2s ease;
}
*/
.proposal-dark .nav-icon {
    border-radius: 100px;
    padding: 10px;
    width: 46px;
    height: 46px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.2s ease;
}
.proposal-dark .nav-icon:hover {
    background-color: rgba(6, 6, 6, 0.12) !important;
}


.proposal-dark .list-item-content {
/*    background-color: rgba(6, 6, 6, 0.08); */
}
.proposal-dark .list-item-content:hover {
    background-color: rgba(6, 6, 6, 0.12) !important;
    transition: opacity 0.2s ease;
}
.proposal-dark #open-new-section-modal {
    color: white;
    border: 1px solid white;
}
.proposal-dark .add-a-page {
    color: white;
    /*
    background-color: unset;
    border: 1px solid white;
    */
}
.proposal-dark .loading-animation {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.5) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0.5) 75%, transparent 75%, transparent);
    background-size: 1rem 1rem;
    animation: slide 0.6s linear infinite;
    --bs-table-bg: none;
}

.proposal-dark .btn-outline-primary {
    background-color: #ffffff14;
    color: white;
    border-color: #ffffff00;
}
.proposal-dark .btn-outline-primary:hover {
    background-color: #ffffff34;
    color: white;
    border-color: #ffffff00;
}


/***************************** source ***************************/
.source_class {
    background-color: #363636;
}
.source_class .nav-link {
    color: white !important;
}
.source_class .active {
    color: rgb(250, 137, 107) !important;
}
.source_class img{
    border-radius: 12px;
    padding-right: 13px;
}





#proposal_total_sum {
    background-color: #0000001c;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 8px;
}


.slider {
    width: 100%;
/*    margin: 50px auto;*/
}

.slick-slide {
  margin: 0px 20px;
  pointer-events: none;
}

.slick-slide img {
  width: 100%;
}

.slick-prev:before,
.slick-next:before {
  color: black;
}


.slick-slide {
  transition: all ease-in-out .3s;
  opacity: .2;
  margin-bottom: 20px;
}

.slick-active {
  opacity: .5;
}

.slick-current {
  opacity: 1;
  pointer-events: all;
  /*box-shadow: 0 23px 26px rgba(0,0,0,0.1);*/
  /*margin-bottom: 20px !important;*/
}


.regular{
    /* opacity: 0; */
    display: block;
}
.slick-initialized{
    /*opacity: 1;*/
}
/*
.slick-slider {
	> div {
        display : none;

        &:first-child {
            display: block;
        }
    }

    &.slick-initialized {
        > div {
            display: block;
        }
    }
}
*/


/***************************** modal ***************************/
.sticky-top {
    z-index: 99;
}

.modal{
    z-index: 10000000;
}

.price_editing {
    box-shadow: 0 0 0 2px #5D87FF !important;
}

.popover {
    max-width: 320px !important;
    padding: 15px;
    z-index: 99999999;
}
.popover-body {
    all: initial !important;
}

.popover-body {
    white-space: pre-line;
    font-size: 0.89rem;
    font-family: 'roboto', sans-serif !important;
    pointer-events: none;
}

.popover-ajax {
    cursor: pointer !important;
    padding: 5px;
    display: flex;
    transition: background-color 0.2s ease, transform 0.5s ease-out;
    transform: scale(1);
    border-radius: 8px;
}
.popover-ajax:hover {
    cursor: pointer !important;
    /*background-color: black !important; */
    background-color: #ecf2ff !important;
    padding: 5px;
    display: flex;
    transition: background-color 0.2s ease;
}
.popover-ajax:hover .price_value{
    /*color: white !important;*/
}

.product_base_sum {
    transform: scale(1);
    transition: transform 0.5s ease-out;
}
.base_price {
    transform: scale(.7);
    transition: transform 0.5s ease-out;
    position: relative;
    right: 0;
    transform-origin: top right;
}

.custom-fullscreen-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: white;
    display: flex;
    flex-direction: column;
    /* Stack children vertically */
    align-items: stretch;
    /* Stretch children to fit width */
    z-index: 100;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    /* Stack children vertically */
    height: 100%;
    /* Full height of the overlay */
}

.overlay-header {
    background-color: #f8f9fab2;
    padding: 10px;
    text-align: left;

    position: absolute;
    width: 100%;
    z-index: 10;
    backdrop-filter: blur(10px);
}
.overlay-header-white {
    background-color: #f8f9fada !important;
}

.overlay-body {
    overflow-y: auto;
    flex-grow: 1;
    padding: 10px;

    padding-top: 66px;
    padding-bottom: 76px;
}
.gallery-overlay-body {
    overflow-y: auto;
    flex-grow: 1;
    padding: 10px;

    padding-top: 152px;
    padding-bottom: 76px;
}





.overlay-footer {
    /* Styling for the footer */
    background-color: #f8f9fab2;
    /* Example background color */
    padding: 16px;
    text-align: right;

    width: 100%;
    z-index: 10;
    backdrop-filter: blur(10px);
    position: absolute;
    width: 100%;
    bottom: 0px;
}

.proposal-steps-list li {
    opacity: 0;
    display: flex;
    align-items: center;
}



@keyframes flyAndFade {
    0%,
    100% {
        opacity: 1;
        transform: translateX(0);
    }
    25%,
    75% {
        opacity: 0;
        transform: translateX(20px);
        /* Fly to the right and fade out */
    }
    50% {
        opacity: 0;
        transform: translateX(-40px);
        /* Start flying in from the left */
    }
}

.fly-and-fade {
    animation: flyAndFade 2s ease-in-out infinite;
    animation-delay: 0s;
}



/* Optional: Style the header and footer */
.modal-dialog-scrollable2 {
    overflow: scroll !important;
}
.fullscreen-modal-content {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    margin: 0;
}

.modal-content {
    /* height: 100%; */
    display: flex;
    flex-direction: column;
}



.modal-body {
    overflow-y: auto;
    flex: 1;
}
**/

.modal-second-level {
    z-index: 10000000;
    /* Higher than the z-index of the first modal */
}



.modal-header {
    /*--bs-gutter-x: 24px;*/
    --bs-gutter-y: 0;
    --bs-modal-padding: 1rem;
    /*padding-right: calc(var(--bs-gutter-x));*/
    /*'padding-left: calc(var(--bs-gutter-x));*/
    /*
    padding: 24px;
    display: flex;
    flex-direction: row-reverse;
    position: sticky;
    */
}

.modal-backdrop.show {
    z-index: 1040;
}
#confirmModal {
    z-index: 1050;
}


/***************************** file admin ***************************/
.selected-dir {
    background-color: #6987ff;
}
      


@keyframes pulsateOpacity {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 1;
    }
}

.pulsate-opacity {
    display: inline-block;
    width: 100px;
    height: 100px;
    opacity: 1;
    animation: pulsateOpacity 3s infinite;
}
.pulsate-opacity-text {
    display: inline-block;
    opacity: 1;
    animation: pulsateOpacity 3s infinite;
}
.pulsate-opacity-btn {
    opacity: 1;
    animation: pulsateOpacity 3s infinite;
}



/***************************** tabs ***************************/
.nav-tabs .nav-link {
    border: 1px solid black;
}
.equal-width-tabs {
    display: flex;
}
.black-tabs .nav-link {
    color: black;
    background-color: white;
    border: 1px solid black;
}
.black-tabs .nav-link.active {
    color: white !important;
    background-color: black;
    border: 1px solid black;
}
.equal-width-tabs .nav-item {
    flex: 1;
    text-align: center;
    margin-right: 10px;
}
.equal-width-tabs .nav-item:last-child {
    margin-right: 0;
}

.tab-content {
    text-align: left;
}

/** round **/
.note-has-grid .nav-link-round {
    padding: 0.5rem;
}
.nav-tabs .nav-link-round {
    border: 1px solid black;
}
.black-tabs .nav-link-round {
    color: black;
    background-color: white;
    border: 1px solid black;
}
.black-tabs .nav-link-round.active {
    color: white;
    background-color: black;
    border: 1px solid black;
}
.round-tab{
    border: 1px solid black;
    border-radius: 99px;
}

.round-tab.active{
    background-color: #A5A5C7 !important;
}

/***************************** accordion ***************************/
.accordion {
    --bs-accordion-bg: unset;
}
.card {
    background-color: unset;
}
.accordion-flush .accordion-item .accordion-button,
.accordion-flush .accordion-item .accordion-button.collapsed {
    border-radius: 0;
    padding: 20px 16px 20px 0px;
}
.accordion .accordion-item {
    box-shadow: rgba(145, 158, 171, .3) 0 0 1px 0, rgba(145, 158, 171, .12) 0 1px 0px 0px;
}
.accordion-body {
    padding: 0px 10px 20px 0px;
}
.accordion-button {
    font-size: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
}
.accordion-item{
    box-shadow: none !important;
}


/***************************** template editor ***************************/
.carrot-image-edit {
    position: relative;
    background-position: center center;
    /* make the div a reference point for absolutely positioned children */
}

.carrot-image-edit::after {
    content: "";
    /* required for the pseudo-element to be generated */
    position: absolute;
    /* position it over the parent div */
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0);
    /* start with a fully transparent black overlay */
    transition: background-color 0.3s;
    /* smooth transition */
    pointer-events: none;
    /* ensure it doesn't interfere with any interactions */
    z-index: 0;
    /* position it below the button but above the background image */
}

.carrot-image-edit:hover::after {
    background-color: rgba(0, 0, 0, 0.5);
    /* make it semi-transparent black on hover */
}

.carrot-image-edit-cta {
    cursor: pointer;
    z-index: 2;
    /* keep the button above the pseudo-element and background image */
}

.carrot-image-edit .carrot-image-edit-cta {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    /* smooth transition for both properties */
    cursor: pointer;
    /* ensure it's a hand cursor when it's visible */
}

/* Display the button when the parent column is hovered */
.carrot-image-edit:hover .carrot-image-edit-cta {
    opacity: 1;
    visibility: visible;
}


/***************************** font selector ***************************/
.font-wrapper{
    background-color: #00000008;
    padding: 19px;
    border-radius: 6px;
}
.modal-light-background {
    background-color: #00000008;
}


/***************************** image selector ***************************/


/***************************** feature selector ***************************/
.feature-select{
    border: 2px solid white;
}
.feature-select:hover {
    border: 2px solid blue;
}


.container-fluid {
    height: 100%;
}
.slide-column {
    transition: width 0.5s;
    overflow: hidden;
    width: 0;
    height: 100vh;
}

/*****************************  product mouse hover  ***************************/
.carrot-mh{
    display: none;
}
.product-order-cta{
    /* left: -45px; */
    position: relative;
    width: 0px;
    top: 12px;
}

/*****************************  product accordion  ***************************/
.product-excluded {
    opacity: 0.4;
}
.optional-product-item.not-preview {
    background-color: initial !important;
}
.optional_product_accordion { 
        padding: 0px !important;
        padding-bottom: 8px !important;
        cursor: pointer;
}
.optional_product_accordion_stage {  /* oder typo: .product-optoins-item {   */
    box-shadow: unset !important;
    border: 0px !important;
    /*border-top: 1px dashed rgb(219, 219, 219) !important;*/
    
}
.accordion .accordion-item .accordion-button:not(.collapsed) {
    border-bottom: 0px solid #eee;
}
.accordion-item {
    color: var(--bs-accordion-color);
    background-color: var(--bs-accordion-bg);
    border: 0px !important;
}
.accordion-button:not(.collapsed) {
    color: var(--bs-accordion-active-color);
    background-color: var(--bs-accordion-active-bg);
    box-shadow: unset;
}
.optional-middle-label {
    width: 100%;
    position: absolute;
    display: flex;
    justify-content: center;
    top: 28px;
}
.optional-line-title {
    color: rgb(169, 169, 169);
    background-color: white;
    padding-left: 4px;
    padding-right: 4px;
}

.optional-product-style{
    padding-right: 0px !important;
    /*margin-left: 60px !important;*/
}

.option-settings-container {
    width: 100%;
    background-color: rgb(242, 242, 242);
    padding: 18px;
    margin: 9px;
    border-radius: 16px;
    margin-left: 0px;
    display: flex;
    justify-content: center;
}
.option-settings-radio {
    display: flex;
    justify-content: center;
    flex-direction: row;
    white-space: nowrap;
    gap: 20px;
    align-items: center;
} 

.optional-product-reorder {
    /*
    position: relative;
    left: -9px;
    display: flex;
    top: 25px;
    */
}

/***************************** currency **************************/

.currency-symbol {
    position: absolute;
    right: 12px;
    top: 27px;
    pointer-events: none;
}

#currencyInput {
    text-align: right;
    padding-right: 48px;
}
#percentInput {
    text-align: right;
    padding-right: 48px;
}

.currency-container {
    white-space: nowrap;
    color: blue;
    padding-right: 0px;
    font-size: 1rem;
}




/***************************** number **************************/
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-transform: scale(1.8);
    /* Scale up the buttons */
}

input[type="number"] {
    -moz-appearance: textfield;
    /* Hide spin button in Firefox */
}

input[type=number]::-moz-inner-spin-button {
    -moz-appearance: none;
    margin: 0;
}



/***************************** prodcung CTA hover **************************/
.carrot-icon-cta {
    width: 34px;
    height: 34px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    padding: 0px;
    margin: 0px;
}
.carrot-icon-cta:hover {
    color:black !important;
    background-color: #ecf2ff;        /* light blue */
}
/*
.product-is-mandatory.product-excluded {
    opacity: 1 !important;
}
*/


.main-selector.cta.d-none {
    display: initial !important;
}

.project-phase:not(:first-of-type) {
    /*border-top: 1px solid #000000;*/
}

.main-product-container:first-of-type{
    /*border-top: 4px solid #000000;*/
}
/*
.main-product-container .d-flex.align-items-center > a,
.option-product-container .d-flex.align-items-center > a {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
}

.main-product-container:hover .product-content-container .d-flex.align-items-center > a {
    visibility: visible;
    opacity: 1;
}

.option-product-container:hover .d-flex.align-items-center > a {
    visibility: visible;
    opacity: 1;
}
*/


/***************************** custom table for carrots **************************/
.carrot_shelf_header {
    border-top: 4px solid black;
}
.carrot_shelf {
    border-bottom: 1px solid black;
}
.table_bottom_line:not(:last-child) {
    border-bottom: 1px solid black;
}
.carrot_shelf:first-of-type {
    /*border-top: 4px solid #000000;*/
}
.project-phase:not(:first-child) {
    /* border-top: 4px solid #000000; */
}



/************************** galelry **************************/
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    grid-gap: 35px;
    position: relative;
}
.grid-item {
    padding: 0px;
    text-align: center;
    position: relative;
}
.image-resources-source {
    position: absolute;
    z-index: 9;
    background-color: black;
    border-radius: 10px;
    color: white;
    font-size: 12px;
    padding: 0px 7px 0px 7px;
    top: -6px;
    left: -6px;
}



/***************************** carrot editor **************************/
/* Align Center */
.carrot-image {
    min-width: 100%;
    min-height: 100%;
}
.background-visible-align-center {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
/* Align Left */
.background-visible-align-left {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}
/* Align Right */
.background-visible-align-right {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
}
/* Align Top */
.background-visible-align-top {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
}
/* Align Bottom */
.background-visible-align-bottom {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
}
/* Align filled */
.background-filled{
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}
/* Center */
.background-original-center {
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
}

/* Align Left */
.background-original-align-left {
    background-size: auto;
    background-repeat: no-repeat;
    background-position: left center;
}

/* Align Right */
.background-original-align-right {
    background-size: auto;
    background-repeat: no-repeat;
    background-position: right center;
}

/* Align Top */
.background-original-align-top {
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center top;
}
/* Align Bottom */
.background-original-align-bottom {
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center bottom;
}


.move-control-right {
    top: 50% !important;
    left: 90% !important;
}
.image-control-buttons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carrot-image-container {
    position: relative;
}

.carrot-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    pointer-events: none;
}

.image-control-buttons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carrot-image-container:hover .carrot-hover-overlay {
    background-color: rgba(0, 0, 0, 0.3);
}

.carrot-image-container:hover .image-control-buttons {
    opacity: 1;
}



.image-filter {
    --blur: 0px;
    --brightness: 100%;
    --contrast: 100%;
    --grayscale: 0%;
    --sepia: 0%;
    filter: blur(var(--blur)) brightness(var(--brightness)) contrast(var(--contrast)) grayscale(var(--grayscale)) sepia(var(--sepia));
}

/* Grayscale */
.image_effect-black-and-white {
    --grayscale: 100%;
}

/* Sepia */
.image_effect-sepia {
    --sepia: 100%;
}

/* Blur */
.image_blur-5 {
    --blur: 5px;
}

.image_blur-20 {
    --blur: 20px;
}

/* Brightness */
.image_brightness-50 {
    --brightness: 50%;
}

.image_brightness-60 {
    --brightness: 60%;
}

.image_brightness-70 {
    --brightness: 70%;
}

/* Contrast */
.image_contrast-50 {
    --contrast: 50%;
}

.image_contrast-150 {
    --contrast: 150%;
}




/***************************** carrot placeholder **************************/
.placeholder-found {
    background-color: rgb(26 190 140) !important;
    border: 1px solid rgb(26 190 140) !important;
    color:white !important;
}
.placeholder-found .placeholder-found-icon{
    display: inline !important;
}

.placeholder-item {
    border: 1px solid rgb(83, 155, 255);
    background-color: unset;
    color: rgb(83, 155, 255);
    cursor: pointer !important;
}
.placeholder-item .placeholder-found-icon{
    display: none;
}

.desktop-preview {
    /* Styles for desktop preview */
}

.mobile-preview {
    /* Styles for mobile preview */
    width: 300px !important;
}

.holder-key{
    background-color: #fbffc8;
    border-radius: 4px;
}

.logo-email-preview {
    width: -webkit-fill-available;
    max-width: 300px;
}

.product-list {
    list-style-type: disc;
    margin: 15px;
    margin-left: 0px;
    margin-right: 0px;
}
.email-product-list {
    list-style-type: disc;
    margin: 15px;
    margin-left: 28px;
    margin-right: 0px;
}





.dropdown-menu {
    --bs-dropdown-box-shadow: rgba(145, 158, 171, 0.5) 0px 12px 40px 0px,rgba(145, 158, 171, 0.18) 0px 12px 24px -4px;
    z-index: 99999910;
    pointer-events: auto;
}
.dropdown-menu .ti {
    color: black;
}

.open-options-cta {
    transition: transform 0.3s ease-in-out;
}
.rotated {
    transform: rotate(90deg) translateX(6px) translateY(-7px);
    transition: transform 0.3s ease-in-out;
}
.optional-product-container {
    /* display: none; */                /* that is new */
}




.editor-left-sidebar {
    background-color: unset;
    overflow-y: scroll;
    padding-bottom: 50px;
}



/* datepicker */
.ui-datepicker{
    position: fixed;
    top: 874.836px;
    left: 314px;
    z-index: 99201;
    background-color: white;
    padding: 17px;
    box-shadow: 0 23px 26px rgba(0, 0, 0, 0.1);
}
.ui-datepicker tbody {
    border-width: 9px;
    border-color: white;
}
.ui-datepicker tbody td{
    border-width: 9px;
    border-color: white;
}



/***************************** SLIM content **************************/
.slim_content ul {
    /* Example Styles */
    list-style-type: disc;
    /* Change the bullet style */
    padding-left: 20px;
    /* Add some padding to align bullets */
    margin-top: 10px;
    /* Add top margin */
    margin-bottom: 10px;
    /* Add bottom margin */
    line-height: 1.6;
    /* Adjust line height for readability */
    color: #333;
    /* Change text color */
}

.slim_content strong {
    background-color: rgb(255, 255, 150);
    border-radius: 8px;
}

.slim_content ul li {
    /* Styles for list items */
    margin-bottom: 9px;
    /* Space between list items */
}



.optional-product-item{
    transition: background-color 0.3s
}
.optional-product-item:hover {
    background-color: rgba(0, 0, 255, 0.029);    
}
.carrot-container {
}
.carrot-container:hover{
    background-color: rgba(0, 0, 255, 0.05);
    color: black !important;
}
.thumbnail{
    border: 1px solid #d7d7d7;
    padding:4px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    z-index: 999999;
}
.carrot-container:hover .thumbnail{
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    
}



/************************ thumbnail dots **********************/
.dots-container {
    position: absolute;
    bottom: -5%;
    /* transform: translateX(-100%); */
    display: flex;
    flex-direction: row;
    height: 10px;
    justify-content: center;
    width:100%;
}

.thumbnail-dot {
    display: inline-block;
    width: 3px;
    height: 2px;
    border-radius: 2px;
    background: #ebebeb;
    margin: 0 1px;
    width: 100%;
}
.thumbnail-dot.active {
    background: #333;
}





/************************ btn **********************/
.clickable-div {
    cursor: pointer !important;
}
.login_button {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.form-check-input:checked {
    background-color: var(--bs-primary);
    border-color: black;
}
.form-check-input {
    border-radius: .25em;
    border-color: var(--bs-primary);
    border: solid 2px #5d87ff;
}
.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.login-check-box {
    width: 46px;
    height: 46px;
    border-radius: 40px;
    position: absolute;
    top: 0;
    right: 30px;
    opacity: 0;
}
.login-check-box .active{
    opacity: 1;
}
@keyframes fadeToBlack {
    from {
        background-color: #5D87FF;
    }
    to {
        background-color: black;
    }
}
.login-button-welcome {
    animation: fadeToBlack 1s ease forwards;
}

.login-check-box svg {
    width: 40px;
    margin: 2px;
}

svg path {
    stroke-width: 3;
    stroke: #fff;
    stroke-dasharray: 34;
    stroke-dashoffset: 34;
    stroke-linecap: round;
}

.login_active {
    opacity: 1;
}

.login_active2 .check-box {
    right: 0;
    transition: 1s;
}

.login_active svg path {
    opacity: 1;
    stroke-dashoffset: 0;
    transition: 0.5s;
}


.example_data {
    padding: 30px !important;
    border: 2px dashed #d1d1ff !important;
    background-color: #f3f6ff;
    border-radius: 16px;
    margin: 14px;
    margin-left: 0px;
    margin-right: 0px;
}
.example_data_compact {
    padding: 30px !important;
    border: 2px dashed #d1d1ff !important;
    background-color: #f3f6ff;
    border-radius: 16px;
    margin: 0px;
}
.example_badge{
    position: relative;
    top: -23px;
    /* height: 12px; */
    background-color: #8787ff;
    width: fit-content;
    border-radius: 8px;
    left: -23px;
    padding: 2px;
    font-size: 13px;
    padding-left: 6px;
    padding-right: 6px;
    color: white;
}




.proposal_log_card{
    background-color: #0000001c;
    transition: background-color 0.5s ease;
}
.proposal_log_card:hover {
    background-color: #0000002f;
}



/************************ WYSIWYG *************************/
.carrot-corporatefont-copy ul {
    padding-left: 5px;
}
.carrot-corporatefont-copy li {
    list-style: inside;
}
.carrot-corporatefont-copy ol {
    padding-left: 23px;
}
.carrot-corporatefont-copy ol li {
    list-style: decimal;
}















@media (min-width: 992px) {
    .navbar-expand-lg {
        flex-wrap: nowrap;
        justify-content: flex-start;
        height: 140px;
    }

    .dark-logo{
        width:310px;
    }
}



.mobile-navbar {
    height: calc(100vh - 40px);
    left: 40px;
}
/* in your stylesheet */
@media (max-width: 767.98px) {

    .editor-header {
        padding-left: 16px !important;
        padding-right: 16px !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 1030 !important;
        background-color: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }
    
    .body-wrapper {
        padding-top: 8px;
    }

    
    .fc-header-toolbar button,
    .fc-toolbar.fc-header-toolbar .btn {   /* the Bootstrap-theme variant */
    font-size: 14px !important;
    padding: 8px !important;              /* remove default h/v padding */
    line-height: 1.25;                  /* keeps the icon+text centred */
    }
}

/* =============================================== */
/* BOTTOM TAB NAVIGATION - MOBILE ONLY           */  
/* =============================================== */

/* Bottom Tab Navigation - Pure CSS Breakpoint Control */
.bottom-tab-navigation {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1020;
    padding: 8px 0;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
    
    /* Hidden by default - only show on mobile breakpoint */
    display: none;
}




#calendar {
    background: white;
}
.fc-theme-standard .fc-list-day-cushion {
    background-color: unset !important;
}
.fc .fc-list-sticky .fc-list-day > * {
    background: unset;
}
.fc .fc-daygrid-day-frame {
}



/* Show bottom tabs only on mobile screens (767px and below) */
@media (max-width: 767.98px) {
    .bottom-tab-navigation {
        display: block;
    }
    
    /* Add bottom padding to body to account for fixed bottom navigation */
    .body-wrapper {
        padding-bottom: 0px !important;
    }
    
    /* Hide desktop navigation elements */
    .navbar-nav.quick-links {
        display: none !important;
    }
    
    /* Hide burger menu when bottom tabs are active */
    .navbar-toggler {
        display: none !important;
    }

    .mobile-container {
        padding-bottom: 70px !important;
    }
}

/* Hide bottom tabs on desktop screens (768px and above) */
@media (min-width: 768px) {
    .bottom-tab-navigation {
        display: none !important;
    }
}

/* Tab container styling */
.tab-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
    padding: 0 16px;
}

/* Individual tab item styling */
.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #6c757d;
    padding: 8px 12px;
    min-width: 60px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    flex: 1;
    max-width: 100px;
}

.tab-item.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

/* Active indicator line */
.tab-item.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: #667eea;
    border-radius: 2px;
}

/* Icon styling */
.tab-item i {
    font-size: 22px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.tab-item.active i {
    transform: scale(1.1);
}

/* Label styling */
.tab-item span {
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
}

/* Touch interaction feedback */
.tab-item:hover {
    background: rgba(102, 126, 234, 0.05);
    text-decoration: none;
    color: #667eea;
}

.tab-item:active {
    transform: scale(0.95);
}

/* Safe area handling for newer devices */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    @media (max-width: 767.98px) {
        .bottom-tab-navigation {
            padding-bottom: calc(8px + env(safe-area-inset-bottom));
        }
    }
}
.editor-header {
   border-bottom: 0px solid rgba(0, 0, 0, 0.1) !important;
}





body{
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-attachment: fixed;
} 
.editor-header {
    padding-left: 36px !important;
    padding-right: 36px !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1030 !important;
    background-color: revert !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}
.card-body {
    flex: 1 1 auto;
    padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
    color: var(--bs-card-color);
    background-color: white;
    border-radius: 36px;
}
.editor-header .navbar .navbar-nav.quick-links .nav-item .nav-link {
    font-size: 1.2rem;
    font-weight: 400;
    position: relative;
    z-index: 2;
    color: #ffffff;
}
.nav-link.active {
    color: #ff6600 !important;
    text-decoration: none;
    background-color: white;
    border-radius: 8px;
}
.nav-link {
    cursor: pointer;
    color: #ffffff;
}
.nav-underline .nav-link.active, .nav-underline .show>.nav-link {
    font-weight: 500;
    color: var(--bs-nav-underline-link-active-color);
    border-bottom-color: currentcolor;
    padding-left: 16px;
    padding-right: 16px;
}
#calendar {
    background: initial;
}
.fc .fc-col-header-cell-cushion {
    display: inline-block;
    padding: 2px 4px;
    color: white;
}
.fc .fc-daygrid-day-number {
    padding: 4px;
    position: relative;
    z-index: 4;
    color: white;
}
.fc .fc-event {
    border-radius: 4px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    background-color: white;
    color: black;
}
.fc-h-event .fc-event-main-frame {
    display: flex;
    color: black !important;
}
.fc-v-event .fc-event-main-frame {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: black;
}
.fc table {
    color: white;
}



.custom-event-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
    border-bottom: 1px solid #e9ecef;
    background: white;
    transition: background-color 0.2s ease;
    cursor: pointer;
    margin: 12px;
    border-radius: 16px;
}
