/*

	IMPORTANT NOTES: (PLEASE READ CAREFULLY!)

	1. DO NOT MODIFY the system styles section, it is generated by the system,
	your modifications will be overwritten. If you want to change the stylesheet
	template, modify the ew.scss in the "themes" subfolder under the installed
	directory. Only modify the ew.scss if you have the necessary knowledges in
	CSS.

	2. You MUST write your styles in User Styles editor. If you want to override
	the system styles, you can copy the styles to the User Styles editor, or you
	can use the separate user stylesheet.

*/

/*BEGIN_SYSTEM_STYLES*/

@font-face {
  font-family: 'ew';
  src: url("fonts/ew.eot?t39no9");
  src: url("fonts/ew.eot?#iefixt39no9") format("embedded-opentype"), url("fonts/ew.woff?t39no9") format("woff"), url("fonts/ew.ttf?t39no9") format("truetype"), url("fonts/ew.svg?t39no9#ew") format("svg");
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"],
[class*=" icon-"] {
  display: inline-block;
  font: normal normal normal 14px/1 'ew';
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-advanced-search::before {
  content: "\e608";
}

.icon-grid-add::before {
  content: "\e60f";
}

.icon-grid-edit::before {
  content: "\e61c";
}

.icon-addedit::before {
  content: "\e609";
}

.icon-md-add::before {
  content: "\e61b";
}

.icon-md-edit::before {
  content: "\e600";
}

.icon-md-copy::before {
  content: "\e60c";
}

.icon-md-view::before {
  content: "\e614";
}

.icon-inline-add::before {
  content: "\e619";
}

.icon-inline-copy::before {
  content: "\e606";
}

.icon-inline-copy2::before {
  content: "\e61a";
}

.icon-inline-edit::before {
  content: "\e605";
}

.icon-reset-search::before {
  content: "\e60d";
}

.icon-view::before {
  content: "\e612";
}

.icon-advanced-search2::before {
  content: "\e60b";
}

.icon-highlight::before {
  content: "\e60a";
}

.icon-csv::before {
  content: "\e610";
}

.icon-xml::before {
  content: "\e60e";
}

.icon-email::before {
  content: "\f003";
}

.icon-user::before {
  content: "\f007";
}

.icon-print::before {
  content: "\f02f";
}

.icon-edit::before {
  content: "\f040";
}

.icon-export::before {
  content: "\f045";
}

.icon-selected::before {
  content: "\f046";
}

.icon-filter::before {
  content: "\f0b0";
}

.icon-copy::before {
  content: "\f0c5";
}

.icon-options::before {
  content: "\f0c9";
}

.icon-table::before {
  content: "\f0ce";
}

.icon-first::before {
  content: "\f100";
}

.icon-last::before {
  content: "\f101";
}

.icon-prev::before {
  content: "\f104";
}

.icon-next::before {
  content: "\f105";
}

.icon-collapse::before {
  content: "\f147";
}

.icon-expand::before {
  content: "\f196";
}

.icon-search::before {
  content: "\e611";
}

.icon-language::before {
  content: "\e613";
}

.icon-pdf::before {
  content: "\e601";
}

.icon-word::before {
  content: "\e602";
}

.icon-excel::before {
  content: "\e603";
}

.icon-html::before {
  content: "\e604";
}

.icon-master-detail::before {
  content: "\e607";
}

.icon-arrow-left::before {
  content: "\e615";
}

.icon-arrow-down::before {
  content: "\e616";
}

.icon-arrow-up::before {
  content: "\e617";
}

.icon-arrow-right::before {
  content: "\e618";
}

body {
  font-family: "Calibri", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Calibri", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.content-wrapper {
  background-color: #FFFFFF;
}

a:not(.btn) .icon-view,
a:not(.btn) .icon-edit,
a:not(.btn) .icon-inline-edit,
a:not(.btn) .icon-copy,
a:not(.btn) .icon-inline-copy,
a:not(.btn) .fa-trash {
  display: inline-block;
}

a:not(.btn).ew-edit + a:not(.btn).ew-inline-edit,
a:not(.btn).ew-copy + a:not(.btn).ew-inline-copy {
  padding-right: 4px;
}

/* google map */

.gm-style-iw {
  color: #212529;
}

.ew-single-map {
  margin-bottom: 1rem;
}

.brand-link .ew-brand-image {
  float: none;
}

.ew-icon {
  font-size: 1rem;
  width: 1rem;
}

.input-group-prepend .ew-icon,
.input-group-append .ew-icon,
.ew-dropdown-clear .ew-icon {
  font-size: 0.875rem;
  width: 0.875rem;
}

.dropdown-menu > li > a > .fa {
  margin-left: 0;
}

.dropdown-header {
  text-align: right;
}

label.custom-control-label {
  font-weight: 400 !important;
}

.ew-grid-add-edit .input-group .custom-select {
  width: auto;
}

.content-header h1 small {
  font-size: 70%;
}

.ew-image {
  margin: 1px;
  max-width: none;
}

.ew-toolbar .ew-export-option,
.ew-toolbar .ew-import-option,
.ew-toolbar .ew-search-option,
.ew-toolbar .ew-action-option,
.ew-toolbar .ew-detail-option,
.ew-toolbar .ew-filter-option {
  margin-bottom: 1rem;
}

.ew-toolbar .ew-filter-option {
  display: none;
}

.ew-user-priv-form .ew-grid {
  display: block;
}

.ew-view-form,
.ew-delete-form {
  display: block;
  margin-bottom: 1rem;
}

.ew-edit-form {
  margin-bottom: 1rem;
}

.ew-desktop .ew-desktop-button {
  text-align: center;
  margin-bottom: 1rem;
}

.ew-desktop .ew-desktop-table {
  min-width: 300px;
}

.ew-desktop .ew-desktop-table > thead > tr > th:first-of-type .checkbox,
.ew-desktop .ew-desktop-table > tbody > tr > th:first-of-type .checkbox {
  margin-top: 0;
  margin-bottom: 0;
}

.ew-desktop .ew-desktop-table > thead > tr > td:first-of-type,
.ew-desktop .ew-desktop-table > tbody > tr > td:first-of-type {
  text-align: left;
}

.ew-desktop .ew-desktop-table > thead > tr > td:first-of-type > span[id^=elh_],
.ew-desktop .ew-desktop-table > tbody > tr > td:first-of-type > span[id^=elh_] {
  font-weight: bold;
  display: inline-block;
  margin-top: 0.75rem;
}

.ew-desktop .ew-desktop-table > thead > tr > td:first-of-type .checkbox,
.ew-desktop .ew-desktop-table > tbody > tr > td:first-of-type .checkbox {
  margin-top: 0;
  margin-bottom: 0;
}

.ew-desktop .ew-desktop-table > thead > tr > td:first-of-type .checkbox label,
.ew-desktop .ew-desktop-table > tbody > tr > td:first-of-type .checkbox label {
  font-weight: bold;
}

.ew-desktop .ew-desktop-table > thead > tr > td:nth-of-type(2):not(:last-of-type),
.ew-desktop .ew-desktop-table > tbody > tr > td:nth-of-type(2):not(:last-of-type) {
  text-align: left;
}

.ew-desktop .ew-desktop-table > thead > tr > td:nth-of-type(2):not(:last-of-type) .ew-search-operator,
.ew-desktop .ew-desktop-table > tbody > tr > td:nth-of-type(2):not(:last-of-type) .ew-search-operator {
  margin-top: 0.75rem;
}

.ew-desktop .ew-desktop-table > thead > tr > th:last-of-type,
.ew-desktop .ew-desktop-table > thead > tr > td:last-of-type,
.ew-desktop .ew-desktop-table > tbody > tr > th:last-of-type,
.ew-desktop .ew-desktop-table > tbody > tr > td:last-of-type {
  min-width: 150px;
}

.ew-label .checkbox {
  padding-top: 0;
}

.ew-label label {
  font-weight: bold;
}

.ew-grid {
  padding: 0;
  border: 1px solid #9F9F9F;
  margin-bottom: 1rem;
  display: table;
}

.ew-grid .ew-grid-upper-panel {
  border-bottom: 1px solid #9F9F9F;
}

.ew-grid .ew-table,
.ew-grid .ew-grid-middle-panel {
  border: 0;
  padding: 0;
  margin-bottom: 0;
}

.ew-grid .ew-grid-lower-panel {
  border-top: 1px solid #CFCFCF;
}

.ew-form.ew-horizontal .ew-table .form-group {
  margin-right: 0;
  margin-left: 0;
}

.ew-search-panel {
  margin-bottom: 1rem;
}

.ew-search-panel > .card {
  display: table;
}

.ew-pager {
  padding-left: 1rem;
  margin-bottom: 1rem;
  display: flex;
  width: auto;
  align-items: center;
  /*@noflip*/
  direction: ltr;
}

.ew-pager .input-group > input.form-control[name=pageno] {
  width: 6em;
}

.ew-pager .ew-prev-next,
.ew-pager .ew-numeric-page {
  direction: rtl;
}

.ew-pager .ew-prev-next .btn:not(:disabled),
.ew-pager .ew-numeric-page .btn:not(:disabled) {
  cursor: pointer;
}

.ew-pager .ew-numeric-page > ul.pagination {
  margin-bottom: 0;
}

.ew-prev-next {
  display: flex;
}

.ew-list-other-options {
  margin-bottom: 2px;
  float: right;
}

.ew-grid-upper-panel.card-header,
.ew-grid-lower-panel.card-footer {
  padding: 0.4rem;
  border-right: 0;
  border-left: 0;
  background-image: none;
  color: #284775;
}

.ew-grid-upper-panel.card-header .ew-pager-form,
.ew-grid-lower-panel.card-footer .ew-pager-form {
  float: right;
}

.ew-grid-upper-panel.card-header .ew-pager,
.ew-grid-lower-panel.card-footer .ew-pager {
  margin-bottom: 0;
}

button.ew-btn {
  min-width: 75px;
}

a.ew-btn {
  min-width: 49px;
}

.ew-btn-dropdown {
  min-width: calc(0.25rem * 2 + 1rem + 0.3em * 2 + 2px);
}

.ew-dropdown-list .ew-dropdown-toggle {
  color: #495057;
  background-color: #FFFFFF;
  border: 1px solid #CED4DA;
  text-align: right;
}

.ew-dropdown-list .ew-dropdown-toggle::after {
  margin-right: 1em;
}

.ew-dropdown-list .ew-dropdown-toggle::hover,
.ew-dropdown-list .ew-dropdown-toggle:active,
.ew-dropdown-list .ew-dropdown-toggle.hover {
  background-color: #FFFFFF;
}

.ew-dropdown-list [id^=dsl_] {
  z-index: 1000;
}

.ew-pointer {
  cursor: pointer;
}

.ew-aggregate::after {
  content: ": ";
}

.ew-table-header .ew-table-header-btn,
.ewjtable-column-header-container {
  position: relative;
  padding-left: 12px;
  white-space: nowrap;
}

.ew-table-header .ew-table-header-btn .ew-table-header-sort,
.ewjtable-column-header-container .ew-table-header-sort {
  position: absolute;
  width: 10px;
  top: 50%;
  margin-top: -9px;
  left: 0;
  float: left;
}

.ew-grid .ew-table {
  border: 0;
  border-spacing: 0;
  border-collapse: separate;
  empty-cells: show;
  width: 100%;
}

.ew-grid .ew-table > tbody > tr > td,
.ew-grid .ew-table > tfoot > tr > td {
  padding: 0.3rem;
  border-bottom: 1px solid;
  border-top: 0px;
  border-right: 0px;
  border-left: 1px solid;
  border-color: #CFCFCF;
}

.ew-grid .ew-table > thead > tr > td:last-child,
.ew-grid .ew-table > thead > tr > th:last-child,
.ew-grid .ew-table > tbody > tr > td:last-child,
.ew-grid .ew-table > tfoot > tr > td:last-child,
.ew-grid .ew-table td.ew-table-last-col,
.ew-grid .ew-table th.ew-table-last-col {
  border-left: 0px;
}

.ew-grid .ew-table > tbody:last-child > tr:last-child > td,
.ew-grid .ew-table > tfoot > tr:last-child > td,
.ew-grid .ew-table td.ew-table-last-row {
  border-bottom: 0px;
}

.ew-grid .ew-table > tbody:last-child > tr:last-child > td.ew-table-border-bottom,
.ew-grid .ew-table > tfoot > tr:last-child > td.ew-table-border-bottom,
.ew-grid .ew-table td.ew-table-last-row.ew-table-border-bottom,
.ew-grid .ew-table .ew-table-border-bottom {
  border-bottom: 1px solid;
  border-color: #CFCFCF;
}

.ew-grid .ew-table > thead > tr > th,
.ew-grid .ew-table > thead > tr > td {
  font-weight: normal;
  background-color: #40546A;
  color: #FFFFFF;
  border-bottom: 1px solid;
  border-left: 1px solid;
  border-color: #9F9F9F;
  background-repeat: repeat-x;
  vertical-align: top;
  padding: 0.3rem;
}

.ew-grid .ew-table > thead > tr > th label,
.ew-grid .ew-table > thead > tr > td label {
  margin-bottom: 0;
}

.ew-grid .ew-table .ew-table-row {
  background-color: #FFFFFF;
  color: inherit;
}

.ew-grid .ew-table .ew-table-alt-row {
  background-color: #F7F6F3;
  color: inherit;
}

.ew-grid .ew-table .ew-table-edit-row > td {
  background-color: #FFFF99;
  color: inherit;
}

.ew-grid .ew-table .ew-table-highlight-row > td {
  background-color: #FFFFCC;
  color: inherit;
}

.ew-grid .ew-table .ew-table-select-row > td {
  background-color: #8D8D8D;
  color: #FFFFFF;
}

.ew-grid .ew-table .ew-table-footer {
  background-color: #EAEAEA;
  color: inherit;
}

.ew-add-edit-option {
  display: inline-block;
}

.ew-detail-option {
  display: inline-block;
}

.ew-action-option {
  padding-left: 10px;
  display: inline-block;
}

.ew-multi-column-form > .ew-multi-column-row {
  margin-bottom: 1rem;
}

.ew-multi-column-form > .ew-multi-column-row > div[class^=col-] > .table {
  margin-bottom: 0;
}

.ew-multi-column-form > .ew-multi-column-row > div[class^=col-] > .table .ew-table-header {
  width: 33%;
}

.ew-multi-column-form .ew-multi-column-list-option .ew-list-option-body[data-name=checkbox] label {
  margin-top: 0;
  margin-bottom: 0;
}

.ew-multi-column-list-option {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}

.ew-multi-column-list-option .ew-list-option-body {
  float: right;
}

.ew-list-option-header label.checkbox,
.table th label.checkbox {
  margin-bottom: 0;
}

.ew-list-option-separator {
  padding-left: 10px;
}

.ew-list-option-body .btn-group > .btn {
  float: none;
}

.ew-list-option-body .ew-row-link:hover,
.ew-list-option-body .ew-row-link:focus {
  text-decoration: none;
}

.ew-view-table {
  min-width: 300px;
}

.ew-view-table > tbody > tr > td:first-child {
  font-weight: bold;
  text-align: left;
}

.ew-view-table,
.ew-desktop-table {
  background-color: #FFFFFF;
}

.ew-preview-lower-panel {
  display: flex;
}

.ew-preview-lower-panel .ew-detail-count,
.ew-preview-lower-panel .ew-preview-other-options {
  float: right;
}

.ew-preview-lower-panel .ew-detail-count {
  margin-bottom: 1rem;
  padding-left: 10px;
  /*@noflip*/
  direction: ltr;
}

.icon-expand,
.icon-collapse {
  cursor: pointer;
}

.ew-export-table {
  border: 0;
  border-spacing: 0;
  border-collapse: collapse;
  empty-cells: show;
}

.ew-export-table td {
  padding: 0.3rem;
  border-bottom: 1px solid;
  border-top: 1px solid;
  border-right: 1px solid;
  border-left: 1px solid;
  border-color: #CFCFCF;
}

.ew-export-table .ew-table-header,
.ew-export-table-header td {
  background-color: #40546A;
  color: #FFFFFF;
  border-bottom: 1px solid;
  border-left: 1px solid;
  border-color: #9F9F9F;
  vertical-align: top;
}

.ew-export-table-row > td {
  background-color: #FFFFFF;
  color: inherit;
}

.ew-export-table-alt-row > td {
  background-color: #F7F6F3;
  color: inherit;
}

.ew-export-table-footer {
  background-color: #EAEAEA;
  color: inherit;
}

.ew-list-export-options,
.ew-view-export-options,
.ew-view-other-options {
  margin-bottom: 1rem;
}

.ew-row {
  margin-bottom: 1rem;
  display: flex;
}

.ew-row:last-of-type {
  margin-bottom: 0;
}

.ew-row .ew-cell {
  margin-left: 1rem;
}

.ew-row .date {
  white-space: normal;
}

.ew-search-caption,
.ew-search-operator,
.ew-search-field,
.ew-search-cond,
.ew-search-and,
.ew-search-operator2,
.ew-search-field2 {
  margin-left: 0.5rem;
  display: inline-flex;
}

.modal .ew-search-cond,
.modal .ew-search-and,
.ew-search-div .ew-search-cond,
.ew-search-div .ew-search-and {
  display: block;
  height: calc(1.5em + 0.75rem + 2px);
}

.modal .ew-search-cond .custom-control,
.modal .ew-search-and label,
.ew-search-div .ew-search-cond .custom-control,
.ew-search-div .ew-search-and label {
  margin-top: 0.375rem;
}

.ew-search-and label {
  display: inline-block;
  margin-bottom: 0;
  font-weight: normal;
}

.ew-search-operator,
.ew-search-operator2 {
  color: maroon;
  font-weight: normal;
}

#ew-email-form #subject,
#ew-email-form #message {
  width: 100%;
}

#ew-email-form #message {
  max-width: 100%;
}

.ew-rpt-grp-header,
.ew-rpt-grp-header-1,
.ew-rpt-grp-header-2,
.ew-rpt-grp-header-3,
.ew-rpt-grp-header-4,
.ew-rpt-grp-header-5,
.ew-rpt-grp-header-6 {
  border-bottom: 1px solid;
  border-left: 1px solid;
  border-color: #9F9F9F;
  font-weight: bold;
}

.ew-rpt-grp-header a:link,
.ew-rpt-grp-header-1 a:link,
.ew-rpt-grp-header-2 a:link,
.ew-rpt-grp-header-3 a:link,
.ew-rpt-grp-header-4 a:link,
.ew-rpt-grp-header-5 a:link,
.ew-rpt-grp-header-6 a:link,
.ew-rpt-grp-header a:active,
.ew-rpt-grp-header-1 a:active,
.ew-rpt-grp-header-2 a:active,
.ew-rpt-grp-header-3 a:active,
.ew-rpt-grp-header-4 a:active,
.ew-rpt-grp-header-5 a:active,
.ew-rpt-grp-header-6 a:active,
.ew-rpt-grp-header a:visited,
.ew-rpt-grp-header-1 a:visited,
.ew-rpt-grp-header-2 a:visited,
.ew-rpt-grp-header-3 a:visited,
.ew-rpt-grp-header-4 a:visited,
.ew-rpt-grp-header-5 a:visited,
.ew-rpt-grp-header-6 a:visited {
  color: inherit;
  text-decoration: none;
}

.ew-rpt-grp-hide-1 {
  display: none !important;
}

.ew-rpt-grp-header-1 {
  color: inherit;
  background-color: #FFFFFF;
}

.ew-rpt-grp-field-1 {
  background-color: #FFFFFF;
}

.ew-rpt-grp-summary-1 {
  color: inherit;
  background-color: #7F9DBF;
}

.ew-rpt-grp-hide-2 {
  display: none !important;
}

.ew-rpt-grp-header-2 {
  color: inherit;
  background-color: #FFFFFF;
}

.ew-rpt-grp-field-2 {
  background-color: #FFFFFF;
}

.ew-rpt-grp-summary-2 {
  color: inherit;
  background-color: #FFFFFF;
}

.ew-rpt-grp-hide-3 {
  display: none !important;
}

.ew-rpt-grp-header-3 {
  color: inherit;
  background-color: #FFFFFF;
}

.ew-rpt-grp-field-3 {
  background-color: #FFFFFF;
}

.ew-rpt-grp-summary-3 {
  color: inherit;
  background-color: #7F9DBF;
}

.ew-rpt-grp-hide-4 {
  display: none !important;
}

.ew-rpt-grp-header-4 {
  color: inherit;
  background-color: #FFFFFF;
}

.ew-rpt-grp-field-4 {
  background-color: #FFFFFF;
}

.ew-rpt-grp-summary-4 {
  color: inherit;
  background-color: #FFFFFF;
}

.ew-rpt-grp-hide-5 {
  display: none !important;
}

.ew-rpt-grp-header-5 {
  color: inherit;
  background-color: #FFFFFF;
}

.ew-rpt-grp-field-5 {
  background-color: #FFFFFF;
}

.ew-rpt-grp-summary-5 {
  color: inherit;
  background-color: #7F9DBF;
}

.ew-rpt-grp-hide-6 {
  display: none !important;
}

.ew-rpt-grp-header-6 {
  color: inherit;
  background-color: #FFFFFF;
}

.ew-rpt-grp-field-6 {
  background-color: #FFFFFF;
}

.ew-rpt-grp-summary-6 {
  color: inherit;
  background-color: #FFFFFF;
}

.ew-rpt-grp-aggregate {
  font-weight: bold;
}

.ew-rpt-page-summary {
  color: inherit;
  background-color: inherit;
}

.ew-rpt-grand-summary {
  color: inherit;
  background-color: inherit;
}

.ew-rpt-col-summary {
  background-color: #FFFFFF;
  color: #FFFFFF;
  padding: 0.3rem;
  border-bottom: 1px solid;
  border-left: 1px solid;
  border-color: #9F9F9F;
  background-repeat: repeat-x;
  vertical-align: top;
  padding: 3px;
  white-space: nowrap;
}

.ew-rpt-col-header {
  background-color: #40546A;
  color: #FFFFFF;
  padding: 0.3rem;
  border-bottom: 1px solid;
  border-color: #9F9F9F;
  background-repeat: repeat-x;
  vertical-align: top;
  padding: 3px;
  white-space: nowrap;
}

.ew-crosstab-values {
  margin-bottom: 0;
}

.ew-filter-caption::after {
  content: ": ";
}

.ew-drill-link:hover {
  text-decoration: none;
}

#ew-drilldown-panel .popover {
  font-size: 0.875rem;
  max-width: 1140px;
}

#ew-drilldown-panel .popover.bottom {
  margin-top: 0.3rem;
}

#ew-drilldown-panel .popover .popover-body {
  max-height: 800px;
  overflow-y: auto;
}

.ew-detail-count {
  display: none;
}

.ew-summary-value {
  display: none;
}

#ew-message-box .alert {
  background-color: transparent;
  border: 0;
  padding: 0;
  margin-bottom: 0;
}

.ew-message-dialog {
  display: table;
  min-width: 300px;
}

.ew-captcha-image {
  width: 200px;
  height: 50px;
}

.ew-required {
  color: #DC3545;
  margin-right: .5em;
  font-size: 50%;
  vertical-align: super;
}

.ew-highlight-search {
  font-weight: bold;
  background-color: #FFC107;
}

.ew-template {
  display: none;
}

.ew-items {
  min-width: 200px;
}

.ew-items .ew-item-table {
  margin: 0 0.75rem 0.5rem 0.75rem;
  vertical-align: top;
}

.ew-items .list-group {
  margin-bottom: 0.25rem;
  box-shadow: none;
  border: 0;
}

.ew-items .list-group input[type=radio] {
  display: none;
}

.ew-items .list-group .custom-control-label,
.ew-items .list-group .form-check-label {
  width: 100%;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
  padding-right: 0;
  justify-content: left;
}

.ew-items .list-group .custom-control-label::before,
.ew-items .list-group .form-check-label::before {
  border: 0;
}

.ew-items .list-group .list-group-item {
  padding-top: 0;
  padding-bottom: 0;
  border: 0;
  border-radius: 0;
}

.ew-items .list-group .list-group-item::before {
  border: 0;
}

.ew-item-table .d-table-cell {
  padding: 0.125rem 0.25rem;
  white-space: nowrap;
}

.ew-item-table .d-table-cell .custom-control-label,
.ew-item-table .d-table-cell .form-check-label {
  justify-content: left;
}

.ew-upload-table {
  margin-bottom: 0;
}

.ew-upload-table td {
  border-top: 1px;
  border-right: 0;
}

.ew-upload-table .progress {
  min-width: 75px;
}

.ew-label-row {
  margin-bottom: .25rem;
}

.ew-label-row [id^=elh_],
.ew-label-row .ew-search-caption {
  font-weight: bold;
}

.ew-label-row > span::after {
  content: " ";
}

.ew-input-row {
  margin-bottom: 1rem;
}

.table.ew-upload-table tbody:first-child tr:first-child td {
  border-top: 0;
}

input.cke_dialog_ui_input_text {
  min-height: 1.5rem;
}

li.ui-timepicker-selected,
.ui-timepicker-list li:hover,
.ui-timepicker-list .ui-timepicker-selected:hover {
  background: #007BFF;
}

.bootstrap-datetimepicker-widget {
  z-index: 1060;
  color: #212529;
}

.ew-google-map label {
  width: auto;
  display: inline;
}

.nav-tabs,
.nav-pills {
  margin-bottom: 1rem;
}

.input-group .twitter-typeahead input[name^=sv_] {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

.twitter-typeahead input[name^=sv_] {
  vertical-align: baseline !important;
}

.tt-hint {
  color: #6C757D;
}

.tt-menu {
  text-align: right;
  width: auto;
  min-width: 160px;
  /*max-height: 160px;
	overflow-y: auto;*/
  /* Comment out for Scrollable Dropdown Menu */
  z-index: 1000;
  position: absolute;
  margin-top: 1px;
  padding: 0.5rem 0;
  background-color: #FFFFFF;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
}

.tt-suggestion,
.tt-footer {
  padding: 3px 20px;
}

.tt-suggestion p {
  margin: 0;
}

.tt-suggestion:hover {
  cursor: pointer;
  color: #16181b;
  background-color: #e9ecef;
}

.tt-suggestion.tt-cursor {
  color: #16181b;
  background-color: #e9ecef;
}

.ew-detail-pages {
  margin-bottom: 1rem;
}

.ew-custom-template,
.ew-custom-template-page,
.ew-custom-template-search {
  margin-bottom: 1rem;
}

.ew-grid .ew-custom-template {
  margin-bottom: 0;
}

.ew-debug {
  margin-bottom: 1rem;
}

.ew-scroll-table .ew-scroll-table-header {
  overflow: hidden;
}

.ew-scroll-table .ew-scroll-table-header > table {
  border-collapse: separate;
}

.ew-scroll-table .ew-scroll-table-header .ew-scroll-table-overhang {
  padding: 0;
  border: 0;
  border-bottom: 1px solid;
  border-color: #9F9F9F;
  background-color: #40546A;
  background-repeat: repeat-x;
}

.ew-scroll-table .ew-list-option-body .ew-btn-group .ew-icon {
  min-width: 1rem;
}

.custom-select {
  -webkit-appearance: none;
  -moz-appearance: none;
}

.dropdown-submenu.float-left {
  float: none;
}

.dropdown-submenu.float-left > .dropdown-menu {
  right: -100%;
  margin-right: 10px;
  border-radius: 0 0.25rem 0.25rem 0.25rem;
}

/* desktop */

@media (min-width: 576px) {
  .w-col-1 {
    width: 8.33333% !important;
  }

  .w-col-2 {
    width: 16.66667% !important;
  }

  .w-col-3 {
    width: 25% !important;
  }

  .w-col-4 {
    width: 33.33333% !important;
  }

  .w-col-5 {
    width: 41.66667% !important;
  }

  .w-col-6 {
    width: 50% !important;
  }

  .w-col-7 {
    width: 58.33333% !important;
  }

  .w-col-8 {
    width: 66.66667% !important;
  }

  .w-col-9 {
    width: 75% !important;
  }

  .w-col-10 {
    width: 83.33333% !important;
  }

  .w-col-11 {
    width: 91.66667% !important;
  }

  .w-col-12 {
    width: 100% !important;
  }

  .ew-grid {
    min-width: 550px;
  }

  .form-control {
    display: inline;
    max-width: none;
  }

  .form-control:not(textarea) {
    width: auto;
  }

  .input-group > .form-control {
    width: auto;
    flex: initial;
  }

  .input-group > .form-control.ew-lookup-text {
    min-width: 20em;
  }

  [id^=fd_] > .input-group {
    width: 50%;
  }

  .ew-grid-add-edit .input-group {
    flex-wrap: nowrap;
  }

  .ew-grid-add-edit [id^=fd_] > .input-group {
    width: 100%;
    min-width: 200px;
  }

  .ew-search-operator .form-control-plaintext {
    width: auto;
  }

  input[type=text]:not([size]):not([name=pageno]):not(.cke_dialog_ui_input_text):not(.form-control-plaintext),
  input[type=password]:not([size]) {
    min-width: 250px;
  }

  .ew-custom-select,
  .ew-custom-file {
    max-width: 20em;
  }

  ul.nav li.dropdown:hover > ul.dropdown-menu {
    display: block;
  }

  .ew-auto-suggest {
    display: inline-block;
  }

  .ew-upload-table {
    width: auto;
  }

  .ew-editor,
  .mce-tinymce {
    width: auto !important;
  }

  .modal-body .ew-editor,
  .modal-body .mce-tinymce {
    width: auto !important;
  }
}

@media (min-width: 576px) and (min-width: 768px) {
  .ew-form:not(.ew-list-form):not(.ew-pager-form),
  table.ew-master-table.ew-vertical {
    width: 800px;
  }
}

@media (min-width: 576px) and (min-width: 992px) {
  .ew-form:not(.ew-list-form):not(.ew-pager-form),
  table.ew-master-table.ew-vertical {
    width: 1140px;
  }
}

@media (min-width: 576px) {
  .ew-detail-pages {
    display: table;
  }

  .modal-dialog .ew-form {
    width: 100% !important;
  }

  .ew-login-box,
  .ew-forgot-pwd-box,
  .ew-change-pwd-box {
    width: 360px;
  }
}

/* mobile */

@media (max-width: 575px) {
  .ew-grid {
    display: block;
  }

  .ew-grid .ew-grid-middle-panel {
    overflow-x: auto;
    overflow-y: visible;
  }

  .ew-multicolumn-form > .ew-multi-column-row > div[class^=col-]:not(:last-child) {
    margin-bottom: 15px;
  }

  .ew-add-opt-btn {
    margin-top: 0.375rem;
  }

  .ew-auto-suggest {
    display: block;
  }

  #ew-google-map {
    width: 100% !important;
  }

  .ew-desktop {
    display: block;
  }

  .ew-desktop .ew-desktop-table {
    border: 0;
  }

  .ew-desktop .ew-desktop-table > tbody > tr > td {
    border: 0;
    display: inline-block;
  }

  .ew-desktop .ew-desktop-table > tbody > tr > td:first-of-type {
    text-align: inherit;
    padding-left: 0.75rem;
  }

  .ew-desktop .ew-desktop-table > tbody > tr > td:last-of-type {
    display: block;
  }

  .table-striped > tbody > tr:nth-child(odd),
  .table-striped > tbody > tr:nth-child(even),
  .table-striped > tbody > tr:nth-child(odd) > td,
  .table-striped > tbody > tr:nth-child(even) > td {
    background-color: transparent;
  }

  .ew-login-box .ew-recaptcha-normal,
  .ew-forgot-pwd-box .ew-recaptcha-normal,
  .ew-change-pwd-box .ew-recaptcha-normal {
    margin-right: calc((100% - 300px)/2);
  }
}

.ew-file-label {
  justify-content: left !important;
}

.ew-file-label::after {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: inherit;
  font-style: normal;
  font-variant: normal;
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  content: "\f093" !important;
  background-color: #f4f4f4;
  color: #444;
  border-color: #ddd;
}

.ew-login-box,
.ew-forgot-pwd-box,
.ew-change-pwd-box {
  margin-right: auto;
  margin-left: auto;
}

.ew-login-box .ew-control,
.ew-forgot-pwd-box .ew-control,
.ew-change-pwd-box .ew-control {
  width: 100%;
}

.ew-login-box .input-group > .form-control,
.ew-forgot-pwd-box .input-group > .form-control,
.ew-change-pwd-box .input-group > .form-control {
  flex-grow: 1;
}

.ew-login-box #password,
.ew-forgot-pwd-box #password,
.ew-change-pwd-box #password {
  width: calc(100% - 0.875rem - 0.75rem * 2 - 1px);
}

.ew-change-pwd-box .input-group {
  flex-wrap: nowrap;
}

.ew-change-pwd-box #opwd,
.ew-change-pwd-box #npwd,
.ew-change-pwd-box #cpwd {
  width: calc(100% - 0.875rem - 0.75rem * 2 - 1px);
}

.ew-change-pwd-box #npwd.ew-password-strength {
  width: calc(100% - 0.875rem * 2 - 0.75rem * 4 - 1px * 2);
}

.ew-change-pwd-box #pst_npwd {
  margin-top: 5px;
  margin-bottom: 0px;
}

.ew-login-form,
.ew-forgot-pwd-form,
.ew-change-pwd-form {
  width: 100% !important;
}

.modal-body .ew-login-box .card,
.modal-body .ew-forgot-pwd-box .card,
.modal-body .ew-change-pwd-box .card {
  border: 0;
}

#cboxOverlay {
  background: #000 none;
}

.ew-home,
.ew-user-permission {
  display: inline-block;
}

.main-header .dropdown-item {
  color: #212529 !important;
}

.main-header .dropdown-item:hover,
.main-header .dropdown-item:focus {
  color: #16181b !important;
}

.main-header .dropdown-item.active,
.main-header .dropdown-item:active {
  color: #FFFFFF !important;
}

.main-header .dropdown-item.disabled,
.main-header .dropdown-item:disabled {
  color: #6C757D !important;
}

.ew-option:not(:last-of-type)::after {
  content: ", ";
}

.ew-lookup-text {
  height: calc(1.5em + 0.75rem + 2px);
}

div.ewjtable-busy-panel-background {
  opacity: 0.1;
  filter: alpha(opacity=50);
  z-index: 998;
  position: absolute;
  background-color: #000;
}

div.ewjtable-busy-panel-background.ewjtable-busy-panel-background-invisible {
  background-color: transparent;
}

div.ewjtable-busy-message {
  cursor: wait;
  z-index: 999;
  position: absolute;
  margin: 5px;
}

div.ewjtable-main-container > div.ewjtable-bottom-panel span.ewjtable-goto-page {
  margin-right: 10px;
}

div.ewjtable-main-container > div.ewjtable-bottom-panel span.ewjtable-goto-page input[type=text] {
  width: 22px;
}

div.ewjtable-main-container > div.ewjtable-bottom-panel span.ewjtable-goto-page select {
  margin-right: 10px;
  width: auto;
  display: inline-block;
}

div.ewjtable-main-container table.ewjtable thead tr,
div.ewjtable-main-container table.ewjtable thead th {
  border-top: 0;
}

div.ewjtable-main-container table.ewjtable thead th.ewjtable-column-header-sortable {
  cursor: pointer;
}

#cookie-consent {
  z-index: 1034;
  padding: 0;
  border-radius: 0;
}

@media (min-width: 768px) {
  #cookie-consent {
    transition: margin-right 0.3s ease-in-out;
    margin-right: 250px;
  }
}

@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  #cookie-consent {
    transition: none;
  }
}

@media (min-width: 768px) {
  .layout-top-nav #cookie-consent {
    margin-right: 0;
  }
}

@media (max-width: 991.98px) {
  #cookie-consent,
  #cookie-consent:before {
    margin-right: 0;
  }
}

#cookie-consent > .alert.alert-dismissible {
  border-radius: 0;
  margin-bottom: 0;
}

.navbar.bg-primary .nav-item.dropdown .btn-default {
  color: #444 !important;
}

.navbar.bg-secondary .nav-item.dropdown .btn-default {
  color: #444 !important;
}

.navbar.bg-success .nav-item.dropdown .btn-default {
  color: #444 !important;
}

.navbar.bg-info .nav-item.dropdown .btn-default {
  color: #444 !important;
}

.navbar.bg-warning .nav-item.dropdown .btn-default {
  color: #444 !important;
}

.navbar.bg-danger .nav-item.dropdown .btn-default {
  color: #444 !important;
}

.navbar.bg-light .nav-item.dropdown .btn-default {
  color: #444 !important;
}

.navbar.bg-dark .nav-item.dropdown .btn-default {
  color: #444 !important;
}

.dropdown-menu-lg {
  max-width: none;
}

.navbar-badge {
  font-size: .5rem;
}

.accordion > .card:not(:last-of-type) {
  margin-bottom: 0 !important;
}

.sidebar,
.control-sidebar-content {
  overflow: hidden;
}

.sidebar-dark-primary .nav-sidebar .nav-item.menu-open:not(.active) > .nav-link {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-light-primary .nav-sidebar .nav-item.menu-open:not(.active) > .nav-link {
  color: #212529;
  background-color: rgba(0, 0, 0, 0.1);
}

.sidebar-dark-secondary .nav-sidebar .nav-item.menu-open:not(.active) > .nav-link {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-light-secondary .nav-sidebar .nav-item.menu-open:not(.active) > .nav-link {
  color: #212529;
  background-color: rgba(0, 0, 0, 0.1);
}

.sidebar-dark-success .nav-sidebar .nav-item.menu-open:not(.active) > .nav-link {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-light-success .nav-sidebar .nav-item.menu-open:not(.active) > .nav-link {
  color: #212529;
  background-color: rgba(0, 0, 0, 0.1);
}

.sidebar-dark-info .nav-sidebar .nav-item.menu-open:not(.active) > .nav-link {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-light-info .nav-sidebar .nav-item.menu-open:not(.active) > .nav-link {
  color: #212529;
  background-color: rgba(0, 0, 0, 0.1);
}

.sidebar-dark-warning .nav-sidebar .nav-item.menu-open:not(.active) > .nav-link {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-light-warning .nav-sidebar .nav-item.menu-open:not(.active) > .nav-link {
  color: #212529;
  background-color: rgba(0, 0, 0, 0.1);
}

.sidebar-dark-danger .nav-sidebar .nav-item.menu-open:not(.active) > .nav-link {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-light-danger .nav-sidebar .nav-item.menu-open:not(.active) > .nav-link {
  color: #212529;
  background-color: rgba(0, 0, 0, 0.1);
}

.sidebar-dark-light .nav-sidebar .nav-item.menu-open:not(.active) > .nav-link {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-light-light .nav-sidebar .nav-item.menu-open:not(.active) > .nav-link {
  color: #212529;
  background-color: rgba(0, 0, 0, 0.1);
}

.sidebar-dark-dark .nav-sidebar .nav-item.menu-open:not(.active) > .nav-link {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-light-dark .nav-sidebar .nav-item.menu-open:not(.active) > .nav-link {
  color: #212529;
  background-color: rgba(0, 0, 0, 0.1);
}

.ew-wait {
  cursor: wait;
}

.ew-wait input,
.ew-wait select,
.ew-wait .input-group button,
.ew-wait .btn-group button,
.ew-wait .ew-dropdown-list,
.ew-wait .ew-lookup-list {
  cursor: wait;
}

#toast-container {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1050;
  padding: 20px;
}

#toast-container .toast {
  min-width: 350px;
  margin-right: auto;
}

#ew-page-spinner {
  position: absolute;
  right: 50%;
  top: 15%;
  z-index: 2000;
  opacity: 75%;
}

.ew-chart-container {
  position: relative;
}

body[dir=rtl] .custom-select {
  /*@noflip*/
  background-position: left 0.75rem center;
}

body[dir=rtl] .popover {
  /*@noflip*/
  left: 0;
  /*@noflip*/
  right: auto;
}

body[dir=rtl] .bs-popover-left {
  /*@noflip*/
  margin-right: 0.5rem;
  /*@noflip*/
  margin-left: 0;
}

body[dir=rtl] .bs-popover-left .arrow {
  /*@noflip*/
  left: auto;
  /*@noflip*/
  right: calc((0.5rem + 1px) * -1);
}

body[dir=rtl] .bs-popover-left .arrow::before,
body[dir=rtl] .bs-popover-left .arrow::after {
  /*@noflip*/
  border-width: 0.5rem 0 0.5rem 0.5rem;
}

body[dir=rtl] .bs-popover-left .arrow::before {
  /*@noflip*/
  right: 0;
  /*@noflip*/
  border-left-color: rgba(0, 0, 0, 0.25);
  /*@noflip*/
  left: auto;
  /*@noflip*/
  border-right-color: transparent;
}

body[dir=rtl] .bs-popover-left .arrow::after {
  /*@noflip*/
  right: 1px;
  /*@noflip*/
  border-left-color: #FFFFFF;
  /*@noflip*/
  left: auto;
  /*@noflip*/
  border-right-color: transparent;
}

body[dir=rtl] .bs-popover-right {
  /*@noflip*/
  margin-left: 0.5rem;
  /*@noflip*/
  margin-right: 0;
}

body[dir=rtl] .bs-popover-right .arrow {
  /*@noflip*/
  left: calc((0.5rem + 1px) * -1);
  /*@noflip*/
  right: auto;
}

body[dir=rtl] .bs-popover-right .arrow::before,
body[dir=rtl] .bs-popover-right .arrow::after {
  /*@noflip*/
  border-width: 0.5rem 0.5rem 0.5rem 0;
}

body[dir=rtl] .bs-popover-right .arrow::before {
  /*@noflip*/
  left: 0;
  /*@noflip*/
  border-right-color: rgba(0, 0, 0, 0.25);
  /*@noflip*/
  right: auto;
  /*@noflip*/
  border-left-color: transparent;
}

body[dir=rtl] .bs-popover-right .arrow::after {
  /*@noflip*/
  left: 1px;
  /*@noflip*/
  border-right-color: #FFFFFF;
  /*@noflip*/
  right: auto;
  /*@noflip*/
  border-left-color: transparent;
}

body[dir=rtl] .ew-summary-count,
body[dir=rtl] .ew-detail-count,
body[dir=rtl] .ew-crosstab-values {
  /*@noflip*/
  direction: ltr;
  unicode-bidi: bidi-override;
}

@media (min-width: 768px) {
  body.ew-layout-top-nav .content-wrapper,
  body.ew-layout-top-nav .main-footer,
  body.ew-layout-top-nav .main-header {
    margin-right: 0;
  }
}

@media (min-width: 768px) {
  body.ew-layout-top-nav .main-sidebar {
    margin-right: -250px;
  }
}

.table.ew-table.table-head-fixed thead tr:nth-child(1) th {
  background-color: #40546A;
  color: #FFFFFF;
  box-shadow: none;
}

.table.ew-table.table-head-fixed.table-dark thead tr:nth-child(1) th {
  background-color: #40546A;
  color: #FFFFFF;
  box-shadow: none;
}

input[type=search]::-ms-clear {
  display: none;
  width: 0;
  height: 0;
}

input[type=search]::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}

input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
  display: none;
}

/*END_SYSTEM_STYLES*/