html,
body {
    height: 100vh;
}

.bg-body-tertiary {
    background-image: url('../img/businessman-typing.jpg');
    /*copyright freepik.com*/
    background-size: 400%;
    background-position: 100% 35%;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.container {
    background: rgba(255, 255, 255, 0.2);
    /*backdrop-filter: blur(3px);*/
}

.offcanvas-body {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.input-group-text {
    flex: 1;
}

.bottom-div {
    margin-top: auto; /* Push the div to the bottom */
}

.btn-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1030;
    padding: 2px !important;
}

.logo {
    font-size: 3rem;
    text-align: center;
}

.logo-city {
    text-transform: uppercase;
    font-weight: 700;
    color: crimson;
}

.logo-inspector {
    color: #dee2e6;
}

a {
    display: inline-block;
}

.btn-yellow {
    background-color: #FF9500 !important;
    color: #fff !important;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}


/*form signin*/
.form-signin {
    border-radius: 5px;
    /*background: rgba(255, 255, 255, 0.25);*/
    background: #2b2f32d4;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.form-signin {
    max-width: 330px;
    padding: 1rem;
}

    .form-signin .form-floating:focus-within {
        z-index: 2;
    }

    .form-signin input[type="email"], .form-signin input[type="text"], .form-signin input[type="password"],
    form input[type="email"], form input[type="text"], form input[type="password"] {
        border-color: #fff;
        border-radius: 3px;
        margin-bottom: 5px;
        font-size: 1rem;
    }

input::placeholder {
    font-weight: bold;
    color: red !important;
}

.form-control:focus {
    border-color: #9ec5fe !important;
    box-shadow: 0 0 0 .1rem rgba(var(--bs-info-rgb), .1) !important;
}

label {
    color: rgb(var(--bs-white-rgb));
}

.form-signin button {
    background: #0a58ca;
}

.form-control.is-valid, .was-validated .form-control:valid {
    border-color: #000;
}
/*headings*/
.display-2 {
    margin-bottom: 0em !important;
    background-color: #2b2f32d4;
    margin-top: .2em;
    padding: .2em .2em .3em;
    border-bottom: 2px solid #FF9500;
    border-radius: .1em;
    margin-top: .25em;
    margin-bottom: -.5em;
    overflow: hidden;
    color: #D4D4D2;
    font-size: 2em !important;
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

h1 {
    margin: 1em 0;
}
/*cards*/
.card {
    padding: 1em .5em;
    min-height: 100%;
    /*background-image: url('../img/businessman-typing.jpg');*/
    background-size: cover;
    background-position: 100% 0;
    background-color: rgb(43 47 50 / 92%) !important;
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    border-radius: 3px !important;
}

    .card button {
        font-size: 1.3em !important;
    }

.card-body {
    padding: .5em .75em 0em !important;
}

h5.card-title, .card-text {
    color: #D4D4D2;
    text-align: center;
    font-size: 1em;
}

.card-img, .card-img-top {
    width: 32% !important;
    margin: 0 auto;
    border-top-left-radius: 100px !important;
    border-top-right-radius: 100px !important;
    border-bottom-left-radius: 100px !important;
    border-bottom-right-radius: 100px !important;
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

/*tabs and forms*/
.tab-content {
    /*    color: #fff;
    background-color: #2b2f32d4;
    padding: 1.5em 1em;
    background-color: rgb(43 47 50 / 92%) !important;
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    border-bottom-left-radius: .5em;
    border-bottom-right-radius: .5em;*/
}

.form-content {
    color: #fff;
    background-color: #2b2f32d4;
    padding: 1.5em 1em;
    background-color: rgb(43 47 50 / 92%) !important;
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    border-bottom-left-radius: .5em;
    border-bottom-right-radius: .5em;
}

form label {
    color: #D4D4D2;
}

.tab-content.btn {
    border-radius: 3px !important;
}

[type=button]:not(:disabled),
[type=reset]:not(:disabled),
[type=submit]:not(:disabled),
button:not(:disabled) {
    cursor: pointer;
    border-color: transparent;
    background: #FF9500;
    background: #FF9500;
    color: #fff !important;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.accordion-body {
    background-color: #3c3e40;
    color: #fff;
}

.btn-menu {
    width: 35px;
    height: 35px;
    position: absolute;
    top: 5px;
    right: 5px;
}

.nav-tabs .nav-link.active {
    background-color: #373638 !important;
    border-color: #373638 !important;
    color: #D4D4D2 !important;
}

.nav-tabs .nav-link {
    color: #000;
}
/*form #patrimony*/

form#patrimony, form#folders {
    background-color: #2b2f32d4;
    padding: 1.5em 1em .1em;
    background-color: rgb(43 47 50 / 92%) !important;
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    border-radius: .5em;
}
/*table*/

table.table.dataTable tbody tr {
    background-color: rgb(43 47 50 / 92%) !important;
    padding: 0;
    border-radius: .5em !important;
}

.fullwidth-cell {
    background-color: rgb(43 47 50 / 92%) !important;
    margin: 0;
    border-radius: .5em !important;
}

.sorting_1 {
    background-color: rgb(43 47 50 / 92%) !important;
    border-radius: .5em !important;
    margin-bottom: .75em !important;
}

    .sorting_1 a {
        color: #D4D4D2;
        text-decoration: none;
        font-size: .75em;
        padding: 0 0 .5em .5em;
        width: 100%;
        height: 100%;
    }

.fullwidth-cell-title {
    color: #fff;
    font-size: 150%;
    border-bottom: 1px solid #ff9500 !important;
}

.fullwidth-cell-content {
    padding-left: 10px !important;
    padding-top: 5px !important;
    color: #D4D4D2;
}

div.dt-container div.dt-info {
    padding-top: .3em !important;
    color: #ff9500;
}

.dt-info {
    background-color: rgb(43 47 50 / 92%);
    border-radius: .5em;
    padding: .3em;
}
/*pagination*/
li.active a.page-link {
    background-color: #000 !important;
    border: 1px solid #D4D4D2 !important;
}

.page-link {
    background-color: rgb(43 47 50 / 92%) !important;
    color: #dec4da !important;
}

.paging_full_numbers {
    margin-bottom: 10px !important;
}

.nav-tabs .nav-link {
    background-color: var(--bs-gray-500) !important;
    color: #495057 !important;
}
/* breadcrumbs */
ol.breadcrumb {
    width: 100%;
    margin: .5em auto 1.5em;
    display: flex;
    list-style: none;
    padding: 0;
    background: #3c3e40; /* Background color for entire breadcrumb */
    border-radius: 5px;
    overflow: hidden;
}

.breadcrumb-item {
    flex: 1;
    font-size: 14px;
    line-height: 1.1;
    color: #fff;
    text-decoration: none;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #FF9500;
    padding: 0 20px;
}

    .breadcrumb-item:first-of-type {
        flex: 0 0 auto; /* No growth, fixed width */
        width: 50px; /* Adjusted to fit the icon */
        justify-content: center;
        padding: 0;
        border-bottom-left-radius: 5px;
        border-top-left-radius: 5px;
    }

    .breadcrumb-item + .breadcrumb-item {
        border-left: 1px solid #3c3e40; /* Separator between items */
    }

    .breadcrumb-item:last-of-type {
        border-bottom-right-radius: 5px;
        border-top-right-radius: 5px;
        background: #3c3e40; /* Highlight the last item */
    }

    .breadcrumb-item a {
        color: inherit;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    .breadcrumb-item.active a {
        color: #fff;
        text-decoration: none;
        padding: 0 0;
    }

    .breadcrumb-item + .breadcrumb-item::before {
        content: '' !important;
    }
/*end breadcrumbs*/
/*sidebar*/

.offcanvas.show:not(.hiding), .offcanvas.showing {
    background-image: url('../img/businessman-typing.jpg');
    /*   copyright freepik.com*/
    background-size: 400%;
    background-position: 100% 0%;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.offcanvas-header .btn-close {
    background: #FF9500 url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") !important;
    background-size: 50% !important;
    background-repeat: no-repeat !important;
    background-position: 8px 8px !important;
}

.input-group .btn {
    border: none !important;
}

.lang-span {
    color: #212529;
    background: #fff;
    padding: .3em;
    border-radius: .2em;
}

.lang-btn {
    border: 1px solid #ff9500 !important;
    background: #ff9500 !important;
    color: #D4D4D2 !important;
}

/*icons*/
.icon {
    width: 60px;
    height: 60px;
    background: #f0f0f0;
    border-radius: 50%;
    transition: 0.4s;
    text-align: center;
    display: block;
    margin: 0 auto;
}

/*detalii matricol*/
@media only screen and (max-width: 767px) {
    table #myGrid td:last-of-type {
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    table#myGrid td:before {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 35%;
        padding-right: 10px;
        white-space: nowrap;
        text-transform: capitalize;
    }

    table#myGrid.table td:nth-child(1) {
        color: #fff;
    }
}
/*end detalii matricol*/
a.page-link.previous, a.page-link.next {
    display: none !important;
}
/*stype pagina desc invest*/
table#sico-table {
    background-color: rgb(43 47 50 / 92%) !important;
    color: #D4D4D2;
}
/** START Upload picture feature **/
.upload-container {
    background: #000;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
}

#fileInput {
    display: none;
}

.custom-file-upload {
    border: 2px solid #FF9500;
    display: inline-block;
    padding: 8px 20px;
    cursor: pointer;
    border-radius: 5px;
    color: #FF9500;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
}

    .custom-file-upload:hover {
        background-color: #FF9500;
        color: #1C1C1C;
    }

#uploadButton {
    background-color: #FF9500;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    #uploadButton:hover {
        background-color: #45A049;
    }
/** END Upload picture feature **/
.agricultural_register {
    background-color: rgb(43 47 50 / 92%);
    padding: 1em 1em 2em;
    border-radius: .5em;
}

.endflow-household, .household-details {
    background-color: rgb(43 47 50 / 92%);
    color: #fff;
    border: none !important;
    border-radius: .5em;
    padding: 1em 0 5px;
}

.household_group_btn {
    margin: 1em 0;
    width: 100%;
}

.blue-color {
    color: #001dff !important;
}

.purple-color {
    color: #b410ed !important;
}

.gray-color {
    color: #D4D4D2 !important;
}

.orange-color {
    color: #FF9500 !important;
}
/* Switch input */
.switch-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: .4s;
        border-radius: 50%;
    }

input:checked + .slider {
    background-color: #FF9500;
}

    input:checked + .slider:before {
        transform: translateX(26px);
    }

.label {
    font-size: 16px;
    color: #fff;
}

/* Accordion not collapsed */
.accordion-button:not(.collapsed) {
    background-color: #FF9500 !important;
}

/* Form submission */
.form {
    background-color: rgb(43 47 50 / 92%);
    padding: 1em 1em 2em;
    border-radius: .5em;
}


/* Tree transfer activity */
.tree-view {
    list-style-type: none;
    padding-left: 0;
    font-family: Arial, sans-serif;
}

    .tree-view li {
        cursor: pointer;
        margin: 10px 0;
        list-style: none;
    }

        .tree-view li div {
            display: flex;
            align-items: center;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            transition: background-color 0.3s ease;
        }

            .tree-view li div:hover {
                color: #333 !important;
                background-color: #f0f0f0;
            }

        .tree-view li span {
            flex-grow: 1;
            font-size: 16px;
        }

        .tree-view li button {
            color: white;
            border: none;
            border-radius: 5px;
            padding: 5px 10px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

            .tree-view li button:hover {
                background-color: #5c636a;
            }

.children {
    display: none;
    padding-left: 20px;
}

.back-button {
    display: none;
    cursor: pointer;
    color: #fff;
    text-decoration: underline;
    margin-bottom: 10px;
}

/* Bootstrap Modal */
.highlight {
    background-color: yellow;
    color: #3f3f3f;
}

.modal-header, .modal-body, .modal-footer {
    background-color: #3c3e40 !important;
    color: #fff;
    border: none;
}

.modal-title {
    font-weight: bold;
}

.close {
    color: #333;
    opacity: 1;
}

.modal-content {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.modal-body {
    padding: 20px;
    color: #fff;
}

.modal-footer .btn {
    border-radius: 5px;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
}

.modal-footer .btn-secondary:hover {
    background-color: #6c757d;
}

#postModalBody div {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem; /* or desired size */
    height: 1.5rem; /* or desired size */
    padding: 0;
    border: none;
    background: transparent;
    --bs-btn-close-opacity: 1 !important;
}

    .btn-close span {
        display: block;
        width: 100%;
        text-align: center;
    }

.close {
    color: #333;
}

.disable-refresh {
    overscroll-behavior: none;
}