﻿

.form-signin {
    max-width: 330px;
    padding: 15px;
    margin: auto;
    border-radius: 10px
}

.container-center {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

input {
    max-width:inherit;
}

.form-control {
    width:100%;
    border-radius:0px;
    max-width:inherit;
}

.top1 {
    margin-top:5px;
}
.top2 {
    margin-top:10px;
}
.top3 {
    margin-top:15px;
}
.top4 {
    margin-top:20px;
}
.top5 {
    margin-top:25px;
}
.top6 {
    margin-top:30px;
}
.topradiochk {
    margin-top:29px;
}

btn,
.btn-sm,
.btn-lg,
.btn-primary,
.btn-warning,
.btn-success,
.btn-danger,
.btn-info {
    border-radius: 0;
    letter-spacing: 0.2px;
    position: relative;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}


/* Lift + depth on hover */
.btn:hover,
.btn:focus {
    box-shadow: 0 2px 0 rgba(0,0,0,0.2), 0 4px 10px rgba(0,0,0,0.22);
    transform: translateY(0);
}

/* Active: pressed */
.btn:active,
.btn.active {
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
    transform: translateY(1px);
}

/* Subtle inner highlight */
.btn:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( rgba(255,255,255,0.18), rgba(255,255,255,0) );
    opacity: 0.4;
    pointer-events: none;
}

/* Prevent glow on disabled */
.btn.disabled,
.btn[disabled] {
    box-shadow: none;
    transform: none;
    opacity: 0.75;
}

.glyphicon {
    margin-right:8px;
}

.alert {
    width:inherit;
}

img.breadcrumb {
    margin-left:10px;
    margin-right:10px;
    background-color:transparent;
    margin-top:0px;
    margin-bottom:0px;
    padding:0px;
    content:url("../Images/Shared/breadcrumb-arrow.png");
}

.bold {
    font-weight:bold;
}
.footer-text 
{
    text-align:center;
}

textarea {
    resize: vertical; /* Allow resizing both vertically and horizontally */
    overflow: auto; /* Add scrollbars if content overflows */
    min-width: 150px; /* Set a minimum width */
    min-height: 50px; /* Set a minimum height */
}

h4 {
    margin-bottom:5px;
}

.btn-warning .badge {
  color: #f0ad4e;
  background-color: #fff;
}

.modal-xl {
    margin:10px;
    position:relative;
    width:auto;
}

.pre-scrollable-y {
    overflow-x:hidden;
}

.pre-scrollable-x {
    overflow-y:hidden;
}


.list-group-sort{
    border-radius: 0px;
}
.list-group-sort li {
    margin:5px;
    border-radius: 0px;
}
.list-group-sort .list-group-item:first-child {
  border-top-right-radius: 0px !important;
  border-top-left-radius: 0px !important;
}

.list-group-sort .list-group-item:last-child {
  border-bottom-right-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
}

.list-group-item.warning, 
.list-group-item.warning:hover, 
.list-group-item.warning:focus {
      color: #ffffff;
      background-color: #f0ad4e;
      border-color: #f0ad4e;
}

.list-group-item.success, 
.list-group-item.success:hover, 
.list-group-item.success:focus {
      color: #ffffff;
      background-color: #5cb85c;
      border-color: #5cb85c;
}
.list-group-item.info, 
.list-group-item.info:hover, 
.list-group-item.info:focus {
      color: #ffffff;
      background-color: #5bc0de;
      border-color: #5bc0de;
}
.list-group-item.danger, 
.list-group-item.danger:hover, 
.list-group-item.danger:focus {
      color: #ffffff;
      background-color: #d9534f;
      border-color: #d9534f;
}

td.block {
    white-space:nowrap;
    width:1%
}

a.logo {
    /*background: url(../Images/logo.png) no-repeat top left;*/
    content:"RAMS";
     display: block;
     width: 252px;
     height: auto;
     text-indent: -9999px; /* hides the link text */
}


.logoCompany {
    background: url(../Images/Icon/Company.png) no-repeat top left;
    resize:both;
    width:100%;
    height:100%;
}
 .modal { 
     /*
         Scroll and focus issue with multiple modals open.
         https://github.com/nakupanda/bootstrap3-dialog/issues/70
     */
     overflow: auto !important;
 }
.no-record
{
    color:#C4C4C4;
}

.ui-autocomplete {
    position: absolute;
    z-index: 1000;
    cursor: default;
    padding: 0;
    margin-top: 2px;
    list-style: none;
    background-color: #ffffff;
    border: 1px solid #ccc;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
       -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
             max-height: 300px;
    overflow-y: auto;   /* prevent horizontal scrollbar */
    overflow-x: hidden; /* add padding to account for vertical scrollbar */
}
.ui-autocomplete > li {
  padding: 3px 20px;
}
.ui-autocomplete > li.ui-state-focus {
  background-color: #DDD;
}
.ui-helper-hidden-accessible {
  display: none;
}



.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1100;
    float: left;
    display: none;
    min-width: 160px;
    _width: 160px;
    padding: 4px 0;
    margin: 2px 0 0 0;
    list-style: none;
    background-color: #ffffff;
    border-color: #ccc;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    *border-right-width: 2px;
    *border-bottom-width: 2px;
    background-image:none;
}
.ui-menu-item
{
    font-family:"Helvetica Neue", Helvetica, Arial, sans-serif !important ;
    font-weight:normal !important;
    font-size:inherit !important;
}
.ui-menu-item > a.ui-corner-all {
    display: block;
    font-weight:normal;
    border-radius: 0px !important;
    padding: 3px 15px !important;
    clear: both !important;
    font-weight: normal;
    line-height: 18px;
    color: #555555;
    white-space: nowrap;
}
.ui-state-hover, .ui-state-focus, .ui-state-active {
    font-family:"Helvetica Neue", Helvetica, Arial, sans-serif !important ;
    font-weight:normal !important;
    font-size:inherit !important;
    color: #ffffff !important;
    text-decoration: none !important;
    background-color: #0088cc !important;
    background-image: none !important;
    border:1px solid #2e6da4 !important;
}
.qq-thumbnail-selector
{
    cursor: pointer;
}

.navbar-quicksearch {
    float: left; /* key fix */
    height: 50px;
    padding: 15px 20px 15px 5px;
    font-size: 16px;
    line-height: 20px;
    color: #fff;
    cursor: pointer;
}

.navbar-inverse {
    background: linear-gradient( 135deg, #5B3FD6 0%, #357EA8 100% );
    box-shadow: 0 2px 14px rgba(0,0,0,0.45);
    border-color:transparent;
}
.navbar-inverse .navbar-nav > li > a {
    /*color:white;*/
    color: #ffffff;
    font-weight: 500;
    padding: 15px 15px;
    transition: all 0.25s ease;
    border-radius: 0 !important; 
}

.navbar-inverse .navbar-nav > li > a:hover {
    background: rgba(255,255,255,0.18);
    border-radius: 6px;
}

.navbar-brand {
    color: white !important;
}

.navbar-brand:hover {
    color: white !important;
    background-color: #3c82c3 !important;
}


@media (min-width: 1200px)
{
    .container {
        width: 100%;
    }
}
@media (min-width: 992px)
{
    .container {
        width: 100%;
    }
}
@media (min-width: 768px)
{
    .container {
        width: 100%;
    }
}

.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus {
    color: #fff;
    background-color: #245389;
}

/* Menu Item */
.navbar-inverse .dropdown-menu > li > a {
    background-color: transparent !important;
}


    .dropdown-menu {
        background: linear-gradient(180deg, #1e1e1e 0%, #161616 100%);
        padding: 0px 0;
        border: none;
        border-radius: 8px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.45);
        transition: all 0.2s ease;
    }

    .dropdown-menu > li > a {
        position: relative;
        padding: 10px 20px 10px 24px;
        color: #e6e6e6;
        font-size: 14px;
        font-weight: 500;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        transition: all 0.2s ease;
    }

    .dropdown-menu > li > a:hover,
    .dropdown-menu > li > a:focus,
    .dropdown-menu > li > a:active {
        background: linear-gradient(90deg, rgba(123,92,255,0.30), rgba(79,163,209,0.30)) !important;
        color: #ffffff !important;
        padding-left: 30px;
    }

    .dropdown-menu > li > a:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 3px;
        height: 100%;
        background: linear-gradient(180deg, #7B5CFF, #4FA3D1);
        opacity: 0;
        transition: opacity 0.2s ease;
        color: #ffffff !important;
    }

    .dropdown-menu > li > a:hover:before,
    .dropdown-menu > li > a:focus:before {
        opacity: 1;
    }
/* End Menu Item */

/*Samuel: To Set Min Menu Collapse Breakpoint*/
@media (max-width: 1100px) {
    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);    
        margin-right: -15px !important;
        margin-left: -15px !important;
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        width:100%;
        margin-top: 7.5px;
    }
    .navbar-nav>li {
        float: none;
    }
    .navbar-nav > li > a {
        padding-top:15px;
        padding-bottom:15px;
    }
    .collapse.in{
        display:block !important;
    }
}

@media (max-width: 767px) {
   .navbar-nav
   {
       width:auto !important;
   } 
    .dropdown-menu > li > a
    {
        border-bottom:1px solid #2e2e2e !important;
        padding:10px 15px !important;
    }
}

.bottom2{
    margin-bottom:10px;
    display:inline-block;
    width:100%;
}


/*Site.css*/

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/*table formatting */
.no-record::before
{
      content:"No record found!";
}
.no-record
{
    text-align:center;
    color:#949596;
  
}
.failed-to-load::before{
  content:"Failed to load record! Please refresh and try again.";
}
.failed-to-load
{
    text-align:center;
    color:#ff0000;
    font-size:larger;
    font-weight:bold;
  
}

#loading-indicator {
  /*position: absolute;
  left: 10px;
  top: 10px;*/
     
      /* border: 1px solid #000000;*/
       /*some magic to align the element in the center;
       width:        1000px;
       margin-left:  -500px;/* half of the width */
}
#div-loading-indicator{
    position:fixed;
    width:100%;
    top:10px;
    margin: 0 auto;
    background-color:Transparent;
    z-index: 10000 !important;
}

.not-active {
   pointer-events: none;
   cursor: default;
}
.front-banner
{
    margin:10px;
}
.main-category
{
    background-color:#e3e3e3;
}
.container-top-margin
{
    margin-top:80px;
    padding-top:80px;
}

.form-change-password{
    width:400px
}

.col-centered{
    float: none !important;
    margin: 0 auto;
}
/* http://stackoverflow.com/questions/19741145/bootstrap-navbar-fixed-top-covers-content */
#godown{
   height: 60px;
}

.bs-callout {
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
}
.bs-callout-primary {
    border-left-color: #337ab7;
}
.bs-callout-success {
    border-left-color: #5cb85c;
}
.bs-callout-info {
    border-left-color: #5bc0de;
}
.bs-callout-danger {
    border-left-color: #f0ad4e;
}
.bs-callout-warning {
    border-left-color: #d9534f;
}
.bs-callout h4 {
    margin-top: 0;
    margin-bottom: 5px;
}

.datepicker-days, .datepicker-months, .datepicker-years
{
    background-color:white;
    border:1px;
}

.datepicker-dropdown
{
    background-color:white !important;
}

.datepicker
{
    padding:0px !important;
}

.margin-reset{
    margin:0px !important;
}
.margin-reset-bottom {
    margin-bottom: 0px !important;
}

.divider
{
    margin:0px !important;
    height: 3px !important;
    background-color:#2e2e2e !important;
}

/*Dropdown List Start*/
.just-padding {
    padding: 15px;
}

.list-group.list-group-root {
    padding: 0;
    overflow: hidden;
}

.list-group.list-group-root .list-group {
    margin-bottom: 0;
}

.list-group.list-group-root .list-group-item {
    border-radius: 0;
    border-width: 1px 0 0 0;
}

.list-group.list-group-root > .list-group-item:first-child {
    border-top-width: 0;
}

.list-group.list-group-root > .list-group > .list-group-item {
    padding-left: 30px;
}

.list-group.list-group-root > .list-group > .list-group > .list-group-item {
    padding-left: 45px;
}
.list-group.list-group-root > .list-group > .list-group > .list-group >  .list-group-item {
    padding-left: 60px;
}

.list-group-item .glyphicon {
    margin-right: 5px;
}
/*Dropdown List End*/

.no-white-space
{
    white-space:nowrap;
}
.set-white-space
{
    white-space:pre-wrap;
}

#fine-uploader-manual-trigger .qq-upload-button {
    margin-right: 15px;
}

#fine-uploader-manual-trigger .buttons {
    width: 36%;
}

#fine-uploader-manual-trigger .qq-uploader .qq-total-progress-bar-container {
    width: 60%;
}
        
.qq-upload-thumb{
    max-width: 120px !important;
    display: inline-block !important;
}


/* ===== Modern Enterprise Pagination ===== */

.pagination {
    margin: 10px 0;
    display: inline-flex;
    gap: 4px;
    font-size: 13px;
}

    /* Page item */
    .pagination > li > a,
    .pagination > li > span {
        min-width: 34px;
        height: 32px;
        line-height: 30px;
        padding: 0 10px;
        text-align: center;
        color: #245389;
        background: #ffffff;
        border: 1px solid #d6dceb;
        transition: all 0.15s ease;
    }

        /* Hover */
        .pagination > li > a:hover {
            background: #f2f6fc;
            border-color: #245389;
            color: #245389;
        }

    /* Active page */
    .pagination > .active > a,
    .pagination > .active > span {
        background: linear-gradient(180deg, #3c82c3, #245389);
        border-color: #245389;
        color: #ffffff;
        font-weight: 600;
    }

    /* Disabled */
    .pagination > .disabled > span,
    .pagination > .disabled > span:hover {
        background: #f5f7fb;
        color: #9aa7bf;
        border-color: #e1e6f0;
        cursor: not-allowed;
    }

    /* First / last buttons (optional emphasis) */
    .pagination > li:first-child > a,
    .pagination > li:last-child > a {
        font-weight: 600;
    }

/* ===== Modern Enterprise Table ===== */

#main-table {
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13.5px;
}

    /* Header */
    #main-table thead th {
        background: linear-gradient(180deg, #f5f7fb, #e9edf5);
        color: #245389;
        font-weight: 600;
        border-bottom: 2px solid #d6dceb;
        padding: 10px 12px;
        white-space: nowrap;
    }

        /* Sorting indicator spacing */
        #main-table thead th .caret {
            margin-left: 6px;
        }

    /* Rows */
    #main-table tbody tr {
        transition: background-color 0.15s ease;
    }

        #main-table tbody tr:hover {
            background-color: #f2f6fc;
        }

    /* Cells */
    #main-table tbody td {
        contentPager padding: 10px 12px;
        vertical-align: middle;
        border-top: 1px solid #eceff5;
        color: #333;
        white-space: nowrap;
    }

    /* Striped refinement */
    #main-table.table-striped > tbody > tr:nth-of-type(odd) {
        background-color: #fafbfe;
    }

    /* Status text polish */
    #main-table td.status-complete,
    #main-table td .status-complete {
        color: #2e7d32;
        font-weight: 600;
    }

    /* Action buttons spacing */
    #main-table td .btn {
        padding: 5px 9px;
        margin-right: 3px;
    }

    /* File size subtle */
    #main-table td.file-size {
        color: #607d8b;
        font-size: 12.5px;
    }

    /* Header rounded corners (optional, subtle) */
    #main-table thead th:first-child {
        border-top-left-radius: 6px;
    }

    #main-table thead th:last-child {
        border-top-right-radius: 6px;
    }



/**Yip Change **/
    @media screen and (max-width: 1100px) {
        .table-responsive {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #ddd;
    }
        .table-responsive > .table {
            margin-bottom: 0; 
        }

        .indent-content{
        margin-left: 15px !important;
    }

    }

    .table-responsive > .table > thead > tr > th, .table-responsive > .table > tbody > tr > th, .table-responsive > .table > tfoot > tr > th, .table-responsive > .table > thead > tr > td, .table-responsive > .table > tbody > tr > td, .table-responsive > .table > tfoot > tr > td {
        white-space: nowrap;
    }



@media screen and (min-width: 768px){
    .col-lg-offset-4 {
        margin-left: 33.33333333%;
        
    }
}

@media screen and (max-width: 1200px) and (min-width: 768px) {
    .col-lg-offset-4 {
        margin-left: 25%;
        width: 50%;
    }
}

/*** Yip Change End */

.dropdown-submenu > .dropdown-menu {
    margin-top: -1px !important;
}

.qq-upload-file
{
    font-size:12px !important;
    height:100% !important;
}
.qq-uploader
{
    max-height: none !important;
}
.qq-upload-delete-selector
{
   /*display:block !important; */ 
}

.required > label:after {
  content: "  *";
}

.required > label {
  color: Red;
}

.preline {
    white-space: pre-line !important;
}


.list-group-item-dark {
    color: #fff;
    background-color: #343a40;
}

a.list-group-item-dark,
button.list-group-item-dark {
    color: #fff;
}

    a.list-group-item-dark .list-group-item-heading,
    button.list-group-item-dark .list-group-item-heading {
        color: inherit;
    }

    a.list-group-item-dark:hover,
    button.list-group-item-dark:hover,
    a.list-group-item-dark:focus,
    button.list-group-item-dark:focus {
        color: #fff;
        background-color: #343a40;
    }

    a.list-group-item-dark.active,
    button.list-group-item-dark.active,
    a.list-group-item-dark.active:hover,
    button.list-group-item-dark.active:hover,
    a.list-group-item-dark.active:focus,
    button.list-group-item-dark.active:focus {
        color: #fff;
        background-color: #343a40;
        border-color: #343a40;
    }



.list-group-item-secondary {
    color: #fff;
    background-color: #6c757d;
}

a.list-group-item-secondary,
button.list-group-item-secondary {
    color: #fff;
}

    a.list-group-item-secondary .list-group-item-heading,
    button.list-group-item-secondary .list-group-item-heading {
        color: inherit;
    }

    a.list-group-item-secondary:hover,
    button.list-group-item-secondary:hover,
    a.list-group-item-secondary:focus,
    button.list-group-item-secondary:focus {
        color: #fff;
        background-color: #5a6268;
    }

    a.list-group-item-secondary.active,
    button.list-group-item-secondary.active,
    a.list-group-item-secondary.active:hover,
    button.list-group-item-secondary.active:hover,
    a.list-group-item-secondary.active:focus,
    button.list-group-item-secondary.active:focus {
        color: #fff;
        background-color: #5a6268;
        border-color: #545b62;
    }




.list-group-item-light {
    color: #212529;
    background-color: #f8f9fa;
}

a.list-group-item-light,
button.list-group-item-light {
    color: #212529;
}

    a.list-group-item-light .list-group-item-heading,
    button.list-group-item-light .list-group-item-heading {
        color: inherit;
    }

    a.list-group-item-light:hover,
    button.list-group-item-light:hover,
    a.list-group-item-light:focus,
    button.list-group-item-light:focus {
        color: #212529;
        background-color: #e2e6ea;
    }

    a.list-group-item-light.active,
    button.list-group-item-light.active,
    a.list-group-item-light.active:hover,
    button.list-group-item-light.active:hover,
    a.list-group-item-light.active:focus,
    button.list-group-item-light.active:focus {
        color: #212529;
        background-color: #e2e6ea;
        border-color: #dae0e5;
    }


.list-group-item-gray {
    color: #212529;
    background-color: #e3e6e8;
}
a.list-group-item-gray,
button.list-group-item-gray {
    color: #212529;
}

    a.list-group-item-gray .list-group-item-heading,
    button.list-group-item-gray .list-group-item-heading {
        color: inherit;
    }

    a.list-group-item-gray:hover,
    button.list-group-item-gray:hover,
    a.list-group-item-gray:focus,
    button.list-group-item-gray:focus {
        color: #212529;
        background-color: #e3e6e8;
    }

    a.list-group-item-gray.active,
    button.list-group-item-gray.active,
    a.list-group-item-gray.active:hover,
    button.list-group-item-gray.active:hover,
    a.list-group-item-gray.active:focus,
    button.list-group-item-gray.active:focus {
        color: #212529;
        background-color: #e3e6e8;
        border-color: #dae0e5;
    }

    .chartGoogle {
        margin:0 auto !important;
        text-align:center;
    }

.chartGoogle > div{
    position:absolute;
}

.non-flex {
    flex-wrap: unset !important;
}

@media screen and (max-width: 1024px) {
    .bigScreen {
        display: none !important;
    }

    .smallScreen {
        display: block !important;
    }
}


/*Ren De minimized screen Start*/

/*.card-body-label-normal > div > div > div > label {
    font-weight: normal !important;
}*/

.card-thumb {
    height: 100%;
    vertical-align: middle !important;
    align-items: center;
    flex-direction: unset !important;
}

    .card-thumb > a > img {
        width: inherit;
    }

    .card-thumb > a {
        width: 100%;
    }



.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header:first-child {
        border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}

.mb-3,
.my-3 {
    margin-bottom: 1rem !important;
}


.float-right {
    float: right !important;
}

.card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

.card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
}

.border-dark {
    border-color: #343a40 !important;
}

.card-text:last-child {
    margin-bottom: 0;
}

/*.relative {
    position: relative;
}

.align-top {
    vertical-align: top;
}*/

/*Ren De minimized screen End*/


input[type="file"]::file-selector-button {
    padding: 6px 12px;
    height: auto;
    cursor: pointer;
    border-width: 0px;
    margin-right: 16px;
    transition: background-color 200ms;
    color: #fff;
    background-color: #5bc0de;
    border: 1px solid #5bc0de;
}

    input[type="file"]{
        padding:1px;
        height:100% !important;
    }


    /* file upload button hover state */
    input[type="file"]::file-selector-button:hover {
        color: #ffffff;
        background-color: #31b0d5;
        border-color: #269abc;
    }

    /* file upload button active state */
    input[type="file"]::file-selector-button:active {
        color: #ffffff;
        background-color: #5bc0de;
        border-color: #5bc0de;
    }

input[type="file"]::-webkit-file-upload-button {
}


/* Quick Search – Blue Glass Theme (FINAL) */

#divQuickSearchMenu {
    width: 400px !important;
    padding: 10px;
    position: fixed;
    z-index: 9999;
    background: rgba(55, 85, 200, 0.25);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.15);
}

/* Search input (solid white) */
#txtSearchMenu {
    background: #ffffff !important;
    color: #333;
    height: 34px;
    line-height: 34px;
}

/* Dropdown container (bright blue) */
#filteredMenu {
    background: rgba(70, 130, 200, 0.95);
    border-radius: 6px;
    overflow: auto;
    max-height: 350px;
    margin-top: 8px;
    padding: 4px 0;
    min-height: 0 !important;
}

    /* Hide dropdown when empty (remove blue bar) */
    #filteredMenu:empty {
        display: none;
    }

    /* Menu items */
    #filteredMenu a,
    #filteredMenu div {
        display: block;
        padding: 8px 12px;
        color: #ffffff;
        text-decoration: none;
        font-size: 13px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

        /* Hover effect */
        #filteredMenu a:hover,
        #filteredMenu div:hover {
            background: rgba(255,255,255,0.2);
            color: #ffffff;
        }

/* Section header */
.quick-search-section {
    padding: 7px 12px;
    font-weight: bold;
    font-size: 12px;
    color: #eaf2ff;
    background: rgba(0,0,0,0.25);
}

.resizable-select {
    resize: vertical; /* Allow resizing both vertically and horizontally */
    overflow: auto; /* Add scrollbars if content overflows */
    min-width: 150px; /* Set a minimum width */
    min-height: 50px; /* Set a minimum height */
    border: 1px solid #999;
    height: 100px;
    padding: 5px;
}


/*Notification*/
.notification-popup {
    position: absolute;
    top: 45px;
    left: 10px;
    width: 320px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.18);
    display: none;
    z-index: 99999;
    overflow: hidden;
}

/* Header */
.notification-header {
    padding: 12px 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #6c7ae0, #7f8cff);
    color: white;
    border-bottom: none;
}

/* List */
.notification-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
}

    .notification-list li {
        padding: 14px 15px;
        border-bottom: 1px solid #f1f1f1;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .notification-list li:hover {
        background: #f4f6ff;
    }
.notification-icon {
    display: inline-block; /* IMPORTANT */
    transform-origin: top center;
}

@keyframes bellAnimation {
    0% {
        transform: rotate(0deg);
        text-shadow: 0 0 0px rgba(120, 200, 255, 0);
    }

    25% {
        transform: rotate(-15deg);
    }

    50% {
        transform: rotate(10deg);
        color: #eaf6ff; /* slight brighten */
        text-shadow: 0 0 4px rgba(120, 200, 255, 0.9), 0 0 6px rgba(120, 200, 255, 0.7);
    }

    75% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(0deg);
        text-shadow: 0 0 0px rgba(120, 200, 255, 0);
    }
}

.bell-flash {
    animation: bellAnimation 1.5s infinite;
}

.notif-time {
    font-size: 12px;
    color: #777;
    margin-top: 3px;
}


.display-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.display-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #e0e0e0;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}