/* Custom Styles for Dashboard Boxes */
.dashboard-box {
    padding: 20px;
    margin: 10px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border-radius: 5px;
    color: white;
    background-color: #007bff;
}

/* Container for the dashboard */
.dashboard-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Individual dashboard boxes */
.dashboard-box {
    background-color: #007bff;
    color: white;
    text-align: center;
    padding: 20px;
    width: 200px;
    height: 100px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

/* Hover effect for dashboard boxes */
.dashboard-box:hover {
    background-color: #0056b3;
    cursor: pointer;
}

/* Optional: Styling for the heading */
h2 {
    font-size: 28px;
    font-weight: bold;
    color: #333;
}

/* width of input */
.w1 {
    width: 150px !important;
}

/* General Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

/* Container Styling */
.container-fluid {
    /* margin: 20px auto; */
    background-color: #fff;
    /* border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px; */
}

/* Header Section */
h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    margin-top: 20px;
    color: #333;
}

/* Form Styling */
form .form-group {
    margin-bottom: 15px;
}

/* form .form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    font-size: 14px;
    width: 100%;
} */

/* form label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    color: #555;
} */

/* form .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
} */

form .btn-primary:hover {
    background-color: #0056b3;
}

/* Details Table Section */
#details-section {
    margin-top: 30px;
    padding: 15px;
    background-color: #f7f7f7;
    border-radius: 8px;
    border: 1px solid #ddd;
}

#details-section h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #444;
}

/* Table Styling */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.table th,
.table td {
    text-align: left;
    padding: 10px;
    border: 1px solid #ddd;
}

.table th {
    background-color: #bbb;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.table tfoot td {
    background-color: #bbb;
    font-weight: bold;
    color: #333;
}

/* .table td input {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px;
    font-size: 14px;
} */

/* Add Row Button */
.add-row-btnn {
    background-color: #1db741;
    border-color: #1db741;
    color: #fff;
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer !important;
}

.add-row-btn:hover {
    background-color: #218838;
}

/* Remove Row Button */
.remove-row-btn {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    cursor: pointer;
}

.remove-row-btn:hover {
    background-color: #c82333;
}

/* Footer Styling */
footer {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #888;
}

/* General Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

/* Container Styling */
/* .container-fluid {
    margin: 20px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
} */


body {
    background-color: #f8f9fa;
    font-family: Arial, sans-serif;
}

.container {
    margin: 50px auto;
    max-width: 400px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

/* .form-group label {
    font-weight: bold;
} */

/* .form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
} */

/* .btn-primary {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
} */

.btn-primary:hover {
    background-color: #0056b3;
}

.message {
    text-align: center;
    margin-top: 15px;
}

.message.success {
    color: #28a745;
}

.message.error {
    color: #dc3545;
}

.minheight {
    min-height: 400px;
}

/*Custom CSS*/
.logo_blck {
	font-size: 1.5rem;
}
.sidebar {
	padding-bottom: 120px;
}
.menu_icons_main .icon_colors {
	display: table;
	margin: 0 auto 5px;
	border-radius: 5px;
	height: 65px;
	width: 65px;
	line-height: 65px;
	background-color: rgb(49, 151, 252);
}
.menu_icons_main .menu_font_icon {
	color: #ffffff;
    font-size: 1.5rem;
}
.menu_icons_main h5.card-title {
	color: #333;
	font-size: 1rem;
}
.sidebar .sidebar-sticky .nav-item .collapse, .sidebar .sidebar-sticky .nav-item .collapsing {
	padding-left: 12px;
}
.sidebar .sidebar-sticky .nav-link {
	color: #000;
}
.col-md-9.ml-sm-auto.col-lg-10.px-4.pb-5.mb-5 {
	min-height: calc(100vh - 100px);
    padding-top: 70px;
    margin-left: 230px !important;
    flex: auto;
    max-width: 85%;
    transition: margin 0.15s;
}
.col-md-9.ml-sm-auto.col-lg-10.px-4.pb-5.mb-5 h2 {
	border-bottom: 1px solid #ddd;
	padding-bottom: 10px;
	margin: 5px 0 20px 0 !important;
    font-size: 1.2rem;
}
.dashboard_page .card-header {
	font-size: 1.2rem;
    padding: 0.5rem;
}
.dashboard_page .card-body .card-title {
    font-size: 2.25rem;
}
textarea {
    resize: none;
}
.submit_blck {
	border-top: 1px solid #ddd;
	padding-top: 15px;
    margin-top: 15px;
    margin-left: 0px;
    margin-right: 0px;
}
.submit_blck .col-md-4:last-child {
	padding: 0;
}
.hour_field{
    max-width: 100px;
    text-align: right;
}

/*Project*/
#project_code {
	max-width: 300px;
}
#project_order_value {
	max-width: 200px;
	text-align: right;
}


/*Task*/
#wbs_code {
    max-width: 200px;
}
.start_date, .end_date {
    width: 150px;
}

/*Task Group*/
#task_group_name {
    min-width: 400px;
}

/*Time Sheet*/
#time_sheet_T_hoursWorked {
    /* max-width: 100px; */
    text-align: right;
}
.card_mob_view_show_hide {
    display: none;
}
#add-row-new {
    display: none;
}

/*Project Plan*/
#man_days {
    text-align: right;
}

/*Project Expense*/
#project_expense_amount {
    max-width: 200px;
	text-align: right; 
}

/*Customer*/
#customer_code {
	max-width: 200px;
}
#customer_city {
	max-width: 300px;
}
#customer_state {
	max-width: 300px;
}
#customer_address {
    max-width: 500px;
}
#customer_country {
	max-width: 300px;
}
#customer_zipcode {
	max-width: 125px;
}
#P_contact_mobile {
    max-width: 200px;
}
#P_contact_email {
	max-width: 500px;
}
#P_contact_designation {
	max-width: 350px;
}
#customer_name, #P_contact_name {
	max-width: 500px;
}

/*Customer Contact*/
#A_contact_mobile {
    max-width: 200px;
}
#A_contact_email {
	max-width: 400px;
}
#A_contact_designation {
	max-width: 350px;
}
#A_contact_name {
	max-width: 400px;
}

/*Calendar*/
#org_year {
	max-width: 80px;
	text-align: right;
}
#org_day {
	max-width: 150px;
}
#org_date {
    width: 150px;
}

/*Department*/
#dept_name {
    max-width: 400px;
}

/*Branch*/
#br_city {
	max-width: 300px;
}
#br_state {
	max-width: 300px;
}
#br_country {
	max-width: 300px;
}
#br_zipcode {
	max-width: 125px;
}
#br_name {
	max-width: 500px;
}
#br_address {
    max-width: 500px;
}
#status {
    max-width: 150px;
}
#br_work_start_time, #br_work_end_time {
	max-width: 150px;
}

/*Employee*/
#emp_mobile {
    max-width: 200px;
}
#emp_email {
	max-width: 500px;
}
#password {
	max-width: 350px;
}
#emp_first_name, #emp_last_name {
	max-width: 400px;
}
#emp_code {
    max-width: 200px;
}

/*Employee Cost*/
#employee_CTC, #common_overheads_cost{
    max-width: 200px;
    text-align: right;
}

/*User Group*/
#group_name {
    max-width: 400px;
}

/*Change Password*/
#current_password, #new_password, #confirm_password {
	max-width: 350px;
}

/*Edit Profile*/
#first_name, #last_name {
	max-width: 400px;
}
#mobile {
    max-width: 200px;
}

/*Filters*/
.filters_main_block .form-group {
	margin-right: 10px;
    margin-bottom: 10px;
}
.filters_main_block .form-group .btn-block {
	min-width: 80px;
}
.filters_main_block .form-group #task_id {
	width: 550px !important;
	white-space: nowrap;
	text-overflow: ellipsis;
}

/* Menu */

/* Sidebar Styles */
.sidebar {
    width: 230px;
    background-color: #343a40;
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    top: 69px;
    z-index: 9;
    transition: margin-left 0.15s, margin-right 0.15s, box-shadow 0.075s, transform 0.15s, width 0.15s, z-index 0s ease 0.15s;
}

.sidebar-content {
    padding: 15px 0px;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    position: relative;
}

.menu-link {
    display: flex;
    align-items: center;
    padding: 10px 10px;
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.menu-link:hover,
.menu-link.active {
    background: #495057;
    color: #fff;
  text-decoration: none;
}

.menu-link i {
    margin-right: 10px;
}

.submenu {
    list-style: none;
    padding-left: 15px;
}

.submenu .menu-link {
    font-size: 14px;
    padding: 8px 10px;
}

.submenu .menu-link.active {
    border-left: 2px solid #007bff;
}

/* Show Submenu */
.submenu.show {
    display: block;
}

/* Dropdown Icon */
.dropdown-icon {
    margin-left: auto;
    transition: transform 0.3s;
}

.menu-item.active > .menu-link .dropdown-icon {
    transform: rotate(180deg);
}

/*Loader*/
/* Full-screen overlay */
.loader-overlay {
    position: fixed; /* Fix to the screen */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Semi-transparent dark background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's on top */
}

/* Create the loader circle */
.loader {
    border: 10px solid #f3f3f3; /* Light grey background */
    border-top: 10px solid #3498db; /* Blue color for the spinning section */
    border-radius: 50%; /* Make it circular */
    width: 50px; /* Set width */
    height: 50px; /* Set height */
    animation: spin 2s linear infinite; /* Spin animation */
}

/* Keyframes for spinning animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*Reports*/
.group-header {
	background: #d4e7fb;
}
.group-header td {
	font-weight: bold;
}
.planned_colour {
	background: #90fb90;
}
.actual_colour {
	background: #02b002;
}
.planned_colour_red {
	background: #FBE2D5;
}
.gantt-table td.planned_actual_colour {
	padding: 0;
	border: none;
}
.gantt-table td.planned_actual_colour.split_border {
	border-right: 1px solid #000;
}
.planned_colour_legent {
	display: block;
	width: 15px;
	height: 15px;
	background: #90fb90;
	margin-right: 5px;
    margin-top: 4px;
    border: 2px solid #ddd;
}
.actual_colour_legent {
	display: block;
	width: 15px;
	height: 15px;
	background: #02b002;
	margin-right: 5px;
    margin-top: 4px;
    border: 2px solid #ddd;
}
.holiday_colour_legent {
	display: block;
	width: 15px;
	height: 15px;
	background: #FBE2D5;
	margin-right: 5px;
    margin-top: 4px;
    border: 2px solid #ddd;
}
.project_name_width {
    min-width: 675px;
}
#search_employee {
    min-width: 400px;
}
#task_type_name {
    min-width: 400px;
}
#search_name {
    min-width: 400px;
}
#search_employee_id {
    min-width: 400px;
}
#group_name {
    min-width: 400px;
}


/* Gant Chart */

.gantt-table {
    width: 100%;
    border-collapse: collapse;
}
.gantt-table th{
    border: 1px solid #ddd;
    padding: 4px;
    white-space: nowrap;
    text-align: center;
    background: #bbb;
    color: #333;
}
.gantt-table td {
    border: 1px solid #ddd;
    padding: 6px;
    text-align: left;
    white-space: nowrap;
}

.gantt-bar {
    background-color: green;
    height: 20px;
    margin-top: 5px;
}
.planned_actual_colour table td {
	border: 1px solid #ddd;
    padding: 9px;
}
.gantt-header span {
	/* font-weight: normal; */
    font-size: 12px;
    display: block;
    margin-top: 5px;
}


/*Sidebar Menu*/
header .sidebar-toggle {
	color: #ffffff;
    font-size: 1rem;
    margin-right: 1rem;
    padding: 5px;
    margin-top: 10px;
}

nav.sidebar.open {
    display: none;
}
.col-md-9.ml-sm-auto.col-lg-10.px-4.pb-5.mb-5.open {
    margin-left: 0px !important;
    max-width: 100%;
}

/*Header*/
body header {
    background: #1a66a6 !important;
}
.dropdown-menu.dropdown-menu-right {
	min-width: 20rem;
	left: auto !important;
	right: 0 !important;
	transform: none !important;
	bottom: auto !important;
	top: auto !important;
    margin-top: 10px;
    border: 1px solid #343a40;
    padding-bottom: 2px;
}
.dropdown_prof_info_blck .dropdown_prof_info {
	padding: 15px 10px;
	text-align: center;
	background: #343a40;
    color: #fff;
	border-radius: 3px 3px 0 0;
	font-weight: 600;
    margin-top: -0.5rem;
}
.dropdown_prof_info_blck .dropdown-toggle::after {
    display: none;
}
.dropdown_prof_info_blck a img {
    max-width: 37px;
}
.dropdown_prof_info_blck .dropdown-menu::before {position: absolute;top: -7px;right: 10px;display: inline-block;border-right: 7px solid transparent;  border-bottom: 7px solid #dddddd;border-left: 7px solid transparent;border-bottom-color: rgba(0, 0, 0, 0.2);content: '';}
.dropdown_prof_info_blck .dropdown-menu::after {position: absolute;top: -6px;right: 11px;display: inline-block;border-right: 6px solid transparent;border-bottom: 6px solid #343a40;border-left: 6px solid transparent;content: '';}

.dropdown_prof_info_blck .dropdown-item {
    padding: 10px 15px;
}
.dropdown_prof_info_blck .dropdown-item:hover {
	background: #e6eefa;
}
.dropdown_prof_info_blck .dropdown-divider {
    margin: 0px;
}
.head_login_id {
	font-size: 1rem;
	font-style: italic;
}
.head_logo {
	margin-bottom: 5px;
}


/*Reset Password*/
.container.reset_password_block {
    max-width: 800px;
}

/*Dashboard*/
.dash_mob_view_table {
    display: none;
}

/*Employee Productive Report*/
.rpt_mob_view_table {
    display: none;
}


/*Breadcrumb*/
.breadcrumb {
	padding: 5px;
	margin: 0;
    font-size: 0.9rem;
}
.breadcrumb li i {
	color: #989797;
    font-size: 0.7rem;
}

.breadcrumb li:last-child i {
    display: none;
}
.breadcrumb li:last-child a {
    color: #888;
    cursor: default;
    text-decoration: none;
}

/*Responsive*/
@media screen and (max-width: 992px) {
    header .sidebar-toggle {
        display: block;
    }
    nav.sidebar {
        display: none;
    }
    .resized nav.sidebar.open {
        display: block;
    }
    .col-md-9.ml-sm-auto.col-lg-10.px-4.pb-5.mb-5 {
        margin-left: 0 !important;
        max-width: 100%;
        width: 100%;
        flex: auto;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .project_name_width {
        width: 100%;
        min-width: auto;
    }
    #search_employee {
        min-width: auto;
    }
    #task_type_name {
        min-width: auto;
    }
    #search_name {
        min-width: auto;
    }
    #search_employee_id {
        min-width: auto;
    }
    #group_name {
        min-width: auto;
    }
    #task_group_name {
        min-width: auto;
    }
}

@media screen and (max-width: 767px) {
    /*Time Sheet - Mobile View*/
    .table_mob_view_show_hide {
        display: none;
    }
    #add-row {
        display: none;
    }
    .card_mob_view_show_hide {
        display: block;
    }
    #add-row-new {
        display: block;
        float: right;
    }
    .card_mob_view_show_hide .timeRow {
        border: 1px solid #ddd;
        border-radius: 5px;
        padding: 10px;
        margin: 0px 15px 15px 15px;
        background: #fafafa;
    }
    .card_mob_view_show_hide .timeRow .remove-row-new {
        float: right;
        margin-top: -5px;
    }

    /*Dashboard - Start*/

    .dash_mob_view_table {
        border: 1px solid #ddd;
        border-radius: 5px;
        padding: 10px;
        margin: 0px 0px 15px 0px;
        background: #fafafa;
        display: block;
    }
    .dash_mob_view_table_head {
        display: block;
        font-size: 0.8rem;
        margin-bottom: 0;
    }
    .dash_mob_view_table_cont {
        font-weight: 600;
    }
    .dash_mob_view_table_multi .form-group {
        float: left;
        width: 50%;
    }
    .dash_mob_view_show_hide {
        display: none;
    }

    /*Dashboard - End*/

    /*Employee Productive Report - Start*/

    .rpt_mob_view_table {
        border: 1px solid #ddd;
        border-radius: 5px;
        padding: 10px;
        margin: 0px 0px 15px 0px;
        background: #fafafa;
        display: block;
    }
    .rpt_mob_view_table_head {
        display: block;
        font-size: 0.8rem;
        margin-bottom: 0;
    }
    .rpt_mob_view_table_cont {
        font-weight: 600;
    }
    .rpt_mob_view_table_3_multi .form-group {
        float: left;
        width: 33.3333%;
    }
    .rpt_mob_view_show_hide {
        display: none;
    }

    /*Employee Productive Report - End*/
    

}

@media screen and (max-width: 480px) {
    .logo_blck {
        font-size: 1rem;
    }
    .col-md-9.ml-sm-auto.col-lg-10.px-4.pb-5.mb-5 {
        padding-top: 56px;
    }
    .head_login_id {
        font-size: 0.8rem;
    }
    .dropdown_prof_info_blck a img {
        max-width: 30px;
    }
    #userDropdown {
        font-size: 0.8rem;
    }
    header .sidebar-toggle{
        padding: 0px;
    }
    .project_name_width {
        width: 100%;
        min-width: auto;
    }
    #search_employee {
        min-width: auto;
    }
    #task_type_name {
        min-width: auto;
    }
    #search_name {
        min-width: auto;
    }
    #search_employee_id {
        min-width: auto;
    }
    #group_name {
        min-width: auto;
    }
    #task_group_name {
        min-width: auto;
    }
    .filters_main_block .form-group {
        width: 100%;
        margin-right: 0;
    }
    .filters_main_block .form-group .start_date, .filters_main_block .form-group .end_date {
        width: 100%;
    }
    .filters_main_block .form-group #task_id {
        width: 100% !important;
    }
    .resized nav.sidebar.open {
        top: 54px;
    }
    
}

.no{
    color: inherit;
    text-decoration: none;
}
.no:hover{
    color: inherit;
    text-decoration: none;
}
.no:visited{
    color: inherit;
    text-decoration: none;
}