@font-face {
  font-family: 'RobotoRegular';
  src: url('/fonts/Roboto-Regular-webfont.eot');
  src: url('/fonts/Roboto-Regular-webfont.eot?#iefix') format('embedded-opentype'),
  url('/fonts/Roboto-Regular-webfont.woff') format('woff'),
  url('/fonts/Roboto-Regular-webfont.ttf') format('truetype'),
  url('/fonts/Roboto-Regular-webfont.svg#RobotoRegular') format('svg');
  font-weight: normal;
  font-style: normal;
}

body {
	font-size: 15px;
	line-height: 1.6;
	color: #fff;
  font-family: RobotoRegular,Arial,sans-serif;
  margin: 0 auto;
/*  width: 1200px;*/
  width: 96%;
  background: #5f5b5a;
}

@media screen and (max-width: 1199px) {
  body {
/*    width: calc(100vw-1rem);*/
    width: 98%;
  }
}

#banner {
  margin: 0 -20px 15px;
  box-shadow: 3px 3px 10px #1A1311;
  height: 90px;
  padding: 0 20px;
  width: 100%;
}

#banner img {
  float: left;
}
  
#banner h1 {
  float: left;
	color: #3484D2;
	color: white;
  margin: 0;
  padding-top: 12px;
  padding-left: 15px;
  text-shadow: 0px 2px 12px #1A1311;
/*  width: 380px;*/
  font-size: 2.7em;
  font-weight: 900;
}

@media screen and (max-width: 530px) {
  #banner h1 {
    font-size: 1.5em;
    margin-top: 15px;
  }
}

hr { height: 1px; border: none; border-bottom: 1px solid silver; color: silver; }

input, textarea, select, option {
  font-family: RobotoRegular,Arial,sans-serif;  
  font-size: 1.0em;
  border-radius: 3px;
  border: 1px solid silver;
  padding: 2px 4px;
}

.center { text-align: center; }
.left { text-align: left; }
.right { text-align: right; }
.red { color: red; }
.redl { color: #ff8888; }
.green { color: #00FF00; }

.outline-black { text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000; }
.outline-white { text-shadow: -2px -2px 0 #FFFFFF, 2px -2px 0 #FFFFFF, -2px 2px 0 #FFFFFF, 2px 2px 0 #FFFFFF; }

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
    background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

input[type=file] {
  border: none;
}

@media (max-width: 600px) {
  #banner h1 { background: none; }
}

#main-menu {
  clear: both;
  margin: 8px 0 0;
  padding: 7px 18px 0px;
  font-size: 1.7em;
/*  border-bottom: 1px dotted #eff4f7;*/
}

@media (min-width: 800px) and (max-width: 1400px) {
  #main-menu {
    font-size: 1.5vw;
    padding: 7px 0.85vw 0px;
  }
}

@media (max-width: 799px) {
  #main-menu {
    font-size: 1.0em;
    padding: 7px 0.9em 0px;
  }
}

#main-menu menuitem {
  padding: 5px 9px 5px;
} 

#main-menu menuitem.selected {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px; 
  background: #eff4f7;
  color: #5f5b5a;
}  

#main-menu menuitem.selected a {
  color: #5f5b5a;
}

.second-menu {
  margin: -10px -35px 8px;
  padding: 0 25px;
  font-size: 1.1em;
  border-bottom: 1px solid #999999;
}

.second-menu menuitem {
  padding: 4px 8px 2px;
} 

.second-menu menuitem.selected {
/*  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px; */
  background: #d7dbde;
  color: #5f5b5a;
}  

.second-menu menuitem.selected a {
  color: #5f5b5a;
}

.second-menu-hb {
  border-top: 1px dotted #cccccc;
  border-bottom: none;
  margin-top: 40px;
  font-size: 1.5em;  
}

.second-menu-hb menuitem {
}

.left-menu {
  display: block;
  float: left;
  width: 7em;
  height: 100vh;
  border-right: 1px solid #999999;
  font-size: 1.25em;
}

.left-menu menuitem {
  display: block;  
}

.second-left-menu-wrapper {
  float: left;
/*  margin-left: calc(-2% - 7px);*/
/*  margin-left: calc(-20px - 7px);*/
  margin-left: -27px;
}

.second-left-menu-content {
  float: left;
  width: calc(100% - 178px);
}

.second-left-menu {
  margin: 15px 20px 18px 0px;
  padding: 0 5px;
  font-size: 1.1em;
/*  border-bottom: 1px solid #999999;*/
  width: 175px;
}

.second-left-menu menuitem {
  display: block;
  padding: 1px 8px 2px;
  border-bottom: 1px solid #999999;
  border-right: 1px solid #999999;
}

.second-left-menu menuitem:first-child {
  border-top: 1px solid #999999;
}

.second-left-menu menuitem.selected {
/*  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px; */
  background: #d7dbde;
  color: #5f5b5a;
}  

.second-left-menu menuitem.selected a {
  color: #5f5b5a;
}

.second-left-menu-wrapper h3 {
  margin: 15px 0 -15px 12px;
}


#content { /*background: white;*/ 
  position: relative;
  clear: both;
  border: 1px solid #cccccc;
  border-radius: 5px 5px 5px 5px;
  padding: 10px 20px /* 2%*/;
  overflow: hidden;
/*  background-position: 70px 20px;*/
  background-size: cover;
  min-height: calc(100vh - 220px);
}

#content h2 { font-size: 150%; color: #fff; clear: both; padding: 0.3em 0; margin: 0; }
#content .content-right { margin-left: 200px; }
#content .content-right h2 { clear: none; }

h2 span { /*color: #87A7D5;*/ color: white; }
a { text-decoration: none; background: transparent; color: white; }
a:hover { color: #fff59b; /* transition: 0.1s;*//* text-shadow: 0 0 10px red;*/ }

.inactive { color: silver; }

.simple-browse-editor input[readonly], .simple-browse-editor select[readonly], .simple-browse-editor select[disabled], .simple-browse-editor textarea[readonly] { background-color: #ededed; }

.simple-browse-editor input::placeholder {
  font-size: 0.90em;
  color: #999999;
}

.button, .buttondd {
  background: #C0B9B7;
  border: none;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

.button:hover, .buttondd:hover {
  background: #8F8988; 
  background: #fff59b;
}

input[type=checkbox]:hover {
  cursor: pointer;
}

a.button, input.button, a.buttondd, input.buttondd {
  font-family: RobotoRegular,Arial,sans-serif;
  font-size: 1em;
  padding: 4px 8px !important;
  margin: 0 !important;
  color: black;
}

a.buttondd {
  padding: 3px !important;
}

a.buttondd img {
  padding: 0 3px;
}

.simple-lookup-field input {
  margin-right: 0px !important;
}

a.addbutton {
  font-weight: 100;
  font-size: 3em;
  padding: 0;
  line-height: 1em;
  border-radius: 0.5em;
}

.to-box {
  display: inline-block;  
}

.frame-box {
  margin-top: 30px;
  border: 1px silver solid;
  border-radius: 3px;  
  padding: 0 15px 15px;
}

.frame-box select, .frame-box input {
  background-color: #dddddd;
}

.scrollable.gray-skin .scroll-bar.horizontal {
  height: 20px;
}

#banner img {
  float: left;
  padding: 3px 0;
}

#sign-panel {
  text-align: right;
  margin-top: 10px;
  float: right;
}

#sign-panel .user {
  text-shadow: 0 0 6px #1A1311;
}

#sign-in-content {
/*  margin-top: 40%;*/
  padding: 1em;
  margin-left: auto;
  margin-right: auto;
  margin-top: calc(50vh - 15em);
/*  margin-bottom: calc(20vh);*/
  width: 40em;
  height: 14em;
  background: rgba(150,150,150,0.2);
}

#frm-signInForm th {
  padding-right: 20px;
}

#frm-signInForm th label {
  font-size: 1.2em;  
}

#frm-signInForm input[type=text], #frm-signInForm input[type=password]  {
  font-size: 1.2em;
  padding: 5px 8px;
  border-radius: 4px;
  border: none;
  width: 250px;
}

#frm-signInForm .button {
  margin-top: 10px !important;
  font-size: 1.2em;
  padding: 8px 35px !important;
}

#frm-signInForm form {
  clear: right;
}

#frm-signInForm .error {
  float: right;
  background: #c10000;
  color: white;
  list-style-type: none;
  border-radius: 5px;
  margin: 0px 0 0px;
  padding: 3px 8px;
  width: 190px;
}

.alert-display {
  background: #c10000;
  color: white;
  border-radius: 5px;
  margin: 15px 0 10px;
  padding: 3px 8px;
  width: auto;
}

#copyright {
  font-size: 0.8em;
  margin-top: 20px;
  margin-bottom: 20px;
}

#copyright p {
  margin: 0;
  padding: 0;
  float: right;
}

#ajax-spinner {
/*	margin: 15px 0 0 15px;
	padding: 13px;*/
	background: transparent url('../images/spinner.gif') no-repeat 50% 50%;
	font-size: 0;
	z-index: 123456;
	display: none;
  top: 50%;
  left: 50%;
  width: 130px;
  height: 130px;
  position: fixed;  
}

#red-message {
  padding: 1em;
  background: red;
  color: white;
  font-weight: bold;
  margin: 2em 0;
}

#red-message a {
  text-decoration: underline;
}

#flash-out {
  position: absolute;
  width: 90%;
}

.simple-browser-filter-box input[type=checkbox] { margin-top: 6px; }

table.list, table.report-list {
  border-collapse: collapse;
  margin-right: 10px;
  margin-bottom: 10px;
}

table.list {
/*  min-width: 400px;
  max-width: 1150px;*/
  min-width: 500px;
  max-width: 92vw;
  table-layout: fixed;  
}

table tr.row-header th { padding-bottom: 0; margin-bottom: 0; line-height: 1em; }

table.list-small {
  width: 1120px;
}

table.list-small td, table.list-small th {
  font-size: 0.8em;
}

.list-scroll-x {
/*  max-width: 1150px;*/
  max-width: 92vw;
  overflow-x: auto;
  overflow-y: auto;
/*  overflow: hidden;*/
/*  margin-bottom: 10px;*/
  max-height: 10000px;
  scrollbar-base-color: gray;
}

div.report-content {
  overflow-x: auto;
/*  max-width: 1150px;*/
  max-width: 92vw;
}

table.header-list {
  border-collapse: collapse;
  margin: 1em 2em 1em 0;
}

table.header-list td, table.header-list th {
  border: 1px dotted white;
}

table.header-list td.right { text-align: right; }

table.list td, table.list th, table.report-list td, table.report-list th, table.header-list td, table.header-list th{
  padding: 1px 4px;
  text-align: left;
}

table.list td.center, table.list th.center, table.report-list td.center, table.report-list th.center { text-align: center; }
table.list td.left, table.list th.left, table.report-list td.left, table.report-list th.left { text-align: left; }
table.list td.right, table.list th.right, table.report-list td.right, table.report-list th.right { text-align: right; }

table.list thead th {
  position: relative;  
}

table.list thead tr.order th {
/*  padding-right: 16px;*/
}

table.list thead tr.order th a {
  display: block;
  padding-bottom: 0px;
}
  
table.list thead tr.order th div {
  margin: -7px 0 0 0;
/*  margin: -5px 0px -5px;*/
/*  float: right;*/
/*  text-align: center;*/
/*  position: absolute;
  top: 0px;
  right: 3px;*/
  width: 16px;
  height: 16px;
  line-height: 1em;
}

table.list tbody {
  background: #cccccc;
/*  background: gray;*/
}

.tab-content.current table.list tbody td, .tab-content.current table.list thead th {
  border-color: black;
}

.tab-content.current table.list tbody td a, .tab-content.current table.list thead th a {
  color: black;
}

.tab-content.current table.list .simple-browser-paginator a {
  color: black;
  font-size: 0.9em;
  border: none;
}

.tab-content.current table.list .simple-browser-paginator strong a {
  color: white;
}

.simpleBrowserFilterBox-clearb, .simpleBrowserFilterBox-search {
  float: right;
  margin: 0 4px 0 0;
  display: block;
}

.simpleBrowserFilterBox-clearb img { height: 0; width: 0; padding: 16px 0px 0px 24px; background: url('/images/btn-clear.png') center left no-repeat; }
.simpleBrowserFilterBox-search img { height: 0; width: 0; padding: 16px 0px 0px 24px; background: url('/images/btn-filter.png') center left no-repeat; }

.simpleBrowserFilterBox-clearb:hover img { background: url('/images/btn-clear-hover.png') center left no-repeat; }
.simpleBrowserFilterBox-search:hover img { background: url('/images/btn-filter-hover.png') center left no-repeat; }

.simpleBrowserFilterBox-clearb img { xdisplay: none; }
.simpleBrowserFilterBox-search img { xdisplay: none; }

.simpleBrowserFilterBox-clear {
  display: none;
}

.buttoni {
  cursor: pointer;
}

.buttoni img {
  cursor: pointer;
  margin-bottom: -4px;
}

.buttondd img {
  cursor: pointer;
  margin-bottom: -2px;
}

.simple-browser-record-info {
  position: fixed;
  display: none;
  bottom: 5px;
  right: calc(50% - 265px);
  background: darkgray;
  width: 530px;
  height: 18px;
  border-radius: 4px;
  color: #333333;
  padding: 0px 6px;
  font-size: 0.75em;
  text-align: center;
}

.simple-browser-filter-box {
  background: gray;
}

.simpleBrowserFilterBox-filter {
  display: none;
}

table.list tbody td, table.list thead th {
  border: 1px dotted white;  
  white-space: nowrap;
}

table.list tbody td, table.list tbody td a {
  color: black;  
}

/*table.list tbody td:nth-child(2) {
  width: 10em;
}*/

table.list tbody tr.selected {
  background: #eff4f7;
  color: #5f5b5a;
}

table.list tbody tr:hover {
  background: #eff4f7;
  color: #5f5b5a;
}

table.list tbody tr a {
  display: block;
}

table.list tbody tr:hover a {
  color: #5f5b5a;  
}

table.list tbody tr a img {
  margin-left: 7px;
  vertical-align: sub;
}

table.list .dt-currency, table.list .dt-number, table.list .dt-integer {
  text-align: right;
}

table.list .dt-date {
  text-align: center;
}

table.list .dt-boolean {
  text-align: center;
}

div.flash {
	color: black;
	background: #FFF9D7;
	border: 1px solid #E2C822;
	padding: 1em;
	margin: 1em 0;
}

a[href^="#error:"] {
	background: red;
	color: white;
}

.star-rating {
    
}

.star-rating-data input {
  display: none;
}

.star-rating span, .star-rating-ro span {
  position: relative;
  color: goldenrod;
  font-size: 1.7em;
  line-height: 0.8em;
  padding: 0 0.1em 0 0;
}

.star-rating span {
  cursor: pointer;
}

.star-rating span:hover {
  text-decoration: underline;
}

.star-rating span span {
  position: absolute;
  display: none;
  top: 5px;
}

.star-rating span:hover span {
  display: block;
}

form th, form td {
	vertical-align: top;
	font-weight: normal;
}

form th {
	text-align: right;
}

form .required label {
	font-weight: bold;
}

form .error {
	color: #D00;
	font-weight: bold;
}

table.list td.simple-browser-search-box {
  padding: 0px 1px 3px 5px;
  background: rgba(128, 128, 128, 0.3);
/*  border-radius: 3px;*/
/*  box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.75); */
  box-shadow: 0px 0px 60px rgba(0,0,0,0.3);
}

.simple-browser-search-box form {
  padding-top: 5px;
  padding-bottom: 1px;
  width: 100%;
}
.simple-browser-search-box form.quick-search, form.quick-search {
  float: left;
}

.unique-key { background-color:  papayawhip; }

.simple-browser-search-box form.filter-box, form.filter-box {
  position: relative;
  float: left;
  background: gray;
  padding: 3px 4px;
  margin-bottom: 3px;
/*  min-width: 1130px;*/
}
.simple-browser-search-box form.filter-box dl, form.filter-box dl {
  padding: 0;
  margin: 0;
}
.simple-browser-search-box form.filter-box dt, form.filter-box dt {
  float: left;
  padding: 0px 4px 0 0;
  margin: 0;
}
.simple-browser-search-box form.filter-box dd, form.filter-box dd {
  float: left;
  padding: 0 4px 0 0;
  margin: 0px 0 0;
}

.simple-browser-search-box form.filter-box fieldset, form.filter-box fieldset {
  float: left;
  display: block;
  border: none;
/*  padding: 3px 5px;*/
  padding: 2px 8px 2px 0px;
  margin: 0px;
  position: relative;
}

.filter-legend { padding-left: 6em !important; }

.simple-browser-search-box form.filter-box fieldset legend, form.filter-box fieldset legend {
  position: absolute;
  display: block;
  top: calc(50% + 1px);
  left: 0;
  transform: translateY(-50%);
  color: #DDDDDD;
}

#simpleBrowserFilterBox-filter {
/*  bottom: 5px;
  left: 1072px;
  position: absolute;
  float: right;*/
}

.simple-browser-paginator {
  text-align: center;
  font-size: 1.2em;
}

.simple-browser-paginator div {
  margin-top: 3px;
  margin-bottom: 0px;
  float: left;
  line-height: 15px;
}

.simple-browser-paginator a {
  padding: 2px 4px;
  float: left;
  display: block;
  border-radius: 5px;
  border: 1px solid #5f5b5a;
}

.simple-browser-paginator strong a {
  background: gray;
  border-radius: 3px;
}

.simple-browser-paginator a:hover {
  border-radius: 5px;
  border: 1px solid white;
}


table.report-list tbody {
  background: #cccccc;
/*  background: gray;*/
}

table.report-list tbody tr.simple-report-data-row {
  color: black;
}

table.report-list th, table.report-list tbody td.h, table.report-list tbody td.d {
  border: 1px dotted white;  
}

.simple-report-group-header-0 .g, .simple-report-group-footer-0 .g {
  background: forestgreen;
  color: white;
}

.simple-report-group-header-1 .g, .simple-report-group-footer-1 .g {
  background: #888888;
}
.simple-report-group-header-2 .g, .simple-report-group-footer-2 .g {
  background: #666666;
}

table.report-list .simple-report-space {
  height: 8px;
}

table.report-list .simple-report-space td.g {
  border-left: none;
  border-right: none;
}

table.report-list tbody tr:hover td.h, table.report-list tbody tr:hover td.d {
  background: #eff4f7;
  color: black;
}

table.report-list tbody tr.simple-report-group-footer-1:hover td.g.h, table.report-list tbody tr.simple-report-group-footer-1:hover td.g.d,
table.report-list tbody tr.simple-report-group-footer-2:hover td.g.h, table.report-list tbody tr.simple-report-group-footer-2:hover td.g.d {
  background: #fff59b;
  color: black;
}

table.report-list .dt-integer, table.report-list .dt-number, table.report-list .dt-currency {
  text-align: right;
}

table.report-list td.expand-cell {
  cursor: pointer;
}

.simple-browser-search-box input[type=text] {
  width: calc(100% - 40px);
}

.simpleBrowserQuickSearch-search, .simple-browse-lookup .lookup-search input[name=search] {
  display: none;
}

.clear-box {
/*  margin-left: 1084px;*/
}

input.simpleBrowserEditor-save { background: #C0B9B7 url('/images/btn-save.png') 8% 48% no-repeat !important; padding-left: 24px !important;  }
input.simpleBrowserEditor-save:hover { background: #fff59b url('/images/btn-save.png') 8% 48% no-repeat !important; padding-left: 24px !important;  }
input.simpleBrowserEditor-delete { background: #C0B9B7 url('/images/btn-delete.png') 7% 48% no-repeat !important; padding-left: 24px !important;  }
input.simpleBrowserEditor-delete:hover { background: #fff59b url('/images/btn-delete.png') 7% 48% no-repeat !important; padding-left: 24px !important;  }
input.simpleBrowserEditor-cancel { background: #C0B9B7 url('/images/btn-cancel.png') 7% 48% no-repeat !important; padding-left: 24px !important;  }
input.simpleBrowserEditor-cancel:hover { background: #fff59b url('/images/btn-cancel.png') 7% 48% no-repeat !important; padding-left: 24px !important;  }
input.simpleBrowserEditor-copy { background: #C0B9B7 url('/images/btn-copy.png') 7% 48% no-repeat !important; padding-left: 24px !important;  }
input.simpleBrowserEditor-copy:hover { background: #fff59b url('/images/btn-copy.png') 7% 48% no-repeat !important; padding-left: 24px !important;  }

.simpleBrowser-add-button img { vertical-align: -50%; padding-left: 5px; }

.simpleBrowser-add-button img { height: 0; width: 0; padding: 32px 0px 0px 32px; background: url('/images/btn-add.png') center left no-repeat; }
.simpleBrowser-add-button:hover img { background: url('/images/btn-add-hover.png') center left no-repeat; }

#simpleBrowserLookup-right-buttons { float: right; display: block; }

table.list tbody tr td.dt-file {
  position: relative;
  padding-right: 20px;
}

table.list tbody tr a.simple-browse-fileopen {
  position: absolute;
  right: 7px;
  top: 0px;
}

.simple-browser-editor-topheader { margin-left: -3px; }
.simple-browser-editor-topheader input, .simple-browser-editor-topheader select { margin-left: 0 !important; margin-right: 0 !important; padding-right: 0 !important; } 

.simple-browser-editor-miniheader-row { font-size: 0.75em; line-height: 0.95em; }

.simple-browse-editor select, .tab-content.current .simple-browse-editor table select { padding-top: 1px; padding-bottom: 1px; line-height: 0.5em; margin: 0px; background: white;  }
.simple-browse-editor select option, .tab-content.current .simple-browse-editor table select option { padding-top: 0px; padding-bottom: 0px; margin: 0; line-height: 0.5em; background: white; }

.tab-content.current .simple-browse-editor table input { margin-left: 0px !important; } 


/*#simpleBrowserEditor-save { background: #C0B9B7 url('/images/btn-save.png') 93% 48% no-repeat; padding-right: 24px;  }
#simpleBrowserEditor-save:hover { background: #fff59b url('/images/btn-save.png') 93% 48% no-repeat; padding-right: 24px;  }
#simpleBrowserEditor-delete { background: #C0B9B7 url('/images/btn-delete.png') 95% 48% no-repeat; padding-right: 24px;  }
#simpleBrowserEditor-delete:hover { background: #fff59b url('/images/btn-delete.png') 95% 48% no-repeat; padding-right: 24px;  }
#simpleBrowserEditor-cancel { background: #C0B9B7 url('/images/btn-cancel.png') 95% 48% no-repeat; padding-right: 24px;  }
#simpleBrowserEditor-cancel:hover { background: #fff59b url('/images/btn-cancel.png') 95% 48% no-repeat; padding-right: 24px;  }*/


form.filter-box fieldset.simpleBrowserFilter-sqlfilters1 { clear: left; margin-top: 3px; }
form.filter-box fieldset.simpleBrowserFilter-sqlfilters { margin-top: 3px; }

.tab-content.current .simple-browser-filter-box, .tab-content.current .simple-browser-filter-box form.filter-box { background: rgba(128, 128, 128, 0.3); }

.simple-browser-filter-bottom-margin { display: table-row; }
.simple-browser-filter-top-count { display: table-row; }

.tab-content.current .simple-browser-filter-bottom-margin { display: none; }
.tab-content.current .simple-browser-filter-top-count { display: none; }

.simple-window .simple-browser-filter-bottom-margin { display: none; }
.simple-window .simple-browser-filter-top-count { display: none; }

.simple-browse-editor {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 600px;
  margin-left: -300px;
  margin-top: -150px;
  background: gray;
  border: 1px solid #eff4f7;
  border-radius: 5px 5px 5px 5px;
  padding: 10px 15px;
  box-shadow: 0 0 12px #1A1311;
  z-index: 100;
  color: white !important;
}

.simple-browse-editor h3, .simple-browse-lookup h3, .simple-window h3 {
  position: relative;
  margin: 0 0 5px;
  border-bottom: 1px dotted #eff4f7;
  font-size: 18px;
  cursor: all-scroll;
}

.simple-browse-editor .close-editor-icon, .simple-browse-lookup .close-editor-icon, .simple-window .close-editor-icon {
  float: right;
  margin-top: -25px;
  margin-right: -25px;
  background: black;
  font-size: 2em;
  border-radius: 15px 15px 15px 15px;
  padding: 0;
  line-height: 0.6em;
  padding: 4px;
  box-shadow: 0 0 8px #1A1311;    
}

.simple-browse-editor #navig-buttons {
  position: absolute;
  right: 15px;
  top: 2px;
}

.simple-browse-editor #context-buttons {
  position: absolute;
  right: 15px;
  bottom: 28px;
}

.simple-browse-editor #navig-buttons a {
  padding: 0px 10px !important;
  margin: 0 0px 0 5px !important;
  font-size: 1.5em;
}

.simple-browse-editor table th {
  text-align: left;
  text-transform: capitalize;
  padding-right: 5px;
/*  margin-left: 5px;*/
}

.simple-browse-editor .tab-content:first-child th label {
  color: white;
  margin-left: 0px;
}

/*input.datepicker {
  background: url('/css/images/calendar.png') no-repeat right !important;
}*/

.simple-browse-editor .datepicker, form .datepicker { width: 5.25em; }
.simple-browse-editor .datetimepicker, form .datetimepicker { width: 8.5em; }

.simple-browse-editor .currency {
  text-align: right;
  width: 100px;
}

.simple-browse-editor .integer {
  text-align: left;
  width: 60px;
  padding-right: 0px;
}

.simple-browse-editor .number {
  text-align: right;
  width: 100px;
}

.simple-browse-editor .trumbowyg-box {
  margin-top: 0px;
  min-height: 0px;
  height: 200px;
}

.simple-browse-editor .trumbowyg-button-pane {
  min-height: 28px;
  height: 28px;
}

.simple-browse-editor trumbowyg-button-group {
  height: 25px;
  min-height: 25px;  
}

.simple-browse-editor .trumbowyg-button-pane button {
  height: 25px;
  width: 25px;
}

.simple-browse-editor .trumbowyg-button-pane:after {
  height: 0;
  top: 0;
}

.simple-browse-editor .trumbowyg-button-group:before {
  height: 28px;
  top: 0;
}

.simple-browse-editor .trumbowyg-editor {
  padding: 3px 5px;  
  background: white;
  color: black;
  height: 177px;
}

.simple-browse-editor .trumbowyg-box, .simple-browse-editor .trumbowyg-editor {
  min-height: 110px;
}

.simple-browse-editor .trumbowyg-editor p {
  margin: 0; 
}

.simple-browse-editor .trumbowyg-editor-hidden textarea {
  padding: 0;
}

.simple-window {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 900px;
  height: 500px;
  margin-left: -450px;
  margin-top: -250px;
  background: gray;
  border: 1px solid #eff4f7;
  border-radius: 5px 5px 5px 5px;
  padding: 10px 15px;
  box-shadow: 0 0 12px #1A1311;
  z-index: 100;
}

.simple-browse-lookup {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 300px;
  margin-left: -300px;
  margin-top: -150px;
  background: lightgray;
  border: 1px solid #eff4f7;
  border-radius: 5px 5px 5px 5px;
  padding: 10px 15px;
  box-shadow: 0 0 12px #1A1311;
  z-index: 100;
}

.simple-browse-lookup h3 {
  border-bottom: none;
}

.simple-browse-lookup h3 span {
  float: left;
  display: block;
}

.simple-browse-lookup h3 form {
  float: left;
  margin: 2px 0 2px 15px;
  font-size: 0.8rem;
  font-weight: normal;
}

.simple-browse-lookup form {
  height: 100%;
}

.simple-browse-lookup-content1, .simple-browse-lookup-content2 {
  width: 100%;
  height: calc(100% - 70px);
  margin-bottom: 11px;
  overflow: auto;
}

.simple-browse-lookup-content1 table.list {
  overflow-y: auto;
}

.simple-browse-lookup-content1 table.list thead th {
  position: sticky; top: 0;
  background: rgb(190,190,190);
  color: rgb(80,80,80);
}

.simple-browse-lookup-content1 table.list thead th:last-child {
  width: 100%;
}

.simple-browse-lookup-content1 table.list tbody td {
}

.simple-browse-lookup-content2 th {
  color: black;
  text-align: left;
}

.simple-browse-lookup-content2 textarea {
  width: 98%;
}

.simple-browse-lookup-content1 table.list tbody tr.selected td {
  background: black;
  color: white;
}

.simple-browse-lookup-content1 table.list tbody tr:hover {
  cursor: pointer;
}

.simple-browse-lookup-content1 table.list tbody tr.selected:hover {
  cursor: default;
}


/*.simple-browse-lookup-content1 table.list thead {
  position: absolute;
}*/


.simple-browse-lookup-top2, .simple-browse-lookup-content2, .simple-browse-lookup-bottom2 { display: none; }

.simple-lookup-searchtext {
  margin-left: 8px;
  font-size: 0.8em;
  width: 20em;
}

.ui-widget {
  font-family: RobotoRegular,Arial,sans-serif;
  font-size: 1em;
}

/*#snippet-paxFileBrowser-simpleBrowseEditor .simple-browse-editor {
  margin-top: -300px;
}*/

ul.tabs{
  margin: 0px;
  padding: 0px;
  list-style: none;
  /*box-shadow: 0 0 2px #1A1311;*/
}

ul.tabs li{
  background: none;
  color: #222;
  display: inline-block;
  padding: 7px 9px 6px;
  cursor: pointer;
}

ul.tabs li.current{
  background: #ededed;
  color: #222;
  border-top-left-radius: 3px; 
  border-top-right-radius: 3px; 
}

.tab-content {
  display: none;
  background: #ededed;
  padding: 10px;
  color: black;
  box-shadow: 0 0 2px #1A1311;
}

.tab-content.current{
  display: inherit;
}

/*.tab-content.current table:first-child input, .tab-content.current table:first-child select {
  padding-right: 5px;
  margin-left: 5px; 
  margin-right: 10px; 
  background: white;
}

.tab-content.current table:first-child textarea {
  padding-right: 5px;
  margin-left: 5px; 
  margin-right: 10px; 
}*/

.tab-content.current .tab-content:first-child label {
  margin-left: 5px; 
  color: black;
}

/*.tab-content.current .simple-browse-editor table label {
  margin-left: 0px; 
  color: white;
}*/

.tab-content.current .simple-browse-editor table label .tab-content.current table label {
  margin-left: 5px; 
  color: black;
}

ul.attach-list {
  list-style-image: url('/images/attach-16.png');
}

.bull-size { font-size: 2.5em; line-height: 0.5em; }

.clear {
  clear: both;  
}

.selectize-control {
  min-width: 7em !important;
  background: #dddddd !important;
  line-height: 14px; 
}

.selectize-input { 
  padding: 2px 4px;
}

.selectize-dropdown, .selectize-input { 
  font-size: 1em;
  background: #dddddd !important;
/*  border: none !important;*/
}

.selectize-input input {
  background: #dddddd;  
}

.selectize-control.single .selectize-input::after {
  right: 4px !important;  
}