﻿[data-bs-theme=light] {
    --bs-app-bg-color: #ffffff;
    --bs-app-blank-bg-color: #ffffff;
    --bs-app-header-base-bg-color: #ffffff;
    --bs-app-header-base-box-shadow: 0px 10px 30px 0px rgba(82, 63, 105, 0.05);
    --bs-app-toolbar-base-bg-color: #ffffff;
    --bs-app-toolbar-base-box-shadow: 0px 10px 30px 0px rgba(82, 63, 105, 0.05);
    --bs-app-toolbar-base-border-top: 1px solid #F4F4F4;
    --bs-app-footer-bg-color: #ffffff;
    --bs-app-footer-box-shadow: 0px 10px 30px 0px rgba(82, 63, 105, 0.05);
    --bs-body-bg: #f5f8fa !important;
 /*   --bs-primary: #6cbea5 !important;
    --bs-text-primary: #6cbea5 !important;
    --bs-primary-rgb: #6cbea5 !important;
    --bs-primary-active: #649b8a !important;
    --bs-link-color-rgb: #6cbea5 !important;*/
}

.modal-header,
.modal-footer {
    background-color: white !important;
}

.menu-sub-dropdown {
    background-color: #ffffff !important;
}

body {
    background-color: var(--bs-body-bg) !important;
}

.card {
    background-color: var(--bs-app-bg-color);
}

#kt_app_toolbar, #kt_app_header {
    background-color: var(--bs-app-bg-color) !important;
}

.app-sidebar-menu .menu > .menu-item > .menu-link > .menu-title {
    font-weight: 500;
}

.e-toolbar .e-toolbar-items {
    background: #FFF;
}

.e-grid .e-toolbar-items .e-toolbar-item.e-search-wrapper .e-search {
    /* background-color:#FFF;*/
    border-radius: 5px;
}

.e-toolbar {
    box-shadow: none;
    height: auto;
    justify-content: flex-end !important;
}

.form-control,
.form-select.form-select-solid,
.form-select,
.select2-container--bootstrap5 .select2-dropdown {
    background-color: #F1F1F2 !important;
    border-color: #F1F1F2 !important;
}

form label {
    font-weight: 500 !important;
    font-size: 1.15rem !important;
    margin-bottom: 0.5rem !important;
}

span.field-validation-error {
    font-size: .925rem;
    color: #f1416c;
    font-weight: bold;
}


.note-editor .card-header {
    display: inline !important;
}

.clphotolist .cl-widget-foto {
    float: left;
    margin: 0px;
    padding: 0px;
    clear: inherit;
}

.clphotolist .photo-toolbox, .clphoto .photo-toolbox .btn {
    position: absolute;
    margin: 5px;
}

.uploadifive-button.uploadifive-container {
    background-color: white !important;
    background-image: none !important;
    border: none;
    width: 150px !important;
}

img.thumbnail.imgeditor {
    border: 1px solid #ccced1;
    padding: 2px;
    border-radius: 5px;
}

.card .card-header .card-title {
    margin: 0px !important;
}

@media (min-width: 992px) {
    #kt_app_content_container {
        padding: 10px !important;
    }
}

@media (max-width: 991.98px) {
    #kt_app_content_container {
        padding: 15px !important;
    }
}

.btn.btn-icon.btn-sm, .btn-group-sm > .btn.btn-icon {
    height: calc(1.5em + 1rem) !important;
    width: calc(1.5em + 1rem) !important;
}


.e-checkbox-wrapper.e-checkbox-disabled .e-frame.e-check, .e-css.e-checkbox-wrapper.e-checkbox-disabled .e-frame.e-check {
    background-color: #50cd89 !important;
}

.e-checkboxfilter span.e-searchbox.e-fields {
    display: none !important;
}

@media (min-width: 992px) {
    .h-lg-75px {
        height: 100px !important;
    }
}

@media (max-width: 991px) {
    .h-lg-75px {
        height: 100px !important;
    }
}

.card .card-body {
    padding: 1.5rem;
}

.card .card-header {
    padding: 0 1.5rem !important;
}

.box-color {
    border-radius: 5px;
    width: 30px !important;
    display: block;
    height: 30px !important;
}



.e-table .btn-sm {
    /*font-size: xx-small !important;*/
}
    .e-table .btn-sm i {
        /*font-size: small !important;*/
    }

.btn.btn-light-secondary,
.btn.btn-light-secondary .svg-icon, .btn.btn-light-secondary i {
    color: var(--bs-secondary-inverse) !important;
}

.modal-body {
    background-color: #ffffff !important;
}

.responsive-width {
    max-width: 100vw !important;
}

@media (min-width: 768px) {
    .responsive-width {
        width: 500px;
    }
}

.img-container {
    position: relative;
    height: 40px;
    width: auto !important;
    cursor: pointer;
}

.thumb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}

.img-container:hover .img-overlay {
    opacity: 1;
}

.img-overlay i {
    font-size: 24px;
    color: white !important;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
    background-color: black;
    border-radius: 20%;
    color: red !important;
}

.decimal {
    text-align: right !important;
}

.readonlyTb {
    background-color: transparent !important;
    border: none !important;
    padding-right: 0px !important;
}

.modal-backdrop {
    z-index: 998 !important;
}
.modal {
    z-index: 999 !important;
}

.blockOverlay {
    z-index: 9999998 !important;
}

input[type="text"][readonly] {
    cursor: not-allowed;
    /*background-color: #f5f5f5;*/ /* opzionale: per farlo sembrare disattivato */
    /*color: #555;*/ /* opzionale: colore del testo */
    /*border-color: #ccc;*/ /* opzionale: bordo meno marcato */
}
