/*

 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.less in the "themes" subfolder under the installed
 	 directory. Only modify the ew.less if you have the necessary knowledges in
 	 CSS.
 	 
 2. DO NOT REMOVE THE FOLLOWING COMMENTS:
    
    BEGIN_USER_STYLES
    END_USER_STYLES
 	 
 	 You MUST write your styles between these two comment lines below, styles
    outside this user styles section will be discarded.
 	 
 3. If you want to override the system styles, you can copy the styles to the
    User Styles Section, or you can use a 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-"] {
  font-family: 'ew';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  /* Better Font Rendering =========== */
  -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";
}

/* Example: Old icons
.icon-edit {
    background-position: 0 0;
    width: 16px;
    height: 16px;
    background:url(../phpimages/edit.gif);
}
.icon-edit:before {
  content: "";
}
.icon-view {
    background-position: 0 0;
    width: 16px;
    height: 16px;
    background:url(../phpimages/view.gif);
}
.icon-view:before {
  content: "";
}
.icon-copy {
    background-position: 0 0;
    width: 16px;
    height: 16px;
    background:url(../phpimages/copy.gif);
}
.icon-copy:before {
  content: "";
}
.glyphicon-trash {
    background-position: 0 0;
    width: 16px;
    height: 16px;
    background:url(../phpimages/delete.gif);
}
.glyphicon-trash:before {
    content: "";
}
*** */
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) .glyphicon-trash {
  display: inline-block;
}

a:not(.btn).ewEdit+a:not(.btn).ewInlineEdit,
a:not(.btn).ewCopy+a:not(.btn).ewInlineCopy {
  padding-left: 4px;
}

/* google map */
.gm-style-iw {
  color: ;
}

#ewGoogleMap {
  margin-bottom: 20px;
}

.ewHeaderRow {
  background-color: #a9a9a9;
  color: inherit;
}

.ewSiteTitle {
  margin-bottom: 20px;
}

.ewContentTable {
  width: 100%;
  border-spacing: 0;
}

.ewMenuColumn {
  background-color: #f5f5f5;
  color: inherit;
  width: 180px;
  vertical-align: top;
  padding: 0;
}

.ewContentColumn {
  background-color: inherit;
  padding: 20px;
  vertical-align: top;
}

#ewMenuRow .navbar {
  margin-bottom: 0;
}

/* Mobile menu */
#ewMobileMenu {
  margin-bottom: 0;
  border-radius: 0;
}

#ewMobileMenu .navbar-nav>li>a {
  color: #000000;

  /*font-weight:bold;*/
}

#ewMobileMenu .navbar-nav>.active>a {
  background-image: none;
  box-shadow: none;
  /*background: linear-gradient(#31C7F9, #2758BA);  Standard syntax */
  color: #000000;
  /*font-weight:bold;*/
}

#ewMobileMenu .dropdown-menu {
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
  /*background: linear-gradient(#31C7F9, #2758BA);  Standard syntax */
}

#ewMobileMenu .dropdown-menu>li>a {
  padding-top: 6px;
  padding-bottom: 6px;
}

#ewMobileMenu .dropdown-menu>.active>a,
#ewMobileMenu .dropdown-menu>.active>a:hover,
#ewMobileMenu .dropdown-menu>.active>a:focus {
  background-image: none;
}

#ewMobileMenu .dropdown-menu>li>a>i {
  display: inline-block;
  width: 24px;
  height: 24px;
  text-align: center;
  /* border: 1px solid #fcf8e3; */
  /* color: white; */
  background-color: #ffffff;
  padding: 5px 2px;
  border-radius: 4px;
  vertical-align: middle;
}

#ewMobileMenu .ewMenuLink {
  position: absolute;
  right: 0;
}

#ewMobileMenu .ewMenuLink>span {
  height: 24px;
  padding: 3px 0;
}

#ewMobileMenu .ewMenuLink+.ewDropdown {
  margin-right: 44px;
}

#ewMobileMenu .ewDropdown .icon-arrow-down {
  margin-left: 5px;
}

#ewMobileMenu .open>.ewDropdown>.icon-arrow-down:before {
  content: "\e617";
}

#ewMobileMenu .open>a,
#ewMobileMenu .open>a:hover,
#ewMobileMenu .open>a:focus {
  background-color: inherit;
}

/*ewMobileMenu scrollbar*/

#ewMobileMenu::-webkit-scrollbar {
  width: 8px;
  background-color: #cccccc;
}

#ewMobileMenu::-webkit-scrollbar-thumb {
  background-color: #333333;
}

#ewMobileMenu::-webkit-scrollbar-thumb:hover {
  background-color: #999999;
  border: 1px solid #333333;
}

#ewMobileMenu::-webkit-scrollbar-thumb:active {
  background-color: #666666;
  border: 1px solid #333333;
}

#ewMobileMenu::-webkit-scrollbar-track {
  border: 1px gray solid;
  -webkit-box-shadow: 0 0 2px gray inset;
}

.ewFooterRow {
  background-color: #000000;
  color: #ffffff;
}

.ewFooterText {
  padding: 4px;
}

#RootMenu {
  width: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background-color: #f5f5f5;
  display: block;
  position: relative;
  float: none;
  margin-top: 0;
}

.ewIcon {
  font-size: 16px;
  text-shadow: none;
  display: block;
}

.ewCaret{
  margin: 6px 0;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.ewCaption {
  font-size: 16px;
  text-shadow: none;
  display: inline-block;
}

.ewText {
  font-size: 12px;
  padding-left: 5px;
  text-shadow: none;
  font-weight: normal;
}

.ewRed {
  color: #B70000;
}

.ewGreen {
  color: green;
}

.ewBread {
  font-size: 18px;
  text-shadow: none;
  display: block;
}

.onIcon {
  display: inline-block;
  width: 21px;
  text-align: center;
  font-size: 16px;
  margin-right: 3px;
}

.ewImage {
  margin: 1px;
}

.dropdown-toggle .ewIcon,
.dropdown-menu .ewIcon {
  float: left !important;
}

.breadcrumb {
  display: inline-block;
  font-size: 16px;
  vertical-align: middle;
}

.ewToolbar .breadcrumb {
  vertical-align: middle;
  padding-top: 7px;
  padding-bottom: 7px;
  margin-right: 10px;
}

.ewToolbar .ewExportOption,
.ewToolbar .ewImportOption,
.ewToolbar .ewSearchOption,
.ewToolbar .ewActionOption,
.ewToolbar .ewDetailOption,
.ewToolbar .ewLanguageOption {
  display: inline-block;
  vertical-align: middle;
  margin-bottom: 20px;
}

.ewToolbar .ewLanguageOption {
  float: right;
}

.ewQuickSearch .input-group-btn .btn {
  max-height: 34px;
  min-height: 34px;
}

.ewGrid {
  padding: 0;
  border: 1px solid #9f9f9f;
  margin-bottom: 20px;
  display: table;
  max-width: 100%;
  /*overflow-x: auto;
  display: block;*/
}

.ewGrid .ewGridContent {
  padding: 0;
  border: 1px solid #9f9f9f;
}

.ewGrid .ewGridUpperPanel {
  border-bottom: 1px solid #9f9f9f;
}

.ewGrid .ewTable,
.ewGrid .ewGridMiddlePanel {
  border: 0;
  margin-bottom: 0;
  overflow-x: visible;
}

.ewGrid .ewGridLowerPanel {
  border-top: 1px solid #cfcfcf;
}

.form-horizontal .ewTable .form-group {
  margin-left: 0;
  margin-right: 0;
}

.ewGridUpperPanel,
.ewGridLowerPanel {
  padding: 3px;
  border-left: 0;
  border-right: 0;
  background-color: #ededed;
  color: #394ea2;
}

.ewGridUpperPanel input,
.ewGridLowerPanel input,
.ewGridUpperPanel select,
.ewGridLowerPanel select,
.ewGridUpperPanel .btn-sm,
.ewGridLowerPanel .btn-sm {
  padding-top: 3px;
  padding-bottom: 3px;
  height: 26px;
}

.ewGridUpperPanel .btn-sm .ewIcon,
.ewGridLowerPanel .btn-sm .ewIcon {
  top: 0;
}

.ewGridUpperPanel .ewPager,
.ewGridLowerPanel .ewPager {
  margin-bottom: 2px;
}

.ewStdTable {
  border: 0;
  border-spacing: 0;
}

.ewStdTable>tbody>tr>td {
  padding: 0;
}

.ewSearchPanel {
  margin-bottom: 20px;
}

.ewSearchPanel .panel-body {
  padding: 0;
}

.ewPager {
  float: left;
  padding-right: 20px;
  margin-bottom: 20px;
}

.ewPager span:not(.glyphicon):not([class^=icon-]) {
  float: left;
  padding-top: 4px;
  padding-bottom: 4px;
}

.ewPager.ewRec span {
  padding-top: 4px;
  padding-bottom: 4px;
}

.ewPager .input-group>input.form-control[name=pageno] {
  width: 6em;
}

.ewPager .ewPrevNext,
.ewPager .ewNumericPage {
  float: left;
}

.ewPager .ewPrevNext .input-group-btn:first-child>.btn+.btn {
  margin-left: 0;
}

.ewPager .pagination {
  display: block;
  margin: 0;
}

.ewPager .pagination>li>a,
.ewPager .pagination>li>span {
  padding-top: 3px;
  padding-bottom: 3px;
}

.ewListOtherOptions {
  margin-bottom: 2px;
  float: left;
}

input[name=pageno] {
  height: 30px;
}

.ewGridUpperPanel,
.ewGridLowerPanel {
  padding: 3px;
  border-left: 0;
  border-right: 0;
  background-color: #ededed;
  color: #394ea2;
}

.ewGridUpperPanel input,
.ewGridLowerPanel input,
.ewGridUpperPanel select,
.ewGridLowerPanel select,
.ewGridUpperPanel .btn-sm,
.ewGridLowerPanel .btn-sm {
  padding-top: 3px;
  padding-bottom: 3px;
  height: 26px;
}

.ewGridUpperPanel select,
.ewGridLowerPanel select {
  line-height: 26px;
}

.ewGridUpperPanel .ewPager,
.ewGridLowerPanel .ewPager {
  margin-bottom: 2px;
}

button.ewButton {
  min-width: 75px;
}

a.ewButton {
  min-width: 49px;
}

.ewButtonDropdown {
  min-width: 46px;
}

.ewTabContent {
  padding: 0;
  border: 0;
}

.ewPointer {
  cursor: pointer;
}

.ewAggregate:after {
  content: ": ";
}

.ewTableHeader .ewTableHeaderBtn {
  position: relative;
  padding-right: 12px;
  white-space: nowrap;
}

.ewTableHeader .ewTableHeaderBtn .ewTableHeaderSort {
  position: absolute;
  width: 10px;
  top: 50%;
  margin-top: -9px;
  right: 0;
  float: right;
}

.ewTableHeader .ewTableHeaderBtn .caret {
  margin-left: 0;
  border-top: 4px solid;
}

.ewTableHeader .ewTableHeaderBtn .ewSortUp {
  border-top: 0;
  content: "";
  border-bottom: 4px solid;
}

.ewGrid .ewTable {
  border: 0;
  border-spacing: 0;
  border-collapse: separate;
  empty-cells: show;
  width: 100%;
}

.ewGrid .ewTable>tbody>tr>td,
.ewGrid .ewTable>tfoot>tr>td {
  padding: 3px;
  border-bottom: 1px solid;
  border-top: 0px;
  border-left: 0px;
  border-right: 1px solid;
  border-color: #cfcfcf;
}

.ewGrid .ewTable>thead>tr>td:last-child,
.ewGrid .ewTable>thead>tr>th:last-child,
.ewGrid .ewTable>tbody>tr>td:last-child,
.ewGrid .ewTable>tfoot>tr>td:last-child,
.ewGrid .ewTable td.ewTableLastCol,
.ewGrid .ewTable th.ewTableLastCol {
  border-right: 0px;
}

.ewGrid .ewTable>tbody:last-child>tr:last-child>td,
.ewGrid .ewTable>tfoot>tr:last-child>td,
.ewGrid .ewTable td.ewTableLastRow {
  border-bottom: 0px;
}

.ewGrid .ewTable>tbody:last-child>tr:last-child>td.ewTableBorderBottom,
.ewGrid .ewTable>tfoot>tr:last-child>td.ewTableBorderBottom,
.ewGrid .ewTable td.ewTableLastRow.ewTableBorderBottom,
.ewGrid .ewTable .ewTableBorderBottom {
  border-bottom: 1px solid;
  border-color: #cfcfcf;
}

.ewGrid .ewTable>thead>tr>th,
.ewGrid .ewTable>thead>tr>td {
  font-weight: normal;
  background-color: #9c9ab7;
  color: #000000;
  border-bottom: 1px solid;
  border-right: 1px solid;
  border-color: #9f9f9f;
  background-image: -webkit-linear-gradient(top, #e4e5ef 0%, #9c9ab7 100%);
  background-image: -o-linear-gradient(top, #e4e5ef 0%, #9c9ab7 100%);
  background-image: linear-gradient(to bottom, #e4e5ef 0%, #9c9ab7 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe4e5ef', endColorstr='#ff9c9ab7', GradientType=0);
  background-repeat: repeat-x;
  vertical-align: top;
  padding: 3px;
}

.ewGrid .ewTable .ewTableHeader .ewTableHeaderBtn .caret {
  border-top-color: #000000;
}

.ewGrid .ewTable .ewTableHeader .ewTableHeaderBtn .ewSortUp {
  border-bottom-color: #000000;
}

.ewGrid .ewTable .ewTableRow {
  background-color: #ffffff;
  color: inherit;
}

.ewGrid .ewTable .ewTableAltRow {
  background-color: #ededeb;
  color: inherit;
}

.ewGrid .ewTable .ewTableEditRow>td {
  background-color: #ffd700;
  color: inherit;
}

.ewGrid .ewTable .ewTableHighlightRow>td {
  background-color: #fffacd;
  color: inherit;
}

.ewGrid .ewTable .ewTableSelectRow>td {
  background-color: #8d8d8d;
  color: #ffffff;
}

.ewGrid .ewTable .ewTableFooter {
  background-color: #f2f2f2;
  color: inherit;
}

.ewCheckbox {
  text-align: center;
}

.ewOtherOption {
  display: inline-block;
}

.ewAddEditOption {
  display: inline-block;
}

.ewDetailOption {
  display: inline-block;
}

.ewActionOption {
  padding-right: 10px;
  display: inline-block;
}

.ewMultiColumnForm>.ewMultiColumnRow {
  margin-bottom: 20px;
}

.ewMultiColumnForm>.ewMultiColumnRow>div[class^=col-]>.table {
  margin-bottom: 0;
}

.ewMultiColumnForm>.ewMultiColumnRow>div[class^=col-]>.table .ewTableHeader {
  width: 33%;
}

.ewMultiColumnForm .ewMultiColumnListOption .ewListOptionBody[data-name=checkbox] label {
  margin-top: 0;
  margin-bottom: 0;
}

.ewMultiColumnListOption {
  padding-top: 2px;
  padding-bottom: 2px;
}

.ewMultiColumnListOption .ewListOptionBody {
  float: left;
}

.ewListOptionHeader label.checkbox,
.table th label.checkbox {
  margin-bottom: 0;
}

.ewListOptionSeparator {
  padding-right: 5px;
}

.ewListOptionBody .btn-sm {
  padding-top: 3px;
  padding-bottom: 3px;
}

.ewListOptionBody .btn-group>.btn {
  float: none;
}

.ewListOptionBody .ewRowLink:hover,
.ewListOptionBody .ewRowLink:focus {
  text-decoration: none;
}

.ewViewTable {
  min-width: 300px;
}

.ewViewTable>tbody>tr>td:first-child {
  font-weight: bold;
  text-align: right;
}

.tab-content .ewGrid {
  margin-bottom: 0;
}

.ewPreviewLowerPanel {
  padding: 3px;
  border-left: 0;
  border-right: 0;
}

.ewPreviewLowerPanel .ewDetailCount,
.ewPreviewLowerPanel .ewPreviewOtherOptions {
  float: left;
}

.ewPreviewLowerPanel .ewDetailCount {
  margin-bottom: 20px;
  padding-right: 10px;
  /*@noflip*/
  direction: ltr;
}

.icon-expand,
.icon-collapse {
  cursor: pointer;
}

.ewExportTable {
  border: 0;
  border-spacing: 0;
  border-collapse: collapse;
  empty-cells: show;
}

.ewExportTable td {
  padding: 3px;
  border-bottom: 1px solid;
  border-top: 1px solid;
  border-left: 1px solid;
  border-right: 1px solid;
  border-color: #cfcfcf;
}

.ewExportTable .ewTableHeader,
.ewExportTableHeader td {
  background-color: #9c9ab7;
  color: #000000;
  border-bottom: 1px solid;
  border-right: 1px solid;
  border-color: #9f9f9f;
  vertical-align: top;
}

.ewExportTableRow>td {
  background-color: #ffffff;
  color: inherit;
}

.ewExportTableAltRow>td {
  background-color: #ededeb;
  color: inherit;
}

.ewExportTableFooter {
  background-color: #f2f2f2;
  color: inherit;
}

.ewListExportOptions,
.ewViewExportOptions,
.ewViewImportOptions,
.ewViewOtherOptions {
  margin-bottom: 20px;
}

.ewRow {
  margin-bottom: 20px;
  white-space: nowrap;
}

.ewRow .ewCell {
  padding-right: 10px;
}

.ewSearchCond,
.ewSearchOperator {
  display: inline-block;
}

.modal .ewSearchCond {
  display: block;
  height: 34px;
}

.ewSearchCond label {
  display: inline-block;
  margin-left: 10px;
  font-weight: normal;
}

.ewSearchOperator {
  color: maroon;
  font-weight: normal;
}

.ewSeparator {
  color: gray;
}

.ewLinkSeparator {
  padding-right: 10px;
}

.ewLinkSeparator .ewIcon {
  display: inline-block;
}

#ewEmailForm #subject,
#ewEmailForm #message {
  width: 100%;
}

#ewEmailForm #message {
  max-width: 100%;
}

.ewReportTable {
  border: 0px;
  border-collapse: collapse;
}

.ewReportTable td {
  padding: 3px;
}

.ewGroupIndent {
  width: 5px;
}

.ewGroupField {
  font-weight: bold;
}

.ewGroupName {
  font-weight: bold;
}

.ewGroupHeader {
  vertical-align: top;
  border-bottom: 3px double Gray;
  border-top: 3px double Gray;
}

.ewGroupSummary {
  border-top: 1px solid Gray;
}

.ewGroupAggregate {
  font-weight: bold;
}

.ewGrandSummary {
  border-top: 1px solid Gray;
}

#ewMsgBox .alert {
  background-color: transparent;
  border: 0;
}

.ewMessageDialog {
  display: table;
  min-width: 300px;
}

/* message - reserved for compatibility */
.ewMessageTable {
  margin: 1em 0px 1em 0px;
}

.ewRequired {
  color: red;
}

.ewHighlightSearch {
  font-weight: bold;
  background-color: yellow;
}

.ewTemplate {
  display: none;
}

.ewReadOnlyTextArea {
  padding-bottom: 5px;
  padding-right: 5px;
  position: relative;
}

.ewReadOnlyTextAreaData {
  overflow: auto;
  height: 100%;
  width: 100%;
}

.ewResizeHandle {
  height: 5px;
  width: 5px;
  bottom: 0;
  right: 0;
  cursor: se-resize;
  position: absolute;
}

.calendar {
  z-index: 10000;
}

.ewUploadTable {
  margin-bottom: 0;
}

.ewUploadTable td {
  border-top: 1px;
  border-left: 0;
}

.ewUploadTable .progress {
  min-width: 75px;
}

.ewLabelRow {
  margin-bottom: 5px;
}

.ewLabelRow [id^=elh_],
.ewLabelRow .ewSearchCaption {
  font-weight: bold;
}

.ewLabelRow>span:after {
  content: " ";
}

.ewInputRow {
  margin-bottom: 20px;
}

.table-striped tbody>tr:nth-child(odd)>td,
.table-striped tbody>tr:nth-child(odd)>th {
  background-color: transparent;
}

.table-striped>tbody>tr:nth-child(odd)>td,
.table-striped>tbody>tr:nth-child(odd)>th {
  background-color: #f9f9f9;
}

.table.ewUploadTable tbody:first-child tr:first-child td {
  border-top: 0;
}

input.cke_dialog_ui_input_text {
  min-height: 24px;
}

li.ui-timepicker-selected,
.ui-timepicker-list li:hover,
.ui-timepicker-list .ui-timepicker-selected:hover {
  background: #337ab7;
}

.ewGoogleMap label {
  width: auto;
  display: inline;
}

.nav-tabs,
.nav-pills {
  margin-bottom: 20px;
}

/* twitter typeahead */
.tt-hint {
  color: #777777;
}

.tt-dropdown-menu {
  width: auto;
  min-width: 160px;
  /*max-height: 160px;
	overflow-y: auto;*/
  /* Comment out for Scrollable Dropdown Menu */
  z-index: 10001;
  position: relative;
  margin-top: 1px;
  padding: 5px 0;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}

.tt-suggestion {
  padding: 3px 20px;
}

.tt-suggestion p {
  margin: 0;
}

.tt-suggestion.tt-cursor {
  color: #ffffff;
  background-color: #337ab7;
}

.unSpinner {
  position: fixed;
  top: 0;
  right: 0;
  border-top: 12.3vw solid #333399;
  border-left: 12.3vw solid transparent;
  /*opacity: 0.8;
    filter: alpha(opacity=80);  For IE8 and earlier */
}

.unSpinner:before {
  position: fixed;
  top: 0;
  right: 0;
  width: 6vw;
  height: 6vw;
  margin-top: .5vw;
  margin-right: .5vw;
}

.unSpinner:not(:required):before {
  content: '';
  border-radius: 50%;
  border: 1vw solid transparent;
  border-top-color: #FFFFFF;
  border-bottom-color: #FFFFFF;
  animation: unSpinner .8s ease infinite;
  -webkit-animation: unSpinner .8s ease infinite;
  -moz-animation: unSpinner .8s ease infinite;
  -o-animation: unSpinner .8s ease infinite;
}

@keyframes unSpinner {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@-webkit-keyframes unSpinner {
  from {
    -webkit-transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
  }
}

@-moz-keyframes unSpinner {
  from {
    -moz-transform: rotate(0deg);
  }

  to {
    -moz-transform: rotate(360deg);
  }
}

@-o-keyframes unSpinner {
  from {
    -o-transform: rotate(0deg);
  }

  to {
    -o-transform: rotate(360deg);
  }
}

.ewSpinner {
  color: #400080;
  font-size: 90px;
  text-indent: -9999em;
  overflow: hidden;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  margin: 72px auto;
  position: relative;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load6 1.7s infinite ease;
  animation: load6 1.7s infinite ease;
}

@-webkit-keyframes load6 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }

  5%,
  95% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }

  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }

  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
  }

  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}

@keyframes load6 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }

  5%,
  95% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }

  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }

  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
  }

  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}

/* Old 

@keyframes spin {
  to {
    -webkit-transform: rotate(1turn);
    -ms-transform: rotate(1turn);
    -o-transform: rotate(1turn);
    transform: rotate(1turn);
  }
}
@-webkit-keyframes spin {
  to {
    -webkit-transform: rotate(1turn);
    -ms-transform: rotate(1turn);
    -o-transform: rotate(1turn);
    transform: rotate(1turn);
  }
}

.ewSpinner {
  position: relative;
  display: inline-block;
  width: 5em;
  height: 5em;
  margin: 0 .5em;
  overflow: hidden;
  -webkit-animation: spin 1s infinite steps(8);
  -o-animation: spin 1s infinite steps(8);
  animation: spin 1s infinite steps(8);
  vertical-align: middle;
  font-size: 4px;
}
.ewSpinner:before,
.ewSpinner:after,
.ewSpinner > div:before,
.ewSpinner > div:after {
  content: "";
  position: absolute;
  top: 0;
  left: 2.25em;
  width: .5em;
  height: 1.5em;
  border-radius: .2em;
  background: #eee;
  box-shadow: 0 3.5em #eee;
  -webkit-transform-origin: 50% 2.5em;
  -moz-transform-origin: 50% 2.5em;
  -ms-transform-origin: 50% 2.5em;
  transform-origin: 50% 2.5em;
}
.ewSpinner:before {
  background: #555;
}
.ewSpinner:after {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  background: #777;
}
.ewSpinner > div:before {
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
  background: #999;
}
.ewSpinner > div:after {
  -webkit-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  transform: rotate(-135deg);
  background: #bbb;
}*/
.ewMultiPage {
  margin-bottom: 20px;
}

.ewCustomTemplate,
.ewCustomTemplatePage,
.ewCustomTemplateSearch {
  margin-bottom: 20px;
}

.ewGridMiddlePanel .ewCustomTemplate {
  margin-bottom: 0;
}

/* desktop */
@media (min-width: 768px) {
  #ewContentTable {
    display: table;
  }

  #ewContentRow {
    display: table-row;
  }

  #ewMenuColumn,
  #ewContentColumn {
    display: table-cell;
  }

  .ewBasicSearch .ewRow {
    display: table;
  }

  .ewViewTable {
    width: auto;
  }

  .ewItemTable td {
    vertical-align: top;
    padding-right: 20px;
  }

  .ewItemList {
    display: inline-table;
  }

  /* override bootstrap */
  .form-horizontal {
    margin-left: auto;
    margin-right: auto;
  }

  .form-control {
    display: inline;
    width: auto;
    max-width: none;
  }

  .input-group>.form-control,
  .input-group>.input-group-btn {
    width: auto;
  }

  .form-inline .radio,
  .form-inline .checkbox,
  .radio,
  .checkbox {
    font-weight: normal;
    border: none;
    box-shadow: none;
    background-color: inherit;
  }

  .form-horizontal .radio,
  .form-horizontal .checkbox {
    font-weight: normal;
  }

  .ewCheckbox {
    padding-top: 5px;
    padding-right: 10px;
    font-weight: normal;
  }

  .ewInputLarge {
    width: 210px;
  }

  input[type=text]:not([size]):not([name=pageno]):not(.cke_dialog_ui_input_text),
  input[type=password]:not([size]) {
    min-width: 250px;
  }

  ul.nav li.dropdown:hover>ul.dropdown-menu {
    display: block;
  }

  .dropdown-submenu:not(.active):hover>a,
  .dropdown-submenu:not(.active):focus>a {
    text-decoration: none;
    color: #262626;
    background-image: -webkit-linear-gradient(top, #eeeeee 0%, #e1e1e1 100%);
    background-image: -o-linear-gradient(top, #eeeeee 0%, #e1e1e1 100%);
    background-image: linear-gradient(to bottom, #eeeeee 0%, #e1e1e1 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffeeeeee', endColorstr='#ffe1e1e1', GradientType=0);
  }

  .dropdown-submenu {
    position: relative;
  }

  .dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    border-radius: 0 4px 4px 4px;
  }

  .dropdown-submenu:hover>.dropdown-menu {
    display: block;
  }

  .dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #cccccc;
    margin-top: 5px;
    margin-right: -10px;
  }

  .dropdown-submenu:hover>a:after {
    border-left-color: #262626;
  }

  .dropdown-submenu.active:hover>a:after,
  .dropdown-submenu.active:focus>a:after {
    border-left-color: #ffffff;
  }

  .dropdown-submenu.pull-left {
    float: none;
  }

  .dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    border-radius: 4px 0 4px 4px;
  }

  #ewMenuRow .navbar {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    margin-bottom: 0;
  }

  .ewAutoSuggest {
    display: inline-block;
  }

  .ewUploadTable {
    width: auto;
  }

  .ewcke,
  .mce-tinymce {
    width: 750px !important;
  }
}

/* mobile */
@media (max-width: 767px) {

  /*.ewGrid {
    display: block;
  }*/
  .ewGrid .ewGridMiddlePanel {
    overflow-x: auto;
    overflow-y: visible;
  }

  #ewContentTable,
  #ewContentRow,
  #ewContentColumn {
    display: block;
  }

  .ewMultiColumnForm>.ewMultiColumnRow>div[class^=col-]:not(:last-child) {
    margin-bottom: 15px;
  }

  .ewItemTable {
    width: 100%;
  }

  .ewItemTable td {
    display: block;
    width: 100%;
  }

  .ewItemTable td:empty {
    display: none;
  }

  .ewPager .input-group-btn {
    width: auto;
  }

  .ewAddOptBtn {
    margin-top: 6px;
  }

  .ewAutoSuggest {
    display: block;
  }

  #ewGoogleMap {
    width: 100% !important;
  }
}

#ewLoginOptions {
  text-decoration: none;
  cursor: pointer;
}

#ewLoginOptions span:before {
  content: "\e617";
}

#ewLoginOptions.collapsed span:before {
  content: "\e616";
}

#cboxOverlay {
  background: #000 none;
}

.ewHome,
.ewUserPermission {
  display: inline-block;
}

.ewSearch {
  display: inline-block;
}

.FontAutoSize14 {
  font-size: 14px;
}

@media (max-width:450px) {
  .FontAutoSize14 {
    font-size: 3vw;
  }
}

.FontAutoSize18 {
  font-size: 18px;
}

@media (max-width:350px) {
  .FontAutoSize18 {
    font-size: 5vw;
  }
}


/*END_SYSTEM_STYLES*/

/*BEGIN_USER_STYLES*/
.logo {
  display: block;
}

.checkbox-switch>input[type="checkbox"] {
  display: none;
}

.checkbox-switch>label {
  cursor: pointer;
  height: 0px;
  position: relative;
  width: 40px;
}

.checkbox-switch>label::before {
  background: rgb(0, 0, 0);
  box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  content: '';
  height: 16px;
  margin-top: -8px;
  position: absolute;
  opacity: 0.3;
  transition: all 0.4s ease-in-out;
  width: 40px;
}

.checkbox-switch>label::after {
  background: #b70606;
  border-radius: 16px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  content: '';
  height: 24px;
  left: -4px;
  margin-top: -8px;
  position: absolute;
  top: -4px;
  transition: all 0.3s ease-in-out;
  width: 24px;
}

.checkbox-switch>input[type="checkbox"]:checked+label::before {
  background: inherit;
  opacity: 1;
}

.checkbox-switch>input[type="checkbox"]:checked+label::after {
  background: green;
  left: 20px;
}

/* Hiding the checkbox, but allowing it to be focused */
.badgebox {
  display: none;
}

.badgebox+.badge {
  /* Move the check mark away when unchecked */
  text-indent: -999999px;
  /* Makes the badge's width stay the same checked and unchecked */
  width: 27px;
  margin-right: 10px;
}

.badgebox:focus+.badge {
  /* Set something to make the badge looks focused */
  /* This really depends on the application, in my case it was: */

  /* Adding a light border */
  box-shadow: inset 0px 0px 5px;
  /* Taking the difference out of the padding */
}

.badgebox:checked+.badge {
  /* Move the check mark back when checked */
  text-indent: 0;
}

.company-login {
  padding: 8px 15px;
  margin-bottom: 20px;
  list-style: none;
  border-radius: 4px;
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  vertical-align: middle;
}

.login-panel {
  /*position: absolute;*/
  width: 100%;
  max-width: 450px;
  left: 50%;
  padding: 0px 10px;
  -ms-transform: translateX(-50%) translateY(0px);
  -webkit-transform: translate(-50%, 0px);
  transform: translate(-50%, 0px);
}

.camVideo:hover .camSnap {
  display: block;
}

.camSnap {
  /*display: none;
    min-width: 50px;
    margin-left: -125px;*/
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 30px;
  font-size: 15px;
}

.singTable {
  width: 100%;
}

.singTable td {
  width: 25%;
}

.singTable div {
  width: 50%;
  border-top: 1px solid #999999;
  white-space: nowrap;
}

.navbar-top-links {
  margin-right: 0;
}

.navbar-top-links li {
  display: inline-block;
}

.navbar-top-links li:last-child {
  margin-right: 15px;
}

.navbar-top-links li a {
  padding: 15px;
  min-height: 50px;
}

.navbar-top-links .dropdown-menu li {
  display: block;
}

.navbar-top-links .dropdown-menu li:last-child {
  margin-right: 0;
}

.navbar-top-links .dropdown-menu li a {
  padding: 3px 20px;
  min-height: 0;
}

.navbar-top-links .dropdown-menu li a div {
  white-space: normal;
}

.navbar-top-links .dropdown-messages,
.navbar-top-links .dropdown-tasks,
.navbar-top-links .dropdown-alerts {
  width: 310px;
  min-width: 0;
}

.navbar-top-links .dropdown-messages {
  margin-left: 5px;
}

.navbar-top-links .dropdown-tasks {
  margin-left: -59px;
}

.navbar-top-links .dropdown-alerts {
  margin-left: -123px;
}

.navbar-top-links .dropdown-user {
  right: 0;
  left: auto;
}


.navbar-login {
  width: 305px;
  padding: 10px;
  padding-bottom: 0px;
}

.navbar-login-session {
  padding: 10px;
  padding-bottom: 0px;
  padding-top: 0px;
}

.icon-size {
  font-size: 87px;
}

.ewPagerForm {
  float: right;
}

.btn-sm {
  line-height: normal;
}

.ewMobileDialog td {
  display: block;
  width: 100%;
  margin: 20px 0px;
}

.ewMobileDialog td[data-name=button] {
  display: none;
}

.ewMobCap {
  font-weight: bold;
  margin-bottom: 5px;
}

.dropdown-main-menu > li:has(ul){
  display: table-cell;
  position: relative;
}

@media (max-width: 768px) {
  .dropdown-main-menu > li:has(ul){
    display: unset !important;
  }

}

.dropdown-main-menu > li:has(ul) > a.ewDropdown{
  display: block;
  padding: 0.5rem 1rem;
  margin-bottom: 0;
  white-space: nowrap;
  pointer-events: none;
}

.dropdown-cmenu{
  position: static;
  float: none;
  width: auto;
  margin-top: 0;
  background-color: transparent;
  border: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.dropdown-main-menu > li > ul.dropdown-menu{
  position: static;
  float: none;
  width: auto;
  margin-top: 0;
  background-color: transparent;
  border: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  display: unset;
}

#echoActive {
  display: none;
  min-width: 250px;
  margin-left: -125px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
  font-size: 15px;
}

.browser-logo {
  width: 40px;
  height: 40px;
}

select[multiple] {
  resize: vertical;
}

select[multiple] option:checked,
option:hover {
  background-color: #1E90FF;
  color: #FFFFFF;
}

/*select:not([multiple]) option:hover {
    outline-color: red;
    background-color:#1E90FF;
    color: #FFFFFF;
}
*/
.submenu ul {
  background-color: white !important;
}

.submenu ul>li>a {
  color: black !important;
}

.submenu ul>li>a>i {
  width: 28px;
}


.Flip-Horizontal {
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
}

.suggestion-footer {
  white-space: nowrap;
  color: #0c0253;
  cursor: pointer;
  padding: 4px 20px;
  background-color: #F2F2F2;
  font-weight: bold;
}

.suggestion-footer:hover {
  background-color: #d2d1d1;
}

.modal-stl {
  text-align: center;
  padding: 0 !important;
}

.modal-stl:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
  /* Adjusts for spacing */
}

.modal-dialog-stl {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

.tooltip .in {
  filter: alpha(opacity=100);
  opacity: 1.0 !important;
}


.mobile-text-view {
  width: 100%;
  max-width: 200px;
  display: inline-block;
}

.mobile-text-view p {
  max-width: 200px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.floating-chat {
  position: fixed;
  right: 10px;
  bottom: 10px;
  font-size: 30px;
  color: darkgreen;
  border-radius: 10px;
  width: 50px;
  height: 50px;
  text-align: center;
  text-shadow: 3px 5px 7px 1px grey;
}

.floating-chat i {
  vertical-align: middle;
}

.floating-chat:hover {
  color: black;
}


.hr-text {
  line-height: 1em;
  position: relative;
  outline: 0;
  border: 0;
  color: black;
  text-align: center;
  height: 1.5em;
  opacity: .5;
  &:before {
    content: '';
    background: linear-gradient(to right, transparent, #818078, transparent);
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
  }
  &:after {
    content: attr(data-content);
    position: relative;
    display: inline-block;
    color: rgb(36, 36, 36);
    padding: 0 .5em;
    line-height: 1.5em;
    background-color: #fcfcfa;
  }
}



/*END_USER_STYLES*/

@media screen {
  .ewGridMiddlePanel .ewTableHeader th {
    position: -webkit-sticky;
    position: sticky;
    top: 50px;
    z-index: 9;
  }
}

@media only screen and (max-width: 768px) {
  .ewGridMiddlePanel .ewTableHeader th {
    top: 0;
  }
}


@media (min-width: 768px) {
  .ewGrid select.form-control {
    max-width: 400px;
  }
}