﻿.validation {
    color: #FF0000;
    font-weight: bold;
    font-size: medium;
}

.nav-tabs > .active > a, .nav-tabs > .active > a:hover, .nav-tabs > .active > a:focus {
    color: #555;
    cursor: default;
    background-color: #b3f0ff;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
}


.text-center small {
    white-space: nowrap; /* Ensures text doesn't wrap */
}

.nav-bar {
    display: flex;
    background-color: #f0f0f0;
    list-style-type: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0;
    margin: 0;
    width: 100%;
    border: none;
}

    .nav-bar li {
        flex: 0 0 auto;
        text-align: center;
        margin: 0;
        box-sizing: border-box;
        border: 1px solid transparent;
    }

    .nav-bar::-webkit-scrollbar {
        display: none;
    }

    .nav-bar li a {
        display: block;
        color: #000;
        text-align: center;
        padding: 12px 5px;
        text-decoration: none;
        font-size: 12px;
        width: 132px;
        border-right: 1px solid lightgrey;
        height: 30px;
        background-color: #f0f0f0;
    }

        .nav-bar li a:hover {
            background-color: #41BEDD;
            color: white;
        }

    .nav-bar li.active a {
        background-color: #41BEDD;
        border-color: #41BEDD; /* Match the border color to the background */
        color: white;
    }

@media (max-width: 768px) {
    .nav-bar {
        flex-direction: row;
    }

        .nav-bar li {
            min-width: 150px;
        }

            .nav-bar li a {
                padding: 10px 12px;
            }
}

small {
    display: block;
    text-align: center; /* Optional: centers the text under the image */
}

.small-text {
    font-size: 8px;
    white-space: nowrap;
}

.btn-group {
    position: relative;
    display: inline-block;
    font-size: 14px; /* Ensure it's readable */
    white-space: nowrap;
    vertical-align: middle;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none; /* Default behavior: Hidden */
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, .15);
}

.btn-group.open .dropdown-menu {
    display: block; /* Show on click */
}
    .btn-group.open .dropdown-menu li :hover {
        background-color: #41BEDD;
        color: white;
    }

.dropdown .dropdown-menu li :hover {
    background-color: #41BEDD;
    color: white;
}
.no-background {
    background-color: transparent !important; /* Removes background */
    border: none !important; /* Removes border if any */
    box-shadow: none !important; /* Removes box-shadow if applied */
}

.divPaddingTopBottom {
    padding-top: 15px;
    padding-bottom: 15px;
}

.button-padding-top-bottom {
    padding-top: 5px;
    padding-bottom: 5px;
}

@media only screen and (max-width: 480px) {
    [class*='mobileView'] {
        display: none !important;
    }
}

@media only screen and (max-width: 480px) {
    [class*='mobileViewAlignmnet'] {
        width: 100%;
    }
}

@media only screen and (max-width: 480px) {
    [class*='leftPadding'] {
        padding-left: 1px !important;
    }
}

.dropdown-full-width {
    width: auto; /* Default behavior */
}

@media (max-width: 768px) {
    .dropdown-full-width {
        width: 400px; /* Full width on mobile screens */
    }
}

@media only screen and (max-width: 480px) {
    [class*='topPadding'] {
        padding-top: 10px !important;
    }
}

.padding-top-bottom {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 40px;
}

.dropdownPadding {
    padding-bottom: 10px;
}

.dropdown-width {
    width: 100%;
}

.textbox-width {
    width: 97%;
}

.span-padding-left {
    padding-left: 3%;
}


.required-style {
    Color: Red;
    Font-Size: Small;
}

.required-style-large {
    Color: Red;
    Font-Size: large;
}

.display-none {
    display: none
}


.button-width {
    width: 92% !important;
}

.table-width {
    width: 90% !important;
}

.image-size {
    Height: 30px;
    Width: 30px;
    align-items: center !important;
}

.widget-title h5 {
    color: white;
    float: left;
    font-size: 12px;
    font-weight: bold;
    padding: 12px;
    line-height: 12px;
    margin: 0;
}

.date-width {
    width: 87% !important;
}

.search-button {
    width: 100% !important;
}

.search-box-width {
    width: 96% !important;
}

.button-width-1 {
    width: 93% !important;
}

.dashboard-button-group {
    text-align: right;
    width: 99% !important;
}

.button-width-2 {
    width: 99% !important;
}

.card0 {
    box-shadow: 0px 4px 8px 0px #757575;
    border-radius: 0px
}

.card2 {
    margin: 0px 40px
}

.logo {
    width: 150px;
    height: 50px;
    margin-top: 20px;
    margin-left: 35px
}

.image {
    width: 360px;
    height: 280px
}

.border-line {
    border-right: 1px solid #EEEEEE
}

.label-design {
    color: red;
    font-size: small;
}

.text-sm {
    font-size: 14px !important
}

:-ms-input-placeholder {
    color: #BDBDBD;
    font-weight: 300
}

a {
    color: inherit;
    cursor: pointer
}

button:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    outline-width: 0
}

.btn-blue {
    background-color: #1A237E;
    width: 150px;
    color: #fff;
    border-radius: 2px
}

.bg-blue {
    color: #fff;
    background-color: #1A237E
}

.btn-blue:hover {
    background-color: #000;
    cursor: pointer
}

.bg-blue {
    color: #fff;
    background-color: #1A237E
}


@media screen and (max-width: 991px) {
    .logo {
        margin-left: 0px
    }

    .image {
        width: 300px;
        height: 220px
    }

    .card2 {
        border-top: 1px solid #EEEEEE !important;
        margin: 0px 15px
    }
}

.print-photo {
    border-style: outset;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.print-photo-1 {
    padding-left: 10px;
    padding-top: 10px
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

.align-left {
    text-align: left;
}

.textbox60-width {
    width: 60%;
}

.textbox30-width {
    width: 30%;
    padding-bottom: 10px;
}

.button-design {
    width: 30px;
    height: 25px;
}

.visibility-hidden {
    visibility: hidden
}

.button2-design {
    width: 130px;
    height: 35px
}

.padding-left-20 {
    padding-left: 20px;
}

.div_fixed {
    position: sticky !important;
    top: 0;
}

.div-width {
    width: 80%;
}

.search-table-width {
    width: 47%;
}

.invoice-textbox-width {
    width: 70%;
}

.width-85 {
    width: 85%;
}

.padding-top-10 {
    padding-top: 10px;
}

.label-heading {
    font-weight: bold;
    text-align: center
}

.width-95 {
    width: 95%;
}

.width-98 {
    width: 98%;
}
#header {
    /* Ensures header is above other elements */
    display: flex;
    position: relative;
    z-index: 1000;
    text-align:center;
    margin-top: 0; /* Ensures no margin on top */
}

    #header img {
        height: 50px; /* Adjust as needed */
        margin-right: 10px; /* Adds space between the image and text */
    }

    #header h1 {
        margin: 0;
        padding-top: 5px;
        font-size: 24px; /* Adjust as needed */
        color: white;
        display: inline-block;
    }
@media (max-width: 768px) {
    #header {
        flex-direction: column; /* Stack items vertically */
        text-align: center; /* Centers text alignment */
    }

        #header img {
            margin-right: 0; /* Removes right margin */
            margin-bottom: 5px; /* Adds space below the logo */
        }
}

#header a {
    text-decoration: none;
    color: #fff; /* Ensure text color is white */
}
    #header a[title="Help"] {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        color: #fff;
        z-index: 1001; /* Ensure icon is above other elements */
    }


        /* Make the help icon clickable with enough area */
        #header a[title="Help"]:hover {
            cursor: pointer;
        }
@media (max-width: 480px) {
    #user-nav > ul {
        right: 0;
        margin-left: 20% !important;
        margin-top: 0;
        width: 100%;
        background: transparent;
        position: relative;
    }
}
.main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Full viewport height */
    margin: 0;
    padding: 0;
}

body {
    background-color: #f5f5f5;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%; /* Ensure they occupy full height */
}

#footer {
    margin-top: auto; /* Aligns footer at the bottom of .main-container */
    padding: 10px 20px;
    background-color: #2c3e50;
    color: #ffffff;
}
@media (min-width: 769px) {
    #footer {
        margin-top: auto;
        position: relative; /* Ensures footer is at the bottom of content */
        bottom: 0;
    }
}
.page-one #content-header,
.page-one #content {
    margin: 0;
    padding: 10px;
}
/* Mobile View */
@media (max-width: 768px) {
    .main-container {
        flex: 1 0 auto;
    }

    #content-header, #content {
        margin: 0;
        padding: 10px; /* Reduces padding for mobile */
    }

    #footer {
        position: fixed;
        bottom: 0;
        width: 100%;
        margin: 0;
    }
}

.padding-top-10 {
    padding-top: 10px;
}

.widget-box {
    margin-top: 25px;
}
.full-page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    height: auto;
}

.form-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .form-container {
        padding: 10px;
    }
}

.form-container .row {
    margin: 0;
}

.form-container strong {
    margin-right: 10px;
}

.form-container .form-control {
    border-radius: 5px;
    height: 35px;
}

.form-container a {
    display: block;
}

.form-container .btn {
    width: 100%;
}
.btn-color {
    background-color: #49CCED;
    color: white;
}
.btn-color:hover {
    background-color: #49CCED;
    color: white;
}

.main_input_box {
    display: flex;
    align-items: center;
    /*border: 1px solid #ccc;*/
    border-radius: 4px;
    padding: 5px;
    //background-color: #f9f9f9; /* Optional: gives a subtle background */
}

.btn-inverse:hover {
    background-color: #363636;
    color: white;
}

.add-on {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    background-color: #eee; /* Optional: background for the icon area */
    border-right: 1px solid #ccc;
}

.form-control {
    border: none;
    flex: 1;
    padding: 8px;
    margin-top: 4px;
    font-size: 14px;
}

    .form-control:focus {
        outline: none;
        box-shadow: none;
    }
