.error_msg {
    color: #ff6258;
    font-size: 12px;
}

.datepicker {
    border-radius: 2px;
}

.input-group-append, .input-group-prepend, .asColorPicker-trigger {
    background-color: #eeeeee;
}

.datepicker.input-group.is-invalid, .datepicker.asColorPicker-wrap.is-invalid {
    border-color: #dc3545 !important;
}

.companyTitle a:hover {
    text-decoration: none;
}

table.dataTable#display_table {
    max-width: 100% !important;
    width: 100% !important;
}

.dataTables_wrapper .table-condensed.dataTable thead tr th,
.dataTables_wrapper .table-condensed.dataTable tbody tr td,
.table.table-condensed thead tr th,
.table.table-condensed tbody tr td {
    /*padding: 3px 10px;*/
    padding: 1px 3px;
    vertical-align: middle;
}

.dataTables_wrapper .table-condensed.dataTable thead:not(.bg-primary):not(.bg-warning) tr:not(.bg-primary):not(.bg-warning) th,
.table.table-condensed thead:not(.bg-primary):not(.bg-warning) tr:not(.bg-primary):not(.bg-warning) th {
    border-bottom-width: 2px;
}

.table thead:not(.bg-primary):not(.bg-warning) tr:not(.bg-primary):not(.bg-warning) th {
    border-bottom: 2px solid #cccccc;
}

.table thead tr th {
    letter-spacing: 1px;
}

.table thead:not(.text-white) tr:not(.text-white) th {
    font-weight: 600;
}

.table td {
    border-top: 1px solid #e3e3e3;
}

label.error {
    color: #ff6258 !important;
    margin-top: .5em;
}

input.error {
    border: 1px solid #ff6258;
}

.form-control:disabled {
    background-color: #e9ecef !important;
}

.swal-text {
    text-align: center;
}

.menu-title {
    font-weight: bold;
}

.sidebar .nav .nav-item .nav-link {
    height:45px;
    padding: 16px 14px;
}

.sidebar.sidebar-offcanvas:not(.active) {
    -webkit-box-shadow: 5px 5px 10px -5px rgba(161, 161, 161, 1);
    -moz-box-shadow: 5px 5px 10px -5px rgba(161, 161, 161, 1);
    box-shadow: 5px 5px 10px -5px rgba(161, 161, 161, 1);
}

.sidebar-icon-only .sidebar .nav .nav-item.hover-open .collapse, .sidebar-icon-only .sidebar .nav .nav-item.hover-open .collapsing {
    position: relative;
    top: initial;
}

/* Active link color for menu and sub-menu (When it is not expanded) */
.sidebar .nav .nav-item.active > .nav-link[aria-expanded="false"],
.sidebar .nav .nav-item.active > .nav-link[aria-expanded="false"] .menu-title,
.sidebar .nav .nav-item.active > .nav-link[aria-expanded="false"] i,
.sidebar .nav.sub-menu .nav-item .nav-link.active {
    color: #2196f3;
}

/* Sub-menu active link background */
.sidebar .nav.sub-menu .nav-item .nav-link.active {
    background-color: #2196f3;
    color: #fff;
}

.sidebar .nav.sub-menu .nav-item .nav-link {
    padding-left: 2em;
}

/* Hover over sub-menu links, make color black and bold */
.sidebar .nav.sub-menu .nav-item .nav-link:hover {
    color: #000;
    font-weight: 600;
}

/* Menu background color when expanded OR hovered over */
.sidebar .nav:not(.sub-menu) > .nav-item:hover:not(.nav-profile) > .nav-link,
.sidebar .nav:not(.sub-menu) > .nav-item:not(.nav-profile) > .nav-link[aria-expanded="true"] {
    background-color: #4872e2;
}

/* Menu text color and icon color when expanded OR hovered over */
.sidebar .nav:not(.sub-menu) > .nav-item:hover:not(.nav-profile) > .nav-link .menu-title,
.sidebar .nav:not(.sub-menu) > .nav-item:not(.nav-profile) > .nav-link[aria-expanded="true"] .menu-title,
.sidebar .nav:not(.sub-menu) > .nav-item:hover:not(.nav-profile) > .nav-link i,
.sidebar .nav:not(.sub-menu) > .nav-item:not(.nav-profile) > .nav-link[aria-expanded="true"] i {
    color: #fff;
}

/* Sub-menu settings ... */
.sidebar > .nav > .nav-item > div > .sub-menu {
    background-color: #d2f0ff;
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 0;
}

.sidebar .nav .nav-item .nav-link[aria-expanded="true"] {
    background-color: #d2f0ff;
}

/* If is sidebar-icon-only, don't have background color... */
/*.sidebar-icon-only .sidebar > .nav > .nav-item > .nav-link[aria-expanded="true"] {*/
/*background-color: #fff;*/
/*}*/

/*.sidebar-icon-only .sidebar > .nav .nav-item.hover-open .nav-link .menu-title {*/
/*background-color: #4872e2;*/
/*color: #fff;*/
/*}*/

/*.sidebar-icon-only .sidebar > .nav .nav-item.hover-open i {*/
/*color: #fff;*/
/*}*/

/* Sidebar icon only sub-menu background */
/*.sidebar-icon-only .nav .nav-item .nav-link[aria-expanded=true], .sidebar-icon-only .sidebar .nav .nav-item.hover-open .collapse {*/
/*background-color: #fff;*/
/*}*/

/*.sidebar-icon-only .sidebar .nav:not(.sub-menu) > .nav-item:hover:not(.nav-profile) > .nav-link {*/
/*background-color: #4872e2;*/
/*}*/

/*.sidebar-icon-only .sidebar .nav .nav-item.hover-open .collapse, .sidebar-icon-only .sidebar .nav .nav-item.hover-open .collapsing {*/
/*-webkit-box-shadow: none;*/
/*-moz-box-shadow: none;*/
/*box-shadow: none;*/
/*border-right: 5px solid #4872e2;*/
/*border-bottom: 5px solid #4872e2;*/
/*margin-bottom: -5px;*/
/*}*/

/*.sidebar-icon-only .sidebar .nav .nav-item.hover-open {*/
/*border-bottom: 5px solid #4872e2;*/
/*}*/

/*.sidebar-icon-only .sidebar .nav.sub-menu .nav-item.hover-open {*/
/*border-bottom: 0;*/
/*}*/

/*.sidebar-icon-only .sidebar .nav.sub-menu {*/
/*padding: 0;*/
/*}*/

@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-device-width: 1024px) {
    /* Prevent iOS from zooming on select those inputs ... */
    input[type="color"],
    input[type="date"],
    input[type="datetime"],
    input[type="datetime-local"],
    input[type="email"],
    input[type="month"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    input[type="tel"],
    input[type="text"],
    input[type="time"],
    input[type="url"],
    input[type="week"],
    select:focus,
    textarea {
        font-size: 16px;
    }

}

.form-control, .typeahead {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.1rem;
}

.required-border {
    border: 2px solid #19d895 !important;
}

.datepicker.datepicker-dropdown .datepicker-days table.table-condensed thead tr th.dow:first-child, .datepicker.datepicker-inline .datepicker-days table.table-condensed thead tr th.dow:first-child, .datepicker.datepicker-dropdown .datepicker-days table.table-condensed tbody td.day:first-child, .datepicker.datepicker-inline .datepicker-days table.table-condensed tbody td.day:first-child, .datepicker.datepicker-dropdown .datepicker-days table.table-condensed thead tr th.dow:last-child, .datepicker.datepicker-inline .datepicker-days table.table-condensed thead tr th.dow:last-child, .datepicker.datepicker-dropdown .datepicker-days table.table-condensed tbody td.day:last-child, .datepicker.datepicker-inline .datepicker-days table.table-condensed tbody td.day:last-child {
    text-align: center;
}

.border-8 {
    border-width: 8px !important;
}

.card.bg-blue-gradient {
    background: linear-gradient(to right, #d4fcfa, #37a7db, #526dcc);
    color: #fff;
}

.card.bg-orange-gradient {
    background: linear-gradient(to right, #fffee2, #ede452, #de9347);
    color: #fff;
}

.card.bg-red-gradient {
    background: linear-gradient(to right, #ffd7d7, #ed8171, #de5453);
    color: #fff;
}

.card.bg-green-gradient {
    background: linear-gradient(to right, #deffed, #72e3d1, #0ac7cb);
    color: #fff;
}

.icon-xl {
    font-size: 4rem;
}

.form-check.form-check-flat label input:checked + .input-helper::before {
    background-color: #2196f3;
}

.form-check.form-check-flat.form-check-radio label input:checked + .input-helper::before {
    background-color: #ffaf00;
}

.form-check .form-check-label input:checked + .input-helper::after {
    top: -9px;
}

.input-group-text {
    border: 1px solid #ccc;
}

.twitter-typeahead {
    display: block !important;
}

select {
    /*height: calc(2.6rem + 2px) !important;*/
    height: 2.4rem !important;
}


/* Do not remove this... it will break certain part of the page.. like in recp_search datepicker popup lol */
.datepicker-dropdown::before, .datepicker-dropdown::after {
    display: none;
}

.fc-scroller { overflow-x: visible !Important; }/*fullcalendar fixed*/

@media (min-width: 992px) {
    .modal-md {
        max-width: 70%;
    }
}

.tt-cursor { background-color: #0068D0; color:#ffffff;} /* typeahead highlight */

.modal {
  overflow-y:auto;
  margin-top: -50px;
}

.tooltip{
  z-index: 10000 !important;
}

.tooltip.show {
  opacity: 1;
}
.tooltip-inner {
  background-color: #19d895;
}

.modal-header2 {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #cccccc;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}

.modal-header2 .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
}

.modal-header2 {
    padding: 25px 26px;
}

.modal-header2 span {
    font-size: 20px;
    font-weight: 400;
    color: #6a6a6a;
}

.wrap {
  white-space: normal !important;
  word-wrap: break-word;
}
.nowrap {
  white-space: nowrap;
}

.nav-pills > li > a {
    font-weight: bold;
}

.nav-pills > li > a.active {
    color:white !important;
}



.table td, .jsgrid .jsgrid-table td,
.table th, .jsgrid .jsgrid-table th {
    vertical-align: middle;
    /*font-size: 0.875rem; lawrence */
    font-size: 0.750rem;
    /*line-height: 1;*/
    white-space: break-word;
    /*height: 35px;*/
    /*padding: 18px 15px;*/
}


body {font-size: 0.750rem;}

.form-group label {
    font-size: 0.80rem;
}

.bootstrap-select .dropdown-toggle {
    /*height: 44px;*/
    /*height: calc(2.6rem) !important;*/
    height: 2.3rem !important;
    padding-left: 0.7rem;
    font-size: 1rem;
}


.form-control, .asColorPicker-input, .dataTables_wrapper select, .jsgrid .jsgrid-table .jsgrid-filter-row input[type=text],
.jsgrid .jsgrid-table .jsgrid-filter-row select, .jsgrid .jsgrid-table .jsgrid-filter-row input[type=number], .select2-container--default .select2-selection--single, .select2-container--default .select2-selection--single .select2-search__field, .tt-hint,
.tt-query,
.typeahead {
    display: block;
    width: 100%;
    /*height: 2.45rem;*/
    /*padding: 0.56rem 0.575rem;*/

    padding: 0.1rem 0.575rem;


    font-size: 1rem;
    line-height: 1;
    color: #495057;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 2px;
    -webkit-transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}


.datepicker {
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  direction: ltr;
  /*.dow {
        border-top: 1px solid #ddd !important;
    }*/

}

.btn.btn-icons {padding:2px; width:36px;height:36px;}



#display_table_filter label{
    margin-top: 5px;
}

#display_table_length label{
    margin-bottom: 5px;
}

.password { -webkit-text-security: disc; /* Default */ }


.modal-body-long{
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 25px;
    max-height: calc(100vh - 170px);
    overflow-y: auto;
}

.modal-lg {
    max-width: 90vw;
}

.modal-md {
    max-width: 70vw;
}

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



.actionselect {
    height: 1.6rem !important;
    padding: 0.2rem 0.575rem !important;
    width:150px;
    font-size:9pt;
}

.actioninput {
    height: 1.6rem !important;
    padding: 0.2rem 0.575rem !important;
    width:50px;
    font-size:9pt;
}

.budgetinput {
    height: 1.6rem !important;
    padding: 0.2rem 0.575rem !important;
    width:150px;
    font-size:9pt;
}

.budgettext {
    height: 2.6rem !important;
    padding: 0.2rem 0.575rem !important;
    width:150px;
    font-size:9pt;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

.payment-difference-info, .receipt-difference-info {
    position: fixed;
    top: 15px;
    right: 20px;
    text-align: center;
    font-size: 0.9rem;
    border-color: #fff;
    border-radius: 5px;
    padding: 5px;
    opacity: 0.95;
    z-index: 9999;
}


/* SLIDING HELP */
/* The side navigation menu */
.h_sidenav {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  right: 0;
  background-color: #fff; /* Black*/
  overflow-x: scroll; /* Disable horizontal scroll */
  padding-top: 100px; /* Place content px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
}



/* When you mouse over the navigation links, change their color */
.h_sidenav a:hover {
  color: #000;
  text-decoration: none;
}

/* Position and style the close button (top right corner) */
.h_sidenav .closebtn {
  position: absolute;
  top: 50px;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left .5s;
  padding: 0px;
}

.form-control-sm {max-width: 200px}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .h_sidenav {padding-top: 15px;}
  .h_sidenav a {font-size: 18px;}
}

@media screen and (max-width: 650px) {
  .dropdown-menu {max-width: 150px}
}

div.scrollmenu {
   overflow: auto;
   white-space: nowrap;
}
  
div.scrollmenu a {
   display: inline-block;
   color: #495057 ;
   text-align: center;
   padding: 5px;
   text-decoration: none;
   font-size: 0.8rem;
}
  
div.scrollmenu a:hover {
   color: white !important;
}

.scoll-pane {
    width: 100%;
    height: auto;
    overflow: auto;
    outline: none;
    overflow-y: hidden; 
    -ms-overflow-style: scroll;  
    scrollbar-width: none;  
}

.white-hover:hover {
    color: white !important;
 }

.grey-hover:hover {
    background-color:#eee !important;
 }

.arrows {
    height: 100%; 
    vertical-align: middle;
    border-radius: 3px;

}
.vertical-align {
    display: flex;  
    align-items: center; 
    justify-content: center;
}

.flexbox-wrapper {
    display: flex;
    overflow: auto;
}

.display_flex{
    display: flex;
    flex-direction: column;
}

.flex1{
    align-items: flex-end;
}

.flex2{
    height: 10%; 

    align-items: flex-end;

}

.flex3{
    display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
    height: 18%; 
    text-overflow: ellipsis; 
    overflow-y: hidden;
    align-items: flex-end;
}


.flex3::-webkit-scrollbar {
    display: none;
}

.flex3 {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;   /*Firefox */
}

.container-nopadding{
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.item_info{
    font-weight: bold; 
    font-size: 13pt;
    padding-bottom: 2em;
}

.white-background{
    background-color: #fff;
}

.text-no-style{
    border: none;
    background: transparent;
    max-width: 4.5em;
    font-weight: bold
}

#scroll {
    position:fixed;
    right:10px;
    bottom:10px;
    cursor:pointer;
    width:57px;
    height:57px;
    background-color:#3498db;
    -webkit-border-radius:60px;
    -moz-border-radius:60px;
    border-radius:60px
}
#scroll span {
    position:absolute;
    top:50%;
    left:50%;
    margin-left:-8px;
    margin-top:-12px;
    height:0;
    width:0;
    /*border:8px solid transparent;*/
    border-bottom-color:#ffffff;
}

#scroll:hover {
    background-color:#3AAF5B;
    opacity:1;filter:"alpha(opacity=100)";
    -ms-filter:"alpha(opacity=100)";
}



.overlay {
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    width: 10em;
    height: 100%
}

.overlay-right {
    position: fixed;
    display: flex;
    top: 0;
    width: 5em;
    height: 100%
}

.display-none{
    display:none;
}

.margin-bottom {
    margin-bottom: 7px;
    vertical-align: baseline;
}


.condimentModalSaveBtn{
    min-width: 50%;
    text-align: cen
}

.descriptions{
    font-size: 10px; 
    max-height: 15vh; 
    overflow-y: scroll;
}

.descriptions::-webkit-scrollbar {
    display: none;
}

.descriptions {
    -ms-overflow-style: none;  /* IE and Edge 
    scrollbar-width: none;  /* Firefox */
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .h_sidenav {padding-top: 15px;}
    .h_sidenav a {font-size: 18px;}
  }
  
  @media screen and (max-width: 650px) {
      .dropdown-menu {max-width: 150px}
  
      /* Pagination */
      .pagination .page-item .page-link, .jsgrid .jsgrid-pager .page-item .page-link, .jsgrid .jsgrid-pager .jsgrid-pager-nav-button .page-link, .jsgrid .jsgrid-pager .jsgrid-pager-page .page-link, .jsgrid .jsgrid-pager .jsgrid-pager-nav-button a, .jsgrid .jsgrid-pager .jsgrid-pager-page a {
          font-size: 0.650rem;
      }
  
      .page-link, .jsgrid .jsgrid-pager .jsgrid-pager-nav-button a,
      .jsgrid .jsgrid-pager .jsgrid-pager-page a {
          padding: 0.5rem 0.4rem;
      }
    }


.zcheckbox {
    transform: scale(1.5);
    margin-left:5px;
    margin-right:5px;
}
    
.nform {
    height: 33px !important;
    width:inherit !important;
    display: inherit !important;
    font-size: 0.83rem !important;
}

.nform2 {
    height: 33px !important;
    display: inherit !important;
    font-size: 0.83rem !important;
}

#rpt_loader {
    border: 12px solid #f3f3f3;
    border-radius: 50%;
    border-top: 12px solid #444444;
    width: 70px;
    height: 70px;
    animation: spin 1s linear infinite;
}
  
@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}
  
.rpt_center {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

table.report_table thead {
    /* background-image: linear-gradient(to right, #556cdc, #128bfc, #18bef1); */
    background-color: #cee4f7;
}
table.report_table thead tr th {
    font-size: 9pt;
    padding-left: 1px !important;
    margin: 0;
    border-bottom: 1px solid #cccccc;
    line-height: 0;
    text-align:left !important;
}

table.report_table tbody td {
    font-size: 9pt;
    padding: 5px 1px 5px 1px;
    margin: 0;
    border-bottom: 0.5px solid #dddddd;
}
table.report_table > tbody > tr:hover {
    background-color: #f5f5f5;
}


@media print {
    table.report_table thead tr th {
       line-height: 1;
    }
}

tfoot td {
    margin:0 !important;
    padding:0 !important;
}

.detBtn {
    cursor:pointer;
    text-decoration-style: dotted;
    text-decoration-line: underline;
    text-decoration-color: #999999;
}
.detBtn:hover {
    text-decoration-style: solid;
    text-decoration-line: underline;
    text-decoration-color: #000000;
    font-weight: bold;
}
@media print
{
    .detBtn {
        text-decoration: none;
    }
}


/* BODY */
.card-title {
    font-size: 1.5em;
}
.card .card-body {
    /* padding: 1.2em 1.2em; */
    padding:1.2em;
}
.content-wrapper {
    padding: 0.2rem 0.2rem;
}
/* TOP MENU LEFT */
.navbar.default-layout .navbar-menu-wrapper {
    padding-left: 0px;
}
/* SIDEBAR */
.sidebar {
    width:200px !important;
}

@media (min-width: 992px) {
    .sidebar-icon-only .sidebar {
        width: 40px !important;
    }
    .sidebar-icon-only .main-panel {
        width: calc(100% - 40px) !important;
    }
    .sidebar-icon-only .sidebar .nav .nav-item .nav-link {
        display: block;
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
    }
    .sidebar .nav .nav-item .nav-link .menu-icon {
        font-size:12pt !important;
    }
    .main-panel {
        width: calc(100% - 200px) !important;
    }
}


.form-control-sm.custom-select-sm {height: 2rem !important;}
