.dark .navbar-logo img {
    content: url('/img/ITK-Inseneribyroo-dark.png');
}

.table td, .table th
{
    padding: 0;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
}

/* For contenteditable cells */
td[contenteditable="true"] {
    position: relative; /* Allow positioning elements inside the cell */
    cursor: text; /* Indicate that it's editable */
    padding-top: 5px; /* Ensure some space at the top */
    /* border: 1px solid blue; */
}

/* Icon next to the text */
td[contenteditable="true"] .editable-icon {
    position: absolute;
    left: 5px;
    top: 0px;
    font-size: 16px;
    color: #007acc;
    pointer-events: none; /* Prevent icon from interfering with cell interactions */
}

/* Remove the icon when the cell is focused */
td[contenteditable="true"]:focus .editable-icon {
    display: none; /* Hide the icon when the cell is focused */
}

/* Highlight the cell on focus */
td[contenteditable="true"]:focus {
    outline: none; /* Remove default focus outline */
    background-color: #e6f7ff; /* Optional background highlight */
    border: 2px solid #007acc; /* Optional border for focus */
    padding-left: 5px; /* Keep the padding */
    padding-top: 0px; /* Keep top padding */
}

.btn {
    --phoenix-btn-line-height: 0.6;
}
.clickable, .mouseOver{
    cursor: pointer;
}

.navbar-vertical .navbar-vertical-content .navbar-vertical-label {
    margin-top: 0.8rem;
}

.input-group .btn {
    z-index: 0;
}

.pb-4 {
    padding-bottom: 0rem !important;
}

.pt-3 {
    padding-top: 0rem !important;
}

/* .navbar-vertical.navbar-expand-lg {
    width: 13rem;
}

.navbar-vertical.navbar-expand-lg~.navbar-top~.content {
    padding-left: 1rem;
    margin-left: 13rem;
} */

:root, :root.light, :root .light {
    --phoenix-body-font-size: 0.9rem;
}

div.DTE_Inline div.DTE_Field input {
    margin: 0px !important;
}

div.DTE_Field_Type_checkbox div label, div.DTE_Field_Type_radio div label {
    margin: 0px !important;
}

div.dtk-focus-alt table.dataTable tbody th.focus, div.dtk-focus-alt table.dataTable tbody td.focus {
    outline: 0px;
}

table.dataTable tbody th.focus, table.dataTable tbody td.focus {
    outline: 0px;
}

/* .nav-link.active {
    text-decoration: underline;
} */

/* Custom Nav Tabs */
.nav-tabs2 {
    display: flex;
    border-bottom: 2px solid #ddd;
    padding: 0;
    list-style: none;
    margin-bottom: -2px; /* Aligns the tab and tab-content */
}

.nav-item2 {
    margin-right: 10px;
}

.nav-link2 {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    color: #007bff;
    border: 1px solid transparent;
    border-bottom: none;
    background-color: #f9f9f9;
    transition: background-color 0.3s, color 0.3s, border-radius 0.3s;
    cursor: pointer;
}

.nav-link2:hover {
    background-color: #e9ecef;
    color: #0056b3;
}

.nav-link2.active {
    color: #fff;
    background-color: #007bff;
    border: 1px solid #ddd; /* Ensures the active tab has a full border */
    border-bottom: 1px solid #fff; /* Hides the bottom border for seamless connection */
    border-top-left-radius: 10px; /* Rounded top-left corner */
    border-top-right-radius: 10px; /* Rounded top-right corner */
    font-weight: bold;
    position: relative;
    z-index: 2; /* Ensures the active tab is above the tab-content */
}

/* Tab Content */
.tab-content2 {
    border: 1px solid #ddd;
    padding: 20px;
    background-color: #fff;
    border-radius: 0 0 10px 10px; /* Rounded bottom corners */
    margin-top: -1px; /* Seamlessly connects with the active tab */
}

.tab-pane2 {
    display: none;
}

.tab-pane2.active {
    display: block;
}

/* Tume teema */
.dark .nav-link2 {
    color: #ccc;
    background-color: #343a40;
}

.dark .nav-link2:hover {
    background-color: #495057;
    color: #f8f9fa;
}

.dark .nav-link2.active {
    color: #fff;
    background-color: #007bff;
    border: 1px solid #495057;
    border-bottom: 1px solid #343a40;
    font-weight: bold;
}

.dark .tab-content2 {
    border: 1px solid #495057;
    background-color: #212529;
    color: #f8f9fa;
}

