/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}
#EmpSet1, #FeildsError {
    display: none;
}
.error{
    color:red;
}

.app-brand-text.demo {
    font-size: 1.75rem;
    letter-spacing: -0.5px;
    /*text-transform: lowercase;*/
}

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}
/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}
.docs-page .layout-navbar-fixed.layout-wrapper:not(.layout-without-menu) .layout-page,
.docs-page .layout-menu-fixed.layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 62px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
  display: block !important;
}

.demo-inline-spacing > * {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-lg.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}
.demo-vertical-spacing-xl.demo-only-element > :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 231px;
    position: relative;
  }
  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}
.layout-demo-placeholder img {
  width: 900px;
}
.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

#lbllog,.errMsgs {
    display: none;
    color: red;
}
.customBox-shadow {
    box-shadow: 0 1px 9px 0 rgba(0, 0, 0, 0.6), 0 6px 20px 0 rgba(0, 0, 0, 0.1);
}
.ui-widget-header {
    background-color: #E12729 !important;
    background-image: linear-gradient(to right, #E12729, #690000) !important;
    color: #fff !important;
}

/*Image drop QA*/
.dropDragDiv {
    height: auto;
    background-color: aliceblue;
}


.dragDropText {
    text-align: center;
    /*padding-top: 5px;*/
}

.dragDropIcon {
    text-align: center;
    /*padding-top: 25px;*/
}


/*drag drop file upload*/
.drop-zone {
    /*max-width: 200px;*/
    height: 200px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Quicksand", sans-serif;
    font-weight: 500;
    font-size: 20px;
    cursor: pointer;
    color: #cccccc;
    border: 4px dashed #009578;
    border-radius: 10px;
}

.drop-zone--over {
    border-style: solid;
}

.drop-zone__input {
    display: none;
}

.drop-zone__thumb {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background-color: #cccccc;
    background-size: cover;
    position: relative;
}

    .drop-zone__thumb::after {
        content: attr(data-label);
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 5px 0;
        color: #ffffff;
        background: rgba(0, 0, 0, 0.75);
        font-size: 14px;
        text-align: center;
    }

.drop-zone__delete {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    padding: 3px;
}
.filecontent {
    width: 50%;
    height: 50%;
    border: 2px solid #d9dee3;
    padding: 20px;
    background-color: #F2F2F2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align elements to the bottom */
    gap: 15px;
}
    .filecontent tasklist {
        margin-bottom: 10px;
    }
.projectlist {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
    width: 100%;
    border-collapse: collapse;
    height: 225px;
    overflow-y: auto;
    /*border: 1px solid #cccccc;*/
    border-radius:5px;
}
    .projectlist li {
        border: 1px solid #cccccc;
        margin: 0;
        padding: 15px;
       
    }

    .projectlist::-webkit-scrollbar {
        width: 2px; /* Thin scrollbar */
    }

    .projectlist::-webkit-scrollbar-thumb {
        background-color: #888; /* Scrollbar thumb color */
        border-radius: 5px; /* Rounded scrollbar */
    }
    .projectlist li:nth-child(odd) {
        background-color: #f0f0f0; /* Light gray for odd items */
    }

    .projectlist li:nth-child(even) {
        background-color: #FFFFFF;
        /* Slightly darker gray for even items */
    }
    .tasklist{
        display:flex;
        justify-content:space-between;
        align-items:center;

     }
        .tasklist i:first-child {
            margin-right: 10px; 
        }
        .tasklist i.bx-trash {
            color: #690000; /* Make the delete icon red */
            cursor: pointer; /* Make it clickable */
        }
.btn-show {
    background-color: #8FBC8B;
    border-radius: 10px;
    border: 1px solid #696969;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 1em;
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
    .data-table th,
    .data-table td {
        padding: 12px 15px;
        text-align: left;
        border-bottom: 1px solid #dddddd;
    }
    .data-table th {
        background-color: #e0e0e0; /* Change to desired color */
        color: #333;
        font-weight: bold;
    }

    .data-table tr:hover {
        background-color: #f1f1f1;
    }
    .data-table tr:first-child  {
        background-color: #e0e0e0; /* Change to desired color */
        color: #333;
        font-weight: bold;
    }

    .data-table .badge {
        cursor: pointer;
        padding: 5px 10px;
        background-color: #dc3545; /* Bootstrap Danger Color */
        color: white;
        border-radius: 3px;
        transition: background-color 0.3s ease;
    }

        .data-table .badge:hover {
            background-color: #c82333; /* Darker shade on hover */
        }

        .data-table .badge.bg-label-danger {
            display: inline-block; /* Ensures it's treated as a button */
        }
.TableMainHeading {
    background-color: #4D93D9;
    padding: 0.5rem;
    color: #ffff;
    text-align: center;
}
.secondSubHeader th {
    background-color: #B5E6A2!important;
    font-weight:bolder;
}
.summarytable .table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: #D9D9D9 !important;
}
.summarytableHeader th {
    background-color: #000 !important;
    color: #ffff !important;
}
.summarytable tbody tr:last-child, .utliTablLastRow tbody tr:last-child {
    /*background-color: #000 !important;*/
    font-weight: bold;
    color: #ffff !important;
}
.utliTablLastRow tbody tr:last-child {
    background-color: #4D93D9;
    color: #ffff !important;
}
.bg-menu-theme .menu-item.open:not(.menu-item-closing) > .menu-toggle {
    color: #ffff;
}


.flexi-table {
    display: flex;
    gap: 1rem;
}
.utliTablLastRow th {
    font-size: xx-small;
    padding: 0.625rem;
}
.utliTablLastRow td {
    font-size: smaller;
    padding: 0.625rem;
}
.utliTablLastRow{
    table-layout:fixed;
}

/* MAIN ROW 
 ===== MAIN ROW ALIGNMENT ===== 
#divAllocatedHours > .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

 ===== TEAM UTILIZATION (LEFT SIDE) ===== 
#divAllocatedHours .team-utilization {
    display: flex;
    align-items: center;
    gap: 8px;
}

 ===== DATATABLE WRAPPER (RIGHT SIDE CONTROL) ===== 
#divAllocatedHours .dataTables_wrapper {
    width: auto;
    margin-left: auto;
}

 ===== SEARCH BAR ALIGNMENT ===== 
#divAllocatedHours .dataTables_filter {
    margin: 0 !important;
    display: flex;
    justify-content: flex-end;
}

 ===== REMOVE DEFAULT DATATABLE ROW BREAKING ===== 
#divAllocatedHours .dataTables_wrapper .row:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    margin-bottom: 10px;  space between search & table 
}

     ===== PREVENT COLUMN WIDTH ISSUES ===== 
    #divAllocatedHours .dataTables_wrapper .row:first-child > div {
        width: auto !important;
    }

 ===== SPACE BETWEEN SEARCH & TABLE ===== 
#divAllocatedHours .dataTables_wrapper table {
    margin-top: 5px;
}

 ===== HEADING WIDTH FIX ===== 
#divAllocatedHours h4,
#divAllocatedHours h5 {
    margin: 0 !important;
    line-height: 1.2;
}

 ===== OPTIONAL: SMALL SEARCH INPUT ===== 
#divAllocatedHours .dataTables_filter input {
    height: 30px;
    border-radius: 6px;
}*/

.custom-row:hover {
    background: #f9f9f9;
}

