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

.card-title {
    font-size: 1.5em;
}

.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 {
    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;
    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.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: 3em;
}

/* 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;
}

/* 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; }

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


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

.modal {
  overflow-y:auto;
}

.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;}

#scroll {
    position:fixed;
    right:10px;
    bottom:10px;
    cursor:pointer;
    width:50px;
    height:50px;
    background-color:#3498db;
    text-indent:-9999px;
    display:none;
    -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:#edb151;
    opacity:1;filter:"alpha(opacity=100)";
    -ms-filter:"alpha(opacity=100)";
}



#hadditem {
    position:fixed;
    right:10px;
    bottom:70px;
    cursor:pointer;
    width:50px;
    height:50px;
    background-color:#eeeeee;
    text-indent:-9999px;
    display:none;
    -webkit-border-radius:60px;
    -moz-border-radius:60px;
    border-radius:60px
}
#hadditem span {
    position:absolute;
    top:50%;
    left:50%;
    margin-left:-8px;
    margin-top:-12px;
    height:0;
    width:0;
    border:8px solid transparent;
    border-bottom-color:#46eb75;
}

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


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

.modal-50 {
    width: 50% !important;
}

.modal-700px {
    max-width: 700px !important;
    width: 700px !important;
    margin: auto;
}

.modal-1024px {
    max-width: 1024px !important;
    width: 1024px !important;
    margin: auto;
}


.nform-extra-cofig {
    min-height: 33px !important;
    max-height: 100px !important;
    width:inherit !important;
    display: inherit !important;
    font-size: 0.83rem !important;
}