﻿html, body {
    margin: 0;
    padding: 0;
}




#globalLoaderOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(0, 0, 0, 0.3);*/ /* semi-transparent overlay */
    z-index: 9999;
}

#loaderContent {
    padding:20px;
    background-color:#000000;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    border-radius:7px;
}

#loaderGif {
    width: 80px;
    display: block;
    margin: 0 auto;
}

#loaderPercent {
    margin-top: 10px;
    font-size: 14px;
    color: #ffd800;
    font-weight: bold;
}




#navmain {
    background-color: #2d2d30;
}

#navsecond {
    background-color: #efefef;
}

.navbar {
    margin-bottom: 0;
    border-bottom: 1px solid #000000;
}

/* MAIN NAVBAR */
.navbar-fixed-top {
    z-index: 1030;
}

.navbar-brand img {
    max-height: 25px;
    margin: 0;
    padding: 0;
    width: auto;
}

/* CONTENT */
.content-wrapper {
    padding: 0;
}

/* Make the toggle button smaller */
.navbar-toggle {
    width: 80px;
    margin-top: 13px;
    padding: 2px 5px; /* default is 9px 10px */
    /*min-height: 30px;*/ /* default is 50px */
    /*border: solid 1px #ffd800;*/
    border-radius: 4px; /* optional */
    opacity: 0.8;
}

    /* Make the bars smaller too */
    .navbar-toggle .icon-bar {
        height: 2px; /* default is 3px */
    }

        /* Optional: reduce spacing between bars */
        .navbar-toggle .icon-bar + .icon-bar {
            margin-top: 3px; /* default is 4px */
        }


.view-navbar {
    margin: 0; /* Remove Bootstrap’s default 20px bottom margin */
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding-top: 0;
    padding-bottom: 0;
}

.form-group {
    margin: 0 10px 0 0;
    /*background-color: red;*/
}

/* Remove borders and background on the collapsible section of secondary navbar */
.view-navbar .navbar-collapse {
    border: none;
    box-shadow: none;
    /*background-color: transparent;*/ /* or match your navbar background */
    margin: 0;
    padding: 0;
}

    .view-navbar .navbar-collapse .navbar-form {
        margin: 0;
        padding: 10px 0 10px 0; /* adjust as needed */
    }

/* Target text input fields inside .has-error */
.has-error .form-control {
    /*border-color: #ffc8c8;*/ /* your custom border color */
    background-color: #fee9e9; /* optional, subtle highlight */
    /*box-shadow: 0 0 5px rgba(255, 136, 0, 0.5);*/ /* optional glow */
}

/* Optional: change label color as well */
.has-error label {
    /*color: #ff0000;*/
}

/* error message styling */
.field-error {
    color: #c9302c; /* bootstrap danger-ish */
    font-size: 10px;
    margin: 3px 0 0 0;
    display: block;
}

/* =========================================================
   GLOBAL SMALL FORM CONTROLS for Bootstrap 3.3.6
   Makes all inputs, selects, buttons, checkboxes, radios, etc. smaller
   ========================================================= */

.form-control {
    height: 28px !important;
    padding: 3px 6px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    border-radius: 3px !important;
}

/* Buttons */
.btn {
    height: 28px;
    padding: 3px 8px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    border-radius: 3px !important;
}

/* Checkboxes and radios */
input[type="checkbox"],
input[type="radio"] {
    transform: scale(0.85); /* Shrink the box/circle */
    margin-top: 2px;
    margin-right: 4px;
}

/* Labels for checkboxes and radios */
.checkbox label,
.radio label,
label {
    font-size: 12px;
    line-height: 1.2;
}

/* Inline checkboxes/radios */
.checkbox-inline,
.radio-inline {
    font-size: 12px;
    line-height: 1.2;
}

/* Date/time pickers */
input[type="date"],
input[type="datetime-local"],
input[type="time"] {
    height: 28px !important;
    font-size: 12px;
    padding: 3px 6px;
}

/* Selects */
select.form-control {
    height: 28px !important;
    font-size: 12px !important;
    padding: 3px 6px !important;
    line-height: 1.4 !important;
}

/* FOOTER */
footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #f5f5f5;
    border-top: 1px solid #ddd;
    text-align: center;
    padding: 10px 0;
    z-index: 1010;
}


/*.table-container {
    margin:0;
    padding:0;
    top: 0px;
    height: 80vh;
    max-height: 100%;
    overflow-y: auto;
    position: relative;
}

.table thead th {
    position: sticky;
    top: 0;
    padding-top:10px;
    background-color: #efefef;
    z-index: 2;
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}*/



/*.tblUsers th.sorted-asc::after {
    content: " ▲";
}

.tblUsers th.sorted-desc::after {
    content: " ▼";
}

.tblUsers th[data-column] {
    cursor: pointer; /* shows hand pointer */
}*/

/*#userTable th.sorted-asc::after {
    content: " ▲";
}

#userTable th.sorted-desc::after {
    content: " ▼";
}

#userTable th[data-column] {
    cursor: pointer; /* shows hand pointer */
}*/

