﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: "Poppins", sans-serif;
    /*background: linear-gradient(135deg, #e8f4f8 0%, #d4e7f5 50%, #c8d5e8 100%);*/
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: url(../images/body-background.jpg) no-repeat 0 0px fixed;
    background-size: cover;
}

.header {
    background-color: #e0e0e0;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
}

.employee-info {
    display: flex;
    align-items: center;
}

.employee-logo {
    height: 50px;
    width: auto;
}


.nav-bar {
    background-color: #b8d4e8;
    padding: 10px 40px;
    text-align: right;
}

.usrinfo {
    font-weight: normal;
    /*    font-size: .8rem;*/
    font-size: 14px;
    color: #0b4f7c;
}

.nav-link {
    color: #0b4f7c;
    text-decoration: none;
    font-size: 14px;
}

.main-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0;
    /*    padding: 0 40px;*/
    align-items: stretch;
    flex: 1;
    min-height: calc(100vh - 155px);
}

.main-container-alt {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 0;
    /*    padding: 0 40px;*/
    align-items: stretch;
    flex: 1;
    min-height: calc(100vh - 155px);
    background: #fff;
    /*padding-bottom: 30px;*/
}

.celebrations-section {
    flex: 1;
    position: relative;
    background: transparent;
    border-radius: 0;
    padding: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

    .celebrations-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        /* height: 50%; */
        /* background: rgba(255, 255, 255, 0.7); */
        background: url(../images/video-overlay.png);
        background-repeat: no-repeat;
        z-index: 1;
        height: 100%;
    }

.celebrations-title {
    color: #0b4f7c;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: bold;
    position: relative;
    z-index: 4;
}

.celebrations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.celebration-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

    .celebration-card h3 {
        background-color: #0b4f7c;
        color: white;
        padding: 12px;
        border-radius: 8px 8px 0 0;
        margin: -20px -20px 15px -20px;
        font-size: 16px;
    }

.celebration-list {
    list-style: none;
}

    .celebration-list li {
        padding: 8px 0;
        border-bottom: 1px solid #d6d6d6;
        color: #0b4f7c;
        font-size: 14px;
    }

        .celebration-list li:last-child {
            border-bottom: none;
        }

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    z-index: 0;
}

.login-section {
    width: 300px;
    background-image: url('../images/login-bg.jpg');
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    border-radius: 0;
    padding: 30px 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.login-card {
    background: transparent;
    border-radius: 0;
    padding: 30px;
    position: relative;
    z-index: 1;
}

.login-section h3 {
    color: #0b4f7c;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0b4f7c;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        color: #333;
        margin-bottom: 8px;
        font-size: 14px;
    }

    .form-group input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 14px;
        background-color: white;
    }

.login-btn {
    background-color: #0b4f7c;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
    margin-top: 10px;
}

    .login-btn:hover {
        background-color: #0d6092;
    }

.tablet-image {
    position: absolute;
    bottom: -80px;
    right: -50px;
    width: 250px;
    height: auto;
    z-index: 2;
}

.footer {
    background-color: #000;
    color: white;
    text-align: center;
    padding: 8px 15px;
    /*        position: fixed;
        bottom: 0;*/
    width: 100%;
    font-size: 12px;
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }

    .celebrations-grid {
        grid-template-columns: 1fr;
    }

    .login-section {
        width: 100%;
    }

    .tablet-image {
        display: none;
    }
}
/*dashboard-css*/

.container {
    width: 1160px;
    margin: 0 auto;
    background: #fff;
    padding: 20px 0;
}

/* --- Cards Grid System --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.card {
    background-color: #fff;
    border-radius: 12px;
    /* padding: 20px 30px; */
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: transform 0.2s;
    min-height: 130px;
}

    .card:hover {
        transform: translateY(-2px);
    }

.card-icon {
    /* width: 80px;
            height: 80px; */
    flex-shrink: 0;
    object-fit: contain;
}

.card-image-full {
    width: 100%;
    height: auto;
    max-width: 200px;
    object-fit: contain;
}

.card-title {
    color: white;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
}

/* Card specific colors */
.card-employee {
    background: linear-gradient(135deg, #2d6a9f 0%, #3d7fb5 100%);
    justify-content: center;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card-pace {
    background: linear-gradient(135deg, #3d7d5c 0%, #4a9470 100%);
}

.card-timesheet {
    background: linear-gradient(135deg, #4a6483 0%, #5a7493 100%);
}

.card-lead {
    background: linear-gradient(135deg, #7b7ba3 0%, #8b8bb3 100%);
}

.card-phonebook {
    background: linear-gradient(135deg, #3d5566 0%, #4d6576 100%);
}

.card-team {
    background: linear-gradient(135deg, #8b7b2d 0%, #9b8b3d 100%);
}

.card-project {
    background: linear-gradient(135deg, #3d7d7d 0%, #4d8d8d 100%);
}

.card-connect {
    background: linear-gradient(135deg, #5d7d7d 0%, #6d8d8d 100%);
}

.card-hr {
    background: linear-gradient(135deg, #4b6a92 0%, #34547a 100%);
}

.card-newsroom {
    background: linear-gradient(135deg, #534a72 0%, #536994 100%)
}
/* --- Newsroom Section --- */
.newsroom-section {
    display: flex;
    font-family: 'Segoe UI', Arial, sans-serif;
    border: 0px solid #ccc; /* Optional: outer border */
    max-width: 1200px;
}

/* Sidebar Styling */
.newsroom-sidebar {
    width: 25%; /* Adjust width as needed */
    min-width: 250px;
    background-color: #dcebf7; /* Light blue background matching Image 1 */
    border-right: 1px solid #ddd;
    border-radius: 10px;
    background: linear-gradient(to bottom, #cdddec 0%, #ffffff 100%);
}

/* Header Styling */
.newsroom-header {
    background-color: #104e70; /* Dark Teal/Blue from Image 1 */
    color: white;
    padding: 15px;
    font-weight: bold;
    font-size: 16px;
    border-top-left-radius: 10px;
}

/* GridView (Table) Styling */
.newsroom-links {
    width: 100%;
    border-collapse: collapse;
}

    /* Styling the Table Cells generated by GridView */
    .newsroom-links td {
        padding: 0;
        border-bottom: 1px solid #b8daee; /* Separator lines */
        background-color: #dcebf7;
    }

/* Styling the LinkButtons */
.sidebar-link {
    display: block; /* Makes the link fill the whole cell */
    padding: 5px 10px;
    text-decoration: none;
    color: #104e70; /* Dark text color */
    font-size: 13px;
    line-height: 1.4;
    transition: background 0.2s;
}

    .sidebar-link:hover {
        background-color: #cde4f3;
        text-decoration: none;
    }

/* Content Area Styling */
.newsroom-content {
    width: 75%;
    padding: 20px;
    background-color: #fff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .newsroom-section {
        flex-direction: column;
    }

    .newsroom-sidebar {
        width: 100%;
    }

    .newsroom-header {
        border-radius: 12px 12px 0 0;
    }

    .newsroom-links {
        border-radius: 0;
        border-right: 1px solid #cdddec;
    }

    .newsroom-content {
        margin-top: 0; /* Remove stepped layout on mobile */
        border-radius: 0 0 12px 12px;
        border-top: none;
        border-left: 1px solid #dcebf7;
    }
}

ul, ul li {
    list-style: none;
    list-style-type: none
}

.btn-action {
    background-color: #2563eb;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    display: inline-block;
    width: auto; /* Override general input width */
    float: right;
    text-decoration: none;
}

    .btn-action:hover {
        background-color: #1d4ed8;
    }

.action-bar {
    text-align: right;
    padding: 10px 0; /* Adds a little vertical breathing room */
}

.mb-20 {
    margin-bottom: 10px;
    overflow: hidden;
}


table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    overflow: hidden;
}

th {
    background: #dcecfe;
    font-weight: 600;
    text-align: center;
    border: 1px solid #b6d4ff;
    padding: 8px;
    /*        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
    font-size: 14px;
    /*        color: #1e3a8a;*/
    color: #000;
}

td {
    border: 1px solid #b6d4ff;
    padding: 6px 10px;
    vertical-align: middle;
}

tr:nth-child(odd) {
    background-color: #eff7ff;
}
/*td table tr td {
  border: none;
}*/
a {
    color: #1e3a8a;
    font-weight: 600;
    text-decoration: none;
}

.border-0 {
    border: 0px !important;
}

.bg-none {
    background: none !important;
}

.p-0 {
    padding: 0;
}

.ajax__tab_xp .ajax__tab_tab {
    height: 21px !important;
    padding: 4px;
    margin: 0;
    background: url(WebResource.axd?d=aTDxF-ac3PoL6GuGj3YsXpfXxAvm5pA78i2qQORnKb8onewf-OpTwwp19n_9XzKb813v1BlVHAKqIDT1hnbrI7wylZW4GcOVBxrf135keeS7FTGpVpIlGBfbxhoYvizW4wVsuzgyHDC9mwedFTkTFw2&t=639062526473747458) repeat-x;
}


.ajax__tab_xp .ajax__tab_body {
    font-family: "Poppins", sans-serif !important;
    font-size: 10pt;
    border: 1px solid #999999;
    border-top: 0;
    padding: 8px;
    background-color: #ffffff;
}

.font-600 {
    font-weight: 600 !important;
}

.text-black {
    color: #000 !important;
    font-size: 16px;
    text-align: left;
}

.text-red {
    color: #f00;
}

.text-green {
    color: #00ac00;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* The Button Styling */
.dropbtn {
    /*    background-color: #3498db;*/
    color: #3498db;
    /*    padding: 12px 16px;*/
    /*    font-size: 16px;*/
    border: none;
    cursor: pointer;
    border-radius: 4px;
    broder: 1px solid #3498db;
    background: none;
    line-height: 20px;
}

    .dropbtn::after {
        content: "";
        display: inline-block;
        margin-left: 8px; /* Space between text and arrow */
        vertical-align: middle;
        /* Create the arrow shape */
        border: solid #0b4f7c; /* Color of the arrow */
        border-width: 0 2px 2px 0; /* Thickness of the arrow */
        padding: 3px; /* Size of the arrow */
        /* Rotate to point down initially */
        transform: rotate(45deg);
        /* Smooth animation for the rotation */
        transition: transform 0.3s ease;
    }

    /* Optional: Rotate the arrow UP when the menu is open */
    /* We target the button when it has a specific class, 
   or we can target it based on the dropdown state if we adjust JS.
   For simplicity, let's assume we add an 'active' class to the button on click. */
    .dropbtn.active::after {
        transform: rotate(-135deg); /* Flips the arrow up */
        margin-top: 5px; /* Visual correction for the flip */
    }

    /* Button hover effect */
    .dropbtn:hover, .dropbtn:focus {
        /*        background-color: #2980b9;*/
    }

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none; /* Hidden initially */
    position: absolute;
    background-color: #0b4f7c;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right: 0;
    border-radius: 4px;
    overflow: hidden;
}

    /* Links inside the dropdown */
    .dropdown-content a {
        color: #fff;
        padding: 6px 9px;
        text-decoration: none;
        display: block;
        text-align: left;
        font-weight: normal;
        font-size: 14px;
    }

        /* Change color of dropdown links on hover */
        .dropdown-content a:hover {
            /*            background-color: #ddd;*/
            color: rgba(255,255,255,.8)
        }

/* The class we will add via JS to show the menu */
.show {
    display: block;
}

.dropdown:hover .dropdown-content {
    display: block;
}


.emp_img {
    height: 160px !important;
    width: 160px !important;
    border: 2px solid #ccc;
    border-radius: 50%;
}

.text-end {
    float: right;
}


.d-flex {
    display: flex !important;
}

.align-item-center {
    align-items: center !important;
}

.align-span-center span {
    display: flex !important;
}


    .align-span-center span span {
        display: flex !important;
        align-items: center !important;
    }


.tmcmsn_menu {
    width: 100%;
    margin-bottom: 10px;
}

.tcms_menu_r {
}



    .tcms_menu_r tr {
        background: #93a5bb;
        border: none;
    }

    .tcms_menu_r a {
        border: none;
        font-weight: normal;
        border: none !important;
    }


    .tcms_menu_r td {
        border: none !important;
        padding: 3px !important;
    }

.p-0 {
    padding: 0px !important;
}

.tcms_menu_r table {
    border: none !important;
    width: 100%;
    /* margin-bottom: 10px; */
}


.float-end {
  float:right;
}
.justify-content-center {
    justify-content:space-between;
    align-items:center;
}
.mx-2 {
    margin-left: .5rem;
    margin-right: .5rem;
}

.btn-submit {
    background: #ffffff;
    border: 1px solid #1e3a8a;
    color: #1e3a8a;
    padding: 4px 14px;
    font-size: 14px;
    font-weight: normal;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

    .btn-submit:hover {
        background: #1e3a8a;
        color: #ffffff;
    }

.bg-light-gray {
  background: #f5f5f5;
}

.thead-gray th {
    background: #f5f5f5!important;
}

.w-100 {
    width:100%;
}