.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;*/
    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.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;
}
.twitter-typeahead {
    width:100%;
}

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

.card.bg-pink-gradient {
    background: linear-gradient(to right, #f8deff, #e372e3, #b40acb);
    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;
}

@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.active {
    color:white !important;
}

.nav-pills .nav-link {
    border-radius: 0;
    border: 1px solid #2196f3;
}
.nav-pills .nav-item .nav-link, .nav-tabs .nav-item .nav-link {
    font-family: "Poppins", sans-serif;
    line-height: 1;
    font-size: 0.75rem;
    color: #000;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

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

/**/

.nav-pills-y > li > .nav-link.active {
    color:white !important;
    background-color: #ff9900;
}
.nav-pills-y > li > .nav-link2.active {
    color:white !important;
    background-color: #19d895;
}

.nav-pills-y .nav-link {
    border-radius: 0;
    border: 1px solid #ff9900;
}
.nav-pills-y .nav-link2 {
    border-radius: 0;
    border: 1px solid #19d895;
}
.nav-pills-y .nav-item .nav-link, .nav-tabs .nav-item .nav-link {
    font-family: "Poppins", sans-serif;
    line-height: 1;
    font-size: 0.75rem;
    color: #000;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.nav-pills-y .nav-item .nav-link2, .nav-tabs .nav-item .nav-link2 {
    font-family: "Poppins", sans-serif;
    line-height: 1;
    font-size: 0.75rem;
    color: #19d895;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.nav-link2 {
    display: block;
    padding: 0.5rem 1rem;
}
.nav-pills-y > li > a {
    font-weight: normal;
}

.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;}
.dtr-details {
    font-size: 0.750rem !important;
}
.dtr-title {
    padding-left: 25px;
}

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

.bootstrap-select .dropdown-toggle {
    /*height: 44px;*/
    /*height: calc(2.6rem) !important;*/
    /* height: 2.3rem !important; */
    height: 33px !important;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    /* font-size: 1rem; */
    font-size: 0.83rem !important;
    border: 1px solid #ced4da;
    border-radius: 0px;
    cursor: default !important;
}
.bootstrap-select .dropdown-item {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    border-radius: 0px;
    cursor: default !important;
}
.bootstrap-select .dropdown-menu {
    min-width: 200px;
}

.multiselect-dropdown {
    width:100% !important;
    min-height: 33px !important;
}
.multiselect-dropdown-list {
    line-height: 10px;
}
.multiselect-dropdown-search {
    height: 33px !important;
}



.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:#3AAF5B;
    opacity:1;filter:"alpha(opacity=100)";
    -ms-filter:"alpha(opacity=100)";
}

#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 - 250px);
    overflow-y: auto;
}


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


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

.frm-input {
    width:300px;
    padding-left: 5px;
}

.video-container {
    position:relative;
    padding-bottom:56.25%;
    padding-top:30px;
    height:400px;
    overflow:hidden;
}

.video-container iframe, .video-container object, .video-container embed {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

.color_a {color:#fc0341}
.color_b {color:#f803fc}
.color_c {color:#8003fc}
.color_d {color:#0394fc}
.color_x {color:#05754c}
.color_y {color:#8f3613}
.color_z {color:#fcb503}

.form-sm {
    height: 26px !important;
    width:auto !important;
    display: inherit !important;
}
.form-sm2 {
    height: 26px !important;
    width:80px !important;
    display: inherit !important;
}

.nform {
    height: 33px !important;
    width:inherit !important;
    display: inherit !important;
    font-size: 0.83rem !important;
}
.nform:focus {
    padding-left:10px !important;
    padding-right:9px !important;
}

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

.w100 {
    width:100% !important;
}

.ta {
    height: 70px !important;
    resize: auto;
}
.ta140 {
    height: 140px !important;
    resize: auto;
}
.wa450 {
    width: 450px !important;
}
.ta240 {
    height: 240px !important;
    resize: auto;
}
.tab-content {
    font-size: 0.75rem !important;
}
.popover {
    z-index: 999999;
}
.clockpicker-popover {
    z-index: 999999 !important;
}

input[type=text]:focus, textarea:focus {
    /* box-shadow: 0 0 2px rgba(81, 203, 238, 1); */
    padding: 3px 0px 3px 3px;
    /* margin: 5px 1px 3px 0px; */
    border: 1px solid rgba(81, 203, 238, 1);
  }

.tfrm {width:150px; height: 1.4rem !important;}

.drp-calendar select {height: 1.4rem !important;}

.input-group-text-sm {
    height:33px !important;
}
.label-style {
    height:23px !important;
}

.textform {
    width:400px;
    height:90px;
    margin-top: 10px;;
}
.chkform {
    width:20px;
    height:20px;
}

.butStyle {
    clear:both;
    background-color: #eeeeee;
    border: 1px solid rgba(50, 50, 50, 1);
    padding:10px;
    border-radius: 5px;
}

.appSL {
    background-color: #ffffff;
    border: 1px solid rgb(25, 216, 149);
    padding:10px;
    margin-bottom: 20px;
}
.appSL th {
    color: rgb(25, 216, 149);
}
.pdSL {
    background-color: #ffffff;
    border-top: 1px solid rgb(240, 136, 0);
    border-left: 1px solid rgb(240, 136, 0);
    border-right: 1px solid rgb(240, 136, 0);
    padding:10px;
    /* margin-bottom: 20px; */
}
.pdSL th {
    color: rgb(240, 136, 0);
}
.rjSL {
    background-color: #ffffff;
    border: 1px solid rgb(250, 89, 89);
    padding:10px;
    margin-bottom: 20px;
}
.rjSL th {
    color: rgb(250, 89, 89);
}

.jobbg {background-color:#edf1f3}
.wapp_bg {
    background-image: url('../_attachments/wapp_bg2.png');
}

.zis-invalid {border: 1px solid rgb(250, 89, 89) !important;}

/* BODY */
.card .card-body {
    padding:1.5em;
}
.content-wrapper {
    padding: 0.5rem 0.5rem;
}


@media only screen and (max-width: 800px) {
	
	/* Force table to not be like tables anymore */
	#no-more-tables table, 
	#no-more-tables thead, 
	#no-more-tables tbody, 
	#no-more-tables th, 
	#no-more-tables td, 
	#no-more-tables tr { 
		display: block; 
	}
 
	/* Hide table headers (but not display: none;, for accessibility) */
	#no-more-tables thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
 
	#no-more-tables tr { border: 1px solid #ccc; }
 
	#no-more-tables td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 40%; 
		white-space: normal;
		text-align:left;
        overflow: auto;
	}
    #no-more-tables td.sp { 
        height:100px;
    }
 
	#no-more-tables td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 35%; 
		padding-right: 10px; 
		white-space: nowrap;
		text-align:left;
		font-weight: bold;
	}
 
	/*
	Label the data
	*/
	#no-more-tables td:before { content: attr(data-title); }


}

