﻿body {
    font-family: 'Open Sans', arial, tahoma, calibri !important;
    color: #444;
    font-size: 12px !important;
    background: #dddddd;
    padding: 0px;
}


h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Open Sans', arial, tahoma, calibri !important;
}

.silver-gradiant {
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
}

.title {
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
    background-color: #C1C1C1;
    margin: auto -15px;
    height: 31px;
    line-height: 31px;
    text-align: center;
    color: #5a5a5a;
    font-weight: bold;
    border-bottom: 1px solid #c1c1c1;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.login-panel {
    width: 500px;
    box-shadow: 0 0 10px #bbb;
    border-radius: 1px;
    padding: 1px;
    margin-top: 6%;
    margin-right: auto;
    margin-bottom: 6%;
    margin-left: auto;
    background: linear-gradient(to bottom, #ffffff 0%,#ffffff 45%,#e7eaef 100%);
}

    .login-panel .form-group {
        margin: 0 auto 15px;
        width: 50%;
    }

        .login-panel .form-group label {
            text-align: left;
        }

.form-control {
    width: 100%;
    padding: 2px 4px;
    font-size: 12px;
    line-height: 1.428571429;
    color: #555555;
    vertical-align: middle;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    height: 25px;
}

.btn {
    display: inline-block;
    margin-bottom: 0;
    font-size: 12px;
    font-weight: bold;
    border-radius: 0;
    font-family: 'Open Sans', arial, tahoma, calibri;
}

.btn-primary, .btn-danger {
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
    color: #000;
    padding: 3px 25px;
}

.btn:hover, .btn:active, .btn:focus {
    color: #000 !important;
    border: 1px solid #b1b1b1 !important;
    background: #ffffff !important; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%) !important; /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%) !important; /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%) !important; /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.btn-primary, .btn-default, .btn-danger {
    border: 1px solid #b1b1b1;
}

.btn-sm.btn-danger {
    padding: 5px 10px;
}

.table-head label {
    display: block;
}

.dateText .btn {
    border-color: #ccc !important;
    padding: 3px 10px;
}

.form-group {
    margin-bottom: 5px;
}

.login-button {
    background: #dd7324 none repeat scroll 0 0;
    border: 0 none;
    color: #fff;
    padding: 7px;
    width: 100px;
    border-radius: 4px;
    cursor: pointer;
}

    .login-button:hover {
        background: #d05c06 none repeat scroll 0 0;
    }

.copyright {
    text-align: center;
}

.card {
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
    width: 70%;
    margin: auto;
    border: 1px solid rgb(193, 193, 193);
    margin-top: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: 0 0 29px rgba(194, 194, 194, 0.37);
    padding: 0 15px;
}

.bgless-card {
    background: #fff !important;
}

.card::after {
    clear: both;
    content: '';
}

.card-body {
    padding: 10px 5px 5px;
}

.category input[type="checkbox"] {
    margin-top: 9px !important;
}

.main-view {
    width: 95%;
    margin: auto;
    min-height: 500px;
    padding-bottom: 20px;
}

.list {
    border: 1px solid #969696;
    height: 226px;
    overflow-y: scroll;
    overflow: auto;
    background-color: #fff;
}

    .list .list-item {
        border-bottom: 1px solid #969696;
        height: 25px;
        line-height: 25px;
        vertical-align: middle;
        cursor: pointer;
        padding: 1px 3px;
    }

        .list.list-item:first-child {
            border-top: solid 1px inherit;
        }

        .list .list-item:hover {
            background-color: #efefef;
            color: black;
        }

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.width100 {
    width: 100px;
}

.width80 {
    width: 80px;
}

.margin2 {
    margin: 2px;
}

.dropdown-menu a {
    font-size: 12px;
}

.footer {
    /*background: #fff url(../Content/Images/title-bg.png) repeat;*/
    background-color: #3F5983;
    width: 100%;
    margin: auto;
    height: 25px;
    line-height: 25px;
    text-align: center;
    color: white;
    font-size: 11px;
    position: fixed;
    bottom: 0px;
}

    .footer a {
        color: white;
    }

nav {
    height: 40px !important;
    min-height: 40px !important;
    border: solid 1px;
    margin: 5px;
    border-bottom: 1px solid #fff !important;
}

.nav {
    height: 40px;
}

nav > div {
    height: 40px;
    /*background-color:#3B5998 !important*/
}

.container-fluid {
    height: 40px;
}

.dropdown-toggle {
    height: 40px !important;
    padding-top: 10px !important;
}

.navbar-nav > li > a {
    height: 40px !important;
    padding-top: 10px;
}
/*.navbar-default .navbar-nav>li>a
{
    color:white;
}*/
.navbar {
    margin-bottom: 0px !important;
    margin: 0;
    border-radius: 0;
}

.nav-title {
    position: absolute;
    background-color: #fff;
    width: 100%;
    padding: 3px 5px;
    border-bottom: 1px solid #dddddd;
}

#loader {
    background: rgba(238, 238, 238, 0.8) url("../Content/Images/loading.gif") no-repeat scroll center center;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
    display: none;
}

    #loader .text {
        margin-top: 18px;
        position: relative;
        text-align: center;
        top: 50%;
        color: #3f5983;
        font-size: 13px;
    }

.column-header {
    font-weight: normal;
    font-size: 9pt;
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
    padding: 5px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border: 1px solid #c1c1c1;
    border-bottom: 0;
    overflow: auto;
}

.button-container {
    float: right;
}

.item-list {
    height: 385px;
}

.success {
    position: fixed;
    width: 60%;
    border: solid 1px #228b22;
    z-index: 1;
    margin: 5px 20% 0px 20%;
    text-align: center;
    min-height: 30px;
    background-color: #90ee90;
    color: #228b22;
    font-weight: bold;
}

    .success .close {
        width: 24px;
        height: 24px;
        opacity: 0.9;
    }

        .success .close span {
            font-size: 12px;
            color: #de0505;
        }

    .success .message {
        padding: 5px;
    }

.error {
    position: fixed;
    width: 60%;
    border: solid 1px #f74141;
    z-index: 1;
    margin: 5px 20% 0px 20%;
    text-align: center;
    min-height: 30px;
    background-color: rgb(245, 222, 222);
    color: #d60000;
    font-weight: bold;
}

    .error .close {
        width: 24px;
        height: 24px;
        opacity: 0.9;
    }

        .error .close span {
            font-size: 12px;
            color: #de0505;
        }

    .error .message {
        padding: 5px;
    }

h3 {
    font-weight: bold;
    font-size: 20px;
}

.table-head, .item-footer {
    background-color: #ddd;
    padding: 5px 0;
    overflow: auto;
}

    .table-head .form-group,
    .item-footer .form-group {
        margin-bottom: 0 !important;
    }

.item-footer {
    padding-right: 15px;
}

label {
    margin-bottom: 3px;
    font-weight: normal;
    line-height: 1;
}

.itemList {
    background-color: #fff;
    overflow: hidden;
}

.item-row {
    border-bottom: 1px solid #ddd;
    overflow: auto;
    line-height: 2;
    transition: border 1s;
}

    .item-row:hover {
        border-bottom: 1px solid #737171;
        cursor: pointer;
    }

    .item-row .btn {
        padding: 0px 10px;
        margin: 2px 0;
    }

/*sorting column CSS**/

.sortorder:after {
    content: '\25b2';
}

.sortorder.reverse:after {
    content: '\25bc';
}

fieldset {
    padding: .75em;
    margin: 0 2px;
    border: 1px solid #c0c0c0;
}

legend {
    font-weight: normal;
    font-size: 9pt;
    width: auto;
    border: 0;
    margin-bottom: 0;
}

.pt {
    padding-top: 9px !important;
}

.card-lg {
    width: 85%;
}

.card-sm {
    width: 340px;
    margin-top: 10%;
}

.bordered {
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    padding: 2px 0;
}

.small-pad-btn {
    padding: 2px 10px !important;
}

.nav-tabs > li > a {
    background: #ffffff; /* Old browsers */
    background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
    background-color: #C1C1C1;
    border: 1px solid #ccc;
    border-bottom: 0;
    font-weight: bold;
    color: #5a5a5a !important;
}


.tab-pane {
    padding: 10px 15px;
    padding-bottom: 0;
}

.tab-content {
    background-color: #fff;
    padding: 0 15px;
    border: 1px solid #ddd;
    padding-bottom: 10px;
    border-top: 0;
    min-height: 442px;
}

.sec-thead {
    background-color: #fff !important;
    border: 1px solid #ddd;
}


.sec-tfoot {
    border: 1px solid #ddd;
    border-top: 0;
}

.added-padding {
    padding: 15px 0 !important;
}

.nav-tabs li.active {
}

    .nav-tabs li.active a {
        border-color: #dddddd;
        box-shadow: inset 1px 1px 12px rgba(221, 221, 221, 0.66);
        border-bottom-color: #dddddd !important;
    }

.nav-tabs > li > a:hover {
    border-color: #dddddd;
    box-shadow: inset 1px 1px 12px rgba(221, 221, 221, 0.66);
}

.table tbody td,
.table tbody th {
    padding-bottom: 5px !important;
    padding-top: 5px !important;
}

.table .table-head td {
    padding-bottom: 3px !important;
    padding-top: 3px !important;
}

.table {
    margin-bottom: 0;
    font-size:12px;
}

.white {
    background-color: #fff;
}


.op-container {
    height: 250px;
    overflow-y: auto;
    border: 1px solid #CCC;
    background-color: #FFF;
}

.revisionwiard-container {
    height: 251px;
    overflow-y: auto;
    border: 1px solid #CCC;
    background-color: #FFF;
}

.receipt .table-head .col-md-2 {
    width: auto;
}

.login-form {
    width: 300px;
    margin: auto;
    overflow: hidden;
    padding: 15px;
}

.height-List {
    border: 1px solid #ddd;
    height: 250px;
    overflow-y: scroll;
    border-top: 0;
    border-bottom: 0;
    background-color: #fff;
}

.tab-footer {
    overflow: auto;
    margin: 0 15px;
    padding-top: 5px;
    background-color: #ddd;
}

.grid-table > tbody > tr {
    background-color: #fff;
}

.form-error {
    color: red;
    border: 1px solid;
    padding: 1px 4px;
    margin: 5px 0;
    background-color: antiquewhite;
    display: block;
    float: right;
    width: 100%;
}

.tb-wrap {
    border: 1px solid #ddd;
    height: 240px;
    background-color: #fff;
    clear: both;
}

.side-list {
    border: 1px solid #ddd;
    height: 335px;
    background-color: #fff;
}

    .side-list > .title-text {
        background-color: #dddddd;
        padding: 8px;
        margin-top: 0;
        text-align: left;
        background: #ffffff; /* Old browsers */
        background: -moz-linear-gradient(top, #ffffff 0%, #e5e5e5 100%); /* FF3.6-15 */
        background: -webkit-linear-gradient(top, #ffffff 0%,#e5e5e5 100%); /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e5e5e5',GradientType=0 ); /* IE6-9 */
        background-color: #C1C1C1;
        border-bottom: 1px solid #c1c1c1;
    }

.ngdialog-content {
    padding: 6px !important;
}

    .ngdialog-content h6 {
        background-color: navy;
        color: white;
        line-height: 20px;
        vertical-align: middle;
        margin: 0px;
    }

.border {
    border: solid 1px black;
}

.border-right {
    border-right: solid 1px black;
}

.invoice-pending-list {
    height: 272px;
    overflow-x: hidden;
}

.invoice-navigation {
    float: left;
}

    .invoice-navigation input[type="text"] {
        width: 100px;
        text-align: center;
    }

.red-text {
    color: red;
}

.green-text {
    color: green;
}

.text-bold {
    font-weight: bold;
}

.selected {
    background-color: gray;
    color: white;
}

.div-upload-file {
    background-color: #fbfbfb;
    display: inline-block;
    right: 0;
    top: 0;
    width: 600px;
    position: absolute;
}

    .div-upload-file span {
        cursor: pointer;
    }

    .div-upload-file .span-icon {
        background-color: #428bca;
        padding: 3px 3px 5px 6px;
        color: white;
    }

    .div-upload-file .span-text {
        background: #fff none repeat scroll 0 0;
        border: 1px solid #ddd;
        border-right: 0 none;
        border-radius: 3px 0 0 3px;
        padding: 2px 3px 4px 3px;
    }

@font-face {
    font-family: 'FontAwesome';
    src: url('./fonts/fontawesome-webfont.eot?v=4.7.0');
    src: url('./fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('./fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('./fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('./fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

.fa {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fa-upload:before {
    content: "\f093";
}

.company {
    width: 640px;
    height: 365px;
}

.user-permission {
    width: 75%;
    height: 410px;
}

.change-password {
    width: 500px;
    height: 200px;
}

.cheque-form {
    height: 580px;
}

.tab span {
    border: solid 1px gray;
    /*border-top: 0px;*/
    width: 75px;
    display: grid;
    text-align: center;
    float: left;
    cursor: pointer;
    line-height: 30px;
    vertical-align: middle;
}

.bg-normal {
    background-color: lightgrey;
}

.bg-selected {
    background-color: lightgrey;
    border-bottom-color: green;
}

.column-border-all {
    border-top: solid 1px silver;
    border-right: solid 1px silver;
    border-bottom: solid 1px silver;
    border-left: solid 1px silver;
    float: left;
}

.column-border {
    border-top: solid 1px silver;
    border-right: solid 1px silver;
    border-bottom: solid 1px silver;
    float: left;
}

.calendar-container {
    width: 1100px;
    height: 530px;
    /*border: solid 1px black;*/
    background-color: #fff;
    margin: auto;
    margin-top: 30px !important;
    padding: 10px;
}

.calendar {
}



    .calendar .box {
        border-top: solid 1px silver;
        border-right: solid 1px silver;
        border-bottom: solid 1px silver;
        border-left: solid 1px silver;
        height: 70px;
        width: 79px;
        text-align: right;
        float: left;
        padding: 2px;
    }

.today {
    border: solid 1px gray;
    border-radius: 15px;
    width: 23px;
    height: 23px;
    text-align: center;
    float: right;
    background-color: orange;
}

.navigation-box {
    border: solid 1px darkgray;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    background-color: lightgray;
    cursor: pointer;
}

.add-box {
    float: right;
    width: 25px;
    height: 25px;
    border: solid 1px darkgray;
    text-align: center;
    line-height: 25px;
    border-radius: 50%;
    background-color: greenyellow;
    cursor: pointer;
}

.bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin: 1px;
    cursor: pointer;
}

.bullet-bucket {
    transform: rotate(180deg);
    text-align: right;
    bottom: 0;
    margin: 0;
    padding: 0;
    display: block;
    position: relative;
    height: 42px;
    width: 73px;
    overflow: hidden;
}

.disabled {
    color: lightgray;
}

.back-button {
    width: 24px;
    height: 24px;
    cursor: pointer;
}
.margin-top-8 {
    margin-top: 8px;
}
/* Mobile Responsive Styles - Add these to your Site.css */

/* Fix horizontal scroll bar issues */
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Responsive Navigation Menu Styles */
.navbar {
    position: relative;
    z-index: 1000;
}

.navbar-nav {
    margin: 0;
}

/* Hamburger Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 1001;
}

.hamburger-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.3s;
    position: relative;
}

    .hamburger-icon::before,
    .hamburger-icon::after {
        content: '';
        position: absolute;
        width: 25px;
        height: 3px;
        background-color: #333;
        transition: 0.3s;
    }

    .hamburger-icon::before {
        top: -8px;
    }

    .hamburger-icon::after {
        top: 8px;
    }

/* Hamburger animation when active */
.mobile-menu-toggle.active .hamburger-icon {
    background-color: transparent;
}

    .mobile-menu-toggle.active .hamburger-icon::before {
        transform: rotate(45deg) translate(5px, 6px);
        background-color: #fff;
    }

    .mobile-menu-toggle.active .hamburger-icon::after {
        transform: rotate(-45deg) translate(7px, -6px);
        background-color: #fff;
    }

/* Mobile overlay menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    transition: left 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .mobile-menu-overlay.active {
        left: 0;
    }

    .mobile-menu-overlay .navbar-nav {
        flex-direction: column;
        text-align: center;
    }

        .mobile-menu-overlay .navbar-nav > li {
            margin: 15px 0;
        }

            .mobile-menu-overlay .navbar-nav > li > a {
                color: white;
                font-size: 24px;
                text-decoration: none;
                padding: 15px 30px;
                display: block;
                transition: color 0.3s;
            }

                .mobile-menu-overlay .navbar-nav > li > a:hover {
                    color: #007bff;
                }

/* Base responsive adjustments */
@media (max-width: 768px) {
    /* Show hamburger menu on mobile */
    .mobile-menu-toggle {
        display: block;
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
    }

    /* Hide desktop navigation on mobile */
    .navbar .navbar-nav {
        display: none;
    }

    /* Navigation bar adjustments */
    nav, .navbar {
        height: 50px !important;
        min-height: 50px !important;
        margin: 0;
        border: none;
        position: relative;
    }

    .container-fluid {
        height: 50px;
        padding: 0 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Prevent horizontal scroll */
    .row {
        margin-left: 0;
        margin-right: 0;
    }

        .row > [class*="col-"] {
            padding-left: 5px;
            padding-right: 5px;
        }

    body {
        font-size: 14px !important;
        padding: 0;
        margin: 0;
    }

    /* Main layout adjustments */
    .main-view {
        width: 100%;
        margin: 0;
        padding: 5px;
        min-height: auto;
        overflow-x: hidden;
    }

    /* Fix horizontal scroll issues */
    body, html {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* Calendar container - make it flexible */
    .calendar-container {
        width: 100% !important;
        max-width: 100%;
        height: auto !important;
        margin: 10px 0 !important;
        padding: 5px;
        overflow-x: auto;
        box-sizing: border-box;
    }

        /* Three-column layout - stack vertically on mobile */
        .calendar-container .row {
            flex-direction: column;
        }

        .calendar-container .col-md-3,
        .calendar-container .col-md-6 {
            width: 100% !important;
            margin-bottom: 15px;
            padding: 0 5px;
        }

    /* Task lists - reduce height and improve scrolling */
    .list {
        height: 200px !important;
        border: 1px solid #969696;
        margin-bottom: 10px;
    }

    .list-item {
        padding: 8px 5px !important;
        min-height: 35px;
        height: auto !important;
        line-height: 1.4;
    }

        .list-item .col-lg-12 {
            font-size: 12px;
            word-wrap: break-word;
        }

    /* Enhanced Calendar Grid for Mobile */
    .calendar-days-header {
        display: flex;
        margin: 0;
    }

    .calendar-day-header {
        flex: 1;
        text-align: center;
        padding: 8px 2px;
        font-size: 11px;
        font-weight: bold;
        border: 1px solid silver;
        border-left: 0;
        background-color: #f5f5f5;
    }

        .calendar-day-header:first-child {
            border-left: 1px solid silver;
        }

    .calendar-grid {
        display: flex;
        flex-wrap: wrap;
    }

    .calendar .box {
        width: calc(100% / 7) !important;
        height: 45px !important;
        font-size: 10px;
        border-left: 0;
        flex: 0 0 calc(100% / 7);
        box-sizing: border-box;
    }

        .calendar .box:nth-child(7n+1) {
            border-left: 1px solid silver;
        }

    /* Task item improvements */
    .task-item-content {
        padding: 5px;
    }

    .task-name {
        font-weight: bold;
        font-size: 12px;
        margin-bottom: 2px;
    }

    .task-details {
        font-size: 10px;
        color: #666;
        line-height: 1.2;
    }

    /* Form improvements */
    .task-form-content {
        padding: 10px;
        border: 1px solid lightgray;
        margin: 0 5px;
    }

    .task-form-header {
        margin-bottom: 10px;
        padding: 8px 5px;
    }

    .task-form-footer {
        text-align: center;
        padding: 15px 5px;
        margin-top: 15px;
        border-top: 1px solid #ddd;
    }

        .task-form-footer .btn {
            margin: 5px;
            min-width: 80px;
        }

    /* Calendar header improvements */
    .calendar-header {
        margin-bottom: 10px;
        padding: 5px 0;
        align-items: center;
    }

    .month-display {
        font-size: 16px;
        line-height: 30px;
    }

    .refresh-icon {
        cursor: pointer;
        margin-right: 10px;
        font-size: 16px;
    }

    .prev-btn, .next-btn {
        display: inline-block;
        margin: 0 5px;
    }

    /* Panel improvements */
    .task-panel {
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 5px;
        overflow: hidden;
    }

    .calendar-panel {
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 5px;
        overflow: hidden;
        padding: 10px;
    }

    /* Fix button alignment */
    .text-right {
        text-align: right;
    }

    /* Ensure no horizontal overflow */
    .calendar-container-wrapper {
        overflow-x: hidden;
        width: 100%;
    }

    .calendar-row {
        margin: 0;
    }

    .task-column, .calendar-column {
        padding: 5px;
    }

    /* Navigation elements */
    .navigation-box {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 16px;
    }

    .add-box {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 18px;
    }

    /* Task form adjustments */
    .form-horizontal .form-group {
        margin-bottom: 10px;
    }

    .form-horizontal .col-md-2,
    .form-horizontal .col-md-10,
    .form-horizontal .col-md-5,
    .form-horizontal .col-md-4,
    .form-horizontal .col-md-6,
    .form-horizontal .col-md-1 {
        width: 100% !important;
        margin-bottom: 5px;
    }

    .form-horizontal input[type="text"],
    .form-horizontal input[type="datetime-local"],
    .form-horizontal input[type="number"],
    .form-horizontal select {
        width: 100% !important;
        max-width: 100%;
    }

    /* Button adjustments */
    .btn {
        padding: 8px 15px;
        margin: 5px 2px;
        font-size: 14px;
    }

    .item-footer .btn {
        float: none !important;
        display: inline-block;
        margin: 5px 2px;
    }

    .item-footer {
        text-align: center;
        padding: 10px;
    }

    /* Header adjustments */
    .column-header {
        font-size: 14px;
        padding: 8px;
        text-align: center;
    }

    /* Month navigation */
    #divMonth {
        font-size: 16px;
        font-weight: bold;
    }

    /* Back button */
    .back-button {
        width: 30px;
        height: 30px;
    }

    /* Footer adjustments */
    .footer {
        position: relative;
        margin-top: 20px;
        font-size: 12px;
        padding: 10px 0;
        height: auto;
        line-height: 1.4;
    }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .calendar-container {
        width: 95% !important;
        padding: 15px;
    }

    .calendar .box {
        width: calc(14.28% - 1px);
        height: 60px;
    }

    .list {
        height: 300px !important;
    }
}

/* Very small screens (phones in portrait) */
@media (max-width: 480px) {
    body {
        font-size: 12px !important;
    }

    .calendar-container {
        padding: 2px;
        margin: 5px 0 !important;
    }

    .calendar .box {
        height: 40px !important;
        font-size: 10px;
    }

    .list {
        height: 150px !important;
    }

    .list-item {
        min-height: 40px;
        padding: 5px !important;
    }

    .btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .column-header {
        font-size: 12px;
        padding: 5px;
    }

    .navigation-box,
    .add-box {
        width: 25px;
        height: 25px;
        line-height: 25px;
        font-size: 14px;
    }

    /* Ensure form elements don't overflow */
    .form-horizontal {
        padding: 5px;
    }

    /* Make bullet points more touch-friendly */
    .bullet {
        width: 16px;
        height: 16px;
        margin: 2px;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .calendar-container .col-md-3,
    .calendar-container .col-md-6 {
        margin-bottom: 10px;
    }

    .list {
        height: 180px !important;
    }

    .calendar .box {
        height: 45px !important;
    }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
    /* Increase touch target sizes */
    .list-item {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    }

    .navigation-box,
    .add-box,
    .back-button {
        -webkit-tap-highlight-color: rgba(0,0,0,0.2);
    }

    /* Improve text selection */
    .list-item,
    .calendar .box {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    /* Better focus states for accessibility */
    .btn:focus,
    input:focus,
    select:focus {
        outline: 2px solid #007bff;
        outline-offset: 2px;
    }
}

/* High DPI screen adjustments */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .back-button,
    .navigation-box,
    .add-box {
        border-width: 0.5px;
    }
}

/* Print styles (bonus) */
@media print {
    .calendar-container {
        width: 100% !important;
        height: auto !important;
        page-break-inside: avoid;
    }

    .navigation-box,
    .add-box,
    .btn {
        display: none;
    }

    .footer {
        position: relative;
    }
}
/* Responsive CSS for Report Gallery - Add to your Site.css */

/* Base responsive adjustments for the report gallery */
.card {
    width: 100% !important;
    max-width: 450px;
    margin: 10px auto;
    box-sizing: border-box;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    /* Card adjustments */
    .card {
        width: 95% !important;
        max-width: none;
        margin: 10px 5px;
        padding: 0 10px;
    }

    /* Report list adjustments */
    .list {
        height: 250px !important;
        overflow-y: auto;
        border: 1px solid #969696;
        background-color: #fff;
    }

    .list-item {
        padding: 10px 8px !important;
        border-bottom: 1px solid #ddd;
        font-size: 13px;
        line-height: 1.4;
        cursor: pointer;
        word-wrap: break-word;
    }

        .list-item:hover {
            background-color: #f0f0f0;
        }

        .list-item.selected {
            background-color: #007bff;
            color: white;
        }

        .list-item.text-bold {
            font-weight: bold;
        }

    /* Form section adjustments */
    .card-body {
        padding: 10px 0;
    }

    /* Form groups - stack vertically on mobile */
    .form-group {
        margin-bottom: 15px !important;
        clear: both;
        height: auto !important;
        overflow: hidden;
    }

        .form-group .col-md-12 {
            width: 100%;
            padding: 0;
        }

        /* Labels - full width on mobile */
        .form-group label.control-label {
            width: 100% !important;
            text-align: left !important;
            margin-bottom: 5px;
            font-weight: bold;
            display: block;
            float: none !important;
        }

        /* Form controls - full width on mobile */
        .form-group select,
        .form-group input[type="text"],
        .form-group input[type="search"] {
            width: 100% !important;
            max-width: 100% !important;
            display: block;
            margin-bottom: 5px;
            box-sizing: border-box;
        }

        /* Date picker inputs */
        .form-group .input-group {
            width: 100% !important;
            display: flex;
        }

            .form-group .input-group input {
                flex: 1;
            }

        .form-group .input-group-btn {
            width: auto;
        }

    /* Customer search dropdown adjustments */
    .dropdown-menu {
        position: absolute !important;
        z-index: 1000;
        width: 100% !important;
        max-height: 200px !important;
        overflow-y: auto;
        margin-top: 2px;
        border: 1px solid #ddd;
        border-radius: 4px;
        background-color: white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

        .dropdown-menu li {
            padding: 8px 12px !important;
            cursor: pointer;
            border-bottom: 1px solid #eee;
            font-size: 14px;
        }

            .dropdown-menu li:hover {
                background-color: #007bff !important;
                color: white !important;
            }

            .dropdown-menu li:last-child {
                border-bottom: none;
            }

    /* Checkbox styling */
    .form-group input[type="checkbox"] {
        width: auto !important;
        margin-top: 5px;
        transform: scale(1.2);
    }

    /* Multi-select adjustments */
    select[multiple="multiple"] {
        height: 120px !important;
        width: 100% !important;
    }

    /* Sort by section - side by side selects */
    .form-group#sortByGroup .col-md-12 {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .form-group#sortByGroup label {
        width: 100% !important;
        margin-bottom: 8px;
    }

    .form-group#sortByGroup select:first-of-type {
        width: 65% !important;
        margin-right: 5%;
    }

    .form-group#sortByGroup select:last-of-type {
        width: 30% !important;
    }

    /* Button section */
    .form-group div[style*="clear: both"] {
        text-align: center;
        padding: 15px 0;
        clear: both;
    }

    .btn {
        padding: 10px 20px;
        margin: 5px;
        font-size: 14px;
        min-width: 100px;
    }

    /* Settings container height adjustment */
    div[style*="height:150px"] {
        height: auto !important;
        padding: 10px !important;
    }

    /* Title adjustments */
    .title {
        font-size: 16px;
        padding: 8px;
        text-align: center;
    }

    /* Row adjustments to prevent horizontal scroll */
    .row {
        margin-left: 0;
        margin-right: 0;
    }

        .row > [class*="col-"] {
            padding-left: 0;
            padding-right: 0;
        }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .card {
        width: 90% !important;
        max-width: 500px;
    }

    .list {
        height: 280px !important;
    }

    .form-group {
        margin-bottom: 12px !important;
    }

        .form-group label.control-label.col-md-3 {
            width: 30% !important;
            text-align: right !important;
            padding-right: 15px;
        }

        .form-group .col-md-5,
        .form-group .col-md-9 {
            width: 70% !important;
        }

        .form-group select,
        .form-group input[type="text"],
        .form-group input[type="search"] {
            width: 90% !important;
        }
}

/* Very small screens (phones in portrait) */
@media (max-width: 480px) {
    .card {
        width: 98% !important;
        margin: 5px 1%;
        padding: 0 5px;
    }

    .list {
        height: 200px !important;
    }

    .list-item {
        padding: 8px 5px !important;
        font-size: 12px;
    }

    .title {
        font-size: 14px;
        padding: 6px;
    }

    .btn {
        padding: 8px 15px;
        font-size: 13px;
        min-width: 80px;
    }

    .form-group {
        margin-bottom: 12px !important;
    }

    .dropdown-menu {
        max-height: 150px !important;
    }

        .dropdown-menu li {
            padding: 6px 10px !important;
            font-size: 13px;
        }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .list {
        height: 180px !important;
    }

    .card {
        margin: 5px auto;
    }
}

/* High DPI adjustments */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .list-item {
        border-width: 0.5px;
    }

    .dropdown-menu {
        border-width: 0.5px;
    }
}

/* Focus and accessibility improvements */
@media (max-width: 768px) {
    .form-group select:focus,
    .form-group input:focus {
        outline: 2px solid #007bff;
        outline-offset: 2px;
    }

    .list-item:focus {
        outline: 2px solid #007bff;
        outline-offset: -2px;
    }

    .btn:focus {
        outline: 2px solid #007bff;
        outline-offset: 2px;
    }

    /* Improve touch targets */
    .list-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .dropdown-menu li {
        min-height: 40px;
        display: flex;
        align-items: center;
    }
}

/* Print styles */
@media print {
    .card {
        width: 100% !important;
        box-shadow: none;
        border: 1px solid #000;
    }

    .btn {
        display: none;
    }

    .dropdown-menu {
        display: none;
    }
}
/* Responsive CSS for Report Gallery - Add to your Site.css */

/* Base responsive adjustments for the report gallery */
.card {
    width: 100% !important;
    max-width: 450px;
    margin: 10px auto;
    box-sizing: border-box;
}

@media (min-width: 991px) {
    .card {
        max-width: 90% !important
    }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    /* Card adjustments */
    .card {
        width: 95% !important;
        max-width: none;
        margin: 10px 5px;
        padding: 0 10px;
    }

    /* Report list adjustments */
    .list {
        height: 250px !important;
        overflow-y: auto;
        border: 1px solid #969696;
        background-color: #fff;
    }

    .list-item {
        padding: 10px 8px !important;
        border-bottom: 1px solid #ddd;
        font-size: 13px;
        line-height: 1.4;
        cursor: pointer;
        word-wrap: break-word;
    }

        .list-item:hover {
            background-color: #f0f0f0;
        }

        .list-item.selected {
            background-color: #007bff;
            color: white;
        }

        .list-item.text-bold {
            font-weight: bold;
        }

    /* Form section adjustments */
    .card-body {
        padding: 10px 0;
    }

    /* Form groups - stack vertically on mobile */
    .form-group {
        margin-bottom: 15px !important;
        clear: both;
        height: auto !important;
        overflow: hidden;
    }

        .form-group .col-md-12 {
            width: 100%;
            padding: 0;
        }

        /* Labels - full width on mobile */
        .form-group label.control-label {
            width: 100% !important;
            text-align: left !important;
            margin-bottom: 5px;
            font-weight: bold;
            display: block;
            float: none !important;
        }

        /* Form controls - full width on mobile */
        .form-group select,
        .form-group input[type="text"],
        .form-group input[type="search"] {
            width: 100% !important;
            max-width: 100% !important;
            display: block;
            margin-bottom: 5px;
            box-sizing: border-box;
        }

        /* Date picker inputs */
        .form-group .input-group {
            width: 100% !important;
            display: flex;
        }

            .form-group .input-group input {
                flex: 1;
            }

        .form-group .input-group-btn {
            width: auto;
        }

    /* Customer search dropdown adjustments */
    .dropdown-menu {
        position: absolute !important;
        z-index: 1000;
        width: 100% !important;
        max-height: 200px !important;
        overflow-y: auto;
        margin-top: 2px;
        border: 1px solid #ddd;
        border-radius: 4px;
        background-color: white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

        .dropdown-menu li {
            padding: 8px 12px !important;
            cursor: pointer;
            border-bottom: 1px solid #eee;
            font-size: 14px;
        }

            .dropdown-menu li:hover {
                background-color: #007bff !important;
                color: white !important;
            }

            .dropdown-menu li:last-child {
                border-bottom: none;
            }

    /* Checkbox styling */
    .form-group input[type="checkbox"] {
        width: auto !important;
        margin-top: 5px;
        transform: scale(1.2);
    }

    /* Multi-select adjustments */
    select[multiple="multiple"] {
        height: 120px !important;
        width: 100% !important;
    }

    /* Sort by section - side by side selects */
    .form-group#sortByGroup .col-md-12 {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .form-group#sortByGroup label {
        width: 100% !important;
        margin-bottom: 8px;
    }

    .form-group#sortByGroup select:first-of-type {
        width: 65% !important;
        margin-right: 5%;
    }

    .form-group#sortByGroup select:last-of-type {
        width: 30% !important;
    }

    /* Button section */
    .form-group div[style*="clear: both"] {
        text-align: center;
        padding: 15px 0;
        clear: both;
    }

    .btn {
        padding: 10px 20px;
        margin: 5px;
        font-size: 14px;
        min-width: 100px;
    }

    /* Settings container height adjustment */
    div[style*="height:150px"] {
        height: auto !important;
        padding: 10px !important;
    }

    /* Title adjustments */
    .title {
        font-size: 16px;
        padding: 8px;
        text-align: center;
    }

    /* Row adjustments to prevent horizontal scroll */
    .row {
        margin-left: 0;
        margin-right: 0;
    }

        .row > [class*="col-"] {
            padding-left: 0;
            padding-right: 0;
        }
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .card {
        width: 90% !important;
        max-width: 500px;
    }

    .list {
        height: 280px !important;
    }

    .form-group {
        margin-bottom: 12px !important;
    }

        .form-group label.control-label.col-md-3 {
            width: 30% !important;
            text-align: right !important;
            padding-right: 15px;
        }

        .form-group .col-md-5,
        .form-group .col-md-9 {
            width: 70% !important;
        }

        .form-group select,
        .form-group input[type="text"],
        .form-group input[type="search"] {
            width: 90% !important;
        }
}

/* Very small screens (phones in portrait) */
@media (max-width: 480px) {
    .card {
        width: 98% !important;
        margin: 5px 1%;
        padding: 0 5px;
    }

    .list {
        height: 200px !important;
    }

    .list-item {
        padding: 8px 5px !important;
        font-size: 12px;
    }

    .title {
        font-size: 14px;
        padding: 6px;
    }

    .btn {
        padding: 8px 15px;
        font-size: 13px;
        min-width: 80px;
    }

    .form-group {
        margin-bottom: 12px !important;
    }

    .dropdown-menu {
        max-height: 150px !important;
    }

        .dropdown-menu li {
            padding: 6px 10px !important;
            font-size: 13px;
        }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .list {
        height: 180px !important;
    }

    .card {
        margin: 5px auto;
    }
}

/* High DPI adjustments */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .list-item {
        border-width: 0.5px;
    }

    .dropdown-menu {
        border-width: 0.5px;
    }
}

/* Focus and accessibility improvements */
@media (max-width: 768px) {
    .form-group select:focus,
    .form-group input:focus {
        outline: 2px solid #007bff;
        outline-offset: 2px;
    }

    .list-item:focus {
        outline: 2px solid #007bff;
        outline-offset: -2px;
    }

    .btn:focus {
        outline: 2px solid #007bff;
        outline-offset: 2px;
    }

    /* Improve touch targets */
    .list-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .dropdown-menu li {
        min-height: 40px;
        display: flex;
        align-items: center;
    }
}

/* Print styles */
@media print {
    .card {
        width: 100% !important;
        box-shadow: none;
        border: 1px solid #000;
    }

    .btn {
        display: none;
    }

    .dropdown-menu {
        display: none;
    }
}
